@import url("https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css");
* {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 24px;
    margin: 10px 0;
    font-family: inherit;
    font-weight: bold;
    line-height: 20px;
    color: inherit;
    text-rendering: optimizelegibility;
}

h2 {
    font-size: 22px;
}

h1,
h2,
h3 {
    line-height: 30px;
}

h1 {
    font-size: 24px;
}



/* ----------------------------my style------------------------- */



.contents-block {
    display: flex;
    flex-wrap: wrap;
}

.contents-block h1 {
    text-align: center;
}

.buttons-modal {
    justify-content: flex-end;
}

.contact-head ul {
    padding: 0;
}

.h1 a {
    color: #b4b75f;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'HeliosCondLightRegular';
    font-size: 18px;
    display: block;
    margin: 0;
    line-height: normal;
    margin-bottom: 20px;
}

.btn-btn {
    /* width: 170px; */
    width: 210px;
}

.s-page h1,
.s-page h2 {
    width: 100%;
}

.right-tel-block {
    width: 100%;
    position: relative;
    margin-left: 350%;
    z-index: 100;
}


/* -----------------------------------table-content---------------------- */

.s-page table {
    width: 100% !important;
}

.s-page tr img {
    max-width: 230px !important;
}

.menu-l,
.menu-r {
    display: block;
}

@media (max-width: 1050px) {

    .menu-l,
    .menu-r {
        display: none;
    }
}


/* --------------------------------------------carport----------------------------------- */

.one-lines,
.two-lines,
.three-lines,
.four-lines {
    justify-content: space-between;
}

.tables-scroll-down,
.calctext {
    overflow-x: scroll;
}

.controls input {
    padding: 5px;
    margin-bottom: 5px;
}

.controls textarea {
    width: 100% !important;
}

.calctext .add-q {
    text-align: center;
}

.poch select {
    padding: 5px;
    margin-bottom: 5px;
}

.img-cols img {
    width: 100% !important;
    height: auto !important;
}

.contact-head a:hover {
    text-decoration: none !important;
}



.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(145,148,60)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}


/*
.navbar-collapse {
    background: rgba(249, 247, 241, 0.85);
}
*/

.navbar-toggler {
    outline: none !important;
}

.contact-head ul li{
    line-height: 26px;
}

#nav > li{
    display: flex;
}

@media(max-width:430px){
    .contact-head ul li{
        line-height: 36px;
    }
    #nav li ul li a{
        width: 100% !important;
        white-space: normal;
    }
}

/* ---------------------media--------------------- */

@media(max-width:1366px){

    .dropdown .nav-link.dropdown-toggle{
        /* width: 80%; */
        position: relative;
        /* z-index: 50; */
    }

    .dropdown span {
        position: absolute;
        /* top: 0; */
        right: 0px;
        z-index: 100;
    }

    .contact-head{
        margin-right: 0;
    }
}

@media(max-width:1024px){
    .btn-btn {
        /* width: 170px; */
        width: 185px;
    }
}

@media(max-width:1023px) {
    .all-menu {
        background: transparent;
    }

    .right-tel-block {
        margin-left: 0;
    }

    .navbar {
        justify-content: flex-end;
    }

    .navbar-collapse {
        position: relative;
        z-index: 100;
    }

    .menu {
        margin-top: 15%;
    }

    .group-but {
        margin-top: -50%;
    }

    .menu-w {
        font-size: 15px;
        font-style: italic;
        color: #91943c;
        font-weight: 600;
    }
}

.tbls_mob{
    overflow-x: scroll;
}

@media(max-width: 823px) {
    .wrap-logo {
        margin-top: 5%;
    }

    .group-but {
        margin-top: -135px;
        /*        align-items: center;*/
    }

    .menu {
        margin-top: 0%;
    }

    .footer img {
        text-align: center;
    }

    .footer-images {
        text-align: center;
    }

    .copyrightSites {
        text-align: center !important;
        margin-left: 0 !important;
    }

    .developersString {
        text-align: center !important;
        padding-top: 15px !important;
    }

    .room-moving-image img {
        width: 100% !important;
        margin: 0px !important;
        height: auto !important;
    }

    .room-moving-image-last img {
        width: 100% !important;
        margin: 0px !important;
        height: auto !important;
    }

    .navbar-collapse {
        background: rgba(249, 247, 241, 0.9);
    }

    .dropdown .nav-link.dropdown-toggle{
        width: 70%;
        position: relative;
        /* z-index: 50; */
    }

    .dropdown span {
        right: 5px;
    }
    .images_1, .images_2{
        width: 100% !important;
        height: auto !important;
    }
    .calc_tbls tr{
        display: flex;
        flex-direction: column;
    }

}

 .dropdown-toggle::after{
    display: none;
} 

@media(max-width:751px){
    .btn-btn {
        margin-bottom: 11px;
    }
    .images_3{
        width: 100% !important;
        height: auto !important;
    }
    .iframes_video_mob{
        width: 100% !important;;
    }
}

