.mobile_stage {
    display: none;
}

#pagetop .intro,
#pagetop .intro .subheadline,
#pagetop .intro h1,
#pagetop .intro a,
#pagetop .intro p {
    color: var(--white);
}

#pagetop .intro p {
    font-weight: 500;
    padding: 10px 0;
}

@media (min-width: 981px) {

/*================================================
    Top-Navigation
================================================*/

    #logo {
        max-width: 150px !important;
        max-height: 50px !important;
    }

    #et-top-navigation nav > ul > li > a {
        color: var(--black);
        font-family: Archivo;
        font-size: 14px;
        letter-spacing: 0;
        line-height: 15px;
        font-weight: 900;
        /*
        padding-top: 30px !important;
        padding-bottom: 30px !important;
        */
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        padding-right: 0 !important;
        /* border-bottom: 2px solid transparent; */
        position: relative;
    }

    #et-top-navigation nav > ul > li > a::before {
        content: "";
        position: absolute;
        z-index: -2;
        left: 0;
        right: 100%;
        top: 25px;
        background: var(--secondary);
        height: 2px;
        transition-property: right;
        transition-duration: 0.3s;
        transition-timing-function: ease-out;
    }

    #et-top-navigation nav > ul > li.menu_icons > a::before {
        display: none;
        transition: none;
        height: 0;
    }

    #et-top-navigation nav > ul > li {
        padding-right: 40px;
        height: 100px;
        display: flex;
        align-items: center;
    }

    #et-top-navigation nav > ul > li.menu-item-has-children {
        padding-right: 45px;
    }

    #et-top-navigation nav > ul > li.menu-item-type-custom {
        padding-right: 20px;
    }

    #et-top-navigation nav > ul > li.menu-item-type-custom a {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    #et-top-navigation {
        padding-top: 0 !important;
    }

    #top-menu {
        display: flex;
        align-items: center;
    }

    #top-menu .menu-item-has-children>a:first-child:after {
        top: unset;
        right: -15px;
    }

    /* Dropdown */
    #top-menu ul.sub-menu li a:hover {
        cursor: pointer;
    }

    #top-menu li.menu_icons a:hover {
        cursor: default;
    }

    #top-menu li.menu_icons a img:hover {
        cursor: pointer;
    }

    .nav li ul {
        border-top: none;
        top: 100px;
        display: flex;
        flex-direction: column;
        align-items: start;
        /* width: auto; */
        width: max-content;
    }

    .nav ul li a:hover {
        background-color: unset;
    }

    #top-menu li li {
        padding: 5px 35px;
    }

    #top-menu li li a {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        /* padding-bottom: 0; */
        font-family: Archivo;
        font-size: 14px;
        line-height: 15px;
        font-weight: 900;
        color: var(--black);
    }

    /*
        #top-menu li:not(.button).current-menu-item a {
            border-bottom: 2px solid var(--secondary);
            opacity: 1;
         }

        #top-menu-nav>ul>li>a:hover {
            border-bottom: 2px solid var(--secondary);
            cursor: pointer;
        }

        #top-menu ul.sub-menu li a {
            border-bottom: 2px solid transparent;
        }
    */

    #top-menu .current-menu-item a::before,
    #top-menu .current_page_item a::before {
        content: "";
        position: absolute;
        z-index: 2;
        left: 0;
        right: 0;
    }

    #top-menu li a:before {
        content: "";
        position: absolute;
        z-index: -2;
        left: 0;
        right: 100%;
        top: 25px;
        background: var(--secondary);
        height: 2px;
        -webkit-transition-property: right;
        transition-property: right;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
    }

    #top-menu .current-menu-item ul.sub-menu a::before {
        display: none;
    }

    /* override divi style */
    #top-menu li a:hover {
        opacity: 1 !important;
    }

    /* hover effect end position */
    #top-menu li a:hover:before {
        right: 0;
    }

