html {
    overflow-x: hidden;
}

body {
    width: 100%;
    height: 100%;
    margin: var(--body_margin_top) 0 0 0;
    overflow-x: hidden;
}

:root {
    --cm_2022_top_menu_font_size: 0.9vmax;
    --cm_2022_top_menu_font_height: 0.7vmax;
    --body_margin_top: 9vh;
    --cm_2022_main_container: 60%;
    --cm_2022_footer_sitemap_title: 1.1vmax;
    --cm_2022_footer_sitemap_text: 1.0vmax;
    --cm_2022_top_menu_logged_in_details: calc(var(--cm_2022_top_menu_font_size) - 0.2vmax);
}

.cm_2022_top_menu_main_container {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: var(--body_margin_top);
    max-height: 250px;
    background-color: #fff;
    box-shadow: 0 8px 8px -4px rgb(0 0 0 / 50%);
    z-index: 999999;
    transition: 0.2s all ease-in-out;
}

.cm_2022_top_menu_inner_container {
    width: 90%;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cm_2022_top_menu_item {
    flex: 1 0 14.20%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.cm_2022_top_menu_button_container {
    color: #000;
    font: 300 var(--cm_2022_top_menu_font_size)/var(--cm_2022_top_menu_font_height) 'Effra';
    flex: 0 1 100%;
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    transition: 0.2s all ease-in-out;
    cursor: pointer;
}

.cm_2022_top_menu_button_container:hover {
    color: #861f20;
    transition: 0.2s all ease-in-out;
}

.cm_2022_top_menu_item_link {
    text-decoration: none;
    color: #000;
    font: 300 var(--cm_2022_top_menu_font_size)/var(--cm_2022_top_menu_font_height) 'Effra';
    display: block;
    width: fit-content;
    transition: 0.2s all ease-in-out;
    position: relative;
}

.cm_2022_logged_in {
    color: #000;
    font: 300 calc(var(--cm_2022_top_menu_font_size) - 0.1vmax)/calc(var(--cm_2022_top_menu_font_height) + 0.2vmax) 'Effra';
    padding: 0 20px 0 0;
    margin: 0 0 0 5px;
    transition: 0.2s all ease-in-out;
    cursor: pointer;
    top: 3px;
    position: relative;
    flex: 1 0 55%;
    text-align: center;
}

.cm_login_icon_container {
    height: 55%;
    aspect-ratio: 1 / 1;
    position: relative;
    background-image: url('../images/login3_black.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.2s all ease-in-out;
    cursor: pointer;
}

.cm_2022_top_menu_item_link:hover,
.cm_2022_top_menu_item:hover .cm_2022_logged_in {
    color: #861f20;
    transition: 0.2s all ease-in-out;
}

.cm_2022_top_menu_item:hover .cm_login_icon_container {
    background-image: url('../images/login3_other.png');
    transition: 0.2s all ease-in-out;
}


/*-----------------DROPDOWN MENU RULES------------------------*/

.dropbtn::after {
    position: absolute;
    top: 46%;
    right: 10px;
    width: 10px;
    height: 10px;
    content: "";
    border-left: 2px solid #aaabad;
    border-bottom: 2px solid #aaabad;
    z-index: -1;
    transform: translateY(-50%) rotate( -45deg);
    transition: 0.2s all ease-in-out;
}

.show .dropbtn::after {
    position: absolute;
    top: 0.4vw;
    right: -18px;
    width: 0.5vw;
    height: 0.5vw;
    content: "";
    border-left: 2px solid #aaabad;
    border-bottom: 2px solid #aaabad;
    z-index: 1;
    transform: rotate( 45deg);
    transition: 0.2s all ease-in-out;
}

.dropbtn:hover,
.dropbtn:focus {
    background-color: transparent;
}

.dropdown-content {
    /* display: block; */
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
    z-index: 1;
    top: calc(100% - 10px);
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    max-height: 0;
    opacity: 0;
    transition: 0.2s all ease-in-out;
    z-index: -999999;
    border: 1px solid #861f20;
}

.dropdown-content .dropdown_item {
    font: 400 var(--cm_2022_top_menu_logged_in_details) 'Effra';
    color: #861f20;
    padding: 12px 10px;
    text-decoration: none;
    /* display: block; */
    border-bottom: 1px solid #861f20;
    text-align: center;
    margin: 0;
    transition: 0.2s all ease-in-out;
}

#logoutbutton {
    font: 600 var(--cm_2022_top_menu_font_size)/var(--cm_2022_top_menu_font_height) 'Effra';
    text-align: center;
    cursor: pointer;
}

.dropdown-content .dropdown_item:last-of-type {
    border-bottom: none;
}

.dropdown-content #logoutbutton:hover {
    background-color: #861f20;
    color: #fff;
    transition: 0.2s all ease-in-out;
}

.show .dropdown-content {
    /* display: block; */
    max-height: 1000px;
    opacity: 1;
    transition: 0.2s all ease-in-out;
}

.cm_2022_logged_in_mobile {
    display: none;
}


/*-----------------DROPDOWN MENU RULES------------------------*/

.cm_2022_top_menu_item_link::after {
    content: "";
    width: 0;
    height: 1px;
    background-color: #861f20;
    transform: translateX(-50%);
    left: 50%;
    position: absolute;
    bottom: 0;
    transition: 0.2s all ease-in-out;
}

.cm_2022_top_menu_item_link:hover::after {
    width: 100%;
    transition: 0.2s all ease-in-out;
}

.cm_2022_top_menu_item_link_logo {
    text-decoration: none;
    display: block;
    height: 90%;
}

.cm_2022_top_menu_item_logo {
    height: 100%;
    position: relative;
}

.full_width_menu_2021_button {
    width: 28px;
    height: 20px;
    position: relative;
    margin: 0 15px 0 0;
    cursor: pointer;
    top: -3px;
}

.full_width_menu_2021_button_line {
    height: 1px;
    background-color: #000;
    position: absolute;
    transition: 0.2s all ease-in-out;
}

.cm_2022_top_menu_button_container:hover .full_width_menu_2021_button_line {
    background-color: #861f20;
    transition: 0.2s all ease-in-out;
}

#full_width_menu_2021_button_line_1 {
    width: 100%;
    top: 0;
    transition: 0.2s all ease-in-out;
}

