/**
 * @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-main {
    float: left;
    width: 65%;
    margin-right: 5%;
}

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

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

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

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

.mmt-mdp-meta-data > span {
    display: block;
    float: left;
    white-space: nowrap;
    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 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.png);
}

.mmt-mdp-meta-data .mmt-mdp-labels {
    background-image: url(../../../img/snippets/icon-labels.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-has-cover .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-top: 10px;
    background-color: #eee;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

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

.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 #4792AC;
}

/**
 * .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: block;
    padding: 5px;
    margin-bottom: 5px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 1px solid #4792AC;
    background-color: #48ABCF;
    text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}

.mmt-mdp-cta:hover {
    background-color: #4091bf;
}

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