/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         ProjectMiso
 Author URI:     http://www.projectmiso.net
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/** ---------- GLOBAL --------**/
:root {

    --theme-blue: #17345a;
    --theme-orange: #cb2901;
    --theme-green: #39676a;

    --theme-turquoise: #488E92;
    --theme-light-orange: #fff5ea;
    --theme-light-blue: #ecf4fd;
    --theme-light-turquoise: #ecf4fd;

    --button-color-dark: #2C5557;
    --button-color-light: #488E92;

    --button-color2-dark: rgb(128, 19, 4);
    --button-color2-light: rgb(170, 20, 3);

    --link-color-hover: #ff9900;

    --standard-gap: 30px;
}
  
h1, h2, h3, h4, h5, h6{
    padding-bottom: 30px;
}
.et_pb_column_1_3 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4, .et_pb_column_2_5 h4{
    font-size: 1.4rem;
}
a{
    transition: color 0.2s cubic-bezier(0, 0, 1, 1) 0s ;
}
a:hover{
    color: #ff9900;
}
/* Block Quote */
blockquote{
    font-style: italic;
    position: relative;
    border: 0px none;
    padding: 0px;
    margin: 40px 0 0px;
}
/*
blockquote::after{
    content: "❝";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: -25px;
    transform: translate(-50%, -50%);
    width: 1.3em;
    display: grid;
    place-content: center;
    color: var(--accent-color);
    font-size: 40px;
    font-style: normal;
    text-indent: 0;
}
*/
blockquote::after{
    content: "";
    position: absolute;
    z-index: 0;
    left: 0%;
    top: -32px;
    transform: translate(0%, -50%) rotate(180deg);
    width: 3em;
    height: 3em;
    background: url(/wp-content/uploads/2021/03/quotation-mark.png) no-repeat 0 0;
    background-size: contain;
    opacity: 0.1;
}

.hidden{
    display: none !important;
}
/* equa; columns */
.flex-parent {
    display: flex;
}
  
.flex-parent > * {
    flex-basis: 100%;
}


/* Contact Form 7 Styles */
.wpcf7-form div.flex_row p{
    display: flex;
    padding-bottom: 1em;
}

.wpcf7-form div.flex_row p label.col{
    padding: 0px 15px 0 0;
    display: block;
    overflow: hidden;
    flex-basis: 100%;
    flex-grow: 1;
    flex-shrink: 1;
}
.wpcf7-form div.flex_row p label.col:last-child{
    padding: 0px 0px;
}
.wpcf7-form div.flex_row p input.col{
    flex-basis: 100%;
    flex-grow: 1;
    flex-shrink: 1;
}
.wpcf7-form div.button{
    text-align: right;
}
.wpcf7-form div.button > p{
    overflow: hidden;
}
.wpcf7-form div.button > p input[type=submit] {
    margin-right: 15px;
    float: right;
}
.wpcf7-form div.button > p span{
    float: right;
    margin-top: 30px;
}
input.wpcf7-submit,
input.prominent.button{
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}
input.wpcf7-text,
input.wpcf7-number,
input.wpcf7-date,
input.wpcf7-email,
input.wpcf7-tel,
input.wpcf7-url,
textarea.wpcf7-textarea{
    font-family: "Inter", Helvetica, Arial, Lucida, sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 15px;
    border-radius: 3px;
    border: 1px solid #fff;
    color: var(--theme-orange);
    background-color: #fff;
    width: 100%;
    margin-top: 5px;
}
input.wpcf7-text:focus,
input.wpcf7-number:focus,
input.wpcf7-date:focus,
input.wpcf7-email:focus,
input.wpcf7-tel:focus,
input.wpcf7-url:focus,
textarea.wpcf7-textarea:focus{
    color: black;
    border: 1px solid var(--theme-orange);
}

