/*
Theme Name: Divi-child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Child theme for the Divi theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 { line-height:1.5; }

.headshot-row img {
    max-width:198px;
    height:auto;
    border-radius:50%;
}


.et_pb_row, .single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper { max-width:1140px; }
.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper img { width:100%;}

.et_pb_column_2_3 .et_pb_audio_module_content {margin-left:inherit;}

#et-top-navigation { font-weight:400; }

.et_parallax_bg { background-size:cover !important; }

/*#main-header.et-fixed-header  { top:0 !important; }*/

.home-featured-blog-posts .entry-featured-image-url {
    position: relative;
    display:block;
    width: 90px;
    height: 90px;
    overflow: hidden;
    float:left;
    margin-right:24px;
    border-radius:50%;
    border:6px solid #f0f0f0;
}
.home-featured-blog-posts .entry-featured-image-url img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    max-width:none;
}

.home-featured-blog-posts article:before,
.home-featured-blog-posts article:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.home-featured-blog-posts article:after {
    clear: both;
}

.home-featured-blog-posts .post-meta, .home-featured-blog-posts .post-content {
    padding-left:104px;
}

/* .mobile_menu_bar:before { color:white; } */

.et_pb_slider .et_pb_container { max-width:1200px; }

.et-fixed-header #top-menu a, .et-fixed-header #et_search_icon:before, .et-fixed-header #et_top_search .et-search-form input, .et-fixed-header .et_search_form_container input, .et-fixed-header .et_close_search_field:after, .et-fixed-header #et-top-navigation .et-cart-info { color: #333 !important; }

.border-image-wrap::after {
    position: absolute;
    z-index: 0;
    border: solid 1px rgba(255,255,255,0.4);
    margin: 10px;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


.home-featured-blog-posts > article { margin-bottom:40px; }
.home-featured-blog-posts > article:last-child { margin-bottom:0; }
.home-featured-blog-posts .et_pb_post h2 { margin-top:12px; font-size:18px; }
.home-featured-blog-posts-column h4, .home-featured-blog-posts-column h2, .home-featured-events h1 {
    font-weight:500;
}

.et_pb_slide_description h2 { margin-bottom:20px !important;}
.et_pb_slide_description p { padding-bottom:15px !important;}


/* #logo { -webkit-filter: brightness(0) invert(1); filter: brightness(0) invert(1); }
.et-fixed-header #logo { -webkit-filter: none; filter: none; } */





/* header.et-fixed-header { background:white !important; top:0 !important; } */

/*#top-header.et-fixed-header { display:none; }*/

#tweets li { padding:0 !important; }
#tweets li:before { display:none; }

#footer-widgets .footer-widget li a, #footer-widgets a { color:#ccc; }
#footer-widgets a:hover { text-decoration:underline; }

footer ul.et-social-icons li { padding:0 !important; margin:0 5px 0 0; vertical-align:middle !important; }
footer ul.et-social-icons { float:none; margin-top:20px; }
footer ul.et-social-icons li:before { display:none; }

#top-header #et-info-email { display:none;}

/* @media (min-width: 981px) {
#main-footer .container {
    width: 100% !important;
    max-width: 100%;
    padding-right: 30px;
    padding-left: 30px;
}
} */

.subscription-bar input[type=text] {
    border:none;
    height:40px;
    display:block !important;
    margin:24px auto;
    max-width:100%;
    font-size:16px;
}

.subscription-bar input[type=submit] {
    border:none;
    color:white;
    background:black;
    padding:10px 20px;
    text-transform:uppercase;
    font-size:16px;
    background:#084b82;
}

.et-animated {
    transition-duration:.5s !important;
}




#main-content {
    position:relative;
    z-index:1;
}

@media screen and (min-width:981px) {
    .subscription-bar input[type=text] {
        display:inline !important;
        margin-left:10px;
        margin-right:10px;
    }

    .et_pb_column_1_4 .et_pb_audio_module .mejs-container, .et_pb_column_1_3 .et_pb_audio_module .mejs-container, .et_pb_column_3_8 .et_pb_audio_module .mejs-container {
        height: 30px !important;
    }
}







.overlay {
    position:relative;
}

