/* base styles */
* {
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  background-color: #f2f2f2;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  line-height: 18px;
}

html {
  position: relative;
  min-height: 100%;
}

.clear {
  clear: both;
}

/* page */
@media screen and (min-width: 1220px) {
  .wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

header {
  min-height: 100px;
  background-color: #1a1a1a;
}

.logo {
  position: relative;
  margin: 0 auto;
  display: block;
  height: 80px;
  padding-top: 10px;
}

.hero-image {
  display: block;
  width: 100%;
}

.content {
  padding-bottom: 50px;
}

.stripe {
  padding-left: 20px;
  padding-right: 20px;
}

.main {
  background: linear-gradient(to bottom, rgba(242, 242, 242, 0.75) 0%, #f2f2f2 100px, #f2f2f2 100%);
  position: relative;
  padding-bottom: 30px;
  padding-top: 10px;
}

.headline {
  color: #262626;
  height: 40px;
  margin-bottom: 10px;
  margin-top: 20px;
  font-size: 19px;
  font-weight: 400;
}

.channels {
  margin-left: -5px;
  margin-right: -5px;
}

.channel-wrapper {
  float: left;
  width: 50%;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  box-sizing: border-box;
}

@media only screen and (min-width: 490px) and (max-width: 649px) {
  .channel-wrapper {
    width: 33.33%;
  }
}

@media only screen and (min-width: 650px) and (max-width: 809px) {
  .channel-wrapper {
    width: 25%;
  }
}

@media only screen and (min-width: 810px) and (max-width: 959px) {
  .channel-wrapper {
    width: 20%;
  }
}

@media only screen and (min-width: 960px) {
  .channel-wrapper {
    width: 16.66%;
  }
}

.channel {
  box-shadow: 2px 2px 2px 0px rgba(0, 1, 1, 0.2);
  border-radius: 3px;
  position: relative;
}

.channel:hover:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid #ffbb02;
  border-radius: 3px;
}

.channel_thumb {
  height: 220px;
  background-size: cover, 45px;
  background-position: center top;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.channel_logo {
  height: 60px;
  margin-top: -60px;
  background-color: rgba(255, 187, 2, 0.75);
  background-size: auto 40px;
  background-position: center;
  background-repeat: no-repeat;
}

.channel_program_title {
  height: 80px;
  background-color: white;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

.channel_schedule_title {
  font-weight: 600;
  max-height: 36px;
  overflow: hidden;
  padding: 0 5px;
  text-overflow: ellipsis;
  width: 100%;
  box-sizing: border-box;
}

.channel_schedule_time {
  font-weight: 300;
  max-height: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
}

footer {
  width: 100%;
  min-height: 50px;
  background-color: #311c54;
  box-sizing: border-box;
  text-align: center;
}

.footer-copyright {
  position: relative;
  font-size: 13px;
  font-weight: 200;
  color: #999;
  text-transform: uppercase;
  line-height: 50px;
}

.footer-cards {
  padding: 5px 0;
  line-height: 0;
}

@media only screen and (min-width: 580px) {
  footer { text-align: left; }
  .footer-copyright { float: left; }
  .footer-cards { float: right; }
}
