/* ==========  Non-Mobile First Method  ========== */

/* Large Devices, Wide Screens */

@media only screen and (min-width : 1023px) {
  .map-container {width: 650px;}
}

@media only screen and (max-width : 1023px) {
  .has-tooltip {
    background: url('../img/header-icon2.png') 0 0 / 100% no-repeat !important;
  }
  .worktime span, .metering a, .location a, .calculator a {
  	text-indent: -9999px;
  	padding: 0;
  	width: 22px;
  	height: 22px;
  }
  .worktime span {
  	cursor: pointer;
  }
  .metering a:after, .location a:after, .calculator a:after {
  	display: none;
  }
  .map-container {width: 550px;}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
  .product-price.gutter-30 .column {width: 100%;}
  .product-price.gutter-30 .column.first {margin-bottom: 10px;}
  .properties tr td {display: block; text-align: left !important;}
  .properties tr td:first-child {padding: 10px 0 5px 10px;}
  .properties tr td:last-child {padding: 0 0 10px 10px;}
  .menu-row li a {font-size: 13px; letter-spacing: 0;}
  .footer-bottom .inner-flex {display: block;}
  .footer-bottom .text {text-align: center; margin-bottom: 15px;}
  .footer-bottom a {display: inline-block; margin: 0 15px;}
  .four-columns .column {
    width: 50%;
  }
  .profile-type-label {font-size: 15px;}
  .profile-type-label i {margin-right: 14px;}
}

@media only screen and (max-width : 589px) {
  .four-columns .column {
    width: 100%;
  }
  .warm-properties .column.second, .two-columns.product-price .column.second {padding-left: 0 !important;}
  .products-list .product.last a {background: url(../img/window-big.png) center 40px no-repeat; padding: 190px 0 0 0;}
  .two-columns .column {width: 100%;}
  .trigger .form-group-first {padding-bottom: 0;}
  .trigger .form-group-second {padding-top: 0;}
  .trigger .trigger-title {font-size: 20px;}
  .trigger .attention, .trigger .text {font-size: 14px;}
  .trigger-inner {padding: 33px 20px 18px 20px;}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
  .group-counter .col h3.news-title { font-size: 29px; }
  .special-offers .group-offer .item-offer {width: 100%;}
  .group-colors h2, .upsells h2, h2.group-title {padding-top: 1.3em; font-size: 1.2em}
  .page-title-section {font-size: 27px; line-height: 1.1; padding-top: 15px; padding-bottom: 18px;}
  .top-row .inner-flex {
    justify-content: left;
  }
  .about-company, .worktime, .metering, .location, .calculator {
  	display: none;
  }
  .phone {
  	padding: 0 0 0 65px;
  }
  .menu-row {display: none;}
  .slider-row .owl-dots .owl-dot {
    padding: 10px 0;
  }
  .slider-row .owl-dots .owl-dot span {
    width: 40px;
    height: 40px;
    background-size: 40px !important;
  }
  .slider-row .owl-dots .owl-dot.item4 {
    right: auto;
    top: auto;
    margin-top: 0;
    position: relative;
  }
  .slider-row .owl-dots .owl-dot .active-state {
    width: 280px;
    height: 60px;
    padding-right: 0;
  }
  .slider-row .owl-dots .owl-dot .active-state p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
  }
  .slider-row .owl-dots .owl-dot .active-state a {
    font-size: 9px;
    line-height: 1.5;
  }
  .slider-row .owl-dots .owl-dot.active .active-state .ico {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    background-size: 40px !important;
  }
  .skidka {padding-bottom: 30px; height: auto; background-size: cover;}
  .skidka .subcontainer {width: 100%;}
  .skidka input {width: 100%; max-width: 362px; float: none; display: inline-block;}
  .skidka input.submit {margin: 10px 0 0 0;}
  .skidka .title {padding: 28px 0 23px;}
  .skidka-before-text {
    font-size: 19px;
    margin-bottom: 6px;
    letter-spacing: 0px;
  }
  .skidka .title {
    padding: 27px 0 16px;
    font-size: 16px;
    letter-spacing: 0;
  }
  .footer-accordions {
    padding-left: 0;
  }
  .footer-top .container-1200 .footer-contacts {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto 35px auto;
  }
  .hamburger-menu {
    max-width: 280px;
  }
  div.slashc-sliding-menu,
  div.slashc-sliding-menu h1,
  div.slashc-sliding-menu ul,
  div.slashc-sliding-menu li,
  div.slashc-sliding-menu li a,
  div.slashc-sliding-menu li span,
  div.slashc-sliding-menu  {
    width: 240px;
  }
  .section-title {
    font-size: 26px;
  }
  .section-subtitle {
    font-size: 16px;
  }
  .map-container {width: 450px;}
  .profile-type-label {font-size: 13px; padding: 0 10px;}
  .profile-type-label i {margin-right: 11px;}
  .profile-type-desc {font-size: 13px;}
  .trigger-text-input {font-size: 18px;}
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 479px) {
  .group-portfolio .field-image img {
    height: 200px;
  }
  .section-nestandart .bg {width: 100%;}
  .page-title-section {
    font-size: 21px;
    padding-bottom: 15px ;
  }
  .phone {
  	display: none;
  }
  .skidka input {
    letter-spacing: 0;
  }
  .footer-bottom .text br {display: none;}
  .footer-accordions .accordion {font-size: 16px;}
  .footer-bottom a {margin: 0 2px;}
  .map-container {width: 250px;}
  .anchor-wrapper .anchor a {font-size: 15px; margin: 0 10px;}
}