/* Image Alignment */
.top_10{
    background-position: 50% 10% !important;
}
.top_15{
    background-position: 50% 15% !important;
}
.top_20{
    background-position: 50% 20% !important;
}
.top_25{
    background-position: 50% 25% !important;
}
.top_30{
    background-position: 50% 30% !important;
}
.top_35{
    background-position: 50% 35% !important;
}
.top_40{
    background-position: 50% 40% !important;
}
.top_45{
    background-position: 50% 45% !important;
}
.bottom_10{
    background-position: 50% 90% !important;
}
.bottom_15{
    background-position: 50% 85% !important;
}
.bottom_20{
    background-position: 50% 80% !important;
}
.bottom_25{
    background-position: 50% 75% !important;
}
.bottom_30{
    background-position: 50% 70% !important;
}
.bottom_35{
    background-position: 50% 65% !important;
}
.bottom_40{
    background-position: 50% 60% !important;
}
.bottom_45{
    background-position: 50% 55% !important;
}


/* **************************************** */
/**         DIVI Core Customizations       **/
/* **************************************** */

/* 
 * Header Fix : Prevent header jump due to fixed header
 *  Prevent extra space on top from broken DIVI JS loop
 * Add calculated value - MUST be adjusted based on the real value 
 */
.et_fixed_nav.et_show_nav #page-container{
    padding-top: 142px;
}
/* See additional fixed under @media only screen and (min-width: 981px) */

/* Header Fix : for WordPress Admin Bar */
body.admin-bar.et_fixed_nav.et_header_style_slide #main-header,
body.admin-bar.et_fixed_nav #main-header{
    top: 32px !important;
}

#main-header{
    box-shadow: 0 0 0 rgba(0,0,0,0);
}
#main-header .head_contact.call_to_action{
    position: absolute;
    top: 50%;
    right: 105px;
    transform: translate(0%, -50%);
}
.et_fullwidth_nav #main-header .head_contact.call_to_action{
    right: calc(105px + 32px);
}
header#main-header .head_contact.call_to_action  .et_pb_button_module_wrapper a.et_pb_button,
body #page-container .custom_footer_container .call_to_action .et_pb_button_module_wrapper a.et_pb_button{

    color: #fff !important;
    border: 1px solid #fff !important;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fff5ea+0,ffe0c1+100 */
    /* background: linear-gradient(to bottom,  #fff5ea 0%,#ffe0c1 100%)  !important; */

}
header#main-header .head_contact.call_to_action  .et_pb_button_module_wrapper a.et_pb_button:hover,
body #page-container .custom_footer_container .call_to_action .et_pb_button_module_wrapper a.et_pb_button:hover{
    /* padding: .2em 1.3em !important; */
    /* background-color: var(--theme-orange)  !important; */
    color: #fff !important;
    border-color: var(--theme-orange);
    border: 1px solid var(--theme-orange) !important;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#cb2901+0,aa1900+100 */
    background: linear-gradient(to bottom,  #cb2901 0%,#A30A00 100%) !important;

}


/* Logo Container */
/* ================================= */
/**
 * Note: this has media quey styles below
 */
.et_header_style_left .logo_container{
    padding: 10px 0px;
}


/* ================================= */
/* Mobile Menu */
/* ================================= */

/* Switch the menu icon to a CROSS when opened */

.et_slide_in_menu_container {
    box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
}
body .mobile_menu_bar::before{ /* Hamburger menu icon */
    font-size: 2.5rem;
}
.et_pb_slide_menu_active .mobile_menu_bar::before{  /* Same as .et_toggle_slide_menu == .mobile_menu_bar */
    opacity: 1 !important;
    content: "\4d";
    top: -1px;
}
.mobile_menu_bar::before, .mobile_menu_bar::after{
    color: #fff !important;
}
/* Add 'MENU' to the left of Hamburger */
.mobile_menu_bar::after{ /* MENU text */

    content: 'MENU';
    display: block;
    opacity: 1;

    position: absolute;
    left: -48px;
    top: 11px;
    transform: rotate(0deg) !important;

    font-family: 'Poppins', Helvetica,Arial,Lucida,sans-serif;
    font-size: 1rem;
    font-weight: 600;
    
    cursor: pointer;
    line-height: 1;
    transition: opacity 1s ease;
    /* transform: translate(0rem, -1em); */
}
.et_slide_in_menu_container a{
    font-family: 'Poppins', Helvetica,Arial,Lucida,sans-serif;
}
.et_slide_in_menu_container #mobile_menu_slide li.current-menu-item a, 
.et_slide_in_menu_container #mobile_menu_slide li a{
    padding: 5px 0;
}