/*================================================
    Stage
================================================*/

    #pagetop {
        /*
        padding: 0;
        position: relative;
        */
        padding: 0 !important;
        height: 760px;
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
    }

    #pagetop .intro {
       /* height: 760px; */
        padding: 0 0 210px 0;
        margin: 0 auto;
    }

    #pagetop .intro .et_pb_column{
        max-width: 550px;
    }

    /*
    #pagetop .intro .et_pb_column {
        position: absolute;
        bottom: 210px;
    }
    */

    #pagetop .intro .subheadline {
        font-size: 32px;
        line-height: 35px;
        font-weight: 500;
        margin-bottom: 5px;
    }

    #pagetop .intro h1 {
        font-size: 56px;
        line-height: 60px;
        text-transform: uppercase;
        font-weight: 900;
    }

    #pagetop .intro a {
        color: var(--black);
        font-size: 16px;
        line-height: 17px;
        text-transform: uppercase;
        border: none;
        border-radius: unset;
        background-color: var(--white);
        font-weight: 900;
    }

    #pagetop .intro a:hover {
        cursor: pointer;
        background-color: var(--quartary);
    }
}

@media only screen and ( min-width: 981px ) and ( max-width: 1100px )  {
/*================================================
    Top-Navigation
================================================*/
    #main-header .container.et_menu_container {
        width: 98%;
    }

    .et_header_style_left #et-top-navigation {
        padding-left: 135px !important;
    }

    #logo {
        max-width: 120px !important;
        max-height: 40px !important;
    }

    #et-top-navigation nav > ul > li.menu-item-has-children {
        padding-right: 35px;
    }

    #et-top-navigation nav > ul > li {
        padding-right: 22px;
    }
}

@media only screen and ( min-width: 1101px ) and ( max-width: 1250px )  {
/*================================================
    Top-Navigation
================================================*/
    #main-header .container.et_menu_container {
        width: 90%;
    }

    .et_header_style_left #et-top-navigation {
        padding-left: 135px !important;
    }

    #logo {
        max-width: 120px !important;
        max-height: 40px !important;
    }


    #et-top-navigation nav > ul > li {
        padding-right: 25px;
    }
}

@media only screen and ( min-width: 1251px ) and ( max-width: 1350px )  {
/*================================================
    Top-Navigation
================================================*/
    #main-header .container.et_menu_container {
        width: 90%;
    }
}

/*================================================
    Header small
================================================*/
/*
#pagetop.small {
    padding: 0 !important;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    position: relative;
    height: 460px;
}

#pagetop.small .intro {
    padding: 0 0 60px 0;
    height: unset;
    margin: 0 auto;
}

#pagetop.small  .intro .et_pb_column {
    position: unset;
}

#pagetop.small::before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
}

#pagetop.small .intro h1,
#pagetop.small .intro p {
    color: var(--white);
}

#pagetop.small .intro .et_pb_module {
    max-width: 555px;
}
*/

/* Mobile Header Small */
/*
@media only screen and ( max-width: 980px ) {
    #pagetop.small::before {
        display: none;
    }

    #pagetop.small .et_pb_row,
    #pagetop.small .et_pb_row .et_pb_column {
        position: static;
    }

    #pagetop.small .et_pb_row .et_pb_column .et_pb_image {
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        height: 256px;
    }

    #pagetop.small .et_pb_row .et_pb_column .et_pb_image .et_pb_image_wrap,
    #pagetop.small .et_pb_row .et_pb_column .et_pb_image .et_pb_image_wrap img {
        width: 100%;
        height: 100%;
    }
}
 */

