/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
	.call_back .input_data input {
		width: 300px;
		margin-right: 10px;
	}
	.button {
	width: 300px;	
	}
	.about_us .picture_wraper {	
    width: 220px;    
    margin: 10px 2px;
	}
	.about_us .content h2 {
    font-size: 1.21em;
	}
	.about_us p {    
    line-height: 1.5;
	}
	.service .pictures_wraper {
    margin-top: 2px;
	}
	.service .picture_wraper {	    
    margin: 5px;
	}
	section.uslugi_page .wrap_lab {
    top: 350px;
	}
	header .logo_box {
    margin-left: 0;
	}
	header .logo_text p:nth-child(2) {
	text-indent: 0px;	
	}
	header .logo_text p:nth-child(3) {
	text-indent: 0px;	
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.main_menu ul li a {
    font-size: 16px; 
    padding: 6px;    
	}
	#super_h1 {    
    font-size: 2.45em;
	}
	.call_back .input_data input {
		width: 230px;
		margin-right: 5px;
		padding: 10px;
		font-size: 16px;
	}
	.button {
		width: 230px;	
		padding: 10px;
		font-size: 16px;
	}	
	.bef_inp {
    font-size: 18px;
	}
	.about_us .picture_wraper {
    width: 240px;
    margin: 10px 20px;
	}
	.about_us .content h2 {
    font-size: 1.5em;
	}
	.about_us .picture_wraper img{	
	filter: grayscale(0%);
	}
	.service h2 {
    font-size: 2.2em;
	}
	.service p {
    font-size: 1.13em;
    margin: 5px 0;
	}
	.service a {    
    /*margin-left: -240px;*/ 
    margin-left: 212px;
	}
	.wraper_yandex_map {
    width: 87%;
    margin: 0 auto;
	}
	.superiority .medium {
    margin: 40px 0;
	}
	.superiority .wrap_a a {
		width: 70%;
	}
	section.contacts .yandex_wrap {
		padding-top: 25px;
	}
	section.uslugi_page .wrap_lab {
		display: none;		
	}
	section.uslugi_page .usluga_wrap .wrap_imgg {
    width: 130px;
	}
	section.uslugi_page .usluga_wrap .wrap_imgg {
	width: 130px;
	}
	section.uslugi_page .wrap_buttons {
    flex-flow: row wrap;
	}
	header .logo_text {
	display: none;	
	}
	header .logo_box {
	float: none;	
	}
	.logo_wrap {
	text-align: center;	
	}	
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.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;
	}
	.main_menu ul {
		display: none;		
		text-align: left;				
		position: absolute;
		background-color: #ececec;
		width: 100%;
		z-index: 50;
		margin-left: -15px;
	}
	.main_menu ul li {
		border-left: none;	
		display: block;
		padding-bottom: 10px;		
	}
	.main_menu ul li:last-child {
		border-right: none;
	}
	.main_menu ul li a {		
    	font-size: 20px;
    	padding: 10px 0 10px 60px;
	}
	.call_back .input_data input {
		display: block;		
		width: 60%;
		margin: 0 auto 15px auto;		
	}
	.button {
		display: block;		
		width: 60%;
		margin: 0 auto 15px auto;
	}	
	.bef_inp {
    font-size: 18px;
	}
	.client_wraper {
    margin: 0 10px; 
    width: 200px;
    height: 200px;
	}	
	.service a { 
    margin: 25px 0;
	}
	.wraper_a {
    text-align: center;
	}
	.service {	
	background-image: url(../img/service/bg_service.jpg); 
    background-repeat: no-repeat;
    background-position: center;
	}
	.service p {
	margin: 15px 0;
	}
	.devices .slide .wrap_picture {
	width: 130px;
	}
	.devices .wraper .wrap_text p:first-child {
    margin: 10px 0;
    font-weight: bold;
    font-size: 15px;
	}
	.certificates .wraper {
    width: 120px;    
	}
	.certificates .wrap_text {	
	font-size: 10px;
	}
	footer .bottom_line_footer .social_buttons {
	text-align: center;		
	}
	footer .bottom_nav {
		margin-bottom: 20px;
	}	
	#map_container {
		margin: 0 auto;
	}
	section.devices_page .devices_wraper {    
    margin: 0;    
	}
	section.objects_page {    
    background-image: none;
	}
	section.objects_page .object_wraper:nth-child(even) {
	display: none;			
	}
	section.uslugi_page .usluga_wrap .wrap_imgg {
    width: 150px;
	}
	section.uslugi_page .button {    
    display: inline;
	}
	section.uslugi_page .wrap_buttons {
    padding: 40px 0 10px;
	}
	.top_line_header, .main_menu_line {
		background-image: none;
	}
	.logo_wrap {
	display: none;	
	}
	section.uslugi_page {
	background-image: none;
	}
	.ul_right { 
    line-height: 1.6;
	}
	.sdvig {
    top: 5px;
	}
	body {
	background-image: url(../img/999.jpg);
	-webkit-background-size: cover;
	background-size: cover;
	background-attachment: scroll;
	background-position: center top;	
	background-repeat: no-repeat; 
	background-color: rgb(20, 22, 24);	   
	}
	/*специальный флаг блок того разрешение у нас больше 768 или нет*/
	.width_more_768 {
	display: none;	
	}
}
@media only screen and (max-width : 600px) {
	.about_us .picture_wraper {
    width: 220px;
    margin: 5px 2px;
	}
	.clients h2, .devices h2, .certificates h2, .yandex_map h2, section.contacts h1, section.accreditation h1, section.devices_page h1, section.objects_page h1, section.objects_page h1 {
    font-size: 1.9em;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	#super_h1 {
    	font-size: 1.55em;
	}
	#super_h2 {
		font-size: 1em;
	}
	.clients h2, .devices h2, .certificates h2, .yandex_map h2 {
    font-size: 1.5em;
	}
    .client_wraper {
    margin: 10px 0px;
    width: 135px;
    height: 135px;
	}
	.about_us .content h2 {
    font-size: 1.3em;
	}
	.about_us .picture_wraper:nth-child(even) {
	display: none;			
	}
	.service .picture_wraper:nth-child(3n) {
		display: none;		
	}
	.service h2 {
    font-size: 1.9em;
	}
	.service a {
    width: 292px;
    }
    .service .picture_wraper {
    margin: 1px;    
    width: 138px;
    }
    .devices .slide .wrap_picture {
	width: 160px;
	}
	.superiority .content h2 {	
	font-size: 25px;    
	}
	section.accreditation .pictures_wrapper {    
    justify-content: space-evenly;
	}	
	section.accreditation table {    
    display: none;
	}    		
	section.accreditation .destroy_wraper p {
	display: none;	
	}
	section.uslugi_page .wrap_buttons {
    padding: 40px 0 30px;
	}	
	section.uslugi_page .usluga_wrap .wrap_imgg {	
	float: none;
	}
	.pop_form {
	padding: 20px 5px 30px;
	width: 100%;	
	background-color: rgb(10, 34, 64); /*#0D064C;*/
	text-align: center;
	color: #fff;
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
	#super_h1 {
    	font-size: 1.55em;
	}
	#super_h2 {
 	   font-size: 0.9em;
	}
	.bef_inp {
 	   font-size: 16px;
	}
	.call_back .input_data input {		
		width: 90%;		
	}
	.button {
		width: 90%;		
	}
	.about_us p {
    line-height: 1.2;
	}	
	section.accreditation .picture_wrapper {
		margin: 5px;
	}
	section.devices_page .picture_wrap {
	width: 120px;    
	}
	section.devices_page .descr_wrap {
	display: none;	  
	}
}


/*==========  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) {
	.main_menu ul {
		display: block !important;
	}

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	
}