div#head {
        width: 100%;
        height: 80px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
        background-color: var(--header_bgcolor);
        padding: 0 20px;
}

#head_logo {
        width: 300px;
        height: 75px;
        max-width: 100%;
        background-image: url('images/practi_logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
}

div#head #head_logo {
        width: 200px;
        height: 50px;
}

.head_title {
        flex-grow: 1;
}

.menu_open {
        font-weight: bolder;
}

#hamburger {
        width: 30px;
        height: 30px;
        background-image: url('images/menu_w.png');
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        margin-left: 20px;
        cursor: pointer;
}

.head_logo_wrapper h2 {
        color: #fff;
        text-align: center;
        text-transform: uppercase;
        font-weight: normal;
        margin: unset;
}

.head_logo_wrapper hr {
        border-top: 2px solid var(--font_color) !important;
        margin: 20px 0 !important;
}

.langMenupoint {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        flex-direction: row;
        width: 100%;
        position: absolute;
        z-index: 100;
}

#pop_menu {
        display: none;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 100;
        background: #2A3550 !important;
        color: #ADB9D8;
        overflow: hidden;
        padding: 0px 0px;
        height: 100%;
        width: 430px;
}

#pop_menu a {
        display: block;
        color: #ADB9D8;
        padding: 10px 15px;
}

#pop_menu .head_logo_wrapper:hover {
        background-color: #35415E;
}

#pop_menu .head_logo_wrapper {
        height: 70px
}

#pop_menu a:hover {
        background-color: #35415E60;
}

#pop_menu_close {
        color: #ffffff;
        position: absolute;
        top: 20px;
        right: 15px;
        display: block;
        width: 25px;
        height: 25px;
        font-weight: bold;
        font-size: 15pt;
        z-index: 105;
        background: transparent url('images/x.png') center center no-repeat;
        background-size: contain;
}

#pop_menu .head_logo_wrapper {
        background-color: #35415E;
}

#pop_menu .langMenupoint a {
        background-color: #2A355075;
        border: 1px solid #ADB9D8;
        color: #ADB9D8;
        width: 80px;
        height: 30px;
        margin: 5px 3px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
}

#pop_menu .langMenupoint .selected_lang {
        background-color: #ADB9D8;
        border: 1px solid #35415E;
        color: #35415E;
}

#pop_menu .langMenupoint a:hover {
        background-color: #ADB9D8;
        color: #2A355075;
}



/* Hamburger / Pop-menu */
#profile,
#profile:visited,
#profile:hover {
        height: 50px;
        width: 50px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        cursor: pointer;
        user-select: none;
}

#pw_menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 460px;
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 110;
        background-color: var(--box_bgcolor);
        color: var(--font_color);
        overflow: hidden;
}

#pw_menu>div {
        padding: 4%;
        background-color: var(--box_bgcolor);
}

.pw_head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        margin: 10px 0;
}

#pw_profile {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
}

.profile {
        height: 50px;
        width: 50px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        user-select: none;
}

.profile img,
#profile img {
        height: 100%;
        width: 100%;
        border: 2px solid #ADB9D870;
        border-radius: 50%;
}

.profile_text {
        line-height: 1.3em;
        flex-grow: 1;
        text-align: end;
        padding: 0 15px;
}

#pw_menu_smallmenu {
        display: none;
        text-align: left;
}

#pw_menu a {
        display: block;
        color: var(--font_color);
}

#pw_menu_close {
        width: 36px;
        height: 36px;
        display: block;
        background-image: url('images/x.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        cursor: pointer;
}

#pw_menu .btn_container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
}

#pw_menu .btn_container>a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 300px;
        height: 70px;
        margin: 10px 0;
        font-size: 14pt;
        font-weight: bold;
        border-radius: 6px;
}

.profileaction_password {
        background-color: #ADB9D8;
        color: #2A3550 !important;
}

.profileaction_logout {
        background-color: #FF3C2E;
        color: #fff !important;
}

.profileaction_logout::before {
        content: '';
        width: 40px;
        height: 40px;
        margin-right: 20px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url('images/logout_w.png');
}

.profileaction_password::before {
        content: '';
        width: 40px;
        height: 40px;
        margin-right: 20px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url('images/settings-gears.png');
}

#practi_links_container {
        width: 100%;
        border-top: 1px solid var(--font_color);
        border-bottom: 1px solid var(--font_color);
        flex-grow: 1;
}

#practi_links {
        width: 80%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        margin: auto;
}

#practi_links div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 10px;
        min-width: 107px;
}

.practi_link {
        width: 60px;
        height: 60px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-origin: content-box;
        margin-bottom: 3px;
        border-radius: 50%;
}

.practi_link:hover,
.profileaction:hover {
        background-color: #ADB9D844 !important;
}

.results {
        background-image: url('images/results.png');
}

.account {
        background-image: url('images/account.png');
}

.details {
        background-image: url('images/details.png');
}

.manual {
        background-image: url('images/manual.png');
}

@media screen and (min-width: 1281px) and (max-width: 1500px) {
        div#head_logo {
                width: 150px;
                top: 25px;
        }
}

@media screen and (max-width: 1280px) {
        div#head_logo {
                width: 150px;
                top: 25px;
        }
}

@media screen and (max-width: 1100px) {
        #hamburger {
                display: block;
        }

        #pw_menu_smallmenu {
                display: block;
        }
}

@media screen and (max-width: 700px) {
        #head_menu a {
                font-size: 1.3em;
        }

        .head_logo_wrapper #head_logo {
                background-image: url('images/practi_logo.png');
                width: 300px;
                height: 60px;
                margin: auto;
        }

        #head_logo {
                background-image: url('images/practi_logo_mini.png');
                width: 30px;
                height: 60px;
        }

        div#head {
                height: 60px;
                padding: 0;
        }

        div.langMenupoint {
                top: 10px;
                right: 60px;
        }

        div#profile,
        div#profile:hover {
                top: 10px;
                right: 20px;
                height: 40px;
                width: 40px;
        }

        #head_menu,
        #pw_menu {
                width: 100vw;
        }

        #hamburger {
                width: 80px;
                margin-right: 10px;
                height: 25px;
        }

        #langtext {
                font-size: 13pt;
                margin-right: 5px;
        }


        #practi_links {
                width: unset;
        }

        #pw_menu .btn_container>a {
                width: 260px;
                height: 50px;
        }

        #pw_menu .btn_container>a::before {
                width: 30px;
                height: 30px;
        }

        .practi_link {
                width: 70px;
                height: 70px;
        }

        .profileaction_logout::before {
                margin-right: 40px;
        }
}