*, *:before, *:after{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    margin: 0;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 1.125rem;
    overflow: overlay;
}
body.lock{
    overflow: hidden;
}
/*  ScrollBar  */
::-webkit-scrollbar {
    width: 1em;
    background-color: transparent;
}
::-webkit-scrollbar-track {
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.51);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.81);
}


.wrapper{
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}
.block{
    padding: 3.125rem 0.625rem 3.125rem 0.625rem;
    display: flex;
    flex-direction: column;
}
.block__title{
    padding: 24px 0;
    text-align: center;
    font-size: 2.4rem;
    color: #ff7d03;
}
.block__caption{
    font-size: 1.25rem;
    text-align: center;
}

.content-block{
    _padding-right: calc(10px + 1rem);
    padding-right: 1rem;
    width: 1280px;
    margin: 0 auto;
}
@media (max-width: 1280px){
    .content-block{
        width: 960px;
    }
}
@media (max-width: 960px){
    .content-block{
        width: 100%;
        padding-right: 0;
    }
}
@media (max-width: 760px){
    .content-block{
        _padding-right: 1rem;
    }
}

h1{
    text-transform: uppercase;
    color: #ff7d03;
}
.bg-gray{
    background-color: #F0F0F0;
}
.bg-blue{
    background-color: #242C52;
    color: white;
}
.bg-white{
    background-color: white;
}
.box-shadow{
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
}

.color-orange{
    color: #ff7d03;
}
.text-white{
    color: white;
}

/*-----------------------------------------------СТИЛИ ДЛЯ ПЕРВОГО ЭКРАНА--------------------------------------------*/
.main-screen {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
}
.main-screen-top{
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 90px;
    padding-bottom: 40px;
    margin: auto;
}

