/* Global */
.sg-icon {
    width: 1em;
    display: inline-block;
    font-size: inherit;
    overflow: visible;
    vertical-align: -0.125em;
}

.sg-icon--three-quarters {
    width: .75em;
    vertical-align: baseline;
}

.sg-events__title {
    margin-bottom: 15px;
}

/* Filter Bar */
.sg-events-filter-bar {
    display: flex;
}

input[type=text].sg-events-filter-bar__search {
    width: 100%;
    display: block;
    max-width: 300px;
    font-size: 18px;
    margin-left: auto;
    padding: 10px;
}

/* Group Select */
.sg-events-group-select {
    display: flex;
    justify-content: center;
}

.sg-events-group-select__group-button {
    margin-right: 15px;
    display: block;
    font-size: 20px;
    padding: 15px 30px;
    text-decoration: none;
    transition: .2s color ease, .2s background-color ease;
    cursor: pointer;
}

.sg-events-group-select__group-button:last-child {
    margin-right: 15px;
}

/* Events */
.sg-events,
.sg-events * {
    box-sizing: border-box;
}

.sg-events {
    font-family: Helvetica Neue, Helvetica, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

.sg-events__inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

/* Event Grid */
.sg-events--grid {
    font-size: 18px;
    padding-left: 15px;
    padding-right: 15px;
}

.sg-events--grid .sg-events__inner {
    margin-left: -15px;
    margin-right: -15px;
}

.sg-events--grid .sg-events__event {
    width: 100%;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 30px;
}

.sg-events--grid .sg-events__event > article {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sg-events--grid .sg-events__event-featured-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sg-events--grid .sg-events__event-featured-image-wrapper::before {
    content: '';
    display: block;
    padding-top: 50%;
}

.sg-events--grid .sg-events__event-featured-image  {
    max-width: 100%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.sg-events--grid .sg-events__event-details {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.sg-events--grid .sg-events__event-details > header {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sg-events--grid .sg-events__event-title {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.sg-events--grid .sg-events__event-title-link {
    text-decoration: none;
}

.sg-events--grid .sg-events__event-supporting-artists {
    font-size: 20px;
    margin: 0;
    font-weight: 400;
}

.sg-events--grid .sg-events__event-date {
    font-size: 24px;
    font-weight: 700;
}

.sg-events--grid .sg-events__event-venue {
    padding-top: 30px;
    margin-top: auto;
}

.sg-events--grid .sg-events__event-venue-name {
    font-weight: 700;
}

.sg-events--grid .sg-events__event-presented-by {
    font-size: 14px;
}

.sg-events--grid .sg-events__event-ticket-link {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    width: 100%;
    padding: 5px;
    transition: .2s color ease, .2s background-color ease;
}

/* Grid Responsive */
@media (min-width: 768px) {
    .sg-events--grid .sg-events__event {
        width: calc(100% / 2 - 30px);
    }
}

@media (min-width: 960px) {
    .sg-events--grid .sg-events__event {
        width: calc(100% / 3 - 30px);
    }
}

/* Event List */
.sg-events--list .sg-events__event {
    width: 100%;
    margin-bottom: 30px;
}

.sg-events--list .sg-events__event > article {
    width: 100%;
    /* Allows the events to have the same height when in columns of 2 or more */
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.sg-events--list .sg-events__event-date {
    width: 100%;
    max-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.sg-events--list .sg-events__event-day-of-week {
    font-size: 18px;
}

.sg-events--list .sg-events__event-month {
    font-size: 40px;
}

.sg-events--list .sg-events__event-day {
    font-size: 75px;
}

.sg-events--list .sg-events__event-year {
    font-size: 17px;
}

.sg-events--list .sg-events__event-featured-image-wrapper {
    /* Prevent element from shrinking when other elements grow too large */
    flex-shrink: 0;
    position: relative;
    width: calc(100% - 140px);
}

.sg-events--list .sg-events__event-featured-image-wrapper:before {
    padding-top: 100%;
    content: " ";
    display: block;
}

.sg-events--list .sg-events__event-featured-image-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sg-events--list .sg-events__event-featured-image {
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
    object-fit: cover;
    transition: opacity .2s ease;
}

.sg-events--list .sg-events__event-featured-image:hover,
.sg-events--list .sg-events__event-featured-image:focus {
    opacity: .7;
}

.sg-events--list .sg-events__event-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 20px;
}

.sg-events--list .sg-events__event-top-bar {
    font-size: 18px;
}

.sg-events--list .sg-events__event-title-link {
    font-size: 30px;
    text-transform: uppercase;
    display: block;
    color: inherit;
    text-decoration: none;
}

.sg-events--list .sg-events__event-supporting-artists {
    font-size: 20px;
    font-weight: 400;
}

.sg-events--list .sg-events__event-start {
    display: block;
    margin-bottom: 5px;
    font-size: 25px;
    margin-top: 15px;
}

.sg-events--list .sg-events__event-bottom-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.sg-events--list .sg-events__event-age-restriction {
    font-size: 12px;
    font-style: italic;
}

.sg-events--list .sg-events__event-ticket-link {
    display: block;
    font-size: 20px;
    width: 180px;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    transition: .2s color ease, .2s background-color ease;
}

/* List Responsive */
@media (min-width: 768px) {
    .sg-events--list .sg-events__event {
        width: calc(50% - 7.5px);
        margin-right: 15px;
    }

    .sg-events--list .sg-events__event:nth-child(2n) {
        margin-right: 0;
    }

    .sg-events--list .sg-events__event-day-of-week {
        font-size: 22px;
    }

    .sg-events--list .sg-events__event-month {
        font-size: 44px;
        font-weight: 300;
    }

    .sg-events--list .sg-events__event-day {
        font-size: 85px;
        font-weight: 700;
    }

    .sg-events--list .sg-events__event-year {
        font-size: 17px;
    }
}

@media (min-width: 960px) {
    .sg-events--list .sg-events__event {
        width: 100%;
        margin-right: 0;
        flex-wrap: nowrap;
    }

    .sg-events--list .sg-events__event > article {
        flex-wrap: nowrap;
    }

    .sg-events--list .sg-events__event-featured-image-wrapper {
        width: 100%;
        max-width: 20%;
    }
}

/** Event List Two */
.sg-events--list-two .sg-events__event {
    width: 100%;
    margin-bottom: 30px;
}

.sg-events--list-two .sg-events__event > article {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.sg-events--list-two .sg-events__event-left-bar {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sg-events--list-two .sg-events__event-featured-image-wrapper {
    /* Prevent element from shrinking when other elements grow too large */
    flex-shrink: 0;
    position: relative;
}

.sg-events--list-two .sg-events__event-featured-image-wrapper:before {
    padding-top: 100%;
    content: " ";
    display: block;
}

.sg-events--list-two .sg-events__event-featured-image-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sg-events--list-two .sg-events__event-featured-image {
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
    object-fit: cover;
    transition: opacity .2s ease;
}

.sg-events--list-two .sg-events__event-featured-image:hover,
.sg-events--list-two .sg-events__event-featured-image:focus {
    opacity: .7;
}

.sg-events--list-two .sg-events__event-date {
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 15px;
    text-align: center;
}

.sg-events--list-two .sg-events__event-details {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.sg-events--list-two .sg-events__event-top-bar {
    font-size: 16px;
}

.sg-events--list-two .sg-events__event-title-link {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    display: block;
    color: inherit;
    text-decoration: none;
}

.sg-events--list-two .sg-events__event-supporting-artists {
    font-size: 20px;
    font-weight: 400;
}

.sg-events--list-two .sg-events__event-time {
    margin-top: 15px;
    font-size: 16px;
}

.sg-events--list-two .sg-events__event-bottom-bar {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.sg-events--list-two .sg-events__event-ticket-link {
    display: block;
    font-size: 20px;
    width: 180px;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    transition: .2s color ease, .2s background-color ease;
    margin-top: 15px;
}

.sg-events--list-two .sg-events__event-age-restriction {
    font-size: 12px;
    font-style: italic;
}

/* Events List Two Responsive */
@media (min-width: 768px) {
    .sg-events--list-two .sg-events__event {
        width: calc(50% - 7.5px);
        margin-right: 15px;
    }

    .sg-events--list-two .sg-events__event:nth-child(2n) {
        margin-right: 0;
    }
}

@media (min-width: 960px) {
    .sg-events--list-two .sg-events__event {
        width: 100%;
        margin-right: 0;
    }

    .sg-events--list-two .sg-events__event > article {
        flex-direction: row;
    }

    .sg-events--list-two .sg-events__event-left-bar {
        max-width: 30%;
    }

    .sg-events--list-two .sg-events__event-details {
        max-width: 70%;
    }

    .sg-events--list-two .sg-events__event-bottom-bar {
        justify-content: flex-start;
    }
}

/* Event List Simple */
.sg-events--list-simple .sg-events__event {
    width: 100%;
    border-bottom: 1px solid;
    padding: 30px 15px;
}

.sg-events--list-simple .sg-events__event-date {
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.sg-events--list-simple .sg-events__event-title {
    font-size: 24px;
    font-weight: 700;
}

.sg-events--list-simple .sg-events__event-title-link {
    text-decoration: none;
}

/** Calendar */
.sg-events--calendar .sg-events--calendar__calendar {
    width: 100%;
}

.sg-events--calendar .sg-events__event {
    padding: 0 15px;
}

.sg-events--calendar .sg-events__event-title {
    font-size: 16px;
    font-weight: 700;
    white-space: normal;
    transition: .2s opacity ease;
}

.sg-events--calendar .sg-events__event:hover .sg-events__event-title {
    opacity: 0.7;
}

.sg-events--calendar .sg-events__event-time {
    font-size: 12px;
}

.sg-events--calendar .sg-events--calendar__calendar .fc-event:hover {
    background: transparent;
}

.sg-events--calendar .fc-toolbar-title {
    font-size: 24px;
}

.sg-events--calendar .fc-button {
    padding: 0.2em 0.325em;
}

/* Colors */
input[type=text].sg-events-filter-bar__search {
    color: #353535;
    border: 1px solid #353535;
}

.sg-events-group-select__group-button {
    background-color: #353535;
    color: #FFFFFF;
}

.sg-events-group-select__group-button--is-active {
    background-color: #B74545;
    color: #FFFFFF;
}

.sg-events-group-select__group-button:hover,
.sg-events-group-select__group-button:focus {
    background-color: #6F6F6f;
    color: #FFFFFF;
}

.sg-events--list .sg-events__event-date,
.sg-events--list-two .sg-events__event-date {
    background-color: #353535;
    color: #FFFFFF;
}

.sg-events--list .sg-events__event-details,
.sg-events--grid .sg-events__event-details,
.sg-events--list-two .sg-events__event-details {
    background-color: #E4E4E4;
    color: #3C3C3C;
}

.sg-events--list .sg-events__event-title-link,
.sg-events--list-simple .sg-events__event-title-link {
    color: #353535;
}

.sg-events--list .sg-events__event-top-bar {
    color: #3C3C3C;
}

.sg-events--list .sg-events__event-age-restriction {
    color: #121212;
}

.sg-events--list .sg-events__event-ticket-link,
.sg-events--list-two .sg-events__event-ticket-link {
    background-color: #B74545;
    color: #FFFFFF;
}

.sg-events--list .sg-events__event-ticket-link:hover,
.sg-events--list .sg-events__event-ticket-link:focus,
.sg-events--list-two .sg-events__event-ticket-link:hover,
.sg-events--list-two .sg-events__event-ticket-link:focus {
    background-color: #6F6F6f;
    color: #FFFFFF;
}

.sg-events--grid .sg-events__event-date {
    color: #353535;
}

.sg-events--grid .sg-events__event-ticket-link {
    background-color: #B74545;
    color: #FFFFFF;
}

.sg-events--grid .sg-events__event-ticket-link:hover,
.sg-events--grid .sg-events__event-ticket-link:focus {
    background-color: #6F6F6f;
    color: #FFFFFF;
}

.sg-events--list-simple .sg-events__event-details {
    color: #353535;
}


/* Search */

.sg-events-search {
    width: 100%;
    font-size: 18px;
    color: #353535;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}

.sg-events-search .sg-events-search__inner {
    border: 1px solid #353535;
    background: #FFFFFF;
    position: relative;
}

.sg-events-search .sg-events-search__input {
    width: 100%;
    font-size: inherit;
    color: inherit;
    outline: none;
    border: none;
    padding: 10px 50px 10px 10px;
    background: transparent;
}

.sg-events-search .sg-events-search__input:focus {
    outline: none;
}

.sg-events-search button.sg-events-search__submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    outline: none;
    padding: 0 0 0 10px;
    margin: 0;
    background: transparent !important;
}

/* No Results */
.sg-events--no-results {
    padding-left: 15px;
    padding-right: 15px;
}

/* No Events */
.sg-events--no-events {
    padding-left: 15px;
    padding-right: 15px;
}

/** Error */
.sg-events--error {
    padding-left: 15px;
    padding-right: 15px;
}
