:root {
    --top_menu_height: 8vh;
    --top_menu_color: #3877b2;
}

.majestic_top_menu_container {
    width: 100%;
    height: var(--top_menu_height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
}

.majestic_top_menu_container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: -110%;
    left: 0;
    background-color: #fff;
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_container.not_over_video {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_container.not_over_video::before {
    top: 0;
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_inner_container {
    width: 98%;
    height: 100%;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: stretch;
}

.majestic_top_menu_logo_container {
    flex: 0 1 30%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin: 0 1vmax 0 0;
}

.majestic_top_menu_logo_container>a {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.majestic_top_menu_logo {
    height: 90%;
    position: relative;
}

.majestic_top_menu_left {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    top: 4px;
    position: relative;
}

.FlexiCustom2021_header_svg_open {
    width: calc(var(--top_menu_font_size) * 2.0);
    height: calc(var(--top_menu_font_size) * 1.4);
    position: relative;
    display: block;
    top: -0.3vh;
    margin: 0 0.4vw 0 0;
}

.FlexiCustom2021_header_svg_open_path {
    background-color: #fff;
    height: 1px;
    position: absolute;
    left: 0;
    -moz-transition: all 200ms ease-out;
    -webkit-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    display: block;
    transition: 0.2s all ease-in-out;
}

.not_over_video .FlexiCustom2021_header_svg_open_path {
    background-color: #c69f44;
    transition: 0.2s all ease-in-out;
}

#FlexiCustom2021_header_svg_path1 {
    width: 100%;
    top: 1%;
}

#FlexiCustom2021_header_svg_path2 {
    width: 70%;
    top: 51%;
}

#FlexiCustom2021_header_svg_path3 {
    width: 100%;
    top: 100%;
}

.majestic_top_menu_left:hover #FlexiCustom2021_header_svg_path1 {
    width: 100%;
    top: 100%;
}

.majestic_top_menu_left:hover #FlexiCustom2021_header_svg_path2 {
    width: 100%;
    top: 50%;
}

.majestic_top_menu_left:hover #FlexiCustom2021_header_svg_path3 {
    width: 100%;
    top: 0%;
}

.majestic_top_menu_left_text {
    font: 500 calc(var(--top_menu_font_size) * var(--top_menu_mobile_lang)) 'Effra', sans-serif;
    padding: 0;
    margin: 0;
    position: relative;
    color: #fff;
    transition: 0.2s all ease-in-out;
}