/* Mobile Menu */
@media only screen and ( max-width: 980px ) {

    /* change hamburger icon to x when mobile menu is open */
    #et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
    .et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
        content: '\4d';
    }

    /* hide the submenu by default */
    #main-header .et_mobile_menu li ul.sub-menu {
      display: none !important;
    }

    /* submenu toggle icon when closed */
    .mobile_nav .et_mobile_menu .menu-item-has-children .sub-menu-toggle::before {
        font-family: "ETmodules", sans-serif;
        content: "3"; /* closed */
        /* content: '\32'; */ /* opened */
        color: var(--secondary);
        line-height: 30px;
        font-size: 22px;
        font-weight: 800;
        vertical-align: bottom;
    }

    .mobile_nav .et_mobile_menu .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
    }

    #main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
        z-index: 1;
        top: 8px;
        position: relative;
        cursor: pointer;
        display: inline-block;
        order: 2;
    }

    .mobile_nav .et_mobile_menu .menu-item-has-children > a,
    .et_mobile_menu li a:hover {
        background-color: transparent;
    }

    /* toggle */
    #main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {

    }

    #main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
        content: '\32';
    }

    #main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
        display: block !important;
        position: relative;
        order: 3;
        width: 100%;
        height: 100%;
    }

    .et_mobile_menu {
        position: fixed;
        overflow: scroll;
        border-top: 0;
        background-color: var(--lightgrey);
        width: 100%;
        /* height: 100vh; */
        text-align: center;
        /* transition: all var(--transition-duration) var(--transition-function); */
    }

    .et_mobile_menu li a {
        border-bottom: 0;
        background-color: unset;
        color: var(--black);
        font-family: Archivo;
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 0;
        line-height: 26px;
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .et_mobile_menu li ul.sub-menu li a {
        color: var(--black);
        font-family: Archivo;
        font-size: 14px;
        font-weight: bold;
        letter-spacing: 0;
        line-height: 15px;
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    /* mobile underline */
    #main-header .et_mobile_menu li.current_page_item a::before,
    #main-header .et_mobile_menu li ul.sub-menu li.current_page_item a::before {
        content: "";
        position: absolute;
        z-index: -2;
        left: 0;
        right: 100%;
        top: 28px;
        background: var(--secondary);
        height: 2px;
        width: 100%;
        transition-property: right;
        transition-duration: 0.3s;
        transition-timing-function: ease-out;
    }

    #main-header .container .mobile_nav #mobile_menu .menu-item.current-menu-item ul.sub-menu li a::before {
        display: none;
    }

    #main-header .et_mobile_menu li.current_page_item a::before {
        top: 35px;
    }

    #main-header .container .mobile_nav #mobile_menu .menu-item.current-menu-item {
        position: relative;
        display: flex;
        justify-content: center;
    }

    #main-header .container .mobile_nav #mobile_menu .menu-item.current-menu-item a {
        padding-left: 0;
        padding-right: 0;
    }

    /*
    .et_mobile_menu > li > a::before {
        content: "";
        position: absolute;
        z-index: -2;
        left: 0;
        right: 100%;
        top: 25px;
        background: var(--secondary);
        height: 2px;
        transition-property: right;
        transition-duration: 0.3s;
        transition-timing-function: ease-out;
    }

    .et_mobile_menu > li.menu_icons > a::before {
        display: none;
        transition: none;
        height: 0;
    }
    */

    /* Icons */
    /*
    .et_mobile_menu li.menu_icons {
        width: 45%;
        position: absolute;
    }

    .et_mobile_menu li.menu_icons a {
        text-align: right;
    }

    .et_mobile_menu li.menu_icons:last-child a {
       text-align: left;
    }

    .et_mobile_menu li.menu_icons:last-child {
        left: 50%;
    }
    */

    .et_mobile_menu li.menu_icons {
        display: none;
    }

    .et_mobile_menu .menu-item-has-children>a {
        background-color: unset;
        padding-left: 0;
        padding-right: 0;
    }

    #main-header {
        position: fixed !important;
    }

    .et_mobile_menu li li {
        padding-left: 0;
    }

    #main-header .et_mobile_menu li ul {
        padding-left: 0;
    }
}

