/*
Theme Name: TriStar Child Twenty Twenty-Two
Theme URI: https://www.tristareventmedia.com/
Author: TriStar Event Media, LLC.
Author URI: https://www.tristareventmedia.com/
Description: A Twenty Twenty-Two child theme designed for TriStar Event Media, LLC. medical association news websites.
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 8.0
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tristar-child-twenty-twenty-two
Template: twentytwentytwo
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns

Twenty Twenty-Two Child WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two Child is distributed under the terms of the GNU GPL.
*/

/**************** AD STYLES  ****************/

@media screen and (min-width: 1199px){
    .ts-728x90 iframe {width:728px !important;border:none !important;}
}

@media screen and (max-width: 1200px){
    .ts-728x90 iframe {width:320px !important;border:none !important;}
}

@media screen and (min-width: 747px){
    .ts-leader iframe {width:728px !important;border:none !important;}
}

@media screen and (max-width: 748px){
    .ts-leader iframe {width:320px !important;border:none !important;}
}

/**************** MAIN CONTAINER, CONTENT & SIDEBAR ****************/

.main-container{
    justify-content: space-around !important;

}

.main-container .sidebar {
    flex-basis:320px !important;
    flex-basis: unset !important;
    flex-grow:unset !important;
}

@media screen and (max-width: 900px){
    .main-container{
        flex-wrap: wrap !important;
    }
}

@media (min-width: 0px) and (max-width: 1129px){
    .wp-block-column.content {
        flex-basis: min-content !important;
    }
}

@media (min-width: 782px){
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
        flex-grow: 1 !important;
    }
}

/**************** EVENT STYLES ****************/

/* Remove Header */
.tribe-events-header {
    display: none !important;
}

/* Remove Footer Dropdown And Previous And Next Buttons */
nav.tribe-events-calendar-list-nav.tribe-events-c-nav {
    display: none !important;
}

/* Remove Padding/Spacer Above And Below List Container */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

/* Width Of Event List */
.tribe-events-calendar-list__event-details.tribe-common-g-col {
    width: 100% !important;
}

/* Date Bar */
h2.tribe-events-calendar-list__month-separator {
    background-color: black;
    padding: 5px 0 5px 35px !important;
    margin-left:-22px !important;
    margin-right:-22px !important;
}

time.tribe-events-calendar-list__month-separator-text.tribe-common-h7.tribe-common-h6--min-medium.tribe-common-h--alt {
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
}

.tribe-events .tribe-events-calendar-list__month-separator:after{
    display:none !important;
}

/* Color Of Featured Icon Flag */
.tribe-events-calendar-list__event-row--featured.tribe-common.tribe-common-c-svgicon{
    color: #525252 !important;
}

/* Color Of Featured Text */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text {
    color: #525252 !important;
}

/* Color Of Featured Date Divider Line */
.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after {
    background-color: black !important;
}

/* Color Of Event Title */
.tribe-events .tribe-events-calendar-list__event-title, .tribe-events .tribe-events-calendar-list__event-title-link{
    color: black !important;
}

/* Color Of Featured Event Title */
.tribe-events .tribe-events-calendar-list__event-title-link:visited {
    color: black !important;
}

/* Color Of Non-Featured Event Background */
.tribe-common-g-row.tribe-events-calendar-list__event-row.tribe-events-calendar-list__event-row--non-featured {
    border: black solid 1px;
    padding: 20px;
}

/* Date And Time On Event Detail Page */
h2.tribe-events-schedule__datetime span {
    color: black;
    font-size: 18px;
    font-weight: 600;
}

/* Remove Underline Hover */
.tribe-events-calendar-list__event-row--non-featured .tribe-events-calendar-list__event-title-link:hover{
    border-color: transparent !important;
    cursor: auto;
}

/* Learn More Events Button */
.events-learn-more{
    margin-top: 10px !important;
}

.events-learn-more a {
    background-color: black !important;
    color: white !important;
    float: right;
    padding: 5px 10px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

body.tribe-events-page-template.page-parent .feat-industry-back-button {
    display: none;
}

/* Events Subscribe Hover */
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover{
    background-color: #AEAEAE !important;
}

.tribe-common .tribe-common-c-btn-border {
    color: white !important;
    background-color: #525252 !important;
}

button.tribe-events-c-subscribe-dropdown__button-text {
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif !important;
}

/* Mobile Navigation */
@media (max-width: 781px) {
    ul.wp-block-navigation__container {
        padding: 20px 0 !important;
        background-color: #fff;
        color:#000;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        align-items: center !important;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content ul a {
        color: #000;
        text-decoration: underline;
        font-weight:bold;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container a:link {
        text-decoration: none;
        font-weight: normal;
    }

    ul.wp-block-navigation__submenu-container {
        padding-top: 0 !important;
    }
}

/* Untab exhibitor listing with WP Business Directory (Tabbed Business Theme) */
#wpbdp-listing-tabs .tabs {
    display:none;
}