.overlay-text, .service-recordings .post-content {
    color:white;
    text-align:center !important;
    font-size:20px;
    line-height:26px;
    position:absolute;
    z-index:100;
    top:0;
    left:0;
    background:rgba(0,0,0,0.3);
    height:100%;
    width:100%;
    opacity:0;
}

.overlay-text a {
    color:white;
}


.overlay-text > div {
    padding:16px !important;
}

.overlay-title h1 {
    text-transform: uppercase;
    font-weight: 600;
}

.overlay-title, .overlay-text > div, .service-recordings .post-content > div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    width: 100%;
}

.service-recordings .post-content > div {
    padding:19px;
}

.service-recordings .entry-title {
    text-align:center;
}



.overlay-text img {
    width:125px;
    border-radius:50%;
    border:5px solid white;
}

/*.page-id-25879 .overlay-text img {
    width:100px;
}*/

.service-recordings article {
    position:relative;
}

.et_pb_blog_grid.service-recordings .et_pb_post {
    border:none;
}

.overlay-title, .overlay-text, .service-recordings .post-content {
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}

.overlay:hover .overlay-title {
    -webkit-transition-delay: .2s; /* Safari */
    transition-delay: .2s;
    opacity:0;
}

.overlay:hover .overlay-text, .service-recordings article:hover .post-content {
    -webkit-transition-delay: .2s; /* Safari */
    transition-delay: .2s;
    opacity:1;
}

.et_pb_blog_grid.service-recordings .et_pb_post {
    background:none;
}

#et-info {
    float:none;
}

.et-info-right {
    float:right;
}

.et-info-left {
    float:left;
}

#top-header .et-social-icons li {
    margin-right:6px;
    margin-left:0;
}

#top-header .et-social-icons {
    margin-right:15px;
}

.et-icon.et-location:before {
    content: "\e081";
    font-family: "ETmodules" !important;
    font-size:11px;
    margin-right:4px;
}

.et-info-left div:before {
    content: "\024";
    font-family: "ETmodules" !important;
    font-size:13px;
    margin-right:2px;
    vertical-align: middle;
}

#top-header {
    display:none;
}

.welcome-row .et-pb-icon-circle {
    font-size:30px;
}

.et_pb_main_blurb_image {
    margin-bottom:15px;
}

.centered-content {
    padding:10%;

}

.et_pb_column.no-bottom-margin {
    margin-bottom:0 !important;
}

.et_pb_audio_module_content.et_audio_container {
    padding:30px 25px 0 !important;
}

.et_pb_audio_module_content h2 {
    font-size:20px !important;
}

.single-tribe_events #left-area, .post-type-archive-tribe_events #left-area, .single-post #left-area, .search-results #left-area {
    float:none !important;
    width:100% !important;
    padding-right:0 !important;
}

.type-tribe_events {
    padding-top:0;
}

.et_pb_section.et_section_regular.events-row {
    background:#fff !important;
}

.et_pb_section.et_section_regular.events-row.alternating {
    background:#f1f1f1 !important;
}

.et_pb_section.hide-section-no-events {
    display:none;
}

.single-tribe_events .tribe-events-event-meta {
    overflow:hidden;
}

.tribe-events-single-event-description:before,
.tribe-events-single-event-description:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.tribe-events-single-event-description:after {
    clear: both;
}

.tribe-events-style-full #main-content .container { padding-top:25px; }

.single-tribe_events #left-area .entry-content, .post-type-archive-tribe_events #left-area .entry-content, .single-post #left-area .entry-content, .search-results #left-area .entry-content {
    width:100%;
}

.single-post .et_pb_post .entry-content {
    padding-top:0;
}

.blog-highlight .centered-content {
    z-index:1000;
}

.single-tribe_events #main-content .container:before, .post-type-archive-tribe_events #main-content .container:before, .single-post #main-content .container:before, .search-results .container:before {
    display:none
}
.tribe-events-calendar .multiday { background:#e2f6ff; margin:0 !important;}

.tribe-events-calendar .tribe-events-event-body { font-size:16px;}
.tribe-events-tooltip h4, .tribe-events-tooltip > div > div {
    margin-bottom:5px !important;
}


.tribe-events-meta-group-other {
    display:none !important;
}

.tribe-events-calendar th {
    color:white !important;
}

.events-list h4 {
    margin-top:25px;
    margin-bottom:0;
    padding-bottom:0;
    font-weight:500;
}

.events-list h2 {
    padding-bottom:0;
    margin-top:25px;
}

.events-list p.subtitle {
    padding-bottom:0;
}

.et_fixed_nav #top-header {
    border-bottom: 1px solid #ddd;
}

