@media all and (min-width: 1024px) {
	.mainnewsblock div.newsname {
		bottom: 0px;
	}
	#topmenu {
		display: block;
	}
	#adapmenu {display: none;}
	.container960 .history-slider {
		margin-left: 0px;
	}
	.container960 .history-slider #yearsllider, .container960 .history-slider #monthsllider {
		width: 89%;
		max-width: 89%;
	}
		.container960 .history-slider #monthsllider .owl-buttons {
			width: 100%;
			max-width: 100%;
		}
	.container960 .hinsideslider {
	    margin-left: 0;
	    margin-right: 0;
	    max-width: 100%;
	    width: 100%;
	}
}
@media all and (max-width: 1023px) {
	#topmenu {
		width: 98%;
		display: block;
	}
	.mainnewsblock > div {
		height: auto;
	}
	.fondblock {
		margin-left: -6%;
        padding: 45px 6% 50px;
    	width: 97%;
	}
	.uzblock {
		padding: 20px 4% 20px 6%;
		width: 99%;
		margin-left: -6%;
	}
	.library .grayblock {
		padding: 1px 4% 10px 6%;
		width: 99%;
		margin-left: -6%;
	}
	.zaprosblock {
	    margin-left: -6%;
	    padding: 45px 4% 50px 6%;
	    width: 99%;
	}
		.zaprosform .formcontrol input[type="text"], .zaprosform .formcontrol textarea {
		    max-width: 624px;
		    width: 97%;
		}
		.zaprosform .middle input[type="text"] {
		    max-width: 454px;
		    width: 86%;
		}
		.zaprosform .date input[type="text"] {
		  	max-width: 134px;
		  	width: 86%;
		}
		.zaprosform .radioblock label {
			margin-right: 0px;
			float: left;
		}
		.zaprosform .short {
		    width: 100%;
		    max-width: 306px;
		}
		.mfeedback .formcontrol input[type="text"], .mfeedback .formcontrol textarea {
			max-width: 624px;
			width: 100%;
		}
		div.mf-name, div.mf-email, div.mf-captcha, div.mf-message {
		    width: 97%;
		}
	.contacts #cslider .owl-wrapper {
		width: auto !important;
	}
	.contacts #cslider .owl-wrapper .owl-item {
		width: 50% !important;
	}
	.contacts #cslider .owl-controls {
		display: none;
	}
	.contacts #tsllider {
		margin-bottom: 60px;
	}
	.contacts iframe {
		width: 100% !important;
	}
	.container960 .history-slider {
		margin-left: 0px;
	}
	.container960 .history-slider #yearsllider, .container960 .history-slider #monthsllider {
		width: 89%;
		max-width: 89%;
	}
		.container960 .history-slider #monthsllider .owl-buttons {
			width: 100%;
			max-width: 100%;
		}
	.hblock .imgdblock {
		margin-right: 15px;
	}
		/*.hblock .tblock {
		    width: calc(100% - 175px);
		}*/
	.container960 .hinsideslider {
	    margin-left: 0;
	    margin-right: 0;
	    max-width: 100%;
	    width: 100%;
	}
	.doctable tr td:last-child{
		padding-left: 10px;
	}
	form .short0 {
		float: left;
	}
	.hfooter  {
	  height: 165px;
	}
	.footer {
		padding-top: 0px;
		height: 165px;
		margin-top: -203px;
	}
	.footer .column {
		display: none;
	}
	.foot_info {
		border: 0px;
		margin-top: 0px;
	}

	#struktura {
		background: none !important;
		width: 100%;
		height: auto;
	}

	#struktura .person, #struktura .otdel {
		left: 0 !important;
	    overflow: hidden;
	    position: relative;
	    top: auto !important;
	}

	#struktura .otdel {
		border-bottom: 1px solid #eff0f0;
		padding: 5% 14.5%;
		width: 71%;
		display: none;
	}

	#struktura .person {
		padding: 20px 3.03%;
		width: 93.94%;
		background-color: rgba(226, 226, 226, .3);
		margin-bottom: 3px;
	}

	#struktura .person.parent {
		padding: 20px 3.03%;
		width: 93.94%;
		background: url(images/arr_down_strp.png) no-repeat 97% center rgba(226, 226, 226, .3);
		margin-bottom: 3px;
	}

	#struktura .person img {
	    height: auto;
	    margin-right: 3.03%;
	    width: 9.09%;
	    min-width: 58px;
	}

	#struktura .person div {
	    min-width: 195px;
	    width: 33.33%;
	    margin-top: 2%;
	}

	#struktura .person:hover {
		background-color: rgba(226, 226, 226, 1);
	}

	#struktura .person.open {
		background: url(images/arr_top_strp.png) no-repeat 97% center rgba(226, 226, 226, 1);
	}

	#struktura .person:first-child{
		background: url(images/arr_down_str.png) no-repeat 97% center rgba(226, 226, 226, 1);
	}
	#struktura .person.open:first-child{
		background: url(images/arr_top_str.png) no-repeat 97% center rgba(226, 226, 226, 1);
	}

	
}

