#tv-schedule {
  width: 300px;
  height: 575px;
  background-color: #fff;
  margin-top: 0px;
  padding: 0px 20px;
  position: relative;
  margin-left: auto;
  margin-right: auto; 
}

  .date-display {margin-left: 211px;
z-index: 99;}

#tv-schedule-scroll-container {
 margin-left: 0;
width: 290px;
  height: 581px;
  overflow-y: hidden;
  overflow-x: auto;
}

  .jspContainer .jspTrack {
position: relative;
background: linear-gradient(rgb(159, 159, 159) 0%, rgb(183, 183, 183) 4%, rgb(204, 204, 204) 7%, rgb(216, 216, 216) 11%, rgb(224, 224, 224) 14%, rgb(224, 224, 224) 18%, rgb(221, 221, 221) 21%, rgb(223, 223, 223) 25%, rgb(223, 223, 223) 86%, rgb(218, 218, 218) 89%, rgb(203, 203, 203) 93%, rgb(183, 183, 183) 96%, rgb(157, 157, 157) 100%);
}

  .jspContainer .jspDrag {
background: url('/sites/all/themes/iptv_bootstrap/images/scroller-background.jpg') no-repeat #993400;
position: relative;
top: 0;
left: 0;
cursor: pointer;width: 113px !important;
}

  .jspContainer .jspHorizontalBar .jspTrack, .jspHorizontalBar .jspDrag {
float: left;
height: 29px;
}
 
  .jspContainer .jspHorizontalBar {
position: absolute;
bottom: 566px;
left: 0;
width: 100%;
height: 16px;
background: #fff;
}

div.listings-wrapper {
  white-space: nowrap;margin-bottom: 7px;height: 116px;
}


ul.times, ul.listings {
  display: inline-block;
  white-space:nowrap;
  padding:0;
  margin: 0 0 5px 0;
  margin-left: -5px;
  font-size: 0; /*Fix for extra spacing with inline-block elements*/
}

 ul.listings li {
  background: rgb(226,226,226);
  border-radius: 1px;
  font-size: 13px;
  height: 116px;
  display: inline-block;
  padding: 0;
  margin: 0px 5px;
  vertical-align:top;
  width: 130px;
  zoom: 1;
     color: #005c7a;
     font-weight: bold;
     box-sizing: border-box;
  *display: inline; /*ie*/
}

.local .schedule-grid-item {width: 100%;background: url(/sites/all/themes/iptv_bootstrap/images/schedule-grid-iptv-corner-logo-overlay.png) no-repeat;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;
margin: 0;height: 116px;border: 0;border-radius: 0;box-sizing: border-box;}

ul.times li {background: #103e62;
border-radius: 1px;
  font-size: 13px;
  height: 100%;
  display: inline-block;
  padding: 5px;
  margin: 5px 5px;
  vertical-align:top;
 width: 156px;
    box-sizing: border-box;
  zoom: 1;
  *display: inline; /*ie*/
}

ul.listings li a, ul.listings-vertical li a {
  color: #103E62;/*#2a6496;*/white-space: normal;height: 116px;display: block;
}

ul.listings li span .pbs-listing-grid-subtitle {
  font-style: italic;
  font-size: 90%;
}

ul.times-vertical, ul.listings-vertical {
  margin: 0;
}

ul.times-vertical li, ul.listings-vertical li {
  background: rgb(226,226,226);
}

ul.times #start-time-2330, ul.listings li.grid-last-col {
  margin-right: 0;
  padding-right: 0;
}

ul.times-vertical, ul.listings-vertical {
  display: block;
  float:left;
  height: 7944px;
  overflow: hidden;
    padding: 0;
}
ul.times-vertical li, ul.listings-vertical li {
  display: block;  
  width: 100px;
  height: 150px;
    margin: 5px 4px;
padding: 4px;
    border: 1px solid #ccc;

 
}

ul.times-vertical li  { 
background: #CCE;
 
}


