@import 'https://fonts.googleapis.com/css?family=Exo+2:400,400i,500,600,700,800,900&subset=cyrillic';

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

#page li {
  padding: 4px 3px;
  line-height: 1.5;
  list-style: disc outside;
  margin:0px 0px 0px 30px;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*************************************************
 * All
 */

body {
  font-family: "Exo 2", sans-serif;
  font-size: 18px;
  color: #3b3b3b;
  background: url("img/pattern.png") left top repeat;
}

h1 {
  font-size: 36px;
  font-weight: 700;
  padding-bottom: 50px;
}

h2 {
  font-size: 40px;
  font-weight: 600;
  padding: 10px 0;
}
#page h2 {
  font-size: 27px;
  font-weight: 500;
}

h3 {
  font-size: 36px;
  font-weight: 500;
  padding: 10px 0;
}

h4 {
  font-size: 20px;
  font-weight: 700;
  padding: 10px 0;
}

strong {
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: #d13d73;
}

.wrapper {
  max-width: 1024px;
  margin: 0 auto;
}

.wrapper::after {
  display: block;
  width: 100%;
  content: " ";
  clear: both;
}

.clear {
  width: 100%;
  clear: both;
}

a.button {
  color: #d13d73;
  border: 1px solid #d13d73;
  border-radius: 5px;
  padding: 5px;
  display: inline-block;
  font-size: 18px;
}

a.button:hover,
a.button:active {
  background-color: #d13d73;
  color: white;
}

.button-3d {
  background-color: #d13d73;
  border: 0;
  border-radius: 5px;
  color: white;
  font-size: 20px;
  font-weight: 600;
  padding: 8px 15px;
  box-shadow: 0 3px 0 #434443;
  cursor: pointer;
}

.button-3d:hover,
.button-3d:active {
  background-color: #f1fef4;
  color: #434443;
}

input:focus,
textarea:focus,
button:focus,
a:focus,
span:focus,
img:focus {
  outline: none;
}

/*************************************************
 * Header
 */

#header {
  padding-top: 20px;
  font-weight: 600;
  background-color: white;
}
  #header .item {
    width: 25%;
    max-width: 225px;
    height: 105px;
    float: left;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 18px;
    padding: 0 14px;
  }
  #header .item.logo {
    position: relative;
    max-width: 100%;
    margin-right: 40px;
    padding: 0;
    color: #3c3b3e;
    font-size: 13px;
  }
  #header .item.logo a:hover {
    color: inherit;
  }
  #header .item.logo span {
    position: absolute;
    left: 60px;
    top: 5px;
  }
  #header .item.menu {
    display: none;
  }
  #header .item.time {
    font-size: 14px;
    text-align: right;
    max-width: 210px;
    margin-right: 65px
  }
  #header .item.time .call {
    display: none;
  }
  #header .item.address {}
  #header .item.phones {
    text-align: right;
  }
  #header .item.phones img {
    margin-left: 20px;
  }
  #header .item img {
    float: left;
    margin-right: 10px;
    max-width: 100%;
  }
  #header .item .button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-top: 10px;
    border-width: 2px;
  }

/*************************************************
 * Menu
 */

#menu {
  background: url("img/menu_bg.png") left top repeat-x;
}
  #menu ul {
    display: block;
    width: 100%;
    font-weight: 400;
    font-size: 18px;
  }
  #menu ul li {
    display: block;
    float: left;
    padding: 0 28px;
    position: relative;
  }
  #menu ul li:first-child {
    padding-left: 0;
  }
  #menu ul li:last-child {
    float: right;
    padding-right: 0;
  }
  #menu ul li a {
    display: block;
    font-weight: 500;
    padding: 6px 0;
    border-top: 5px solid transparent;
    white-space: nowrap;
  }
  #menu ul li.current-menu-item a {
   border-top-color: rgba(209, 61, 115, .5); 
  }
  #menu ul li a:hover {
    border-top-color: #d13d73;
  }
  #menu ul ul {
    display: none;
    background: white;
    position: absolute;
    left: 28px;
    top: 100%;
    min-width: 100%;
    box-shadow: 3px 3px 0 rgba(67, 68, 66, 0.7);
    z-index: 1;
    width: auto;
  }
  #menu ul ul li {
    width: 100%;
    float: left !important;
    padding: 3px 10px !important;
    box-sizing: border-box;
    border-left: 5px solid transparent;
  }
  #menu ul ul li:hover {
    border-left-color: #d13d73;
  }
  #menu ul ul li.menu-item-has-children::after {
    display: block;
    content: " ";
    position: absolute;
    right: 10px;
    top: 10px;
  }
  #menu ul ul li a {
    border-top: 0;
  }
  #menu ul li:hover>ul {
    display: block;
  }
  #menu::after {
    display: block;
    content: " ";
    width: 100%;
    clear: both;
  }
  #menu ul ul ul {
    left: 100%;
    top: 0;
  }

/*************************************************
 * Intro
 */

#intro {
  padding: 30px 0 70px;
  text-align: center;
}
  #intro p {
    color: #d13d73;
  }
  #intro .intro-window {
    position: relative;
    height: 550px;
  }
  #intro .intro-window img {
    position: relative;
  }
  #intro .intro-window fieldset {
    border: 2px solid #d13d73;
    text-align: left;
    font-size: 14px;
    padding: 2px 10px;
  }
  #intro .intro-window legend {
    font-weight: 700;
    font-size: 18px;
    color: #d13d73;
    margin-left: -5px;
  }
  #intro .intro-window>div {
    position: absolute;
    opacity: .7;
    transition: all .2s;
  }
  #intro .intro-window>div.hover {
    opacity: 1;
  }
  #intro .intro-window>div a {
    display: block;
  }
  #intro .intro-window>.steklopaket {
    background: right bottom url("img/window_steklopaket.png") no-repeat;
    width: 275px;
    height: 180px;
    left: 25px;
    top: 40px;
  }
  #intro .intro-window>.steklopaket a {
    width: 165px;
    height: 160px;
  }
  #intro .intro-window>.otkosy {
    background: right bottom url("img/window_otkosy.png") no-repeat;
    width: 250px;
    height: 170px;
    left: 3px;
    top: 280px;
  }
  #intro .intro-window>.otkosy a {
    width: 185px;
    height: 150px;
  }
  #intro .intro-window>.otkosy fieldset {
    width: 120px;
  }
  #intro .intro-window>.podokonnik {
    background: right top url("img/window_podokonnik.png") no-repeat;
    width: 275px;
    height: 215px;
    left: 205px;
    top: 300px;
  }
  #intro .intro-window>.podokonnik a {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 255px;
    height: 140px;
  }
  #intro .intro-window>.podokonnik fieldset {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 140px;
  }
  #intro .intro-window>.otliv {
    background: left top url("img/window_otliv.png") no-repeat;
    width: 220px;
    height: 245px;
    left: 570px;
    top: 280px;
  }
  #intro .intro-window>.otliv a {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 205px;
    height: 140px;
  }
  #intro .intro-window>.otliv fieldset {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 90px;
  }
  #intro .intro-window>.furnitura {
    background: left top url("img/window_furnitura.png") no-repeat;
    width: 355px;
    height: 220px;
    left: 630px;
    top: 240px;
  }
  #intro .intro-window>.furnitura a {
    position: absolute;
    right: 0;
    top: 30px;
    height: 165px;
    width: 195px;
  }
  #intro .intro-window>.furnitura fieldset {
    position: absolute;
    right: 0;
    top: 0;
    width: 125px;
  }
  #intro .intro-window>.ruchki {
    background: left bottom url("img/window_ruchki.png") no-repeat;
    width: 375px;
    height: 175px;
    left: 637px;
    top: 50px;
  }
  #intro .intro-window>.ruchki a {
    position: absolute;
    right: 0;
    top: 0;
    width: 210px;
    height: 155px;
  }
  #intro .intro-window>.ruchki fieldset {
    position: absolute;
    right: 0;
    top: 0;
    width: 125px;
  }

