body {
  --epg-color: #F8B230;
  --epg-color-text: #fff;
  --epg-color-active : #E84D1C;
  --epg-color-text-active: #fff;
  --epg-color-text-time: #000;

  --epg-color-info: #E84D1C;
  --epg-color-text-info: #fff;

  --epg-border-radius: 5px;
}


#epg {
  position: relative;
  width: 100%;
  color: #222;
  height: 80px;
  overflow: hidden;
}

#epg #timeline {
  position: absolute;
  top: 0px;
}

#epg #timeline span {
  display: block;
  position: absolute;
  width: 50px;
  color:#000000;
  font-weight: 400;
  z-index: 3;
  line-height: 1;
}

#epg > #program > #currentpos {
  position: absolute;
  height: calc(100% - 55px);
  width: 2px;
  top: 25px;
  box-shadow: 0px 0px 2px rgba(0,0,0,.3);
  background: #E84D1C;
  z-index: 0;
}

#epg > #rooms {
  float: left;
  width: 150px;
  box-sizing: border-box;
  color: #E84D1C;
  font-weight: 400;
  font-size: 20px;
  text-align: left;
  text-transform: uppercase;
}
#epg > #rooms > div {
  position: relative;
  height: 32px;
  padding: 8px 30px 0px 0px;
  box-sizing: border-box;
}
#epg > #program {
  position: relative;
  top: 0px;
  left: 0px;
  overflow-y: hidden;
  overflow-x: auto;
  width: calc(100% - 40px);
  float: right;
  margin-right: 18px;
  padding-bottom: 30px;
}

#epg > #program i.fas {
  font-size: .8em;
  margin-right: 10px;
  vertical-align: .1em;
}

#epg > #program i.fas:hover {
  color: #D61317
}

#epg > #rooms > div:first-child,
#epg > #program > div:not(.moving-helpers):nth-child(3) {
  margin-top: 30px;
}
#epg > #program > div:not(.moving-helpers) {
  position: relative;
  left: 0px;
  height: 37px;
  cursor: pointer;
  margin: auto;
}

#epg > #program > div > div {
  position: absolute;
  top: 0px;
  background: #F8B230;
  color: #ffffff;
  border-radius: 5px;
  padding: 6px 11px;
  box-sizing: border-box;
  height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#epg > #program > div > div.now {
  color: #ffffff;
  background: #E84D1C;
  font-weight: 400;
  z-index: 3;
}

#prev, #next {
  position: absolute;
  top: 33px;
  z-index: 9;
  width: 26px;
  height: 26px;
  cursor: pointer;
}
#prev:hover *, #next:hover * {
  text-shadow: 0px 0px 25px rgba(0,0,0,.4);
}
#prev:hover .arrow, #next:hover .arrow {
  border-color: #ffffff;
}
#prev .arrow, #next .arrow {
  border-color: #E84D1C;
}


#prev {
  left: 0;
  padding: 3px 9px;
  box-sizing: border-box;
}
#next {
  right: 0px;
  padding: 3px 6px;
  box-sizing: border-box;
  margin-right: -6px
}
#mobile-closer {
  display: none;
}

i.arrow {
  border: solid;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  border-radius: 5px;
}

i.arrow.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

i.arrow.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

i.arrow.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

i.arrow.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


#program-info {
  position: absolute;
  background: #E84D1C;
  width: 400px;
  box-shadow: 1px 1px 20px rgba(0,0,0,.5);
  color: #ffffff;
  padding: 15px 20px 0px;
  box-sizing: border-box;
  text-align: left;
  z-index: 9;
}
#program-info:after {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136, 183, 213, 0);
  border-bottom-color: #E84D1C;
  border-width: 15px;
  margin-left: -15px;
}

#program-info .title {
  display: block;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 20px;
}

#daynav {
    margin-left: calc(245 / 1370 * 100%);
    margin-bottom: 20px;
}

#daynav span {
    margin-right: 20px;
    cursor: pointer;
}
#daynav span.active {
    font-style: italic;
    font-weight: 600;
}