ul.listings-vertical li {
background: #ffffff;    
background: -moz-linear-gradient(top,#ffffff 0%,#ffffff 43%,#e5e5e5 100%);
background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#ffffff),color-stop(43%,#ffffff),color-stop(100%,#e5e5e5));
background: -webkit-linear-gradient(top,#ffffff 0%,#ffffff 43%,#e5e5e5 100%);
background: -o-linear-gradient(top,#ffffff 0%,#ffffff 43%,#e5e5e5 100%);
background: -ms-linear-gradient(top,#ffffff 0%,#ffffff 43%,#e5e5e5 100%);
background: linear-gradient(to bottom,#ffffff 0%,#ffffff 43%,#e5e5e5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#e5e5e5',GradientType=0);
}

ul.times-vertical li {
  width: 75px;
}

ul.times-vertical h3, ul.listings-vertical h3 {
  text-align: center;
  font-size: 1.2em;
  margin:0;
}

ul.times-vertical h3 {
  visibility: hidden;
}

ul.listings li.grid-last-col span {
  padding-right: 2px;
}

ul.times {
  color: #dfe4dd;
  font-weight: normal;
  height: 30px;
    margin-top: 28px;
}

ul.listings {
  height: 75px;
}
ul.listings li, ul.listings-vertical li {
  overflow: hidden;
    background: linear-gradient(rgb(218, 218, 218) 0%, rgb(228, 228, 228) 12%, rgb(227, 227, 227) 14%, rgb(231, 231, 231) 21%, rgb(231, 231, 231) 78%, rgb(225, 225, 225) 91%, rgb(218, 218, 218) 100%);
}

ul.listings li.local {background: url(/sites/all/themes/iptv_bootstrap/images/schedule-grid-iptv-corner-logo-overlay.png) no-repeat;
-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;}
ul.listings li.local a {color:#fff;background: rgba(0,0,0,0.4);box-sizing: border-box;width: 100%;display: inline-block;padding-left: 5px;line-height: 20px;}
 
.genre-ch .schedule-grid-item {width: 100%;margin: 0;height: 116px;border: 0;border-radius: 0;box-sizing: border-box;color:#fff;}
.genre-ch .schedule-grid-item a {color: #fff;background: rgba(0,0,0,0.4);box-sizing: border-box;width: 100%;display: inline-block;padding-left: 5px;line-height: 20px;}


ul.listings li span, ul.listings-vertical li {
  font-size: 1.1em;
  white-space: normal;
}

@media (max-width:720px) {
  .current-programs-list a {
    display: block;
    width: 100%;
    padding-bottom: 15px;
  }
  .current-programs-list span {
    display: none;
  }
}



  #date-time-options {
  top: 5px;
  left: 212px;
}

  #controls {
  height: 20px;
}

  #controls a {
  display: block;
  height: 30px;
  width: 30px;
  text-align:center;
  background: #444;
  position: absolute;
  top: 18px;
  text-decoration: none;
  color: white;
  font-size:1.3em;
}
  #controls a.prev {
  left: 213px;z-index: 999;
}
  #controls a.next {
  right: 17px;z-index: 999;
}

  #station-list {
  top: 151px;  
    z-index: 999;
opacity: .2;
background: transparent;
position: absolute;
left: 21px;
text-align: left;
}

#station-list h3 {
height: 85px; 
pointer-events: none;
width: 165px;
 font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #444;  
  padding: 5px;
  width: 100px; 
  font-size: 1.2em;
  margin:0;
    font-weight: bold;
}
#station-list .iptv {width: 181px;margin-bottom: 5px;
background: url(/sites/all/themes/iptv_bootstrap/images/schedule-iptv-logo.jpg) no-repeat;
height: 116px;}
#station-list .learns {width: 181px;margin-bottom: 7px;
background: url(/sites/all/themes/iptv_bootstrap/images/schedule-learns-logo.jpg) no-repeat;
height: 116px;}
#station-list .world {width: 181px;margin-bottom: 7px;
background: url(/sites/all/themes/iptv_bootstrap/images/schedule-world-logo.jpg) no-repeat;
height: 116px;}

#station-list .create {width: 181px;margin-bottom: 5px;
background: url(/sites/all/themes/iptv_bootstrap/images/dot-4.png) no-repeat;
height: 116px;}

#station-list .kids {width: 181px;
background: url(/sites/all/themes/iptv_bootstrap/images/schedule-kids-logo.jpg) no-repeat;
height: 116px;}

  .listings *,   .listings *:before,   .listings *:after {
-webkit-box-sizing: initial;
-moz-box-sizing: initial;
box-sizing: initial;
}

.times *, .times *:before, .times *:after {
-webkit-box-sizing: initial;
-moz-box-sizing: initial;
box-sizing: initial;
}

  .listings-vertical *,   .listings-vertical *:before,   .listings-vertical *:after {
-webkit-box-sizing: initial;
-moz-box-sizing: initial;
box-sizing: initial;
}

