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

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

.mod-meeting2 .header__pageTitle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    max-width: 1200px;
    margin-top: 5vh;
}

.mod-meeting2 h1 {
    font-size: 2em;
}

@media screen and (min-width: 769px) {
    .mod-meeting2 .header__pageTitle {
        max-width: 1200px;
        margin-inline: auto;
    }

    .mod-meeting2 h1 {
        font-size: 3em;
        line-height: 1.6;
    }
}

/**
 * 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: underline;
}

.mmt-meeting-detail-page a:hover {
    text-decoration: underline;
    color: var(--secondaryColor500);
}

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

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

.mmt-meeting-detail-page td:first-child {
    font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
    font-weight: bold;
}

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

.mmt-meeting-detail-page thead th {
    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-meeting-detail-page .mmt-mdp-cta {
    display: block;
    margin-bottom: .5rem;
    padding: .5rem 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--borderRadius);
    border: 1px solid var(--secondaryColor500);
    color: var(--baseLight100);
    background-color: var(--secondaryColor500);
    transition: background-color ease-in-out .2s;
}

.mmt-mdp-section-tickets .mmt-mdp-cta {
    border-color: var(--primaryColor500);
    color: var(--primaryColor500);
    background-color: var(--baseLight100);
}

.mmt-meeting-detail-page .mmt-mdp-cta:hover {
    text-decoration: none;
    color: var(--baseLight100);
    background-color: var(--primaryColor500);
    border-color: var(--primaryColor500);
    transition: background-color ease-in-out .2s;
}

.mmt-mdp-cta:after,
.mmt-mdp-new-account .mmt-mdp-call-to-action:after {
    margin-left: .4em;
    font-family: "fjell";
    font-size: 14px;
    line-height: 1.6;
    font-weight: normal;
    content: "\27f6";
}

.mmt-mdp-link,
.mmt-mdp-call-to-action {
    display: block;
}

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

.mmt-mdp-cta--registration:before {
    content: "\1f4c4";
}

.mmt-mdp-cta--home:before {
    content: "\2302";
}

/**
 * .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
 */

.mmt-mdp-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 500px) {
    .mmt-mdp-header {
        flex-direction: row-reverse;
    }
}

.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 span {
    position: relative;
    display: inline-block;
    margin-right: 2em;
    font-size: 1.2rem;
}

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

.mmt-mdp-labels:before {
    content: "\1f516";
}

.mmt-mdp-summary {
    padding-bottom: 40px;
    background: #fff;
}

.mmt-mdp-title {
    margin-top: 0;
    margin-bottom: 0.3em;
}

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

    .mmt-mdp-has-cover .mmt-mdp-summary h2,
    .mmt-mdp-has-cover .mmt-mdp-meta-data span {
        text-shadow: 0 1px 6px rgba(0,0,0,0.6), 0 0px 1px rgba(0,0,0,1);
        color: #fff;
    }

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

.mmt-mdp-header > .mmt-mdp-date {
    display: flex;
    flex: 0 0 200px;
    max-width: 200px;
    align-items: center;
    justify-content: center;
    margin-top: -100px;
    height: 200px;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
    color: #fff;
    background-color: var(--secondaryColor500);
    border-radius: 50%;
    transform: rotate(-10deg);
}

@media (min-width: 600px) {
    .mmt-mdp-header > .mmt-mdp-date {
        margin-right: 30px;
    }
}

.mmt-mdp-meta-data {
    margin: 0;
    color: var(--primaryColor500);
}

.mmt-mdp-meta-data >.mmt-mdp-date {
    display: block;
}

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

.mmt-mdp-nav {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    line-height: 3.2;
    font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
}

.mmt-mdp-nav ul {
    white-space: nowrap;
    overflow: auto;
    /** background, shadows and shadow covers */
    background-image:   -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, white), color-stop(100%, rgba(255, 255, 255, 0))),
    -webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, white), color-stop(100%, rgba(255, 255, 255, 0))),
    -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #e4edf4), color-stop(100%, rgba(195, 195, 197, 0))),
    -webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #e4edf4), color-stop(100%, rgba(195, 195, 197, 0)));
    background-image:   -webkit-linear-gradient(left, white, rgba(255, 255, 255, 0)),
    -webkit-linear-gradient(right, white, rgba(255, 255, 255, 0)),
    -webkit-linear-gradient(left, #e4edf4, rgba(195, 195, 197, 0)),
    -webkit-linear-gradient(right, #e4edf4, rgba(195, 195, 197, 0));
    background-image:   -moz-linear-gradient(left, white, rgba(255, 255, 255, 0)),
    -moz-linear-gradient(right, white, rgba(255, 255, 255, 0)),
    -moz-linear-gradient(left, #e4edf4, rgba(195, 195, 197, 0)),
    -moz-linear-gradient(right, #e4edf4, rgba(195, 195, 197, 0));
    background-image:   -o-linear-gradient(left, white, rgba(255, 255, 255, 0)),
    -o-linear-gradient(right, white, rgba(255, 255, 255, 0)),
    -o-linear-gradient(left, #e4edf4, rgba(195, 195, 197, 0)),
    -o-linear-gradient(right, #e4edf4, rgba(195, 195, 197, 0));
    background-image:   linear-gradient(left, white, rgba(255, 255, 255, 0)),
    linear-gradient(right, white, rgba(255, 255, 255, 0)),
    linear-gradient(left, #e4edf4, rgba(195, 195, 197, 0)),
    linear-gradient(right, #e4edf4, rgba(195, 195, 197, 0));
    background-position: 0 0, 100% 0, 0 0, 100% 0;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 4em 100%, 4em 100%, 1em 100%, 1em 100%;
    background-attachment: local, local, scroll, scroll; /** Opera doesn't support this in the shorthand */
}

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

.mmt-mdp-nav a {
    display: block;
    padding: 0 .5em;
    text-decoration: none;
    border: 1px solid var(--primaryColor300);
    border-right-color: var(--baseLight100);
    color: 	var(--baseLight100);
    background-color: var(--primaryColor300);
    transition: background-color ease-in-out .2s;
}

.mmt-mdp-nav a:hover {
    text-decoration: none;
    color: 	var(--baseLight100);
    background-color: var(--primaryColor500);
    transition: background-color ease-in-out .2s;
}

.mmt-mdp-active a {
    border-color: var(--primaryColor500);
    border-right-color: var(--baseLight100);
    background-color: var(--primaryColor500);
}

.mmt-mdp-nav .mmt-mdp-first.mmt-mdp-last {
    display: none;
}

@media screen and (min-width: 500px) {
    .mmt-mdp-nav ul {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .mmt-mdp-nav li {
        flex: 1 1 10%;
    }

    .mmt-mdp-nav a {
        padding: 0 .5em;
    }
}

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

.mmt-mdp-sidebar {
    margin: 50px 0;
    padding: 1.5rem;
    background: var(--baseLight200);
}

.mmt-mdp-sidebar h3 {
    margin: 0 0 .5rem 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;
    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;
}
