///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

.eventstabs-wrapper {
    background-color: black;
    .stars {
        padding: 50px 0 50px 0;
    }
}

.eventstabs {
    overflow: hidden;
    position: relative;
    min-height: 540px;
    background-color: black;
}

.eventstabs-tab {
    // NOTE: add style here if needed
}

.eventstabs-tab--event-over {
    .eventstabs-tab-header {
        background-color: #302E2F;
    }
    .eventstabs-tab-header-date {
        color: $color-grey-light;
    }
    .eventstabs-tab-header-location {
        color: $color-grey-light;
    }
    .eventstabs-tab-header-status {
        color: $color-grey-light;
    }
}

.eventstabs-tab:hover,
.eventstabs-tab.is-active {
    .eventstabs-tab-header {
        background-color: #FFFFFF;
    }
    .eventstabs-tab-header-date {
        color: #333333;
    }
    .eventstabs-tab-header-status {
        color: #333333;
    }
}

.eventstabs-tab-header {
    align-items: center;
    flex-direction: column;
    font-size: 1rem;
    justify-content: flex-start;
    padding: 15px 0;
}

.eventstabs-tab-header-date {
    color: $color-grey-light;
    font-family: lucien-regular, sans-serif;
    font-size: 0.7em;
    margin-bottom: 3px;
}

.eventstabs-tab-header-location {
    color: $color-golden;
    font-family: lucien-regular, sans-serif;
    font-size: 1em;
    margin-bottom: 3px;
}

.eventstabs-tab-header-status {
    color: $color-grey-light;
    font-family: lucien-regular, sans-serif;
    font-size: 0.7em;
}

.eventstabs-tab-header-status--soldout {
    color: $color-red !important;
}

.eventstabs-tab-content {
    // NOTE: add style here if needed
}

.eventstabs-event {
    display: flex;
    width: 100%;
}

.eventstabs-event-figure {
    height: 235px;
    margin: 0;
    width: 280px;
}

.eventstabs-event-figure-image {
    height: 100%;
    width: 100%;
}

.eventstabs-event-description {
    flex-basis: 0;
    flex-grow: 2;
    font-size: 1rem;
    padding-left: 30px;
}

.eventstabs-event-description-date {
    color: $color-grey-light;
    font-family: lucien-regular, sans-serif;
    font-size: 0.9em;
    margin: 0 0 10px;
    padding: 0;
}

.eventstabs-event-description-location {
    color: $color-golden;
    font-family: lucien-regular, sans-serif;
    font-size: 1.5em;
    margin: 0 0 10px;
    padding: 0;
}

.eventstabs-event-description-paragraph {
    color: $color-black-light;
    font-family: georgia-regular, serif;
    font-size: 1.1em;
    line-height: 1.1;
    margin: 0 0 15px;
    padding: 0;

    a {
        color: $color-grey-light;
        font-family: lucien-regular, sans-serif;
        text-decoration: underline;
    }
    small {
        font-size: 0.8em;
    }
}

.eventstabs-event-description-buttons {
    margin-bottom: 20px;
}

.eventstabs-event-description-buttons-item {
    min-width: 215px;
    padding: 20px !important;

    &:not(:first-child) {
        margin-left: 10px;
    }
}

///////////////////////////////////////////////////////////////
// Device: Tablet
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-below {
    .eventstabs-tab {
        height: auto !important;
    }
    .eventstabs-tab.is-active {
        .eventstabs-tab-content {
            padding: 40px;
        }
    }
    .eventstabs-tab-header {
        justify-content: center;
    }
    .eventstabs-event-description {
        font-size: 2vw;
    }
    .eventstabs-event-description-buttons-item {
        display: block;
        margin: 0 0 20px 0;
        width: 100%;

        &:not(:first-child) {
            margin-left: 0;
            margin-top: 20px;
        }
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below {
    .eventstabs {
        height: auto !important;
    }
    .eventstabs-tab.is-active {
        .eventstabs-tab-content {
            padding: 20px;
        }
    }
    .eventstabs-event {
        display: block;
    }
    .eventstabs-event-figure {
        height: auto;
        margin-bottom: 40px;
        width: 100%;
    }
    .eventstabs-event-figure-image {
        height: auto;
        width: 100%;
    }
    .eventstabs-event-description {
        font-size: 4vw;
        padding-left: 0;
    }
    .eventstabs-event-description-paragraph {
        line-height: 1.4;
    }
}