/*************************************************
 * Work Plan
 */

#work-plan {
  background-color: white;
  padding: 30px 0 55px;
  text-align: center;
}
  #work-plan ul {
    display: block;
    font-size: 0;
    line-height: 0;
    margin-top: 30px;
  }
  #work-plan li {
    position: relative;
    display: inline-block;
    font-size: 12px;
    line-height: normal;
    max-width: 16%;
    cursor: pointer;
    background: center top 5px no-repeat;
    padding-top: 90px;
    vertical-align: top;
  }
  #work-plan li::before {
    display: block;
    content: " ";
    width: 14px;
    height: 90px;
    background: url("img/work_plan_arrow.png") center center no-repeat;
    position: absolute;
    top: 0;
    left: -7px;
  }
  #work-plan li:first-child::before {
    display: none;
  }
  #work-plan li:last-child::before {
    background: url("img/work_plan_arrow_sea.png") center center no-repeat;
  }
  #work-plan li p {
    opacity: 0;
  }
  #work-plan span {
    font-size: 24px;
    display: block;
    padding: 8px 0;
  }
  #work-plan li:hover {
    background-position: center top;
  }
  #work-plan li:hover p {
    color: #d13d73;
    opacity: 1;
  }
  #work-plan li.request { background-image: url("img/request.png"); }
  #work-plan li.measure { background-image: url("img/measure.png"); }
  #work-plan li.calculation { background-image: url("img/calculation.png"); }
  #work-plan li.delivery { background-image: url("img/delivery.png"); }
  #work-plan li.mounting { background-image: url("img/mounting.png"); }
  #work-plan li.comfort { background-image: url("img/comfort.png"); }
  #work-plan li.request:hover { background-image: url("img/request_a.png"); }
  #work-plan li.measure:hover { background-image: url("img/measure_a.png"); }
  #work-plan li.calculation:hover { background-image: url("img/calculation_a.png"); }
  #work-plan li.delivery:hover { background-image: url("img/delivery_a.png"); }
  #work-plan li.mounting:hover { background-image: url("img/mounting_a.png"); }
  #work-plan li.comfort:hover { background-image: url("img/comfort_a.png"); }

/*************************************************
 * Products
 */

#products {
  padding: 55px 0 80px;
  background: white url("img/products_bg.png") center bottom no-repeat;
  text-align: center;
}
  #products p {
    color: #d13d73;
  }
  #window-classes {
    padding: 80px 0 50px;
    display: block;
  }
  #window-classes li {
    display: inline-block;
    padding: 0 15px;
  }
  #window-classes a {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #d13d73;
    opacity: .5;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 1px 12px;
  }
  #window-classes a:hover,
  #window-classes a.active {
    opacity: 1;
  }
  #window-classes a.active {
    border-color: #d13d73;
  }
  #window-classes-content ul {
    display: none;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: justify;
    justify-content: space-around;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  #window-classes-content ul.active {
    display: block;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }
  #window-classes-content ul li {
    display: inline-block;
    max-width: 200px;
    vertical-align: top;
    opacity: .5;
  }
  #window-classes-content ul li .button {
    margin-top: 50px;
    opacity: 0;
    font-weight: 600;
  }
  #window-classes-content ul li:hover {
    opacity: 1;
  }
  #window-classes-content ul li:hover .button {
    opacity: 1;
  }
  #window-classes-content ul .slide-left,
  #window-classes-content ul .slide-right,
  #window-classes-content ul .slide-dot {
    display: none;
  }
  #window-classes-content h4 {
    color: white;
    background-color: #434443;
    border-radius: 5px;
    width: 100%;
    margin: 20px 0;
  }
  #window-classes-content p {
    display: block;
    color: #434443;
    font-size: 14px;
    min-height: 60px;
  }
  #window-classes-content .param {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #d13d73;
    background: left center no-repeat;
    padding-left: 35px;
    min-height: 40px;
    margin-bottom: 5px;
  }
  #window-classes-content .param.temperature { background-image: url("img/temperature.png"); }
  #window-classes-content .param.durability { background-image: url("img/durability.png"); }
  #window-classes-content .param.economy { background-image: url("img/economy.png"); }
  #window-classes-content .param.quiet { background-image: url("img/quiet.png"); }
  #window-classes-content .param .scale {
    width: 100%;
    height: 12px;
    border: 2px solid #d13d73;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 5px;
    padding-right: 0;
    box-sizing: border-box;
  }
  #window-classes-content .param .scale::after {
    display: block;
    content: " ";
    width: 100%;
    height: 100%;
    background-color: #d13d73;
    position: relative;
  }

/*************************************************
 * Related Products
 */

#related-products {
  text-align: center;
  background-color: white;
  padding: 50px 0 70px;
}
  #related-products ul {
    display: block;
    padding-top: 25px;
  }
  #related-products ul li {
    display: inline-block;
    width: 154px;
    vertical-align: top;
    position: relative;
    font-size: 24px;
    font-weight: 500;
    line-height: 50px;
    padding-top: 20px;
  }
  #related-products li a::before {
    display: block;
    content: " ";
    width: 58px;
    height: 58px;
    background: url("img/zoom.png") center center no-repeat;
    position: absolute;
    top: 45px;
    left: 52px;
    opacity: 0;
  }
  #related-products li a:hover img:first-child {
    opacity: .5;
  }
  #related-products li a:hover::before {
    opacity: 1;
  }

