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

.mmt-mdp-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.mmt-mdp-nav li {
    border-right: 2px solid #f6f6f6;
    border-bottom: 2px solid #f6f6f6;
    background: #fff;
}

.mod-meeting2 :where(h1,h2,h3,h4, h5, h6, legend) {
    max-width: 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-has-cover {
    position: relative;
}

/** Columns */
.mmt-mdp-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.mmt-mdp-content.mmt-clearfix::before,
.mmt-mdp-content.mmt-clearfix::after {
    content: none;
}

.mmt-mdp-main {
    flex: 1 1 60%;
}

.mmt-mdp-sidebar {
    flex: 1 0 35%;
}

.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: 5px 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%;
    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
 */

.mmt-mdp-header {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: transparent url(../../../../../img/background.jpg) no-repeat 0 0;
}

.mmt-mdp-cover-image {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mmt-mdp-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.31);
}

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

.mmt-mdp-summary p {
    font-size: 1.3em;
    font-weight: bold;
}

.mmt-mdp-summary h2 {
    max-width: none;
    padding-bottom: .3rem;
    font-size: 2.6154em;
}

@media screen and (min-width: 700px) {
    .mmt-mdp-summary h2 {
        font-size: 3.2308em;
    }
}

@media screen and (min-width: 1000px) {
    .mmt-mdp-summary h2 {
        font-size: 4.2308em;
    }
}

.mmt-mdp-summary {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
    padding: 5vh 20px;
    color: #fff;
    z-index: 10;
}

.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-summary a {
    color: #fff;
}

.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-meta-data > span {
    background-image: url(../../../img/snippets/icon-calendar-white.png);
}

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

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

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

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

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

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

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

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

.mmt-mdp-nav {
    margin-block: 10px;
}

.mmt-mdp-nav a {
    display: block;
    padding: 0.4em 20px .2em;
    line-height: 1.4;
    text-decoration: none;
    color: #555;
}

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

.mmt-mdp-active a,
.mmt-mdp-active a:hover {
    font-weight: bold;
    border-bottom: 3px solid #983222;
}

/**
 * .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: inline-block;
    position: relative;
    padding: 6px 18px;
    border: 0;
    border-radius: 4px;
    line-height: 1.5em;
    text-decoration: none;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: 700;
    background-color: #983222;
    color: #fff;
    transition: all .2s;
}

.mmt-mdp-cta:hover {
    background: #f17f00;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0, .3);
}

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