@media only screen and ( max-width: 980px ) {
    /* mobile stage */
    .mobile_stage {
        display: block;
        padding-top: 35px;
    }

    .mobile_stage .mobile_stage_image {
        max-width: unset;
        width: 100%;
    }

    .mobile_stage .mobile_stage_image {
        height: 256px;
        background-position: right;
    }

    .mobile_stage .mobile_stage_text {
        background-color: var(--lightgrey);
        width: 100%;
        padding: 60px 10%;
        display: flex;
        align-items: center;
    }

    .mobile_stage .mobile_stage_text h1 {
        font-family: Archivo;
        font-size: 42px;
        letter-spacing: 0;
        line-height: 50px;
        font-weight: 900;
        padding-top: 5px;
        padding-bottom: 20px;
    }

    #pagetop.small .intro {
        background-color: var(--lightgrey);
        height: 240px;
        /* margin: 0 auto; */
        /* max-width: var(--max-width); */
        width: 100%;
        padding: 0 10%;
        display: flex;
        align-items: center;
    }

    #pagetop.small .intro h1 {
        color: var(--black);
        font-size: 42px;
        line-height: 50px;
        font-weight: 900;
    }

    #pagetop.small .intro p {
        color: var(--grey);
    }
}

/*================================================
    Header small
================================================*/

#pagetop.small {
    height: 460px;
    padding-bottom: 60px !important;
}

#pagetop.small .intro .et_pb_module.et_pb_image::after {
    content: '';
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.98) 100%);
    position: absolute;
    top: 0;
    left:0;
}

#pagetop.small .intro {
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: end;
    flex-direction: column-reverse;
    position: static;
}

#pagetop.small .intro .et_pb_column {
    position: static;
    max-width: 580px;
}

#pagetop.small .intro .et_pb_module.et_pb_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: unset;
}

#pagetop.small .intro .et_pb_module .et_pb_image_wrap {
    height: 100%;
    width: 100%;
}

#pagetop.small .intro .et_pb_module .et_pb_image_wrap img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

@media only screen and ( max-width: 980px ) {
    #pagetop.small {
        display: block;
        height: unset;
        padding-bottom: 0 !important;
    }

    #pagetop.small .intro {
        padding: 60px 10%;
    }

    #pagetop.small .intro .et_pb_module.et_pb_image::after {
        display: none;
    }

    #pagetop.small .intro .et_pb_module.et_pb_image {
        height: 256px;
        top: 0;
    }

    #pagetop.small .intro .et_pb_module.et_pb_text {
        /* margin-top: 160px; */
        margin-top: 240px;
    }
    #pagetop.small .intro{
        justify-content: center;
    }

    #pagetop.small {
        height: 760px;
        padding-bottom: 0px !important;
    }

    #pagetop .intro a{
        background-color: #0071B6;
        color: white;
    }
    #pagetop .intro, #pagetop .intro .subheadline, #pagetop .intro p{
        color: #999999;
    }
}

@media only screen and ( max-width: 768px ) {

    #pagetop div.et_pb_row.et_pb_row_0.intro{
        padding-top: 220px;
    }

    #pagetop .intro, #pagetop .intro .subheadline, #pagetop .intro p, #pagetop .intro a{
        color: #999999;
    }

    #pagetop .intro h1{
        color: var(--black);
        font-weight: 900;
    }

    #pagetop .intro a{
        background-color: #0071B6;
        color: white;
    }

    div.et_pb_section.et_pb_section_0 {
        margin-top: 35px;
    }

    .et_pb_row.row_Picture{
        width: 100%;
    }

    .section_Homepage{
        margin-top: 0 !important;
        padding: 35px 0;
    }

    #pagetop div.et_pb_row.et_pb_row_0.intro {
        padding-top: 0px;
    }
}

#pagetop.small .intro{
    justify-content: center;
}

#pagetop.small {
    height: 760px;
    padding-bottom: 0px !important;
}

@media only screen and (max-width: 980px) {
    .et_pb_section {
        padding: 60px 0;
    }
}
