.videoTitle {
    height: 16px;
    font-size: 13px;
    padding: 2px 0 2px;
    overflow: hidden;
    border: 1px solid rgba(197, 197, 197, 0);
    border-top-left-radius: 5px;
    border-right: none;
    border-bottom: none;
    margin-left: 1px;
    font-weight: bold;
}

.b-video-list {
    list-style: none;
    margin: 0 36px 0 0;
    padding: 0;
    max-height: 68px;
    overflow: hidden;
    display: inline-block;
}

body.expanded .b-video-list {
    max-height: 284px; /* max three rows of tiles */
    margin: 0;
}

.b-video-item {
    position: relative;
    width: 146px;
    height: 68px;
    background-repeat: no-repeat;
}

body.expanded .b-video-item {
    width: 128px;
}

.b-video-list .b-video-item {
    display: inline-block;
}

body:not(.expanded) .b-video-item:not(:first-of-type) {
    margin-left: -26px;
}

.b-video-item-tile {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 68px;
    border: 1px solid rgba(209, 210, 210, 0.5);
    border-radius: 2px;
    background-color: white; /* while bg picture is not loaded we need to hide what's behind (.btn-more) */
    background-repeat: no-repeat;
    cursor: pointer;
    background-position: 0 -12px;
    background-clip: border-box;
}

.b-video-cover {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.36);;
    -webkit-transition: background-color .2s;
    -moz-transition: background-color .2s;
    -ms-transition: background-color .2s;
    -o-transition: background-color .2s;
    transition: background-color .2s;
}

.b-play-outline {
    width: 50px;
    height: 50px;
    margin: 4px auto 0;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 100%/100%;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.b-play-triangle {
    width: 0;
    height: 0;
    margin-left: 15px;
    margin-top: 6px;
    border-top: 20px solid rgba(0, 0, 0, 0);
    border-bottom: 20px solid rgba(0, 0, 0, 0);
    border-left: 30px solid rgba(255, 255, 255, 0.8);
    z-index: 2;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.b-video-item-tile:hover {
    border-color: rgba(209, 210, 210, .98);
}

.b-video-item-tile:hover .b-video-cover {
    background-color: rgba(255, 255, 255, 0);
}
.b-video-item-tile:hover .b-play-outline {
    border: 4px solid rgba(223, 223, 223, 0);
}

.b-video-item-tile:hover .b-play-triangle {
    border-left: 30px solid rgba(255, 255, 255, 0.99);
}

.video-duration {
    display: inline-block;
    position: absolute;
    bottom: 1px;
    left: 1px;
    padding: 1px 2px;
    font-size: 8pt;
    border: 1px solid rgba(89, 89, 89, 0.56);
    font-weight: 500;
    letter-spacing: 0.03em;
    background-color: rgba(86, 86, 86, 0.65);
    color: #ECECEC;
}

/* Button Watch more */
.btn-more {
    display: inline-block;
    width: 65px;
    height: 19px;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    position: absolute;
    top: 23px;
    right: -24px;
    text-align: center;
    float: right;
    background-color: rgba(24, 88, 150, 0.7);
    font-variant: small-caps;
    font-size: 9pt;
    text-transform: lowercase;
    padding: 3px 1px 1px;
    color: #ECECEC;
    border: 0;
    cursor: pointer;
    -webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;
}

body.expanded .btn-more {
    display: none;
}

.btn-more:hover {
    background-color: rgba(24, 88, 150, 1);
}

#quchLabel {
    display: block;
    width: 112px;
    height: 14px;
    margin: 2px 0 0 1px;
    padding: 5px 0 0 8px;
    font-size: 6.6pt;
    background-color: #E6E6E6;
    color: #FFF;
    background-image: url(//api.videoly.co/images/powered_by_116x40.png);
    background-repeat: no-repeat;
    background-size: 58px;
    background-position: 57px -1px;
    text-decoration: none;
    -webkit-transition: all .4s ease 1s;
    -moz-transition: all .4s ease 1s;
    -ms-transition: all .4s ease 1s;
    -o-transition: all .4s ease 1s;
    transition: all .4s ease 1s;
}

body:hover #quchLabel {
    background-color: #185896;
    color: #DADADA;
}

#quchLabel:hover {
    text-decoration: underline;
}

.label-similar {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline;
    padding: 1px 8px;
    background-color: #E7E7CD;
    border-top-left-radius: 7px;
    font-size: 13px;
    font-variant: small-caps;
}

.b-video-item-tile:hover .label-similar {
    opacity: 0.3;
}

#btn-collapse {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
    height: 24px;
    width: 23px;
    margin-left: auto;
    background-color: #F8F8F8;
    border: 1px solid #4D4D4D;
    border-radius: 3px;
    cursor: pointer;
}

body.expanded #btn-collapse {
    display: block;
}


#btn-collapse:after,
#btn-collapse:before {
    content: '';
    position: absolute;
    top: 50%;
    z-index: 4;
    left: 10px;
    width: 2px;
    height: 17px;
    margin-top: -8px;
    background-color: #4D4D4D;
}

#btn-collapse:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

#btn-collapse:after {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
}

#btn-collapse:hover {
    background-color: rgb(47, 46, 45);
}

#btn-collapse:hover:after,
#btn-collapse:hover:before {
    background-color: #ffffff;
}
/*PLAYER*/
/* Styles for the video player frame */

#quch-close-icon {
    position: absolute;
    right: -14px;
    top: -14px;
    height: 24px;
    width: 23px;
    margin-left: auto;
    background-color: black;
    border: 2px solid white;
    border-radius: 100%/100%;
    cursor: pointer;
    display: none;
}

#quch-close-icon:after,
#quch-close-icon:before {
    content: '';
    position: absolute;
    top: 50%;
    z-index: 4;
    left: 10px;
    width: 2px;
    height: 17px;
    margin-top: -8px;
    background: white;
}

#quch-close-icon:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

#quch-close-icon:after {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
}

#quch-close-icon:hover {
    background-color: rgba(255, 101, 87, 1);
}




/*HIFI*/
#videoOverlay{
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000;
    background-color: rgba(24, 24, 24, 0.90);
}
#hsVideoPlayer{
    width: 580px;
    height: 456px;
    position: fixed;
    z-index: 1001;
    visibility: visible;
    display: block;
}