/*************************************************
 * Discount
 */

#discount {
  background-color: white;
}
  #discount .wrapper {
    height: 350px;
  }
  #discount .wrapper>div {
    height: 100%;
    width: 33%;
    float: left;
  }
  #discount .left {
    background: url("img/discount_left.png") center center no-repeat;
  }
  #discount .center {
    background: url("img/discount_center.png") center bottom no-repeat;
  }
  #discount .right p {
    display: block;
    font-size: 16px;
    font-weight: 600;
    padding: 90px 0 30px;
    max-width: 250px;
  }
  #discount .right a {
    display: block;
    width: 254px;
    height: 112px;
    background: url("img/discount_button.png") center center no-repeat;
    position: relative;
  }
  #discount .right a img {
    opacity: 0;
  }
  #discount .right a:hover img {
    opacity: 1;
  }

/*************************************************
 * Map
 */

#map {
  height: 400px;
  border: solid #434443;
  border-width: 6px 0;
  background-color: white;
}

/*************************************************
 * Footer
 */

#footer {
  background: #404140 url("img/pattern_footer.png");
  height: 215px;
  color: white;
}
  #footer .item {
    padding: 50px 0 30px;
    width: 25%;
    height: 90px;
    float: left;
  }
  #footer .logo img {
    max-width: 90%;
  }
  #footer .address {
    line-height: 30px;
    height: 70px;
  }
  #footer .phones {
    padding: 70px 0 30px;
    height: 70px;
    font-size: 24px;
    line-height: 28px;
  }
  #footer span {
    padding-top: 5px;
    display: block;
    text-align: center;
    font-size: 12px;
    opacity: .2;
  }

/*************************************************
 * Info Bar
 */

#infobar {
  background-color: #773c51;
  color: white;
  font-size: 24px;
}
  #infobar .wrapper {
    height: 190px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: justify;
    justify-content: space-around;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #infobar .item {
    width: 45%;
  }
  #infobar .item:last-child {
    text-align: right;
  }
  #infobar h2 {
    font-weight: 500;
  }
  #infobar .phone {
    font-size: 48px;
  }
  #infobar .email {
    font-size: 18px;
  }

/*************************************************
 * Page
 */

#page {
  padding: 50px 0 100px;
  font-size: 16px;
}
  #page p {
    margin-bottom: 20px;
    line-height: 24px;
  }
  #page .alignleft {
    float: left;
  }
  #page .alignright {
    float: right;
  }

/*************************************************
 * Posts
 */

#page article {
  margin-bottom: 45px;
  font-weight: 600;
}

#page article::after {
  display: block;
  width: 100%;
  content: " ";
  clear: both;
}

#page article img {
  transform: scale(.95);
}

#page article:hover img {
  transform: scale(1);
}

#page article h4 {
  color: #d13d73;
  font-size: 24px;
  font-weight: 700;
  padding-top: 0;
}

#page article .wp-post-image,
#page.post .wp-post-image {
  float: left;
  border-radius: 5px;
  box-shadow: 7px 7px rgba(67, 67, 67, .3);
  margin: 0 35px 35px 0;
}

#page article a:hover {
  color: inherit;
}

/*************************************************
 * Page 404
 */

#page.page-404 {
  font-size: 24px;
  font-weight: 500;
}
  #page.page-404 img {
    display: block;
    margin: 0 auto;
    margin-bottom: 60px;
  }

/*************************************************
 * Shortcode o-nas-nav
 */

#page .o-nas-nav {
  display: block;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: justify;
  justify-content: space-around;
  -webkit-align-content: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
}
  #page .o-nas-nav li {
    display: inline-block;
    min-width: 100px;
    min-height: 110px;
    vertical-align: top;
    padding: 0 10px;
  }
  #page .o-nas-nav a {
    display: block;
    padding-top: 130px;
    font-weight: 700;
  }
  #page .o-nas-nav .certificates {
    background: url("img/certificates.png") center top no-repeat;
  }
  #page .o-nas-nav .works {
    background: url("img/works.png") center top no-repeat;
  }
  #page .o-nas-nav .contacts {
    background: url("img/contacts.png") center top no-repeat;
  }
  #page .o-nas-nav .certificates:hover {
    background-image: url("img/certificates_a.png");
  }
  #page .o-nas-nav .works:hover {
    background-image: url("img/works_a.png");
  }
  #page .o-nas-nav .contacts:hover {
    background-image: url("img/contacts_a.png");
  }

/*************************************************
 * WP gallery
 */

.gallery .gallery-item {
  width: auto !important;
  margin: 15px;
}
.gallery .gallery-item img {
  border: 0 !important;
  border-radius: 5px;
  box-shadow: 6px 6px rgba(67, 67, 67, .3);
}


/*************************************************
 * NextGen gallery
 */

.ngg-galleryoverview .ngg-gallery-thumbnail-box,
.ngg-albumoverview .ngg-album-compact {
  width: 49%;
  padding: 0 !important;
}

.ngg-galleryoverview .ngg-gallery-thumbnail {
  margin: 20px 0;
  width: 100%;
}

.ngg-galleryoverview .ngg-gallery-thumbnail img,
.ngg-albumoverview .ngg-album-compact img {
  width: 90%;
  margin: 0 auto;
  height: auto;
  background: transparent;
  padding: 0;
  border: 0 !important;
  box-shadow: 6px 6px rgba(67, 67, 67, .3);
}

.ngg-albumoverview .ngg-album-compact {
  margin: 20px 0 !important;
  position: relative;
}

.ngg-albumoverview .ngg-album-compact h4 {
  position: absolute;
  left: 8px;
  top: 20px;
  color: white;
  background-color: rgba(209, 61, 115, .8);
  z-index: 1;
  padding: 5px;
  font-weight: 500;
}

.ngg-albumoverview .ngg-album-compact h4 a {
  max-width: 100% !important;
  height: auto;
  padding: 0 10px;
}

.ngg-albumoverview .ngg-album-compact p {
  display: none;
}

.ngg-albumoverview .ngg-album-compactbox,
.ngg-albumoverview .ngg-album-compactbox:after,
.ngg-albumoverview .ngg-album-compactbox:before {
  border: 0;
}

.ngg-albumoverview .ngg-album-compact img {
  border-radius: 5px;
}

/*************************************************
 * NextGen gallery Certificates
 */

.ngg-galleryoverview.certificates .ngg-gallery-thumbnail {
  padding-top: 70px;
  background: url("img/rope.png") center top no-repeat;
}

/*************************************************
 * Calculator
 */

