﻿/*
Theme Name: Teploinvest 2020
Theme URI: http://teploinvest.kg
Description: Обновленная тема для официального сайта компании Теплоинвест 2020
Version: 3.0.0
Author: Kashirin Valery
Author URI: http://goose.kg
License: Author license
License URI: http://goose.kg
Tags: teploinvest2020
-------------------------------------------------------------- */
body, html {
	font-family: Bosch Sans;
}

a {
    color: #424242;
}

a:hover {
    color: #424242;
    cursor: pointer;
}

.contacts a {
    color: #007bff;
    text-decoration: underline;
}

.contacts a:hover {
    text-decoration: none;
}

header {
	margin: 20px 60px 10px;
	display: flex;
	align-items: center;
}

header .logo img {
	width: 300px;
}

header .header-text {
	color: #c4161c;
	font-weight: 500;
	font-size: 1.1rem;
}

header .head-phones a {
	color: #325082;
}

nav {
    display: flex;
}

nav .menu {
    display: flex;
    margin: 0 auto;
}

nav .menu a {
    padding: 12px 20px;
    color: #325082;
    font-size: 1.2rem;
    font-weight: bold;
}

nav .menu a:hover {
    background: #dde8f0;
}

.modal-mob .modal-dialog {
    margin: 0;
    max-width: 100% !important;
}

.modal-mob .modal-body {
    padding: 0;
}

.modal-mob .modal-content {
    border: none;
    border-radius: 0;
}

.modal-mob .pro {
    margin-top: 15px;
}

.modal-mob .contitle {
    font-weight: bold;
    color: #325082;
}

.modal-mob .price-tit-link {
    margin: 8px 0;
    font-size: 0.9rem;
}

.modal-mob .price-links a {
    padding: 5px 0 5px 0;
    font-size: 0.8rem;
    color: #424242;
}

.modal-mob .price-links a i {
    padding-right: 3px;
}

.modal-mob .price-links a.glav {
    padding: 5px 0 15px 0;
    font-weight: bold;
}


.navbar-light .navbar-nav .nav-link {
    color: #424242;
}

.swiper-button-next, .swiper-button-prev {
    background: #dde8f0;
    padding: 7px 10px;
    width: auto;
    height: auto;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    margin-top: -12px;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: #fff;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 15px;
    color: #325082;
}

.swiper-slide {
    width: 85%;
}

.swiper-container {
    margin-top: 10px;
}

@media screen and (min-width: 1024px) {
    .swiper-slide {
            width: 30%;
        }
        
    .swiper-button-next, .swiper-button-prev {
        padding: 10px 16px;
    }
    
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 25px;
    }
    
    .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
        left: 35px;
    }
    
    .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
        right: 35px;
    }
}