@media all and (max-width: 830px) {
	.header {
  		margin-top: 26px;
  	}
	#logodiv {
    		margin-left: 2.7%;
    		width: 30.8%;
  	}
  	#logodiv img {
    		width: 91.89%;
  	}
  	#toprightblock {
		width: 62.5%;
		margin-right: 2.7%;
		float: left;
	}
	#topbuts {
		margin-top: 4px;
	}
	#topmenu > ul > li:first-child > a, #topmenu > ul > li:last-child > a {
	    padding-left: 9px;
	    padding-right: 9px;
	}
	.basckettable colgroup {
		display: none;
	}
	.foot_logo {
		width: 42.85%
	}
	.foot_logo img {
		width: 81.89%;
	}
}

@media all and (max-width: 785px) {
	.header {
		margin-bottom: 17px;
	}
	.bx-breadcrumb {
		display: none;
	}
	#adapmenu {
		display: block;
		float: right;
		width: 44px;
		height: 43px;
		background: url(images/menu_ico.png) no-repeat top left;
		margin-right: 2%;
		margin-top: 8px;
		cursor: pointer;
	}
	#logodiv {
		margin-left: 1.95%;
		width: 28.65%;
	}
	#toprightblock {
		margin-right: 0px;
		width: 58.57%;
		float: left;
		margin-top: -2px;
	}
	#topmenu {
		display: none;
		position: absolute;
		width: 100%;
		top: 78px;
		z-index: 10;
		background: #fff;
	}
		.closemenu {
			background: url(images/closemenu_ico.png) no-repeat top right !important;
			height: 62px !important;
		}
		#topmenu ul {
			background: #3f4141;
			margin: 0 2%;
			width: 96%;
		}
		#topmenu ul li {
			width: 100%;
			padding: 0px !important;
		}
		#topmenu ul li:hover {
			background: #3a3a3a;	
			padding: 0px !important;		
		}
		#topmenu ul li a, #topmenu ul li:hover > a {
			width: 85%;
			width: calc(100% - 40px);
			display: block;
			border: 0px;
			border-bottom: 1px solid #4f4f4f;
			margin: 0 10px;
			color: #fefefe;
			font-size: 17px;
			padding-top: 20px;
			padding-bottom: 20px;
			background: transparent;
		}

		#topmenu ul li ul {
			position: inherit;
			top: 0px;
			margin: 0;
			width: 100%;
			background: #2e2e2e;
			border: 0px;
			display: none;
		}

		#topmenu ul li ul li {
			background: #2e2e2e;
			padding: 0 !important;
		}

		#topmenu ul li ul li a, #topmenu  ul li ul li:hover > a {
			padding-left: 10px;
			margin-left: 20px;
			width: calc(100% - 50px);
		}

		#topmenu ul li ul li ul {
			position: inherit;
			top: 0px;
			margin: 0;
			width: 100%;
			background: #212121;
			border: 0px;
			display: none;
			left: 0px;
		}
		#topmenu ul li ul li ul li {
			background: #212121;
			padding: 0 !important;
		}
		#topmenu ul li ul li ul li a, #topmenu ul li ul li ul li:hover > a {
			margin-left: 40px;
			width: calc(100% - 90px);
		}

		#topmenu  ul li:hover > ul, #topmenu ul li ul li:hover > ul {
			display: none;
		}
		#topmenu > ul > li.active > a {
			background: none;
			border: 0px;
			border-bottom: 1px solid #4f4f4f;
		}
		#topmenu form.searchform {
			    /*background: #3f4141 none repeat scroll 0 0;*/
			    display: block;
			    margin: 0 2%;
			    max-width: 100%;
			    padding: 15px 11px 13px;
			    width: calc(96% - 22px);
		}

	.mainnewsblock {
		/*margin-left: 1.95%;
		margin-right: 1.95%;*/		
	}
		.mainnewsblock > div {
			width: 33%;
			width: calc(100% / 3);
		}
		.mainnewsblock > div:nth-child(4) {
			display: none;
		}
		.mainnewsblock div.newsname {
			bottom: 2px;
		}
	.nblock .imgdblock {
		margin: 3px 1.5% 0 0;
		max-height: 198px;
	}
		.nblock .tblock {
			float: right;
			width: calc(98.5% - 310px);
		}
		.nblock .imgdblock img {
			max-width: 300px;
		}
		.nblock dl, .nblock dl a {
			margin-bottom: 13px;
		}
}