#calculator {
  padding: 60px 0 110px;
}
  #calculator h2 {
    text-align: center;
  }
  #calculator #order {
    margin-top: 50px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 0 2px rgba(66, 66, 66, .4);
    padding: 45px 55px;
  }
  #calculator #order .window,
  #calculator #order .door {
    width: 50%;
    float: left;
  }
  #calculator #order form:after {
    display: block;
    content: " ";
    width: 100%;
    clear: both;
  }
  #calculator #order h4 {
    display: block;
    float: left;
    font-size: 24px;
    font-weight: 500;
    padding-top: 0;
  }
  #calculator #order h4 strong {
    font-weight: 900;
  }
  #calculator #order p {
    font-size: 14px;
  }
  #calculator #order input[type="checkbox"],
  #calculator #order input[type="radio"] {
    display: none;
  }
  #calculator #order .window .type:after {
    display: block;
    content: " ";
    width: 100%;
    clear: both;
  }
  #calculator #order .window .type .title {
    width: 160px;
    float: left;
    padding: 0 50px 75px 0;
    background: url("img/order_arrow_1.png") right 20px bottom no-repeat;
  }
  #calculator #order .window .type .wpcf7-list-item {
    display: block;
    float: left;
    color: #d53c75;
    font-size: 16px;
    font-weight: 600;
    width: 105px;
    height: 80px;
    text-align: center;
    padding-top: 60px;
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(1) {
    background: url("img/order_window_1.png") center top no-repeat;
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(2) {
    background: url("img/order_window_2.png") center top no-repeat;
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(3) {
    background: url("img/order_window_3.png") center top no-repeat;
    margin: 20px;
    width: 120px;
    height: 40px;
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(4) {
    background: url("img/order_window_4.png") center top no-repeat;
    margin: 20px;
    height: 40px;
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(5) {
    background: url("img/order_window_5.png") center top no-repeat;
    margin: 20px;
    height: 40px;
  }
  #calculator #order .window .second .title {
    width: 170px;
    float: left;
    padding: 90px 120px 0 130px;
    text-align: right;
    background: url("img/order_arrow_2.png") right top no-repeat;
  }
  #calculator #order .window .second .title h4 {
    float: right;
  }
  #calculator #order .window .second .wpcf7-list-item {
    display: block;
    float: left;
    color: #d53c75;
    font-size: 16px;
    font-weight: 600;
    width: 105px;
    height: 20px;
    text-align: center;
    padding-top: 60px;
    margin: 20px;
  }
  #calculator #order .window .second .wpcf7-list-item:nth-child(1) {
    background: url("img/order_window_second_1.png") center top no-repeat;
  }
  #calculator #order .window .second .wpcf7-list-item:nth-child(2) {
    background: url("img/order_window_second_2.png") center top no-repeat;
  }
  #calculator #order .window .second .wpcf7-list-item:nth-child(3) {
    background: url("img/order_window_second_3.png") center top no-repeat;
    padding-top: 100px;
    margin-top: -20px;
  }
  #calculator #order .window .size {
    text-align: right;
    float: left;
  }
  #calculator #order .window .size .title {
    width: 150px;
    float: left;
    padding: 85px 210px 0 85px;
    text-align: left;
    background: url("img/order_arrow_3.png") left top no-repeat;
  }

  #calculator #order .door .type .title {
    width: 150px;
    float: right;
    padding: 0 0 80px 260px;
    text-align: left;
    background: url("img/order_arrow_4.png") right 170px top 20px no-repeat;
  }
  #calculator #order .door .door_type {
    display: block;
    float: right;
    width: 300px;
    height: 185px;
    padding-right: 135px;
    padding-top: 30px;
    margin-top: -40px;
    background: url("img/order_door_1.png") right 25px center no-repeat;
  }
  #calculator #order .door .door_type .wpcf7-list-item {
    display: block;
    float: right;
    width: 100%;
    text-align: right;
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
  }
  #calculator #order .door .door_type .wpcf7-list-item:after {
    display: inline-block;
    content: " ";
    height: 6px;
    width: 6px;
    margin-left: 6px;
    margin-bottom: 2px;
    background: white;
    border: 1px solid white;
    border-radius: 10px;
    box-shadow: 0 0 0 2px #d53c75;
  }
  #calculator #order .door .door_type .wpcf7-list-item.active:after {
    background: #d53c75;
  }
  #calculator #order .door .size {
    text-align: right;
    float: right;
  }
  #calculator #order .door .size .title {
    width: 150px;
    float: right;
    padding: 0 0 80px 260px;
    margin-top: 20px;
    text-align: left;
    background: url("img/order_arrow_4.png") right 170px top 20px no-repeat;
  }
  #calculator #order .door>.phone {
    margin: 50px 80px 20px;
    box-sizing: border-box;
  }
  #calculator #order .door .phone .title {
    color: #d53c75;
    width: 210px;
  }
  #calculator #order .door .phone input {
    font-size: 30px;
    padding: 8px 25px;
    color: #d53c75;
    border: 2px solid #d53c75;
    border-radius: 10px;
    width: 350px;
    box-sizing: border-box;
  }
  #calculator #order .door .phone input::-webkit-input-placeholder { color: #d53c75; }
  #calculator #order .door .phone input::-moz-placeholder     { color: #d53c75; } 
  #calculator #order .door .phone input:-moz-placeholder      { color: #d53c75; } 
  #calculator #order .door .phone input:-ms-input-placeholder { color: #d53c75; }
  #calculator #order .door input[type="submit"] {
    margin: 40px 0 0 140px;
  }

  #calculator .ui-slider {
    display: inline-block;
    width: 260px;
    height: 5px;
    border: 2px solid #3b3b3b;
    border-radius: 5px;
    margin: 10px 0;
  }
  #calculator .ui-slider .ui-slider-range {
    background: #3b3b3b;
    border-radius: 0;
  }
  #calculator .ui-slider .ui-slider-handle {
    width: 15px;
    height: 15px;
    border: 0;
    border-radius: 15px;
    background: #d13d73;
    cursor: pointer;
  }
  #calculator .slider-value {
    display: inline-block;
    border: 1px solid #3b3b3b;
    border-radius: 15px;
    height: 22px;
    overflow: hidden;
  }
  #calculator .slider-value span {
    display: inline-block;
    border-radius: 0 15px 15px 0;
    background-color: #3b3b3b;
    color: white;
    padding: 4px 10px;
    font-size: 14px;
    width: 95px;
    height: 14px;
    text-align: center;
  }
  #calculator .slider-value span i {
    font-style: italic;
  }
  #calculator .slider-value input,
  #calculator .slider-value .wpcf7-form-control-wrap {
    display: inline;
    width: 40px;
    border: 0;
    background: white;
    color: #d13d73;
    text-align: right;
    font-size: 18px;
    font-weight: 500;
    height: 14px;
  }
  #calculator .wpcf7-not-valid-tip {
    margin-top: 10px;
  }
  #calculator .wpcf7-response-output {
    color: #d53c75;
    border: 0;
    float: left;
  }
  #calculator .wpcf7-list-item,
  #calculator .wpcf7-list-item .wpcf7-list-item-label {
    cursor: pointer;
  }
  #calculator .window .type,
  #calculator .window .second,
  #calculator .window .size,
  #calculator .door .type,
  #calculator .door .size,
  #calculator .window .type.active .wpcf7-list-item,
  #calculator .window .second.active .wpcf7-list-item,
  #calculator .window .size.active .wpcf7-list-item,
  #calculator .door .type.active .wpcf7-list-item,
  #calculator .door .size.active .wpcf7-list-item {
    opacity: .5;
  }
  #calculator .window .type.active,
  #calculator .window .second.active,
  #calculator .window .size.active,
  #calculator .door .type.active,
  #calculator .door .size.active,
  #calculator .wpcf7-list-item:hover,
  #calculator .wpcf7-list-item.active {
    opacity: 1 !important;
  }