.main_present .block {
  width: 100%;
  margin: auto;
  overflow: hidden;
  background-repeat: none;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_present .block:before {
  content: "";
  padding-top: 100%;
  float: left;
}

.main_present .block .info {
    margin: 0 70px;
}

.main_present .block h2 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.main_present .block p {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
}

.main_present .block ul li {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
}

.main_present .block .blocker {
    width: 80%;
    margin: 0 auto;
}

.main_present .block .blocker h2 {
    font-size: 1.7rem;
    color: #c4161c;
    font-weight: bold;
    text-align: center;
}

.main_present .block .blocker img.main,
.main_present .block .blocker img.after {
    width: 100%;
}

.main_present .block .blocker .seconds {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 30px 0;
}

.main_present .block .blocker .seconds img {
    width: 45%;
    height: auto;
}

.main_present .block.o-nas-1 h2 {font-size: 5.5rem;}
.main_present .block.o-nas-1 p {font-size: 1.5rem;}

.main_present .block.o-nas-2 {justify-content: center;align-items: flex-start;}
.main_present .block.o-nas-2 .info {margin: 70px 70px 0;}
.main_present .block.o-nas-2 p {color: #000;}

.main_present .o-nas-1 {background-image: url("../../../uploads/main_present/01-o-nas-1.jpg");}
.main_present .o-nas-2 {background-image: url("../../../uploads/main_present/01-o-nas-2.jpg");}
.main_present .nashi-preimushchestva-1 {background-image: url("../../../uploads/main_present/02-nashi-preimushchestva-1.jpg");}
.main_present .nashi-preimushchestva-2 {background-image: url("../../../uploads/main_present/02-nashi-preimushchestva-2.jpg");}
.main_present .komplektaciya-obektov-1 {background-image: url("../../../uploads/main_present/03-komplektaciya-obektov-1.jpg");}
.main_present .komplektaciya-obektov-2 {background-image: url("../../../uploads/main_present/03-komplektaciya-obektov-2.jpg");}
.main_present .teplovye-punkty-1 {background-image: url("../../../uploads/main_present/04-teplovye-punkty-1.jpg");}
.main_present .teplovye-punkty-2 {background: #dde8f0;}
.main_present .nasosnye-stancii-1 {background-image: url("../../../uploads/main_present/05-nasosnye-stancii-1.jpg");}
.main_present .nasosnye-stancii-2 {background: #dde8f0;}
.main_present .pokvartir-otop-1 {background-image: url("../../../uploads/main_present/06-pokvartirnoe-otoplenie-1.jpg");}
.main_present .pokvartir-otop-2 {background: #dde8f0;}
.main_present .kotly-i-kotelnye-1 {background-image: url("../../../uploads/main_present/07-kotly-i-kotelnye-1.jpg");}
.main_present .kotly-i-kotelnye-2 {background: #dde8f0;}


.main_present .pokvartir-otop-1 .info {
    margin: 0 70px 0 290px;
}

@media (max-width: 1024px) {
    
    .main_present .block h2 {
        font-size: 10vw;
    }
    
    .main_present .block .blocker h2 {
        font-size: 7vw;
    }
    
    .main_present .block p {
        font-size: 4vw;
    }
    
    .main_present .block .blocker {
        margin: 25px auto;
    }
    
    .main_present .block .info {
        margin: 0 20px;
    }
    
    .main_present .block.pokvartir-otop-1 .info {margin: 0 15px 0 30vw;}
    .main_present .block.pokvartir-otop-1 h2 {font-size: 7.8vw; margin-bottom: 15px;}
    .main_present .block.pokvartir-otop-1 p {font-size: 2.9vw; margin-bottom: 8px;}
    
    .main_present .block.o-nas-1 h2 {font-size: 17vw;}
    .main_present .block.o-nas-1 p {font-size: 4.5vw;}
    
    .main_present .block.o-nas-2 .info {margin: 15px 20px 0;}
    
    .main_present .komplektaciya-obektov-1 {order: 1;}
    .main_present .komplektaciya-obektov-2 {order: 2;}
    .main_present .teplovye-punkty-1 {order: 3;}
    .main_present .teplovye-punkty-2 {order: 4;}
    .main_present .nasosnye-stancii-1 {order: 5;}
    .main_present .nasosnye-stancii-2 {order: 6;}
    .main_present .pokvartir-otop-1 {order: 7;}
    .main_present .pokvartir-otop-2 {order: 8;}
    .main_present .kotly-i-kotelnye-1 {order: 9;}
    .main_present .kotly-i-kotelnye-2 {order: 10;}
    .main_present .kotly-i-kotelnye-2 {order: 11;}
    .main_present .o-nas-1 {order: 13;}
    .main_present .o-nas-2 {order: 14;}
    .main_present .nashi-preimushchestva-1 {order: 15;}
    .main_present .nashi-preimushchestva-2 {order: 16;}
}

.categoryes-menu h2 {
    font-weight: bold;
    color: #325082;
    font-size: 2rem;
}

.categoryes-menu {
    padding: 30px;
    background-color: #dde8f0;
    margin-top: 2rem;
}

.categoryes-menu.inmen {
    margin-top: 0;
}

.prices {
    padding: 30px;
    background-color: #dde8f0;
}

.prices h2 {
    color: #325082;
    font-size: 3rem;
    margin-bottom: 30px;
}

.prices a {
    color: #325082;
    text-decoration: none;
}

.prices a span {
    text-decoration: underline;
}

.prices a:hover span {
    text-decoration: none;
}

.prices .contitle {
    font-size: 1.5rem;
    font-weight: bold;
}

.prices .contitle i {
    padding-right: 10px;
    color: #c4161c;
}

.prices .price-tit-link {
    padding: 5px 0;
}

.prices .price-tit-link a {
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}

.prices .price-tit-link a span {
    text-decoration: none;
}

.prices .price-tit-link a:hover span {
    text-decoration: underline;
}

.prices .price-tit-link a i {
    padding-right: 8px;
    color: #c4161c;
}

.price-links {
    display: flex;
    flex-direction: column;
}

.price-links a {
    font-size: 1.2rem;
    padding: 3px 0 3px 50px;
    font-weight: 500;
}

.price-links a.glav {
    padding: 3px 0 15px 50px;
}

.price-links a i {
    padding-right: 8px;
    color: #c4161c;
}


.block {
  width: 350px;
  margin: 5px ;
}
.qv {
  width: 100%;
  margin: auto;
  background: silver;
  overflow: hidden;
}

.qv:before {
  content: "";
  padding-top: 100%;
  float: left;
}

.tile {
    z-index: 25;
}

.categmodal .close {
    font-size: 2rem;
}

.categmodal .modal-body {
    display: flex;
    flex-direction: column;
}

.categmodal .modal-header {
    border-bottom: none;
}

.categmodal .modal-header h5 a {
    color: #325082;
    font-size: 1.5rem;
}

.categmodal .categ-bl {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.categmodal .categ-bl .image {
    width: 120px;
    height: 80px;
    min-width: 120px;
    background-size: cover;
    background-repeat: no-repeat;
}

.categmodal .categ-bl .text {
    padding-top: 10px;
    padding-left: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.categs .tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background-color: #fff;
    background-image: url(/uploads/files/noimage.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.categs .tile-content .title,
.categs .tile-content .woocommerce-loop-category__title {
    margin-top: auto;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #434242;
    padding: 0 10px;
}

.categs .tile-content.kotly .title,
.categs .tile-content.radiatory .title,
.categs .tile-content.kotlyikot .title,
.categs .tile-content.teplopunkty .title,
.categs .tile-content.dymohod .title {
    color: #ffed00;
    font-size: 19pt;
}

.categs .tile-content.kotly {
    background: url("/uploads/iconsnav/bytovoe-oborudovanie/kotly-i-komplektuyushchie.jpg") no-repeat;
    background-size: 100% 100%;
}

.categs .tile-content.radiatory {
    background: url("/uploads/iconsnav/bytovoe-oborudovanie/radiatory-otopleniya.jpg") no-repeat;
    background-size: 100% 100%;
}

.categs .tile-content.kotlyikot {
    background: url("/uploads/iconsnav/promyshlennoe-oborudovanie/kotly-i-kotelnye.jpg") no-repeat;
    background-size: 100% 100%;
}

.categs .tile-content.teplopunkty {
    background: url("/uploads/iconsnav/promyshlennoe-oborudovanie/individualnye-teplovye-punkty.jpg") no-repeat;
    background-size: 100% 100%;
}

.categs .tile-content.dymohod {
    background: url("/uploads/iconsnav/promyshlennoe-oborudovanie/dymohody-dlya-kotelnyh-i-pokvartirnogo-otopleniya.jpg") no-repeat;
    background-size: 100% 100%;
}


/* Партнёры на главной */

.main_partners {
    margin: 20px 0;
}

.partnercol {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px;
}

img.partner-img {
    max-width: 105px;
    max-height: 100px;
}

/* Меню категорий слева */
.lmenu-wrap {
    display: flex;
    flex-direction: column;
}
.lmenu-wrap.reverse {flex-direction: column-reverse;}

.lmenu-btn {
    color: #325082;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: 10px 20px;
    background: #dde8f0;
    cursor: pointer;
}

.lmenu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: space-between;
}

.lmenu a {
    display: flex;
    text-decoration: none;
}

.lmenu .lm-item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
    padding: 0 20px;
    position: relative;
}

.lmenu .lm-item:hover .ul-menu {
    display: block;
}

.lmenu .lm-item a.firt {
    display: flex;
    width: 100%;
    align-items: center;
}

.lmenu .lm-item .image {
    width: 70px;
}

.lmenu .lm-item .image img {
    width: 100%;
    height: 100%;
}

.lmenu .lm-item .title {
    flex: 1 1 0px;
    font-weight: bold;
    margin-left: 20px;
    color: #434242;
}

.lmenu .lm-item:hover {
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.lmenu .lm-item .ul-menu {
    display: none;
    position: absolute;
    width: 850px;
    padding: 30px;
    background: #fff;
    z-index: 9000;
    left: 100%;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.lmenu .lm-item .ul-menu h3 {
    color: #325082;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.lmenu .lm-item .ul-menu a.ula {
    display: flex;
    width: 100%;
}

.lmenu .lm-item .ul-menu .ul {
    display: flex;
    padding-right: 5px;
    padding-left: 5px;
}

.lmenu .lm-item .ul-menu .ul-it {
    display: flex;
    margin: 5px 0;
    width: 100%;
    background: #fff;
    min-height: 90px;
    color: #424242;
    font-size: 0.9rem;
    align-items: center;
    border: 1px solid #f1f1f1;
}

.lmenu .lm-item .ul-menu .ul-it .img {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    background-color: #f3f3f3;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
}

.lmenu .lm-item .ul-menu .ul-it .tit {
    padding: 10px 5px 5px;
    margin-left: 0;
}

.lmenu .lm-item .ul-menu a.ula:hover .ul-it .tit {
    text-decoration: underline;
}



/* PDF кнопка */
.cattovarpdf {
    display: flex;
    align-items: center;
    margin: 35px 0;
}

.cattovarpdf .pdfimgtxt {
    font-size: 1.4rem;
    font-weight: bold;
    color: #c4161c;
    margin-left: 10px;
    text-decoration: underline;
}

.cattovarpdf .pdfimg {
    display: table-cell;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    background: url(/wp-content/themes/teploinvest2020/images/pdfhover.png) no-repeat center 6px;
    background-size: 25px;
    background-color: #c4161c;
}

.cattovarpdf:hover .pdfimgtxt {color: #325082;}
.cattovarpdf:hover .pdfimg {background-color: #325082;}




/* Стиль Woocommerce категории */
.woobread {
    background-color: #dde8f0;
    padding: 5px 40px;
    margin-bottom: 10px;
}

.woobread p {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.woobread p a {
    color: #434242;
    text-decoration: underline;
    font-weight: bold;
}

.woobread p a:hover {
    text-decoration: none;
}

.woocommerce .term-description {
    padding: 30px 0;
}

.content {
    background-color: #dde8f0;
    padding: 30px 40px;
}

.content.rel {
    padding: 0;
}

.content-without {
    background-color: #fff;
    padding: 30px 40px;
}


.post.category-gallery {
    padding: 40px;
    background-color: #dde8f0;
    margin: 10px 0;
}

.post.category-gallery:nth-child(odd) {
    background-color: #fff;
}

.post.category-gallery:nth-child(even) {
    background-color: #dde8f0;
}

.post.category-gallery h2 {
    margin: auto 30px;
}

.post.category-gallery h2 a {
    color: #325082;
    font-weight: 700;
    font-size: 2.2rem;
}

.post.category-gallery .continue {
    margin-left: auto;
}

.post.category-gallery .continue a {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #325082;
    color: #325082;
    font-weight: 500;
}


/* Страница с продуктами */
h1.product_title,
h2.product_title {
    font-size: 2.8rem;
    color: #434242;
    margin-bottom: 3rem;
}

.prodpage .content {
    padding: 40px;
}

.orderby {
    display: none;
}

.flex-card .prodlink {
    display: flex;
    flex-direction: column;
}

.flex-card a.prodlink {
    text-decoration: none;
}

.flex-card .woocommerce-LoopProduct-link {
    display: flex;
    width: 100%;
}

.flex-card .inprodblock {
    display: flex;
    background-color: #fff;
    width: 100%;
    min-height: 9.5rem;
}

.flex-card .prodblockfoot {
    display: flex;
    background-color: #f7f7f7;
    align-items: center;
}

.prodblockfoot .fastview {
    width: 100%;
    padding: 4px 15px;
    background-color: #f1f1f1;
    text-decoration: none;
    color: #305082;
    text-align: center;
}

.prodblockfoot .fastview i {
    padding-right: 10px;
}

.flex-card a.prodlink:hover .woocommerce-loop-product__title {
    text-decoration: underline;
}

.prodblockfoot .prodfootprice {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    font-size: 0.8rem;
    color: #c4161c;
    text-align: center;
}

.prodblockfoot .prodfootprice span {
    font-weight: bold;
    font-size: 1rem;
}

.product .prodimg {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    background-image: url(/uploads/files/noimage.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.product .title-box {
    padding: 10px 10px;
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
}

.product h2.woocommerce-loop-product__title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tovpricetab {
    margin: 20px 0;
    width: 100%;
    border-spacing: 6px 0px;
    border-collapse: separate;
}

.tovpricetab tr td {
    background-color: #fff;
    /*word-break: break-all;*/
}
.tovpricetab tr:nth-child(odd) td { background-color: #dde8f0; }
.tovpricetab.in tr:nth-child(odd) td { background-color: #dde8f0; }

.tovpricetab th {
    background: #dde8f0;
    color: #434242;
    font-weight: bold;
    font-size: 15px;
    padding: 5px;
    text-align: center;
}

.tovpricetab td {
    font-size: 16px;
    text-align: center;
    padding: 5px;
    color: #305082;
    font-weight: 600;
}

.tovpricetab td.price {
    font-weight: 900;
    color: #c4161c;
    white-space: nowrap;
}


.tovpricetab td:nth-child(1){
  width: 88%;
  text-align: left;
}

.fastview .woocommerce-loop-product__title {
    font-size: 1.4rem !important;
    font-weight: 900;
    color: #305082;
}

.fastview .modal-title {
    text-transform: uppercase;
    font-size: 1rem;
    color: #aab3ba;
    font-weight: 100;
}

.fastview .modal-header .close {
    padding: 0.8rem;
    font-size: 2.5rem;
    color: #305082;
    opacity: 1;
}

.fastview .modal-footer .btn {
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 100;
    font-family: Bosch Sans;
}

.fastview .modal-footer .btn-primary {
    background-color: #305082;
    border-color: #305082;
}

.fastview .modal-footer .btn-primary:hover {
    background-color: #223e6b;
}

.fastview .modal-body .inflex {
    display: flex;
    align-items: center;
}

/* Страница товара */
.single-product .images a,
.tovarbox .images a {
    border: 0;
}

.single-product .images img,
.tovarbox .images img{
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.single-product ol.flex-control-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap; 
    list-style-type: none;
    padding-left: 0;
    padding: 0;
    margin-top: 10px;
}

.single-product ol.flex-control-nav li {
    margin: 8px !important;
    width: 19.9%;
    display: inline-block;
}
.single-product ol.flex-control-nav li:hover {
    cursor: pointer;
}

.single-product ol.flex-control-nav li img {
    margin: 0 auto;
    border: 3px solid #fff;
}

.single-product ol.flex-control-nav li img.flex-active {
    border: 3px solid #325082;
}


.single-product .summary {
    float: right;
    width: 430px;
}

.single-product .woocommerce-tabs {
    clear: both;
    margin-top: 20px;
}

.single-product .pdflinks a {
    font-size: 1.1rem;
    font-weight: 500;
    color: #434242;
    padding-left: 30px;
    background-image: url(/wp-content/themes/teploinvest2020/images/pdf.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    text-decoration: underline;
}

.single-product .pdflinks a:hover {
    text-decoration: none;
}

.woocommerce-tabs .tabs {display: none !important;} /* Скрытие вкладок на странице товара */


/* Страница Контактов */
.contacts .card {
    background-color: #fff;
}

.contacts .card-title {
    font-weight: 600;
    font-size: 1.5rem;
    color: #c4161c;
}

@media (min-width: 1400px) {
  .col-xg {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-xg-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-xg-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-xg-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-xg-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-xg-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-xg-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xg-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-xg-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-xg-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xg-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-xg-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-xg-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 1400px) and (max-width: 1650px) {
    .flex-card .inprodblock {
        min-height: 9.5rem;
    }
    
    .col-xmg {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-xmg-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-xmg-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-xmg-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-xmg-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xmg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-xmg-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-xmg-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xmg-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-xmg-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-xmg-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xmg-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-xmg-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-xmg-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.flex-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.footer {
    background: #325082;
    padding: 40px 0;
    color: #fff;
    font-weight: bold;
    margin-top: 3rem;
}

.footer .socials {
    padding-left: 4rem;
    display: flex;
}

.footer .socials a {
    font-size: 3rem;
    font-weight: 100;
    color: #fff;
    margin: 0 10px;
}

.footer .socials a:hover {
    color: #d7d7d7;
}

.nopc {
    display: none;
}

h2.sph2 {
    text-transform: uppercase;
}

.dp-1920 {display: none;}

.term-description img,
    .descr img {
        max-width: 100%;
        height: auto;
    }

/* Portrait tablets and medium desktops */
@media (min-width: 1025px) and (max-width: 1400px) {
    .dp-1920 {display: block;}
    .bytord-2 {
        order: 3 !important;
    }
    .prord-1 {
        order: 0 !important;
    }
    .prord-2 {
        order: 8 !important;
    }
    .content {
        padding: 15px 25px;
    }
    
    .content.rel {
        padding: 0;
    }
}

@media (min-width: 992px) and (max-width: 1024px) {
    .bytord-1 {
        order: 0 !important;
    }
    .prord-1 {
        order: 0 !important;
    }
    .prord-2 {
        order: 10 !important;
    }
    .prord-3 {
        order: 6 !important;
    }
    .header-text {
        display: none;
    }
    .no1024 {
        display: none;
    }
    .content {
        padding: 0 10px;
    }
    .content.rel {
        padding: 0;
    }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .dp-1920 {display: block;}
    .no1024 {display: none;}
    header .header-text {display: none;}
}

/* Landscape phones and smaller */
@media (max-width: 991px) {
    .nomobile {
        display: none;
    }
    
    .nopc {
        display: block;
    }
    
    header {
        margin: 0;
        flex-direction: column;
    }
    
    header .header-text {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
    
    header .head-phones {
        display: flex;
        justify-content: center;
        margin: 20px auto 10px;
        font-size: 0.85rem;
    }
    
    header .head-phones a {
        margin: 0 0.5rem;
        
    }
    
    .topmenu {
        display: flex;
        width: 100%;
    }
    
    .topmenu .navbar-brand img {
        width: 55vw;
    }
    
    .topmenu .navbar-toggler {
        margin-left: auto;
    }
    
    .topmenu .navbar-toggler {
        background-color: #dde8f0;
        border: none;
        border-radius: 0;
        padding: .75rem .75rem;
        border-color: rgb(255,102,203);
    }
    
    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(50, 80, 130, 1)' stroke-width='4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .slider-block {
        margin-top: 15px;
    }
    
    
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    
    .row {
        margin-right: 0;
        margin-left: 0;
    }
    
    .categoryes-menu {
        padding: 30px 15px;
        margin-top: 1rem;
    }
    
    .categoryes-menu h2 {
        font-size: 1.2rem;
        font-weight: 900;
    }
    
    .row.row-tile .col-xs-6.tile {
        border-left-width: 5px;
        border-right-width: 5px;
        margin-bottom: 10px;
    }
    
    .row.row-tile .col-xs-12.tile {
        border-left-width: 5px;
        border-right-width: 5px;
        margin-bottom: 10px;
    }
    
    .categs .tile-content .title, 
    .categs .tile-content .woocommerce-loop-category__title {
        font-size: 3.3vw;
        margin-bottom: 10px;
    }
    
    
    .categs .tile-content.kotly .title,
    .categs .tile-content.radiatory .title,
    .categs .tile-content.kotlyikot .title,
    .categs .tile-content.teplopunkty .title,
    .categs .tile-content.dymohod .title {
        color: #ffed00;
        font-size: 12pt;
    }
    
    .woobread {
        padding: 5px 10px;
    }
    
    .woobread p {
        font-size: 3vw;
    }
    
    .term-description img,
    .descr img {
        max-width: 100%;
        height: auto;
    }
    
    /* Страница товаров */
    .content {
        padding: 10px 10px;
    }
    .content.rel {
        padding: 0;
    }
    
    h1 {
        font-size: 1.5rem;
        color: #325082;
        font-weight: 700;
        padding: 0 5px;
    }
    
    .flex-card .inprodblock {
        min-height: 28vw;
    }
    
    .product .title-box .fastview a {
        font-size: 2.5vw;
    }
    
    .product h2.woocommerce-loop-product__title {
        font-size: 3vw;
    }
    
    .mbpx-0 {
        padding-left: 0;
        padding-right: 0;
    }
    
    .flex-card {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    .tovpricetab th,
    .tovpricetab td {
        font-size: 0.6rem;
    }
    
    .tovpricetab td:nth-child(1) {
        width: auto;
    }
    
    .cattovarpdf {
         padding: 0 7px;
     }
    
    .cattovarpdf .pdfimgtxt {
        font-size: 1rem;
    }
    
    .prodblockfoot .prodfootprice span,
    .fastview .modal-footer .btn {
        font-size: 0.75rem;
    }
    
    .prodblockfoot .fastview {
        font-size: 0.8rem;
    }
    
    
    
    .fastview .woocommerce-loop-product__title {
        margin-top: 20px;
        font-size: 1.2rem !important;
    }
    
    /* Страница продукта */
    .woocommerce-Tabs-panel--description .container {
        padding-left: 0;
        padding-right: 0;
    }
    .descr {
        padding: 10px 0;
        font-size: 1.1rem;
    }
    .descr h2 {
        font-size: 1.2rem;
        font-weight: bold;
    }
    .prodpage .content {
        padding: 10px;
    }
    
    .prodpage .content.rel {
        padding: 0;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    h1.product_title,
    h2.product_title {
        font-size: 1.3rem;
        margin: 1rem 0 2rem;
    }
    
    .tovpricetab {
        border-spacing: 3px 0px;
    }
    
    .cattovarpdf.tovarpdf {
        padding: 0;
    }
    
    .tovcol {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .tovcol .cattovarpdf .pdfimg {
        width: 30px;
        height: 30px;
        background: url(/wp-content/themes/teploinvest2020/images/pdfhover.png) no-repeat center 4px;
        background-size: 20px;
        background-color: #c4161c;
    }
    
    .tovcol .cattovarpdf .pdfimgtxt {
        font-size: 3.5vw;
    }
    
    .pdffiles a {
        font-size: 0.8rem;
        font-weight: 500;
        line-height: normal;
        color: #434242;
        padding-left: 20px;
        background-image: url(/wp-content/themes/teploinvest2020/images/pdf.png);
        background-repeat: no-repeat;
        background-position: left center;
        background-size: contain;
        text-decoration: underline;
    }
    
    .term-description {
        padding: 15px 20px;
    }
    
    .descr iframe {
        width: 100%;
        height: auto;
    }
    
    
    .footer .socials .links {
        margin-left: auto;
    }
    
    .footer {
        font-size: 0.8rem;
    }
    
    .post.category-gallery {
        padding: 0px;
        margin: 40px 0;
    }
    
    .post.category-gallery h2 {
        margin: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .post.category-gallery h2 a {
        font-size: 1.2rem;
    }
    
    .post.category-gallery .continue {
        margin-left: auto;
        margin-right: 15px;
        margin-bottom: 15px;
    }
    
    .post.category-gallery .continue a {
        text-align: center;
        padding: 3px 15px;
    }
}

@media (max-width: 340px) {
    header .head-phones {
        font-size: 0.8rem;
    }
    header .head-phones a {
        margin: 0 0.4rem;
    }
}