/** STYLING FOR FRONT PAGE CONTENT **/

.front #main-content {
  padding-top: 1em;
}

#frontpage-panel .homepage-block {
  border: 4px solid #1e549c;
  background-color: #ececec;
}

/** PANELS **/
#frontpage-panel {
  
}
#frontpage-panel .center-wrapper .panel-col-first {
  width: 100%;
}
#frontpage-panel .center-wrapper .panel-col-last {
  text-align: center;
  width: 100%;
}

/** NOW PLAYING -- TV and FM **/

#frontpage--mobile-schedule-links {
  font-size: .8em;
  font-weight: bold;
  line-height: 1.3em;
  overflow: auto;
  padding: 1em 0;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

#frontpage--mobile-schedule-links a,
#frontpage--mobile-schedule-links a:active,
#frontpage--mobile-schedule-links a:visited {
  background-color: #003F6A;
  color: #FFFFFF;
  display: block;
  padding: 1em .25em;
  width: calc(50% - .5em);
}

#frontpage--mobile-schedule-links--tv {
  float: left;
}

#frontpage--mobile-schedule-links--fm {
  float: right;
}

.front #on-now--tv,
.front #on-now--fm {
  display: none;
}


/** UPCOMING HIGHLIGHTS **/

#frontpage--tv-highlight--first-primary {
  display: none;
}

.frontpage--tv-highlight--first,
.frontpage--tv-highlight--first  img {
  max-width: 100%;
  overflow: auto;
  position: relative;
  text-align: center;
	width: 100%;
}

.tv-highlight--first--text a:hover {
	background-color: rgba(255,255,255, 0.9);
}

.frontpage--tv-highlight--row {
  margin-bottom: .5em;
  padding: .75em;
  text-align: center;
}

.frontpage--tv-highlight--row.views-row-3 {
  clear: both;
}

a.upcoming-highlights--list--link {
  display: block;
  color: #FFFFFF;
  background-color: #1e549c;
}
.upcoming-highlights--list--title {
  display: block;
  font-weight: bold;
}
.upcoming-highlights--list--text {
  display: block;
  height: 8.5em;
  line-height: 1.1em;
  padding: 0.5em;
  text-align: left;
}
.upcoming-highlights--list--airdate {
  color: #1E549C;
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  padding: 0.5em 0 1em;
  text-align: center;
}

.frontpage--tv-highlight--row img {
  
}

.frontpage--tv-highlight--row.views-row-1 {
  background-color: #e5ecf6;
}
.frontpage--tv-highlight--row.views-row-2 {
  background-color: #d3e3f8;
}
.frontpage--tv-highlight--row.views-row-3 {
  background-color: #bdd3f1;
}
.frontpage--tv-highlight--row.views-row-4 {
  background-color: #a9c6ec;
}
.frontpage--tv-highlight--row.views-row-last {
  margin-bottom: 0;
}

.frontpage--tv-highlights--list-title {

}

.frontpage--tv-highlights--list-airdate {
  display: none;
}

/** BOX ADS **/
#frontpage--box-ad-1 {
  
}
#frontpage--box-ad-2 {
  display: none;
}

@media screen and (min-width: 625px) {
  #frontpage--box-ad-1 {
    
  }
  #frontpage--box-ad-2 {
    
  }
}

@media screen and (min-width: 750px) {
  /* Display "On Now" for TV and FM */
  #frontpage--mobile-schedule-links {
    display: none;
  }
  
  .front #on-now--tv,
  .front #on-now--fm {
    display: block;
    margin-bottom: 1em;
  }
  
  #tv-highlight--first--text {
		background-color: #000000;
    color: #FFFFFF;
    font-size: 1em;
    left: 1px;
    margin-top: -6px;
    overflow: hidden;
    padding: 1em .25em .1em;
    text-decoration: none;
		width: 100%;
	}
	
  #tv-highlight--first--text a {
    color: #FFFFFF;
    font-size: 1.5em;
    text-decoration: none;
	}
	
	#tv-highlight--first--text a:hover {
    color: #FFFFFF;
    font-size: 1.5em;
    text-decoration: underline;
	}
}

@media screen and (min-width: 950px) {
  /* Show full image for "Tonight" and show images for "Coming Up" */
  #frontpage-panel .center-wrapper .panel-col-first {
    width: calc(100% - 350px);
  }
  #frontpage-panel .center-wrapper .panel-col-last {
    float: right;
    width: 300px;
  }
  #frontpage-panel .center-wrapper .panel-col-last h2 {
    text-align: left;
  }

  #frontpage--tv-highlight--first-mobile {
    display: none;
  }
  #frontpage--tv-highlight--first-primary {
    display: inline;
  }
  
  #block-views-upcoming-highlights-block-1 {
    overflow: auto;
    padding: 0 0 2em;
    width: 60%;
  }
  .upcoming-highlights--list--title {
    display: block;
	padding: .5em;
	background-color: #1E549C;
	color: #FFFFFF;
  }
  .upcoming-highlights--list--image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    display: block;
    height: 12em;
  }
  .upcoming-highlights--list--airdate {
    
  }
  
  .frontpage--tv-highlight--row {
    background-color: #eee;
    display: block;
    float: left;
    margin-right: 10px;
    padding: 0;
    width: calc(50% - 10px);
  }
  .frontpage--tv-highlight--row.views-row-1,
  .frontpage--tv-highlight--row.views-row-2,
  .frontpage--tv-highlight--row.views-row-3,
  .frontpage--tv-highlight--row.views-row-4 {
    background-color: #eee;
  }
  .frontpage--tv-highlight--row.views-row-last {
    margin-bottom: 0;
  }
  .frontpage--tv-highlight--row.views-row-even::after {
    clear: both;
    content: '.';
    display: block;
    height: 0;
    visibility: hidden;
  }
  .frontpage--tv-highlights--list-title {
    display: none;
  }
  .frontpage--tv-highlights--list-img {
    display: inline;
    max-height: 10em;
    max-width: 100%;
  }
  .frontpage--tv-highlights--list-airdate {
    display: block;
  }
  
  #frontpage--box-ad-2 {
    display: block;
  }
}

/** POPULAR ON WQED **/

.popular-on-wqed-container {
	padding-top: 1em;
}