#ROOT {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100vw;
    height: 100vh;
}

body {
    margin: 0; 
    overflow: hidden;
    background-color: black;
    background-size: cover;
}

#video_html5_api {
    position: absolute;
    top: 0;
    right: 0;
    transition: all 1s;
    transform: translateZ(0);
}

/* hide scrollbar */
::-webkit-scrollbar {
    width: 0px;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}

#programme {
    color: white;
    display: flex;
    position: absolute;
    width: calc(100vw - 300px);
    height: 200px;
    z-index: 5;
    bottom: 0;
    right: 0;
    transition: all 0.3s;
    background-color: rgba(0,0,0,0.7);
    transform: translateZ(0);
}

#company-logo{
    max-width: 300px;
}

#programme-icon{
    height: 100%;
}

#programme-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#programme-desc {
    padding: 10px;
}

#programme-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* title */
/*#programme-title div span:first-child , */ #programme-title div span.programme-title {
    margin: 10px 0 0 10px;
    font-size: 1.4em;
    display: block;
}

/* episode */
/* #programme-title div span:nth-child(2), */ #programme-title div span.programme-episode  {
    padding: 10px;
    font-size: 0.7em;
    display: block;
}

/* subtitle */
/* #programme-title div span:last-child , */ #programme-title div span.programme-sub-title{
    margin: 0 0 10px 10px;
    font-size: 1em;
    display: block;
}

/* date */
/* #programme-title span:last-child, */  #programme-title div.programme-time {
    padding: 5px;
    font-size: 0.9em;
    margin-right: 20px;
    margin-top: 10px;
    display: inline-block;
}
#programme-title div.current-time { 
    text-align: right;
}
#programme-title div.programme-time-holder {
    font-size:20px;
}

#video_html5_api{
    width: 100%;
    height: 100%;
}

#channel-container {
    background-color: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 300px;
    overflow-y: scroll;
    z-index: 5;
    transition: all 1s;
    transform: translateZ(0);
    height:100vh;
}

.channel {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 25px;
    padding-left: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.channel img {
    width: 30px;
    height: 30px;
    margin-right: 20px;
}

.channel.selected {
    background-color: rgba(1, 70, 167, 0.8);
    transition: all 0.1s;
}

.channel.playing {
    background-color: rgba(1, 70, 167, 0.5);
    transition: all 0.1s;
}

.stop {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-right: 25px;
        margin-left: 25px;
        border-bottom: 1px solid rgba(255,255,255,0.5);
        cursor: pointer;
    }
.vjs-control-text {
    display:none;
}


.loader {
    text-align: center;
    margin: 25% auto;
    padding-top: 100px;
    background: url(loader.gif) no-repeat;
    background-size: contain;
    width: 100px;
    height: 100px;
    font-size: 40px;
    color: #fff;
}

.channel-number { 
    right: 10px;
    padding: 10px 15px;
    border-radius: 4px;
    background: rgba(0,0,0,0.2);
    position: absolute;
    top: 10px;
    font-size:24px;
    color: #fff;
}

.channel-loader { 
    z-index: 2;
    margin:0 auto; 
    font-size: 40px;
    height: 40px;
    text-align: center;
    background:rgba(0,0,0,0.1);
    color:#fff;
}

.legend-container {
    width: calc(100vw - 315px);
    position:absolute;
    display: flex;
    height: 45px;
    padding-top: 25px;
    padding-left: 15px;
    top:0px;
    right:0;
    transition: all 0.3s;
    background:rgba(0,0,0,0.7);
}
.legend-container .restart, .legend-container .close { 
    color: #fff;
    margin-right:30px;
}
.legend-item {
    width:20px;
    height:20px;
    border-radius:3px;
    display: inline-block;
    margin: 0px 5px -5px 0px;
}

.epg-arrows, .channel-arrows, .p-button { 
    color: #fff;
    width: 165px;
    margin-right: 15px;
 }

.red { 
    background: #ff0000;
}
.blue { 
    background: #0cf;
 } 

img.channel-icon {
  position: relative;
}

img.channel-icon:after { 
  content: " " " " attr(alt);
  font-size: 16px;
  font-family: FontAwesome;
  color: rgb(255,255,255);
  display: block;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0,0,0);
}