/* Custom, iPhone Retina */ 

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}



@media only screen and (max-width : 1199px) {
  .group-portfolio .item {width: 50%;}
}

@media only screen and (max-width : 991px) {
  .review_rating .rating .rating-stars {
    font-size: 22px;
    padding:5px 0;
  }
  .review_rating img {
    flex: 0 0 100%;
    max-width: 50%;
    margin-top: 15px;
}
  .group-portfolio .item {width: 100%;}
  .section-service-uslugi .three-columns .column {width: 100%;}
}


@media screen and (max-width: 1199px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .calc_nav li a {
    width: 125px;
    height: 125px;
  }

  .aside {
    float: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .aside .photo_block {
    height: 210px;
  }

  .aside .photo_block img {
    width: auto;
    max-height: 140px;
  }

  .aside .param {
    margin-top: 0px;
  }

  .aside .bottom_block {
    display: none;
  }

  .main {
    width: 100%;
    float: none;
  }

  .main .stvorka + .stvorka {
    margin-left: 70px;
  }
}


@media screen and (max-width: 1023px) {
  .calc_content .buttons a {
    text-indent: initial;
    height: auto;
  }
}


@media screen and (max-width: 991px) {
  .calc_nav {
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .calc_nav li {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
  }

  .aside {
    flex-wrap: wrap;
  }

  .aside_selects {
    flex-basis: 100%;
  }

  .main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .main:before {
    display: none;
  }

  .main .stvorka,
  .main .stvorka + .stvorka,
  .main .stvorka.center + .stvorka {
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .window_shema {
    width: 100%;
    padding: 102px 10px 39px 100px;
  }

  .window_shema.bottom {
    padding: 39px 10px 102px 100px;
  }

  .window_inner {
    padding: 11px 8px;
  }

  .window {
    width: 160px;
    padding: 11px;
  }

  .window_double {
    width: 326px;
  }

  .window_triple {
    width: 492px;
  }

  .window_small {
    height: 112px;
  }

  .window_big {
    height: 265px;
  }

  .net .check {
    width: 34px;
    height: 34px;
    top: 13px;
    margin-left: -17px;
    background-size: 24px;
  }

  .window_net .net .check {
    background-size: 24px;
  }

  .window_top {
    margin-bottom: -14px;
  }

  .metrika_inner input {
    height: 27px;
    font-size: 15px;
  }

  .type_small {
    display: none;
  }

  .calc_content .select_wrapper {
    margin-left: auto;
    margin-right: auto;
  }

  .commons {
    width: 100%;
  }

  .commons_wrapper .select_wrapper,
  .commons_wrapper select {
    width: 230px;
  }

  .commons_wrapper .select_wrapper {
    margin-left: 0;
    margin-right: 0;
  }

  .calc_content .buttons a {
    width: 200px;
    font-size: 16px;
    padding: 10px;
  }

  .calc_content .buttons .amount p {
    font-size: 26px;
    letter-spacing: 1.5px;
  }

  .calc_content .buttons .amount span {
    width: 16px;
    height: 18px;
  }

  .callback {
    width: 290px;
  }

  .callback input {
    font-size: 20px;
    padding: 8px 24px;
    letter-spacing: 1.4px;
  }

  .callback button {
    font-size: 15px;
    padding: 11px;
    letter-spacing: 1.8px;
  }
}


@media screen and (max-width: 767px) {
  .prototypes-header-columns .price-table, .prototypes-header-columns .image {
    display: block;
  }
  .prototypes-header-columns div.price-table {
    width: 100%;
  }
  .category-image {
    height: auto;
  }
  .prototypes-header-columns h2 {
    text-align: center;
  }
  .prototypes-header-columns .single-description.with-table .table td {
    font-size: 16px;
  }
  .container {
    width: 530px;
  }

  .calculator {
    display: block;
  }

  .calc_nav li a {
    width: 100px;
    height: 100px;
  }

  .aside .photo_block,
  .aside .param,
  .calc_content .select_wrapper,
  .calc_content select {
    width: 240px;
  }

  .window_shema {
    padding: 70px 5px 30px 72px;
  }

  .window_shema.bottom {
    padding: 30px 5px 90px 72px;
  }

  .window_inner {
    padding: 8px 6px;
  }

  .window {
    width: 120px;
    padding: 8px;
  }

  .window_double {
    width: 244px;
  }

  .window_triple {
    width: 368px;
  }

  .window_small {
    height: 84px;
  }

  .window_big {
    height: 198px;
  }

  .net .check {
    width: 24px;
    height: 24px;
    top: 10px;
    margin-left: -12px;
    background-size: 18px;
  }

  .window_net .net .check {
    background-size: 18px;
  }

  .window_top {
    margin-bottom: -12px;
  }

  .window_row {
    margin-left: -8px;
  }

  .flap .handle_right {
    width: 21px;
    height: 24px;
    left: -8px;
    margin-top: -12px;
  }

  .flap .hinge_left {
    width: 8px;
    height: 32px;
    right: -6px;
  }

  .hinge_left.top {
    top: 34px;
  }

  .hinge_left.bottom {
    bottom: 34px;
  }

  .flap .handle_up {
    width: 24px;
    height: 21px;
    top: -8px;
    margin-left: -12px;
  }

  .flap .hinge_bottom {
    width: 32px;
    height: 8px;
    bottom: -6px;
  }

  .hinge_bottom.left {
    left: 34px;
  }

  .hinge_bottom.right {
    right: 34px;
  }

  .metrika_vertical {
    left: -20px;
  }

  .metrika_vertical .metrika_inner {
    left: -55px;
  }

  .metrika_inner .sm {
    font-size: 14px;
    padding-bottom: 0;
    padding-top: 0;
  }

  .metrika_horizontal {
    top: -20px;
  }

  .metrika_horizontal .metrika_inner {
    top: -55px;
  }

  .metrika_horizontal.bottom {
    bottom: -20px;
  }

  .metrika_horizontal.bottom .metrika_inner {
    bottom: -50px;
  }

  .commons_wrapper {
    flex-wrap: wrap;
  }

  .calc_content .buttons {
    flex-wrap: wrap;
  }

  .calc_content .buttons .amount {
    order: 1;
    flex-basis: 100%;
  }

  .calc_content .buttons a {
    order: 2;
    margin-top: 20px;
  }

  .product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .product:before {
    display: none;
  }

  .cart .text {
    width: 100%;
    order: 3;
  }

  .cart .amount_block {
    order: 2;
  }

  .add_window {
    height: 110px;
  }

  .add_window p {
    font-size: 20px;
    padding-left: 35px;
  }

  .add_window p:before {
    font-size: 30px;
    top: -6px;
  }
}


@media screen and (max-width: 550px) {
  .container {
    width: 320px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .calc_nav li a {
    width: 80px;
    height: 80px;
  }

  .aside {
    justify-content: center;
  }

  .aside .param {
    margin-top: 25px;
  }

  .main {
    justify-content: center;
  }

  .calc_content select {
    font-size: 14px;
  }

  .calc_content h3,
  .calc_content label {
    font-size: 13px;
  }

  .window_shema {
    padding: 70px 0px 30px 55px;
  }

  .window_shema.bottom {
    padding: 30px 0px 90px 55px;
  }

  .window_inner {
    padding: 5px 4px;
  }

  .window {
    width: 80px;
    padding: 5px;
  }

  .window_double {
    width: 163px;
  }

  .window_triple {
    width: 246px;
  }

  .window_small {
    height: 56px;
  }

  .window_big {
    height: 132px;
  }

  .net .check {
    width: 16px;
    height: 16px;
    top: 6px;
    margin-left: -6px;
    background-size: 12px;
  }

  .window_net .net .check {
    background-size: 12px;
  }

  .window_top {
    margin-bottom: -7px;
  }

  .window_row {
    margin-left: -5px;
  }

  .flap .handle_right {
    width: 14px;
    height: 16px;
    left: -5px;
    margin-top: -8px;
  }

  .flap .hinge_left {
    width: 5px;
    height: 21px;
    right: -4px;
  }

  .hinge_left.top {
    top: 22px;
  }

  .hinge_left.bottom {
    bottom: 22px;
  }

  .flap .handle_up {
    width: 16px;
    height: 14px;
    top: -5px;
    margin-left: -8px;
  }

  .flap .hinge_bottom {
    width: 21px;
    height: 5px;
    bottom: -4px;
  }

  .hinge_bottom.left {
    left: 22px;
  }

  .hinge_bottom.right {
    right: 22px;
  }

  .metrika_vertical {
    left: -15px;
  }

  .metrika_vertical .metrika_inner {
    left: -45px;
    margin-top: -20px;
  }

  .metrika_inner input {
    width: 40px;
    height: 25px;
    font-size: 13px;
  }

  .metrika_horizontal {
    top: -15px;
  }

  .metrika_horizontal .metrika_inner {
    top: -45px;
    margin-left: -20px;
  }

  .metrika_horizontal.bottom {
    bottom: -15px;
  }

  .metrika_horizontal.bottom .metrika_inner {
    bottom: -45px;
  }

  .commons_wrapper {
    justify-content: center;
  }

  .calc_content .buttons {
    justify-content: center;
  }

  .product {
    justify-content: center;
    padding-top: 20px;
  }

  .cart .text {
    padding: 16px 15px 24px;
    text-align: justify;
  }

  .add_window {
    height: 100px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .add_window p {
    font-size: 18px;
    letter-spacing: 1px;
    padding-left: 30px;
  }

  .add_window p:before {
    font-size: 26px;
    top: -4px;
  }

  .callback {
    width: 250px;
  }

  .callback input {
    font-size: 16px;
    padding: 6px 15px;
  }

  .callback button {
    font-size: 14px;
    padding: 8px;
    letter-spacing: 0.8px;
  }
}


/****************************/
/*  НОВЫЕ MOBILE СТИЛИ!!!  */
/**************************/
@media screen and (max-width: 991px) {
  .door_bottom {
    height: 112px;
  }

  .window_door .window_big .metrika_vertical {
    top: -12px;
  }

  .window_door .door_bottom .metrika_vertical {
    bottom: -12px;
  }
}


@media screen and (max-width: 767px) {
  .window_door .hinge_right {
    width: 8px;
    height: 32px;
    left: -3px;
  }

  .window_door .hinge_right.top {
    top: 43px;
  }

  .window_door .hinge_right.bottom {
    bottom: 43px;
  }

  .window_door .handle_right {
    width: 21px;
    height: 24px;
  }

  .door_bottom {
    height: 84px;
    margin-top: 8px;
  }

  .window_door .window_big .metrika_vertical {
    top: -9px;
  }

  .window_door .door_bottom .metrika_vertical {
    bottom: -9px;
  }

  .window_door .metrika_vertical {
    left: -30px;
  }

  .metrika_vertical.right_side {
    right: -20px;
  }

  .metrika_vertical.right_side .metrika_inner {
    right: -55px;
  }
}


@media screen and (max-width: 550px) {
  .main_banner {
    padding:20px 0;
  }
  .main_banner_child h1 {
    font-size: 26px;
  }
  .subtitle-section .grid {
    grid-template-columns: 1fr;
  }
  .review_rating img {
    flex: 0 0 25%;
    max-width: 25%;
    margin:0 0 0 20px;
  }
  .review_rating {
    padding:0;
  }
  .main_banner_child p {
    font-size: 14px;
  }
  .main_banner_child p br {
    display: none;
  }
  .main_wrap ul li {
    font-size: 14px;
  }
  .main_wrap ul li img {
    width: 35px;
  }
  .window_shema.right_side {
    padding: 70px 5px 30px;
  }

  .window_door .hinge_right {
    width: 5px;
    height: 21px;
    left: -1px;
  }

  .window_door .hinge_right.top {
    top: 28px;
  }

  .window_door .hinge_right.bottom {
    bottom: 28px;
  }

  .window_door .handle_right {
    width: 14px;
    height: 16px;
  }

  .window_door .window_big .metrika_vertical {
    top: -4px;
  }

  .window_door .door_bottom .metrika_vertical {
    bottom: -5px;
  }

  .door_bottom {
    height: 56px;
    margin-top: 5px;
  }

  .metrika_vertical.right_side {
    right: -13px;
  }

  .metrika_vertical.right_side .metrika_inner {
    right: -44px;
  }

  .window_door .metrika_vertical {
    left: -20px;
  }
}
/****************************/
/*  НОВЫЕ MOBILE СТИЛИ!!!  */
/**************************/

@media screen and (max-width: 375px) {
  .forma-right .title-block {
    font-size: 18px;
  }
  .forma-right .pod-title {
    font-size: 12px;
  }
  .trigger .columns-row input {
    font-size: 14px;
  }
  .forma-right input {
    font-size: 14px;
  }
}