/*
 * Raetia product Events tab
 * Mirrors the legacy jms_fluent product-events.tpl + Event Manager list styling.
 * Scoped to this tab so Warehouse/global components are not affected.
 */
.raetia-product-events {
    width: 100%;
}

.raetia-product-events #mat_events {
    width: 100%;
    max-width: 100%;
    padding-left: 25px;
    padding-right: 0;
}

.raetia-product-events .raetia-product-event-row {
    margin-left: -15px;
    margin-right: -15px;
}

.raetia-product-events .mat_event_single_holder {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
    margin: 0 0 20px;
    background: #fff;
}

.raetia-product-events .mat_event_single_holder:hover {
    background: #f1f1f1;
}

.raetia-product-events .mat_event_single_holder_inner {
    padding: 8px 6px;
}

.raetia-product-events .mat_event_single_holder_inner > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-left: -15px;
    margin-right: -15px;
}

.raetia-product-events .mat_event_image_holder {
    position: relative;
    width: 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    overflow: hidden;
    padding: 0;
}

.raetia-product-events .mat_event_image_holder_inner {
    width: 100%;
}

.raetia-product-events .mat_event_img.img-thumbnail {
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    vertical-align: middle;
}

.raetia-product-events .mat_event_content.col-sm-10 {
    position: relative;
    width: 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
    padding-left: 15px;
    padding-right: 15px;
    min-width: 0;
}

.raetia-product-events .mat_event_date,
.raetia-product-events .mat_event_location,
.raetia-product-events .mat_event_time,
.raetia-product-events .mat_event_phone,
.raetia-product-events .mat_event_organizer,
.raetia-product-events .mat_event_email {
    color: #666;
    padding-right: 15px;
    margin-top: 5px;
}

.raetia-product-events .mat_event_date:first-child {
    margin-top: 0;
}

.raetia-product-events .mat_event_title h3 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 500;
    color: inherit;
}

.raetia-product-events .mat_event_title h4 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 400;
    color: inherit;
}

.raetia-product-events .mat_event_content_text {
    margin: 0 0 3px;
    color: inherit;
}

.raetia-product-events .mat_event_content_text > :first-child {
    margin-top: 0;
}

.raetia-product-events .mat_event_content_text > :last-child {
    margin-bottom: 0;
}

.raetia-product-events .mat_event_top_informations {
    color: #888;
    font-size: 90%;
    padding-bottom: 5px;
    border-bottom: 1px solid #f1f1f1;
}

.raetia-product-events .mat_event_top_informations span {
    display: inline-block;
}

.raetia-product-events .no-events {
    margin: 0;
    padding: 8px 0;
}

@media (max-width: 767px) {
    .raetia-product-events #mat_events {
        padding-left: 15px;
        padding-right: 15px;
    }

    .raetia-product-events .mat_event_single_holder_inner > .row {
        display: block;
    }

    .raetia-product-events .mat_event_image_holder,
    .raetia-product-events .mat_event_content.col-sm-10 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .raetia-product-events .mat_event_image_holder {
        max-height: none !important;
        margin-bottom: 12px;
    }

    .raetia-product-events .mat_event_img.img-thumbnail {
        max-width: 135px;
    }

    .raetia-product-events .mat_event_content.col-sm-10 {
        padding-left: 0;
        padding-right: 0;
    }
}
