/*
Theme Name: WPRB 2016
Author: Rob Whitaker
Description: Custom Radio Station Theme
Version: 0.0.1
Tags: WPRB

Actual styles are in style.php, which is interpreted as css via .htaccess
This is just to tell wordpress that we have a real theme.
*/
/**************************************
 * General style and non-specific classes
 *************************************/
@font-face {
  font-family: 'Arial';
  src: url("../../fonts/arial.ttf"); }

@font-face {
  font-family: 'Arial';
  src: url("../../fonts/arial.ttf"); }

body {
  background-color: #ffffff;
  font-family: 'Arial'; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Arial'; }

a {
  color: #a74b22; }

#sidebar a {
  color: #000000; }

a:hover {
  color: #181818; }

#footer a:hover {
  color: #e9e7da; }

#sidebar {
  /* Style page sidebars */
  float: right;
  right: 0;
  top: 0;
  z-index: 0;
  padding: 10px;
  margin: 0 0 50px 0;
  background-color: #d3d3d3;
  min-height: 500px;
  border-radius: 0 0 5px 5px;
  color: #000000; }

/* centered and boxed text or content */
.boxed {
  text-align: center;
  color: #181818;
  background-color: #FFFFFF;
  border-radius: 5px;
  padding: 2px; }

  .recent-playlists {
    padding: 1rem 2rem;
    margin: 0;
    list-style: none;
  }

  .recent-playlists li {
    margin-bottom: 1rem;
    text-transform: uppercase;
  }

  .recent-playlists small {
    display: block;
    text-transform: none;
  }
  
  .spinitron-js-widget .djs::before {
    content: 'with ';
    font-size: 0.75em;
  }

  .spinitron-todays-shows ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .spinitron-todays-shows ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: baseline;
  }
  
  .spinitron-todays-shows.special-programming ul li {
    padding: 10px 0;
    border-top: 1px solid #ccc;
    margin: 0;
  }

  .spinitron-todays-shows ul li time {
    flex: 0 1 100px;
  }

  .spinitron-todays-shows.special-programming ul li time {
    flex: 1 1;
  }

  .spinitron-todays-shows ul li p {
    flex: 2 1;
    margin-left: 1rem;
    margin-bottom: 0;
  }
/**************************************
 * Images
 *************************************/
.alignright {
  float: right;
  margin: 0 0 1em 1em; }

.alignleft {
  float: left;
  margin: 0 1em 1em 0; }

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto; }

img.fullwidth {
  width: 100%; }

/* Default image stuff in posts */
.post img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%; }

/**************************************
 * Header styles
 *************************************/
/* Styles for front-page content boxes */
.front-box {
  border-radius: 5px;
  padding: 10px;
  margin: 0 0 40px 0;
  background-color: #e9e7da; }

/* Specific styles for site header */
#header {
  position: relative;
  min-height: 350px;
  background-color: #e9e7da;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-attachment: fixed; }

#now-playing {
  float: left;
  max-width: 400px;
  margin: 50px 0 0 100px;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  display: inline-block;
  box-shadow: 3px 3px 5px #333;
  margin-bottom: 20px; }

#now-playing p {
  margin-bottom: 0;
}

#spin-recent {
  display: flex;
  align-items: center;
}

.spin-recent-image {
  flex: 1 1 40%;
  margin-right: 10px;
}
    
.spin-recent-image img {
  max-width: 100%;
  border-radius: 3px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15);
}

.spin-recent-meta {
  flex: 1 1 60%;
}

.listen-now {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.playbutton {
  background-color: #e9e7da; 
  margin-right: 1rem;
}

#navbar {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #5b5b5b; }

/* Class for anchoring navbar to top of the page */
#navbar.fixed {
  z-index: 100;
  position: fixed;
  top: 0;
  height: 50px;
  box-shadow: 2px 0px 5px 5px #333; }

/* phone number */
#phone {
  font-size: 16pt;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 5px 5px;
  color: #CCC; }

/* put all social buttons in the top right */
#social-area, #phone {
  float: right;
  padding: 0 5px 0 5px; }