#full_width_menu_2021_button_line_2 {
    width: 80%;
    top: 50%;
    transition: 0.2s all ease-in-out;
}

#full_width_menu_2021_button_line_3 {
    width: 100%;
    bottom: 0;
    transition: 0.2s all ease-in-out;
}

.cm_2022_top_menu_button_container:hover #full_width_menu_2021_button_line_1 {
    width: 100%;
    top: 100%;
    transition: 0.2s all ease-in-out;
}

.cm_2022_top_menu_button_container:hover #full_width_menu_2021_button_line_2 {
    width: 100%;
    transition: 0.2s all ease-in-out;
    top: 50%;
}

.cm_2022_top_menu_button_container:hover #full_width_menu_2021_button_line_3 {
    width: 100%;
    bottom: 100%;
    transition: 0.2s all ease-in-out;
}


/* -- ----------------------------full_width_menu_2021------------------------ */

.full_width_menu_2021_container {
    position: fixed;
    top: var(--body_margin_top);
    width: 100%;
    max-height: calc(100vh - var(--body_margin_top));
    z-index: 9999999;
    background-color: #fff;
    transition: 0.5s all ease-in-out;
    transform: scale(1, 1) translateX(50%);
    right: 50%;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
}

.full_width_menu_2021_closed {
    transition: 0.5s all ease-in-out;
    transform: scale(0, 1) translateX(50%);
}

.full_width_menu_2021_container_inner {
    width: 90%;
    margin: 10px auto;
    position: relative;
    max-height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: flex-start;
}

.full_width_menu_2021_item {
    flex: 0 1 17%;
    position: relative;
    margin: 10px 0;
}

.full_width_menu_2021_item_title {
    margin: 0;
    padding: 0;
}