.times-vertical *, .times-vertical *:before, .times-vertical *:after {
-webkit-box-sizing: initial;
-moz-box-sizing: initial;
box-sizing: initial;
}



#tv-schedule input[type="submit"], #tv-schedule button, #tv-schedule #controls a, #schedule-links button {
background: #9f3400;
font-weight: normal;
    color: #fff;
    border: 0;
border-radius: 5px;
padding: 4px 12px;
}


#block-iptv-schedule-grid-iptv-schedule-grid-week {
    position: relative;
}

#block-iptv-schedule-grid-iptv-schedule-grid-week #controls a {
    background: #6285C7;
    border-radius: 4px;
    top: 50px;
    height: auto;
    padding: 4px;
    font-size: 1em;
    width: 110px;
}

#block-iptv-schedule-grid-iptv-schedule-grid-week #controls a.prev {
    left: 15px;
}

#block-iptv-schedule-grid-iptv-schedule-grid-week #controls a.prev i {
    margin-right: 3px;
}

#block-iptv-schedule-grid-iptv-schedule-grid-week #controls a.next {
    right: 12px;
}

#block-iptv-schedule-grid-iptv-schedule-grid-week #controls a.next i {
    margin-left: 5px;
}

#block-iptv-schedule-grid-iptv-schedule-grid-week #controls a.disabled {
    background: #ccc;
    color: #efefef;
}

#pbs-fullschedule tr:hover td.pbs_tvschedules_modules-tvschedules-griddata_feedid,#pbs-fullschedule tr:hover td.pbs_tvschedules_modules-tvschedules-griddata_fullday_timeheader,#pbs-fullschedule tr:hover td.pbs_tvschedules_modules-tvschedules-gridheader_daypart_header {
    background-color: #313131;
}

#pbs-fullschedule table {
    margin-bottom: 0;
}

#pbs_tvschedules_module-overlay .pbs_tvschedules_modules-module_topper_container,#pbs_tvschedules_module-overlay .pbs_tvschedules_modules-module_footer_container {
    display: none;
}


#channel-selector a {
    
    padding: 5px;
    margin: 5px;
    font-weight: bold;
    
}

#channel-selector {
    margin-bottom: 15px;
}

#channel-selector a.active {
    background: #6285C7;
    color: #fff;
}

 

  #date-time-options {
    left: 50px;
}

/*shake something*/
@-webkit-keyframes shake {
  0%, 100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }

  20%, 40%, 60%, 80% {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }
}

@keyframes shake {
  0%, 100% {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }

  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    transform: translateX(-20px);
  }

  20%, 40%, 60%, 80% {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
  }
}

  .animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
  .swipeIcon {height: 23px;}
  .swipeIcon img {
  position: absolute;
  right: 5%;
   width: 64px;
  height: 32px;
  opacity: 0.5;
}
  .alignright {
  display: inline;
  float: right;
  margin-left: 10px;
}
  .animated {
  -webkit-animation-duration: 11s;
  animation-duration: 11s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
  .shake {
  -webkit-animation-name: shake;
  animation-name: shake;
}

/* calendar */

  .ui-icon {
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
}
  .ui-datepicker th {font-weight: normal;}
  .ui-datepicker-month,   .ui-datepicker-year {text-transform: uppercase;font-weight: normal;font-size: 1.3em;}
  .highlight > a.ui-state-default {
    background: url("images/ui-bg_highlight-soft_25_ffef8f_1x100.png") repeat-x scroll 50% top #FFEF8F !important;
    border: 1px solid #F9DD34;
    color: #000000;
}

  .ui-widget-content .ui-datepicker-calendar .ui-state-active {
    background: none;
    color: #005c7a;
    border: 0;
    font-weight: 600;
}

  .ui-widget-content .ui-datepicker-calendar .ui-state-highlight {
    font-weight: 700;
}

.schedule-btns {margin-top: 15px;margin-bottom:0;}

@media (min-width:0px) and (max-width:399px) {
    #tv-schedule {width: 295px;padding: 5px;margin-top: 0px;}
    #controls a.prev {left: 0;}
     #controls a {top:67px;}
     #controls a.next {right: -12px;}
    #tv-schedule input[type="submit"] {margin-top: 15px;}     
      .date-display {margin-left: 15px;position: relative;}
    #station-list {top: 151px; z-index: 999;background: transparent;position: absolute;left: -169px;text-align: left;}
    #tv-schedule-weekly-wrapper {width: 100%;height: auto;
  overflow: auto; -webkit-overflow-scrolling: touch;}
    #tv-schedule-weekly {width: 1024px;}    
}
 @media (min-width:400px) and (max-width:740px) {
       .date-display {margin-left: 0;}
     #controls a.prev {left: 7px;}
     #controls a {top:19px;}
     #controls a.next {right: -24px;}
     #station-list {top: 99px; z-index: 999;background: transparent;position: absolute;left: -169px;text-align: left;}
     #tv-schedule-weekly-wrapper {width: 100%;height: auto;
  overflow: auto; -webkit-overflow-scrolling: touch;}
