﻿.pga__media-gallery .gallery-wrapper .gallery-item {
    margin-bottom: 30px;
}

    .pga__media-gallery .gallery-wrapper .gallery-item > a {
        display: block;
        position: relative;
        width: 100%;
        border-radius: var(--pga-border-radius-xl);
        text-decoration: none;
        overflow: hidden;
    }

        .pga__media-gallery .gallery-wrapper .gallery-item > a > img {
            display: block;
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .pga__media-gallery .gallery-wrapper .gallery-item > a::before {
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--pga-black);
            content: '';
            opacity: 0;
            z-index: 1;
            transition: opacity .3s;
        }

        .pga__media-gallery .gallery-wrapper .gallery-item > a::after {
            display: block;
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            margin-top: -24px;
            -webkit-transform: translateY(15px);
            -ms-transform: translateY(15px);
            transform: translateY(15px);
            transition: all .35s;
            color: var(--pga-white);
            font-family: bootstrap-icons !important;
            font-size: 32px;
            text-align: center;
            content: '\f62c';
            opacity: 0;
            z-index: 5;
        }

        .pga__media-gallery .gallery-wrapper .gallery-item > a:hover::before {
            opacity: .45;
        }

        .pga__media-gallery .gallery-wrapper .gallery-item > a:hover::after {
            -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
            transform: translateY(0);
            opacity: 1;
        }

        .pga__media-gallery .gallery-wrapper .gallery-item > a[data-type='video']::after {
            left: 50%;
            width: 46px;
            height: 46px;
            margin-top: -22px;
            margin-left: -22px;
            padding-left: 5px;
            -webkit-transform: none;
            -ms-transform: none;
            transform: none;
            border-radius: 50%;
            background-position: center;
            background-color: var(--pga-white);
            background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAMBJREFUOE+dksERwiAQRXfTgXbkpBKOythDKELP2IeJdCINGNMArAMaBydAEC5w2H38/3cRAGDTnm/uJoNsUnvt3qUHXeG2PdG3gaCztrmUgpaAN0kjgXgMXK4pSQF8HwGqNVtZQPC7tKYRMVulAM9CAmZso0LQX4CPop98agCzMzn2nFUDXMDP/rCrAWiLlk3Xo/K5LBYpN3iCbhy4CEtKAXVj9IuERsxyY+KSCtzM61Y54jMXy6zgDgAqta45wAu+7nYR7xVX/AAAAABJRU5ErkJggg==);
            background-repeat: no-repeat;
            background-size: 10px 10px;
            box-shadow: 0 4px 15px 0 rgba(2, 2, 3, 0.25);
            content: '';
            opacity: 0.4;
        }

        .pga__media-gallery .gallery-wrapper .gallery-item > a[data-type='video']:hover::after {
            opacity: 1;
        }

    .pga__media-gallery .gallery-wrapper .gallery-item .caption {
        display: none;
    }

    .pga__media-gallery .gallery-wrapper .gallery-item.no-hover-effect > a::before {
        display: none;
    }

.pga__media-gallery .gallery-wrapper .owl-carousel .gallery-item {
    margin-bottom: 0;
}

.pga__media-gallery .audio-iframe {
    width: 100% !important;
    height: 100% !important;
}

/* video embed */
.pga__video-embed-section {
    position: relative;
    z-index: 1;
}

    .header-wrapper {
        border-bottom: 1px solid var(--pga-border-color);
        margin-bottom: 1rem;
    }

    #videoEmbedPlyr {
        border: 0;
        border-radius: var(--pga-border-radius-xl);
    }

    .player-wrapper {
        position: relative;
        border: 0;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        width: 100%;
        height: 100%;
        background-color: transparent;
        border-radius: var(--pga-border-radius-xl);
    }

a.video-title {
    font-size: 0.8rem;
}

    p.video-date {
        font-size: 0.7rem;
        color: var(--pga-iron);
        padding-top: 0.5rem;
    }


.video-embed-thumbnail {
    position: relative;
}

    .video-embed-thumbnail img {
        width: 100%;
        max-width: 1000%;
        height: auto;
        -o-object-fit: cover;
        object-fit: cover;
        border-radius: var(--pga-border-radius-md);
    }

@media (min-width:280px) and (max-width: 576px) {
    .video-embed-thumbnail img {
        width: 60%;
    }   
}

@media (min-width: 577px) and (max-width:992px) {
    .video-embed-thumbnail img {
        width: 70%;
    }   
}

@media (min-width: 993px) and (max-width:2560px) {
    .video-embed-thumbnail img {
        width: 100%;
    }   
}

/* plyrjs overrides */
.pga__podcasts .plyr.plyr--stopped .plyr__controls {
    display: none
}

.pga__podcasts .plyr--audio .plyr__controls {
    border-radius: var(--pga-border-radius-xl) !important;
}

/* custom scrollbar */
/* firefox only */
.pga__custom-vh-scroll {
    scrollbar-color: var(--pga-blue) var(--pga-gray-100);
    scrollbar-width: thin;
}
    /* other browsers */
    .pga__custom-vh-scroll::-webkit-scrollbar {
        width: 1.25rem;
    }

    .pga__custom-vh-scroll::-webkit-scrollbar-track {
        background-color: var(--pga-gray-100);
    }

    .pga__custom-vh-scroll::-webkit-scrollbar-thumb {
        background-color: var(--pga-blue);
        border-radius: 1.25rem;
        border: 0.375rem solid transparent;
        background-clip: content-box;
    }

        .pga__custom-vh-scroll::-webkit-scrollbar-thumb:hover {
            background-color: var(--pga-blue-hover);
        }