.full_width_menu_2021_item_title>a {
    font: 600 var(--cm_2022_footer_sitemap_title) 'Open Sans Condensed', sans-serif;
    color: #333;
    text-decoration: none;
    text-align: left;
    display: block;
    padding: 5px 0;
    letter-spacing: 2px;
}

.full_width_menu_2021_item_divider {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 5px 0;
    padding: 0;
}

.full_width_menu_2021_item_text {
    margin: 0;
    padding: 0;
}

.full_width_menu_2021_item_text>a {
    font: 300 var(--cm_2022_footer_sitemap_text) 'Effra', sans-serif;
    color: #666;
    text-decoration: none;
    text-align: left;
    display: block;
    padding: 5px 0;
    transition: 0.2s all ease-in-out;
}

.full_width_menu_2021_item_text>a:hover {
    color: #ff5912;
    transition: 0.2s all ease-in-out;
}

.mobile_login,
.mobile_menu {
    display: none;
}

@media screen and (min-width: 1050px) {
    .hide_in_pc {
        display: none;
    }
}

.cm_login_icon {
    height: 55%;
    position: relative;
}


/* -- ----------------------------END full_width_menu_2021------------------------ */

@media screen and (orientation: portrait) and (max-width: 1050px) {
     :root {
        --cm_2022_top_menu_font_size: 1.6vmax;
        --cm_2022_top_menu_font_height: 1.5vmax;
        --body_margin_top: 9vh;
        --cm_2022_main_container: 60%;
        --cm_2022_footer_sitemap_title: 2.6vmax;
        --cm_2022_footer_sitemap_text: 2.5vmax/2.8vmax;
        --cm_2022_top_menu_logged_in_details: 2.0vmax;
    }
    .mobile_login {
        display: flex;
        justify-content: flex-end;
    }
    .mobile_menu {
        display: flex;
        justify-content: flex-start;
        z-index: 999;
    }
    .cm_hide_in_mobile {
        display: none;
    }
    .dropdown-content .dropdown_item {
        word-break: break-word;
        padding: 12px 10px 12px 10px;
    }
    .cm_2022_top_menu_inner_container {
        justify-content: space-between;
    }
    .cm_2022_top_menu_mobile_button {
        height: 50%;
        position: relative;
    }
    .cm_login_icon {
        height: calc(var(--body_margin_top)*55/100);
        width: calc(var(--body_margin_top)*55/100);
        position: relative;
    }
    #logoutbutton {
        font: 600 calc(var(--cm_2022_top_menu_logged_in_details) + 0.1vmax) 'Effra';
    }
    /*----------------FLOATING MENU AND FOOTER SITE MAP------------------*/
    .full_width_menu_2021_container_inner,
    .cm_2022_footer_menu .full_width_menu_2021_container_inner {
        width: 100%!important;
    }
    .full_width_menu_2021_item {
        flex: 0 1 100%;
    }
    .full_width_menu_2021_item_title>a {
        text-align: center;
        width: 95%;
        margin: 0 auto;
    }
    .full_width_menu_2021_item_text>a {
        text-align: center;
        width: 95%;
        margin: 0 auto;
        padding: 0;
        border-bottom: 1px solid #8a8c8e;
        padding: 20px 2.5% 15px 2.5%;
    }
    .full_width_menu_2021_item_divider {
        display: none;
    }
    .full_width_menu_2021_item_title {
        border-bottom: 1px solid #000;
    }
    /*----------------FLOATING MENU AND FOOTER SITE MAP------------------*/
    /*-----------------DROPDOWN MENU RULES------------------------*/
    .cm_login_icon_container {
        height: calc(var(--body_margin_top)*55/100);
        width: calc(var(--body_margin_top)*55/100);
    }
    .dropbtn::after,
    .cm_2022_logged_in {
        display: none;
    }
    .cm_2022_logged_in_mobile {
        display: block;
    }
    #cm_logged_in_user_container {
        justify-content: flex-end;
    }
    .dropdown-content {
        position: fixed;
        top: var(--body_margin_top);
        width: 30%;
        right: 0;
        transform: none;
        left: unset;
    }
    /*-----------------DROPDOWN MENU RULES------------------------*/
}