.not_over_video .majestic_top_menu_left_text {
    color: #c69f44;
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_items_container {
    flex: 0 1 45%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.majestic_top_menu_items_container.left_side {
    justify-content: flex-start;
}

.majestic_top_menu_items_container.right_side {
    justify-content: flex-end;
}

.majestic_top_menu_items_links,
.majestic_top_menu_language_and_social {
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
}

.majestic_top_menu_item {
    display: block;
    position: relative;
    font: 500 var(--top_menu_font_size) 'Effra', sans-serif;
    margin: 0 0 0 1vmax;
    color: #fff;
    text-decoration: none;
    top: 6px;
}

.majestic_top_menu_item_temp {
    display: inline-block;
    position: relative;
    font: 500 var(--top_menu_font_size) 'Effra', sans-serif;
    color: #fff;
    text-decoration: none;
}

.majestic_top_menu_item_temp span {
    font: 600 calc(var(--top_menu_font_size) * 0.6) 'Source Sans Pro', sans-serif;
    top: calc( -0.5 * var(--top_menu_font_size));
    position: relative;
}

.majestic_top_menu_item_temp_img {
    width: calc(var(--top_menu_font_size) * 2.7);
    height: calc(var(--top_menu_font_size) * 2.7);
    position: relative;
    display: inline-block;
    margin-right: calc(var(--top_menu_font_size) * 0.5);
    vertical-align: middle;
}

.majestic_top_menu_item.svg_inside {
    top: 4px;
}

.majestic_top_menu_item_svg {
    width: calc(var(--top_menu_font_size) * 1.2);
    height: calc(var(--top_menu_font_size) * 1.2);
    position: relative;
    display: inline-block;
    margin-right: calc(var(--top_menu_font_size) * 0.5);
    vertical-align: middle;
}

.majestic_top_menu_item_svg path {
    fill: #fff;
}

.not_over_video .majestic_top_menu_item_svg path {
    fill: #d2c07a;
    /* fill: var(--top_menu_color); */
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_item:first-of-type {
    margin: 0!important;
}

.majestic_top_menu_language {
    margin: 0 0 0 1vmax;
    height: 100%;
    position: relative;
    display: flex;
}


/*-----------------LANGUAGES------------*/

.majestic_top_menu_language_container {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.majestic_top_menu_language_icon_active {
    width: calc(var(--top_menu_font_size) * 1.5);
    position: relative;
    margin-right: calc(var(--top_menu_font_size) * 0.3);
    top: 3px;
}

.majestic_top_menu_language_text_active {
    padding: 0;
    margin: 0 calc(var(--top_menu_font_size) * 0.3) 0 0;
    font: 500 calc(var(--top_menu_font_size) * var(--top_menu_mobile_lang)) 'Effra', sans-serif;
    position: relative;
    color: #fff;
    top: 6px;
}

.majestic_top_menu_language_arrow {
    width: calc(var(--top_menu_font_size) * 0.7);
    position: relative;
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(301deg) brightness(102%) contrast(104%);
    top: 3px;
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_language_container:hover .majestic_top_menu_language_arrow {
    transform: rotate(-90deg);
    transition: 0.2s all ease-in-out;
    cursor: pointer;
}


/*-----------------LANGUAGE POPUP------------*/

.majestic_top_menu_language_popup {
    /* width: 100%; */
    background-color: #fff;
    border: 1px solid #000;
    position: absolute;
    top: 80%;
    right: 0;
    display: none;
}

.majestic_top_menu_language_container:hover .majestic_top_menu_language_popup {
    display: block;
}

.majestic_top_menu_language_item {
    /* width: 80%; */
    padding: 0.7vmax 1vmax;
    border-bottom: 1px solid #000;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_language_item:hover {
    background-color: #d5d5d5;
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_language_item:last-child {
    border-bottom: 0;
}

.majestic_top_menu_language_item .majestic_top_menu_language_text_active {
    color: #000;
    text-decoration: none!important;
    top: 5px;
}


/*-----------------LANGUAGE POPUP------------*/


/*-----------------LANGUAGES------------*/


/*-----------------SOCIAL MEDIA TOP MENU------------*/

.majestic_top_menu_social {
    margin: 0 0 0 1vmax;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    top: 3px;
}

.majestic_top_menu_social_link {
    display: flex;
    position: relative;
    margin: 0 0 0 0.5vw;
    text-decoration: none;
}

.majestic_top_menu_social_link:first-of-type {
    margin: 0!important;
}

.majestic_top_menu_social_icon {
    height: calc(var(--top_menu_font_size) * 1.05);
    position: relative;
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(301deg) brightness(102%) contrast(104%);
    width: calc(var(--top_menu_font_size) * 1.05);
}


/*-----------------SOCIAL MEDIA TOP MENU------------*/

.majestic_top_menu_container.not_over_video .majestic_top_menu_item,
.majestic_top_menu_container.not_over_video .majestic_top_menu_language_text_active,
.not_over_video .majestic_top_menu_item_temp {
    color: #d2c07a;
    /* color: var(--top_menu_color); */
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_container.not_over_video .majestic_top_menu_language_icon_active,
.majestic_top_menu_container.not_over_video .majestic_top_menu_language_arrow,
.majestic_top_menu_container.not_over_video .majestic_top_menu_social {
    top: 0px;
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_container.not_over_video .majestic_top_menu_item,
.majestic_top_menu_container.not_over_video .majestic_top_menu_language_text_active {
    top: 3px;
    transition: 0.2s all ease-in-out;
}

.majestic_top_menu_container.not_over_video .majestic_top_menu_language_arrow,
.majestic_top_menu_container.not_over_video .majestic_top_menu_social_icon {
    filter: invert(76%) sepia(39%) saturate(376%) hue-rotate(10deg) brightness(97%) contrast(84%);
}

.majestic_top_menu_logo_container_mobile {
    display: none;
}

@media screen and (max-width: 1280px) {
    .majestic_top_menu_logo_container,
    .majestic_top_menu_social,
    .majestic_top_menu_item.svg_inside {
        display: none;
    }
    .majestic_top_menu_logo_container_mobile {
        height: 100%;
        flex: 0 1 40%;
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .majestic_top_menu_logo_mobile {
        height: calc(var(--top_menu_height) * 0.8);
        position: relative;
    }
    .majestic_top_menu_items_container {
        flex: 0 1 25%!important;
    }
    .majestic_top_menu_language_text_active.active_lang,
    .majestic_top_menu_left_text {
        /* display: none; */
        top: 1px!important;
    }
    .majestic_top_menu_language {
        margin: 0;
    }
    .FlexiCustom2021_header_svg_open {
        width: calc(var(--top_menu_font_size) * 2.1);
        height: calc(var(--top_menu_font_size) * 1.5);
    }
}

@media screen and (orientation: portrait) and (max-width: 1280px) {}

@media screen and (orientation: landscape) and (max-width: 900px) {
     :root {
        --top_menu_height: 12vh;
    }
}

@media screen and (orientation: landscape) and (min-width: 900px) and (max-width: 1250px) {
     :root {
        --top_menu_height: 8vh;
    }
}