@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700,800&display=swap&subset=latin-ext");

:root {
  --primary: #00B9B3;
  --transparent-dark: rgba(0,0,0,0.3);
  --transparent-menu: rgba(0,0,0,0.9);
  --transparent-light: rgba(255,255,255,0.15);
  --bg: linear-gradient(90deg, rgba(0, 35, 35, 1) 0%, rgba(0, 103, 102, 1) 100%);
  --bg-grey: #343a40;
  --bg-header: background: linear-gradient(90deg, rgba(0, 35, 35, .0) 0%, rgba(0, 103, 102, .5) 100%);
  --bg-header-grey: #343a40ee;
  /* --rounded: 15px;
  --rounded-sm: 7px;
  --shadow: 0 10px 36px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.login{
  background-image: url('assets/cover2.jpg');
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding-top: 10rem;
}
.login form{
  text-align: center;
}
.login img{
  margin-bottom: 100px;
}
.login form label{
  display: block;
  font-size: 30px;
}
.login form input[type=text]{
  font-size: 60px;
  height: 100px;
  text-align: center;
  border: 0;
  border-radius: 300px;
  padding: 20px;
  width: 400px;
  margin-top: 20px;
}
.login form button[type=submit]{
  display: none;
}
.login .login-alert{
  padding: 40px 0;
  background: rgb(13, 0, 0);
  font-size: 30px;
  font-weight: bold;
  display: none;
  width: 100%;
  position: absolute;
  top: 0;
  text-align: center;
}




.filter-white{ filter: invert(100%) brightness(104%) contrast(102%) }
.bg{ background: var(--bg-grey)}
.bg-header{ background: rgba(52, 58, 64, 0.93)}

*{
  cursor: crosshair;
}
/* .bg{ background: var(--bg)}
.bg-grey{ background: var(--bg-grey)}
.bg-header{ background: var(--bg-header)}
.bg-header-grey{ background: var(--bg-header-grey)} */
body{
  font-family: "Arial";
  margin: 0; padding: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  overflow: hidden;
}

h2{
  font-size: 2.5rem;
}

#main{
  padding: 140px 40px 0 40px;
  overflow: auto;
}

/* HEADER */
header{
  position: fixed;
  padding: 30px 0;
  width: 100%;
  z-index: 1000;
  /* -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px); */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header div{
  display: inline-block;
  vertical-align: middle;
}
header #station_logo img{
  /*box-shadow: var(--shadow);*/
  width: 80px;
  margin-left: 40px;
  /*  border-radius: var(--rounded-sm);*/
}
header #station_name, header #station_name h2{
  color: #fff;
  text-align: center;
  display: inline-block;
  font-weight: normal;
  vertical-align: middle;
  font-size: 3rem;
}
header #station_name span.archive{
  margin: 0 15px;
  padding: 0 15px;
  vertical-align: middle;
  font-size: 2rem;
}
header #station_name h2{
  margin-right: 15px;
  opacity: .5;
  margin: 0 15px 0 0;
}
header #time{
  text-align: right;
  color: #fff;
  font-size: 2.5rem;
  margin-right: 40px;
}
header .blank{
  width: 10%;
}
header img{
  display: block;
}
header #logo img{
  width: 180px;
  margin: 0 auto;
}

