﻿:root {
    --oranzh: #ff902f;
    --biryuzovyy: #6ad8bc;
    --siniy: #4455a1;
    --salatovyy: #a5d818;
    --siniy-badminton: #546bcf;
    --rozovyy: #ff428f;
    --fioletovyy: #a46bf5;
    --zheltyy: #ffe13a;
    --krasnyy: #ff5627;
    --goluboy: #61b0ff;
    --bg-color: #ebefff;
    --main-text-color: #2d3865;
    --secondary-text-color: #6e79a7;
    --input-bg-color: #f4f6ff;
    --font-family: "Onest", sans-serif;
    --second-family: "Styrene A LC Web", sans-serif;
    --third-family: "Gotham Pro", sans-serif;
    --input-border-radius: 16px;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: var(--main-text-color);
    background: var(--bg-color);
    width: 100%;
    min-width: 300px;
    padding: 0;
    margin: 0;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

.icon:before {
    margin: 0;
}

.white-color {
    color: #ffffff;
}

a {
    text-decoration: none;
    cursor: pointer;
}

    a.link {
        text-decoration: underline;
    }

.collapse:not(.show) {
    display: none;
}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

header {
    position: relative;
    padding-top: 14px;
    padding-bottom: 40px;
    /*height: 86px;*/
}

    header img.logo {
        display: block;
        max-width: 135px;
        width: 100%;
        filter: invert(1);
        margin-right: 25px;
    }

    header .logo-spacer {
        display: none;
    }

@media (max-width: 799px) {

    body:has(#topNav.show) {
        overflow: hidden;
    }

    header:has(.show) {
        background: var(--siniy);
        position: fixed;
        height: auto;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: +1000;
    }

        header:has(.show) img.logo {
            filter: none;
        }

        header:has(.show) .navbar-toggler-icon {
            background-image: url('data:image/svg+xml,<svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="15" y="13" width="20" height="3" rx="1.5" transform="rotate(45 15 13)" fill="white" /><rect x="13" y="27.1421" width="20" height="3" rx="1.5" transform="rotate(-45 13 27.1421)" fill="white" /></svg>')
        }

        header:has(.show) .navbar-collapse {
            padding-top: 25px;
        }
}

header .navbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

    header .navbar-toggler {
        padding: 0;
        font-size: 1px;
        line-height: 1;
        background-color: transparent;
        border: none;
    }

    header .navbar-toggler-icon {
        display: inline-block;
        width: 42px;
        height: 42px;
        vertical-align: middle;
        background-image: url('data:image/svg+xml,<svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="11" y="16" width="20" height="3" rx="1.5" fill="%232D3865" /><rect x="11" y="23" width="20" height="3" rx="1.5" fill="%232D3865" /></svg>');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }

    header .navbar-collapse {
        flex-grow: 1;
        flex-basis: 100%;
        align-items: center;
    }


header .navbar-nav {
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-align: center;
    flex-direction: column;
    gap: 24px;
}

    header .navbar-nav a {
        color: #fff;
        display: inline-block;
    }


@media (min-width: 800px) {
    header img.logo {
        width: 166px;
        max-width: none;
    }

    header .navbar-toggler {
        display: none;
    }

    header .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
        flex-basis: auto;
        justify-content: center;
    }

    header .navbar-nav {
        text-transform: none;
        flex-direction: row;
        font-size: 16px;
    }
        header .navbar-nav a {
            color: var(--main-text-color);
        }

            header .navbar-nav a:hover {
                color: var(--secondary-text-color);
            }

    header .logo-spacer {
        display: block;
        flex-basis: 166px;
        flex-shrink: 1;
    }
}



ul.breadcrumb {
    flex-direction:row;
    gap: 10px;
}

    ul.breadcrumb a {
        color: var(--secondary-text-color);
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        gap: 10px;
    }

    ul.breadcrumb li:not(:last-child) a::after {
        content: ">";
        display: inline-block;
    }

    ul.breadcrumb li:last-child a,
    ul.breadcrumb a:hover {
        color: var(--main-text-color);
    }









