/**
 * Generic settings, resets, defaults
 */

/** Reset lists */
.Article__content .meetingDetails__navigationList,
.Article__content .mmt-mdp-section-attendees ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mod-meeting2 h1 { /** Hide page title on meeting detail pages */
    position: absolute;
    left: -999em;
}

.mmt-mdp-section > h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.meetingDetails__sidebar .mmt-mdp-section > h3 {
    margin-bottom: 1rem;
}

.meetingDetails__sidebar .mmt-mdp-section > h3 {
    margin-left: -1.875rem;
    padding-left: 1.4rem;
}

/**
 * Layout
 */

.mmt-mdp-section + .mmt-mdp-section,
.meetingDetails__sidebar,
.meetingDetails__overviewLink {
    margin-top: var(--articleMarginBottom);
    display: block;
}

@media (min-width: 900px) {
    .meetingDetails__main,
    .meetingDetails__sidebar {
        display: inline-block;
        box-sizing: border-box;
        vertical-align: top;
    }

    .meetingDetails__main {
        width: calc(65% - 1.5rem);
        margin-right: 3rem;
    }

    .meetingDetails__sidebar {
        width: calc(35% - 1.5rem);
        margin-top: 0;
    }

    .mmt-mdp-section + .mmt-mdp-section {
        margin-top: var(--articleMarginBottom / 2);
    }
}

/** Tables */
.meetingDetails table {
    width: 100%;
    border-collapse: collapse;
}

.meetingDetails a:not(.meetingDetails__overviewLink) {
    text-decoration: none;
}

.meetingDetails caption {
    padding: 2px 0;
    font-family: var(--heading3FontFamily);
    font-weight: var(--heading3FontWeight);
    font-style: var(--heading2FontStyle);
    text-transform: var(--heading3TextTransform);
    color: var(--heading2Color);
    text-align: left;
}

.meetingDetails th,
.meetingDetails td {
    padding: .6em 0;
    text-align: left;
}

.meetingDetails thead th {
    font-weight: 600;
}

.meetingDetails td {
    vertical-align: top;
    line-height: 1.2;
}

.meetingDetails td:first-child {
    word-break: break-word;
}

.meetingDetails td[itemprop="price"] {
    word-break: normal;
}

.mmt-mdp-ticketsTable thead {
    border-bottom: 1px solid var(--baseLight500);
}

.mmt-mdp-ticketsTable tr:not(.mmt-mdp-ticketsTable tbody tr:last-child) {
    border-bottom: 1px solid var(--baseLight500);
}

.mmt-mdp-ticket-description {
    margin-top: 1rem;
}

/**
 * Schedule table
 */

.mmt-mdp-full-schedule {
    display: block;
    padding-top: .5em;
    text-align: right;
    font-size: var(--textSizeS);
    border-top: 1px solid var(--baseDark100);
}

.mmt-mdp-schedule-table td {
    border-top: 1px solid var(--baseLight500);
}

/** Day separators */
.mmt-mdp-schedule-separator td {
    padding: .6em 0;
    font-weight: 600;
    border-top: 0;
}

/** Extra white space in first and last row */
.mmt-mdp-schedule-separator + tr td {
    padding-top: 1em;
}

.mmt-mdp-schedule-table tr.mmt-mdp-last td {
    padding-bottom: 1em;
}

/** Activity with linked documents */
.mmt-activity-has-documents a::after {
    float: right;
    font-family: var(--iconFont);
    content: '\e831';
}

/** Reset 'last' elements */
.mmt-mdp-last {
    margin: 0;
    padding: 0;
    border: 0;
}

