/* -RESPONSIVE 2018- */
/* ---------------------- */
/* FOOTER TEXTMENU */ 
/*
* small phone
*/
@media screen
and (max-width: 360px) {
    .ytvideo-container {
        padding-bottom: 47.4%;
    }
    .bigscreen {
        min-width: 100%;
    }	
    .ytliblist ul > li {
        flex-grow: 1;
        flex-basis: 100%;	
    }	
}
/*
* phone and tablet
*/
@media screen
and (min-width: 361px)
and (max-width: 768px) {
    .ytvideo-container {
        padding-bottom: 51.8%;
    }
    .bigscreen {
        min-width: 100%;
        width: 100%;        
        
    }	
    .ytliblist ul > li {
        flex-grow: 1;
        flex-basis: 50%;	
    }
}

/* desktop large */
@media only screen
and (min-width : 769px)
and (max-width : 993px) {
    .ytvideo-container {
        padding-bottom: 53.7%;
    }
    .bigscreen {
        min-width: 80%;
        width: 500px;        
        
    }
    .ytliblist ul > li {
        flex-grow: 1;
        flex-basis: 33.3%;	
    }
}

/* desktop and tablet */
@media only screen
and (min-width : 994px)
and (max-width : 1169px) {
    .ytvideo-container {
        padding-bottom: 53.7%;
    }
    .bigscreen {
        min-width: 70%;
        width: 600px;        
    }
    .ytliblist ul > li {
        flex-grow: 1;
        flex-basis: 25%;	
    }
}

/* desktop large */
@media only screen
and (min-width : 1170px)
and (max-width : 1699px) {
    .ytvideo-container {
        padding-bottom: 53.7%;
    }
    .bigscreen {
        min-width: 70%;
        width: 900px;
    }
    .ytliblist ul > li {
        flex-grow: 1;
        flex-basis: 25%;	
    }
}

@media only screen
and (min-width : 1700px) {
    .ytvideo-container {
        padding-bottom: 54%;
    }
    .bigscreen {
        min-width: 70%;
        width: 1200px;
    }
    .ytliblist ul > li {
        flex-grow: 1;
        flex-basis: 25%;	
    }
}

.bigscreen {
    text-align:center;
}
.fullbgvideo {
    overflow: hidden;
    transform: scale(1.1);
}


/* video container for youtube */
.ytvideo-container {
    /*
    position: relative;
    overflow: hidden;
    width: 100%;
    */
    position: relative;
    padding-top: 30px; height: 0; overflow: hidden;    
}
.ytvideo-container.noevent {
    pointer-events: none;
}

.ytvideo-container iframe,
.ytvideo-container object,
.ytvideo-container embed {
    /*
    display: block;
    width: 100%;
    */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.02);
}
.ytvideo-container .player {
    width: 100%;
}
/*- */
div.video-library {
    background-color: #FFF;
    border: 1px solid #e2e2e2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: rgb(255, 255, 255);
    -webkit-box-shadow: 0 1px 3px rgba(5, 5, 5, 0.35);
    -moz-box-shadow: 0 1px 3px rgba(5, 5, 5, 0.35);
    box-shadow: 0 1px 3px rgba(5, 5, 5, 0.35);
    margin-bottom: 20px;
    overflow: hidden;
    padding: 15px;
}
div.video-library .vidbox {
    width: 50%;
    overflow: hidden;
    float: left;
}
div.video-library .vidbig {
    text-align: center;
}

div.video-library .show {
    margin: 0px;
    padding: 0px;
}

div.video-library .list {
    margin: 0px;
    padding: 0px;
}

div.video-library .list ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
div.video-library .list ul li {
    padding: 2px;
    height: 60px;
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 0px;
    margin-left: 5px;
    overflow: hidden;
    font-size: 0.8em;
    text-align: justify;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #CCC;
}

div.video-library .list ul li b {
    font-size: 1.2em;
}
div.video-library .list ul li img {
    float: left;
    width: 60px;
    margin-right: 5px;
    margin-bottom: 15px;
}
div.video-library .list ul li a,
div.video-library .list ul li a:visited {
    display: block;
    color: #333;
    text-decoration: none;
    padding-top: 2px;
    padding-right: 0px;
    padding-bottom: 2px;
    padding-left: 0px;
    height: 16px;
    overflow: hidden;
    text-align: left;
}
div.video-library .list ul li a:hover {
    color: #FFFFFF;
    background-color: #445f2b;
}

/* list */
.ytliblist {

}

.ytliblist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ytliblist ul > li {
    margin: 1em;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;	
}

.ytliblist ul > li div.img {
    padding-bottom: 52%;
    height: 0;
}
.ytliblist ul > li div.img img {
    display: block;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;

    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    transform: translate(-50%, -50%);
}
.ytliblist ul > li div.title {
    width: 100%;
    background-color: rgba(0,0,0,0.25);
    color: #FFF;
    position: absolute;
    bottom: 0;
    text-align: center;
    padding: 0.5em;
    text-shadow: 1px 1px 1px #000000;
}

.ytliblist ul > li:hover {
    background-color: #666;
}