/**
 * @author: Procurios
 * @about:  mmt-meeting-detail-page.css
 *          Layout and structure of the meeting detail page
 */

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

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

/** Contain floats / clearfix */
.mmt-clearfix:before, .mmt-clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    visibility: hidden;
}

.mmt-clearfix:after {
    clear: both;
}

.mmt-clearfix {
    zoom: 1;
}

/** Columns */
.mmt-mdp-content {
    max-width: 42em;
    margin: 0 auto;
}

.mmt-mdp-register .mmt-mdp-content {
    max-width: none;
}

.mmt-mdp-inner {
    padding-top: 1.6em;
}

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

.mmt-meeting-detail-page caption {
    padding: 2px 0;
    background-color: #eee;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

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

.mmt-meeting-detail-page td {
    padding: 15px 0;
    vertical-align: top;
    border-bottom: 1px solid #ededed;
}

.mmt-meeting-detail-page tr.mmt-mdp-last td {
    border-bottom: 0;
}

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

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

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

.mmt-mdp-back a {
    padding: 5px 0 5px 23px;
    text-decoration: none;
    background: transparent url(../../../img/snippets/icon-arrow-left.png) no-repeat 0 50%;
}

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

.dp-header {
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
    flex-direction: column;
}

.dp-header__content {
    padding: 1.5em;
    background-color: #ededed;
}

.dp-header__title {
    margin-bottom: 1em;
    line-height: 1;
}

.dp-header__metaData span {
    position: relative;
    display: block;
    margin-bottom: 1em;
    padding-left: 2em;
}

.dp-header__metaData span::before {
    position: absolute;
    top: 4px;
    left: 0;
}

.dp-header__metaData .dp-header__locationName {
    margin-bottom: 0;
    padding-left: 0;
}

.dp-header__imageWrapper {
    display: none;
}

@media (min-width: 768px) {
    .dp-header {
        flex-direction: row-reverse;
    }

    .dp-header__content {
        width: 70%;
        padding: 1.9em 2em;
        font-size: 1.1em;
    }

    .dp-header__imageWrapper {
        display: block;
        width: 30%;
    }

    .dp-header__image {
        height: 100%;
        object-fit: cover;
    }
}

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

.mmt-mdp-nav {
    margin-top: 10px;
    padding: 0.3em 0 .4em;
    border-top: 1px solid #b7b7b6;
    border-bottom: 1px solid #b7b7b6;
    font-size: 1.3em;
}

.mmt-mdp-nav ul {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mmt-mdp-nav li {
    display: inline-block;
}

.mmt-mdp-nav a {
    display: block;
    padding: 0 1em;
    border-right: 1px solid #b7b7b6;
    font-family: 'AlternateGotNo2D', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    color: #b7b7b6;
}

.mmt-mdp-nav a:hover,
.mmt-mdp-active a,
.mmt-mdp-active a:hover {
    color: #cf1a0f;
}

.mmt-mdp-nav a[href*='/register'] {
    display: none;
}

.mmt-mdp-nav li:last-child a {
    border-right: 0;
}

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

.mmt-mdp-sidebar .mmt-mdp-section {
    margin-bottom: 1.6em;
    border: 1px solid #ccc;
    background-color: #eee;
}

.mmt-mdp-sidebar .mmt-mdp-section-inner {
    padding: 10px;
}

.mmt-mdp-sidebar h3 {
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}

/** Ticket prices */
.mmt-mdp-ticket-price {
    width: 100px;
}

/** Subscribe button */
.mmt-mdp-cta {
    display: block;
    padding: .5em;
    text-align: center;
    text-decoration: none;
    font-family: 'AlternateGotNo2D', sans-serif;
    text-transform: uppercase;
    font-size: 1.9em;
    font-weight: normal;
    letter-spacing: .7px;
}

.mmt-mdp-cta:hover {
    text-decoration: underline;
}

.mmt-mdp-cta-secondary {
    font-size: 1.4em;
}

.mmt-mdp-cta-secondary:hover {
    color: #cf1a0f;
}

/** Block: List of tickets */
.mmt-mdp-sidebar .mmt-mdp-section-tickets th {
    font-weight: bold;
}

.mmt-mdp-sidebar .mmt-has-help {
    margin-bottom: 1em;
}

.mmt-mdp-sidebar .mmt-mdp-section-tickets p:last-child {
    margin: 0;
}

/** Block: Register */
.mmt-mdp-registration-status {
    padding-top: 1em;
    border-top: 1px dotted #ccc;
}

.mmt-mdp-registration-status-message {
    margin-bottom: 10px;
    font-size: 1.2em;
    line-height: 1.4em;
}

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

/** Block: List of attendees */
.mmt-mdp-section-attendees-list li {
    padding: 5px 0;
    border-top: 1px solid #ccc;
}

.mmt-mdp-section-attendees-list .mmt-mdp-first {
    padding-top: 0;
    border-top: 0;
}

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

.mmt-mdp-attendee-fn {
    font-size: 1.1em;
    font-weight: bold;
}

.mmt-mdp-section-attendees-list p {
    margin-bottom: 0;
    text-align: right;
}

/** Location */
.mmt-mdp-location-map {
    display: none;
}