/*
 Theme Name:   WCHL Chapelboro
 Theme URI:    http://www.chapelboro.com
 Description:  Extra Implementation for WCHL Chapelboro
 Author:       Peter Grandstaff
 Author URI:   http://www.petergrandstaff.com
 Template:     Extra
 Version:      1.0.4
*/

body {
    color: rgba(0,0,0,0.85);
}
a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img {
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition:    all 0.1s ease-in-out;
	-ms-transition:     all 0.1s ease-in-out;
	-o-transition:      all 0.1s ease-in-out;
	transition:         all 0.1s ease-in-out;
}

.post-content a,
.entry-content a,
.post-content a:visited,
.entry-content a:visited {
    color: #1b89d7;
}

/*
 * Layout
 */
#main-content {
    padding-top: 16px;
}
.et_pb_extra_module .posts-list article .post-thumbnail {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.et_pb_extra_module .posts-list article .post-thumbnail img {
    min-height: 100%;
    min-width: 100%;
    max-width: none;
    object-fit: cover;
}

.et_pb_module .et_pb_widget {
    margin-bottom: 16px !important;
}
.et_pb_module .et_pb_widget:last-child {
    margin-bottom: 0px !important;
}
.et_pb_gutters2 .et_pb_column_1_3 .et_pb_module {
    margin-bottom: 16px!important;
}
.et_pb_gutters2 .et_pb_column_1_3 .et_pb_module:last-child {
    margin-bottom: 0px!important;
}
.wchl_cat_desc .category-description {
    padding: 20px;
    width: 100%;
}
#menu-footer-menu {
    display: flex;
    flex-wrap: wrap;
}
#footer #menu-footer-menu li {
    margin-right: 1.5em;
    border: 0;
}

/*
 * Style
 */
.module-head .module-filter {
    color: #f5f5f5;
}
.et_extra_layout .et_pb_column .et_pb_extra_module {
    border-top: 0;
}
.et_extra_layout .et_pb_column .module-head h1,
.et_extra_layout .et_pb_column .module-head a {
    color: #ffffff !important;
    margin-bottom: 0;
}
#footer p {
    color: #888;
}
#footer .et_pb_widget a,
#footer .et_pb_widget a:visited {
    color: #bbb;
}
#footer .et_pb_widget a:hover,
#footer .et_pb_widget a:active {
    color: #ddd;
}

.et_pb_extra_module .posts-list article .post-thumbnail,
.et_extra_other_module .posts-list article .post-thumbnail {
    width: 100px;
    height: 100px;
}
/*
 * Ads
 */
.wchl_dfp_multi_ad_unit {
    display: flex;
    width: 100%;
}
.wchl_dfp_multi_ad_unit .module-body {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}
.et_pb_sidebar_0 .widget_doubleclick_widget {
    width: auto !important;
}
.et_pb_sidebar_0 .widget_doubleclick_widget:nth-of-type(2) {
    float: right;
}
.widget_doubleclick_widget {
    background: none;
    box-shadow: none;
}
.dfw-unit.display-block::before {
    /* Hide "ADVERTISEMENT" indicator */
    display: none !important;
}
.wchl_dfp_ad_unit {
    margin-bottom: 16px !important;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/*
 * On Air Widget
 */
.on-air-list li {
    display: flex;
    align-items: center;
    border: 0;
}
.on-air-list .on-air-dj-name a {
    font-size: 18px;
    font-weight: bold;
}
.on-air-dj-avatar {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.on-air-dj-avatar img {
    min-height: 100%;
    min-width: 100%;
    max-width: none;
    object-fit: cover;
}
.on-air-list .wchl-listen-schedule {
    padding-top:0px;
    flex-direction:column;
    align-items: stretch;
    width: 100%;
}
.wchl-listen-schedule .wchl-listen-live-button,
.wchl-listen-schedule .wchl-listen-live-button:visited {
    background-color: #ffd26c;
    display: flex;
    align-items: center;
    font-size: 18px;
    margin-bottom: 14px;
    padding: 10px 14px;
    color: #1d4f90;
}
.wchl-listen-schedule .wchl-listen-live-button:hover,
.wchl-listen-schedule .wchl-listen-live-button:active {
    color: #1d4f90;
}
.wchl-listen-schedule .wchl-listen-live-button .et-pb-icon {
    color: #1d4f90;
    font-size: 2em;
    margin-right: 14px;
}
.wchl-listen-schedule .wchl-schedule,
.wchl-listen-schedule .wchl-schedule:visited {
    display: block;
    background-color: #1d4f90;
    padding: 6px 14px;
    color: #fff !important;
}

.wchl-listen-schedule .wchl-schedule:hover,
.wchl-listen-schedule .wchl-schedule:active {
    background-color: #1f5591;
    color: #ffd26c !important;
}
/*
 * Weather Widget
 */
#gogadget_weather_widget .widget {
    padding: 15px 20px;
}
#gogadget_weather_widget .widget:after {
    content: ' ';
    visibility: hidden;
    display:block;
    height: 0;
    clear:both;
}
#gogadget_weather_widget table:nth-child(2) {
    float: left;
    width: 135px;
    position: absolute;
    height: 90px !important;
}
#gogadget_weather_widget table:nth-child(2):before {
    content: "Currently";
    font: 700 14px/14px 'Open Sans', sans-serif;
    color: #5f5f5f;
    position: absolute;
    top: 0px;
    left: 0px;
}
#gogadget_weather_widget table:nth-child(2) img {
    width: 55px;
    height: auto;
    display: block;
    clear: both;
    top: 25px;
    left: 0px;
    position: absolute;
}
#gogadget_weather_widget table:nth-child(2) p {
    clear: both;
    display: block;
    position: absolute;
    top: 25px;
    right: 0px;
    text-align: center;
    width: 90px;
    padding: 0px 20px 0px 0px;
}
#gogadget_weather_widget table:nth-child(2) p br {
    display: none;
}
#gogadget_weather_widget table:nth-child(2) p span:nth-child(1) {
    display: block;
    padding: 0;
    margin: 0;
    font: 600 16px/20px 'Open Sans', sans-serif!important;
    color: #5f5f5f;
}
#gogadget_weather_widget table:nth-child(2) p span:nth-child(3) {
    padding: 0;
    margin: 0;
    display: block;
    font: 400 14px/14px 'Open Sans', sans-serif!important;
    color: #5f5f5f !important;
}
#gogadget_weather_widget table:nth-child(3) {
    display: none !important;
}
#gogadget_weather_widget table:nth-child(4) {
    margin-right: -10px;
    float: right;
    width: 130px;
    font: 600 11px/14px 'Open Sans', sans-serif!important;
    letter-spacing: -.1px;
    color: #5f5f5f;
    text-transform: uppercase;
    text-align: center;
}
@media all and (min-width: 1255px) {
    #gogadget_weather_widget table:nth-child(4) {
        width: 230px;
    }
    #gogadget_weather_widget table:nth-child(2) {
        width: 150px;
    }
}
#gogadget_weather_widget table:nth-child(4) img {
      width: 40px;
      height: auto;
}

