#dashboard_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.dashboard_logo {
    max-width: 350px;
    box-sizing: border-box;
}
.dashboard_logo a {
    box-sizing: border-box;
    display: flex;
    padding: 20px 40px;
}
.dashboard_logo img {
    box-sizing: border-box;
    display: block;
    width: 100%;
}
.organizer_name_holder {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
}
.organizer_initials {
    font-size: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e55c13;
    border-radius: 50%;
    color: #fff;
}
.organizer_name {
    color: #000;
    font-weight: 700;
}
.align_center {
    align-items: center;
}
#page_wrap {
    display: flex;
    flex-direction: row;
}
main#dashboard {
    flex: 1 0;
    min-height: 100lvh;
    box-sizing: border-box;
}
aside#dashboard_sidebar {
    height: 100lvh;
    background-color: #f5f5f5;
    position: sticky;
    top: 0;
}
.sidebar_container {
    display: flex;
    flex-direction: row;
    height: 100%;
    min-height: calc(100lvh - 120px);
}
#dashboard .full-width-featured-image {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
}
.sidebar_menu_holder {
    padding: 40px 10px 10px;
    border-right: 1px solid #ccc;
}
.sidebar_submenu_holder {
    padding: 60px 20px 20px;
    min-width: 200px;
    max-height: 100%;
    overflow-y: auto;
}
.sidebar_submenu_holder h4 {
    margin: 0;
    font-size: 18px !important;
}
#sidebar_menu {
    list-style: none;
    padding: 5px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: 100%;
}
#sidebar_menu li {
    display: flex;
}
li.settings_menu_item {
    margin-top: auto;
}
#sidebar_menu li.current_page {
    background-color: #E55C13;
    border-radius: 5px;
}
#sidebar_menu svg {
    width: 35px;
    stroke: #000;
    padding: 5px;
}
.container {
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.full-width-featured-image img {
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
}
.dashboard_settings {
    max-width: 600px;
    margin: auto;
}
.settings_content {
    margin-bottom: 60px;
}
.settings_content h3 {
    margin-bottom: 0;
    font-weight: 400 !important;
}
.settings_description p {
    margin: 0;
    font-size: 14px;
    color: #000;
}
.settings_form .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.settings_form .wpcf7-list-item {
    margin: 0;
}
.settings_form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.settings_form input[type="checkbox"] {
    order: 2;
    width: 30px;
    height: 30px;
}
.settings_form .wpcf7-textarea {
    width: 100%;
    border-color: #333 !important;
    box-sizing: border-box;
}
.settings_form label {
    color: #333;
}
.settings_submit_holder > p {
    display: flex;
    flex-direction: column;
    align-items: end;
}
.settings_form .wpcf7-submit {
    background-color: #e55c13 !important;
    border: none;
    color: #fff !important;
    margin-bottom: 20px;
    box-sizing: border-box;
    cursor: pointer;
}
#dashboard #tribe-events-pg-template .event_post_content {
    flex: 1;
}
#dashboard #tribe-events-pg-template .tribe_single_event_header {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.toggle {
    cursor: pointer;
    display: inline-block;
}
.toggle-checkbox {
    position: absolute;
    visibility: hidden;
}
.toggle-switch {
    display: inline-block;
    border: 1px solid #333;
    border-radius: 16px;
    width: 80px;
    height: 34px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
    background: #ddd;
}
.toggle-switch:before, .toggle-switch:after {
    content: "";
}
.toggle-switch:before {
    display: block;
    background: #fff;
    border-radius: 50px;
    width: 40px;
    height: 30px;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.25s;
}
.toggle-checkbox:checked + .toggle-switch {
    background: #dc3545;
}
.toggle-checkbox:checked + .toggle-switch:before {
    left: 38px;
}
.sold_out_container {
    padding: 30px;
    background-color: #ddd;
    border-radius: 15px;
}
.small_title {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin: 0;
}
.small_date {
    font-size: 12px;
    color: #000;
}
.sold_out_container h4 {
    margin-top: 20px;
    margin-bottom: 20px;
}
.sold_out {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.sold_out_text p {
    margin: 0;
    color: #000;
}
.dashboard_my_events {
    margin-bottom: 60px !important;
}
.sold_out_recurrence {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
}
.sold_out_recurrence label {
    font-size: 14px;
    color: #000;
}
#sold_out_recurrence {
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #fff;
}
#set_soldout_recurrence {
    padding: 7px;
    background: #e55c13;
    border-color: #e55c13;
    cursor: pointer;
}
.dashboard_my_event_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dashboard_event_item {
    padding: 20px;
    display: flex;
    background-color: #ddd;
    gap: 15px;
    align-items: start;
    cursor: pointer;
}
.event_dot {
    width: 10px;
    height: 10px;
    border: 1px solid blue;
    border-radius: 50%;
    position: relative;
    margin-top: 3px;
}
.event_dot:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: blue;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.dashboard_event_item.selected {
    background-color: #e55c13;
}
.dashboard_event_item.selected .event_dot {
    visibility: hidden;
    opacity: 0;
}
.list_event_title {
    font-size: 14px;
    color: #000;
    font-weight: 700;
}
.list_event_date {
    font-size: 12px;
    color: #000;
    margin-top: 7px;
}

