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


.mod-meeting2 fieldset {
    margin-top: 0;
}

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

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

.mmt-mdp-main .mmt-mdp-section {
    margin-bottom: 4em;
}


/** 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 */
@include media-breakpoint-up(bp-lg) {
    .mmt-mdp-main {
        float: left;
        width: calc(67% - 70px);
        margin-right: 70px;
    }

    .mmt-mdp-sidebar {
        float: left;
        width: 33%;
    }
}

.mmt-mdp-inner h2,
.mmt-mdp-inner h3 {
    font-weight: cssvar(txt-medium);
}

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

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

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

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

.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 none no-repeat 0 50%;
}

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

.mmt-mdp-header {
    position: relative;
    overflow: visible;
    width: 100%;
}

.mmt-mdp-coverImage {
    width: 100%;
    display: block;
}

.mmt-coverPicture {
    display: block;
}

@include media-breakpoint-up(bp-md) {
	.mmt-coverPicture {
        border-bottom-width: 0;
    }
}

/**
 * mmt-mdp-summary
 */

.mmt-mdp-summary {
    margin: 0 0 30px 0.2em;
    opacity: 0.7;
}

.mmt-mdp-summary > * {
    font-size: 0.9em;
}

.mmt-mdp-date {
    display: inline-block;
    margin-right: 1em;
}

.mmt-mdp-date:before {
    content: 'date';
    display: inline-block;
    width: 14px;
    height: 24px;
    margin-right: 8px;
    vertical-align: baseline;
    text-indent: -999em;
    background: transparent url(../../../img/icon--calendar.svg) no-repeat 0 50%;
    background-size: 14px;
}

.mmt-mdp-summary .mmt-mdp-location {
    display: inline-block;
    margin-right: 25px;
    font-size: .9em;
}

.mmt-mdp-locationLink {
    color: #4a4a4a;
}

.mmt-mdp-locationLink:before {
    content: 'location';
    display: inline-block;
    width: 14px;
    height: 24px;
    margin-right: 6px;
    vertical-align: baseline;
    text-indent: -999em;
    background: transparent url(../../../img/icon--marker.svg) no-repeat 0 50%;
    background-size: 14px;
}

.mmt-mdp-labels {
    clear: both;
    margin: 1.6em 0 0;
    padding: 0;
    list-style: none;
}

.mmt-mdp-label {
    display: inline-block;
    margin-right: 5px;
    padding: 4px 6px 0;
    border: 1px solid #ececec;
    border-radius: 1px;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Neo Sans', Arial, sans-serif;
    color: #555;
    background-color: #fff;
    transition: 0.3s;
}

.mmt-mdph-labels {
    display: inline-block;
    padding-left: 20px;
    background: transparent url(../../../img/icon--tag.svg) no-repeat 0 5px;
    background-size: 14px;
    list-style: none;
}

.mmt-mdph-label {
    display: inline-block;
}

.mmt-mdph-label + .mmt-mdph-label::before {
    content: ', ';
}

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

.nav-meeting-anchor {
    position: absolute;
    top: -80px;

}
@include media-breakpoint-up(bp-lg) {
    .nav-meeting-anchor {
        position: absolute;
        top: -140px;
    }
}

.mmt-mdp-nav {
    position: relative;
    margin: 80px 0 30px;
    border-bottom: 1px solid #f2f2f2;
}

.mmt-mdp-has-cover .mmt-mdp-nav {
    margin-top: 0;
}

.mmt-mdp-nav li {
    list-style-image: none;
    border-bottom: 1px solid #fff;
}

@media screen and (min-width: 340px) {
    .mmt-mdp-nav li {
        float: left;
        width: 50%;
        border-right: 1px solid #fff;
    }

    .mmt-mdp-nav li:nth-child(2n+2) {
        border-right-width: 0;
    }
}

@media screen and (min-width: 540px) {
	.mmt-mdp-nav li:nth-child(1n) {
       width: 33.333%;
       border-right: 1px solid #fff;
    }

    .mmt-mdp-nav li:nth-child(3n+3) {
        border-right-width: 0;
    }
}

@media screen and (min-width: 786px) {
	.mmt-mdp-nav li:nth-child(1n) {
        width: auto;
        margin-right: 30px;
    }
}

.mmt-mdp-nav a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    text-align: center;
    color: #464646;
    font-family: 'Neo Sans', Arial, sans-serif;
}

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

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

.mmt-mdp-active a {
    color: #d52b1e;
}

/**
 * Call To Actions
 */

.mmt-mdp-cta-link {
    display: none;
}

@include media-breakpoint-up(bp-lg) {
    .mmt-mdp-cta-link {
        position: relative;
        display: block;
        width: 50%;
        margin-top: 4em;
        padding: 10px 25px 10px 15px;
        text-decoration: none;
        background-color: #fafafa;
    }

    .mmt-mdp-cta-link:after {
        content: '>';
        display: block;
        position: absolute;
        top: 50%;
        right: 8px;
        width: 16px;
        height: 16px;
        margin-top: -8px;
        text-indent: -999em;
        background: transparent url(../../../img/icon--arrowRightRed.svg) no-repeat 50% 50%;
        transition: 0.2s;
    }

    .mmt-mdp-cta-link:hover:after {
        transform: translate(3px, 0);
    }

    .mmt-mdp-cta-title,
    .mmt-mdp-cta-subtitle {
        display: block;
    }

    .mmt-mdp-cta-title {
        font-family: 'Neo Sans', Arial, sans-serif;
        font-weight: bold;
    }

    .mmt-mdp-cta-subtitle {
        font-size: 0.8em;
        color: #8e8e8e;
    }
}

/**
 * .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: 4.8em;
}

.mmt-mdp-sidebar h3 {
    margin: 0;
    padding: 0 0 10px;
    line-height: 25px;
    text-transform: uppercase;
    background-color: #fff;
}

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

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

.mmt-mdp-registration-limit {
    color: #d52b1e;
    font-weight: 700;
}

.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;
}

.mmt-mdp-sidebar a[class^="button--"] {
    display: block;
    margin-bottom: 5px;
}

/**
 * Sponsor
 */

.mmt-mdp-sponsor-list {
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mmt-mdp-sponsor-item {
    float: left;
    width: 50%;
    padding: 0 20px 10px 0;
    list-style-image: none;
}

.mmt-mdp-sponsor-link {
    display: block;
}

.mmt-mdp-sponsor-logo {
    width: 190px;
}

/**
 * Share
 */

/**
 * wl__shareButtons
 */

.mmt__shareButtons {
    position: relative;
    display: block;
    margin: 1em 0 0.5em;
    padding: 0;
    list-style: none;
    overflow: hidden;
    text-align: left;
    vertical-align: middle;
    z-index: 1;
}

@include media-breakpoint-up(bp-lg) {
    .mmt__shareButtons {
        float: right;
        margin-top: 0;
        text-align: right;
    }
}

.mmt__shareButtons li {
    display: inline-block;
    vertical-align: middle;
}

.mmt__shareButton {
    display: block;
    margin-right: 3px;
    height: 32px;
    width: 32px;
    fill: #aeaa6c;
    background-color: transparent;
}