/* professionals */
img.pro-logo {
  float: left;
  margin: 0px 10px 10px 0px; }

img.pro-sep {
  margin: 15px 0px; }

.pro-info {
  padding: 23px; }
  .pro-info div.image {
    width: 175px;
    display: inline-block;
    height: auto; }
  .pro-info ul {
    display: inline-block;
    vertical-align: top;
    list-style-type: none;
    padding: 10px 0 0 20px;
    margin: 0; }
    .pro-info ul li {
      list-style-type: none;
      padding: 0;
      margin: 0; }
    .pro-info ul a {
      text-decoration: none;
      color: #20759d; }
      .pro-info ul a:hover {
        color: #4ea7d2; }
    .pro-info ul .category {
      color: #a43838;
      text-transform: uppercase;
      font-weight: 700; }
    .pro-info ul .title {
      font-size: 17px;
      font-size: 1.7rem;
      font-weight: 700; }
    .pro-info ul .connect {
      color: #b9b9b9; }

.pro-audio {
  padding: 23px; }
  .pro-audio a {
    text-decoration: none;
    color: #20759d; }
    .pro-audio a:hover {
      color: #4ea7d2; }
  .pro-audio ul {
    list-style-type: none; }
    .pro-audio ul li {
      list-style-type: none;
      margin-bottom: 15px; }
.pro-audio ul li h4 {
    font: 700 16px "Open Sans", sans-serif;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px; }
.pro-audio ul li .description {
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px; }

/* events */
#tribe-community-events input[type="text"], #tribe-community-events textarea {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* WCHL Schedule */
#master-genre-list { display: none; }
#master-program-schedule {
    border-collapse: collapse;
}
#master-program-schedule td {
    line-height: 1.334;
    border-left: 1px solid #DDD !important;
    border-right: 1px solid #DDD !important;
}

.single-tribe_events .tribe-events-single-event-title
{
	color:#1481D2 !important;
	padding-bottom: 0px !important;
}
.tribe-events-schedule h2
{
	color:#98888B !important;
	font-size: 17px !important;
    font-weight: lighter !important;
	padding-bottom: 0 !important;
}
.tribe-events-event-image
{
    border-bottom: 1px solid #6fc595;
    border-top: 1px solid #6fc595;
    padding-bottom: 15px;
    padding-top: 15px;
}
.tribe-events-back,.single-tribe_events .tribe-events-schedule .tribe-events-cost,#tribe-events-footer .tribe-events-sub-nav, #tribe-events-header .tribe-events-sub-nav
{
	display:none;
}
.single-tribe_events .tribe-events-schedule
{
	background:none !important;
	border:none !important;
	padding-left:0px !important;
	padding-top:10px !important;
	padding-bottom:0px !important;
	margin-top:0px !important;
}
.page .post-wrap,.page .post-wrap > h1
{
	padding-top:0px !important;
}
.page .post-wrap  h1
{
	padding-top:10px !important;
}
.tribe-events-schedule
{
	margin-top:10px !important;
}
#footer .et_pb_widget .widgettitle
{
	padding: 15px 20px !important;
}
.tribe-events-single-event-description .jp-relatedposts
{
	display:none !important;
}

#main-header {
    background-color: #75aed7 !important;
}
#tribe-events-content table.tribe-events-calendar{
	width:100% !important;
}