.loading {
    position: relative;
}
.loading:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    opacity: 0.8;
}
.loading:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-image: url(/wp-content/themes/cavalieri-di-cultura/assets/css/ajax-loader.gif);
    background-repeat: no-repeat;
    background-position: center;
}
.mobile_menu_toggle,
.mobile_toggle_off {
    display: none;
}
.edit_institution_link {
    margin-top: 40px;
    display: flex;
    color: #e55c13;
}
.sold_out_select {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #000;
}
.other_info_container {
    display: flex;
    gap: 50px;
}
.other_info_container h5 {
    margin: 0 !important;
    color: #000;
}
select#soldout {
    padding: 10px;
}
.soldout_confirm {
    background-color: #E55C13;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    text-align: center;
}
.no-events-message .button {
    background-color: #e55c13;
    border: none;
    color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    padding: 15px 30px;
    min-width: 200px;
    text-align: center;
    border-radius: 10px;
    margin-top: 20px;
    display: inline-block;
    width: auto;
}

@media(min-width: 768px) and (max-width: 1280px) {
    #dashboard .event_header_container {
        gap: 40px;
    }
    #dashboard .single_event_img img {
        width: 250px;
    }
    #dashboard .single_event_title .tribe-events-single-event-title {
        color: #fff;
        font-size: 26px;
    }
}

@media(max-width: 767px) {
    #page_wrap {
        position: relative;
    }
    main#dashboard {
        max-width: 100%;
    }
    .dashboard_logo a {
        padding: 10px;
    }
    .dashboard_logo img {
        max-width: 120px;
    }
    .organizer_name_holder {
        padding: 20px;
        gap: 10px;
    }
    .organizer_initials {
        font-size: 18px;
        width: 40px;
        height: 40px;
        line-height: 1;
    }
    .organizer_name {
        display: none;
    }
    aside#dashboard_sidebar {
        position: fixed;
        transform: translateX(-120%);
        transition: transform .6s ease-in;
        z-index: 999999;
    }
    .mobile_menu_toggle {
        display: block;
        width: 40px;
        margin-left: 20px;
    }
    .mobile_menu_toggle svg,
    .mobile_toggle_off svg {
        width: 30px;
    }
    .mobile_menu_toggle path,
    .mobile_toggle_off path {
        stroke: #000;
    }
    .mobile_toggle_on #dashboard_sidebar {
        transform: translateX(0);
    }
    .mobile_toggle_off {
        display: flex;
        width: 100%;
        height: 30px;
        padding: 10px;
        justify-content: end;
        align-items: end;
    }
    .sidebar_menu_holder {
        padding: 100px 10px 10px;
    }
    #dashboard_header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
        background-color: #fff;
    }
}