/*************************************************
 * Popup
 */

.popup {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(60, 60, 60, .4);
}
  .popup.show {
    display: block;
  }
  .popup .window {
    margin: 50px auto 0;
    position: relative;
    width: 650px;
    height: 475px;
    background-color: white;
    border-radius: 10px;
    text-align: right;
    padding: 20px 35px 20px 250px;
    box-sizing: border-box;
  }
  .popup .window img {
    position: absolute;
    bottom: 0;
    left: -100px;
  }
  #popup-measurement.popup .window img {
    left: -200px;
  }
  .popup .window h3 {
    font-size: 48px;
    font-weight: 600;
    color: #d13d73;
    width: 380px;
    display: inline-block;
  }
  .popup .window input[name="phone"] {
    height: 45px;
    width: 285px;
    border: 1px solid #c1c9d2;
    border-radius: 10px;
    color: #75899f;
    padding: 8px 15px;
    text-align: center;
    font-size: 30px;
    box-sizing: border-box;
  }
  .popup .window textarea {
    font-size: 14px;
    color: #75899f;
    padding: 8px 15px;
    border: 1px solid #eceff1;
    border-radius: 10px;
    margin: 15px 0;
  }
  .popup .window .label {
    float: left;
    font-size: 16px;
    font-weight: 300;
    color: #c1c9d2;
    width: 210px;
  }
  .popup .window input[type="submit"] {
    width: 140px;
    height: 35px;
    box-sizing: border-box;
    color: white;
    background: #d13d73;
    border: 0;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
  }
  .popup .window input[type="submit"]:hover {
    box-shadow: 3px 3px #7a7a7a;
  }
  .popup .wpcf7-not-valid-tip {
    color: #d13d73;
    font-size: 14px;
  }
  .popup .wpcf7-response-output {
    border: 0;
    margin: 0;
    padding: 0;
    color: #d13d73;
  }
  .popup .window .close {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background-color: white;
    color: #c1c9d2;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 22px;
    transform: rotate(45deg);
    cursor: pointer;
  }
  .popup .window .close:hover {
    color: #d13d73;
  }

/*************************************************
 * Contact form Submit Price
 */

#wpcf7-f134-p135-o1 {
  box-sizing: border-box;
}

#wpcf7-f134-p135-o1 label {
  display: block;
  padding: 10px 0;
}

#wpcf7-f134-p135-o1 label i {
  color: #d13d73;
  font-weight: 700;
}

#wpcf7-f134-p135-o1 label span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 4px;
}
#wpcf7-f134-p135-o1 label input,
#wpcf7-f134-p135-o1 label textarea {
  border: 1px solid #c1c9d2;
  border-radius: 4px;
  color: #75899f;
  padding: 4px 10px;
  font-size: 14px;
  max-width: 100%;
}

#wpcf7-f134-p135-o1 label input[type="file"] {
  border: none;
  padding: 0;
}

#wpcf7-f134-p135-o1 input[type="submit"] {
  width: 140px;
  height: 35px;
  box-sizing: border-box;
  color: white;
  background: #d13d73;
  border: 0;
  border-radius: 5px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}
#wpcf7-f134-p135-o1 input[type="submit"]:hover {
  box-shadow: 3px 3px #7a7a7a;
}

/*************************************************
 * Tablet horizontal
 */

