﻿/* Виджет назначает height: 100% , что может привести к непредксказуемому результату, если вы этого не планровали */

html {
    height: auto !important;
}

/* Фиксируем позицию body, которую меняет панель гугла */

body {
    top: 0 !important;
    position: static !important;
    min-height: 100vh !important;
}

/* Прячем панель гугла */

.skiptranslate {
    display: none !important;
}

/* Убираем подсветку ссылок */

.goog-text-highlight {
    background-color: inherit;
    box-shadow: none;
    box-sizing: inherit;
}

/* language */

.language {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.language__img {
    margin: 2px;
    cursor: pointer;
    opacity: 0.5;
}

.language__img:hover,
.language__img_active {
    opacity: 1;
}

/* наша команда */

#our_team .container .card {
    box-shadow: 5px 5px 20px black !important;
    overflow: hidden;
}
#our_team .container .card img {
    border-radius: 3px;
}
#our_team .card_body {
}
#our_team .card:hover {
    cursor: pointer;
}
#our_team .card-body {
    /* position: absolute;
    bottom: 0px; */
}
#our_team .card-title {
    color: #000;
}
#our_team .card-title .card-text {
    font-size: 12px !important;
}
.card_inna2 {
    display: none;
}

#slider .slick-dots {
    display: none !important;
}
.slick-prev:before,
.slick-next:before {
    color: grey !important;
}
/* #our_team .slider_all .slider {
    display: none;
    margin: 10px !important;
} */

.slider_all {
    position: relative;
}

#slider .slick-prev {
    font-size: 0;
    z-index: 100;
    border: none;
    background-color: rgba(128, 128, 128, 0.421);
    padding: 5px;
    position: absolute;
    top: 15rem;
}
#slider .slick-prev:focus,
#slider .slick-next:focus {
    display: none !important;
}
#slider .slick-prev::before {
    content: url('../img/left.png');
    height: 10px;
    width: 10px;
    z-index: 100;
    border: none;
    padding: 5px;
}
#slider .slick-next {
    font-size: 0;
    z-index: 100;
    border: none;
    background-color: rgba(128, 128, 128, 0.421);
    padding: 5px;
    position: absolute;
    top: 15rem;
    right: 2.5%;
}
#slider .slick-next::before {
    content: url('../img/right.png');
    height: 10px;
    width: 10px;
    z-index: 100;
    border: none;
    padding: 5px;
    top: 13em;
}
#slider video {
    height: 14rem !important;
}

#social_link .img_social img {
    height: 30px;
    width: 30px;
    transform: scale(1);
    transition: all 0.3s;
}
#social_link .img_social:hover img {
    transition: transform 0.45s;
    transform: scale(1.5);
}
#social_link {
    display: flex;
    justify-content: center;
    /* background-color: rgba(0, 0, 0, 0.9) !important; */
}
.img_social {
    padding: 10px;
}
.nav-item .img_social img {
    height: 25px;
    width: 25px;
}
.burg {
    display: none;
}
/* #social_link_intro {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
} */

#social_link_intro .img_social img {
    height: 50px;
    width: 50px;
    transition: all 0.3s;
}
#social_link_intro .img_social:hover img {
    transform: scale(1.3);
    transition: transform 0.45s;
    /* transform: rotate(-360deg) scale(2); */
}
#social_link_intro {
    display: flex;
    justify-content: start;
    /* background-color: rgba(0, 0, 0, 0.9) !important; */
}
.g-color-gray-dark-v4,
.h5.g-font-weight-700,
.lead {
    color: #000 !important;
    font-weight:300px;
}
.image-head img {
    width: 100%;
    /* height: 500px; */
}
.button-block {
    display: flex;
    padding-top: 20px;
    justify-content: center;
    align-items: center;
}
.button-head {
    width: 100%;
    text-align: center;
    background-color: #1e77fb;
    border-color: #1e77fb;
    color: #fff;
    border-radius: 3px;
    padding: 10px 20px;
    text-transform: uppercase;
    margin: 0 auto;
    transition: all 0.3s;
}
.button-head:hover {
    color: #fff !important;
    background-color: #0066ff;
    border-color: #0066ff;
}

/* .fa-ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}
.fa-li {
    display: flex;
    position: relative;
    top: 0;
    left: 0;
} */
.img_social {
    padding: 10px;
}
.nav-item .img_social img {
    height: 25px;
    width: 25px;
}
.burg {
    display: none;
}

/* media */

@media (max-width: 575px) {
    #slider {
        display: none;
    }
    #slider .slick-next {
        position: absolute;
        right: 0px !important;
    }
    .mfz {
        font-size: 24px !important;
    }
    .mfz2 {
        font-size: 16px !important;
    }
    .zayvka {
        margin-bottom: 240px !important;
        margin-top: 0px !important;
        margin: 0px 10px 50px !important;
    }
    #onas {
        margin-top: 0px !important;
    }
    #perevagi {
        padding-bottom: 0px !important;
    }
    #kontakty {
        padding-top: 0px !important;
    }
    .g-py-100 {
        padding: 0px !important;
    }
    #vopros {
        margin-bottom: 0px !important;
    }
    .burg {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    #parallax {
        background-position: center !important;
        background-image: url('../img/bgg_mob.jpg') !important;
        background-size: cover !important;
    }
    .promotion_btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .card_inna {
        display: none;
    }
    .card_inna2 {
        display: block;
    }
    .friend-img {
        height: 5rem !important;
        object-fit: contain !important;
    }
    .tabs .nav-item > .nav-link {
        cursor: pointer;
        border-radius: 0px 10px 0px 0px !important;
        max-width: 100% !important;
        width: 25em !important;
    }
    .tab-content {
        padding: 23px 0px 0px 0px !important;
    }
    #social_link_intro .img_social img {
        height: 35px !important;
        width: 35px !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #slider {
        display: none;
    }
    #slider .slick-next {
        position: absolute;
        right: 0px !important;
    }
    .mfz {
        font-size: 24px !important;
    }
    .mfz2 {
        font-size: 16px !important;
    }
    .zayvka {
        margin-bottom: 240px !important;
        margin-top: 0px !important;
        margin: 10px !important;
    }
    #onas {
        margin-top: 0px !important;
    }
    #perevagi {
        padding-bottom: 0px !important;
    }
    #kontakty {
        padding-top: 0px !important;
    }
    .g-py-100 {
        padding: 0px !important;
    }
    #vopros {
        margin-bottom: 0px !important;
    }
    #parallax {
        background-position: center !important;
    }
    .promotion_btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .card_inna {
        display: none;
    }
    .card_inna2 {
        display: block;
    }
    .friend-img {
        height: 5rem !important;
        object-fit: contain !important;
    }
    .tabs .nav-item > .nav-link {
        cursor: pointer;
        border-radius: 0px 10px 0px 0px;
        max-width: 100% !important;
        width: 25em !important;
    }
    #social_link_intro .img_social img {
        height: 35px !important;
        width: 35px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #slider {
        display: none;
    }
    #slider .slick-next {
        position: absolute;
        right: 0px !important;
    }
    .zayvka {
        margin: 10px !important;
    }
    .card_inna {
        display: none;
    }
    .card_inna2 {
        display: block;
    }
    .friend-img {
        height: 5rem !important;
        object-fit: contain !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #slider .slick-next {
        position: absolute;
        right: 0px !important;
    }
}

@media (min-width: 1200px) {
    #slider .slick-next {
        position: absolute;
        right: 1% !important;
    }
}
