﻿/* =============================================================================
   Responsive Table CSS
   ========================================================================== */

.od-amenity-table {
    min-width: unset;
    margin: 0;
}

.ref {
    position: relative;
    display: inline-block;
}

.ktooltip {
    display: inline-block;
    padding-left: .15rem;
}

.ref .ktooltip2 {
    display: none;
    background: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 10px 15px;
    top: 0;
    left: 7%;
    border: 1px solid #d3d3d3;
    position: absolute;
    z-index: 1;
    min-width: 300px;
}

.ref:hover .ktooltip2 {
    display: block;
}

.additional-dates-terms {
    margin-top: 1.1rem;
    font-size: .85rem !important;
}

    .additional-dates-terms .upper-text {
        font-size: .85rem !important;
    }

.text-1 {
    color: inherit;
}

.offer-dates-preposition {
    color: #555;
}

.od-swipe {
    display: none;
    float:right;
}

@media screen and (min-width: 58.1em) {
    .dt-none {
        display: none;
    }

    .od-amenity-table thead th:first-child {
        min-width: 200px;
    }

    .additional-dates-th {
        width: 260px;
    }

    .additional-dates-options-th {
        width: 120px;
    }

    .od-amenity-table {
        display: table;
    }

    .od-amenity-table-mobile {
        display: none;
    }
}

@media screen and (max-width: 58em) {
    .od-amenity-table {
        display: none;
    }

    .od-amenity-table-mobile {
        display: table;
        border-collapse: collapse !important;
    }

        .od-amenity-table-mobile th {
            vertical-align: top;
            padding-top: 20px;
            padding-right: 25px !important;
            padding-left: 25px !important;
            position: sticky;
            left: 0;
            z-index: 1;
        }

        .od-amenity-table-mobile td {
            padding: 0.5rem 1rem;
            min-width: 175px;
        }

            .od-amenity-table-mobile td:nth-child(even) {
                background-color: rgba(0, 0, 0, 0.05);
            }

    .od-swipe {
        display: block;
    }

    .od-amenity-table-container {
        max-height: unset;
    }

    .m-none {
        display: none;
    }
}
