/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

.sl1, .sl2, .sl3, .sl4 {
	background-size:150%;
}
.top_hader {
	text-align: center;
}
.logo {
	display: inline-block;
	width: 75%;
	text-align: left;
}
.logo_text{
	width: 20%;
	display: inline-block;
	text-align: left;
	text-transform: uppercase;
	font-size: 10px;
	vertical-align: top;
	padding: 0px;
}
	.logo img{
		width: 80%;
	}

.text{
	width: 100%;
	display: none;
	text-align: left;
	font-size: 10px;
	padding: 15px 0px;
}
.phone{
	width: 100%;
	padding: 12px 0px;
	text-align: center;
}
	.phone p {
		font-size: 20px;
		padding: 2px;
	}

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {


.arenda tr td.text ul li {
    text-align: left;
    padding: 10px 5px;
    font-size: 15px;
}
.arenda tr td.img {
    border: 0px solid #000;
    padding: 0px;
    display: block;
    width: 100%;
}
div.okna_cena div{
	width: 40%;
}

.panel{
    width: 100%;
    text-align: center;
    margin-top: 60%;
}
	.slide .form div.phones p{
	font-family: BebasRegular;
	font-size: 40px;
	letter-spacing: 5px;
    margin: 0px;
    padding: 0px;
    line-height: 30px;
	}
	.slide .form div.phones p span{
	font-family: BebasRegular;
	font-size: 12px;
	}
.logo {
	display: inline-block;
	width: 60%;
	text-align: left;
}
.logo_text{
	width: 35%;
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	font-size: 10px;
	vertical-align: top;
	padding: 0px;
}
	.logo img{
		width: 100%;
	}
.sl1, .sl2, .sl3, .sl4 {
	background-size:200%;
}
.s2{
	text-align: center;
	padding: 10% 0px;
	background:url(../images/fons2.png) no-repeat ; 
	background-size:200%;
}

.text{
	width: 23%;
	display: none;
	text-align: left;
}
.phone{
	width: 100%;
}
	.logo img{
		width: 80%;
	}
	.phone p {
		font-size: 20px;
	}
	.phone p span{
		font-size: 20px;
	}
	.soc_botton {
		display: none;
		position: absolute;
		margin-top: 0px;
		background-color: #465867;;
		width: 100%;
		padding: 10px 10px;
		text-align: right;
		z-index: 99;
	}
	.main_menu ul {
		display: none;
		position: absolute;
		margin-top: 0px;
		background-color: rgba(2, 39, 59, 0.91);
		width: 100%;
		padding: 10px 10px;
		text-align: right;
		z-index: 99;
	}
	ul.phone_menu {
		display: none;
		position: absolute;
		margin-top: 0px;
		background-color: rgba(2, 39, 59, 0.91);
		width: 100%;
		padding: 10px 10px;
		text-align: right;
		z-index: 99;
		color: #fff;
	}
.main_menu {
	text-align:left;
}
	.main_menu ul li{
		display: block;
		margin-top: 0px;
		width: 100%;
		padding: 10px 10px;
		text-align: left;
		margin: 0px;
		color: #fff;
	}
	ul.phone_menu li{
		display: block;
		margin-top: 0px;
		width: 100%;
		padding: 5px 10px;
		text-align: right;
		margin: 0px;
		font-size: 20px;
	}
	ul.phone_menu li span{
		font-size: 14px;
		color: #ff0;
	}
.next_button,
.prev_button {
	color: #000;
	font-size: 14px;
	position: absolute;
	z-index: 10;
	cursor: pointer;
	top: 20%;
}

.s1{
	text-align: center;
	padding: 0px 0px 20px 0px;
	background:url(../images/fons1.png) no-repeat ; 
	background-size:100%;
}

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
.arenda tr td.text ul li {
    text-align: left;
    padding: 10px 5px;
    font-size: 8px;
}

	.s1 ul li {
    display: inline-block;
    width: 89%;
    vertical-align: top;
    margin: 0px 2%;
    color: #007582;
}
.s2 a p {
    color: #000;
    margin: 2% 10% 5% 10%;
    font-size: 12px;
    padding: 10px;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.7);
    text-shadow: none;
    box-shadow: 5px 5px 5px black;
}
.s4 .left p {
    font-size: 13px;
    text-transform: uppercase;
    margin: -15px 5px 0px 5px;
    background-color: rgba(0,0,0, 0.5);
    z-index: 9999;
    text-align: center;
    padding: 7px 20px;
    position: relative;
}
.s4 .right p {
    font-size: 13px;
    text-transform: uppercase;
    margin: -15px 5px 0px 5px;
    background-color: rgba(0,0,0, 0.5);
    z-index: 9999;
    text-align: center;
    padding: 7px 20px;
    position: relative;
}

.form table td.left-td {
    text-align: left;
    width: 100%;
    display: block;
}


.form table td.right-td {
    text-align: left;
    width: 100%;
    display: block;
}

