html{
    height:100%;
}
ul{
    padding-left:23px;
}
.h1{
    font-family: 'Russo One', sans-serif;
    font-size:32px;
    color: var(--light);
}
.h3{
    font-size:24px;
}
.h4{
    font-size:19px;
    font-weight:700;
}
.h5{
    font-size:13px;
    font-weight:300;
}
.active{
    color:var(--dark)!important;
}
.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: var(--light);
    background-color: var(--light);
}
:root{


    --lighter: #efc3b9;
    --light: #ecb8ab;
    --primary: #f3a897;
    --dark: #ed7a5d;

    --secondary: #bdc3c7;

    /*--lighter:#75C788;*/
    /*--light: #6ab47b;*/
    /*--primary:#599a68;*/
    /*--dark: #32673f;*/
    /*--secondary: #bdc3c7;*/
}
a{
    color: var(--primary)
}
a:hover{
    color: var(--dark);
}

.bg-lighter{
    background-color: var(--lighter)!important;
}
.bg-primary{
    background-color: var(--primary)!important;
}
.bg-light{
    background-color: var(--light)!important;
}
.bg-dark{
    background-color: var(--dark)!important;
}
.bg-secondary{
    background-color: var(--secondary)!important;
}
.btn-danger{
    background-color: var(--danger)!important;
}
.border-dark{
    border-color: var(--dark)!important;
}
.border-none{
    border:none!important;
}

.border-bottom{
    border-bottom:5px solid var(--light)!important;
}
.border-primary{
    border-color: var(--primary)!important;
}
.border-light-bottom{
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: var(--light)!important;
}
.border-lighter{
    border-color: var(--lighter)!important;
}
.border-dark{
    border-color: var(--dark)!important;
}
.btn-light{
    background-color: var(--light)!important;
    color:#fff!important;
}
.btn{
    position:relative;
    border:none;
    border-radius:0;
    border-bottom: 5px solid var(--primary);
    color:#fff;
   
}
.btn-light:hover{
    border-bottom: 5px solid var(--primary);
    color:var(--dark);
    
}

.text-light{
    color:var(--light)!important;
}
.text-secondary{
    color:var(--secondary)!important;
}
/** Page **/
.page{
    height:100%;
    display:flex;
    flex-direction:column;
    font-family:'Open Sans', sans-serif!important;
}
.page__main{
    flex-grow:1;
}
/** Header **/
.header{
    color:white;

}
.main-nav,
.secondary-nav{
    font-weight:800;
}
.main-nav{
    font-size:17px;
}
.secondary-nav{
    font-size:14px;
}
.phone__number{
    font-size:18px;
}
.phone__icon{
    font-size: 24px;
}
.phone__inner{
    height:50px;
}
.nav-link:hover{
    color: var(--dark)!important;
}
.navbar-brand__name{
    margin-bottom:0;
}
.navbar-brand__position{
    font-size: 16px;
}
.facebook__icon{
    font-size:24px;
}
.section{
    
    margin-top:90px;
}
/** Main screen **/
.main-screen__img{
    max-height:213px;
}
/** Services **/
.property__icon{
    font-size:24px;
}
/** Footer **/
.footer{
    height:50px;
}
.copyright{
    color:var(--secondary);
    font-size:12px;
}


