/* Shared mobile styles for content pages */

.styled-table,
.main-content table {
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 800px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr,
.main-content table thead tr {
    background-color: #0A72A7;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td,
.main-content table th,
.main-content table td {
    padding: 10px 12px;
    vertical-align: top;
}

.styled-table tbody tr,
.main-content table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even),
.main-content table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type,
.main-content table tbody tr:last-of-type {
    border-bottom: 2px solid #0A72A7;
}

.table-scroll-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fff;
}

.table-scroll-hint {
    display: none;
    font-size: 12px;
    color: #555;
    padding: 8px 12px;
    background: #eef6fb;
    border-bottom: 1px solid #d6e8f2;
    text-align: center;
}

.page-content-mobile {
    width: 100%;
    overflow-x: hidden;
}

.page-content-mobile img {
    max-width: 100%;
    height: auto;
}

.vmv-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    background: #000;
}

.video-gallery-row > [class*="col-"] {
    margin-bottom: 20px;
}

.gallery-events-grid .gallery-event-item {
    height: auto !important;
    margin-bottom: 20px;
}

.gallery-events-grid .event-list .thumb img {
    width: 100%;
    height: auto !important;
    max-height: 220px;
    object-fit: cover;
}

.placements-grid .placement-card {
    margin-bottom: 20px;
}

.placements-grid .icon-box img {
    max-width: 70px;
    height: auto;
}

@media (max-width: 991px) {
    .inner-header .container.pt-120 {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }
}

@media (max-width: 767px) {
    body, #wrapper, .main-content {
        overflow-x: hidden;
        max-width: 100%;
    }

    .table-scroll-hint {
        display: block;
    }

    .inner-header .container.pt-120 {
        padding-top: 50px !important;
        padding-bottom: 25px !important;
    }

    .inner-header font {
        font-size: 16px !important;
    }

    .main-content .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-content .container.pt-80,
    .main-content .container.pt-70,
    .main-content .container.pt-5 {
        padding-top: 30px !important;
    }

    .main-content p,
    .main-content li,
    .main-content td,
    .main-content th {
        font-size: 14px;
        line-height: 1.7;
        word-wrap: break-word;
    }

    .main-content .col-md-10,
    .main-content .col-md-12 {
        width: 100%;
        float: none;
    }

    .main-content img {
        max-width: 100% !important;
        height: auto !important;
    }

    .styled-table,
    .main-content table {
        min-width: 750px;
        font-size: 13px;
    }

    .styled-table th,
    .styled-table td,
    .main-content table th,
    .main-content table td {
        padding: 8px 10px;
        white-space: nowrap;
    }

    .styled-table td:nth-child(2),
    .main-content table td:nth-child(2) {
        white-space: normal;
        min-width: 180px;
    }

    .table-scroll-wrap .dataTables_wrapper {
        overflow-x: visible;
        min-width: 0;
    }

    .table-scroll-wrap .dataTables_filter,
    .table-scroll-wrap .dataTables_length,
    .table-scroll-wrap .dataTables_info,
    .table-scroll-wrap .dataTables_paginate {
        white-space: normal;
    }

    .placements-grid > [class*="col-"],
    .gallery-events-grid > [class*="col-"],
    .video-gallery-row > [class*="col-"] {
        width: 100%;
        float: none;
    }

    .gallery-events-grid .event-list .thumb img {
        max-height: 180px;
    }
}