/* Sub-Menu */
.et_slide_in_menu_container #mobile_menu_slide li li a{
    opacity: 1;
}
/* Arrow Color */
.et_slide_in_menu_container #mobile_menu_slide li a span.et_mobile_menu_arrow::before{
    color: var(--theme-orange);
}
/* Custom Close Button */
.et_slide_in_menu_container .et_pb_fullscreen_nav_container #mobile_menu_slide li.close a{
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10000;
    padding: 0px;
}
.et_slide_in_menu_container .et_pb_fullscreen_nav_container #mobile_menu_slide li.close a::before{
    content: "\4d";
    font-family: ETmodules;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--theme-orange);
    
}


/* ================================= */
/* Global Components Customizations */
/* ================================= */

/* Regular Buttons */
body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button,
.et_pb_button_module_wrapper a.et_pb_button,
.et_contact_bottom_container button{

    text-decoration: none;
    text-align: center;

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2c5557+0,2c5557+9,488e92+100 
    background: radial-gradient(ellipse at center,  var(--button-color-light) 0%,var(--button-color-light) 9%,var(--button-color-dark) 100%); */

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2c5557+0,3f7a79+50,448789+54,488e92+100 */
    background: linear-gradient(to right,  #2c5557 0%,#3f7a79 50%,#448789 54%,#488e92 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */


    background-image: url(/wp-content/themes/divi-child/images/turquoise_button.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;

    padding: 0.7em 1.4em !important;

    color: #fff !important;
    border-radius: 2px;
    cursor: pointer;
}
body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button:hover,
.et_pb_button_module_wrapper a.et_pb_button:hover,
.et_contact_bottom_container button:hover{

    background-image: url(/wp-content/themes/divi-child/images/turquoise_button-reverse.png);
    padding: 0.7em 1.4em !important;
}

.et_contact_bottom_container button,
input.wpcf7-submit,
input.prominent_button{
    margin: 20px 0 0;
}

/* Prominent Orange  Buttons */
body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button.prominent,
.et_pb_button_module_wrapper a.et_pb_button.prominent,
.et_contact_bottom_container button.prominent{

    background: radial-gradient(ellipse at center,  var(--button-color2-light) 0%,var(--button-color2-light) 9%,var(--button-color2-dark) 100%); 

    background-image: url(/wp-content/themes/divi-child/images/red_button.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;

}
body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button.prominent:hover,
.et_pb_button_module_wrapper a.et_pb_button.prominent:hover,
.et_contact_bottom_container button.prominent:hover{

    background-image: url(/wp-content/themes/divi-child/images/red_button-reverse.png);

}

/* Call to Action Buttons */
body #page-container .call_to_action  .et_pb_button_module_wrapper a.et_pb_button,
.call_to_action .et_pb_button_module_wrapper a.et_pb_button,
.call_to_action button.et_pb_button,
input.wpcf7-submit,
input.prominent.button,
.wp-block-file__button.wp-element-button{
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    border-radius: 3px;
    border: 1px solid var(--theme-orange);
    padding: .15em 1.5em !important;
    color: var(--theme-orange);
    background: transparent;
    /* background: var(--theme-orange)  !important; */
    /*
    background: linear-gradient(to bottom,  #cb2901 0%,#A30A00 100%) !important;
    border: 1px solid var(--theme-orange) !important;
    */
}

body #page-container .call_to_action  .et_pb_button_module_wrapper a.et_pb_button:hover,
.call_to_action .et_pb_button_module_wrapper a.et_pb_button:hover,
.call_to_action button.et_pb_button:hover,
input.wpcf7-submit:hover,
input.prominent.button:hover,
.wp-block-file__button.wp-element-button:hover{
    background: var(--theme-orange) !important;
    color: #fff;
    padding: .15em 1.5em !important;
}

/* Secondary (i.e. filter) bittons */
.filter_button_row {
    text-align: center  !important;
}
.filter_button_row .et_pb_button_module_wrapper.et_pb_button_alignment_center{
    margin-right: 10px !important;
    display: inline-block !important;;
}
.filter_button_row a.filter_button{

    background: var(--theme-blue) !important; 
    padding: 8px 20px !important;
    font-size: 1rem;
    border-radius: 10px;
    color: #fff !important;
    border: 1px solid #fff !important;
    line-height: 2.5rem;

}
.filter_button_row a.filter_button.selected,
.filter_button_row a.filter_button:hover{

    background: var(--theme-light-blue) !important; 
    color: var(--theme-blue) !important;
    border: 1px solid var(--theme-blue) !important;
}

/* Link (text like) button with arrow */
body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button.link_with_arrow,
.et_pb_button_module_wrapper a.et_pb_button.link_with_arrow{

    background: transparent !important; 
    color: var(--theme-orange) !important;
    padding: 0px 0px !important;
    font-size: 1rem;
    border-radius: 0px;
    display: inline-block !important;

} 
body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button.link_with_arrow:hover,
.et_pb_button_module_wrapper a.et_pb_button.link_with_arrow:hover{

    background: transparent !important; 
    color: var(--link-color-hover) !important;
}
body #page-container .et_pb_section .et_pb_button_module_wrapper a.link_with_arrow::after,
.et_pb_button_module_wrapper a.link_with_arrow::after{
    display: inline;
    content: "5";
    position: relative;
    opacity: 1;
    font-family: ETmodules !important; 
    margin: unset;
    font-size: 1.5rem;
    top: 4px;
}  



/* Close Button */
body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button.close_button{

    background: transparent !important; 
    color: var(--theme-orange) !important;
    padding: 0px 0px !important;
    font-size: 1rem;
    border-radius: 0px;
    display: inline-block;

} 
body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button.close_button:hover{

    background: transparent !important; 
    color: var(--link-color-hover) !important;
}
body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button.close_button::after{
    display: inline;
    content: "M";
    position: relative;
    opacity: 1;
    font-family: ETmodules !important; 
    margin: unset;
    font-size: 2.5rem;
}  
.et_pb_button_module_wrapper  a.close_form_container{
    position: absolute;
    right: 0px;
}
.et_pb_button_module_wrapper  a.close_form_container::after{
    vertical-align: middle;
}
.et_pb_button_module_wrapper  a.close_form_container.show{
    display: inline !important;
}



/* ================================= */
/* Resources - Blog Module Customizations */
/* ================================= */
/* Ref: https://www.elegantthemes.com/blog/divi-resources/how-to-change-the-number-of-columns-in-the-divi-blog-module */
/* The News/Publocation Gris layout - disabled for now since there are so few entries */

.news_and_publications.et-blog-css-grid > div.et_pb_ajax_pagination_container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.news_and_publications.et-blog-css-grid .et_pb_post {
    align-self: start;
    padding: 15px;
    border: 0px solid #efefef;
    height: 100%;
    margin-bottom: 0px !important;
    border: 1px solid #efefef;
}
.news_and_publications.et-blog-css-grid >  div.et_pb_ajax_pagination_container > div { 
    width: 100%;
    position: absolute;
    bottom: 0;
    transform: translate(0%, 150%);
}
.news_and_publications.et-blog-css-grid .entry-featured-image-url {
    padding-top: 56.25%;
}
.news_and_publications.et-blog-css-grid .entry-featured-image-url img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    object-fit: cover;
}

/* Featured image - only for non Grid layout */
/*
.entry-featured-image-url{
    float: left;
    max-width: 200px;
    margin-right: 30px;
}*/
/* <article> layout - only for non Grid layout */
/*
.news_and_publications.et-blog-css-grid  article.et_pb_post{
    padding-bottom: 40px;
    margin-bottom: 40px;
    position: relative;
}
.news_and_publications.et-blog-css-grid  article.et_pb_post:after{
    content: "";
    display: block;
    width: 90%;
    min-width: 50px;
    border-top: 1px solid var(--theme-blue);
    visibility: visible  !important;;
    opacity: 0.2;
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translate(-50%, 0%);
}
.news_and_publications.et-blog-css-grid  article.et_pb_post:last-child:after{
    display: none;
}*/
.news_and_publications.et-blog-css-grid  article.et_pb_post:has(+ next) {
    background-color: red;
}
.news_and_publications.et-blog-css-grid  article.et_pb_post span.published{
    font-size: 0.9em;
    margin-right: 10px;
    display: block;
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container h2.entry-title {
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    padding-bottom: calc(var(--standard-gap) / 2) !important;
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container h2.entry-title a {
    color: var(--theme-orange) !important;;
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container h2.entry-title a:hover{
    color: var(--link-color-hover) !important;;
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container .post-content .post-content-inner{
    display: none;
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container .entry-featured-image-url{
    margin: -15px -15px calc(var(--standard-gap) / 2);
    margin-bottom: calc(var(--standard-gap) / 2); 
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container .entry-featured-image-url img{
    border-radius: 0px;
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container p.post-meta{ /* date & category */
    font-size: 0.85rem;
    color: black;
}
body.single-news-publications  .news_category_pills a,
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container p.post-meta a{ /* category */
    /* color: #fff !important; 
    background-color: var(--theme-green);*/
    color: var(--theme-green) !important;
    border: 1px solid var(--theme-green);
    border-radius: 15px;
    padding: 2px 10px;
    font-size: 0.7rem;
}
body.single-news-publications  .news_category_pills a:hover,
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container p.post-meta a:hover{
    color: #fff !important; 
    background-color: var(--theme-green);
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container .post-content-inner,
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container .post-content-inner p{
    color: var(--theme-blue);
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container a.more-link{
    display: inline-block;
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container a.more-link::before{
    content: "";
    visibility: visible;
}
.news_and_publications.et-blog-css-grid div.et_pb_ajax_pagination_container a.more-link::after{
    display: inline;
    content: "5";
    position: relative;
    opacity: 1;
    font-family: ETmodules !important;
    margin: unset;
    font-size: 1.5rem;
    top: 4px;
    visibility: visible;
    position: relative;
}

/* Article main page */
body.single-news-publications div.container:before{
    display: none;
}
body.single-news-publications div.container #left-area{
    width: auto;
    float: none;
    padding-right: 0px;
}
body.single-news-publications  h1.entry-title{
    line-height: 1.3;
}

body.single-news-publications .back_to_news a::before{
    display: inline;
    content: "4";
    position: relative;
    opacity: 1;
    font-family: ETmodules !important;
    margin: unset;
    font-size: 1.5rem;
    top: 4px;
    visibility: visible;
    position: relative;
}
body.single-news-publications .entry-content{
    line-height: 2rem;
}
body.single-news-publications .entry-content p {
    padding-bottom: 30px;
}

/* ================================= */
/* Page Body UI Customizations */
/* ================================= */

/* Top Splash Banner */
.et_pb_fullwidth_header .et_pb_fullwidth_header_container{
    position: absolute !important;
    top: 50%;
    transform: translate(0%, -50%);
}
.et_pb_fullwidth_header.no_blurb h1,
.et_pb_fullwidth_header.no_blurb h2{
    padding-bottom: 0px;
}
/*
.et_pb_fullwidth_header.half_image .et_pb_fullwidth_header_container.left{
    width: 50%;
    padding: 0 5% 0 10%;
    left: unset;
    transform: translate(0%, -50%);
}
*/
.et_pb_fullwidth_header .et_pb_fullwidth_header_container{
    left: 50%;
    transform: translate(-50%, -50%);
}
.et_pb_fullwidth_header .et_pb_fullwidth_header_container h1.et_pb_module_header{
    padding: 0.3em  0 !important;
    /* Permalink - use to edit and share this gradient: https://	colorzilla.com/gradient-editor/#1e5799+20,7db9e8+99 */
    /*
	background: radial-gradient(ellipse at center,rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.1) 40%,rgba(0,0,0,0) 70%); 
    */
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
/*
.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_module_header,
.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_header_content_wrapper{
    opacity: 0;
    margin-bottom: -50px;
}
@keyframes splash_text {
    from {
        opacity: 0;
        margin-bottom: -100px;
    }
    90% {
        opacity: 0;
    }
    to {
        opacity: 1;
        margin-bottom: 0px;
    }
}
.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_module_header{
    animation-name: splash_text;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.805, 0.010, 0.055, 0.995);;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: running;
}
.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_header_content_wrapper{
    animation-name: splash_text;
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.805, 0.010, 0.055, 0.995);;
    animation-delay: 0.5s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: running;
}
*/

/* Navigation - Donate Button */
nav#top-menu-nav li.donate a{
    position: relative;
}
header nav#top-menu-nav li.donate a{
    color: white !important;
    font-weight: bold;
}
header nav#top-menu-nav li.donate a::before{
    content: '';
    display: block;
    position: absolute;
    /*
    top: -25%;
    left: -10%;
    height: 40px;
    */
    top: -20%;
    left: -12%;
    height: 34px;

    width: 125%;

    border-radius: 18px;
    background-color: #990000;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0, 0, 1, 1) 0s ;
}
header nav#top-menu-nav li.donate a:hover::before{
    background-color: rgb(255, 153, 0);
}
header.et-fixed-header nav#top-menu-nav li.donate a::before{
    top: -31%;
    /*
    left: -10%;
    height: 34px; */
}


/* Custom Footer Styles */
.et-social-linkedin a.icon:before { content: '\e09d'; }
.et-db #et-boc .et-l .custom_footer_container .et_pb_row,
.custom_footer_container .et_pb_row{
    max-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}
.custom_footer_container .footer_menu_links,
.custom_footer_container .footer_copyright_container,
.custom_footer_container .footer_addresses{
    opacity: 0.8;
    position: relative;
    font-family: "Poppins", sans-serif;
}
.custom_footer_container .footer_menu_links a,
.custom_footer_container .footer_copyright_container,
.custom_footer_container .footer_addresses p{
    font-size: 0.8rem !important;
}
.custom_footer_container .footer_addresses p{
    line-height: 1.5;
}
.custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text h3{
    padding-bottom: 20px;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
}

.custom_footer_container .et_pb_divider.et_pb_space{
    height: 0px;
}
.et-db #et-boc .et-l .custom_footer_container .et_pb_divider_0_tb_footer::before,
.custom_footer_container .et_pb_divider::before{ /* Dividers */
    width: 100% !important;
    /*
    left: 50%;
    transform: translateX(-50%);*/
    opacity: 0.09;
}
.custom_footer_container .et_pb_menu__menu > nav > ul > li{
    border-right: 1px solid rgba(255,255,255, 0.9);
}
.custom_footer_container .et_pb_menu__menu > nav > ul > li:last-child{
    border-right: 0px none;
}
.custom_footer_container .et_pb_menu__menu > nav > ul > li > a{
    padding: 0px;
}

.custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text{ /* Addresses */
    width: 10%;
}
.custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text.ny_office{
    min-width: 180px;
    margin-left: auto; 
    margin-right: 5%;
}
.custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text.pa_office{
    min-width: 220px;
    margin-left: 7%; 
    margin-right: auto;
}

.custom_footer_container .footer_menu_links .et_pb_menu__menu{
    display: block !important;
}
.custom_footer_container .footer_menu_links .et_mobile_nav_menu{
    display: none !important;
}



/** ---------- Homepage --------**/


/** ---------- Inner Pages --------**/

/* Sitemap Page */
.et_pb_module.et_pb_text.sitemap h2{
    display: none;
}
.et_pb_module.et_pb_text.sitemap ul.wsp-pages-list{

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}
.et_pb_module.et_pb_text.sitemap ul.wsp-pages-list li{
    list-style: none;
}
.et_pb_module.et_pb_text.sitemap ul.wsp-pages-list ul.children{
    padding: 0 0 23px 2em;
}
.et_pb_module.et_pb_text.sitemap ul.wsp-pages-list > li.page_item:first-child{
    width: calc(100%/1);
}
.et_pb_module.et_pb_text.sitemap ul.wsp-pages-list > li.page_item{
    width: calc(100%/3);
    flex-grow:0;
}
.et_pb_module.et_pb_text.sitemap ul.wsp-pages-list > li.page_item > a{
    display: block;
    padding-bottom: 10px;
    text-transform: uppercase;
}

/* PDF embed bug where style is set to position: absolute */
.wp-block-file .fluid-width-video-wrapper object{
    position: relative !important;
}

/* CookieYes button placement - avoid overlap with UserWay */
.cky-notice-btn-wrapper {
  padding-right: 50px !important;
}
/* Hide the Icon that stays after the cookie consent */
.cky-btn-revisit-wrapper {
    display: none !important;
}

/* **************** */
/*      W 980       */
/* **************** */
@media screen and (max-width: 980px) {
    blockquote::after{
        top: -11px;
    }
    /* Fix the mobile header */
    .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
        position: fixed;
    }

    /* Footer Layout */
    footer#main-footer .credits_container .logo{
        float: none;
        margin: 0 0px 20px 0;
    }

    /** ---------- Homepage --------**/
    .home .et_pb_slider_with_text_overlay .et_pb_text_overlay_wrapper,
    .home .et_pb_slider_with_text_overlay .et_pb_button_wrapper{
        max-width: none;
    }

    .alternating_block.img_right{
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
        grid-template-areas: "image" 
        "blurb";
    }
    .alternating_block.img_right .et_pb_column_2_3{
        grid-area: blurb;
        margin-bottom: 0px;
    }
    .alternating_block.img_right .et_pb_column_1_3{
        grid-area: image;
        margin-bottom: 30px;
    }

}

/* ****************************************** */
/*      Applying some Fixes - Catch All      */
/* ****************************************** */
@media only screen and (max-width: 10000px){

    /* Header + Page Container Fix: Prevent header jump due to fixed header + extra space on top from broken DIVI JS loop */
    .et_fixed_nav.et_show_nav #page-container{
        padding-top: 142px !important;
    }

    /* Fix for a dark line when diviers are added to Splash Banner */
    .et_pb_bottom_inside_divider, .et_pb_top_inside_divider{
        bottom: -1px !important;
    }
    
    /* Fix for Parent-child Color. All child have the same color as parent when parent page is selected */
    .et_slide_in_menu_container #mobile_menu_slide li.current-menu-item li > a{
        color: var(--theme-blue);
    }
    .et_slide_in_menu_container #mobile_menu_slide li.current-menu-item > a,
    .et_slide_in_menu_container #mobile_menu_slide li.current-menu-item li.current_page_item a{
        color: var(--theme-orange);
    }
}

/* **************** */
/*      W 980       */
/* **************** */
@media screen and (max-width: 980px) {

    /* Header + Page Container Fix: Prevent header jump due to fixed header + extra space on top from broken DIVI JS loop */
    .et_fixed_nav.et_show_nav #page-container{
        padding-top: 88px !important;
    }
    /* Mobile Menu Positioning Fix - Moves up when page scrolls instead of being middle aligned */
    .et_header_style_slide header.et-fixed-header #et-top-navigation{
        padding: 24px 0 0 0 !important;
    }
    /* FIx for smaller logo on iPad only */
    .et_header_style_left .logo_container{
        padding: 0px;
    }


    /* Footer */
    .custom_footer_container .et_pb_row.call_to_action .et_pb_column_1_2,
    .custom_footer_container .et_pb_row.footer_addresses .et_pb_column_1_2{ /* Addresses Columns */
        width: 50%;
    }
    .custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text{ /* Addresses Text Blocks */
        font-size: 0.9rem;
    }
    .custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text h3{
        font-size: 1.1rem;
    }
    .custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text.ny_office{
        margin-right: 0px;
    }
    .custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text.pa_office{
        min-width: 200px;
        margin-left: 10%;
    }
}