#title {
  float: left;
  margin: 20% 0 0 10%;
  color: #CCC;
  font-size: 42pt;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px; }
  #title:hover {
    background-color: black; }

li.social-icon {
  display: inline-block;
  list-style: none;
  z-index: 10; }

/**************************************
 * Footer stuff
 *************************************/
#footer {
  padding: 2% 10% 1% 10%;
  min-height: 300px;
  background-color: #181818;
  color: #CCC; }

#copyright {
  float: left; }

/* mailchimp widget form styling */
.mc_form_inside div {
  margin: 5px; }

.mc_input {
  border-style: none;
  border-radius: 3px; }

#mc_signup_submit {
  float: right; }

/**************************************
 * Post containers
 *************************************/
/* main post holder, for a single post on a page */
.post {
  float: left;
  width: 100%;
  margin: 10px;
  border-radius: 5px;
  border-style: none;
  border-color: #181818;
  background-color: #ffffff; }

/* header line of post with title and link */
.post-title {
  padding: 10px;
  border-style: none none solid none;
  border-color: #181818;
  background-color: #ffffff;
  border-radius: 5px 5px 0 0; }

/* second line of post with author and date */
.post-meta {
  float: right;
  padding: 5px 10px 5px 10px;
  margin: 0 0 5px 5px;
  background-color: #ffffff;
  border-radius: 0 0 0 5px;
  border-color: #181818; }

/* text of post */
.post-body {
  padding: 10px;
  border-radius: 0 0 5px 5px;
  background-color: #FFFFFF; }

/**************************************
 * Page containers
 *************************************/
.page-container {
  border-radius: 0 0 5px 5px;
  background-color: #ffffff;
  margin-bottom: 20px; }

.page-body {
  padding: 10px; }

.page-meta {
  padding: 10px; }

/* 404 page */
.content {
  padding: 20px; }

/******************************************************************************
 * Custom css extension for creating dropdown menus
 * from https://perishablepress.com/css-dropdown-menu-wordpress/
 ******************************************************************************/
#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
  border: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  box-sizing: content-box; }

/* MENU MAIN STYLES */
#cssmenu {
  float: right;
  height: 37px;
  display: block;
  padding: 0;
  margin: 0 5% 0 0;
  /*border: 1px solid;*/
  border-radius: 5px;
  width: auto;
  border-color: #181818; }

/* GRADIENT FOR MENU ITEMS
#cssmenu,
#cssmenu > ul > li > ul > li a:hover {
  background: #3c3c3c;
  background: -moz-linear-gradient(top, #3c3c3c 0%, #222222 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3c3c3c), color-stop(100%, #222222));
  background: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);
  background: -o-linear-gradient(top, #3c3c3c 0%, #222222 100%);
  background: -ms-linear-gradient(top, #3c3c3c 0%, #222222 100%);
  background: linear-gradient(top, #3c3c3c 0%, #222222 100%);
}
*/
/* STYLING FOR MAIN LIST */
#cssmenu > ul {
  list-style: inside none;
  padding: 0;
  margin: 0; }

/* STYLINGS FOR MAIN LIST ITEM */
#cssmenu > ul > li {
  list-style: inside none;
  padding: 0;
  margin: 0;
  float: left;
  display: block;
  position: relative; }

/* STYLINGS FOR THE TEXT */
#cssmenu > ul > li > a {
  outline: none;
  display: block;
  position: relative;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
  font-weight: bold;
  font-size: 12px;
  /*font-family: Arial, Helvetica, sans-serif; */
  /* BORDER BETWEEN MAIN ITEMS */
  border-right: 1px solid #181818;
  color: #CCC; }

/**************************************
 * CHANGES to HEADER FOR MOBILE
 *************************************/
@media (min-width: 801px) and (max-width: 1020px) {
  #cssmenu > ul > li > a {
    padding: 12px 6px; 
    font-size: 12px;
  }
}

