header {
    font-size: 0.7em;
    color: white;
}

.header-top-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 10px;

    background-color: #39a5c6;

    color: white;
    font-weight: bold;
}

.header-top-panel span,
.header-top-panel a {
    font-size: 14pt;
}

.header-top-panel a {
    text-decoration: none;
    color: white;
}

.header-top-panel a:hover {
    text-decoration: none;
    color: #ef5945;
}

.icon-rhombus.icon-viber {
    background: linear-gradient(to top, #7f4da0, #6a2e92);
}

.icon-rhombus.icon-location {
    background: linear-gradient(to top, #4da068, #2e8592);
}

.icon-rhombus.icon-email {
    background: linear-gradient(to top, #de4f4f, #b02f2f);
}

.header-top-panel > div {
    margin: 5px 10px;
}

.header-top-panel .header-phone {
    display: flex;
    align-items: center;
}

.header-top-panel .header-phone > div {
    display: flex;
    flex-direction: column;
}

.header-top-panel .header-currency {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: auto;
}

.header-search form {
    position: relative;
}

.header-search input {
    border: 1px solid rgba(255, 255, 255, 0.81);
    outline: none;
    border-radius: 3px;
    width: 130px;
    height: 20px;
    background-color: #5cc7e7;
    color: white;
}

.header-search form .fa-search {
    position: absolute;
    top: 4px;
    right: 5px;
}

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

.header-second-line {
    position: relative;
    height: 300px;
    background-position: center center;
    background-size: cover;
}

.header-second-line-content {
    position: relative;
    background-color: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
}

.header-logo {
    margin-right: 20px;
    width: 130px;
}

.header-mobile-menu {
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9;
    background: rgba(255, 255, 255, 1);
    transition: .5s all;
}

.header-mobile-menu ul li {
    margin-top: 10px;
    text-align: center;
}

.header-mobile-menu ul li a,
.header-mobile-menu ul li span {
    color: #5e5e5e;
    font-size: 1.5em;
}

.header-mobile-menu ul li a {
    font-weight: bold;
}

.header-mobile-menu ul li a:hover {
    color: white;
}

.header-mobile-menu-button {
    margin-left: 20px;
    z-index: 10;
}

.header-mobile-menu-button,
.header-mobile-menu-button::before,
.header-mobile-menu-button::after {
    display: block;
    width: 22px;
    position: relative;
    height: 2px;
    background-color: #37a6c4;
}

.header-mobile-menu-button::before {
    content: '';
    top: -8px;
}

.header-mobile-menu-button::after {
    content: '';
    top: 6px;
}

.header-mobile-menu-button.active {
    transform: rotate(45deg);
}
.header-mobile-menu-button.active::before {
    top: 0;
    transform: rotate(0);
}
.header-mobile-menu-button.active::after {
    top: -2px;
    transform: rotate(90deg);
}

.header-menu-wrap {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s all;
}

.header-desktop-menu {
}


.main-navigation ul.menu > li > ul.sub-menu li:hover > ul,
.main-navigation ul.menu > li > ul.sub-menu li.focus > ul {
    display: flex;
}

.header-menu .main-navigation ul.menu > li > ul.sub-menu {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;

    width: 500px;
    border-radius: 2%;

    position: absolute;
    left: auto;
    top: auto;

    z-index: 99999;

    box-shadow: none;

    background-color: deepskyblue;
}

.header-menu .menu-speciality-item {

}

.header-menu .menu-speciality-item ul.sub-menu {
    width: 50%;
    flex-flow: wrap;

    position: relative;
    left: auto;
    top: auto;
    float: initial;

    box-shadow: none;
}

.header-menu .menu-speciality-item > span {
    color: white;
    font-weight: bold;
    margin: 20px;
}

.header-menu .menu-service-item {

}

.header-menu .menu-service-item > span {
    color: white;
    font-weight: normal;
}


.header-desktop-menu > ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-desktop-menu ul a {
    font-weight: bold;
}

.header-sign {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 6em;
    line-height: 1;
    margin-bottom: 30px;
}

/** Sub menu **/

.sub-menu {
    background-color: #39a5c6;
    padding: 10px 20px;
    position: absolute;
    border-radius: 10%;

    display: none;
    /*
    opacity: 0;
    visibility: hidden;

    transition: opacity .5s linear;
    */
}

.header-desktop-menu > .menu > li > .sub-menu > li {
    margin-left: 0;
}

.header-desktop-menu > .menu > li:hover .sub-menu,
.header-desktop-menu > .menu > li:hover .sub-menu:hover {
    display: block;
    /*
    opacity: 1;
    visibility: visible;
    */
}

/** Country page header **/

.header-flag {
    display: flex;
    width: 100%;
    justify-content: center;
    position: absolute;
    bottom: 45%;
}

.header-flag > div {
    width: 35px;
}

.header-flag > h1 {
    color: white;
    font-weight: bold;
    font-size: 2.6em;
    margin: 0 0 0 15px;
    line-height: 0.8;
}

@media(max-width: 600px) {
    .header-top-panel {
        font-size: 0.9em;
    }

    .header-menu-wrap {
        background: white;
        height: 40px;
        padding: 0;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .header-menu-wrap.sticky {
        position: fixed;
        top: 0;
        z-index: 10;
    }

    .header-logo {
        width: 60px;
    }

    .header-search input {
        width: 150px;
        height: 25px;
        background-color: #5cc7e7;
        color: white;
    }

    .header-search form .fa-search {
        color: white;
        font-size: 1.2em;
    }

    .header-currency,
    .header-socials,
    .header-location,
    .header-search-desktop,
    .header-desktop-menu {
        display: none;
    }

    .header-mobile-menu-button,
    .header-search-mobile {
        display: block;
    }

    .header-mobile-menu {
        display: flex;
    }

    .header-sign {
        font-size: 4em;
    }

}

@media(min-width: 600px) {

    .header-desktop-menu {
        display: block;
    }

    .header-desktop-menu li {
        margin-left: 5px;
        font-size: 0.9em;
    }

    .header-sign {
        font-size: 5em;
    }

    .header-location {
        display: none;
    }

    .header-currency {
        display: none;
    }

    .header-socials {
        display: none;
    }

    .header-mobile-menu-button {
        display: none;
    }
}

@media(min-width: 768px) {

    .header-desktop-menu li {
        margin-left: 10px;
    }

    .header-socials {
        display: block;
    }
}

@media(min-width: 800px) {

    .header-currency {
        display: flex;
    }

}

@media(min-width: 1024px) {

    .header-desktop-menu li {
        margin: 0.5rem 0 0 2rem;
        font-size: 1em;
    }

    .header-location {
        display: block;
    }

}