/*======================================
Theme Name: Colorado Music Festival
Theme URI: https://divicake.com/
Description: A Divi child theme, just for the Colorado Music Festival
Version: 1.0
Author: New Why
Author URI: https://newwyweb.com
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */


/* EVENTS PAGE */

.et_pb_row_0_tb_body.et_pb_row.single-event-header {
    padding-top: 0 !important;
}
.single-event-header .et_pb_image, .single-event-header .et_pb_image_wrap, .single-event-header img  {
    height: 100%;
    width: 100%;
}
.single-event-header img {
    object-fit: cover;

}
.single-event-header .et-last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cmf_header_date {
    color: #EAB331;
    font-weight: 700;
}

.cmf_event_info .act-google_calendar {
    color: #FFFFFF!important;
    border-color: #cccccc  !important;
    font-size: 16px  !important;
    background-color: #cccccc!important;
    margin: 0 0 0 2rem !important;
}

.cmf_event_details {
    margin-top: 2rem;
}

.tina_page_content_2 .ecs-weburl {
    float: left;
}
body.et-db #page-container #et-boc .et-l .et_pb_section .tina_page_content_2 .diec_event_page_1_tb_body p.ecs-show_calendar.et_pb_button_wrapper {
    margin: 0 0 0 2rem !important;
}

.related-events-block > .et_pb_column:first-child {
    width: 65% !important;
}
.cmf_related_events {
    background-color: #f4f5f7;
    
    padding: 1rem 3rem 1rem 5vw;
}
@media screen and (min-width: 1376px) {
    .cmf_related_events {
        padding-left: calc((100vw - 1240px) * .5);
    }
}


h4.cmf_related_events_header {
    font-size: 14px !important;
    text-transform: uppercase !important;
    font-family: 'Nunito Sans',Helvetica,Arial,Lucida,sans-serif !important;

}
.cmf_related_events ul {
    list-style: none !important;
    padding-left: 0;
    margin-left: 0;
    display: flex;
    justify-content: space-between;
}
.cmf_related_events li {
    flex: 1;
    max-width: 260px;
    
}
.cmf_related_event_image {
    width: 90%;
    padding-top: 90%;    
    position: relative;
    margin: 5px auto 15px;

}

.cmf_related_event_image img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;

    object-fit: cover;
}
.cmf_related_events a {
    color: black !important;
    text-align: center;
}

.cmf_related_event_title {
    width: 85%;
    margin: auto;
    font-style: italic;
    text-align: center;
    font-size: 20px;
    font-family: "Playfair Display", Georgia, 'Times New Roman', Times, serif;
}
.cmf_related_event_meta {
    width: 85%;
    margin: auto;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}
.cmf_related_events li:first-of-type .cmf_related_event_image {
    margin-left: 0;
}
.cmf_related_events li:last-of-type .cmf_related_event_image {
    margin-right: 0;
}
.cmf_related_events li:first-of-type .cmf_related_event_title, .cmf_related_events li:first-of-type .cmf_related_event_meta {
    margin: 0 12.5% 0 2.5%;
}
.cmf_related_events li:last-of-type .cmf_related_event_title, .cmf_related_events li:last-of-type .cmf_related_event_meta {
    margin: 0 2.5% 0 12.5%;
}

.event-venue {
    margin-top: 1.5rem;
}

/* EVENTS TABLET */
@media screen and (max-width: 980px) {
    .single-tribe_events.et-db #et-boc .et-l .et_pb_section_0_tb_body.et_pb_section {
        margin-bottom: 0;
    }

    .single-tribe_events h4 {
        margin-top: 20px;
    }

    .single-event-header {
        background-color: black;
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: 100%;
    }
    .single-event-header > .et_pb_column:first-child {
        width: 90% !important;
        margin: 0 5%;
    }
    .single-event-header .et-last-child {
        background-color: white;
        padding: 20px 5%;
    }

    .single-event-header .et-last-child .et_pb_promo_description {
        padding-bottom: 0;
    }
    .single-event-header .et-last-child .et_pb_promo_description .et_pb_module_header {
        color: black !important;
    }
    
    .event_section_first {
        padding-bottom: 0 !important;
    }
    .et-db #et-boc .et-l .et_pb_column_2_tb_body.tina_page_content_2 {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    .tina_my_end_sidebar {
        display: none;
    }
    .related-events-wrapper {
        padding-top: 0 !important;
        margin: 0 5%;
    }
    
    .related-events-block > .et_pb_column:first-child {
        width: 90% !important;
        max-width: 300px;
    }
    
    .related-events-block > .et_pb_column_1_2::last-of-type {
        display: none;
    }
    .cmf_related_events {
        background-color: unset;
        
        padding: 1rem;
    }
    .cmf_related_events ul {
        
        display: block;
        
    }
    .cmf_related_event_image {
        margin: 0 !important;
    }


}

.cmf_orchestra_performer {
    margin-bottom: 20px;
}



/* BUTTONS */
.cmf_button_orange {
    background-color: #f58f38 !important;
    color: white !important;
    border: 1px solid #f58f38;
    border-color: #f58f38 !important ;
}
.et_pb_button.cmf_button_orange:hover {
    background-color: white !important;
    color: #f58f38!important;
    border-color: #f58f38 !important 
}
.cmf_event_buttons .cmf_button_orange, .cmf_event_buttons .cmf_button_orange:hover, .cmf_event_buttons .act-google_calendar, .cmf_event_buttons .act-google_calendar:hover {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}


@media screen and (max-width: 500px) {
    .cmf_event_buttons a {
        display: block;
        margin-bottom: 20px;
    }
    .cmf_event_info .act-google_calendar {
        margin: 0 !important;
    }

}


/* Accordions */
.et_pb_accordion .et_pb_toggle_content strong {
    font-family: "Nunito Sans",Helvetica,Arial,Lucida,sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}
.et_pb_accordion .et_pb_toggle_content p:has(strong) {
    padding-bottom: 0;
}
.et_pb_accordion .et_pb_toggle_content li {
    padding-bottom: 5px;
}


/* PROGRAM BLOG POSTS */
.category-program-notes .et_pb_row_0_tb_body .et_pb_promo_description .publish-date {
    display: none;
}