@media all and (max-width: 780px) {
	#toplinks, form.searchform {
		display: none;
	}
	#topbuts {
		width: 143px;		
	}
		#topbuts a {
			margin-bottom: 2px;
			margin-left: 0px;
		}
	#logodiv {
		width: calc(95.8% - 211px);
	}
		#logodiv img {
			width: 205px;
		}
	#toprightblock {
		width: 143px;
	}
	#adapmenu {
		margin-left: 24px;
	}
	#topmenu ul {
		position: relative;
	}
	#topmenu .closemenu {
display: block;
    position: absolute;
    top: -61px;
    right: 0;
    z-index: 999;
    width: 40px;
	}

	#topslider .slname {
		padding-bottom: 26px;
	}
		#topslider .slname span {
			font-size: 24px;
		}
	#hsllider .owl-wrapper-outer .owl-item div div.descr {
		width: 310px;
	}
	.accordeon .listtable colgroup {
		display: none;
	}
	.accordeon .listtable tr td:nth-child(1), .accordeon .listtable tr th:nth-child(1) {
		width: 10% !important;
	}
	.accordeon .listtable tr td:nth-child(2), .accordeon .listtable tr th:nth-child(2) {
		width: 34% !important;
	}
	.accordeon .listtable tr td:nth-child(3), .accordeon .listtable tr th:nth-child(3) {
		width: 26% !important;
	}
	.accordeon .listtable tr td:nth-child(4), .accordeon .listtable tr th:nth-child(4) {
		width: 17% !important;
	}
	.strukturafull .persontext {
		float: none;
		width: 100%;
	}
	.strukturafull .personinfo {
		margin-bottom: 25px;
	}

	iframe  {
		width: 100% !important;
	}

	.hinsideslider .owl-wrapper-outer .owl-item div div.descr {
		width: 100% !important;
		width: calc(100% - 40px) !important;
		max-width: 100% !important;
		padding: 6px 20px !important;
	}
	.container960 .hinsideslider .descr h3, .container960 .hinsideslider .descr p {
		width: calc(100% - 40px) !important;
	}

	.uslsumm {
		width: 100%;
	}

	.footer {
		height: 210px;
		margin-top: -182px;
	}
		.foot_logo, .foot_soc {
			width: 85%;
		}
			.foot_logo img {
				width: 280px;
			}
		.foot_soc {
			width: 15%;
			margin-top: 9px;
			margin-bottom: 30px;
		}
		.foot_cont, .foot_cont a, .foot_copy {
			font-size: 13px;
		}
		.foot_cont {
			width: 53%;
			float: right;
			
		}
		.foot_copy {
			width: 35%;
			position: absolute;
			top: 84px;
			line-height: 1.2;
		}
	.special{
		display: block !important;
	}
}