p:last-of-type {
    padding-bottom: 1em;
}

#widget_box { width:100% !important;}

.download-link {
    margin-top:0;
    padding:0 25px 30px;
}

.download-link a  {
    color:white;
    text-decoration:underline;
}

.et_search_form_container {
     background: #f1f1f1;
    width:100%;
    padding-left:10%;
    padding-right:10%;
}

.et_search_form_container.et_pb_search_form_hidden  {
    background: transparent;
}

.et_close_search_field {
    right:10% !important;
}

@media screen and (min-width:768px) {
    .et_search_form_container {
        width:80%;
        padding-left:0;
        padding-right:0;
        background:transparent;
    }

    .et_close_search_field {
        right:0 !important;
    }

    .first-recording a.entry-featured-image-url {
        position:relative;
        height:300px;
        overflow:hidden;
    }

    .et_search_outer {

        background: transparent;
    }

    .first-recording img {
        width:100%;
        position:relative;
        top:50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

}

@media screen and (min-width:810px) {
    #top-header {
        display:block;
    }
}

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

    #main-content {
        margin-bottom:0 !important;
    }
}

@media screen and (min-width:981px) {

    .blog-highlight.center-vertically {
        display: -webkit-flex !important;
        display: flex !important;
    }
    .blog-highlight .centered-content {
        -webkit-align-self: center !important;
        align-self: center !important;
        padding:0 !important;
    }

    .centered-content {
        padding:22.5% 10%;

    }

    .overlay-text {
        font-size:16px;
        line-height:20px;
    }

    .overlay-text p {
        padding-bottom:8px;
    }

    .overlay-text img {
        width:85px;
    }

    #main-footer {
        position:fixed;
        bottom:0;
        z-index:-1;
        width:100%;
    }


    .et_pb_column_1_4 .et_pb_audio_module .mejs-container .mejs-controls div, .et_pb_column_1_3 .et_pb_audio_module .mejs-container .mejs-controls div, .et_pb_column_3_8 .et_pb_audio_module .mejs-container .mejs-controls div {
        position:relative;
        float:left;
    }

    .et_pb_column_1_4 .et_pb_audio_module .mejs-controls div.mejs-time-rail, .et_pb_column_1_3 .et_pb_audio_module .mejs-controls div.mejs-time-rail, .et_pb_column_3_8 .et_pb_audio_module .mejs-controls div.mejs-time-rail {
        width:auto !important;
        padding-left:0;
    }

    .et_pb_column_1_4 .et_pb_audio_module .mejs-time.mejs-currenttime-container.custom, .et_pb_column_1_3 .et_pb_audio_module .mejs-time.mejs-currenttime-container.custom, .et_pb_column_3_8 .et_pb_audio_module .mejs-time.mejs-currenttime-container.custom {
        top:-3px;

    }

    .mejs-container {
        margin-top: 5px;
    }

    .mejs-volume-button, .et_audio_container .mejs-controls a.mejs-horizontal-volume-slider {
        display:none !important;
    }

    .et_pb_audio_module_content.et_audio_container {
        padding:30px 25px 0px !important;
    }

}

@media screen and (min-width:981px) and (max-width:1100px) {
    .overlay-text img {
        display:none;
    }
}

@media only screen and (min-width:981px) and (max-width:1070px) {
    #top-menu li {
        padding-right:9px;
    }
}

@media screen and (max-width:480px) {
    .overlay-text .testimonial-image {
        display:none;
    }

    .overlay-text p {
        margin-bottom:0;
        padding-bottom:0;
    }

    .home-featured-blog-posts .entry-featured-image-url {
        float:none;
        text-align:center;

    }
    .home-featured-blog-posts .entry-featured-image-url img {
        margin:0 auto;
        position:static;
        top:auto;
        left:auto;
        transform:none
    }

    .home-featured-blog-posts .post-meta, .home-featured-blog-posts .post-content {
        padding-left:0;
    }


}