@media screen and ( max-width: 1024px ) {
  /*************************************************
   * All
   */
  .wrapper {
    width: 768px;
  }
  /*************************************************
   * Header
   */
  #header .item {
    font-size: 12px;
  }
  #header .item.logo {
    margin-right: 0;
  }
  #header .item.logo span {
    left: 49px;
    font-size: 10.6px;
  }
  #header .item.time {
    font-size: 12px;
    margin-right: 0;
  }
  #header .item .button {
    font-size: 14px;
  }
  /*************************************************
   * Intro
   */
  #intro .intro-window {
    height: 420px;
  }
  #intro .intro-window img {
    width: 400px;
  }
  #intro .intro-window fieldset {
    font-size: 10px;
  }
  #intro .intro-window fieldset legend {
    font-size: 13px;
  }
  #intro .intro-window>.steklopaket {
    background: right bottom url("img/tab_window_steklopaket.png") no-repeat;
    width: 200px;
    height: 130px;
    left: 30px;
    top: 30px;
  }
  #intro .intro-window>.steklopaket a {
    width: 125px;
    height: 115px;
  }
  #intro .intro-window>.steklopaket fieldset {
    width: 100px;
  }
  #intro .intro-window>.otkosy {
    background: right bottom url("img/tab_window_otkosy.png") no-repeat;
    width: 180px;
    height: 115px;
    left: 15px;
    top: 210px;
  }
  #intro .intro-window>.otkosy a {
    width: 135px;
    height: 110px;
  }
  #intro .intro-window>.otkosy fieldset {
    width: 90px;
  }
  #intro .intro-window>.podokonnik {
    background: right top url("img/tab_window_podokonnik.png") no-repeat;
    width: 190px;
    height: 155px;
    left: 165px;
    top: 225px;
  }
  #intro .intro-window>.podokonnik a {
    width: 185px;
    height: 100px;
  }
  #intro .intro-window>.podokonnik fieldset {
    width: 100px;
  }
  #intro .intro-window>.otliv {
    background: left top url("img/tab_window_otliv.png") no-repeat;
    width: 160px;
    height: 175px;
    left: 430px;
    top: 205px;
  }
  #intro .intro-window>.otliv a {
    width: 150px;
    height: 100px;
  }
  #intro .intro-window>.otliv fieldset {
    width: 60px;
  }
  #intro .intro-window>.furnitura {
    background: left top url("img/tab_window_furnitura.png") no-repeat;
    width: 260px;
    height: 150px;
    left: 470px;
    top: 160px;
  }
  #intro .intro-window>.furnitura a {
    top: 20px;
    height: 125px;
    width: 145px;
  }
  #intro .intro-window>.furnitura fieldset {
    width: 85px;
  }
  #intro .intro-window>.ruchki {
    background: left bottom url("img/tab_window_ruchki.png") no-repeat;
    width: 260px;
    height: 120px;
    left: 475px;
    top: 40px;
  }
  #intro .intro-window>.ruchki a {
    width: 140px;
    height: 115px;
  }
  #intro .intro-window>.ruchki fieldset {
    width: 75px;
  }
  /*************************************************
   * Work Plan
   */
  #work-plan {
    padding-bottom: 0;
  }
  /*************************************************
   * Products
   */
  #related-products ul li {
    width: 150px;
  }
  /*************************************************
   * Calculator
   */
  #calculator #order .window .type .title {
    padding: 0 10px 75px 0;
    background-image: url("img/tab_order_arrow_1.png");
  }
  #calculator #order .window .type .wpcf7-list-item {
    font-size: 14px;
    width: 55px;
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(1) {
    background-image: url("img/tab_order_window_1.png");
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(2) {
    background-image: url("img/tab_order_window_2.png");
    width: 90px;
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(3) {
    background-image: url("img/tab_order_window_3.png");
    width: 100px;
    margin: 20px 10px;
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(4) {
    background-image: url("img/tab_order_window_4.png");
    width: 75px;
    margin: 20px 10px;
  }
  #calculator #order .window .type .wpcf7-list-item:nth-child(5) {
    background-image: url("img/tab_order_window_5.png");
    width: 75px;
    margin: 20px 10px;
  }
  #calculator #order .window .second .title {
    background-image: url("img/tab_order_arrow_2.png");
    padding: 35px 120px 0 40px;
  }
  #calculator #order .window .second .wpcf7-list-item {
    font-size: 14px;
    width: 100px;
    margin: 20px 4px;
  }
  #calculator #order .window .second .wpcf7-list-item:nth-child(1) {
    background-image: url("img/tab_order_window_second_1.png");
  }
  #calculator #order .window .second .wpcf7-list-item:nth-child(2) {
    background-image: url("img/tab_order_window_second_2.png");
  }
  #calculator #order .window .second .wpcf7-list-item:nth-child(3) {
    background-image: url("img/tab_order_window_second_3.png");
  }
  #calculator #order .window .size .title {
    background-image: url("img/tab_order_arrow_3.png");
    padding: 55px 95px 10px 85px;
  }
  #calculator #order .door .type .title {
    background-image: url("img/tab_order_arrow_4.png");
  }
  #calculator #order .door .door_type {
    background-image: url("img/tab_order_door_1.png");
  }
  #calculator #order .door .size .title {
    background-image: url("img/tab_order_arrow_4.png");
  }
  #calculator #order .door>.phone {
    margin: 50px 0 0 50px;
  }
  #calculator #order .door .phone input {
    font-size: 28px;
    width: 280px;
  }
  #calculator #order .door input[type="submit"] {
    margin: 40px 0 0 50px;
  }
  /*************************************************
   * Footer
   */
  #footer .item {
    padding: 60px 0 30px;
    height: 80px;
  }
  #footer .phones {
    font-size: 20px;
  }
  #infobar h2 {
    font-size: 36px;
  }
  #infobar .phone {
    font-size: 38px;
  }
}

/*************************************************
 * Mobile
 */

