/*
    The Events Calendar Modifications
    https://theeventscalendar.com/knowledgebase/basic-font-and-color-changes-with-css/
    @author Alex Fagard
 */

/* ==========================================================================
   Variables
   ========================================================================== */

:root {
    --tec-border-radius-default: 0 !important;
    --tec-grid-width: 1380px;
    --ti-event-light-grey: #f9f9f9;
    --ti-event-primary: #0055a4;
    --ti-event-primary-hover: #3b93dc;
}

/* ==========================================================================
   TEC Overrides
   ========================================================================== */

.tribe-events-meta-list li, .tribe-events-sub-nav li {
    padding-left: 0;
}

body #tribe-events-pg-template {
    margin: unset;
    max-width: unset;
    padding: unset;
}

body .tribe-events-meta-group {
    padding: unset;
    width: unset;
}

body .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-top: 40px;
    padding-bottom: 60px;
	/*
	padding-left: 0 !important;
	padding-right: 0 !important;
	*/
    min-height: unset !important;
}

.tribe-events-calendar-month__calendar-event-tooltip-description p,
.tribe-events-calendar-list__event-description p {
	font-size: unset;
	line-height: unset;
}

/* ==========================================================================
   Single Event
   ========================================================================== */

.ti-event ul li, ol li {
	font-size: 18px;
	line-height: unset;
}

/* --- Header --- */

.ti-event .ti-event__header {
    background-color: var(--ti-event-light-grey);
    padding: 10px;
}

.ti-event .ti-event__header .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* --- Content --- */

.ti-event .ti-event__content {
    padding-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-top: 60px;
}

@media (max-width: 1024px) {
    .ti-event .ti-event__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ti-event .ti-event__info {
        order: 2;
    }
}

.ti-event .tribe-events-single-event-description {
    margin-bottom: 20px;
}

.ti-event .ti-event__content .tribe-events-content p:last-child {
    margin-bottom: 0;
}

/* --- Registration --- */

.ti-event .ti-event__registration {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--ti-event-light-grey);
    gap: 16px;
    border-bottom: 3px solid var(--ti-event-primary-hover);
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ti-event .ti-event__registration p {
    font-weight: bold;
    margin: 0;
}

/* --- Button --- */

.ti-event-btn {
    padding: 11px 20px;
    background-color: var(--ti-event-primary);
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    transition: all .3s ease;
}

.ti-event-btn:hover, .ti-even-btn:focus {
    color: #fff;
    background-color: var(--ti-event-primary-hover);
    text-decoration: none;
}

/* --- Image --- */

.ti-event .ti-event__image img {
    max-width: 100%;
    max-height: 500px;
}

/* --- Subscribe Dropdown --- */

.ti-event .tribe-events-c-subscribe-dropdown {
    margin-top: 0px;
    margin-bottom: 20px;
}

.ti-event .tribe-events-c-subscribe-dropdown__button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: bold;
    font-size: 16px;
}

/* --- Meta --- */

.ti-event .ti-event__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-top: 30px;
    padding-bottom: 20px;
}

.ti-event .ti-event__meta .tribe-events-venue-map {
    width: 100%;
    margin: 0;
}

.ti-event .ti-event__meta .tribe-events-venue-map > iframe {
    max-height: 250px;
}

.ti-event .ti-event__meta h2 {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2em;
}

/* --- Footer --- */

.ti-event .ti-event__footer {
    margin-top: 20px;
    margin-bottom: 40px;
}