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

/**
 * Table defaults
 */

.mmt-my-meetings-overview table {
    width: 100%;
    margin-bottom: 1.6em;
    border-collapse: collapse;
}

.mmt-my-meetings-overview caption {
    padding: 2px 0;
    background-color: #eee;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.mmt-my-meetings-overview col.mmt-mmo-title {
    width: 100%;
}

/** A complex selector to work around missing support in Safari to style a 'col' element directly */
.mmt-my-meetings-overview:has(colgroup .mmt-mmo-date:nth-child(1)) tbody td:nth-child(1),
.mmt-my-meetings-overview:has(colgroup .mmt-mmo-date:nth-child(2)) tbody td:nth-child(2) {
    min-width: 12ch;
}

.mmt-my-meetings-overview col.mmt-mmo-actions {
    width: fit-content;
    white-space: nowrap;
}

.mmt-my-meetings-overview th,
.mmt-my-meetings-overview td {
    padding: 8px;
    text-align: left;
}

.mmt-my-meetings-overview th {
    padding-bottom: 0;
    font-weight: bold;
}

.mmt-my-meetings-overview td {
    vertical-align: top;
    border-bottom: 1px solid #e6e6e6;
}

.mmt-my-meetings-overview .mmt-mmo-link {
    text-align: right;
    font-size: .8em;
    white-space: nowrap;
}

/**
 * .mmt-mmo-past-meetings
 */

/** Search bar */
.mmt-mmo-past-meetings .proFormText {
    width: 100%;
    margin-bottom: 0;
}

.mmt-mmo-past-meetings .pbuic-pager {
    margin: 0;
}

@media (max-width: 769px) {
    .mmt-my-meetings-overview table {
        display: block;
        overflow-x: auto;
    }
}

.mmt-my-meetings-overview .mmt-search,
.mmt-my-meetings-overview .mmt-search div.field {
    margin: 0;
}

.mmt-my-meetings-overview .mmt-search button {
    margin-right: 0;
}
