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

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

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

.mmt-mdp-summary h2 {
    margin-bottom: 0.2em;
}

.mmt-mdp-content h3 {
    font-size: 1.3rem;
    margin-top: 0;
}

/**
 * Layout
 */

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

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

    .mmt-mdp-main {
        width: calc(60% - 1.5rem);
        margin-right: 3rem;
    }

    .mmt-mdp-sidebar {
        width: calc(40% - 1.5rem);
    }
}

/** 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 0;
    text-align: left;
}

.mmt-meeting-detail-page thead th {
    font-weight: 600;
}

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

.mmt-meeting-detail-page td:first-child {
    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-schedule-table td {
    border-top: 1px solid #ccc;
}

/** 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: '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-cta {
    display: block;
    text-align: center;
}

/**
 * .mmt-mdp-back
 * Contains back button (if present)
 */

.mmt-mdp-back {
    width: 100%;
    padding: 5px 0;
}

.mmt-mdp-back a {
    padding: 5px 0;
    text-decoration: none;
}

.mmt-mdp-back a:before {
    margin-right: .3em;
    font-family: "fjell";
    font-size: 16px;
    font-weight: normal;
    content: "\27f5";
}

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

.site--canvasBoxed .mmt-mdp-headerPhoto {
    position: relative;
    overflow: hidden;
    left: 0;
    margin-left: 0;
    width: 100%;
    height: 250px;
    background-image: url(../../../img/snippets/no-cover.jpg);
    background-size: cover;
    background-position: center;
}

.mmt-mdp-headerPhoto {
    position: relative;
    left: 50%;
    width: 100vw;
    height: 250px;
    margin-left: -50vw;
    background-image: url(../../../img/snippets/no-cover.jpg);
    background-position: 50%;
    background-size: cover;
}

.mmt-mdp-title {
    margin-bottom: .7em;
    font-size: 1.7rem;
}

.mmt-mdp-date {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mmt-mdp-section-social-media {
    margin-bottom: .5rem;
}

.mmt-mdp-section-social-media .socialMedia__button:before {
    font-size: 1.2em;
}

.mmt-mdp-date:first-letter {
    text-transform: uppercase;
}

@media (min-width: 480px) {

    .mmt-mdp-headerPhoto,
    .site--canvasBoxed .mmt-mdp-headerPhoto {
        height: 325px;
    }

}

@media (min-width: 720px) {

    .mmt-mdp-headerPhoto,
    .site--canvasBoxed .mmt-mdp-headerPhoto {
        height: 400px;
    }

    .mmt-mdp-title {
        font-size: 2.5rem;
    }

    .mmt-mdp-dateAndSocialWrapper {
        display: flex;
        justify-content: space-between;
    }

    .mmt-mdp-section-social-media {
        order: 2;
    }

}

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

.mmt-mdp-nav {
    margin: 0 0 2rem 0;
}

.mmt-mdp-nav ul {
    border-bottom: 1px solid #e8e9ee;
}

.mmt-mdp-nav li {
    text-align: center;
}

.mmt-mdp-nav a {
    display: block;
    padding: .5em 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

/*.mmt-mdp-nav .mmt-mdp-active a,*/
/*.mmt-mdp-nav a:hover {*/
/*    border-bottom: 1px solid #0f1333;*/
/*    background: #e8e9ee;*/
/*}*/

@media screen and (min-width: 720px) {
    .mmt-mdp-nav {
        margin: 0 0 2.5rem 0;
    }

    .mmt-mdp-nav ul {
        display: flex;
        flex-wrap: nowrap;
    }

    .mmt-mdp-nav a {
        padding: 1em 1.5em;
    }

    .mmt-mdp-nav .mmt-mdp-active a,
    .mmt-mdp-nav a:hover {
        background: none;
    }
}

/**
 * .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);
}

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

.mmt-mdp-sidebar {
    margin: 50px 0;
    padding: 1em;
    box-shadow: 0 0 1rem rgba(78, 78, 78, 0.10);
}

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

/**
 * List of Attendees
 */

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