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

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





}


@media only screen and (max-width : 1100px) {
	
	.topmenu .navmenu ul.menu li
	{
		text-align:center;
		padding:20px 4px;
		font-size: 13px;
		margin:0;
	}
	
	.toptopheader .phone{font-size:14px;}
	


}


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



	
	/**/
	.topmenu .navmenu ul.menu li
	{
		text-align:center;
		padding:20px 5px;
		font-size: 13px;
		margin:0;
	}
	
	.topmenu .navmenu ul.menu{
		text-align:center;
		max-width:100%;
	}
	/**/
	
	
	
	
		.topmenu .mbr
	{
		display:inline-block;
	}

	.stickytop .topmenu .logotop{display:inline-block;}
	.topmenu .logotop{display:inline-block;}

	.topmenu .navmenu ul.menu
	{
		display:none;
	}

	.topmenu .navmenu ul.menu li
	{
		display:block;
		text-align:center;
		border:none;
		border-bottom:#797b80 1px solid;
		transform: none;
		padding:0;
		font-size:16px;
	}
	
	.topmenu .navmenu ul.menu li a{
	transform: none;
	padding:10px 15px;
	line-height:20px;
	}
	
	.topmenu .navmenu ul.menu li ul.sub-menu{
	display:block;
	position:static;
	transform: none;
	border-top:none;
	}
	
	.topmenu .navmenu ul.menu li ul.sub-menu li{
	border-left:none;
	border-right:none;
	font-size:12px;
	border-bottom:none;
	border-top:#797b80 1px solid;
	}
	
	.topmenu .navmenu ul.menu li ul.sub-menu li a:before{
	content:"\f0a4";
	font-family:FontAwesome;
	margin-right:10px;
	}
	

	.topmenu ul li:first-child
	{border-top:#797b80 1px solid;}
		
	.topmenu ul li ul li:first-child
	{border-top:none;}

	

	.topmenu .adr{display:none;}
	

	.stickytop .topmenu{position:static;}
	
	body.stickytop{padding-top:0% !important;}
	
	
	
	container h2
	{
		line-height:30px;
		font-size:22px;
		margin:5px 0% 15px;
	}
	
	container h3
	{
		font-size:18px;
	}
	
	.topbutton{text-align:center;}
	.toptopheader .phone{text-align:center;font-size:16px;}

}

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


	
	.logo{text-align:center;}
	

	.triggerprice{max-width:300px;}
	
	.triggerprice .fa
	{
	display:inline-block;
	float:left;
	margin-right:15px;
	line-height:40px;
	}
	
	

	
	.zakaz input, .zakaz button{width:270px;}
	

	container .prepad img,
	container .prepad img.alignleft,
	container .prepad h4,
	container .prepad h5
	{
		display:block;
		text-align:center;
		clear:both;
	}
	
	
	container .prepad img,
	container .prepad img.alignleft
	{
		margin:35px auto 15px;
		width:150px;
		float:none;
	}
	
	
	.diplom img.aligncenter{
		width:250px;
		margin:35px auto 15px;
	}
	
	.toptopheader .phone,
	.toptopheader .slogan
	{
		text-align:center;
	}
	
	.toptopheader .slogan h2{line-height:20px;margin:0;}
	.toptopheader .slogan h3{line-height:20px;margin:0;}
	
	
	container a.prepad-thumb
	{
		margin:40px auto 20px;
		clear:both;
		float:none;
		
	}


}



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



	container img.alignright,
	container img.alignleft,
	container img.aligncenter
	{
		display:block !important;
		margin-left: auto !important;
		margin-right: auto !important;
		float:none !important;
		clear:both !important;
	}




}



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

/*
	container{padding:0;}
	
	content{padding:30px 10px;}
*/	
	.obuch img, .diplom img, .st img
	{
		max-width:100%;
		margin:10px 0%;
		padding:0%;
	}
	
	container table{
		margin:20px -47px 20px -47px;
		font-size:12px;
	}
	
	container table td{padding:5px;}
	
	
	
	.prepbl .blbl,
	.prepbl,
	.programma
	{overflow:hidden;}	
	
	container table td.bggg{background-color:#fff;}

	container a.prepad-thumb{
		width:250px;
		height:250px;
		clear:both;
		margin:20px auto 10px;
		float:none;
	}
	

	container a.prepad-thumb img{
		width:250px;
		height:250px;
	}

}

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

	container table
	{
		margin:20px 0%;
		display:block;
		font-size:14px;
	}
	
	container table tr{display:block;}
	
	container table td,
	container table th
	{	
		display:block;
		padding:5px;
		border:none;
		text-align:center;
	}
	
	.zakaz input, 
	.zakaz button,
	.kform input,
	.kform textarea,
	.kform button
	{width:auto;max-width:100%;}
	
	container a.prepad-thumb{
		width:200px;
		height:200px;
		clear:both;
		margin:20px auto 10px;
		float:none;
	}
	
	container a.prepad-thumb img{
		width:200px;
		height:200px;
	}

}


/* 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) {

}