/* STATION LIST */
ul#station_list{
  padding: 0;
  margin: 0;
}
ul#station_list li{
  display: block;
  color: #fff;
  padding: 26px 26px 6px 26px;
  /*  /*  border-radius: var(--rounded);*/*/
}
ul#station_list li:nth-child(odd){
  background-color: var(--transparent-dark);
}
ul#station_list li:hover, ul#station_list li.active{
  background-color: var(--primary);
  /*box-shadow: var(--shadow);*/
}
ul#station_list li:hover > section title, ul#station_list li.active > section title{
  opacity: 1;
}
ul#station_list li .list_div{
  display: inline-block;
  vertical-align: -webkit-baseline-middle;
  text-align: center;
}
ul#station_list li img, #liveInfo > img{
  width: 111px;
  display: inline-block;
  vertical-align: middle;
  /*box-shadow: var(--shadow);*/
  /*  border-radius: var(--rounded);*/
}
#liveInfo > img{
  vertical-align: top;
}
ul#station_list li section, #liveInfo section{
  display: inline-block;
  padding-left: 25px;
  vertical-align: middle;
  width: calc(100% - 180px);
}
#liveInfo #liveInfo_archive{
  display: inline-block;
  vertical-align: middle;
}
ul#station_list li section div {
  margin-bottom: 12px;
}
ul#station_list li section div h2{
  display: inline-block;
  margin: 0 0 0 1rem;
  vertical-align: middle;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 75%;
}
ul#station_list li section div span{
  display: inline-block;
  /*  border-radius: var(--rounded-sm);*/
  background-color: var(--transparent-light);
  width: 100px;
  text-align: center;
  padding: 5px;
  margin-right: 10px;
  vertical-align: middle;
  font-size: 1.3rem;
}
ul#station_list li div title{
  display: block;
  /* font-size: 2rem; */
  padding: 4px 0;
  opacity: 0.8;
  text-overflow: ellipsis;
  width: 111px;
  white-space: nowrap;
  overflow: hidden;
  margin: 0 auto;
}
ul#station_list li div:nth-child(n+3){
  display:none;
}

/*SEARCH*/
#search{
  padding: 0 0 30px 0;
  text-align: center;
}
#search input[type=text]{
  /*  border-radius: var(--rounded);*/
  font-size: 3rem;
  color: #fff;
  width: 50%;
  /*box-shadow: var(--shadow);*/
  border-color: #fff;
  outline: none !important;
  text-align: center;
  padding: 20px;
  background-color: var(--transparent-dark);
}
#search img{
  position: absolute;
  color: #fff;
  width: 2.7rem;
  margin: 20px;
}

/*SEARCH RESULTS*/
ul#search_results{
  padding: 0;
  margin: 0;
}
h3#search_alert{
  text-align: center;
  color: rgba(255,255,255,.5);
  margin-top: 0;
}
ul#search_results li{
  display: block;
  color: #fff;
  padding: 20px 26px;
  /*  border-radius: var(--rounded);*/
}
ul#search_results li:nth-child(odd){
  background-color: var(--transparent-dark);
}
ul#search_results li:hover,ul#search_results li.active{
  background-color: var(--primary);
  /*box-shadow: var(--shadow);*/
}
ul#search_results li:hover > section p, ul#search_results li.active section p{
  opacity: 1;
}
ul#search_results li img{
  width: 160px;
  /*box-shadow: var(--shadow);*/
  display: inline-block;
  vertical-align: middle;
  /*  border-radius: var(--rounded);*/
}
ul#search_results li section{
  display: inline-block;
  padding-left: 25px;
  vertical-align: middle;
  width: calc(100% - 200px);
}
ul#search_results li section h2{
  margin: 0 0 15px 0;
  vertical-align: middle;
  font-weight: normal;
}
ul#search_results li section p{
    margin: 10px 0 0 0;
    opacity: .5;
}
ul#search_results li section span{
  display: inline-block;
  /*  border-radius: var(--rounded-sm);*/
  background-color: var(--transparent-light);
  width: 100px;
  text-align: center;
  padding: 5px;
  margin-right: 10px;
  vertical-align: middle;
}
ul#search_results li section span:nth-of-type(2){
  padding: 5px 15px;
  width: auto;
}
ul#search_results li section title{
  display: block;
  padding-bottom: 8px;
  opacity: 0.8;
  font-size: 1.6rem;
}

ul#search_results li:hover .archive, ul#search_results li.active .archive{
  background-color: #fff !important;
  color: var(--primary);
}