.s3 h2 {
    color: #777;
    margin: 30px 0px 20px 0px;
    font-size: 19px;
}

.usl div {
    display: inline-block;
    vertical-align: top;
    width: 49%;
}
.s1 ul li img {
    width: 60%;
    margin: 22px 20% 0px 20%;
}
span.us_no {
    float: right;
    font-size: 19px;
    text-transform: uppercase;
    padding: 8px 15.9px;
    background-color: #f00;
    color: #fff;
}
.video div {
    width: 100%;
    margin: 0%;
    vertical-align: top;
    display: inline-block;
}
div.main_txt {
    display: none;
}
img.main {
    width: 27% !important;
}

div.okna_cena div{
	width: 80%;
}
body{
	margin-top: 60px;
}
.l_panel a p{
	font-size: 18px;
}

h1.landing {
	font-size: 20px;
}
h2.landing {
	font-size: 20px;
}
.l_vizitka  table tr td{
	width: 100%;
	display: block;
}


.l_list table tr td{
	width: 50%;
	transition: all .50s;
	display: inline-block;
}

.ok_mail h1{
	margin: 0px;
	padding-top: 20%;
}

.ok_mail img{
	width: 90%;
}
.texte .img1 {
	width: 90%;
}
.texte h2 {
	text-align: center;
}
.images_a img{
	display: inline-block;
	width: 30%;
	margin: 0px;
}

.akcii .lst {
	display: inline-block;
	width: 90%;
	vertical-align: top;
	margin: 3%;
	box-shadow: 0px 0px 13px rgba(183, 200, 210, 0.8);
}
	.slide .form div.phones img{
		width: 50%;
	}
	.slide .form div.phones p {
    font-family: BebasRegular;
    font-size: 20px;
    letter-spacing: 3px;
    margin: 0px;
    padding: 0px;
    line-height: 34px;
}
	.slide .form div.phones p span{
	font-family: BebasRegular;
	font-size: 18px;
	}
	.slide .img_slide img{
		width: 30%;
		margin:2%;
		border-radius: 50%;
		border:2px solid #fff;
	  transition: all .50s;
		box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.51);
	}
.content img{
	display: inline-block;
	width: 100%;
	margin: 1%;
}
.s4 {
	background:url(../images/s32_mini.png) no-repeat #1c1a17; 
	background-size:100%;
}
.s4 .s4_block{
	text-align: center;
	width: 80%;
	vertical-align: top;
	display: inline-block;
	
}
.main_mnu{
	position: fixed;
	top: 0px;
	width: 100%;
	z-index: 9999;
}
	.sl1 {
		background:url(../images/s1_mini.png) no-repeat;
		background-size: 100%;
		text-shadow: 2px 2px 5px  #000;
	}
	.sl2 {
		background:url(../images/s2_mini.png) no-repeat;
		background-size: 100%;
		text-shadow: 2px 2px 5px  #000;
	}
	.sl3 {
		background:url(../images/s3_mini.png) no-repeat;
		background-size: 100%;
		text-shadow: 2px 2px 5px  #000;
	}
	.sl4 {
		background:url(../images/s4_mini.png) no-repeat;
		background-size: 100%;
		text-shadow: 2px 2px 5px  #000;
	}
#slider{ /* Оболочка слайдера */
	width:100%;
	height:500px;
	overflow: hidden;
	border:none;
	position:relative;}
.logo {
	display: inline-block;
	width: 100%;
	text-align: left;
}
.logo_text{
	width: 45%;
	display: none;
	text-align: right;
	text-transform: uppercase;
	font-size: 10px;
	vertical-align: top;
	padding: 0px;
}

.text{
	width: 100%;
	display: inline-block;
	text-align: center;
}
.phone{
	position: relative;
	width: 100%;
}

	.logo img{
		width: 100%;
	}
	.logo {
		width: 100%;
		text-align: center;
	}
	.phone p {
		font-size: 30px;
		padding: 2px;
		text-align: center;
	}
	.phone  {
		padding: 16px 0px;
		width: 100%;
	}
	.text {
		width: 100%;
		display: block;
	}
.s2{
	text-align: center;
	padding: 30% 0px;
	background:url(../images/fons2_min.png) no-repeat ; 
	background-size:100%;
}
.s2 div.l img{
	width: 30%;
	margin: 2% 1% 5px 1%;
}
.s2 img{
	width: 20%;
}
.drev, .drev div, .d_okna .okn, div.proc, .proc_txt, .okn {
	width: 90%;
	text-align: center;
}
.okn img{
	width: 30%;
}

}

/* 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) {
	.main_menu ul{
		display: inline-block !important;
	}
	.soc_botton{
		display: inline-block !important;
	}
	.main_menu ol{
		display: inline-block !important;
	}
	ul.phone_menu {
		display: none;
	}
	#slider {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border: none;
    position: relative;
}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

	#slider {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border: none;
    position: relative;
}

}