/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://amandagiles.com
 Description:    Custom Divi Child Theme
 Author:         Amanda Giles
 Author URI:     https://amandagiles.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* Setting the breakpoint of the mobile menu */
/*@media only screen and (max-width: 1025px) {
    #top-menu-nav, #top-menu { display: none; }
    #et_top_search { display: none; }
    #et_mobile_nav_menu { display: block; }
}*/

/**************************** Stop Header Jump **************************/
/* adjust sticky header when admin bar present */
/*.admin-bar #main-header {
   top: 66px !important;
}

@media only screen and (min-width:981px) {
    #page-container {
        padding-top: 152px !important;  Tweak this value as needed 
    }

    #main-header {
        top: 34px !important;  Tweak this value as needed 
    }
}*/
#top-header .container {
    /* padding: 20px 0 0; AGiles - Updated on 9/16 to fix header thing */
    padding: 10px 0;
}
@media (min-width: 981px) {
    body.divibar-open.divibar-open #top-header {
        top: 33px !important;
    }
    body.divibar-open.divibar-open #main-header {
        top: 79px !important;
    }
    .et_fullwidth_nav #top-header .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    .et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
        padding: 12px 0 0;
    }    
}
header li.pink-button a,
#top-header li.pink-button a,
input.pink-button {
    background-color: #ce4685;
    color: #fff !important;
    padding: 5px 18px;
    border-radius: 3px;
    font-weight: 600;
}
header li.pink-button a:hover,
#top-header li.pink-button a:hover,
input.pink-button:hover {
    background-color: #5A61BA !important;
    color: #fff !important;
    opacity: 1 !important;
}
header li.purple-button a {
    background-color: #5A61BA;
    color: #fff !important;
    padding: 5px 18px;
    border-radius: 3px;
    font-weight: 600;
}
header li.purple-button a:hover {
    background-color: #ce4685  !important;
    color: #fff !important;
    opacity: 1 !important;
}
#et_top_search {
    margin-top: 11px;
}
@media (max-width: 980px) {
    /* Keep column layout on narrower screens */
    .et_pb_row_0_tb_header.et_pb_gutters1 .et_pb_column_1_4, .et_pb_gutters1.et_pb_row .et_pb_column_1_4 {
        width: 25%;
    }
    .et_pb_row_0_tb_header.et_pb_gutters1 .et_pb_column_3_4, .et_pb_gutters1.et_pb_row .et_pb_column_3_4 {
        width: 75%;
    }
    
    .top-menu.et_pb_menu .et_mobile_nav_menu {
        display: none;   
    }
    .top-menu.et_pb_menu .et_pb_menu__menu {
        display: flex;
    }
}
@media (max-width: 479px) {
    /* Keep column layout on narrower screens */
    .et_pb_row_0_tb_header.et_pb_gutters1 .et_pb_column_1_4, .et_pb_gutters1.et_pb_row .et_pb_column_1_4 {
        width: 50% !important;
    }
    .et_pb_row_0_tb_header.et_pb_gutters1 .et_pb_column_3_4, .et_pb_gutters1.et_pb_row .et_pb_column_3_4 {
        width: 50% !important;
    }
}

/*** Content Tweaks ***/
.hide-featured-img .et_post_meta_wrapper img {
    display: none;
}
#left-area ul.blocks-gallery-grid, .entry-content ul.blocks-gallery-grid, body.et-pb-preview #main-content .container ul.blocks-gallery-grid {
    padding-left: 0 !important;
}
/* Increase default opacity on team page name/title captions */
.awsm-grid-modal.slide-ins-style.style-1 span figure figcaption {
    opacity: 0.7;
    padding: 10px 20px; 
}
.slide-ins-style.style-1 .awsm-modal-details .awsm-team-link-control, .slide-ins-style.style-1 .awsm-modal-details a {
    color: #3399cc;
}
/* Mailchimp Forms */
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
   We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
#mc-embedded-subscribe-form input[type=checkbox]{display: inline; width: auto;margin-right: 10px;}
#mergeRow-gdpr {margin-top: 20px;}
#mergeRow-gdpr fieldset label {font-weight: normal;}
#mc-embedded-subscribe-form .mc_fieldset{border:none;min-height: 0px;padding-bottom:0px;}

#mc-embedded-subscribe-form p {
    line-height: 1.5;
}
#mc-embedded-subscribe {
    margin-left: 0 !important;
    font-size: 16px;
    font-weight: 500;
    border: 0 !important;
}
#mc-embedded-subscribe:hover {
    cursor: pointer;
}

/* Support page - stick buttons to bottom of CTA / Promo boxes */
@media (min-width: 981px) {
    .support-row .et_pb_column  {
        position: relative;
    }
    .support-row .et_pb_module.et_pb_promo {
        padding-bottom: 70px !important;
    }
    .support-row .et_pb_module.et_pb_promo .et_pb_button_wrapper {
        position: absolute;
        bottom: 25px;
    }
}

/*** BLOG ***/
.blog .blog-subtitle {
    display: none;
}