/*ARCHIVE DATES LIST*/
ul#archive_dates{
  padding: 0;
  margin: 0;
}
ul#archive_dates li{
  display: block;
  color: #fff;
  padding: 26px;
  /*  border-radius: var(--rounded);*/
}
ul#archive_dates li:nth-child(odd){
  background-color: var(--transparent-dark);
}
ul#archive_dates li:hover:not(.next-program), ul#archive_dates li.active{
  background-color: var(--primary);
  /*box-shadow: var(--shadow);*/
}
ul#archive_dates li p, #liveInfo section p{
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 2rem;
  margin-top: 1rem;
}

ul#archive_dates h2{
  color: var(--primary);
}

.prg_numbers{
  display: flex !important;
  justify-content: center;
  align-items: center;
}

ul#archive_dates li h2, ul#archive_dates li h3{
  display: inline-block;
  margin: 0 0 0 1rem;
  vertical-align: middle;
  font-weight: normal;
  color: #fff;
  font-size: 3rem;
}

ul#archive_dates li span, #header_archive span{
  display: inline-block;
  /*  border-radius: var(--rounded-sm);*/
  background-color: var(--transparent-light);
  width: 100px;
  text-align: center;
  padding: 5px;
  margin-right: 10px;
  vertical-align: sub;
  margin-bottom: 5px;
  font-size: 1.5rem
}
ul#archive_dates li.next-program h2{
  font-size: 2.5rem;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 80%;
  white-space: nowrap;
}
ul#archive_dates li.next-program div p{
  margin: 5px 0 25px 0;
  color: rgba(255,255,255,.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
span.live{
  background-color: rgb(255, 28, 92) !important;
  color: #fff;
}
span.archive{
  background-color: var(--primary) !important;
}
span.live img{
  margin-right: 10px;
  width: 1.2rem;
  margin-top: -4px;
  display: inline;
  vertical-align: middle;
}

/*ARCHIVE RECORDS*/
ul#archive_records{
  padding: 0;
  margin: 0;
  float: left;
  width: 50%;

}
ul#archive_records li{
  display: block;
  color: #fff;
  padding: 20px;
  /*  border-radius: var(--rounded);*/
}
ul#archive_records li:nth-child(odd){
  background-color: var(--transparent-dark);
}
ul#archive_records li:hover, ul#archive_records li.active{
  background-color: var(--primary) !important;
  /*box-shadow: var(--shadow);*/
}
ul#archive_records li p{
  margin: 0;
  display: none;
}
ul#archive_records h2{
  color: var(--primary);
}
ul#archive_records li h2, ul#archive_records li h3{
  display: inline-block;
  margin: 0;
  vertical-align: middle;
  font-weight: normal;
  color: #fff;
  white-space: nowrap;
  width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
}

ul#archive_records li span, #liveInfo section span{
  display: inline-block;
  /*  border-radius: var(--rounded-sm);*/
  background-color: var(--transparent-light);
  width: 100px;
  text-align: center;
  padding: 5px;
  margin-right: 10px;
  vertical-align: middle;
  font-size: 1.5rem
}

#liveInfo section span:nth-of-type(3){
	 padding: 5px 15px;
	 width: auto;
}



span#header_archive_date{
  width: auto !important;
  padding: 5px 15px !important;
  color: #fff;
}

/*ARCHIVE RECORDS DETAIL*/

ul#archive_records_detail{
  padding: 0 30px;
  margin: 0;
  width: 45%;
  float: left;
  color: #fff;
  text-align: center;
}
ul#archive_records_detail #poster img{
  /*  border-radius: var(--rounded);*/
  /* filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5)); */
  height: 450px;
  margin-bottom: 30px;
}
ul#archive_records_detail h2{
  margin: 0;
  font-size: 3rem;
}

ul#archive_records_detail #archive_fixed{
  position: fixed;
  margin: 0 auto;
  width: 45%;
}

