/**
 * @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: 14px;
}

/** 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-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: 10px 0;
    vertical-align: top;
    border-bottom: 1px solid #ccc;
}

.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%;
    margin-bottom: 30px;
    padding: 5px 0;
}

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

.mmt-mdp-back a:before {
    content: '\27f5';
    width: 30px;
    height: 30px;
    margin-right: .3rem;
    font-family: var(--font-icon);
}

/**
 * .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%;
    display: block;
}

.mmt-mdp-headerPhoto {
    position: relative;
    height: 0;
    margin-bottom: 1.25rem;
    border-radius: var(--borderRadius);
    background-position: 50%;
    background-size: cover;
}

.mmt-mdp-headerPhoto--filled .mmt-mdp-headerPhoto {
    height: 200px;
}

@media screen and (min-width: 600px) {
    .mmt-mdp-headerPhoto {
        margin-bottom: 0;
    }

    .mmt-mdp-headerPhoto--filled .mmt-mdp-headerPhoto {
        /*height: auto;*/
    }
}

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

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

.mmt-mdp-summary h2 {
    font-size: 2.25em;
    font-family: var(--font-nib);
}

.mmt-mdp-meta-data span {
    display: block;
    float: left;
    white-space: nowrap;
    margin: 3px 15px 3px 0;
    line-height: 24px;
}

.mmt-mdp-meta-data span:before,
.mmt-mdp-meta-data .mmt-mdp-location:before,
.mmt-mdp-meta-data .mmt-mdp-labels:before {
    width: 30px;
    height: 30px;
    margin-right: .3rem;
    font-family: var(--font-icon);
}

.mmt-mdp-meta-data span:before {
    content: '\e804';
}

.mmt-mdp-meta-data a {
    text-decoration: none;
}

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

.mmt-mdp-meta-data .mmt-mdp-location:before {
    content: '\e80d';
}

.mmt-mdp-meta-data .mmt-mdp-labels:before {
    content: '\e805';
}

/** Cover photo enabled */
.mmt-mdp-has-cover .mmt-mdp-summary {
    position: relative;
    left: 0;
    bottom: 0;
    padding-inline: 30px;
    padding-block: 20px;
    width: 100%;
    color: #fff;
    background: rgba(0, 0, 0, .6);
}

.mmt-mdp-has-cover .mmt-mdp-summary h2,
.mmt-mdp-has-cover .mmt-mdp-summary a {
    color: #fff;
    border: none;
}

.mmt-mdp-has-cover .mmt-mdp-meta-data span {
    background-repeat: no-repeat;
    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);
}

@media (min-width: 600px) {
    .mmt-mdp-has-cover .mmt-mdp-summary {
        position: absolute;
        padding-block: 20px 0;
    }
}

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

@media (min-width: 600px) {
    .mmt-mdp-has-cover .mmt-mdp-summary {
        position: absolute;
        padding-block: 20px 0;
    }
}
/**
 * .mmt-mdp-nav
 * Detail page navigation
 */

.mmt-mdp-nav {
    margin: 10px 0 20px 0;
    background-color: var(--baseLight100);
}

.mmt-mdp-has-cover .mmt-mdp-nav {
    margin-top: 0;
    border-top: 0;
    background-color: transparent;
}

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

.mmt-mdp-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    border-bottom: 2px solid var(--baseDark600)
}

.mmt-mdp-nav a:hover {
    border-bottom: 2px solid var(--baseDark500)
}

.mmt-mdp-active a,
.mmt-mdp-active a:hover {
    font-weight: bold;
    border-bottom: 2px solid var(--baseDark900);
}


.mmt-mdp-section-desc h3 {
    margin-top: 4rem;
}

/**
 * .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 var(--baseDark500);
    background-color: var(--baseLight100);
}

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

.mmt-mdp-sidebar h3 {
    margin: 0;
    padding: 10px;
    font-family: var(--font-nib);
    border-bottom: 1px solid var(--baseDark500);
    background-color: var(--baseLight100);
}

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

/** Subscribe button */
.mmt-mdp-cta {
    display: block;
    padding: 5px;
    margin-bottom: 5px;
    text-align: center;
    text-decoration: none;
    color: var(--baseDark900);
    border: 1px solid var(--baseDark900);
    background-color: var(--baseLight100);
    transition: all 0.2s ease-out;
}

.mmt-mdp-cta:hover {
    text-decoration: none;
    color: var(--baseLight100);
    border-color: var(--baseDark900);
    background-color: var(--baseDark900);
}

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

@media (min-width: 768px) {
    .mmt-mdp-main {
        float: left;
        width: 65%;
        margin-right: 5%;
    }

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