/*
 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.9
*/

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: #ffffff !important;
    box-shadow: 0px 1px 3px rgba(127, 127, 127, 0.5);
}

#et-navigation ul li a {
    padding: 0px 0px 14px 0px;
}

#tribe-events-content table.tribe-events-calendar {
    width: 100% !important;
}

/* mobile show/hide classes */
@media screen and (max-width: 480px) {
    .mobile-show {
        display: block;
    }

    .mobile-hide {
        display: none;
    }
}

@media screen and (min-width: 481px) {
    .mobile-show {
        display: none;
    }

    .mobile-hide {
        display: block;
    }
}

#et-secondary-nav .listen-live a {
    color: white;
    font-size: 1.2em;
}

#et-secondary-nav .listen-live .et-pb-icon {
    color: white;
    font-size: 1.3em;
    margin-right: .25em;
    vertical-align: top;
}

/* .emoji */
img.emoji {
    max-width: 1em;
    min-width: 1em;
    max-height: 1em;
    min-height: 1em;
    display: inline-block;
}

.widget_block:has(.wp-block-jetpack-instagram-gallery)::before {
    content: 'INSTAGRAM POSTS';
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(62, 80, 98);
    background-image: none;
    background-origin: padding-box;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    border-bottom-color: rgb(255, 255, 255);
    border-bottom-style: none;
    border-bottom-width: 0px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(255, 255, 255);
    border-left-style: none;
    border-left-width: 0px;
    border-right-color: rgb(255, 255, 255);
    border-right-style: none;
    border-right-width: 0px;
    border-top-color: rgb(255, 255, 255);
    border-top-style: none;
    border-top-width: 0px;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    display: block;
    font-family: "Open Sans";
    font-feature-settings: normal;
    font-kerning: auto;
    font-optical-sizing: auto;
    font-size: 16px;
    font-stretch: 100%;
    font-style: normal;
    font-variant-alternates: normal;
    font-variant-caps: normal;
    font-variant-east-asian: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-variant-position: normal;
    font-variation-settings: normal;
    font-weight: 600;
    letter-spacing: 1.2px;
    line-height: 16px;
    margin-block-end: 0px;
    margin-block-start: 0px;
    margin-bottom: 0px;
    margin-inline-end: 0px;
    margin-inline-start: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    text-decoration-color: rgb(255, 255, 255);
    text-decoration-line: none;
    text-decoration-style: solid;
    text-decoration-thickness: auto;
    text-transform: uppercase;
    -webkit-box-direction: normal;
    -webkit-font-smoothing: antialiased;
}

.wchl-listen-live-widget {
    position: relative;
}

.wchl-listen-live-widget-frame-container {
    overflow: hidden;
    margin-left: -10px;
    margin-right: -10px;
    transition: height 1s;
}

.wchl-listen-live-widget.asleep .wchl-listen-live-widget-frame-container {
    overflow: hidden;
    height: 56px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.01;
}

.wchl-listen-live-widget.awake .wchl-listen-live-widget-frame-container {
    height: 327px;
}

.wchl-listen-live-widget-play-button {
    margin-top: -207px;
    transform-origin: top left;
}

.wchl-listen-live-widget.awake .wchl-listen-live-button {
    display: none;
}

@media only screen and (min-width: 1025px) {
    .wchl-homepage-featured-section {
        display: flex;
        flex-direction: row;
    }

    .wchl-homepage-featured-section .et_pb_column_inner_0 {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .wchl-homepage-featured-section .et_pb_column_inner_0 .et_pb_featured_posts_slider_0 {
        flex-grow: 1;
    }

    .wchl-homepage-featured-section .et_pb_column_inner_0 .et_pb_featured_posts_slider_0 .et_pb_slides {
        flex-grow: 1;
    }

    .wchl-homepage-featured-section .et_pb_column_inner_0 .et_pb_featured_posts_slider_0 .et_pb_slides article {
        height: 100% !important;
    }

    .wchl-homepage-featured-section .et_pb_column_inner_0 .et_pb_featured_posts_slider_0 .et_pb_slides article .post-content-box {
        bottom: 0;
        position: absolute;
        margin-top: 0 !important;
    }

    .wchl-homepage-featured-section .et_pb_column_inner_0 .et_pb_posts_blog_feed_standard_0 {
        flex-grow: 0;
    }

    .wchl-homepage-featured-section .et_pb_column_inner_1 .paginated_content {
        height: 100%;
    }

    .wchl-homepage-featured-section .et_pb_column_inner_1 .paginated_content .paginated_page {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
    }

    .wchl-homepage-featured-section .et_pb_column_inner_1 .paginated_content article {
        flex-grow: 1;
        align-items: center;
    }
  }

  @media only screen and (min-width: 1025px) {
    .module.post-module {
        display: flex;
        flex-direction: column;
      }

      .module.post-module .posts-list {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .module.post-module .posts-list .show-description {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: end;
    }
}