/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1675px) {
	.innerwrapper_big {padding: 0 10px;}

}

@media only screen and (max-width : 1470px) {
	.innerwrapper {padding: 0 10px;}
.footersline .flex {padding: 30px 10px;}
}

@media only screen and (max-width : 1250px) {
	.sline .logo img {width: 100px;}
	header .sline .innerwrapper_big > div:nth-child(1)	{grid-row: initial;}
	.header_menu {grid-column: 1 / -1;}
	.maincontent .contentwrap > div.contentwrap_main { width: calc(100% - 220px);}
	.maincontent .contentwrap aside {width: 220px;}
	.contentwrap aside ul li a {padding: 12px 15px;}

}


@media only screen and (max-width : 1150px) {
	header .hname {font-size: 18px; width: 240px;}
	header .hphone {font-size: 16px;}
	header .wtime {font-size: 16px;}
	header .hphone a {font-size: 18px;}
	.header_top a.button {font-size: 16px; padding: 15px 10px;}
	header .sline .innerwrapper_big {gap: 10px;}
	header .header_menu nav ul li a {font-size: 16px;}
	
	.news_wrap > :nth-child(1) {grid-template-columns: 1fr;}
	.news_wrap > :nth-child(1) img {display: block; margin: 0 auto; max-width: 100%;}
	
	.footer_phone p, .footer_address p, .footer_soc p {font-size: 21px;}
	footer .footercontacts {padding-top: 35px;}
	footer .footerfline {	padding: 50px 0 45px;}
	footer .fname {font-size: 23px;}
		.statistic-block .statistic-node .statistic-index strong {font-size: 50px; }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 900px) {
	header .sline .innerwrapper_big {grid-template-columns: 1fr;}
	.sline .logo a {display: block; margin: 0 auto;}
	header .sline .innerwrapper_big > div {flex-wrap: wrap;}
	header .hname {width: 100%;  text-align: center; padding-bottom: 10px;}
	header .header_menu nav ul li a {    font-size: 15px;  }

}

@media only screen and (max-width : 768px) {
	header .sline .innerwrapper_big > div.header_hidden_filials {display: flex; gap: 10px; justify-content: center;  width: 100%;  padding: 10px 0;}
	.zapis_header a.button {display: none;}
	.maincontent .contentwrap > div.contentwrap_main { width: 100%;}
	.maincontent .contentwrap aside {width: 100%;}
	.maincontent .contentwrap {flex-wrap: wrap;}
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-moz-transition-property: none !important;
		-ms-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-o-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		-moz-animation: none !important;
		-o-animation: none !important;
		-ms-animation: none !important;
		animation: none !important;
	}
	
	
	.newsartb {grid-template-columns: 1fr;}
	.news_tabs, .articles_tabs {padding: 15px 25px; height: max-content; }
	.news_wrap, .articles_wrap {padding-top: 10px;}
	.news_tabs p.zag, .articles_tabs p.zag {font-size: 29px;}
	.news_wrap > :nth-child(1) .newsdate {font-size: 21px;}
	.news_wrap > :nth-child(1) .newsname {font-size: 20px;}
	.news_wrap > :nth-child(1) .newshref {font-size: 18px; padding-top: 10px;}
		footer .footercontacts {flex-wrap: wrap;}
	header .header_menu nav ul li a {    font-size: 18px;  }
.statistic-block .statistic-node .statistic-index {padding: 20px 0;}
section.gosuslugiplace {padding-top: 10px !important;}

}

@media only screen and (max-width : 650px) {
}

@media only screen and (max-width : 500px) {
	header .sline .innerwrapper_big {position: relative;}
	.header_top a.button {padding: 5px 10px; z-index: 2;}
	.zapis_header {position: absolute;  right: 10px;  bottom: 0; z-index: 2;}
	.header_menu {height: 55px;}
	.footersline .flex {flex-wrap: wrap; justify-content: center;}
	.footersline p {text-align: center;}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}