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

.mmt-mdp-section + .mmt-mdp-section {
    margin-top: var(--articleMarginBottomSmall);
}

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

/**
 * Layout
 */
.mmt-mdp-content {
    margin-bottom: 50px;
}

@media screen and (min-width: 900px) {
    /** Columns */
    .mmt-mdp-main,
    .mmt-mdp-sidebar {
        display: inline-block;
        box-sizing: border-box;
        vertical-align: top;
    }

    .mmt-mdp-main {
        width: calc(66.6667% - 25px);
        margin-right: 50px;
    }

    .mmt-mdp-sidebar {
        width: calc(33.3334% - 25px);
    }
}

/** Tables */
.mmt-meeting-detail-page table {
    width: 100%;
    border-collapse: collapse;
}

.mmt-meeting-detail-page a {
    text-decoration: none;
}

.mmt-meeting-detail-page caption {
    padding: 2px 0;
    text-align: left;
}

.mmt-meeting-detail-page th,
.mmt-meeting-detail-page td {
    padding: .6em 1em;
    text-align: left;
}

.mmt-meeting-detail-page th {
    font-size: .8em;
}

.mmt-meeting-detail-page thead th {
    padding: .6em 1.4em;
    background: rgba(0,0,0,0.05);
}

.mmt-meeting-detail-page td {
    vertical-align: top;
    line-height: 1.2;
    word-break: break-word;
}

.mmt-meeting-detail-page td[itemprop="price"] {
    word-break: normal;
}

/**
 * Schedule table
 */
.mmt-mdp-full-schedule {
    display: block;
    padding-top: .5em;
    text-align: right;
    font-size: .8em;
    border-top: 1px solid #ccc;
}

.mmt-mdp-full-schedule:after {
    padding-left: .5em;
    font-family: "fjell";
    content: "\27f6";
}

.mmt-mdp-schedule-table td {
    border-top: 1px solid #ccc;
}

/** Day separators */
.mmt-mdp-schedule-separator td {
    padding: .6em 1.4em;
    font-weight: bolder;
    font-size: .8em;
    border-top: 0;
    background: rgba(0,0,0,0.05);
}

/** 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: "fjell";
    content: "\1f4c1";
}

/** 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: "fjell";
    font-size: 14px;
    font-weight: normal;
    content: "\2913";
}

/**
 * cta buttons
 */

.mmt-mdp-link:before,
.mmt-mdp-call-to-action:before {
    padding-right: .5em;
    font-family: "icons";
}

.mmt-mdp-cta--registration {
    margin: 0 1em 1em 0;
}

.mmt-mdp-cta--divider {
    margin: 0 1em 0 0;
}

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

.mmt-mdp-header {
    position: relative;
    overflow: hidden;
}

.mmt-mdp-cover-image {
    position: absolute;
    top: 0;
    width: 100%;
    display: block;
}

.mmt-mdp-headerPhoto {
    padding-top: 40%;
    background-image: url(../../../img/snippets/no-cover.jpg);
    background-position: 50%;
    background-size: cover;
    background-color: #f1f1f1;
}

/** Meetings meta data */

.mmt-mdp-meta-data {
    /*font-size: .9rem;*/
}

.mmt-mdp-meta-data span {
    position: relative;
    display: block;
    /*padding-left: 20px;*/
    margin-right: 2em;
}

.mmt-mdp-meta-data span a:hover {
    text-decoration: underline;
}

.mmt-mdp-summary {
    padding: var(--innerPaddingX);
    color: var(--baseLight100);
    background: var(--secondaryColor500);
}

/** Cover photo enabled */
.mmt-mdp-has-cover .mmt-mdp-summary h2 {
    margin-top: .8em;
}

.mmt-mdp-has-cover .mmt-mdp-summary {
    padding: 1px 20px;
}

@media screen and (min-width: 640px) {
    .mmt-mdp-has-cover .mmt-mdp-summary {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
        color: #fff;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    }

    .mmt-mdp-has-cover .mmt-mdp-summary h2,
    .mmt-mdp-has-cover .mmt-mdp-meta-data span {
        color: #fff;
    }

    .mmt-mdp-has-cover .mmt-mdp-summary a {
        color: #fff;
    }
}

.mmt-meeting-detail-page:not(.mmt-mdp-has-cover) .mmt-mdp-meta-data {
    margin-bottom: 0;
}

/**
 * .mmt-mdp-nav
 * Detail page navigation
 */

.mmt-mdp-nav {
    float: left;
    width: 100%;
    margin-bottom: var(--articleMarginBottomSmall);
    padding-bottom: 1rem;
    border-bottom: 1px solid #e4ebf1;
}

.mmt-mdp-nav li {
    float: left;
    width: 50%;
    text-align: center;
}

@media screen and (min-width: 500px) {
    .mmt-mdp-nav li {
        width: 33.3334%;
    }
}

@media screen and (min-width: 720px) {
    .mmt-mdp-nav li {
        display: inline-block;
        width: auto;
    }
}

.mmt-mdp-nav a {
    display: block;
    padding: 0.3em;
    text-decoration: none;
}

.mmt-mdp-active a {
    font-weight: bold;
    color: #315d73;
}

@media screen and (min-width: 720px) {
    .mmt-mdp-nav a {
        padding: 0 1em;
    }
}

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

.mmt-mdp-sidebar {
    margin: 50px 0;
}

@media screen and (min-width: 900px) {
    .mmt-mdp-sidebar {
        margin-top: 0;
    }
}

/** Ticket prices */

/** Block: List of tickets */
.mmt-mdp-ticketsTable td {
    border-top: 1px solid #ccc;
}

.mmt-mdp-ticket-description {
    padding-top: .5em;
    border-top: 1px solid #ccc;
    font-size: .8em;
}

.mmt-mdp-title-price,
td[itemprop='price'] {
    text-align: right !important;
}

/**
 * List of Attendees
 */

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

/**
 * Social media
 */

.main .addthis_toolbox a[target='_blank']:after {
    content: none;
}