#tv-schedule-weekly {width: 1024px;}      
 }

@media all and (min-width: 740px) and (min-device-width:740px),(max-device-width:800px) and (min-width:740px) and (orientation:landscape) {
    
   

    .grid-channel-wrapper {
        width: 442px;
        float: left;
    }

    .grid-channel-hd1 {
        margin-right: 15px;
    }

    #iptv-schedule-full-link,#fm-schedule-full-link {
        position: relative;
        top: inherit;
        right: inherit;
    }

    #schedule-search {
        display: block;
    }

    #station-list {
        z-index: inherit;
        opacity: 1;
        background: inherit;
        top: 105px;
        left: 15px;
        text-align: right;
    }

    #station-list h3 {
        width: 100px;
    }


}
@media all and (min-width: 740px) {
    #tv-schedule-scroll-container {margin-left: 194px;width: 448px;}
    #tv-schedule {width: 690px;height: 481px;}  
}
@media all and (min-width: 910px) {
    #tv-schedule-scroll-container {
        width: 641px;
    }
    #tv-schedule {
        width: 860px;
        height: 581px;
    }
}

@media all and (min-width: 740px) and (min-device-width:740px),(max-device-width:800px) and (min-width:740px) and (orientation:landscape) {
    .hide-mobile {
        display:inherit !important;
    } 

      #date-time-options {
        left: 212px;
        position: absolute;
    }

    #channel-selector,#schedule-links button {
        font-size: 65%;
    }

    #schedule-links {
        margin-top: -5px;
    }

      ul.listings-vertical li {
        font-size: 80%;
    }

     #tv-schedule-weekly-wrapper {width: 100%;height: auto;
  overflow: auto; -webkit-overflow-scrolling: touch;}
#tv-schedule-weekly {width: 1024px;}


}
 
@media all and (min-width: 980px) and (min-device-width:980px),all and (max-device-width:1024px) and (min-width:1024px) and (orientation:landscape) {
     
    .grid-channel-wrapper {
        width: 442px;
        float: left;
    }

    .grid-channel-hd1 {
        margin-right: 15px;
    }
    #tv-schedule-scroll-container {
        width: 600px;
    }
    
    #iptv-schedule-full-link,#fm-schedule-full-link {
        position: relative;
        top: inherit;
        right: inherit;
    }

    #schedule-search {
        display: block;
    }

    #station-list {
        z-index: inherit;
        opacity: inherit;
        background: inherit;
        top: 105px;
        left: 15px;
        text-align: right;
    }

    #station-list h3 {
        width: 100px;
    }

    #tv-schedule-weekly-wrapper {width: 100%;height: auto;
  overflow: auto; -webkit-overflow-scrolling: touch;}
#tv-schedule-weekly {width: 1024px;}

    
}
@media (max-width:860px) {
   .schedule-landing .col-md-5 {display: none;}
}

@media all and (min-width:861px) and (max-width:980px) {
      . .col-md-7 {width: 60%;float: left;}
      .col-md-5 {width: 40%;float: right;}
}

@media all and (min-width: 980px) and (min-device-width:980px),all and (max-device-width:1024px) and (min-width:1024px) and (orientation:landscape) {
    .hide-mobile {
        display:inherit !important;
    }

   
     #tv-schedule-weekly-wrapper {width: 100%;height: auto;
  overflow: auto; -webkit-overflow-scrolling: touch;}
