header.page_header {
    font-family: "Roboto", sans-serif;
}

header.scrolled {
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.page_header .header_bottom {
    padding: 0;
}

.page_header nav.main_menu>ul>li>a {
    line-height: 40px !important;
    padding: 0 15px;
}

.page_header.scrolled nav.main_menu>ul>li>a {
    line-height: 40px !important;
}

.page_header .drop_down .second {
    left: 0 !important;
}

.page_header nav.main_menu a {
    color: #4a4a4a !important;
    font-size: 13px;
    font-weight: normal;
}

.page_header .drop_down .narrow .second .inner>ul>li {
    width: 274px;
}

.page_header .drop_down .second .inner>ul>li>a {
    color: #4a4a4a !important;
    font-size: 13px;
    line-height: 16px;
    font-weight: normal;
}

.page_header .header_bottom .container {
    box-shadow: none;
}

.page_header .header_bottom .container_inner>nav.main_menu .current-menu-item>a,
.page_header .header_bottom .container_inner>nav.main_menu .current-menu-parent>a,
.page_header .header_bottom .container_inner>nav.main_menu .current_page_parent>a,
.page_header .header_bottom .container_inner>nav.main_menu a:hover {
    color: #e7792d !important;
}

.page_header .header_bottom .container_inner>nav.main_menu .second .inner>ul,
.page_header .header_bottom .container_inner>nav.main_menu li.narrow .second .inner ul {
    border-width: 0px;
    box-shadow: 0 2px 29px 0 rgba(0, 0, 0, 0.1);
    margin-left: 0px;
}

.page_header .header_bottom .container_inner>nav.main_menu .second,
.page_header .header_bottom .container_inner>nav.main_menu li.narrow .second {
    margin-left: 15px;
}

.page_header .header_bottom .container_inner>nav.main_menu .second li {
    border: none;
}

.page_header .header_bottom .container_inner>nav.main_menu .second li:not(:last-child):after {
    content: '';
    margin-left: 15px;
    margin-right: 15px;
    height: 1px;
    background-color: #eee;
    display: block;
}

.page_header .header_bottom .container_inner>nav.main_menu .second a {
    padding: 15px;
}

.page_header .header_bottom .container_inner>nav.main_menu .second .current_page_item a,
.page_header .header_bottom .container_inner>nav.main_menu .second .current-menu-item a {
    color: #e7792d !important;
    border-left: 3px solid #e7792d;
    padding-left: 12px;
}

.page_header .header_bottom .container_inner>nav.main_menu .menu-item:last-child a {
    padding-right: 0;
}

.page_header .header_bottom .q_logo a,
.page_header.scrolled .header_bottom .q_logo a {
    max-height: 40px;
}

.page_header .header_bottom .container_inner>div,
.page_header .header_bottom .container_inner>nav.main_menu,
.page_header .header_inner .container_inner .logo_wrapper,
.page_header.scrolled .header_bottom .container_inner>div,
.page_header.scrolled .header_bottom .container_inner>nav.main_menu,
.page_header.scrolled .header_inner .container_inner .logo_wrapper {
    height: 40px !important;
}

.page_header .header_inner .container_inner .logo_wrapper .q_logo a img,
.page_header.scrolled .header_inner .container_inner .logo_wrapper .q_logo a img {
    max-height: 18px;
}

.page_header .header_inner .container_inner .logo_wrapper .q_logo.q_logo_mobile {
    display: none;
}

.page_header .main_menu .second ul .navbar-dropdown-hover {
    position: absolute;
    height: 0;
    top: 0;
    left: 0;
    background-color: #e7792d;
    width: 3px;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.page_header .drop_down #menu-mainmenu .narrow .second.right .inner>ul>li>a {
    text-align: left;
}

.page_header .drop_down .narrow .second .inner>ul>li {
    min-width: 306px;
}

.page_header .header_bottom .container_inner>nav.main_menu .menu-item-event-category a.no_link:hover {
    color: #4a4a4a !important;
}

.page_header .header_bottom .container_inner>nav.main_menu .menu-item-event-category a.no_link {
    padding: 8px 15px;
    font-size: 13px;
    line-height: 24px;
    text-transform: none;
}

.page_header .header_bottom .container_inner>nav.main_menu .second li.menu-item-event-category:after,
.page_header .header_bottom .container_inner>nav.main_menu .second li.none-bottom-border:after {
    background: transparent;
}

.page_header .drop_down .narrow .second .inner>ul>li.menu-item-event-category a {
    padding-top: 20px;
}

@media only screen and (max-width: 1000px) {
    header.page_header {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .page_header .logo_wrapper,
    .page_header .mobile_menu_button {
        height: 48px;
        width: 40px;
        color: #FFF;
        float: right;
        text-align: right;
        margin-right: 0;
        margin-left: 20px;
    }
    .page_header .header_inner_left:has(.sbc-nav__mobile-buttons--top-bar) .mobile_menu_button{
        margin-left: 0;
    }
    .page_header .header_inner_left:has(.sbc-nav__mobile-buttons--top-bar) .mobile_menu_button span{
        padding-right: 9px;
    }
    .page_header .header_bottom .container_inner>div,
    .page_header .header_bottom .container_inner>nav.main_menu,
    .page_header .header_inner .container_inner .logo_wrapper {
        height: 48px !important;
    }
    .page_header nav.main_menu>ul>li>a {
        line-height: 48px !important;
    }
    .page_header .header_bottom .q_logo a {
        max-height: 48px;
    }
    .page_header .header_inner .container_inner .logo_wrapper .q_logo a {
        left: 0 !important;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .page_header .header_inner .container_inner .logo_wrapper .q_logo a img {
        object-fit: contain;
        top: 0 !important;
        max-height: 18px;
        max-width: 120px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .page_header .header_inner .container_inner .logo_wrapper .q_logo.q_logo_mobile {
        display: block;
    }
    .page_header .header_inner .container_inner .logo_wrapper .q_logo.q_logo_desktop,
    .page_header .header_inner .container_inner .logo_wrapper .q_logo.q_logo_desktop.q_logo_is_thumbnail {
        display: none;
    }
    .page_header .header_inner .container_inner .logo_wrapper {
        left: 0;
        right: 0;
        float: right;
        margin-left: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .page_header .header_bottom .container_inner .header_inner_right,
    .page_header .header_bottom .container_inner>nav.main_menu {
        display: none;
    }
    .page_header .vc_row.full_screen_section {
        padding-top: 0;
    }
    .page_header .logo_wrapper span,
    .page_header .mobile_menu_button span,
    .page_header .mobile_menu_button span i {
        color: white;
        color: var(--main-event-color);
        font-size: 20px;
    }
    /* FontAwesome fix */
    .page_header nav.mobile_menu ul>li.has_sub>span.mobile_arrow i:before,
    .page_header .logo_wrapper i:before,
    .page_header .mobile_menu_button i:before {
        font-family: fontAwesome;
    }
    /* Fix for navigation for event Before update */
    #event-body a.register-now-top-header {
        margin-right: 40px;
    }
    #event-body .header-buttons-section .register-now-top-header {
        margin-right: 20px;
    }
    #event-body .header-buttons-section .register-now-top-header:last-child {
        margin-right: 0;
    }
    #event-body header.fixed.scrolled .header_bottom,
    #event-body nav.mobile_menu {
        background-color: transparent !important;
    }
    /* Fix for blankpage template */
    #blank-page .vc_row.full_screen_section {
        padding-top: 0;
    }
}


/* Fix for the very old events using the Full Width and Default template */

@media only screen and (min-width: 1000px) {
    .page-template-full_width .content.content_top_margin,
    .page-template-default .content.content_top_margin {
        margin-top: 40px !important;
    }
    .page-template-full_width .eventsTopNav.element-is-sticky,
    .page-template-default .eventsTopNav.element-is-sticky {
        top: 40px !important;
    }
}