#content {
    padding-bottom: 100px;
    padding-top: 56px;
}

    #content .container {
        box-shadow: 0 22px 40px 0 rgba(68, 85, 161, 0.07);
        background: #fff;
        border-radius: 26px;
        padding: 32px 15px;
    }

    #content h1 {
        font-family: var(--third-family);
        font-weight: 500;
        font-size: 26px;
        line-height: 100%;
        letter-spacing: -0.05em;
        text-transform: uppercase;
        color: var(--siniy);
        margin: 0;
    }

    #content h2 {
        font-family: var(--third-family);
        font-weight: 500;
        font-size: 22px;
        line-height: 100%;
        letter-spacing: -0.05em;
        text-transform: uppercase;
        color: var(--siniy);
        margin: 0;
    }

    #content h3 {
        font-family: var(--third-family);
        font-weight: 500;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -0.05em;
        text-transform: uppercase;
        margin: 0;
    }


    #content p,
    #content ul {
        margin: 1em 0;
    }

        #content ul ul li {
            margin: .5em 0;
        }

    #content div div > p:first-child {
        margin-top: 0;
    }

    #content ul {
        padding-left: 20px;
    }

    #content a:not(.btn) {
        color: var(--siniy);
    }



.overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: transparent url('/img/overlay.png') 0 0 repeat;
    z-index: +20000;
}

    .overlay .loader {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: transparent url('/img/ajax-loader.gif') center center no-repeat;
    }



@media (min-width: 768px) {
    #content .container {
        padding: 50px;
    }
}


footer {
    position: relative;
    background: var(--main-text-color);
    color: #FFFFFF;
    padding-bottom: 40px;
    font-size: 16px;
}

    footer .container,
    footer .container .b1,
    footer .container .b2,
    footer .container .b3,
    footer .container .b4 {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 33px;
    }


    footer .logos {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 33px;
        padding: 33px 0;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #425192;
    }

        footer .logos a {
            flex-grow: 1;
            flex-shrink: 1;
        }

        footer .logos .logo1 {
            flex-basis: 60%;
        }

        footer .logos .logo2 {
            flex-basis: 40%;
        }

        footer .logo3 {
            display: none;
        }


    footer .navbar-nav {
        display: flex;
        flex-direction: row;
        gap: 10px;
        font-weight: 500;
        max-width: 400px;
    }

        footer .navbar-nav .nav {
            flex-basis: 50%;
            flex-direction:column;
            gap: 6px;
        }

    footer a {
        color: #fff;
        display: inline-block;
    }

    footer .communicate {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    footer .block-title {
        color: #c6d1ff;
        font-size: 14px;
        margin-bottom: 4px;
    }


    footer .phones {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    footer .main-phone {
        font-weight: 500;
        font-size: 26px;
        margin-bottom: 10px;
    }

    footer .sub-phones table {
        width: 100%;
        max-width: 400px;
    }

    footer .sub-phones table th {
        text-align: left;
        padding-right: 5px;
    }

    footer .sub-phones table td:not(:last-child) {
        text-align: left;
        padding-right: 10px;
    }

    footer .social {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    footer .social a {
        display: inline-block;
        width: 48px;
        height: 48px;
        background-position: center;
        background-size: cover;
    }

        footer .social a.tg {
            background-image: url(/img/tg.svg);            
        }

        footer .social a.vk {
            background-image: url(/img/vk.svg);            
        }


@media (min-width: 768px) {
    footer .navbar-nav {
        flex-direction: column;
        gap: 6px;
    }

    footer .container .b2,
    footer .container .b3 {
        flex-direction: row;
    }

    footer .container .b3 {
        align-items: flex-end;
        justify-content: space-between;
    }

    footer .logos .logo2 {
        display: none;
    }

    footer .logo3 {
        display: block;
    }
}