#fuel_lightbox {
    background-color: rgba(0, 0, 0, 0.8);
     position: fixed;
     z-index: 99999;
     bottom: 0;
     right: 0;
     left: 0;
     top: 0;
     margin: auto;
}
/*#fuel_lightbox.full-screen.youtube-type {
    width: 10rem;
    height: 10rem;
}*/
#fuel_lightbox .lightbox-content {
    position: absolute;
     max-width: 90%;
     width: 48em;
     width: fit-content;
     max-height: 28.5em;
     max-height: fit-content;
     height: 100%;
     height: fit-content;
     margin: auto;
     top: 0;
     bottom: 0;
     left: 0;
     right: 0;
}
#fuel_lightbox .lightbox-close {
    text-transform: uppercase;
     background: transparent;
     position: absolute;
     font-weight: 300;
     font-size: 0.9em;
     display: block;
     border: none;
     color: white;
     bottom: 0;
     right: 0;
     z-index: 2;
     opacity: 0;

}
#fuel_lightbox iframe, #fuel_lightbox img {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
     background: rgba(0,0,0,0.7);
}
.entry-content ul.video-links li::before {
    content: url('data:image/svg+xml;charset=UTF-8,<svg width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" viewBox="0 0 576 512"><defs/><path fill="%23002B85" d="M336 64H48C21 64 0 85 0 112v288c0 27 21 48 48 48h288c27 0 48-21 48-48V112c0-27-21-48-48-48zm190 38l-110 75v158l110 75c21 15 50 0 50-26V128c0-26-29-41-50-26z"/></svg>');
    transform: scale(1.2);
    top: 0.2em;
    left: -1.5em;
}

/* Video Library Page */
@media only screen and (max-width: 48.5em) {
    .video-playlist-list .wp-block-group__inner-container {
        display: block;
    }
    .video-playlist-list .wp-block-group__inner-container .fuel-lightbox {
        flex-wrap: nowrap;
        flex: 1 1 100%;
        width: 100%;
        flex-direction: initial;
        max-width: 100%;
    }
    .video-playlist-list .fuel-lightbox .bg {
        height: 4rem;
        flex: 1 0 5rem;
    }
    .video-playlist-list .fuel-lightbox .info {
        height: 4rem;
        flex: 1 1 auto;
        padding-left: 1rem;
        display: flex;
        align-items: center;
        text-align: left;
    }
}

.video-playlist-list .wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
}

.video-playlist-list .wp-block-group__inner-container > *  {
    flex: 1 1 23%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-width: 10rem;
    width: 23%;
    max-width: 23%;
    background: rgb(0 116 118 / 0.5);
    margin: 1%;
    border: 6px solid var(--blue2);
    color: #fff;
    position: relative;
    transition: all 300ms ease;
}
.video-playlist-list button:hover, .video-playlist-list button:focus {
    border-color: var(--orange);
}
.video-playlist-list button:hover span, .video-playlist-list button:focus span {
    background-color: var(--orange);
}
.video-playlist-list span {
    position: relative;
    display: block;
    width: 100%;
    background: var(--blue3);
    font-size: 0.7rem;
    transition: all 300ms ease;
    line-height: 1.4;
    padding: .3rem;
}
.video-playlist-list .bg {
    height: 10rem;
    background-size: cover;
    background-position: center;
}
.video-playlist-list .info {
    flex: auto;
}
.video-playlist-list .info b {
    text-transform: uppercase;
    padding: 0.2rem;
}
.video-playlist-list .info i {
    display: block;
    padding: 0.2rem;
}
.video-playlist-list .info :empty {
    display: none;
}

.fuel-lightbox.youtube .bg::before {
    content: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%222.5rem%22%20height%3D%222.5rem%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M152%20136l208%20120-208%20120z%22%2F%3E%3C%2Fsvg%3E');
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2rem;
    line-height: 3.5;
    border-radius: 20%;
    margin: auto;
    padding-left: 0.3rem;
    background: rgba(0,0,0,0.7);
    transition: all 300ms ease;
    transform: scale(0.8);
}
.fuel-lightbox.youtube:hover .bg::before,
.fuel-lightbox.youtube:focus .bg::before {
    background: #FF0000;
}


/* For full screen */
#fuel_lightbox.full-screen {
    opacity: 0;
    background-color: rgba(0, 0, 0, 1);
    pointer-events: none;
    transition: all 1500ms ease;
}
#fuel_lightbox.full-screen .lightbox-content {
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
}
#fuel_lightbox.full-screen .lightbox_media {
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
}
#fuel_lightbox.full-screen.js-active {
    opacity: 1;
    pointer-events: all;
}
.video-play-pause {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    margin: auto;
    cursor: default;
}
.video-controls-wrapper {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 0;
    padding: 1rem;
}
.video-controls .video-control {
    padding: 1rem;
    background: rgba(0, 149, 190, 0.6);
    transition: all 300ms ease;
}
.video-controls .video-control:hover {
    background: rgba(0, 149, 190, 1);
}
.video-controls .video-control:not(:last-of-type) {
    border-right: 1px solid rgb(0, 0, 0, 0.1);
}
.video-controls .video-control:nth-child(-n+2) {
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}
.pause .video-controls .video-control:nth-child(1) {
    display: none;
}
.play .video-controls .video-control:nth-child(2) {
    display: none;
}
.video-controls .video-control:last-of-type {
    border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem
}
.video-controls svg {
    width: 1.5rem;
    height: 1.5rem;
}
.video-controls path {
    fill:  #fff;
}
.video-controls span {
    width: 0;
    height: 0;
    overflow: hidden;
    display: inline-block;
}

@media only screen and (min-width: 68.5em) {
    #fuel_lightbox.full-screen .lightbox_media {
        object-fit: cover;
    }
}


/*For In-Place*/
.fuel-lightbox.in-place {
    position: relative;
    display: block;
}

.fuel-lightbox.in-place .lightbox_media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fuel-lightbox .video-fade-in {
    opacity: 0;
    transition: all 1500ms ease;
}
.fuel-lightbox .video-fade-in.js-active {
    opacity: 1;
}

.fuel-lightbox.in-place {
    border-radius: 5px;
     overflow: hidden;
 }
.fuel-lightbox.in-place::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    transition: all 300ms ease;
    background: rgba(0,0,0,0.0)
}
.fuel-lightbox.in-place svg {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
}
.fuel-lightbox.in-place path {
	transition: all 300ms ease;
}
.fuel-lightbox.in-place:hover path[fill="#FFF"] {
	fill: var(--lightBlue);
}
.fuel-lightbox.in-place:hover path[fill="#0095BE"] {
	fill: #fff;
	fill-opacity: 1;
}
.fuel-lightbox.in-place:hover::before {
    background: rgba(0,0,0,0.5)
}
.fuel-lightbox.in-place video,
.fuel-lightbox.in-place iframe{
	z-index: 2;
}
.fuel-lightbox.in-place .info {
    display: none;
}