.header {
    position: fixed;
    z-index: 100;

    display: flex;
    align-items: center;

    width: 100%;
    height: 87px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 5px 20px rgba(13, 28, 69, 0.15);

    background-color: white;
}

.header__hamburger-menu {
    position: relative;

    display: none;

    margin-bottom: 9px;
    margin-right: 22px;
    padding-top: 32px;

    color: #007bfb;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.header__hamburger-menu:hover {
    color: #0c4782;
    transition: color 0.25s ease;
}

.header__hamburger-menu::before {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.9, 0.75);

    font-family: 'Material Design Icons';
    font-size: 40px;
    line-height: 40px;
    font-weight: 400;
}

.header__tablet-background {
    background-color: rgba(0, 0, 0, 0.5);
}

.header__tablet-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    width: 86%;
    min-width: 275px;
    max-width: 320px;
    height: 568px;
    margin: 0 auto 0 0;
    padding: 55px 0;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;

    background-color: white;
    box-shadow: 0 5px 25px rgba(13, 28, 69, 0.25);
}

.header__tablet-logo {
    display: block;
}

.header__tablet-logo-image {
    display: block;
    opacity: 0.1;
}

.header__menu-arrow {
    width: 17px;
    height: 17px;

    stroke: #000;

    transition: all .25s;
}

.header__tablet-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.header__tablet-menu-item {
    display: block;

    color: #222d4c;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: color 0.25s;
}

.header__tablet-menu-item:hover {
    color: #007bfb;
    transition: color 0.25s;
}

.header__tablet-menu .header__tablet-menu-item:not(:first-child) {
    margin-top: 17px;
}

.header__tablet-menu-item_container {
    position: relative;
}

.header__tablet-popup-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: none;

    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(13, 28, 69, 0.2);

    text-align: center;

    background-color: white;
}

.header__tablet-contact-call {
    display: none;
    align-items: center;

    color: #202e35;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

.header__logo {
    display: block;
    margin-bottom: 4px;
    margin-right: auto;

    overflow: hidden;
}

.header__logo-image {
    display: block;
}

.header__menu {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-right: auto;
    width: 480px;
}

.header__menu-item {
    display: block;

    color: #222d4c;
    font-size: 11px;
    font-weight: 600;

    cursor: pointer;

    transition: color 0.25s;
}

.header__menu-item-flex {
    display: flex;
    align-items: center;
}

.header__menu-item:hover {
    color: #007bfb;
    transition: color 0.25s;
}

.header__menu-item:hover .header__menu-arrow {
    stroke: #007bfb;
}

.header__menu-item_container {
    position: relative;
}

.header__menu-stuff {
    position: relative;
    display: block;
}
.header__menu-stuff:after {
    content: '▼';
    width: 10px;
    height: 10px;
    display: block;
    font-size: 10px;
    padding: 0 5px;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    left: 100%;
}

.header__popup-menu {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);

    visibility: hidden;
    opacity: 0;

    padding: 14px 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(13, 28, 69, 0.2);

    text-align: center;

    background-color: white;
    transition: all .5s ease;
}
.header__popup-menu .header__menu-item:not(:first-child) {
    margin-top: 10px;
}

.header__menu-item_container:hover .header__popup-menu {
    /*display: block;*/
    visibility: visible;
    opacity: 1;
}

.header__contact {
    text-align: right;
}

.header__contact-title {
    color: #a7abb7;
    font-size: 10px;
    font-weight: 500;
}

.header__contact-call {
    display: flex;
    align-items: center;

    margin-top: 2px;

    color: #202e35;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

.header__contact-call-time {
    margin-right: 0.5em;
}

.header__contact-phone-number {
    font-size: 14px;
    font-weight: 700;
}

.header__contact-callback {
    display: block;

    color: #007bfb;
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;

    transition: color 0.25s;
}

.header__contact-callback:hover {
    color: #0c4782;
    transition: color 0.25s;
}

.header__call {
    position: relative;

    display: none;

    margin-bottom: 5px;
    padding-top: 28px;

    color: #007bfb;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;

    transition: color 0.25s;
}

.header__call:hover {
    color: #0c4782;
    transition: color 0.25s;
}

.header__call::before {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    font-family: 'Material Design Icons';
    font-size: 28px;
    line-height: 28px;
    font-weight: 400;
}


@media (max-width: 1023px) {
    .header__hamburger-menu {
        display: block;
    }

    .header__menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        /*height: 20px;*/
        height: 0;

        padding-left: 20px;
        padding-right: 20px;
    }

    .header__hamburger-menu {
        display: none;/**/

        margin-right: auto;
    }

    .header__tablet-contact-call {
       /* display: flex;*/
        display: none;
    }

    .header__logo {
        display: none;/**/
        width: 52px;
    }

    .header__logo-image {
        min-width: 129px;
    }

    .header__contact {
        display: none;
    }

    .header__call {
        display: none;
        /*display: block;*/
    }
}
