﻿.dvidsBox {
    overflow: hidden;
    position: relative;
    width: 100%;
    min-height: 65vh;
    max-height: 65vh;
    background-color: rgba(0, 0, 0, 1);
    display: flex;
    border-bottom: 0;
    text-decoration: none;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.dvidsBox .video-detail-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 95%;
}

.dvidsBox .logo {
    height: 40%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dvidsBox .logo.no-logo {
    height: 0;
}
.dvidsBox .logo.hover{
    height: 22%;
}

.dvidsBox .playbtn {
    height: 20%;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dvidsBox .fa-play.slide-icon {
    outline: none;
}
.dvidsBox .playbtn.no-logo {
    height: 50%;
    align-items: flex-end;
}

.dvidsBox .details {
    margin: 20px 10% 0 10%;
}
.dvidsBox:hover{
    border-bottom: 0;
    text-decoration:none;
}

.dvidsBox, .dvidsBox .close:hover, .dvidsBox .image-date-auth:hover {
    cursor: pointer;
}

.dvidsBox .close {
    position: absolute;
    right: 20px;
    top: 5px;
    margin: 15px 15px 0;
    z-index: 500;
    color: #fff;
}
.dvidsBox div.ex2 {
    height: 20px;
    width: 20px;
    border-radius: 5px;
    position: relative;
    font-size: 40px;
}

.dvidsBox div.ex2:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 35px;
    color: #FFF;
    line-height: 50px;
    text-align: center;
}

.dvidsBox div.ex2:after {
    content: '\d7';
}

.dvidsBox .inner-container-class {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000;
    position: absolute;
    top:0;
    left:0;
    height: 100%;
}

.dvidsBox .bg-cover {
    background-image: none !important;
}

.dvidsBox .inner-container:after {
    padding-top: 33%;
    display: block;
    content: '';
}

.dvidsBox .inner-container-class .vid-play-button:hover {
    cursor: pointer;
}

.dvidsBox .vid-logo {
    height: 100%;
    width: 100%;
    margin-bottom: 30px;
    align-self: flex-end;
}
.dvidsBox .vid-logo.hover {
    max-width: 25%;
    height: auto;
    margin-bottom: 20px;
}

.dvidsBox .vid-play-button {
    width: auto;
    height: auto;
    max-width: 78px;
    color: #fff;
    text-shadow: 2px 2px 4px #000000;
}

.dvidsBox .inner-container-class .haze {
    width: 100%;
    height: 100%;
    background-color: rgba(28, 36, 73, .48);
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

 .dvidsBox .inner-container-class .haze:hover {
    background-color: rgba(28, 36, 73, .78);
    -webkit-transition: all 0.5s ease-in;
    -moz-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}

.dvidsBox .haze:hover .vid-play-button,
.dvidsBox .haze:hover .video-details {
    color: #fff;
    text-shadow: none;
}


.dvidsBox .hide {
    display: none;
}

.dvidsBox .details-hide{
   display:none;
}

.dvidsBox .video-details {
    color: #fff;
    text-shadow: 2px 2px 4px #000000;
}

.dvidsBox .image-title {
    margin: auto;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.65rem;
    line-height: 1.3;
    width: 100%;
    color: #fff;
}

.dvidsBox .category {
    margin: auto;
    text-align: center;
    font-size: .8rem;
    line-height: 1rem;
    font-weight: normal;
    display: flex;
}

.dvidsBox .category span{
    margin: auto;
    text-align:center;
    line-height: 2rem
}

.dvidsBox .image-date-auth {
    margin: auto;
    font-size: .8rem;
    line-height: 1rem;
    display: flex;
}

.dvidsBox .image-date-auth .image-date {
    flex: 1 0 90%;
    text-align:center;  
    font-size: .8rem;
}

.dvidsBox h1.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 1350px) {
    .dvidsBox .vid-logo {
        max-width: 20%;
    }
}
@media (max-width: 1350px) {
    .dvidsBox .vid-logo {
        max-width: 25%;
    }
}

@media (max-width: 1200px) {
    .dvidsBox .image-title {
        bottom: 25%;
    }

    .dvidsBox .category {
        bottom: 20%;
    }
}

@media (max-width: 991px) {
    .dvidsBox .image-date-auth .image-date {
        flex: 1 0 47%;
    }

    .dvidsBox {
        min-height: 75vh;
        max-height: 75vh;
    }

    .dvidsBox .logo {
        align-items: flex-end;
    }

    .dvidsBox .center-vid {
        position: absolute;
        top: 0px;
        bottom: 0px;
        width: 100%;
        height: auto !important;
    }

}


@media (max-width: 650px) {
    .dvidsBox .vid-logo {
        max-height: 45%;
        max-width: 50%;
    }
}


/*** Embedded Video ****/

.dvidsBox.video-open {
    height: auto;
    min-height: 5vh;
    max-height: 150vh;
}
.dvidsBox.video-open[data-fancybox]{
    min-height: 65vh;
    max-height: 65vh;
}

.dvidsBox video{
  width: 100%;
  margin:0 auto;
  max-height: 91vh;
  position: relative;
  visibility: hidden;
}

.dvidsBox .close-btn {
    position: absolute;
    right: 20px;
    top: 5px;
    z-index: 100;
    color: rgba(255, 255, 255, .5);
    text-shadow: 0 0 10px rgba(0, 0, 0, .2);
    display:none;
    font-size: 20px;
}
.dvidsBox:hover .close-btn {
   display:block;
}

.dvidsBox .close-btn:hover {
    color: rgba(255, 255, 255, .75);
}

@media (max-width: 1200px) {
    .dvidsBox {
        min-height: 55vw;
        max-height: 55vw;
    }
}
@media (max-width: 991px){
    .dvidsBox {
        flex: auto;
        min-height: 75vh;
        max-height: 75vh;
    }
}