/* MEDIA SECTION START */

.media-section {
    font-family: "Optima LT W01 Roman", sans-serif;
}

.media-image-box {
    /* overflow: hidden; */
    position: relative;
    height: 275px;
    cursor: pointer;
}

:lang(ur) .media-image-title {
    text-align: right;
}

.media-image-box-image {
    width: 100%;
    height: 100%;
    transition: all 1s;
    object-fit: cover;
}

.tabs-list {
    display: flex;  
    list-style: none;
}

.tabs {
    margin-bottom: 40px;
}

.tab-button {
    background-color: #2d3239;
    border: none;
    font-size: 1.5rem;
    text-transform: uppercase;
    padding: 1.5rem 2rem;
    margin-right: 10px;
    font-weight: bold;
    outline: 0 !important;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -o-transform: skew(-20deg);
    -ms-transform: skew(-20deg);
    transform: skewX(-20deg);
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.tab-button span {
    display: inline-block;
    color: white;
    -webkit-transform: skew(20deg);
    -moz-transform: skew(20deg);
    -o-transform: skew(20deg);
    -ms-transform: skew(20deg);
    transform: skew(20deg);
}

.tab-button:hover,
.tab-button-selected {
    background-color: var(--main-site-color);
}

.media-image-box-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(32, 0, 0, 0.466);
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease 0s;
}

.media-image-box-overlay:hover {
    opacity: 100;
    transform: translateY(0);
}

a.media-image-box-overlay-title {
    color: white;
    font-size: 2rem;
}

a.media-image-box-overlay-title:hover {
    color: white;
}

.media-image-box-overlay-button {
    color: var(--main-site-color);
    font-size: 1.5rem;
    padding: 5px 10px;
    border: none;
    margin-right: 5px;
}

.media-image-box-description {
    margin-top: 20px;
    color: #273039;
}

.media-image-title {
    font-size: 2.2rem;
}

.media-image-date {
    font-size: 1.5rem;
    color: var(--main-site-color);
}

.media-image-description {
    font-size: 1.4rem;
    font-family: "Open Sans", sans-serif;
}

.mega-image-container {
    width: 100vw;
    height: 100vh;
    background-color: #0000006b;
    z-index: 9999;
    position: fixed;
    top: 0;
    display: none;
}

.mega-image-container-close-icon {
    font-size: 3rem;
    position: absolute;
    right: 100px;
    top: 100px;
    color: white;
    cursor: pointer;
}

.mega-image-frame {
    width: 100%;
    height: 100%;
}

.mega-image-thumbnails {
    position: absolute;
    bottom: 0;
    left: 0;
}

.mega-image-thumbnails ul {
    list-style: none;
    padding: 0;
    margin: 10px 10px;
}

.mega-image-thumbnail {
    height: 85px;
    width: 85px;
    display: inline-block;
    margin-right: 5px;
    cursor: pointer;
}

.mega-image-thumbnail-selected {
    opacity: 1;
}

.mega-image-thumbnail-unselected {
    opacity: 0.4;
}

.mega-image-thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.page-banner {
    background-position: center;
}

@media only screen and (max-width: 600px) {
    .page-banner {
        background-position: -900px;
    }
}

.gallery-image {
    padding: 0 5px;
}

/* MEDIA SECTION END */
