/*! Lity - v2.3.1 - 2018-04-20
* http://sorgalla.com/lity/
* Copyright (c) 2015-2018 Jan Sorgalla; Licensed MIT */

.lity {
    z-index:9990;
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    white-space:nowrap;
    background:#0b0b0b;
    background:rgba(0,0,0,0.69);
    outline:none !important;
    opacity:0;
    -webkit-transition:opacity .3s ease;
    -o-transition:opacity .3s ease;
    transition:opacity .3s ease
}
.lity.lity-opened {
    opacity:1
}
.lity.lity-closed {
    opacity:0
}
.lity *{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box
}
.lity-wrap {
    z-index:9990;
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    text-align:center;
    outline:none !important
}
.lity-wrap:before {
    content:'';
    display:inline-block;
    height:100%;
    vertical-align:middle;
    margin-right:-0.25em
}
.lity-loader {
    z-index:9991;
    color:#fff;
    position:absolute;
    top:50%;
    margin-top:-0.8em;
    width:100%;
    text-align:center;
    font-size:14px;
    font-family:Arial, Helvetica, sans-serif;
    opacity:0;
    -webkit-transition:opacity .3s ease;
    -o-transition:opacity .3s ease;
    transition:opacity .3s ease
}
.lity-loading .lity-loader {
    opacity:1
}
.lity-container{
    z-index:9992;
    position:relative;
    text-align:left;
    vertical-align:middle;
    display:inline-block;
    white-space:normal;
    max-width:100%;
    max-height:100%;
    outline:none !important
}
.lity-content {
    z-index:9993;
    width:100%;
    -webkit-transform:scale(1);
    -ms-transform:scale(1);
    -o-transform:scale(1);
    transform:scale(1);
    -webkit-transition:-webkit-transform .3s ease;
    transition:-webkit-transform .3s ease;
    -o-transition:-o-transform .3s ease;
    transition:transform .3s ease;
    transition:transform .3s ease, -webkit-transform .3s ease, -o-transform .3s ease
}
.lity-loading .lity-content,.lity-closed .lity-content {
    -webkit-transform:scale(.8);
    -ms-transform:scale(.8);
    -o-transform:scale(.8);
    transform:scale(.8)
}
.lity-content:after {
    content:'';
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    display:block;
    right:0;
    width:auto;
    height:auto;
    z-index:-1;
    -webkit-box-shadow:0 0 8px rgba(0,0,0,0.6);
    box-shadow:0 0 8px rgba(0,0,0,0.6)
}
.lity-close {
    z-index:9994;
    width:35px;
    height:35px;
    position:fixed;
    right:0;
    top:0;
    -webkit-appearance:none;
    cursor:pointer;
    text-decoration:none;
    text-align:center;
    padding:0;
    color:#fff;
    font-style:normal;
    font-size:35px;
    font-family:Arial, Baskerville, monospace;
    line-height:35px;
    text-shadow:0 1px 2px rgba(0,0,0,0.6);
    border:0;
    background:none;
    outline:none;
    -webkit-box-shadow:none;
    box-shadow:none
}
.lity-close::-moz-focus-inner {
    border:0;
    padding:0
}
.lity-close:hover,.lity-close:focus,.lity-close:active,.lity-close:visited {
    text-decoration:none;
    text-align:center;
    padding:0;
    color:#fff;
    font-style:normal;
    font-size:35px;
    font-family:Arial, Baskerville, monospace;
    line-height:35px;
    text-shadow:0 1px 2px rgba(0,0,0,0.6);
    border:0;
    background:none;
    outline:none;
    -webkit-box-shadow:none;
    box-shadow:none
}
.lity-close:active {
    top:1px
}
.lity-image img {
    max-width:100%;
    display:block;
    line-height:0;
    border:0
}
.lity-iframe .lity-container,.lity-youtube .lity-container,.lity-vimeo .lity-container,.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container {
    width:100%;
    max-width:964px
}
.lity-iframe-container {
    width:100%;
    height:0;
    padding-top:56.25%;
    overflow:auto;
    pointer-events:auto;
    -webkit-transform:translateZ(0);
    transform:translateZ(0);
    -webkit-overflow-scrolling:touch
}
.lity-iframe-container iframe {
    position:absolute;
    display:block;
    top:0;
    left:0;
    width:100%;
    height:100%;
    -webkit-box-shadow:0 0 8px rgba(0,0,0,0.6);
    box-shadow:0 0 8px rgba(0,0,0,0.6);
    background:#000
}
.lity-hide {
    display:none
}

/* Custom style for product videos */

.youtube-videos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}
.youtube-video-item {
    width: 33%;
    margin-bottom: 20px;
}
.youtube-video {
    height: 200px;
    position: relative;
    margin: 0 15px;
}
.youtube-video:hover .youtube-video-button {
    background: #118ccf;
    width: 80px;
    height: 80px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .5);
}
.youtube-video:hover .youtube-video-button::before {
    border-left: 10px solid #fff;
}
.youtube-video:hover .youtube-video-overlay {
    background: rgba(76,88,103,0.69);
}
.youtube-video-overlay {
    z-index: 1;
    position: absolute;
    background: rgba(76,88,103,0.38);
    width: 100%;
    height: 100%;
    top: 0;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
}
.youtube-video-button {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(255,255,255,0.8);
    width: 60px;
    height: 60px;
    border-radius: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
}
.youtube-video-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid rgba(0,0,0,0);
    border-right: 10px solid rgba(0,0,0,0);
    border-bottom: 10px solid rgba(0,0,0,0);
    border-left: 10px solid #4C5867;
    transform: translate(-15%, -50%);
    -webkit-transform: translate(-15%, -50%);
    -moz-transform: translate(-15%, -50%);
    -o-transform: translate(-15%, -50%);
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
}
.youtube-video img {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: 200px;
    cursor: pointer;
    transition: .4s all;
    -webkit-transition: .4s all;
    -moz-transition: .4s all;
    -o-transition: .4s all;
}
.video-title {
    font-size: 15px;
    margin-left: 15px;
    margin-top: 5px;
}
.lity-youtube {
    width: 100%;
    height: 100%;
}
.youtube-unavailable {
    float: left;
    width: 100%;
}
@media screen and (max-width: 1199px) {
    .product-videos {
        margin-bottom: 0px;
    }
    .youtube-video, .youtube-video img {
        height: 170px;
    }
}
@media screen and (max-width: 991px) {
    .youtube-video, .youtube-video img {
        height: 145px;
    }
}
@media screen and (max-width: 900px) {
    .youtube-video-item {
        width: 50%;
    }
    .youtube-video, .youtube-video img {
        height: 165px;
    }
}
@media screen and (max-width: 675px) {
    .youtube-video, .youtube-video img {
        height: 140px;
    }
}
@media screen and (max-width: 575px) {
    .youtube-video-item {
        width: 100%;
    }
    .youtube-video, .youtube-video img {
        height: 150px;
    }
}
