@charset "UTF-8";

@keyframes show {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

:root {
    --main-color: #00299b;
    --second-color: #ff0000;
}

.gap-30 {
    gap: 30px;
}

.header-top__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-top__left {
    display: flex;
    align-items: center;
}

.header-top__logo {
    margin-right: 40px;
}

.header-top__nav-block {
    display: flex;
    flex-direction: column;
}

.header-top__nav {
    list-style: none;
    display: flex;
    align-items: center;
}

.header-top__nav-item {
    margin-right: 20px;
}

.header-top__nav-item:last-child {
    margin-right: 0;
}

.header-top__nav-link_active {
    color: var(--main-color);
    font-weight: bold;
}

.header-top__address {
    display: flex;
    align-items: center;
}

.header-top__address::before {
    content: "\f3c5";
    margin-right: 5px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    color: var(--second-color);
}

.header-top__address-link {
    color: var(--second-color);
    border-bottom: 1px dotted var(--second-color);
    transition: 0.5s border-color;
}

.header-top__address-link:hover {
    border-bottom: 1px dotted var(--main-color);
}

.header-top__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-top__callback-link {
    color: var(--second-color);
    border-bottom: 1px dotted var(--second-color);
}

.header-top__callback-link:hover {
    border-bottom: 1px dotted var(--main-color);
}

.header-top__phone {
    font-size: 24px;
    line-height: 26px;
    color: var(--second-color);
}

.header-bottom {
    background-color: var(--main-color);
    padding: 10px 0;
}

.header-bottom__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-bottom__nav {
    z-index: 10000;
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
}

.header-bottom__nav-item {
    margin-right: 20px;
}

.header-bottom__nav-item:last-child {
    margin-right: 0;
}

.header-bottom__nav-link {
    color: #fff;
}

.header-bottom__nav-link:hover {
    color: #fff;
    text-decoration: underline;
}

.header-bottom__nav-link_active {
    text-decoration: underline;
}

.header-bottom__subnav {
    z-index: 10000;
    position: absolute;
    top: 30px;
    left: 0;
    visibility: hidden;
    opacity: 0;
    display: block;
    padding: 0;
    margin: 0;
    background-color: #fff;
    list-style: none;
    transition:  0.5s;
}

.header-bottom__nav-item:hover .header-bottom__subnav {
    opacity: 1;
    visibility: visible;
    transition:  0.5s;
}

.header-bottom__subnav-item {
    padding: 10px 20px;
}

.header-bottom__subnav-link {
    color: var(--main-color);
}

.header-bottom__subnav-link:focus {
    border-bottom: 1px solid var(--main-color);
}

.header-bottom__subnav-link:hover {
    border-bottom: 1px solid var(--main-color);
}

.header-bottom__subnav-link:active {
    border-bottom: 1px solid var(--main-color);
}

.header-bottom__right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-bottom__personal-link {
    margin-right: 40px;
}

.header-bottom__center {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-bottom__form {
    position: relative;
}

.header-bottom__form-search {
    width: 500px;
    height: 40px;
    padding-left: 10px;
    margin: 0;
    background-color: #fff;
    border-radius: 4px;
    color: #000;
}

.header-bottom__form-submit {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 40px;
    padding: 0 20px;
    margin: 0;
    background: none;
    border: none;
    border-left: 1px solid #ccc;
    cursor: pointer;
}

.header-bottom__form-search-icon {
    margin-right: 10px;
}

#main-services.portfolio-boxed .portfolio-box .portfolio-hover {
    transform: translateY(0);
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    opacity: 1;
}

.footer__logo {
    display: block;
    margin-bottom: 20px;
}

.footer__logo-img {
    max-width: 100%;
    height: auto;
}

.footer__payments {
    display: block;
    margin-bottom: 20px;
}

.footer__payments-img {
    width: 70%;
    height: auto;
}

.footer__socials-header {
    margin-bottom: 10px;
}

.footer__socials {
    display: flex;
    align-items: center;
}

.footer__socials-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin-right: 5px;
    border: 1px solid #fff;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.5s, color 0.5s;
}

.footer__socials-link:hover {
    background-color: #fff;
    color: var(--main-color);
}

.footer__socials-link i {
    color: #fff;
    transition: background-color 0.5s, color 0.5s;
}

.footer__socials-link:hover i {
    color: var(--main-color);
}

.footer__socials-link:last-child {
    margin-right: 0;
}

.header-bottom-mobile {
    display: none;
}

.cookie-agree {
    z-index: 999999999;
    position: fixed;
    bottom: 0;
    left: 0;
    display: none;
    width: 100%;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: var(--main-color);
}

.cookie-agree__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-agree__left {
    width: 80%;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
}

.cookie-agree__right {
    width: 20%;
    text-align: right;
}

@media(max-width: 767px) {
    .cookie-agree__row {
        flex-wrap: wrap;
    }

    .cookie-agree__left {
        width: 100%;
        margin-bottom: 20px;
    }

    .cookie-agree__right {
        width: 100%;
        text-align: left;
    }

    .header-top__nav-block {
        display: none;
    }

    .header-top__callback-block {
        display: none;
    }

    .header-top__left {
        width: 50%;
    }

    .header-top__right {
        width: 50%;
    }

    .header-top__logo {
        margin-right: 10px;
    }

    .header-top__phone {
        font-size: 18px;
        line-height: 1.2;
    }

    .header-top__hours {
        font-size: 15px;
        line-height: 1;
    }

    .header-bottom {
        display: none;
    }

    .header-bottom-mobile {
        display: block;
    }

    .header-bottom-mobile__navbar {
        background-color: var(--main-color);
        color: #fff;
    }

    .navbar-toggler-line {
        background-color: #fff;
    }

    .navbar-collapse {
        z-index: 20000;
    }

    .navbar .navbar-nav .nav-link {
        padding: 5px 0;
        font-weight: 500;
        font-size: 14px;
        margin: 0 18px;
        word-break: normal;
    }
}