/* STYLINGS FOR HOVER */
#cssmenu > ul > li > a:hover {
  background: #181818;
  color: #CCC; }

/* STYLINGS FOR FIRST MENU ITEM
#cssmenu > ul > li:first-child > a {
  border-radius: 5px 0 0 5px;
}
*/
#cssmenu > ul > li > a:after {
  content: '';
  position: absolute;
  /* border-right: 1px solid; */
  /* border-color: #3c3c3c; */
  top: -1px;
  bottom: -1px;
  right: -2px;
  z-index: 99; }

#cssmenu ul li.has-sub:hover > a:after {
  top: 0;
  bottom: 0; }

/*
#cssmenu > ul > li.has-sub > a:before {
  content: '';
  position: absolute;
  top: 18px;
  right: 6px;
  border: 5px solid transparent;
  border-top: 5px solid #ffffff;
}
*/
/* BORDER BEFORE MAIN ITEM ON HOVER */
#cssmenu > ul > li.has-sub:hover > a:before {
  top: 19px; }

/* HOVER FOR MENU ITEMS WITH CHILDREN
#cssmenu ul li.has-sub:hover > a {
  background: #3f3f3f;
  border-color: #3f3f3f;
  padding-bottom: 13px;
  padding-top: 13px;
  top: -1px;
  z-index: 999;
}
*/
/* SUBLIST AND DIV WHILE HOVERING ON PARENT */
#cssmenu ul li.has-sub:hover > ul,
#cssmenu ul li.has-sub:hover > div {
  display: block; }

/* MENU ITEMS WITH CHILDREN ON HOVER */
#cssmenu ul li.has-sub > a:hover {
  background: #181818;
  /* border-color: #3f3f3f; */ }

/* SUBMENU LISTS AND CONTAINERS */
#cssmenu ul li > ul,
#cssmenu ul li > div {
  display: none;
  width: auto;
  position: absolute;
  top: 37px;
  padding: 10px 0;
  background: #181818;
  border-radius: 0 0 5px 5px;
  z-index: 999; }

/* SUBMENU LISTS */
#cssmenu ul li > ul {
  width: 200px; }

/* SUBMENU LIST ITEMS */
#cssmenu ul li > ul li {
  display: block;
  list-style: inside none;
  padding: 0;
  margin: 0;
  position: relative; }

/* TEXT OF SUBMENU ITEM */
#cssmenu ul li > ul li a {
  outline: none;
  display: block;
  position: relative;
  margin: 0;
  padding: 8px 20px;
  /*font: 10pt Arial, Helvetica, sans-serif;*/
  color: #CCC;
  text-decoration: none;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5); }

/* TEXT ON SUBMENU ITEM HOVER */
#cssmenu ul ul a:hover {
  color: #000000; }

.current-menu-item, .current-menu-item:hover, .current-menu-ancestor {
  background-color: #FF5733; }

/*
#cssmenu > ul > li.has-sub > a:hover:before {
  border-top: 5px solid #ffffff;
}
*/
/**************************************
 * More menu stuff, this is the dropdown
 * to replace the full menu on small screens
 *************************************/
/* Don't display select by default */
#cssmenu select {
  display: none;
  margin: 10px; }

/* Display on sufficiently small screens */
@media (max-width: 800px) {
  #cssmenu ul {
    display: none; }
  #cssmenu select {
    display: inline-block; } }

/**************************************
 * Popup player
 *************************************/
.player {
  background-image: url("../image/sprite.png");
    background-position: -0px -173px;
    background-size: 1168px 1633px!important;
  background-size: 300px 350px;
  background-repeat: no-repeat;
  min-height: 100%; }

.player-content {
  position: absolute;
  padding: 10px;
  right: 10px;
  bottom: 10px; }

.player video {
  float: right;
  height: 24px;
  width: 300px; }

.playbar {
  float: right;
  background-color: black;
  margin: 20px;
  border-radius: 10px; }

