/*
 * Droid Arabic Kufi (Arabic) http://www.google.com/fonts/earlyaccess
 */
@font-face {
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  font-weight: 400;
  src: url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.eot);
  src: url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
       url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.woff2) format('woff2'),
       url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.woff) format('woff'),
       url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  font-weight: 700;
  src: url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Bold.eot);
  src: url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Bold.eot?#iefix) format('embedded-opentype'),
       url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Bold.woff2) format('woff2'),
       url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Bold.woff) format('woff'),
       url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Bold.ttf) format('truetype');
}
/*firefox bug with always buffering icon*/


/*.isFF .spinner-three-bounce {
  display: none !important;
}*/
body {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
}
#loading{width: 100%;}
#loading p{color: white;}
.fade {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -ms-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}
.fade.fadedIn {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
ul#menu {
  text-align: right;
  /*float: left;*/
  color: lightgrey;
  margin:0;
  display:inline-block;

}
.landscape ul#menu {
  float: right;
}
#topBar {
  background-color: #1b1b1b;
}
.landscape div.heading {
  color: white;
}
.landscape div.heading .title {
  font-size: 30px;
}
.landscape div.logo, .landscape div.heading {
  display: inline-block;
  padding: 10px;
}
.landscape div.logo img {
  height: 55px;
  vertical-align: bottom;
  width: auto;
}
.portrait div.logo, .portrait div.heading {
  display:none;
}
ul#menu li {
  margin: 0;
  display: inline-block;
  font-size: 15px;
  text-align: center;
}
.portrait ul#menu {
  width: 55px !important;
  padding:5px;
  max-height: 105px;
  position:fixed;
  bottom: 0;
  z-index: 3;
  background-color: #4a4a4a;
  box-shadow: 0 0 7px #1b1b1b;
}
.landscape ul#menu {
  /*height:100px !important;*/

}
.landscape ul#menu li{
  min-width: 20px;
  line-height: 30px;

}

.portrait ul#menu li {

  width:100%;
  min-height:25px;
  height: auto !important;
}
ul#menu li.button {
  cursor: pointer;
  font-weight: bold;
  font-size:20px;
}

div#scheduleContainer {
  float:left;
}

.subtitle {
  text-align: center;
  font-family: 'Droid Arabic Kufi', sans-serif;
  font-style: italic;
  font-size: 12pt;
}
code {
  color: graytext;
  font-family: monospace;
}
body {
  background-color: #1B1B1B;
  /* same color as the poster background */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: sans-serif;
}
.landscape #schedule ul img {
  width: 100%;
  height: auto !important;
  margin-left: 2px;
  /*max-width: 100%;*/
}
.landscape div.image {
  float: right;
  min-width: 120px;
  width: 100%;
  max-width: 360px;
  height: auto !important;
  box-sizing: border-box;
  /*padding-left:10px;*/
  padding: 0 10px;
}
.landscape div.text {
  font-family: 'Droid Arabic Kufi', sans-serif;
  float: right;
  text-align: right;
  min-width: 120px;
  width: 66.66%;
  padding-right: 15px;
  /*max-width: 145px;*/
  box-sizing: border-box;
}
.landscape #schedule {
  /*max-width:200px !important;
  width: 100% !important;
  float: right;*/
}
.landscape div.text .time {
  font-size: 20px;
  line-height: 30px;
}
.landscape div.text .title {
  font-size: 20px;
}
#player, #schedule {
  vertical-align: top;
  /*display:inline-block;*/
  float: left;
  overflow: hidden;
}
#schedule {
  border: 0;
  overflow: hidden;
  min-width: 130px;
}
#schedule ul {
  color: white;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.landscape #schedule ul li span.text {
  vertical-align: top;
}
.landscape #schedule ul li h1.time {
  vertical-align: inherit;
  display: block;
}
.landscape p.text span.time {
  font-size: 130%
}
.landscape #schedule li:nth-child(even) {
  background-color: #1b1b1b
}
.landscape #schedule li:nth-child(odd) {
  background-color: #171717
}
.landscape #schedule ul li {
  /*min-height:180px;*/
  /*margin-left:6px;*/
  padding-bottom: 15px;
  padding-top: 15px;
  clear: both;
  display: inline-block;
  width: 100% !important;
  /*border-bottom: 2px solid #8C8C8C;*/
  /*margin-bottom: 30px;*/
}
#schedule li.onAir .image img {
  border-bottom: 2px solid red;
}
li.beforeOnAir, li.onAir {
  cursor: pointer;
}
li.beforeOnAir img {
  opacity: 1;
}
li.afterOnAir img {
  opacity: .3;
}
li.beforeOnAir:hover img, li.afterOnAir:hover img {
  opacity: 1;
}
.portrait #schedule ul li {
  display: inline-block;
  position: relative;
  vertical-align: top;
}
.portrait #schedule ul img {
  /*width: 100%;*/
  width: auto;
  height:100%;
}
.portrait li {
  box-sizing:border-box;
}
.portrait li:first-child {
  margin-right: 5px;
}
.portrait li {
  margin-top: 5px;
}
.image {
  position: relative;
}
.portrait .image {
  /*height: 66%;*/
  width: 100%;
  position: relative;
  margin-bottom: 5px;
}
.portrait .text {
  /*height: 33%;*/
  font-family: 'Droid Arabic Kufi', sans-serif;
}
div.time {
  position: absolute;
  bottom:0;
  background-color: rgba(23, 23, 23, 0.75);
  padding:3px 3px 0 10px;
  line-height: 20px;
  
}
.landscape div.time {
  bottom: 6px;
}
/*.portrait .episode, .portrait .time {
  display: inline-block;
}*/
.portrait .title {
  font-size: 15px;
}
.episode {
  font-size: 13px;
  color: grey;
}
.time .play-icon {display:none;}
.dvrEnabled .beforeOnAir .play-icon, .dvrEnabled  .onAir .play-icon {
  display: inline;
    margin-left: 6px;

}
.time .play-icon{
  /*font-family: Player;*/
}
.time .play-icon::before{
  float:left;
  content: "\25B6";
}


/*timeline tooltip*/
.markers-plugin-tooltips {
  font-family: 'Droid Arabic Kufi', 'lucida grande', tahoma, verdana, arial, sans-serif !important;
}
.markers-plugin .markers-plugin-tooltips .tooltip-container .standard-tooltip {
  font-size: 13px !important;
}


/*scrollbar*/
.ftscroller_scrollbar {
  opacity: 1 !important;
  border-color: #1b1b1b;
}
.ftscroller_scrollbarinner {
    background-color: #ddd;
}

/*media queries*/
@media only screen and (max-height: 768px) {
  .landscape div.heading div.desc, .landscape div.logo {display: none;}
  .landscape div.heading div.title{
    font-size: inherit;
  }
  .landscape ul#menu {
    padding-left:0;
    float: none;
    text-align: center;
    width: 100%;
  }

}
@media only screen and (max-height: 260px) {
.landscape #topBar {
  display:none;
}
}

/* Smartphones (portrait and landscape) ----------- */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  /* Styles */
}

/* Smartphones (landscape) ----------- */

@media only screen and (min-width: 321px) {
  /* Styles */
}

/* Smartphones (portrait) ----------- */

@media only screen and (max-width: 320px) {
  /* Styles */
}

/* iPads (portrait and landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Styles */
}

/* iPads (landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  /* Styles */
}

/* iPads (portrait) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  /* Styles */
}

/* Desktops and laptops ----------- */

@media only screen and (min-width: 1224px) {
  /* Styles */
}