@media screen and ( max-width: 768px ) {
  /*************************************************
   * All
   */
  body {
    background-size: auto 50px;
  }
  h1 {
    font-size: 26px;
    padding: 10px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 26px;
  }
  .wrapper {
    width: 360px;
  }
  /*************************************************
   * Header
   */
  #header {
    padding-top: 10px;
    height: 70px;
    border-bottom: 2px solid #d13d73;
  }
  #header .item {
    width: 50%;
    height: 85px;
    padding: 0 10px;
    font-size: 11px;
  }
  #header .item img {
    margin-left: 5px;
  }
  #header .item.menu {
    display: block;
  }
  a#button-mob-menu {
    background: url("img/mob_menu.png") center center no-repeat;
    display: inline-block;
    width: 32px;
    height: 32px;
    float: right;
    margin-top: 20px;
    cursor: pointer;
  }
  a#button-mob-menu.active {
    background-image: url("img/mob_menu_active.png");
  }
  #header .item.logo span {
    left: 45px;
    font-size: 10px;
  }
  #header .item.time .call {
    display: block;
  }
  #header .item.address {
    display: none;
  }
  #header .item.time,
  #header .item.phones {
    display: none;
  }
  .front-page #header .item.time,
  .front-page #header .item.phones {
    display: block;
  }
  /*************************************************
   * Menu
   */
  #menu {
    max-height: 0;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 82px;
    left: 0;
    background-color: white;
    transition: all .2s;
    z-index: 10;
  }
  #menu.opened {
    max-height: 1000px;
    display: block;
  }
  #menu ul ul,
  #menu ul ul ul {
    display: block;
    position: relative;
    left: 0;
    top: 0;
    box-shadow: none;
  }
  #menu ul ul li {
    padding-right: 25px !important;
  }
  #menu ul li,
  #menu ul li:last-child {
    text-align: right;
    width: 100%;
    float: right;
    padding: 0;
    padding-right: 10px;
  }
  #menu ul li:hover a,
  #menu ul li:active a,
  #menu ul li.current-menu-item a {
    border-top-color: transparent;
  }
  /*************************************************
   * Intro
   */
  #intro {
    font-size: 14px;
    padding: 120px 0 50px;
  }
  #intro .intro-window {
    height: 250px;
  }
  #intro .intro-window>div {
    display: none;
  }
  #intro .intro-window img {
    width: 360px;
  }
  #intro p {
    color: inherit;
  }
  /*************************************************
   * Work Plan
   */
  #work-plan .wrapper {
    position: relative;
    height: 360px;
  }
  #work-plan li {
    position: absolute;
    background-size: auto 50px;
    padding-top: 60px;
    width: 70px;
    max-width: 70px;
  }
  #work-plan li::before {
    position: absolute;
    height: 18px;
    width: 18px;
    background: center center no-repeat;
  }
  #work-plan span {
    font-size: 14px;
    font-weight: 700;
  }
  #work-plan li:hover span,
  #work-plan li:active span {
    color: #d13d73;
  }
  #work-plan li p {
    position: absolute;
    display: block;
    width: 170px;
    height: 100px;
    color: inherit;
  }
  #work-plan .request {
    left: 50px;
    top: 270px;
  }
  #work-plan .request p {
    left: 50px;
    top: -100px;
  }
  #work-plan .measure {
    left: 10px;
    top: 160px;
  }
  #work-plan .measure p {
    left: 90px;
    top: 10px;
  }
  #work-plan .measure::before {
    background-image: url("img/mob_work_plan_arrow_1.png");
    top: 90px;
    left: 30px;
  }
  #work-plan .calculation {
    left: 90px;
    top: 60px;
  }
  #work-plan .calculation p {
    left: 10px;
    top: 110px;
  }
  #work-plan .calculation::before {
    background-image: url("img/mob_work_plan_arrow_2.png");
    top: 60px;
    left: -30px;
  }
  #work-plan .delivery {
    right: 90px;
    top: 60px;
  }
  #work-plan .delivery p {
    left: -100px;
    top: 110px;
  }
  #work-plan .delivery::before {
    background-image: url("img/mob_work_plan_arrow_3.png");
    top: 20px;
    left: -30px;
  }
  #work-plan .mounting {
    right: 10px;
    top: 160px;
  }
  #work-plan .mounting p {
    left: -180px;
    top: 10px;
  }
  #work-plan .mounting::before {
    background-image: url("img/mob_work_plan_arrow_4.png");
    top: -40px;
    left: 0px;
  }
  #work-plan .comfort {
    right: 50px;
    top: 270px;
  }
  #work-plan .comfort p {
    left: -140px;
    top: -100px;
  }
  #work-plan li:last-child::before {
    background-image: url("img/mob_work_plan_arrow_5.png");
    top: -20px;
    left: 60px;
  }
  /*************************************************
   * Products
   */
  #products {
    color: white;
    background: -moz-linear-gradient(45deg,  rgba(209,65,118,1) 0%, rgba(209,65,118,0.25) 100%);
    background: -webkit-linear-gradient(45deg,  rgba(209,65,118,1) 0%,rgba(209,65,118,0.25) 100%);
    background: linear-gradient(45deg,  rgba(209,65,118,1) 0%,rgba(209,65,118,0.25) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d14176', endColorstr='#40d14176',GradientType=1 );
  }
  #products p {
    color: white;
    font-size: 12px;
  }
  #window-classes {
    padding: 30px 0;
  }
  #window-classes li {
    text-align: center;
    width: 49%;
    box-sizing: border-box;
    padding: 10px 15px;
  }
  #window-classes a {
    color: white;
  }
  #window-classes a.active {
    border-color: white;
  }
  #window-classes-content ul {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
  }
  #window-classes-content ul.active {
    display: block;
  }
  #window-classes-content ul.active .slide-left,
  #window-classes-content ul.active .slide-right {
    position: absolute;
    display: block;
    content: ' ';
    width: 20px;
    height: 35px;
    background:  center center no-repeat;
    top: 45%;
    padding: 0;
  }
  #window-classes-content ul.active .slide-left {
    background-image: url("img/mob_slide_left.png");
    left: 15px;
  }
  #window-classes-content ul.active .slide-right {
    background-image: url("img/mob_slide_right.png");
    right: 15px;
  }
  #window-classes-content ul.active .slide-dot {
    display: block;
  }
  #window-classes-content ul li {
    display: inline-block;
    width: 100%;
    padding: 0 70px;
    max-width: 100%;
    opacity: 1;
    white-space: normal;
    transition: all .2s;
    box-sizing: border-box;
  }
  #window-classes-content ul li .button {
    opacity: 1;
    color: white;
    border-color: white;
    margin-top: 30px;
  }
  #window-classes-content h4 {
    color: #434443;
    background-color: white;
  }
  #window-classes-content .param {
    color: white;
  }
  #window-classes-content .param .scale {
    border-color: white;
  }
  #window-classes-content .param .scale::after {
    background-color: white;
  }
  #window-classes-content .param.temperature {
    background-image: url("img/mob_temperature.png");
  }
  #window-classes-content .param.durability {
    background-image: url("img/mob_durability.png");
  }
  #window-classes-content .param.economy {
    background-image: url("img/mob_economy.png");
  }
  #window-classes-content .param.quiet {
    background-image: url("img/mob_quiet.png");
  }
  /*************************************************
   * Related Products
   */
  #related-products ul li {
    width: 90px;
    font-size: 14px;
    line-height: 30px;
  }
  #related-products ul li img {
    max-width: 80%;
  }
  #related-products li a::before {
    width: 40px;
    height: 40px;
    background-size: contain;
    top: 35px;
    left: 25px;
  }
  /*************************************************
   * Discount
   */
  #discount .wrapper {
    position: relative;
    height: 200px;
  }
  #discount .wrapper .left {
    width: 35%;
    position: relative;
    background-size: contain;
    z-index: 1;
  }
  #discount .wrapper .center {
    background-size: contain;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
  #discount .wrapper .right {
    float: right;
  }
  #discount .wrapper .right p {
    font-size: 11px;
    padding: 35px 0 30px;
  }
  #discount .wrapper .right a {
    width: 100px;
    height: 44px;
    background-size: contain;
    margin-top: 30px;
  }
  #discount .wrapper .right img {
    width: 100%;
  }
  /*************************************************
   * Map
   */
  #map {
    height: 250px;
  }
  /*************************************************
   * Footer
   */
  #footer .item {
    width: 50%;
  }
  #footer .address,
  #footer .empty {
    display: none;
  }
  /*************************************************
   * Calculator
   */
  #calculator {
    /*display: none;*/
    background: rgb(221,158,164);
    background: -moz-linear-gradient(45deg,  rgb(221,158,164) 0%, rgb(218,100,143) 100%);
    background: -webkit-linear-gradient(45deg,  rgb(221,158,164) 0%,rgb(218,100,143) 100%);
    background: linear-gradient(45deg,  rgb(221,158,164) 0%,rgb(218,100,143) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dd9ea4', endColorstr='#da648f',GradientType=1 );
    color: white;
    padding: 30px 0;
  }
  #calculator #order {
    box-shadow: none;
    background: none;
    padding: 0 20px;
  }
  #calculator h2 {
    font-size: 24px;
  }
  #calculator #order .window,
  #calculator #order .door {
    width: 100%;
  }
  #calculator #order h4 {
    font-size: 20px;
    width: 100%;
  }
  #calculator #order p {
    font-size: 11px;
  }
  #calculator #order .window .type .title {
    width: 160px;
    background: url("img/mob_order_window.png") right top no-repeat;
    padding: 0 160px 10px 0;
    float: none;
  }
  #calculator #order .window .type .wpcf7-list-item,
  #calculator #order .window .second .wpcf7-list-item,
  #calculator #order .door .type .wpcf7-list-item {
    background: none !important;
    padding: 10px 0px !important;
    margin: 0 !important;
    color: white;
    display: block;
    float: none;
    height: auto !important;
    width: auto !important;
    text-align: left;
    font-weight: 500;
  }
  #calculator #order .window .type .wpcf7-list-item::before,
  #calculator #order .window .second .wpcf7-list-item::before,
  #calculator #order .door .type .wpcf7-list-item::before {
    display: inline-block;
    content: ' ';
    width: 8px;
    height: 8px;
    border: 2px solid white;
    border-radius: 8px;
    margin-right: 5px;
  }
  #calculator #order .window .type .wpcf7-list-item.active,
  #calculator #order .window .second .wpcf7-list-item.active,
  #calculator #order .door .second .wpcf7-list-item.active {
    opacity: 1;
  }
  #calculator #order .window .type .wpcf7-list-item.active::before,
  #calculator #order .window .second .wpcf7-list-item.active::before,
  #calculator #order .door .type .wpcf7-list-item.active::before {
    background-color: white;
  }
  #calculator #order .window .second .title {
    width: 160px;
    background: url("img/mob_order_otliv.png") right top no-repeat;
    margin-top: 30px;
    padding: 0 160px 10px 0;
    float: none;
    text-align: left;
  }
  #calculator #order .window .size .title {
    width: 160px;
    background: url("img/mob_order_ruler.png") right top no-repeat;
    margin-top: 30px;
    padding: 0 160px 10px 0;
    float: none;
  }
  #calculator .slider-value {
    border: 1px solid white;
    border-radius: 9px;
    margin: 12px 0;
  }
  #calculator .slider-value span {
    border: 0;
    border-radius: 7px;
    color: #71979b;
    background-color: white;
  }
  #calculator .slider-value input,
  #calculator .slider-value .wpcf7-form-control-wrap {
    background: transparent;
    color: white;
  }
  #calculator .slider-value input {
    height: 18px;
    padding: 0;
  }
  #calculator .ui-slider {
    width: 100%;
    border-color: white;
    background: transparent;
  }
  #calculator .ui-slider .ui-slider-range {
    background-color: white;
  }
  #calculator .ui-slider .ui-slider-handle {
    background-color: white;
  }
  #calculator #order .door .type .title {
    width: 160px;
    background: url("img/mob_order_door.png") right top no-repeat;
    margin-top: 30px;
    padding: 0 160px 30px 0;
    float: none;
  }
  #calculator #order .door .door_type {
    padding: 0;
    background: none;
    margin: 0;
    float: none;
    width: auto;
    height: auto;
  }
  #calculator #order .door .type .wpcf7-list-item::after {
    display: none;
  }
  #calculator #order .door .size {
    float: none;
  }
  #calculator #order .door .size .title {
    width: 160px;
    background: url("img/mob_order_ruler.png") right top no-repeat;
    margin-top: 30px;
    padding: 0 160px 30px 0;
    float: none;
  }
  #calculator #order .door>.phone {
    margin: 0;
    padding: 40px 0;
    text-align: center;
  }
  #calculator #order .door .phone .title {
    color: white;
    width: auto;
  }
  #calculator #order .door .phone input {
    border-color: white;
    color: white;
    background: transparent;
  }
  #calculator #order .door .phone input::-webkit-input-placeholder { color: white; }
  #calculator #order .door .phone input::-moz-placeholder     { color: white; } 
  #calculator #order .door .phone input:-moz-placeholder      { color: white; } 
  #calculator #order .door .phone input:-ms-input-placeholder { color: white; }
  #calculator #order .door input[type="submit"] {
    margin: 0 auto;
    padding: 5px 10px;
    display: block;
    background-color: white;
    color: #434443;
    text-align: center;
  }
  /*************************************************
   * Infobar
   */
  #infobar {
    font-size: 14px;
  }
  #infobar .wrapper {
    height: 100px;
  }
  #infobar h2 {
    font-size: 16px;
  }
  #infobar .phone {
    font-size: 18px;
  }
  /*************************************************
   * Posts
   */
  #page {
    font-size: 14px;
    padding: 20px 0 50px;
  }
  #page article {
    margin: 10px;
    background-color: white;
    border: 1px solid #c2cbcb;
    border-radius: 10px;
    overflow: hidden;
  }
  #page article .wp-post-image {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    height: auto;
  }
  #page.post .wp-post-image {
    border-radius: 0;
    width: 100%;
    height: auto;
    box-shadow: none;
  }
  #page article h4 {
    font-size: 18px;
    padding: 0 10px;
  }
  #page article p {
    padding: 10px;
    font-size: 14px;
    line-height: 20px;
  }
  #page p {
    padding: 0 10px;
  }
  #page .o-nas-nav {
    font-size: 14px;
  }
  #page .o-nas-nav li {
    min-width: 90px;
  }

  .ngg-galleryoverview .ngg-gallery-thumbnail-box,
  .ngg-albumoverview .ngg-album-compact {
    width: 100%;
  }
/*
  .ngg-album-compactbox {
    padding: 0 !important;
  }
  .ngg-galleryoverview .ngg-gallery-thumbnail img,
  .ngg-albumoverview .ngg-album-compact img {
    width: 100%;
    height: auto;
    box-shadow: none;
    border-radius: 0;
  }
  .ngg-albumoverview .ngg-album-compact h4 {
    margin: 0;
    left: 0;
    top: 0;
    background-color: rgb(209, 61, 115);
    width: 100%;
  }
  */
  /*************************************************
   * Popup
   */
  #popup .window {
    width: 90%;
    height: 270px;
    padding: 10px;
    margin-top: 80px;
  }
  #popup .window img {
    width: 100px;
    top: -50px;
    left: 10px;
  }
  #popup .window h3 {
    font-size: 20px;
    width: 170px;
  }
  #popup .window input[name="phone"] {
    height: 25px;
    width: 145px;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
  }
  #popup .window textarea {
    padding: 0;
    border-radius: 5px;
    width: 100%;
    height: 100px;
  }
  #popup .window .label {
    width: 150px;
    font-size: 12px;
  }
  #popup .window input[type="submit"] {
    font-size: 14px;
    width: 130px;
    height: 30px;
  }
}