/**************************************
 * Playlist stuff
 *************************************/
/* Contains all info for a given playlist */
.playlist {
  float: left;
  width: 100%;
  margin: 10px;
  border-radius: 5px; }

/* Holds the playlist title, subtitle, and dj */
.playlist-title {
  padding: 10px;
  width: 70%;
  float: left;
  border-radius: 0 5px 0 0;
  /* border-style: none none solid none; */
  /* border-color: <?php echo $footer; ?>; */
  /* background-color: <?php echo $secondary; ?>; */
  /* border-radius: 5px 5px 0 0; */ }

/* Holds everything else about the playlist */
.playlist-meta {
  float: right;
  width: 30%;
  padding: 5px 10px 5px 10px;
  background-color: #e9e7da;
  border-radius: 0 0 0 5px;
  margin-bottom: 20px; }

/* Playlist title tags inside playlist title div */
.playlist-title-text, .dj-name, .playlist-subtitle-text {
  margin: 10px; }

.dj-name {
  text-align: right; }

/* Holds the actual playlist entries */
.playlist-body {
  padding: 10px;
  border-radius: 0 0 5px 5px; }

/* The table into which playlist elements are posted */
.playlist-table {
  width: 100%; }

/* Header row for playlist table */
.playlist-header {
  text-align: center; }

.playlist-cell, .playlist-header {
  padding: 5px 10px 5px 10px; }

/* Element of list in recent playlists widget */
.showlist {
  list-style: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0 0 5px 10px;
  margin: 5px 0 5px 0; }

/* Fix padding for other sidebar widget elements */
.rpwe-li, .ktweet {
  padding: 0 0 0 5px; }

/* Main container to hold entire schedule */
.schedule {
  float: left;
  width: 100%;
  /* border-radius: 5px;
	background-color: <?php echo $primary; ?>; */ }

/* Holds a single day of programming */
.schedule-day, .recentplaylists, .djplaylists {
  margin: 15px;
  border-radius: 5px; }

.schedule-title {
  background-color: #ffffff;
  padding: 5px 10px 5px 10px;
  border-radius: 5px 5px 0 0;
  border-style: none none solid none;
  border-color: #181818; }

/* Holds the entries for a single day of programming */
.schedule-table {
  margin: 10px;
  width: 100%; }

/* tr inside schedule-day, holds a single show and time */
/* cell that holds showtime */
.schedule-time {
  width: 20%; }

/* cell that holds show and dj */
.schedule-showname {
  width: 80%; }

/* general list class has no bullets */
.list li, .djplaylistlist li {
  list-style: none; }

.djlist-genre, .schedulelist, .djplaylistlist {
  background-color: #d3d3d3;
  margin: 10px;
  padding: 10px;
  border-radius: 5px;
  -webkit-column-count: 3;
     -moz-column-count: 3;
          column-count: 3;
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px; }

.schedulelist {
  -webkit-column-count: 4;
     -moz-column-count: 4;
          column-count: 4; }

.schedulelist li {
  list-style: none; }

.djlist-item {
  margin: 0;
  padding: 3px 0 3px 0;
  display: inline-block; }

.search {
  border-style: solid;
  border-color: #181818;
  border-radius: 5px;
  margin: 10px; }

.search-head {
  background-color: #cda34f;
  border-style: none none solid none;
  border-color: #181818;
  padding: 10px; }

.search-results {
  padding: 10px; }

.search-form {
  padding: 10px; }

.search table {
  width: 100%; }

.search tbody {
  border-radius: 5px; }

.search td {
  padding: 10px; }

.social-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle; }
  .social-icon.twitter-icon {
    background-image: url("../image/sprite.png");
    background-position: -0px -45px;
    background-size: 1168px 1633px!important; }
  .social-icon.facebook-icon {
    background-image: url("../image/sprite.png");
    background-position: -0px -77px;
    background-size: 1168px 1633px!important; }
  .social-icon.instagram-icon {
    background-image: url("../image/sprite.png");
    background-position: -0px -109px;
    background-size: 1168px 1633px!important; }
  .social-icon.soundcloud-icon {
    background-image: url("../image/sprite.png");
    background-position: -0px -141px;
    background-size: 1168px 1633px!important; }
  .social-icon a {
    display: block;
    width: 100%;
    height: 100%; }

