
/*videos*/
.tax-video-category h1{
    float: none !important;
    text-align: center;
}
.tax-video-category p#breadcrumbs {
    text-align: center;
    margin: 17px 0;
}
.tax-video-category .main_content {width: 100%;}
.videoItems{}
.videoItems .videoItem{
    float: right;
    width: 29%;
    margin: 0 2% 4%;
    cursor: pointer;
    border: 1px solid #ecebeb;
    position: relative;
    min-height: 27.5vw;
}
.videoItems .videoItem .imageItem{
    overflow: hidden;
    max-height: 362px;
    height: 20.1vw;
    position: relative;
    border-bottom: 1px solid #ecebeb;
}
.videoItems .videoItem img{
    width: 100%;
    height:auto;

}
.videoItems .videoItem .imageItem::before{
    content: '';
    background-color: rgba(17,53,95,0);
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-transition: all 400ms ;
    -moz-transition: all 400ms ;
    -o-transition: all 400ms ;
    transition: all 400ms ;
}

.videoItems .videoItem .imageItem:hover::before{
    background-color: rgba(17,53,95,0.5);
    -webkit-transition: all 400ms ;
    -moz-transition: all 400ms ;
    -o-transition: all 400ms ;
    transition: all 400ms ;
}
.videoItems .videoItem .imageItem::after{
    content: '';
    background: url(assets/images/play-button.png) no-repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 14%;
    height: 20%;
    margin: auto;
    background-size: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}
.videoItems .videoItem .imageItem:hover::after{
    opacity: 1;
}
.videoItems .textItem {
    margin: 10px 13px;
    /*min-height: 60px;*/
}
.videoItems .textItem h2 span {
    float: right;
    margin: 0 0 0 5px;
}
.videoItems .textItem h2{
    margin: 0 0 5px 0;
    font-size: 21px;
    font-weight: bold;
    clear: both;
    display: table;
    width: 100%;
}
.videoItems .textItem p{
    margin: 0;
    font-size: 18px;
}
.videoItems .iframeWrap{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    height: 100%;
    width: 100%;
    z-index: 99999999;
}
.videoItems .iframeWrap .close{
    position: absolute;
    top: -14px;
    right: -11px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 1px 7px;
    font-weight: bold;
    background: #000;
    cursor: pointer;
}
.videoItems .iframeWrap::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background: rgba(0,0,0,0.5);
}
.videoItems .iframeWrap .contentFrame{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    width: 80%;
    height: 73%;
    z-index: 999999999;
}
.videoItems .iframeWrap iframe{
    width: 100%;
    height: 100%;
}
/*videos*/

@media(max-width: 1270px){
    .videoItems .textItem h2 {
        font-size: 1.7vw;
    }
    .videoItems .textItem p {
        font-size: 1.4vw;
    }
}
@media(max-width: 860px){
    .videoItems .iframeWrap .contentFrame {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 6%;
        margin: 0 auto;
        width: 89%;
        height: 71%;
        z-index: 999999999;
    }
}
@media(max-width: 670px){
    .videoItems .videoItem {
        width: 45%;
        min-height: 41.5vw;
    }
    .videoItems .textItem p {
        font-size: 2.4vw;
    }
    .videoItems .textItem h2 {
        font-size: 2.7vw;
    }
    .videoItems .videoItem .imageItem {
        height: 31.7vw;
    }
}
@media(max-width: 600px){
    .videoItems .iframeWrap .close {
        top: -31px;
        right: -3px;
    }
}
@media(max-width: 500px){
    .videoItems .videoItem {
        height: auto;
        width: 92%;
        max-height: none;
        margin: 0 auto;
    }
    .videoItems .videoItem .imageItem {
        max-height: 62.7vw;
        height: auto;
    }
    .videoItems .textItem h2 {
        font-size: 4vw;
    }
    .videoItems .textItem p {
        font-size: 3.8vw;
    }
}
@media(max-width: 480px){
    .videoItems .textItem {
        margin: 8px 13px;
        min-height: 1vw;
    }
    .videoItems .videoItem {
        min-height: 45.5vw;
    }
    .videoItems .textItem p {
        font-size: 2.8vw;
    }
    .videoItems .textItem h2 {
        font-size: 3vw;
    }
}
@media(max-width: 370px) {
    .videoItems .videoItem {
        height: auto;
        width: 92%;
        max-height: none;
    }
    .videoItems .videoItem .imageItem {
        max-height: 62.7vw;
        height: auto;
    }
    .videoItems .textItem h2 {
        font-size: 4vw;
    }
    .videoItems .textItem p {
        font-size: 3.8vw;
    }
}