/* *********************************** */
/*      W 784  - overwride WP core     */
/* *********************************** */
@media screen and (max-width: 784px) {
    /* Header Fix : for WordPress Admin Bar */
    body.admin-bar.et_fixed_nav.et_header_style_slide #main-header,
    body.admin-bar.et_fixed_nav #main-header{
        top: 46px !important;
    }
    #wpadminbar{
        position: fixed;
    }
}

/* **************** */
/*      W 768       */
/* **************** */
@media screen and (max-width: 768px) {
    .et_header_style_left .logo_container{
        padding: 0px 0px;
    }

    /* Site Map */
    .et_pb_module.et_pb_text.sitemap ul.wsp-pages-list > li.page_item{
        width: calc(100%/2);
    }
}

/* **************** */
/*      W 640       */
/* **************** */
@media screen and (max-width: 640px) {

    /* Footer */
    footer#main-footer .credits_container .logo{
        max-width: 80px;
    }
    .custom_footer_container .et_pb_row.footer_addresses .et_pb_column_1_2{ /* Addresses Columns */
        width: inherit;
    }
    .custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text{ /* Addresses Text Blocks */
        width: unset;
        text-align: center;
    }
    .custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text.ny_office{
        min-width: unset;
        margin-right: unset;
        margin-left: unset;
    }
    .custom_footer_container .et_pb_row.footer_addresses .et_pb_module.et_pb_text.pa_office{
        min-width: unset;
        margin-right: unset;
        margin-left: unset;
    }

    /* Global Header */
    /* Call to Action Buttton */
    header#main-header .head_contact.call_to_action{
        display: none;
    }

    /* Buttons */
    body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button,
    .et_pb_button_module_wrapper a.et_pb_button,
    .et_contact_bottom_container button,
    .et_contact_bottom_container{
        width: 100%;
    }
    .et_contact_bottom_container button{
        margin: 20px 0 0;
    }

    body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button, 
    .et_pb_button_module_wrapper a.et_pb_button, 
    .et_contact_bottom_container button{
        padding: 0.5em 1.2em !important;
    }

    /* Site Map */
    .et_pb_module.et_pb_text.sitemap ul.wsp-pages-list > li.page_item{
        width: calc(100%/1);
    }


    .wpcf7-form > p{
        display: block;
    }
    .wpcf7-form-control.wpcf7-submit,
    .wpcf7-form div.button > p input[type="submit"]{
        float: none;
        margin: 15px 15px 0;
        display: block;
        width: 100%;
        width: -moz-available;
        width: -webkit-fill-available;
    }
    .wpcf7-form div.flex_row p{
        display: block;
    }
    .wpcf7-form div.flex_row p label.col{
        padding: 0px 0px;
    }
    .wpcf7-form div.button > p input[type="text"],
    .wpcf7-form div.button > p input[type="email"],
    .wpcf7-form div.button > p input[type="tel"],
    .wpcf7-form div.button > p input[type="number"],
    .wpcf7-form div.button > p textarea{
        width: 100%;
        width: -moz-available;
        width: -webkit-fill-available;
    }

    /* Adticles */
    .entry-featured-image-url{
        float: none;
        max-width: unset;
        margin-right: 0px;
    }
}