@media screen and (orientation: landscape) and (max-width: 1050px) {
     :root {
        --cm_2022_top_menu_font_size: 1.6vmax;
        --cm_2022_top_menu_font_height: 1.5vmax;
        --body_margin_top: 15vh;
        --cm_2022_main_container: 60%;
        --cm_2022_footer_sitemap_title: 2.5vmax;
        --cm_2022_footer_sitemap_text: 2.5vmax/2.8vmax;
        --cm_2022_top_menu_logged_in_details: 2.0vmax;
    }
    body.no_margin_top {
        margin: 0;
    }
    .no_margin_top .cm_2022_top_menu_main_container {
        position: relative;
    }
    .cm_2022_top_menu_main_container.hide_on_landscape {
        position: fixed;
        transition: 0.2s all ease-in-out;
    }
    .player_container.full_height_landscape {
        height: 100vh;
        transition: 0.2s all ease-in-out;
    }
    .mobile_login {
        display: flex;
        justify-content: flex-end;
    }
    .mobile_menu {
        display: flex;
        justify-content: flex-start;
    }
    .cm_hide_in_mobile {
        display: none;
    }
    .dropdown-content .dropdown_item {
        word-break: break-word;
        padding: 12px 10px 12px 10px;
    }
    .cm_2022_top_menu_inner_container {
        justify-content: space-between;
    }
    .cm_2022_top_menu_mobile_button {
        height: 50%;
        position: relative;
    }
    .cm_login_icon {
        height: calc(var(--body_margin_top)*55/100);
        width: calc(var(--body_margin_top)*55/100);
        position: relative;
    }
    #logoutbutton {
        font: 600 calc(var(--cm_2022_top_menu_logged_in_details) + 0.2vmax) 'Effra';
    }
    /*----------------FLOATING MENU AND FOOTER SITE MAP------------------*/
    .full_width_menu_2021_container_inner,
    .cm_2022_footer_menu .full_width_menu_2021_container_inner {
        width: 100%!important;
    }
    .full_width_menu_2021_item {
        flex: 0 1 45%;
    }
    .full_width_menu_2021_item_title>a {
        text-align: center;
        width: 95%;
        margin: 0 auto;
    }
    .full_width_menu_2021_item_text>a {
        text-align: center;
        width: 95%;
        margin: 0 auto;
        padding: 0;
        border-bottom: 1px solid #8a8c8e;
        padding: 20px 2.5% 15px 2.5%;
    }
    .full_width_menu_2021_item_divider {
        display: none;
    }
    .full_width_menu_2021_item_title {
        border-bottom: 1px solid #000;
    }
    .full_width_menu_2021_container_inner {
        justify-content: space-around!important;
    }
    /*----------------FLOATING MENU AND FOOTER SITE MAP------------------*/
    /*-----------------DROPDOWN MENU RULES------------------------*/
    .cm_login_icon_container {
        height: calc(var(--body_margin_top)*55/100);
        width: calc(var(--body_margin_top)*55/100);
    }
    .dropbtn::after,
    .cm_2022_logged_in {
        display: none;
    }
    .cm_2022_logged_in_mobile {
        display: block;
    }
    #cm_logged_in_user_container {
        justify-content: flex-end;
    }
    .dropdown-content {
        position: fixed;
        top: var(--body_margin_top);
        width: 30%;
        right: 0;
        transform: none;
        left: unset;
    }
    /*-----------------DROPDOWN MENU RULES------------------------*/
}


/* 
@media screen and (min-width: 1050px) {
    #menu {
        order: 0;
        flex: 1 0 15%;
    }
    #typiko {
        order: 1;
        flex: 1 0 15%;
    }
    #pay {
        order: 2;
        flex: 1 0 15%;
    }
    #logo {
        order: 3;
        flex: 1 0 10%;
    }
    #contact {
        order: 4;
        flex: 1 0 22.5%;
    }
    #cm_logged_in_user_container {
        order: 5;
        flex: 1 0 22.5%;
    }
} */