.btn.enabled:hover {
    background-color: #040000 !important;
}

.ytgallery-buttons, .ytgallery-refresh {
    text-align: center;
    padding-bottom: 15px;
    padding-top: 20px;
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    user-select: none;
}

.ytgallery-pagination-text {
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
}

#ytgallery-flexbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    width:70vw;
}

.ytgallery-video-container {
    margin-top: 10px;
    width: 31%;
    margin-right: 1%;
    margin-left: 1%;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 71%), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 10px;
    transition: transform .2s;
    background-color: #252525;
}

.ytgallery-video-container:focus {
    outline: none !important;
}

.ytgallery-video-container:hover {
    background-color: #3c3c3c;
    transition: .2s;
}

.ytgallery-thumbnail-container {
    display: block;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    position: relative;
}

.ytgallery-video-thumbnail {
    object-fit: cover;
    /*margin-top: -9.45%;*/
    width: 100%;
}

.ytgallery-video-title {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    height: 55px;
    line-height: 1.5em;
    color: var(--primary-text-color);
    font-family: "Montserrat", "Helvetica", "Arial", sans-serif;
    font-size:14px;
    margin-bottom: 15px;
    color: white;
}

.ytgallery-video-date {
    display: flex;
    float: left;
    padding-left: 10px;
    color: var(--primary-text-color);
    font-family: "Montserrat", "Helvetica", "Arial", sans-serif;
    font-size:14px;
    line-height: 3;
    margin-bottom: 0;
    color: #929292
}

.ytgallery-video-views {
    display: flex;
    float: right;
    padding-right: 10px;
    color: var(--primary-text-color);
    font-family: "Montserrat", "Helvetica", "Arial", sans-serif;
    font-size:14px;
    line-height: 3;
    margin-bottom: 0;
    color: #929292
}

.ytgallery-video-duration {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #fff;
    z-index: 99;
    text-shadow: 0 0 2px #000;
    background: rgba(0, 0, 0, .6);
    padding: 0 3px;
    font-size: 12px !important;
    font-family: "Montserrat", "Helvetica", "Arial", sans-serif;
}

.ytgallery-video-container:hover>p {
    transition: .2s;
}

.ytgallery-video-container:hover {
    text-decoration: none;
    transform: scale(1.05);
}

#ytgallery-date-icon {
    display: flex;
    float: left;
    line-height: 3 !important;
    padding-left: 10px;
    color: #575a5c;
}

#ytgallery-views-icon {
    display: flex;
    float: right;
    padding-right: 10px;
    line-height: 3 !important;
    color: #575a5c;
}

.ytgallery-error {
    text-align: center;
}

@media only screen and (max-width: 999px) and (min-width: 768px) {
    .ytgallery-video-container {
        width: 48%;
    }
}

@media only screen and (max-width: 768px) {
    #ytgallery-flexbox {
        margin-right: 0;
    }

    .ytgallery-video-container {
        width: 100%;
        margin-right: 0px;
        margin-left: 0px;
    }

    .fancybox-content {
        height: 185px;
    }

    .fancybox-slide {
        padding: 0;
        padding-bottom: 100px;
    }
}

/*
.btn {
    display: inline-block;
    text-align: center;
    font-size: .875rem;
    padding: .8125rem 1rem .75rem;
    line-height: 1;
    cursor: pointer;
    transition: all .6s ease-out;
    overflow: hidden;
    border: none;
    background-color: #cd4e4e;
    color: #fff;
}

.btn:hover {
    background-color: #b53333;
    color: #fff;
}

*/
input {
    width: 100%;
    line-height: 3;
    background-color: var(--secondary-color);
    border: none;
    color: #fff;
    padding-left: 10px;
    padding-right: 10px;
}

input:focus {
    outline: none;
}

/*
.disabled {
    background-color: #cf7474;
    cursor: default;
}

.disabled:hover {
    background-color: #cf7474;
    cursor: default;
}
*/
.col1 {
    width: 100%;
}

.col2 {
    width: 48%;
}

.col3 {
    width: 31%;
}

.col4 {
    width: 23%;
}

#ytgallery-load-icon {
    border: 16px solid var(--tertiary-color);
    /* Light grey */
    border-top: 16px solid var(--secondary-color);
    /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
