/**
 * @author: Procurios
 * @about:  mmt-meeting-list.css
 *          Default layout and structure settings of the meetling list snippet of mod_meeting2.
 */

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

/** Reset lists */
.mmt-ml-meetings {
    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;
}

/**
 * Search form
 */

.mmt-meeting-list form {
    margin-bottom: 1em;
    overflow: hidden;
    *zoom: 1;
}

.mmt-meeting-list label {
    position: absolute;
    left: -999em;
    top: -999em;
}

/** Reset all margins */
.mmt-meeting-list div.field,
.mmt-meeting-list div.fieldinput {
    float: left;
    width: auto;
    clear: none;
}

/** Set dimensions for search bar */
.mmt-meeting-list div.field {
    width: 80%;
}

.mmt-meeting-list div.fieldinput {
    width: 100%;
    margin: 0;
}

.mmt-meeting-list div.fieldinput input {
    width: 90%;
    height: auto;
}

/** Reset dimensions for submit section */
.mmt-meeting-list div.submit {
    width: auto;
}

/**
 * Pager
 */

.pbuic-pager {
    clear: both;
    margin-bottom: 1em;
}

/**
 * .mmt-meeting-list
 * Parent element, acts as container of all snippet related elements
 */

.mmt-meeting-list {
    height: 100%;
}

.mmt-meeting-list ol {
    clear: both;
}

.mmt-meeting-list ol li {
    margin-bottom: 2em;
    overflow: hidden;
}

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

    .mmt-meeting-list ol li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

.mmt-ml-title-pane,
.mmt-ml-desc-pane,
.mmt-ml-footer-pane {
    padding: 15px 0;
}

/**
 * .mmt-ml-title-pane
 * Contains title, registration status and labels
 */

.mmt-ml-date-location {
    float: left;
    width: 100px;
    margin: -45px 0 0 0;
    padding-right: 30px;
    text-align: center;
    font-size: .8em;
}

.mmt-ml-date {
    font-size: 1.4em;
}

.mmt-ml-day {
    display: inline-block;
    font-family: 'HelveticaInseratLTPro', sans-serif;
    font-size: 2.3em;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.mmt-ml-month {
    display: block;
    text-transform: lowercase;
}

h3.mmt-meeting-title {
    margin-top: 0;
    font-size: 1em;
    hyphens: auto;
}

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

    h3.mmt-meeting-title {
        font-size: 1.3em;
        hyphens: none;
    }
}

.mmt-ml-title-pane h3 {
    width: 100%;
    margin: 0;
    font-size: 1.3em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/** Date and location */
.mmt-ml-date-location {
    margin: 0 0 3px;
}

/** Meta data */
.mmt-ml-meta-data {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

.mmt-ml-meta-data span {
    display: block;
    float: left;
    white-space: nowrap;
    margin: 3px 10px 3px 0;
    padding-left: 20px;
    background: transparent url(../../../img/snippets/icon-registrations.png) no-repeat 0 0;
}

.mmt-ml-meta-data .mmt-ml-registrations {
    padding-left: 18px;
}

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

/**
 * .mmt-ml-desc-pane
 * Contains image and description
 */

.mmt-ml-meeting-image {
    float: left;
    margin-right: 2em;
}

.mmt-ml-has-image .mmt-ml-details {
    display: inline-block;
    margin-left: 0;
    width: 100%;
}

.mmt-ml-details .mmt-ml-message-block {
    display: block;
    padding: 1em;
    margin: 2em 0 0;
    font-size: 0.9em;
    color: #222;
    font-weight: bold;
    background: #f1f1f1;
}

.mmt-ml-details .mmt-ml-message-block:before {
    content: url('../../../img/snippets/icon-warning.svg');
    position: absolute;
}

.mmt-ml-details .mmt-ml-message-block--title {
    margin-left: 2.5em;
    display: block;
}

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

    .mmt-ml-details .mmt-ml-message-block {
        width: 20em;
    }
}

/**
 * .mmt-ml-footer-pane
 * Contains call-to-actions
 */

.mmt-ml-footer-pane {
    margin-top: 2em;
    padding: 0;
}

.mmt-ml-footer-pane p {
    margin: 0;
}

.mmt-ml-footer-pane a,
.mmt-ml-footer-pane span {
    padding: 1em;
}

.mmt-ml-footer-pane a {
    display: inline-block;
    font-family: 'HelveticaInseratLTPro', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .3px;
    transition: .3s;
}

.mmt-ml-footer-pane .mmt-ml-more {
    color: #ec1b23;
    border: 1px solid #ec1b23;
}

.mmt-ml-footer-pane .mmt-ml-more:hover {
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
}

.mmt-ml-footer-pane .mmt-ml-register-cta,
.mmt-ml-footer-pane .mmt-ml-register-chairman-cta {
    margin-top: 1em;
    background-color: #ec1b23;
    border: 1px solid #ec1b23;
    color: #fff;
}

.mmt-ml-footer-pane .mmt-ml-register-cta:hover,
.mmt-ml-footer-pane .mmt-ml-register-chairman-cta:hover {
    text-decoration: none;
    background-color: #000;
    border: 1px solid #000;
}

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

    .mmt-ml-footer-pane a,
    .mmt-ml-footer-pane span {
        padding: 1em 2em;
    }
}

/**
 * Changes when hovering on one meeting
 */

.mmt-meeting-list ol li:hover {
    cursor: pointer;
}

/**
 * .mmt-meeting-list-simple
 */

.mmt-meeting-list-simple ol li {
    border: 0;
    border-top: 1px solid #ddd;
}

.mmt-meeting-list-simple ol li:hover {
    background: transparent;
    border-color: #ddd;
    box-shadow: none;
}

.mmt-meeting-list-simple .mmt-ml-first {
    border-top: 0;
}

/** Containing link to meetin */
.mmt-meeting-list-simple ol a {
    display: block;
    padding: 3px 0;
    text-decoration: none;
    color: #000;
}

/** Location and date */
.mmt-meeting-list-simple .mmt-ml-date-location {
    margin-bottom: 0;
    font-size: .9em;
}

/** Meeting title */
.mmt-meeting-list-simple .mmt-ml-title {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
