/**
 * CSS: Event Booking - Events
 */

/*===============================================================================================*/
/* Events list */

/* Center the buttons in the Event popup. */
.azEvent-popup-controls {
    text-align: center;
    margin-top: 0.5em;
}

#azEvent-events-list .azEvent-category {
    padding: 0;
    border: none;
}

#azEvent-events-list .ui-collapsible-heading {
    margin: 0;
}

#azEvent-events-list .ui-collapsible-heading-toggle {
    border-top: none;
    padding-left: 3em;
}

#azEvent-events-list .ui-btn-inner {
    padding-right: 0;
}

#azEvent-events-list .ui-li-count {
    right: 3em;
}

#azEvent-events-list .azEvent-eventHeader-count {
    right: 3em;
}

.azEvent-category-title {
    font-size: 1.3em;
}

.azEvent-category-hideText {
    font-weight: normal;
}

.azEvent-event-date {
    font-weight: normal;
}

li.azEvent-event-full {
    opacity: 0.6;
}

ul li.azEvent-category:last-child {
    margin-bottom: 1em;
}

/*===============================================================================================*/
/* View bookings table */

#azEvent-view table tbody td {
    vertical-align: middle;
}

.azEvent-view-key {
    font-weight: bold;
    width: 15em;
}

.azEvent-view-value {
    font-size: 1.1em;
}

.azEvent-view-session-time {
    width: 7em;
}

#event-location-description {
    padding: 0.5em;
    font-size: 0.9em;
    opacity: 0.6;
    line-height: 1em;
}

/*===============================================================================================*/
/* Barcode */

#azEvent-viewBooking table {
    width: 100%;
}

#azEvent-barCode {
    display: inline-block;
    float: right;
}

#azEvent-barCode.mobile {
    display: block;
    margin-top: 1em;
    float: none;
    text-align: center;
}

/* limit the modal width */
.azModal-container:not(.azModal-wait):not(.azModal-message) .azModal-contentContainer {
    max-width: 600px;
}

/* NOTE: We do NOT include #azEvent-calendar in our selector here, so that client CSS can override these rules by adding that! */
.fc-v-event .fc-event-main  {
    font-weight: normal;
    color: #000;
    background: #fcfcfc;
    font-size: 1.1em;
    text-shadow: none;
}

#azEvent-calendar .fc-v-event {
    border: 1px solid #999;
}

#azEvent-calendar {
    --session-maxPartySize-font-color: red;
}

.fc-v-event .max-party-size {
    color: var(--session-maxPartySize-font-color);
    display: block;
    font-weight: bold;
}

/*===============================================================================================*/
/* Print */

@media print {

    body,
    body.ui-overlay-a,
    body.ui-overlay-c {
        overflow: visible;
        background: none;
        width: auto;
    }
    
    #azPage {
        width: auto;
    }

    #azContainer {
        margin-top: 0px;
        width: auto;
    }

    #azContent {
        border: none !important;
        width: auto;
    }
    
    #azHeader,
    #azFooter,
    #azPublicNavbar-header,
    .ui-btn {
        display: none;
    }
    
    #azEvent-view {
        display: block !important; 
    }
    
    #azEvent-calendar,
    #azBacklink {
        display: none;
    }
}