.top-block-flat{
    background-image: url("../img/top-block-flat.jpg");
}
.top-block-home{
    background-image: url("../img/top-block-home.jpg");
}
.top-block-office{
    background-image: url("../img/top-block-office.jpg");
}
.top-block-tc{
    background-image: url("../img/top-block-tc.jpg");
}
.top-block-lan{
    background-image: url("../img/top-block-lan.jpg");
}
.top-block-smarthome{
    background-image: url("../img/top-block-smarthome.jpg");
}
.top-block-heating{
    background-image: url("../img/top-block-heating.jpg");
}
.top-block-boiler-room{
    background-image: url("../img/top-block-boiler-room.jpg");
}
.top-block-water{
    background-image: url("../img/top-block-water.jpg");
}
.top-block-water-filters{
    background-image: url("../img/top-block-water-filters.jpg");
}
.top-block-sewerage{
    background-image: url("../img/top-block-sewerage.jpg");
}
.main-screen-img{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.6);

    background-size: cover;
    background-attachment: fixed;

    opacity: 0;
    visibility: hidden;
    transition: all 1s ease 0s;

}
.main-screen-img.show{
    visibility: visible;
    opacity: 1;
    transition: all 1s ease 0s;
}
.main-screen-top img {
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    filter: brightness(0.6);
}
.img-scaleX{
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.main-screen-top-content{
    position: relative;
    text-align: left;
    display: flex;
    height: 100%;
    padding-bottom: 5rem;
}
.main-screen-top-content__left{

}
.main-screen-top-content__right{
    flex-grow: 1;
    position: relative;
}
.main-screen-service{
    font-size: 1.8rem;
    color: white;
    line-height: 1.5em;
    text-transform: uppercase;
    transition: all 1s ease 0s;
    text-align: left;
}
.main-screen-service:hover{
    cursor: pointer;
}
.main-screen-service.active{
    font-size: 2.4rem;
    font-weight: bold;
    transition: all 1s ease 0s;
}

.order-btn{
    color: white;
    font-size: 1.6rem;
    text-transform: uppercase;
    padding: 15px 50px;
    background-color: #ff7d03;
    margin: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    overflow: hidden;
    width: fit-content;

}
.order-btn:hover{
    cursor: pointer;
}
.main-screen-about{
    display: flex;
    flex-direction: column;
    _padding-right: calc(10px + 1rem);
}
.main-screen-about-list{
    display: flex;
    width: 100%;
    flex-basis: auto;

}
.main-screen-about-list-el{
    text-align: center;
    padding: 10px;
    flex-basis: 0;
    flex-grow: 1;
}
@media (min-width: 960px) and (max-height: 670px){
    .main-screen-service {
        font-size: 1.2em;
    }
    .main-screen-cost{
        font-size: 2em;
    }
}
@media (min-width: 960px) and (max-height: 610px){

    .main-screen-cost{
        padding: 30px 0;
    }
}
@media (max-width: 960px){
    .main-screen-top-content{
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    .main-screen-top-content__right{
        padding-top: 40px;
    }
    .order-btn{
        float: none;
        margin: auto;
        position: inherit;
    }
    .main-screen-about-list{
        flex-direction: column;
    }
    .main-screen-about-list-el{
        padding-bottom: 10px;
    }
}
@media (max-width: 760px){
    .main-screen-top-content{
        flex-direction: column;
    }
    .main-screen-service{
        text-align: center;
    }
    .main-screen-service-caption{
        text-align: center;
    }
}

/*--------------------- НАШИ ПРЕИМУЩЕСТВА --------------------*/
.why-us-list{
    display: flex;
    flex-wrap: wrap;
}
.why-us-list-el{
    display: flex;
    flex-direction: column;
    flex: 1 30%;
    background-color: #ededed;
    border-radius: 5px;
    padding: 20px;
    margin: 15px;
    text-align: center;
}
.why-us-list-el-icon{

}
.why-us-list-el-icon img{
    width: 60px;
    height: 60px;
}
.why-us-list-el-description{
    font-size: 1.5rem;
    margin: auto;
}
@media (max-width: 960px){
    .why-us-list-el{
        margin: 5px;
    }
}
@media (max-width: 760px){
    .why-us-list-el{
        flex: 1 33%;
    }
}
@media (max-width: 420px){
    .why-us-list-el-description{
        padding-left: 10px;
    }
    .why-us-list-el{
        flex: 1 100%;
        flex-direction: row;
    }
}
/*-------------------------ИНФО БЛОК------------------------*/
.info-block{
    width: 100%;
    display: inline-flex;
}
.info-block__text{
    flex-grow: 1;
    font-size: 2rem;
    margin: auto;
    line-height: 4rem;
    padding-left: 10px;
}
.info-block__image{
    padding-top: 20px;
}
.info-block__image img{
    vertical-align: bottom;
    height: 450px;
}
@media (max-width: 1280px){
    .info-block__text{
        font-size: 1.5rem;
        line-height: 3rem;
    }
    .info-block__image img{
        height: 350px;
    }
}
@media (max-width: 760px){
    .info-block{
        flex-direction: column;
        text-align: center;
    }
    .info-block__image{
        text-align: center;
    }
    .info-block__text{
        padding: 10px;
    }
}

/*----------------УСЛУГИ------------------------------*/
.service-list{
    display: flex;
    flex-wrap: wrap;
}
.service-list-el{
    flex: 1;
    padding: 15px;
    text-align: center;
    min-width: 320px;

}
.service-list-el__title{

    font-size: 2rem;
}
.service-list-el__caption{
    font-size: 1.2rem;
    display: none;
}
.service-list-el__img{
}
.service-list-el__img img{
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
}
.service-list-el__price{

}
/*-------------------ОСНОВНЫЕ ВОПРОСЫ---------------------*/
.faq__list{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 960px;
    margin: auto;
}
.faq__list-el{
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    overflow: hidden;
    padding-right: 5px
}
.faq__question{
    border-radius: 10px;
    font-size: 1.5rem;
    background-color: #F0F0F0;
    padding: 5px 10px 5px 50px;
    position: relative;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    z-index: 2;
}
.faq__question:hover{
    cursor: pointer;
}
.faq__question:active{
    box-shadow: none;
    transform: translate(2px, 2px);
}
.faq__question:before{
    content: '';
    background-color: #DF3B4E;
    width: 20px;
    height: 2px;
    position: absolute;
    left: 20px;
    top: 50%;

}
.faq__question:after{
    content: '';
    background-color: #DF3B4E;
    width: 2px;
    height: 20px;
    position: absolute;
    left: 29px;
    top: calc(50% - 9px);
}
.faq__question.show:after{
    visibility: hidden;
}

.faq__answer{
    background-color: #fbfbfb;
    margin: 0 10px;
    padding: 0 20px;
    opacity: 0;
    height: 0;
    transform: translate(0, -100px);
    z-index: 1;
    transition: all 0.5s ease;
}
.faq__answer.show{
    padding: 20px;
    height: auto;
    opacity: 1;
    transform: translate(0, 0);
    transition: all 0.5s ease;
}

/*-----------------------ОСТАЛИСЬ ВОПРОСЫ---------------------------*/
.call-me{
    display: flex;
    max-width: 960px;
    margin: auto;
}
.call-me__el{
    display: flex;
    flex-direction: column;
    flex-basis: 0;
    flex-grow: 1;
    padding: 40px;
}
.call-me__el__icon{
    height: 150px;
    margin: 0 auto;
}
.call-me__el__icon img{
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}
.call-me__el__text{
    text-align: center;
    font-size: 1.5rem;
    padding: 20px;
}
.call-me__el__phone{
    margin: 0 auto;
    text-align: center;
    flex-grow: 1;
    display: flex;
}
.call-me__el__phone-title{
    font-size: 2rem;
    text-align: center;
}
.call-me__el__phone a{
    font-size: 3rem;
    text-decoration: none;
    color: inherit;
}
.call-me-btn{
    color: white;
    font-size: 1.6rem;
    text-transform: uppercase;
    padding: 15px 50px;
    background-color: #ff7d03;
    margin: auto;

}
.call-me-btn:hover{
    cursor: pointer;
}
@media (max-width: 760px) {
    .call-me{
        flex-direction: column;
    }
    .call-me__el{
        padding: 40px 0;
    }
}


/*---------------------ПОДВАЛ----------------------*/
.bg-black{
    background-color: #242C52;
}
.footer{
    display: flex;
    width: 100%;
    color: white;
}
.footer__menu{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.footer__menu__el{
    padding: 5px;
}
.footer__menu__el a{
    text-decoration: none;
    color: inherit;
    padding: 5px;
}
.footer__menu__el a:hover{
    background-color: rgba(255, 255, 255, 0.2);
}
.footer__contact{
    display: flex;
    flex-direction: column;
    text-align: right;
}
.footer__contact a{
    text-decoration: none;
    color: inherit;
}

.footer__contact__phone{
    font-size: 1.875rem;
}
.footer__contact__email{
    flex-grow: 1;
    padding-top: 10px;
}
.footer__contact__address{
    font-size: 0.875rem;
}
@media (max-width: 720px) {
    .footer{
        flex-direction: column;
    }
    .footer__menu{
        text-align: center;
    }
    .footer__contact{
        text-align: center;
        padding-top: 40px;
    }
    .footer__contact__email{
        padding-bottom: 20px;
    }
}


/*-----------------------------------------ФОРМА ЗАКАЗА-------------------------------------------------------*/
.popup{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.8s ease 0s;
    visibility: hidden;
}
.popup.open{
    visibility: visible;
    opacity: 1;
    z-index: 9999;
    transition: all 0.8s ease 0s;
}
.popup__body{
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
}
.popup__content{
    background: white;
    width: 480px;
    _border-radius: 10px;
    margin: auto;
    padding: 40px;
    opacity: 1;
    transform: translate(0, -120%);
    transition: all 0.8s ease 0s;
}
.popup.open .popup__content{
    opacity: 1;
    transform: translate(0, 0);
    transition: all 0.8s ease 0s;
}
.close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    opacity: 0.3;
}
.close:hover {
    opacity: 1;
    cursor: pointer;
}
.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 30px;
    width: 2px;
    background-color: #333;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}
.order-form{
    display: flex;
    flex-direction: column;
}
.order-form input, select, textarea{
    padding: 10px;
    _border-radius: 5px;
    border: solid 1px silver;
    margin: 5px 0;
    font-size: 1.25rem;
}
.order-form-button{
    _border-radius: 10px;
    color: white;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    margin-top: 30px;
}
.order-form-send-btn {
    background-color: #242C52;
}
.order-is-send-close-btn{
    background-color: #257BCB;
}
.order-form-button:hover{
    cursor: pointer;
}
@media (max-width: 500px) {
    .order-form-modal{
        border-radius: 0px;
        padding: 40px 10px;
    }
}


/*----------------------------МОБИЛЬНЫЕ КНОПКИ-----------------------------------*/
.mobile-buttons{
    display: flex;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    position: fixed;
    bottom: 0;
    right: 0;
    flex-direction: column;
}
.mobile-buttons._show{
    opacity: 0.6;
    visibility: visible;
}
.mobile-btn a{
    text-decoration: none;
}
.mobile-btn a:active{
    text-decoration: none;
}
.mobile-btn._whatsapp{
    background: url("../img/icons/whatsapp-btn.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.mobile-btn._phone{
    background: url("../img/icons/phone-btn.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.mobile-btn._email{
    background: url("../img/icons/email-btn.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.mobile-btn{
    width: 50px;
    height: 50px;
    margin: 5px;
}