@media all and (max-width: 570px) { 
	.mainnewsblock {
		margin-left: 6%;
		margin-right: 6%;
	}
		.mainnewsblock > div {
			width: 50%;
		}
		.mainnewsblock > div:nth-child(3) {
			display: none;
		}
		.mainnewsblock div.newsname {
			bottom: 4px;
			font-size: 16px;
		}
	#msllider .owl-wrapper-outer .owl-item div, #tsllider .owl-wrapper-outer .owl-item div {
		max-width: 100%;
	}
	#hsllider {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}
	#hsllider .owl-wrapper-outer .owl-item div img {
		width: 100%;
		max-width: 100%;
	}
	#hsllider .owl-wrapper-outer .owl-item div img:last-child {
		display: none;
	}
	#hsllider .owl-wrapper-outer .owl-item div div.descr {
		width: calc(100% - 110px);
	}
	#hsllider .owl-buttons {
		width: 96%;
		left: 2%;
	}
	.contacts #hsllider .owl-wrapper-outer .owl-item div div.descr, .contacts #hsllider .owl-wrapper-outer .owl-item div div.descr p {
		width: 100%;
		max-width: 100%;
		padding-right: 0px;
	}
	.contacts #cslider .owl-wrapper-outer .owl-item {
		height: 240px;
	}
	.contacts #cslider .owl-wrapper-outer .owl-item:nth-child(2n) div {
		padding-right: 0px;		
	}
	.contacts #cslider .owl-wrapper-outer .owl-item:nth-child(2n+1) div {
		padding-left: 0px;
	}
	#monthsllider .owl-wrapper-outer .owl-item div, #partnersllider .owl-wrapper-outer .owl-item > div {
		max-width: 100%;
	}
	#nsllider .owl-wrapper {
		width: auto !important;
	}
	#nsllider .owl-item {
		width: 50% !important;
	}
	.nblock {
	    border-bottom: 1px solid #efefef;
	    margin-bottom: 24px;
	    overflow: hidden;
	    padding-bottom: 24px;
	}
		.nblock .imgdblock {
		    float: none;
		    margin: 3px 0 0;
		    max-height: 300px;
		    text-align: center;
		}
		.nblock .imgdblock img {
		    max-width: 300px;
		    max-height: 300px;
		}
		.nblock .tblock {
		    float: none;
		    margin-top: 30px;
		    width: 100%;
		}
		.nblock .imgdblock dd {
			font-size: 24px;
		}
		form.searchfound  {
		    width: 100%;
		}
		form.searchfound input[type="text"] {
			width: calc(100% - 118px) !important;
		}
		.fondblock .fondback {
		    margin-top: 27px;
		    float: left;
		}

		.searchrez {
			margin-top: 20px;
		}

			.searchrez th, .searchrez colgroup, .searchrez2 th, .searchrez2 colgroup, .basckettable th {
				display: none;
			}

			.searchrez tr, .searchrez2 tr, .basckettable tr {
				display: block;
				position: relative;
				width: 100%;
				overflow: hidden;
			}

			.searchrez tr td, .searchrez2 tr td, .basckettable tr td {
				overflow: hidden;
				padding-right: 0px;
			}

			.searchrez tr td:first-child {
				display: block;
				width: 50%;
				position: relative;
				top: 0;
				left: 0;
			}

			.searchrez tr td:nth-child(3) {
				display: block;
				width: 50%;
				position: absolute;
				top: 0;
				right: 0;
				text-align: right;
			}

			.searchrez tr td:nth-child(4) {
				display: none;
			}

			.searchrez tr td:nth-child(2) {
				display: block;
				width: 100%;
				position: relative;
				border-bottom: 1px solid #efefef;
				padding-bottom: 15px;
				margin-bottom: 7px;
			}

			.searchrez tr td:first-child:before {
				content: "№ фонда: ";
			}
			.searchrez tr td:nth-child(3):before {
				content: "Годы: ";
			}
			.listtable div.zag::before, .listtable div.zag {
				margin-left: 0px;
			}

			.searchrez2 tr td:first-child {
				display: block;
				width: 30%;
				position: relative;
				top: 0;
				left: 0;
				float: left;
				font-size: 14px;
			}
			.searchrez2 tr td:first-child:before {
				content: "№ фонда: ";
			}
			.searchrez2 tr td:nth-child(2) {
				display: block;
				width: 30%;
				position: relative;
				top: 0;
				left: 0;
				float: left;
				font-size: 14px;
			}
			.searchrez2 tr td:nth-child(2):before {
				content: "№ описи: ";
			}
			.searchrez2 tr td:nth-child(3) {
				display: block;
				width: 40%;
				position: absolute;
				top: 0;
				right: 0;
				font-size: 14px;
			}
			.searchrez2 tr td:nth-child(3):before {
				content: "№ ед. хранения: ";
			}
			.searchrez2 tr td:nth-child(4) {
				display: block;
				width: 100%;
				position: relative;
				border-bottom: 1px solid #efefef;
				padding-bottom: 15px;
				margin-bottom: 7px;
			}

			.searchrez2 tr td:nth-child(5) {
				display: none;
			}

			.catsearch p { 
				font-size: 12px;
			}
			.catsearch .fullform .radioblock label:nth-child(4) {
				width: calc(100% - 160px);
			}

			.basckettable tr td:first-child {
				width: 100%;
				display: block;
			}
			.basckettable tr td:nth-child(2), .basckettable tr td:nth-child(3), .basckettable tr td:nth-child(4) {
				width: 33%;
				display: block;
				float: left;
			}
			.basckettable tr {
				border-bottom: 1px solid #efefef;
			}


	.accordeon td, .accordeon h4, p.prim {
		font-size: 14px;
	}
		.accordeon .listtable tr td:nth-child(1), .accordeon .listtable tr th:nth-child(1) {
			display: none;
		}
		.accordeon .listtable tr td:nth-child(2), .accordeon .listtable tr th:nth-child(2) {
			width: 56% !important;
			padding-right: 4%;
		}
		.accordeon .listtable tr td:nth-child(3), .accordeon .listtable tr th:nth-child(3) {
			display: none;
		}
		.accordeon .listtable tr td:nth-child(4), .accordeon .listtable tr th:nth-child(4) {
			width: 25.5% !important;
		}
		/*.accordeon .listtable tr th:nth-child(4):after {
			content: " за единицу";
		}*/
		h2.accordeonzag {
			font-size: 20px;
		}
	.hblock {
	    margin-bottom: 25px;
	}
		.hblock .tblock dl {
		    font-size: 20px;
		    margin-bottom: 10px;
		}
		.hblock .tblock dt {
		    font-size: 14px;
		}
	a.pdf {
		line-height: 1.3;
	}
	#treblistblock {
		width: 100%;
		min-width: 300px;
	}
	.doctable tr td:last-child{
		font-size: 14px;
	}
}