/** Downloads */
.mmt-mdp-downloads {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mmt-mdp-downloads a[href*='format=save_to_disk']::before {
    margin-right: .3em;
    font-family: var(--iconFont);
    font-size: var(--textSizeS);
    font-weight: normal;
    content: '\e804';
}

/**
 * .mmt-mdp-header
 * Header of the page. Contains a summary of the meeting and it's cover image
 */

.meetingDetails__header {
    position: relative;
}

.meetingDetails__titleWrapper {
    flex: 1 0 23%;
}

.meetingDetails__title {
    margin-bottom: .4rem;
}

.meetingDetails__contentWrapper {
    margin-bottom: var(--articleMarginBottomSmall);
    padding: var(--innerPaddingX);
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
    background-color: var(--baseLight100);
}

.meetingDetails--hasCover .meetingDetails__contentWrapper {
    position: relative;
    margin-top: -13rem;
}

.meetingDetails__imageContainer {
    position: relative;
    margin-left: -50vw;
    margin-bottom: 2rem;
    left: 50%;
    width: 100vw;
    clip-path: ellipse(120% 97% at 22% 3%);
    min-height: min(50vw, 400px);
}

.meetingDetails__image {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}


@media (min-width: 768px) {
    .meetingDetails__mainWrapper {
        margin-top: 4rem;
    }

    .meetingDetails__contentWrapper {
        margin: 0;
        display: flex;
        gap: 1rem;
    }

    .meetingDetails--hasCover .meetingDetails__mainWrapper {
        margin-top: 8rem;
    }

    .meetingDetails--hasCover .meetingDetails__contentWrapper {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(var(--articleMarginBottom) * -1);
        margin: 0;
        display: flex;
        gap: 1rem;
    }

    .meetingDetails__coverImg {
        height: 500px;
    }
}

.meetingDetails__registration {
    flex: 1;
 }

.meetingDetails__date {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-color-meta);
}

.meeting__locationLink:before {
    margin-right: 0.6rem;
    font-family: var(--iconFont);
    color: var(--accentColor500);
    content: '\e80d';
}

.meeting__online:before {
    margin-right: 0.6rem;
    font-family: var(--iconFont);
    color: var(--accentColor500);
    content: '\f108';
}

.meetingDetails__overviewLink:before {
    margin-right: 0.1rem;
    font-family: var(--iconFont);
    color: var(--accentColor500);
    content: '\e801';
}

/**
* .meetingDetails__navigation
* Detail page navigation
*/

.meetingDetails__navigation {
    flex: 1 1 100%;
    margin-bottom: 2rem;
}

.meetingDetails__navigationItem {
    text-align: center;
}

.meetingDetails__navigation a {
    display: block;
    padding: .5em 0;
    text-decoration: none;
}

.meetingDetails__navigationItem--active a {
    font-weight: 700;
}

.meetingDetails__navigationItem--active::after {
    display: block;
    width: 100%;
    height: 5px;
    background: var(--accentColor500);
    content: '';
}

@media (min-width: 768px) {
    .meetingDetails__navigationList {
        display: flex;
        flex-wrap: nowrap;
    }

    .meetingDetails__navigation a {
        padding: 0 1em 1em;
    }
}

/**
 * .mmt-mdp-categoriesList
 * Tags list
 */

.mmt-mdp-categoriesList {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mmt-mdp-categoriesItem {
    display: inline-block;
    margin: 0 .5em .6em 0;
    padding: .5em 1em;
    background: rgba(28, 33, 81, .1);
}

/**
 * .meetingDetails__sidebar
 * Layout of content inside sidebar (same sidebar on every page, hence in generic file)
 */

.meetingDetails__sidebarWrapper {
    margin-bottom: 2rem;
}

.meetingDetails__sidebarInner {
    padding: 1.875rem;
    box-shadow: var(--boxShadow);
    border-radius: var(--borderRadius);
}

/**
 * List of Attendees
 */

.mmt-mdp-section-attendees-list span,
.mmt-mdp-section-attendees-list a {
    display: block;
}

/**
 * social media
 */

.mmt-mdp-section-social-media,
.mmt-mdp-section-social-media .mmt-mdp-section-inner {
    display: flex;
}

.mmt-mdp-section-social-media .mmt-mdp-section-inner {
    margin-left: auto;
}

.mmt-mdp-section .mmt-mdp-section-social-media-title {
    font-size: var(--bodySize);
    font-weight: 400;
}

.at-icon-wrapper svg {
    fill: var(--primaryColor500);
}

.at-icon-wrapper {
    background-color: var(--baseLight100) !important;
    color: var(--primaryColor500);
}
