/*
Theme Name: Divi Child Theme
Description: Divi Child Theme for your Customizations
Author: Media Bar
Template: Divi
Version: 1.0
*/

/* Header */

.secondarynav > a + a {
    padding-left: 12px;
}

#footer-social .secondarynav > a, #footer-social .secondarynav .et-social-rss {
    display: none;
}

/* Header Search */
.et_search_outer {
    background: white;
}

#et_top_search {
    margin-top: 42px;
}

form.et-search-form {
    max-width: 35% !important;
}

.et-search-form input {
    padding: 4px;
    border: solid 1px #999;
}

/* Desktop - increase width of drop-down menus */
@media screen and (min-width: 981px) {
    .nav li ul.sub-menu {
        min-width: 310px;
    }

    #menu-primary-menu li li a {
        width: 100%;
        padding: 4px 12px;
    }
}

/* Mobile Header */
@media only screen and (max-width: 960px) {
    #et_top_search {
        display: none;
    }

    #et-secondary-menu {
        display: block !important;
        padding-bottom: 9px;
        font-size: 16px;
    }

    #top-header .et-social-icon a {
        /*font-size: 22px; jewish boston isn't resizable */
    }

    .et_header_style_left .logo_container {
        position: relative;
        height: 150px;
        text-align: center;
    }

    .logo_helper {
        height: 150px;
    }

    #et-top-navigation {
        padding-top: 0 !important;
        padding-left: 0 !important;
    }
}

/* Footer */
#footer-partners {
    padding-top: 4em;
    padding-bottom: 1.5em;
    display: flex;
    justify-content: center;
}

#footer-social {
    padding-top: 1.5em;
    padding-bottom: 2em;
}

#footer-social .et-social-icons {
    /* Custom placement for social icons in the footer */
    float: none;
    text-align: center;
}

#footer-contact {
    color: #707070;
    padding-top: 2em;
    padding-bottom: 1em;
}

#footer-contact .et_pb_widget {
    float: none;
    text-align: center; 
}

#footer-widgets .widget_nav_menu .title {
    margin-bottom: 1em;
}

#footer-widgets .widget_nav_menu ul li {
    margin-bottom: 0;
    padding-left: 0;
}

#footer-widgets .widget_nav_menu ul li:before {
    /* Remove the bullet from the footer menus */
    display: none;
}

#footer-info {
    float: none;
    text-align: center;
}

/* Full width slider */

.et-pb-arrow-prev, .et-pb-arrow-next {
    color: #00A99E !important;
}

@media only screen and (min-width: 960px) {
    .et-pb-arrow-prev, .et-pb-arrow-next {
        color: #00A99E !important;
        font-size: 130px;
        opacity: 100;
        top: 42%;
    }

    .et-pb-arrow-prev {
        left: 15px;
    }

    .et-pb-arrow-next {
        right: 15px;
    }
}

.et-pb-arrow-prev:before, .et-pb-arrow-next:before {
    text-shadow: 0px 3px 6px #333;
}

.et-pb-controllers a {
    width: 17px;
    height: 17px;
    -webkit-border-radius: 17px;
    -moz-border-radius: 17px;
    border-radius: 17px;
}

.et-pb-controllers .et-pb-active-control {
    background-color: #00A99E;
}

.et_pb_slides .et_pb_slide_image img {
    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
}

/* Page Heading */
#breadcrumbs {
    font-size: 90%;
    color: #707070;
}
#breadcrumbs a {
    color: #707070;
}
#breadcrumbs a:hover {
    color: #00a99e;
    text-decoration: underline;
}

/* Equalize Column Height */
/* et_pb_salvattore_content is for the posts grid element */
.eq-column-height .et_pb_salvattore_content, .eq-column-height .et_pb_salvattore_content > div {
/* Why was this commented out?    display: flex; */
}


/* Elements */
.inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
    margin-bottom: 1em !important;
    margin-right: 2em;
}

/* Page Content */
.et_pb_text_inner ol {
    list-style-position: outside;
    padding-left: 18px;
}

.et_pb_text_inner ol li, .et_pb_text_inner ul li {
    padding-left: 1em;
    margin-bottom: 0.5em;
}
