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

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

/** Max font size */
.mmt-meeting-detail-page {
    font-size: 18px;
}

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

.mmt-mdp-content {
    margin-top: 2em;
}

@media screen and (min-width: 760px) {

    .mmt-mdp-content {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex
    }
}

.mmt-mdp-main h3 {
    margin-top: 0;
}

/** Columns */
.mmt-mdp-sidebar {
    margin-top: 1em;
}

@media screen and (min-width: 760px) {

    .mmt-mdp-main {
        -ms-flex-preferred-size: 60em;
        flex-basis: 60em;
        margin-right: 2em;
    }

    .mmt-mdp-sidebar {
        margin-top: 0;
    }
}

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

.mmt-meeting-detail-page caption {
    margin-bottom: 2em;
    padding: 2px 0;
    background-color: #f1f1f1;
}

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

.mmt-meeting-detail-page td {
    padding: 5px 0;
    vertical-align: top;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.9em;
}

.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: 0 0 14px 0;
}

.mmt-mdp-back a {
    padding: 5px 0 5px 23px;
    text-decoration: none;
    background: transparent url(../../../img/snippets/icon-arrow-left.svg) 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: hidden;
    width: 100%;
}

.mmt-mdp-cover-image {
    width: 100%;
    height: 200px;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.mmt-mdp-cover-image-default {
    width: 100%;
    height: 200px;
    display: block;
    background-color: #ec1b23;
}

/** Meetings meta data */
.mmt-mdp-summary h2,
.mmt-mdp-summary p {
    margin: 0;
}

.mmt-mdp-summary p {
    font-size: 1em;
}

.mmt-mdp-summary h2 {
    font-size: 1.2em;
}

@media screen and (min-width: 600px) {

    .mmt-mdp-summary h2 {
        font-size: 2.25em;
    }

}

.mmt-mdp-meta-data span {
    display: block;
    float: left;
    margin: 3px 15px 3px 0;
    padding-left: 20px;
    line-height: 24px;
    background: transparent url(../../../img/snippets/icon-calendar.png) no-repeat 0 3px;
}

.mmt-mdp-meta-data .mmt-mdp-location {
    padding-left: 15px;
    background-image: url(../../../img/snippets/icon-location.png);
}

/** Cover photo enabled */
.mmt-mdp-has-cover .mmt-mdp-summary {
    position: absolute;
    left: 30px;
    bottom: 20px;
    width: 85%; /** Random number which probably fits in container. If we dont care about IE6, use right: 30px; */
    color: #fff;
}

.mmt-mdp-has-cover .mmt-mdp-summary h2 {
    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-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);
    opacity: .9;
    filter: alpha(opacity=90);
}

.mmt-mdp-has-cover .mmt-mdp-meta-data span {
    background-image: url(../../../img/snippets/icon-calendar-white.png);
}

.mmt-mdp-has-cover .mmt-mdp-meta-data .mmt-mdp-location {
    background-image: url(../../../img/snippets/icon-location-white.png);
}

/**
 * .mmt-mdp-nav
 * Detail page navigation
 */
.mmt-mdp-has-cover .mmt-mdp-nav {
    margin-top: 0;
    border-top: 0;
}

@media screen and (min-width: 675px) {

    .mmt-mdp-nav li {
        float: left;
    }
}

.mmt-mdp-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    font-family: 'HelveticaInseratLTPro', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #000;
}

.mmt-mdp-nav a:hover {
    border-bottom: 3px solid #ccc;
}

.mmt-mdp-active a,
.mmt-mdp-active a:hover {
    border-bottom: 3px solid #ec1b23;
}

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

@media screen and (min-width: 760px) {

    .mmt-mdp-sidebar .mmt-mdp-section {
        width: 300px;
    }
}

.mmt-mdp-sidebar h3 {
    margin: 0 0 1em 0;
}

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

/** Subscribe button */
.mmt-mdp-cta {
    display: inline-block;
    margin: 1em 0 1em;
    padding: 1em;
    text-align: center;
    font-family: 'HelveticaInseratLTPro', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .3px;
    background-color: #ec1b23;
    color: #fff;
    transition: .3s;
}

.mmt-mdp-cta:hover {
    text-decoration: none;
    background-color: #000;
}

.mmt-mdp-cta-secondary {
    background-color: #ddd;
    border-color: #ccc;
    color: #444;
}

.mmt-mdp-cta-secondary:hover {
    background-color: #ccc;
    border-color: #bbb;
    color: #000;
}

/** Block: List of tickets */
.mmt-mdp-sidebar .mmt-mdp-section-tickets th {
    padding-left: 0;
    font-family: 'HelveticaInseratLTPro', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .3px;
    font-size: .8em;
}

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