/* Styling of DiviBars */
.divibars {
    height: auto !important;
}
.divibars-content-inner {
    padding: 5px 0;
}

@media (max-width: 980px) {
    .divibars-content-inner .et_builder_inner_content {
        padding-left: 40px;
        padding-right: 40px;
    }    
    body.divibar-open .divibars-container .divibars .divibars-close {
        right: 0 !important;
    }
}
.divibars-content-inner a {
    color: white !important;
    font-weight: bold;
}
.divibars-content-inner a:hover {
    text-decoration: underline;
}
.divibars-container .divibars-close {
    line-height: 23px;
}
.divibars-container .divibars-close:hover {
    cursor: pointer;
}

/*** Home Page Event Styling ***/
.home .eventon_events_list .eventon_list_event .evcal_cblock, 
.home .evo_pop_body .evcal_cblock,
.event-page-blocks .eventon_events_list .eventon_list_event .evcal_cblock, 
.event-page-blocks .evo_pop_body .evcal_cblock {
    padding-left: 0 !important;
}
.home .eventon_list_event .evcal_desc span.evcal_event_title,
.home #evcal_list .eventon_list_event .evcal_desc span.evcal_event_title, 
.home .ajde_evcal_calendar.boxy.boxstyle1 #evcal_list .eventon_list_event .evcal_desc span.evcal_event_title, 
.home .evo_lightboxes .evo_pop_body .evcal_desc span.evcal_desc2,
.event-page-blocks .eventon_list_event .evcal_desc span.evcal_event_title,
.event-page-blocks #evcal_list .eventon_list_event .evcal_desc span.evcal_event_title, 
.event-page-blocks .ajde_evcal_calendar.boxy.boxstyle1 #evcal_list .eventon_list_event .evcal_desc span.evcal_event_title, 
.event-page-blocks .evo_lightboxes .evo_pop_body .evcal_desc span.evcal_desc2 {
    color: #FFF !important;
}

.ajde_evcal_calendar #evcal_head.calendar_header #evcal_cur, .ajde_evcal_calendar .evcal_month_line p, .ajde_evcal_calendar .evo_footer_nav p.evo_month_title {
    color: #3399cc!important;
}

/*** Faculty Pop-up ***/
.slide-ins-style.style-1 .awsm-modal-content-main {
    padding: 45px 0 160px; /* Fix so bottom can be scrolled to */
}
.awsm-modal-details .awsm-contact-details>p {
    border-bottom: 0; /* Get rid of stray line at bottom */
}

/*** Footer ***/
footer .et_builder_inner_content {
    z-index: 0;
}

/*---------- [Equalize the Filterable Portfolio Tabs] ----------*/
/*** change width of tabs here depending on the number of tabs you have ***/
/*.equal-tabs .et_pb_filterable_portfolio .et_pb_portfolio_filters li {
    width: 12.5%; 
    text-align: center;
}*/
/*** change device breakpoint here depending on the number of tabs you have ***/
/*@media screen and (max-width: 768px){ 
    .equal-tabs .et_pb_filterable_portfolio .et_pb_portfolio_filters li {
        width: 100%; 
        text-align: center;
    }
}*/

/*---------- [Equalize the Tabs] ----------*/
/*** change width of tabs here depending on the number of tabs you have ***/
/*.equal-tabs .et_pb_tabs_controls li {
    width: 20%; 
    text-align: center;
}*/
/*** change device breakpoint here depending on the number of tabs you have ***/
/*@media screen and (max-width: 768px){ 
    .equal-tabs .et_pb_tabs_controls li {
        width: 100%; 
	text-align: center;
    }
}*/


.et_pb_testimonial {
    overflow:visible !important;
}


/**** Gutenberg Color Palette ***/
/*.has-black-background-color { background-color: #000; }
.has-black-color            { color: #000; }*/

.has-gray-text-background-color { background-color: #666 !important; }
.has-gray-text-color            {            color: #666 !important; }

.has-blue-background-color { background-color: #3299CC !important; }
.has-blue-color            {            color: #3299CC !important; }

.has-pink-background-color { background-color: #CE4685 !important; }
.has-pink-color            {            color: #CE4685 !important; }

.has-yellow-background-color { background-color: #EAB027 !important; }
.has-yellow-color            {            color: #EAB027 !important; }

.has-purple-background-color { background-color: #6666CC !important; }
.has-purple-color            {            color: #6666CC !important; }

.has-light-gray-background-color { background-color: #EFEFEF !important; }
.has-light-gray-color            {            color: #EFEFEF !important; }

/* WooCommerce */
.wc_payment_method.payment_method_cod {
    display: none;
}
#et-top-navigation .et-cart-info {
    margin-top: 9px;
}
body.empty-cart #et-top-navigation .et-cart-info,
body.empty-cart #top-header .et-cart-info{
    display: none;
}
.pickup-notice {
    background-color: #f2f59b;
    padding: 3px 5px;
    margin-bottom: 30px;
}

/*** Special styling for PMAC Spring Fever header ***/
@media (max-width: 1350px)  {

    .pmac-sfa-header .et_pb_column {
        width: 100% !important;
    }
}