@media(max-width:736px) {
    .group-but {
        margin-top: -130px;
    }

    .one-lines,
    .two-lines,
    .three-lines,
    .four-lines {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .header{
        /* background: linear-gradient(180deg, rgba(238, 207, 186, 0.5), rgba(255,255,255, 0.2)), url(../images/header.jpg) no-repeat center; */
    }

    .header .container .menu-up{
        background: linear-gradient(180deg, rgba(255,255,255, 1), rgba(255,255,255, 0.2));
        /* background: linear-gradient(45deg, rgba(103, 0, 31, .8), rgba(34, 101, 163, .5)), url(https://html5book.ru/wp-content/uploads/2016/12/photo-8.jpg);  */
    }

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

@media (max-width: 568px) {

    .rights-column {
        order: 0;
    }

    .lefts-column {
        order: 1;
    }

    .footers-column {
        order: 2;
    }

    #nav > li {
        margin-left: 0 !important;
    }

    .all-menu ul {
        margin-left: -10% !important;
    }

    .menu {
        height: 74%;
    }

    .group-but {
        margin-top: -130px;
        display: flex;
        justify-content: space-around;
    }

    .p-paddings {
        padding-left: 10px;
        padding-right: 10px;
    }

    .news-item img {
        width: 100%;
    }

    .news_content img {
        width: 100% !important;
        height: auto !important;
    }

    .navbar-collapse {
        padding-left: 15px;
    }

    #nav li ul {
        right: 0% !important;
        background: rgba(249, 247, 241, 0.95);
    }

    .contact-head{
        margin-right: 15px;
    }
    .lnks_mdls{
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 425px) {

    .contact-head ul li{
        /* font-size: 22px; */
    }

    .wrap-logo {
        margin-top: 4%;
    }

    .group-but {
        /*        margin-top: 10px;*/
        flex-direction: column;
    }

    .group-but div {
        width: 100%;
    }

    .btn-btn {
        width: 100%;
        margin-bottom: 12px;
    }

    .s-page h1 {
        font-size: 20px;
        line-height: 26px;
    }

    .s-page h2 {
        line-height: 24px;
        font-size: 19px;
    }

    .contact-head ul li{
        line-height: 35px;
    }
    .group-but{
        margin-top: -155px;
    } 

    #nav li:hover > ul{
        margin-left: -20% !important;
    }

}

@media(max-width:423px) and (min-width:421px){
    .tel-n{
        font-size: 19px;
    }
}

@media(max-width:414px) {

    .p-paddings h2,
    .p-paddings h2 span {
        text-indent: 0 !important;
    }

    .header {
        height: 380px;
    }
}

@media(max-width:375px) {

    .group-but a {
        font-size: 14px;
    }
}

@media(max-width:358px) {
    .group-but {
        margin-top: -97%;
    }


    .tel-n {
        font-size: 14px;
    }

    .contact-head ul li span {
        font-size: 12px;
    }
}

@media(max-width:430px){
    .group-but{
        margin-top: -160px;
    }

    .right-tel-block{
        margin-top: 30px;
    }

    .navbar-toggler{
        padding: .25rem .20rem;
    }

    .btn-btn{
        margin-bottom: 22px;
    }

    .wrap-logo{
        margin-left: -10%;
    }
    .s-page .car-box a img{
        width: 100% !important;
        height: auto !important;
    }
    .s-page h3 img{
        width: 100% !important;
        height: auto !important;
    }
    .s-page img{
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .big-ikon-otvet{
        display: none;
    }
    .vop-otv{
        margin-left: 0;
    }
    .nav-link{
        width: 70%;
    }
}

@media (max-width: 420px){
    .group-but {
        margin-top: -153px;
    }

    .btn-btn {
        margin-bottom: 13px;
    }
}

@media(max-width:415px){
    .group-but {
        margin-top: -145px;
    }
}

@media(max-width:375px){
    .btn-btn {
        margin-bottom: 22px;
    }
}

@media(max-width:320px){
    #nav li:hover > ul {
        margin-left: -26% !important;
    }

    .right-tel-block {
        margin-left: -7px;
    }
    .contact-head ul li {
        line-height: 36px;
        font-size: 14px;
    }
}
@media(max-width:281px){
    .contact-head {
    min-width: 142px;
    top: 55px;
    background: #f9f7f1;
    border-radius: 10px;
    border: 1px solid #b4b75f;
    padding: 7px;
    font-size: 10px;
    margin-left: 12px;
    }
    .group-but a {
    font-size: 12px;
    }
    span.vopros {
    background: url(../images/vopros.png) no-repeat;
    width: 40px;
    height: 40px;
    position: absolute;
    top: -5px;
    right: -8px;
    -moz-transition: all 1s 1s ease-in;
    -o-transition: all 1s 1s ease-in;
    -webkit-transition: all 1s 1s ease-in;
    }
    span.online {
    background: url(../images/online.png) no-repeat;
    width: 40px;
    height: 43px;
    position: absolute;
    top: -7px;
    right: -8px;
    -moz-transition: all 1s 1s ease-in;
    -o-transition: all 1s 1s ease-in;
    -webkit-transition: all 1s 1s ease-in;
    }
    span.callme {
    background: url(../images/callme.png) no-repeat;
    width: 39px;
    height: 45px;
    position: absolute;
    top: -7px;
    right: -8px;
    -moz-transition: all 1s 1s ease-in;
    -o-transition: all 1s 1s ease-in;
    -webkit-transition: all 1s 1s ease-in;
    }
    .group-but {
    margin-top: -139px;
    }
}