.now-playing-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle; }
  .now-playing-icon.now-playing-itunes {
    background-image: url("../image/sprite.png");
    background-position: -0px -0px;
    background-size: 1168px 1633px!important; }
  .now-playing-icon.now-playing-realtime {
    background-image: url("../image/sprite.png");
    background-position: -0px -15px;
    background-size: 1168px 1633px!important; }
  .now-playing-icon.now-playing-windows {
    background-image: url("../image/sprite.png");
    background-position: -0px -30px;
    background-size: 1168px 1633px!important; }

/* Announcements widget on top of homepage */
.announce {
  background-color: #d3d3d3;
  border-radius: 0 0 0 10px;
  margin: 0 15px 0 15px;
  height: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  clear: both;
}

@media (min-width: 768px) {
  .announce {
    float: left;
  }
}

.programming-announcements {
  background-color: #d3d3d3;
  border-radius: 0 0 0 10px;
  margin: 0 15px 0 15px;
  float: left;
  padding: 10px;
}

.programming-announcements .row .widget_text {
  display: flex;
}

.programming-announcements .row .widget_text h3 {
  flex: 0 1 25%;
  border-right: 0px solid rgba(0, 0, 0, 0.2);
  padding-right: 10px;
}
      
.programming-announcements .row .widget_text .textwidget {
  padding-left: 10px;
}

.announce-title {
  background-color: transparent;
  text-align: center;
  float: left;
  position: relative;
  height: 0%;
  padding: 0px;
  border-right: 0px solid rgba(0, 0, 0, 0);
  align-items: stretch;
  -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
     -moz-box-flex: 1;         /* OLD - Firefox 19- */
              flex: 1;
}

.announce-content {
  background-color: transparent;
  float: left;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 15px; }

/**************************************
 * Pledge drive stuff
 *************************************/
.pledge form {
  float: right;
  margin: 20px;
  border-radius: 10px; }

.pledge {
  background-color: #d3d3d3;
  border-radius: 0 20px 20px 20px;
  min-height: 200px; }
  @media (max-width: 600px) {
    .pledge {
      left: 200px; } }

.pledge-image {
  float: left;
  width: 25%;
  height: 100%;
  border-radius: 0px 0px 0px 20px;
  margin-right: 0px;
  background-color: #d0deff;
  height: inherit; }

.pledge-text {
  float: left;
  background: transparent;
  width: 65%;
  padding: 10px;
  border-radius: 0px 20px 20px 0px;
  margin-left: 0px; }

.pledge-amount {
  float: left;
  position: relative;
  margin-left: -30%;
  width: 30%;
  margin-right: 0px;
  background-color: #ffda84;
  padding: 5px;
  border-radius: 10px 0px 0px 10px;
  min-height: 40px;
  font-weight: 900; }

.pledge-label {
  float: left;
  position: relative;
  width: 100%;
  margin-left: 0px;
  padding: 5px 20px 5px 10px;
  border-radius: 0px 10px 10px 0px;
  min-height: 40px;
  font-weight: 900; }

#choose, #waive {
  float: left;
  border-radius: 20px;
  margin: 10px 0 10px 0;
  padding: 10px; }

.clear {
  clear: both; }

.concert {
  padding: 10px 0;
  border-top: 1px solid #ccc;
}

.concert p {
  margin: 0;
  flex: 1 1 auto;
}

.concert .concert-date {
  flex: 0 1 15%;
}

.concert .concert-location {
  flex: 0 1 150px;
}

.concert-bands {
  flex: 1 1;
}

@media screen and (min-width: 768px) {
  .concert {
    display: flex;
    gap: 3rem;
  }
}