@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic|PT+Sans+Narrow:400,700&subset=cyrillic-ext,latin-ext,latin,cyrillic);

html, body{height:100%;}

body {font-family: Arial, Helvetica, Sans-Serif; line-height:1.4; font-size:16px; padding:0; margin:0; color:#333; background:#c1dff4 url(images/bg.jpg) top center no-repeat;}

h1, h2, h3, h4, h5, h6 {color:#0050b2; margin:15px 0; text-align:center;}
h1.bal-postheader {font-size:38px;}
h2 {font-size:36px;}
h3 {font-size:24px;font-weight: 100; color:#333;}

p {margin:0;}

* {box-sizing:border-box;}

a {color:#0050b2; text-decoration:underline; transition: all 0.25s linear 0s;}
a:hover {color:#e80000;}

.clearfix {clear:both;}

#top {position:relative; height:200px; background:rgba(255,255,255,0.8); color:#0050b2;}
#top .container {position:relative; width:1200px; margin:0 auto;}
a#logo {position:relative; display:block; width:248px; height:86px; background:url(images/logo.png) no-repeat; left:10px; top:18px;}
a#logo:hover {opacity:0.8;}
#logotext {position:absolute; left:10px; top:118px; margin:0; font-size:17px; list-style-image:url(images/ul.png); padding-left:22px;}
#topcontact {position:absolute; right:10px; top:8px; width:480px; text-align:right; line-height:1.4; font-size:18px;}
#topcontact span {font-size:26px; font-weight:700;}
#topcontact a {text-decoration:none;}
.whatsapp {display:inline-block; width:22px; height:22px; background: url(images/whatsapp.png) no-repeat;}
.whatsapp:hover {opacity:0.8;}
.cities {display:table; float:right;}
.city {display:table-cell; white-space:nowrap; padding-left:30px;}
a.button1 {display:inline-block; text-decoration:none; text-align:center; padding:3px 20px; border-radius:3px; font-size:18px; color:#fff; background:linear-gradient(to bottom, #f00, #dc0000); margin-top:8px;}
a.button1:hover {background:linear-gradient(to bottom, #dc0000, #9d0001); color:#ffe400;}
#toptime {position:absolute; right:10px; top:138px; text-align:right; line-height:1.4; font-size:18px;}

a#action {display:block; position:absolute; width:88px; height:35px; background:url(images/action.png) bottom center no-repeat; top:0; left:50%; margin-left:-44px;}
a#action:hover {height:40px;}

#otzyv {display:block; position:absolute; top:58px; left:50%; margin-left:-62px; width:124px; height:124px; background:url(images/otzyvy-2gis.png) no-repeat; z-index:100;}
#otzyv:hover {opacity:0.8;} 

#topmenu {height:50px; background:#0050b2; font-family:"PT Sans Narrow"; font-size: 22px; text-align:center;}

ul.bal-hmenu {width:1000px; margin:0 auto; padding:0;}

ul.bal-hmenu li {margin:0; padding:0; display:inline-block;}
ul.bal-hmenu li a {position:relative; display:block; height:50px; text-decoration:none; color:#fff; padding:0 22px; margin-right:-5px; line-height:50px; border-left:1px solid #c4d8ff; }
ul.bal-hmenu li.menu-item-927 a {border-left:none;}
ul.bal-hmenu li a.active {color:#f00; background:rgba(255,255,255,0.8);}
ul.bal-hmenu li a:hover, ul.bal-hmenu li:hover a {color:#f00;}
ul.bal-hmenu li.menu-item-966, ul.bal-hmenu li.menu-item-974, ul.bal-hmenu li.menu-item-984 {display:none;}

#main {width:1200px; margin:0 auto; position:relative; background:#fff;}
#wpcontent_slider_container {margin:10px auto !important;}

.moroz {padding:12px; background:url(images/moroz.png); background-size:cover; color:#0050b2; text-align:center; /*width:100%;*/ width:1200px; font-size: 26px;}
a.slidors { display:block; background:#0050b2 url(images/novinka.png) 0% -40% no-repeat; min-height:60px; padding:5px; text-align:center; text-decoration:none; font-size:32px; color:#fff;  font-family:"PT Sans Narrow";}
a.slidors:hover {color:#ffe400; background:#003c85 url(images/novinka.png) 0% 0% no-repeat;}

.bal-blockheader {margin-bottom:4px; min-height:32px; line-height:32px;}
.bal-blockheader h3.t {color:#fff; padding:0 6px 0 46px; background:#0050b2 url(images/camera.png) 4% 50% no-repeat; font-weight:100; font-size:18px; text-align:left; font-family: Arial, Helvetica, Sans-Serif;}

.bal-box, .bal-box-body {margin:0 auto; position:relative;}
.bal-blockcontent-body {padding:6px; background:#e9f6ff;}
.bal-blockcontent-body:hover {background:#d4Edff;} 

.bal-block {margin:10px;}
.bal-block-body {float:left; padding:0 3px;}

.page {padding:32px; text-align:justify;}

.bal-postcontent p {margin: 12px 0;}

#socials {text-align:center; padding-bottom:20px;}
#socials p {font-size:12px; margin-bottom:12px; font-weight:700; color:#0050b2;}

.bal-footer {position:relative; margin:0; width:100%; background:#0050b2;}
.bal-footer a {color:#fff; text-decoration:underline;}
.bal-footer a:hover {color:#ffe400;}
.bal-footer-body {position:relative; padding:20px; color:#fff; width:1000px; margin:0 auto; text-align:center;}
.bal-footer-text {font-size:14px;}

#euro {font-size:22px;}
#footcontact {margin:10px 0 2px;}
#footcontact a {color:#ffe400; text-decoration:none;}
#footcontact a:hover {color:#fff;}
.footphone {font-size:18px;}
.footphone span {font-size:26px;}
.cities_footer {display:table; margin:16px auto;}
.cities_footer .city {text-align:left; font-size:24px; padding:0 24px;}

#counter {line-height:1; margin-top:10px;}

.bal-postcontent ul {list-style-image:url(images/ul.png); font-style:italic; font-family:Trebuchet MS;}
.bal-postcontent ul li {margin-bottom:12px;}
.bal-postcontent ul li ul {list-style:none;}

.cleared {clear:both;}
.reset-box {overflow:hidden; display:table;}

span.wpcf7-list-item {display:block;}

.tab_price {border-collapse:collapse; width:90%; margin:24px auto;}
.tab_price td {padding:6px 12px; border:1px solid #ccc;}
.tab_price tr:hover {background:#fafafa;}

#remont {padding:10px;}
.link_rem {display:block; background:#0050b2 url(images/arrow-rem.png) 100% 91% no-repeat; width:980px; text-decoration:none;}
.images_rem {text-align:center; margin:0 auto;}
.img_rem {width:235px; height:168px; margin:8px 0 0 8px; display:block; float:left;}
.img_rem_1 {background:url(images/remont1.jpg) no-repeat;}
.img_rem_2 {background:url(images/remont2.jpg) no-repeat;}
.img_rem_3 {background:url(images/remont3.jpg) no-repeat;}
.img_rem_4 {background:url(images/remont4.jpg) no-repeat;}
.text_rem_1 {display:inline-block; margin:8px 20px 8px 8px; text-transform:uppercase; background:#e9f6ff; color:#f00; font-size:30px; padding:6px 20px; }
.text_rem_2 {display:inline-block; margin:8px 0; text-transform:uppercase; color:#fff; font-size:30px;}

.link_rem:hover {background:#0050b2 url(images/arrow-rem.png) 101% 91% no-repeat; text-decoration:none;} 
.link_rem:hover .img_rem {box-shadow:0 0 3px #000;}

/* Home page */
.rl-gallery .rl-gallery-link .rl-gallery-caption {background-color:#0050b2 !important;}
.main-uslugi, .main-osteklenie {display:flex; flex-wrap:wrap; justify-content:center; margin: 30px 0;}
.main-uslugi div {display:inline-flex; flex-direction:column; width:240px; text-align:center;}
.main-uslugi img {border-radius:50%; border:3px solid #d4Edff;} 
.main-uslugi h3 {font-size:20px;}
.main-uslugi a {text-transform:uppercase; text-decoration:none; text-align:center; font-weight:700;}
.main-osteklenie div {display:inline-flex; flex-direction:column; text-align:center; margin: 0 12px;}

a.button2 {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 3px 20px;
    border-radius: 3px;
    font-size: 25px;
    color: #fff;
    background: linear-gradient(to bottom, #f00, #dc0000);
    margin-top: 8px;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.custom-table th,
.custom-table td {
  padding: 12px;
  border: 1px solid #4b5563;
}

.custom-table th {
  background-color: #f2f4f7;
  color: #141414;
  font-weight: bold;
}

.custom-table tr:nth-child(odd) td {
  background-color: inherit;
}
ol {
	list-style-type: none; 
	counter-reset: num;
	margin: 0 0 0 45px;
	padding: 15px 0 5px 0;
	font-size: 16px;
}
ol li {
	position: relative;	
	margin: 0 0 0 0;
	padding: 0 0 10px 0;
	line-height: 1.4;
}
ol li:before {
	content: counter(num); 
	counter-increment: num;
	display: inline-block;
	position: absolute;
	top: 0;
	left: -38px;
	width: 28px;
	height: 28px;
	background: #0050b2;
	color: #fff;
	text-align: center;
	line-height: 28px;
	font-size: 18px;
	border-radius:50%;
}
 .container1 {   width: 75%;
  border: 2px solid #ccc;
  background-color: #eee;
  border-radius: 5px; /* скругление углов блока */
  padding: 16px; /* внутренние поля */
  margin: 16px auto; /* внешние отступы */
}
.container1 img {
  float: left; /* обтекание слева */
  margin-right: 20px; /* пространство между аватаркой и абзацем */
  border-radius: 50%; /* скругляет аватарку */
  width: 90px;
}

.container1 span {
  font-size: 18px;
  margin-right: 15px;
}@media (max-width: 450px) {
  .container1 {
    text-align: center;
  }
  .container1 img {
    margin: auto;
    float: none;
    display: block;
  }
}

/*#otzyv {
    width: 164px;
    height: 124px;
   background: url(https://balkonprofi.ru/wp-content/themes/balkon4/images/otzyv.png) no-repeat;
    z-index: 100;
}*/

ul.breadcrumb-5 { 
    margin: 0px;
    padding: 10px;
}
ul.breadcrumb-5 li {
    display: inline-block;
    line-height: 15px;
    margin: 0 0px 0 0px;
    padding: 0 15px;
    position: relative;
    font-size: 13px;
    font-family: Verdana, sans-serif;      
}
ul.breadcrumb-5 li:before,
ul.breadcrumb-5 li:after {
    border-right: 3px solid #BFE2FF;
    content: '';
    display: block;
    height: 50%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
    transform: skewX(45deg);   
}
ul.breadcrumb-5 li:after {
    bottom: 0;
    top: auto;
    transform: skewX(-45deg);
}
ul.breadcrumb-5 li:last-of-type:before, 
ul.breadcrumb-5 li:last-of-type:after { 
    display: none; 
}
ul.breadcrumb-5 li a { 
    color: #000;
    text-decoration: none;
    transition: all 0.3s;
}
ul.breadcrumb-5 li a:hover { 
    color: #337AB7;
}

.whatsapp {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(https://balkonprofi.ru/wp-content/themes/balkon4/images/MAX-24x24%20%281%29.png) no-repeat;
}

.grecaptcha-badge {visibility: hidden;}

form
{
   padding: 0 !important;
   margin: 0 !important;
}

table.position
{
   position: relative;
   width: 100%;
   table-layout: fixed;
}


/* begin MenuFluidBg */
div#bal-hmenu-bg
{
   position: absolute;
   overflow:hidden;
   top:211px;
   left:0;
   margin:0 auto;
   width: 100%;
   height: 50px;
   z-index:-4;
}
/* end MenuFluidBg */

/* begin Box, Sheet */
.bal-sheet
{
   max-width:1000px;
   margin-top: 7px;
   margin-bottom: -3px;
   cursor:auto;
   width: 1000px;
}
.bal-sheet-body 
{
   padding:4px;
   min-width:38px;
   min-height:38px;
   padding-top:4px;
   padding-bottom:4px;
}

/* end Box, Sheet */

/* begin Header */
div.bal-header
{
   margin: 0 auto;
   position: relative;
   width:100%;
   height: 200px;
   margin-top: 0;
   margin-bottom: 0;
}


/* end Header */

/* begin HeaderObject */
div.bal-headerobject
{
   display: block;
   left: 1%;
   margin-left: -3px;
   position: absolute;
   top: 0;
   width: 390px;
   height: 190px;
   /*background-image: url('images/header-object.png');*/
}
/* end HeaderObject */

/* begin Logo */
div.bal-logo
{
   display: block;
   position: absolute;
   top: 20px;
   left: 0;
   margin-left: 0;
   width:0px;
}

/* end Logo */

/* Contacts in Header*/

.contacts{
   color: #002a68;
   font-size: 24px;
   width: 400px;
   height: 145px;
   padding: 0px 0px 0px 119px;
   font-weight: bold;
   text-align: right;
}



/* begin Layout */
.bal-layout-wrapper
{
   position:relative;
   margin:0 auto 0 auto;
}

.bal-content-layout
{
   display: table;
   width:100%;
   table-layout: fixed;
   border-collapse: collapse;
}

.bal-content-layout-row {
   display: table-row;
}

.bal-layout-cell
{
   display: table-cell;
   vertical-align: top;
}
/* end Layout */


/* begin WordPress, Template.WordPress */
form.bal-search {
   display:block;
   position: relative;
   width: 98%;
   padding:0;
   margin:0 auto !important;
   border: none;
}

form.bal-search div {
   margin: 0 18px 0 -2px;
}

input.bal-search-text {
   display: block;
   margin: 0;
   width: 100%;
   padding-right: 16px;
}

input.bal-search-button
{
   display: block;
   position: absolute;
   right: 0;
   top: 0;
   height: 100%;
   padding: 0;
   margin: 0;
   width: 16px;
   background:url('images/search.png') center center no-repeat;
   border: none;
}
/* end WordPress, Template.WordPress */

/* begin LayoutCell, sidebar1 */
.bal-content-layout .bal-sidebar1
{
   width: 250px;
}
/* end LayoutCell, sidebar1 */

textarea#comment
{
   width:99%;
}

ul#comments-list div.avatar
{
   float:right;
}

ul#comments-list, ul#comments-list li
{
   background: none;
   padding:0;
}

ul#comments-list li li
{
   margin-left: 20px;
}

div.avatar
{
   position:relative;
   margin: 7px;
   border: 1px solid #aaa;
   padding: 1px;
   background: #fff;
   float:left;
}

div.avatar img, div.avatar img.wp-post-image
{
   margin:0 !important;
   padding:0;
   border:none;
}

span.page-navi-outer, span.page-navi-inner 
{
   position:relative;
   display:block;
   float:left;
   margin:0;
   padding:0;
}

span.page-navi-outer
{
   margin: 1px;
   border: 1px solid #aaa;
}

span.page-navi-inner 
{
   padding: 1px;
   min-width:14px;
   line-height:18px;
   text-align:center;
   border: 2px solid #fff;
   font-weight:bold;
}

a span.page-navi-inner, span.page-navi-caption span.page-navi-inner 
{
   border-width:1px;
   font-weight:normal;
}

a span.page-navi-outer, span.page-navi-caption
{
   margin:2px 1px;
}

ul#comments-list li cite
{
   font-size: 1.2em;
}

#commentform textarea
{
   width: 100%;
}

#commentform
{
   text-align:left;
}

.rtl #commentform
{
   text-align:right;
}

img.wp-smiley
{
   border: none;
   margin: 1px;
   vertical-align:middle;
   padding: 0;
}

.navigation
{
   display: block;
   text-align: center;
}

/* Recommended by http://codex.wordpress.org/CSS */
/* Begin */
.aligncenter, div.aligncenter, .bal-article .aligncenter img, .aligncenter img.bal-article, .aligncenter img, img.aligncenter
{
   display: block;
   margin-left: auto;
   margin-right: auto;
}

p.aligncenter , p.center 
{
   text-align: center;
}

.alignleft
{
   float: left;
}

.alignright
{
   float: right;
}

.alignright img, img.alignright
{
   margin: 1em;
   margin-right: 0;
}

.alignleft img, img.alignleft
{
   margin: 1em;
   margin-left: 0;
}

.wp-caption
{
   border: 1px solid #ddd;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   text-align: center;
}

.wp-caption img
{
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text
{
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}

.wp-caption p
{
   text-align: center;
}

.gallery {
   margin: 0 auto 18px;
   clear:both;
   overflow:hidden;
   letter-spacing: normal;
}

.gallery .gallery-item {
   float: left;
   margin-top: 0;
   text-align: center;
   width: 33%;
}
.gallery img {
   border: 10px solid #f1f1f1;
}

.gallery .gallery-caption {
   color: #888;
   font-size: 12px;
   margin: 0 0 12px;
}

.gallery dl {
   margin: 0;
}

.gallery br+br {
   display: none;
}
/* End */

.hidden
{
   display: none;
}

/* Calendar */
#wp-calendar {
   empty-cells: show;
   margin: 10px auto 0;
   width: 155px;
}

#wp-calendar #next a {
   padding-right: 10px;
   text-align: right;
}

#wp-calendar #prev a {
   padding-left: 10px;
   text-align: left;
}

#wp-calendar a {
   display: block;
}

#wp-calendar caption {
   text-align: center;
   width: 100%;
}

#wp-calendar td {
   padding: 3px 0;
   text-align: center;
}

.bal-content {
   position: relative;
   z-index: 1;
}

#todays-events{
   position: relative;
   z-index: 11;
}

#upcoming-events{
   position: relative;
   z-index: 10;
}

img.wp-post-image 
{
   margin:0 5px 5px 0 !important;
}

ul#comments-list li
{
   list-style-image: none;
   background:none;
   list-style-type:none;
}

div.bal-footer div.bal-content-layout
{
   margin:0 auto;
   width:100%;
}

div.bal-layout-cell-size1 
{
   width:100%;
}

div.bal-layout-cell-size2 
{
   width:50%;
}
div.bal-layout-cell-size3 
{
   width:33%;
}

div.bal-layout-cell-size4
{
   width:25%;
}

.bal-widget-title
{
   padding:0 0 0 24px;
   margin-bottom:0;
}

div.bal-center-wrapper
{
   position: relative;
   float: right;
   right: 50%;
}

div.bal-center-inner
{
   position: relative;
   float: left;
   left: 50%;
}

.firefox2 div.bal-center-inner
{
   float: none;
}

div.breadcrumbs h4, 
div.breadcrumbs p, 
li.pingback p, 
#respond p,
h3#reply-title, 
h4#comments, 
h4.box-title
{
   margin:0;
}

#respond .comment-notes {
   margin-bottom: 1em;
}

.form-allowed-tags {
   line-height: 1em;
}

#comments-list #respond {
   margin-left: 20px !important;
}

#cancel-comment-reply-link {
   font-size: 12px;
   font-weight: normal;
   line-height: 18px;
}

#respond .required {
   color: #ff4b33;
   font-weight: bold;
}

#respond label {
   font-size: 12px;
}

#respond input {
   margin: 0 0 9px;
   width: 98%;
}

#respond textarea {
   width: 98%;
}

#respond .form-allowed-tags {
   font-size: 12px;
   line-height: 18px;
}

#respond .form-allowed-tags code {
   font-size: 11px;
}

#respond .form-submit {
   margin: 12px 0;
}

#respond .form-submit input {
   font-size: 14px;
   width: auto;
}

.bal-footer .bal-widget-title 
{
   font-size:1.2em;
   padding: 0;
}

.bal-footer .bal-widget,
.bal-footer .bal-widget a,
.bal-footer .bal-widget a:link,
.bal-footer .bal-widget a:visited,
.bal-footer .bal-widget a:hover
{
   color: #FFFFFF;
   font-size: 11px;
   text-align: left;
}

.bal-footer .bal-widget a,
.bal-footer .bal-widget a:link
{
   color: #BCD7E6;
   text-decoration: none;
   font-size: 30px;
}

.bal-footer .bal-widget a:visited
{
   color: red;
}

.bal-footer .bal-widget a:hover
{
   color: #2A759E;
   text-decoration: underline;
   font-size: 35px;
}

DIV[id^="GMPmap"] IMG 
{
   margin: 0;
}

div.bal-phone {
display: block;
position: relative;
top: 10px;
margin-left: 455px;
}

.zvonok{margin-top:3px;}/* Базовые стили модального окна  */
.overlay {background-color: rgba(0, 0, 0, 0.7);    bottom: 0;    cursor: default;    left: 0;    opacity: 0;    position: fixed;    right: 0;    top: 0;    visibility: hidden;    z-index: 1;    -webkit-transition: opacity .5s;    -moz-transition: opacity .5s;    -ms-transition: opacity .5s;    -o-transition: opacity .5s;    transition: opacity .5s;}
.overlay:target {visibility: visible; opacity: 1;}
.popup img{	display: inline;	border: none;	-webkit-border-radius: 10px;	-moz-border-radius: 10px;	border-radius: 10px;	background: #ffffff;	}
.popup {color:black;  background-color: #fff;  display: inline-block;    left: 50%;    opacity: 0;    padding:20px;    position: fixed;      top: 40%;    visibility: hidden;    z-index: 10;     -webkit-transform: translate(-50%, -50%);    -moz-transform: translate(-50%, -50%);    -ms-transform: translate(-50%, -50%);    -o-transform: translate(-50%, -50%);    transform: translate(-50%, -50%);     -webkit-transition: opacity .5s, top .5s;    -moz-transition: opacity .5s, top .5s;    -ms-transition: opacity .5s, top .5s;    -o-transition: opacity .5s, top .5s;    transition: opacity .5s, top .5s;}
.popup input {line-height:32px; padding:3px 8px; border:1px solid #333;}
.popup input.wpcf7-submit {cursor:pointer; border:none; font-size:18px; color:#fff; background:linear-gradient(to bottom, #f00, #dc0000);}
.popup input.wpcf7-submit:hover {background:linear-gradient(to bottom, #dc0000, #9d0001); color:#ffe400;}
.overlay:target+
.popup {top: 50%;    opacity: 1;    visibility: visible;}/* Кнопка закрытия окна  */
.close {    background-color: rgba(0, 0, 0, 0.8);    border: 2px solid #ccc;    height: 24px;    line-height: 24px;    position: absolute;    right: -13px;    font-weight: bold;    text-align: center;    text-decoration: none;    top: -15px;    width: 24px;    -webkit-border-radius: 15px;    -moz-border-radius: 15px;    -ms-border-radius: 15px;    -o-border-radius: 15px;     border-radius: 15px;    -moz-box-shadow: 1px 1px 3px #000;    -webkit-box-shadow: 1px 1px 3px #000;    box-shadow: 1px 1px 3px #000;}
.close:before {    color: rgba(255, 255, 255, 0.9);    content: "X";    font-size: 14px;    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);}
.close:hover {    background-color: rgba(64, 128, 128, 0.8);}
.popup p, 
.popup div {margin-bottom: 10px;}

@media screen and (max-width: 1220px) {
#top .container {width:96%;} 
ul.bal-hmenu, #main, .bal-footer-body, .bal-block-body {width:100%;} 
#topmenu {font-size:18px;}
ul.bal-hmenu li a {padding: 0 12px;}
.bal-blockheader h3.t, .bal-box-body .textwidget {text-align:center;}
.bal-blockheader h3.t {padding:0 40px;}
ul.bal-hmenu li.menu-item-966, ul.bal-hmenu li.menu-item-974 {display:inline-block; background:#ea0000;}
ul.bal-hmenu li.menu-item-966 a, ul.bal-hmenu li.menu-item-974 a {margin-right:0;}
ul.bal-hmenu li.menu-item-966 a:hover, ul.bal-hmenu li.menu-item-974 a:hover {color:#ff0;}
#otzyv {display:none;}
a.slidors, .moroz  {font-size:24px; width:100%;}
div.bal-postcontent img {max-width:100%;}
#remont {padding:10px 0;}
.link_rem, .link_rem:hover {width:100%; background:#0050b2; padding-bottom:2px;}
.img_rem {display:inline-block; float:none;}
.img_rem_4 {display:none;}
.text_rem_1, .text_rem_2 {display:block; margin:8px 30px; text-align:center;}
#wpcontent_slider_container {display:none;}
}
@media screen and (max-width: 767px) {
body {background:#c1dff4;}
#top {height:auto; text-align:center;}
#logotext {display:none;}
a#logo, #topcontact, #toptime {position:relative; width:100%; padding:0 10px 10px; top:auto; left:auto; right:auto; text-align:center; font-size:16px;}
a#logo {background:url(images/logo.png) 50% 90% no-repeat; padding:40px 0 20px; height:146px; margin-bottom: 10px;}
.cities {float:none; margin:0 auto;}
.city {padding-left:12px; padding-right:12px;}
#topmenu {height:auto; font-family: "PT Sans";}
ul.bal-hmenu li, ul.bal-hmenu li.menu-item-966, ul.bal-hmenu li.menu-item-974, ul.bal-hmenu li.menu-item-984 {display:block; width:100%;}
ul.bal-hmenu li a {border-bottom:1px solid #4584fe; border-left:none;  height:40px; line-height:40px; margin-right:0;}
a.slidors, .moroz  {font-size:18px; min-height:auto;}
a.slidors, a.slidors:hover {background:#0050b2; font-family: "PT Sans";}
#gallery-1 .gallery-item {width:50% !important;}
.bal-block-body img {max-width:100%;} 
.img_rem_3 {display:none;}
.page {padding:24px; text-align:left;}
}
@media screen and (max-width: 639px) {
.img_rem_2 {display:none;}
.text_rem_1, .text_rem_2 {font-size:24px; text-transform:none;}
}
@media screen and (max-width: 510px) {
.cities_footer {display:table; margin:16px auto;}
.cities_footer .city {padding:0 12px; font-size:20px;}
}
@media screen and (max-width: 360px) {
#topcontact span {font-size:16px;}
.city {padding-left:6px; padding-right:6px;}
.cities_footer .city {display:block; padding: 6px 0; text-align:center;}
}