#tv-schedule-weekly {width: 1024px;}   
}
@media all and (max-width: 1100px) {
      .date-display {margin-left: 0;}
      .ui-datepicker.ui-datepicker-multi {width: 32em;}
    .iptv-passport-wrapper {text-align: center;}
    .iptv-passport-wrapper img {max-width: 277px;height: auto;}

}
@media all and (max-width: 1024px) {
       .date-display {margin-left: 0;}
}
@media all and (min-width: 1220px) {
    

    .grid-channel-wrapper {
        width: 442px;
        float: left;
    }

    .grid-channel-hd1 {
        margin-right: 15px;
    }

    #iptv-schedule-full-link,#fm-schedule-full-link {
        position: relative;
        top: inherit;
        right: inherit;
    }    

    #station-list {
        z-index: inherit;
        opacity: inherit;
        background: inherit;
            top: 99px;
        left: 21px;
        text-align: right;
    }

    #station-list h3 {
        width: 100px;
    }

     
}
@media all and (min-width:1024px) {
    .mobile-only {
        display:none !important;
    }
}
@media all and (min-width: 1220px) {
    #tv-schedule-weekly {
  width: 1100px;
}
    
   
    #iptv-schedule-full-link,#fm-schedule-full-link {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    #tv-schedule {
        width: 100%;
    }

    #tv-schedule-scroll-container {
        width: 877px;
    }

    #schedule-search {
        display: block;
    }

    ul.listings-vertical li {
        width: 125px;
        font-size: inherit;
    }

    #channel-selector,#schedule-links button {
        font-size: inherit;
    }

    .grid-channel-wrapper {
        width: 562px;
        float: left;
    }

    .grid-channel-hd1 {
        margin-right: 15px;
    }

      
}
 

/* weekly schedule */
  ul.listings-vertical h3 {
font-family: "Open Sans",Arial,Helvetica,Verdana,sans-serif;
}
 
/* mobile styles */
      .mobile-schd-head,   .mobile-sched-meta {display:none;}
.times-mobile {
	list-style: none;
    padding: 0 10px 0 0;
    border: 0;
    clip: rect(0 0 0 0);
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    color: #fff;   
    display: none;
}
.times-mobile li {height: 55px;}

@media (max-width:350px) {
      .main-container h1 {font-size: 24px;}
      .main-container h2 {font-size: 22px;}
      #channel-selector a {margin: 3px;}
      .btn {padding: 6px 9px;}
    .times-mobile {display: block;}
}

@media (min-width:351px) and (max-width:700px) {         
        
}

@media (max-width:684px) {  
  .channel-iptv {display:block;}
  .channel-world {display:none;}
  .channel-learns {display:none;}
  .channel-create {display:none;}
}

@media (max-width:700px) {
  #schedule-btns-large {
    display: none;
  }

  .mobile-schd-head, .mobile-sched-meta {
    display: block;
  }

    .mobile-schd-head img {
      max-width: 95px;
    }
  /*.jspContainer {height: auto !important;} */
  #station-list, .jspContainer .jspHorizontalBar, ul.times, #controls, .jspVerticalBar {
    display: none;
  }

  ul.listings {
    height: auto;
  }

    ul.listings li {
      display: block;
      width: 253px !important;
      height: 71px;
      padding: 5px !important;
    }

  div.listings-wrapper {
    height: auto;
  }

  #tv-schedule-scroll-container {
    height: 3800px !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
  }
      ul.listings li a {height: 50px;}
      #tv-schedule {height: auto;padding: 0;margin-left: 0;}
      .jspPane {margin-left: 0 !important;}
      .listings li {background:linear-gradient(rgb(218, 218, 218) 0%, rgb(228, 228, 228) 12%, rgb(227, 227, 227) 14%, rgb(231, 231, 231) 21%, rgb(231, 231, 231) 78%, rgb(225, 225, 225) 91%, rgb(218, 218, 218) 100%) !important;}
      .channel-world {display:none;}
      .channel-learns {display:none;}
      .channel-create {display:none;}
      .genre-ch .schedule-grid-item a,   ul.listings li.local a {color: #2a6496;background: none;}  
    #schedule-btns-mobile {width:100%;}
}

@media (min-width:701px) {
      #channel-selector {display:none;}
      #schedule-btns-mobile {display: none;}
}
@media (min-width:1050px) {
      .ui-datepicker td a {padding: 0px;}
      .ui-datepicker td {padding: 0px;}
      .ui-datepicker th {padding: .0em .3em;}
    .page-node-34 .field-name-title h1 {margin-top: 0;}
    .schedule-btns {margin-top: 5px;}
    .page-node-34 .main-container h2 {padding-top: 5px;padding-bottom: 5px;}
}