@media all and (max-width: 460px) {
	#logodiv img {
		width: 91.86%;
	}
	#topslider .owl-theme .owl-controls, #topslider .owl-controls {
		bottom: 12px;
	}
	.mainnewsblock {
	    margin-left: 0;
	    margin-right: 0;
	}
	.mainnewsblock div.newsname {
			bottom: 4px;
	}
	#nsllider .owl-item {
	    width: 46% !important;
	    /*font-size: 16px;*/
	}
	.pageslider .owl-buttons {
		left: 0px;
		width: 100%;
	}
	#tsllider .owl-wrapper {
		width: auto !important;
	}
	#tsllider .owl-item {
		width: 100% !important;
		margin-bottom: 26px;
	}
		#tsllider .owl-item:last-child {
			margin-bottom: 0px;
		}
	.contacts #cslider .owl-wrapper-outer .owl-item {
		height: auto;
		width: 100% !important;
		float: none;
	}
		.contacts #cslider .owl-wrapper-outer .owl-item div {
			padding-left: 0px;
			padding-right: 0px;
			margin: auto;
			float: none;
		}
	.nblock .imgdblock dd {
			font-size: 17px;
	}
		.nblock .tblock {
		    margin-top: 21px;
		}
		.nblock dl, .nblock dl a {
			font-size: 20px;
		}
		.nblock dt {
			font-size: 14px;
		}
	.hblock {
	    overflow: hidden;
	}
		.hblock .imgdblock {
		    float: none;
		    margin: 3px 0 0;
		    max-height: 300px;
		    text-align: center;
		}
		.hblock .imgdblock img {
		    max-width: 300px;
		    max-height: 300px;
		}
		.hblock .tblock {
		    float: none;
		    margin-top: 10px;
		    width: 100%;
		}
		.hblock .imgdblock dd {
			font-size: 33px;
		}
	.people_list img {
		width: 25%;
		margin: 5px 5% 20px 5%;
	}
	.book_list img {
	    width: 25%;
	    margin: 5px 5% 15px 0;
	}
	.strukturafull .personinfo {
		float: none;
		text-align: center;
		width: 100%;
	}
	.footer {
	    height: 225px;
	    margin-top: -197px;
	}
}