ul#archive_records_detail p{
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 2rem;
}
/*MENU*/
#menu{
  position: fixed;
  background-color: var(--transparent-menu);
  width: 200px;
  left: 0;
  top: 0;
  bottom: 0;
  padding: 30px;
  z-index: 999999;
  text-align: center;
  color: #fff;
  transform: translate(-260px,0);
  transition: transform .2s ease-in-out;
}
#menu p{
  font-size: 1.5rem;
  margin: 0;
  padding: 30px 0;
  /*  border-radius: var(--rounded);*/
}
#menu p:active, #menu p:hover, p.active{
  background: #00B9B3;
  /*box-shadow: var(--shadow);*/
}

#menu #menu_btn{
  position: absolute;
  color: #fff;
  width: 3rem;
  margin-top: 4px;
  right: -88px;
  transition: transform .2s ease-in-out;
}
#menu p img{
  display: block;
  width: 3rem;
  margin: 0 auto;
  margin-bottom: 10px;
}

/*LIVE PROGRESS BAR*/
progress{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  display: block;
  margin-top: 12px;
}
#progress progress{
  margin: 0 0 20px 0;
}
progress[value],progress[value]::-webkit-progress-bar{
  background-color: rgba(255,255,255,0.1);
  /*  border-radius: var(--rounded);*/
}
progress::-webkit-progress-value{
  background-color: #fff;
  /*  border-radius: var(--rounded);*/
}

/*VIDEO PLAYER*/
#video-container{
  background: url("assets/touchtv-tv.png") center center #000 no-repeat;
  background-color: #000;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
video{  
  width: 100%;
  height: 100%;
}



/* HELPSERS */
p:empty, div:empty, span:empty:not(#bar){
  display: none !important;
}
div < span{
  display: none !important;
}
.overflow-hidden{
  overflow: hidden !important;
}
.content-stretch{
  display: flex !important;
  justify-content: space-between;
}
.content-stretch h2{
  width: 30%;
}
.d-none{
  display: none !important;
}
.disabled{
  opacity: 0.5 !important;
}
.disabled:hover{
  background: none !important;
  box-shadow: none !important;
  color: inherit !important;
}
.fixed-height-80{
  height: 80vh;
}
.fixed-height-88{
  height: 88vh;
}
.shadow{
  /* box-shadow: 4px 3px 20px 0px #00000082; */
}
.rounded{
  border-radius: 35px;
}
.rounded-left{
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}
.rounded-right{
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}
.blur{
  /* -webkit-backdrop-filter: blur(30px); */
  /* backdrop-filter: blur(30px); */
}









input[type=text],input[type=submit],input[type=reset]{
  height: 2.5rem;
  width: 20rem;
  font-size: 2rem;
  border: 2px solid grey;
}




#liveInfo{
  background-color: rgba(30, 30, 30, 0.8);
  color: #fff;
  position: fixed;
  width: auto;
  top: 30px;
  left: 75px;
  right: 75px;
  padding: 60px;
  z-index: 10;
}

#liveInfo section span{
  margin-right: 0 !important;
  font-size: 2rem;
  width: 200px;
}
#liveInfo section h2{
  margin: 0 0 20px 0;
  font-size: 3rem;
}
#liveInfo section p{
  margin-top: 15px;
  font-size: 2rem;
}

#videoControls{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 75px;
  background: linear-gradient(0deg, rgba(0,0,0,0.6993172268907564) 0%, rgba(0,0,0,0) 100%);
}




#customSeekbar
{
  position: relative;
  z-index: 10;
  cursor: pointer;
  height: 10px;
  margin-bottom: 10px;
  background-color: rgba(255,255,255,.4);
  overflow: hidden;
  width: 100%;
}
  #customSeekbar #bar
{
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  height: 10px;
  width: 0px;
}
#barProgress, #barDuration{
  font-size: 20px;
}
#barProgress{
  position: absolute;
  background-color: #fff;
  padding: 7px;
  text-align: center;
  /*  border-radius: var(--rounded-sm);*/
}
#barDuration{
  position: absolute;
  color: #fff;
  font-weight: bold;
  top: 50px;
  right: 75px;
}

/* following rule is for hiding Stack Overflow's console  */
.as-console-wrapper{ display: none !important;}