@media all and (max-width:768px) {
    .h1{
        font-size:28px;
    }
    .h3{
        font-size:20px; 
    }
    .section{
        margin-top:45px;
    }
    .property__icon{
        font-size:20px;
    }
    .property__text{
        font-size:14px;
    }
    #popup__toggle{
        display:block!important;
    }
}
@media all and (max-width:400px){
    .h1{
        font-size:22px;
    }
}
/*---------------
    Кнопка вызова */
    #popup__toggle{display:none;transform: scale(0.50);bottom:25px;right:10px;position:fixed;z-index:999;}
    .img-circle{background-color:#29AEE3;box-sizing:content-box;-webkit-box-sizing:content-box;}
    .circlephone{box-sizing:content-box;-webkit-box-sizing:content-box;border: 2px solid #29AEE3;width:150px;height:150px;bottom:-25px;right:10px;position:absolute;-webkit-border-radius:100%;-moz-border-radius: 100%;border-radius: 100%;opacity: .5;-webkit-animation: circle-anim 2.4s infinite ease-in-out !important;-moz-animation: circle-anim 2.4s infinite ease-in-out !important;-ms-animation: circle-anim 2.4s infinite ease-in-out !important;-o-animation: circle-anim 2.4s infinite ease-in-out !important;animation: circle-anim 2.4s infinite ease-in-out !important;-webkit-transition: all .5s;-moz-transition: all .5s;-o-transition: all .5s;transition: all 0.5s;}
    .circle-fill{box-sizing:content-box;-webkit-box-sizing:content-box;background-color:#29AEE3;width:100px;height:100px;bottom:0px;right:35px;position:absolute;-webkit-border-radius: 100%;-moz-border-radius: 100%;border-radius: 100%;border: 2px solid transparent;-webkit-animation: circle-fill-anim 2.3s infinite ease-in-out;-moz-animation: circle-fill-anim 2.3s infinite ease-in-out;-ms-animation: circle-fill-anim 2.3s infinite ease-in-out;-o-animation: circle-fill-anim 2.3s infinite ease-in-out;animation: circle-fill-anim 2.3s infinite ease-in-out;-webkit-transition: all .5s;-moz-transition: all .5s;-o-transition: all .5s;transition: all 0.5s;}
    .img-circle{box-sizing:content-box;-webkit-box-sizing:content-box;width:72px;height:72px;bottom: 14px;right: 49px;position:absolute;-webkit-border-radius: 100%;-moz-border-radius: 100%;border-radius: 100%;border: 2px solid transparent;opacity: .7;}
    .img-circleblock{box-sizing:content-box;-webkit-box-sizing:content-box;width:72px;height:72px;background-image:url(../img/phone-btn.png);background-position: center center;background-repeat:no-repeat;animation-name: tossing;-webkit-animation-name: tossing;animation-duration: 1.5s;-webkit-animation-duration: 1.5s;animation-iteration-count: infinite;-webkit-animation-iteration-count: infinite;}
    .img-circle:hover{opacity: 1;}

    /* ----------------------
   Кнопка вызова
   --------------*/

@keyframes pulse {0% {transform: scale(0.9);opacity: 1;}
50% {transform: scale(1); opacity: 1; }   
100% {transform: scale(0.9);opacity: 1;}}
@-webkit-keyframes pulse {0% {-webkit-transform: scale(0.95);opacity: 1;}
50% {-webkit-transform: scale(1);opacity: 1;}   
100% {-webkit-transform: scale(0.95);opacity: 1;}}
@keyframes tossing {
0% {transform: rotate(-8deg);}
50% {transform: rotate(8deg);}
100% {transform: rotate(-8deg);}}
@-webkit-keyframes tossing {
0% {-webkit-transform: rotate(-8deg);}
50% {-webkit-transform: rotate(8deg);}
100% {-webkit-transform: rotate(-8deg);}}
@-moz-keyframes circle-anim {
0% {-moz-transform: rotate(0deg) scale(0.5) skew(1deg);opacity: .1;-moz-opacity: .1;-webkit-opacity: .1;-o-opacity: .1;}
30% {-moz-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .5;-moz-opacity: .5;-webkit-opacity: .5;-o-opacity: .5;}
100% {-moz-transform: rotate(0deg) scale(1) skew(1deg);opacity: .6;-moz-opacity: .6;-webkit-opacity: .6;-o-opacity: .1;}}
@-webkit-keyframes circle-anim {
0% {-webkit-transform: rotate(0deg) scale(0.5) skew(1deg);-webkit-opacity: .1;}
30% {-webkit-transform: rotate(0deg) scale(0.7) skew(1deg);-webkit-opacity: .5;}
100% {-webkit-transform: rotate(0deg) scale(1) skew(1deg);-webkit-opacity: .1;}}
@-o-keyframes circle-anim {
0% {-o-transform: rotate(0deg) kscale(0.5) skew(1deg);-o-opacity: .1;}
30% {-o-transform: rotate(0deg) scale(0.7) skew(1deg);-o-opacity: .5;}
100% {-o-transform: rotate(0deg) scale(1) skew(1deg);-o-opacity: .1;}}
@keyframes circle-anim {
0% {transform: rotate(0deg) scale(0.5) skew(1deg);opacity: .1;}
30% {transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .5;}
100% {transform: rotate(0deg) scale(1) skew(1deg);
opacity: .1;}}
@-moz-keyframes circle-fill-anim {
0% {-moz-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
50% {-moz-transform: rotate(0deg) -moz-scale(1) skew(1deg);opacity: .2;}
100% {-moz-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}}
@-webkit-keyframes circle-fill-anim {
0% {-webkit-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;  }
50% {-webkit-transform: rotate(0deg) scale(1) skew(1deg);opacity: .2;  }
100% {-webkit-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}}
@-o-keyframes circle-fill-anim {
0% {-o-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
50% {-o-transform: rotate(0deg) scale(1) skew(1deg);opacity: .2;}
100% {-o-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}}
@keyframes circle-fill-anim {
0% {transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
50% {transform: rotate(0deg) scale(1) skew(1deg);opacity: .2;}
100% {transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}}