@media all and (max-width: 380px) { 
	#toprightblock {
		display: none;
	}
	#logodiv img {
		width: 165px;
	}
	#adapmenu {
		margin-top: 0px;
	}
	#topmenu {
		top: 70px;
	}
	#adapsoc {
		    /*background: #3f4141 none repeat scroll 0 0;*/
		    display: block;
		    margin: 0 2% !important;
		    padding: 0 0 8px;
		    text-align: center;
		    width: 96%;
	}		
		#adapsoc a {
		    background: #00a79d none repeat scroll 0 0 !important;
		    color: #fff;
		    display: block;
		    float: none;
		    padding: 5px 0 6px !important;
		    text-align: center;
		    min-width: 141px;
		    width: 93% !important;
		    text-decoration: none;
		    margin-bottom: 12px !important;
		    margin-left: 0px;
		    font-size: 14px;
		    border-bottom: 0px !important;
		}

		#adapsoc a:hover {
			background: #485A61 !important;
			color: #fff;
			text-decoration: none;
		}	
	.mainnewsblock div.newsname {
		font-size: 12px;
	}
	#hsllider .owl-wrapper-outer .owl-item div div.descr, 
	#hsllider .owl-wrapper-outer .owl-item div div.descr h3 {
		font-size: 14px;
	}
	#hsllider .owl-wrapper-outer .owl-item div div.descr p {
		height: 112px;
	}
	#hsllider .owl-wrapper-outer .owl-item div div.descr a {
		font-size: 17px;
		padding-top: 10px;
	}
	#nsllider .owl-item {
    		margin-bottom: 20px;
	}
	#nsllider .owl-wrapper-outer a {
		font-size: 14px;
	}
	#usllider .owl-wrapper-outer .owl-item div {
		max-width: 100%;
	}
	#topslider .owl-theme .owl-controls, #topslider .owl-controls {
		bottom: 27px;
	}
	.accordeon .listtable tr td:nth-child(5), .accordeon .listtable tr th:nth-child(5) {
			display: none;
	}
		.accordeon .listtable tr td:nth-child(4) {
			text-align: right;
		}
		h2.accordeonzag {
			font-size: 16px;
    		padding: 2px 26px 3px 0;
		}

	h3.gray {
		font-size: 14px;
	}
	#struktura .person {
    	background-position: 97% 85% !important; 
	}
	.searchrez2 tr td:first-child {
		width: 50%;
	}
	.searchrez2 tr td:nth-child(2) {
		width: 50%;
	}
	.searchrez2 tr td:nth-child(3) {
		display: block;
		width: 100%;
		position: relative;
		top: 0;
		left: 0;
	}
	.foot_cont, .foot_cont a, .foot_copy, .foot_soc a {
		font-size: 12px;
	}
	.foot_logo {
		width: 82%;
	}
	.foot_logo img {
		width: 205px;
	}
	.foot_copy {
		top: 78px;
		width: 40%;
	}
	.footer_dev .container {
	    min-width: 300px;
	    padding: 12px 3.125%;
	    width: 93.75%;
	}
}

@media all and (max-width: 340px) { 
	#topmenu ul {
		width: 308px !important;
	}
}