/*
Theme Name: Divi Child Theme
Version: 1.0
Description: A customized version of Divi
Author: Full Spectrum Marketing
Author URI: http://www.fullspectrummarketing.com
Template: Divi
*/


/* hide Divi branding in footer */

#footer-info {
    display: none;
}

@import 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif|Work+Sans:400,800,900';
.work-sans * {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
}

@media only screen and (max-width: 600px) {
    h1 {
        font-size: 36px !important;
    }
}

@media only screen and ( min-width:981px) {
    /* set the slider height for hero images */
    .et_pb_slider,
    .et_pb_slider .et_pb_container {
        /*height: 600px !important;*/
    }
    .et_pb_slider,
    .et_pb_slider .et_pb_slide {
        /*max-height: 600px;*/
    }
    body #page-container #top-menu>li {
        margin-top: 30px;
        vertical-align: bottom;
        padding-right: 0;
    }
    body #page-container #top-menu>li>a {
        padding: 0 15px !important;
        height: 52px;
        width: 140px;
        text-align: center;
        vertical-align: middle;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    body #page-container #top-menu>li:nth-child(5n+1)>a {
        background-color: #4a637b;
    }
    body #page-container #top-menu>li:nth-child(5n+2)>a {
        background-color: #dc409d;
    }
    body #page-container #top-menu>li:nth-child(5n+3)>a {
        background-color: #de8e4c;
    }
    body #page-container #top-menu>li:nth-child(5n+4)>a {
        background-color: #369398;
    }
    body #page-container #top-menu>li:nth-child(5n+5)>a {
        background-color: #fc7e77;
    }
    body #top-menu .menu-item-has-children>a:first-child:after,
    body #et-secondary-nav .menu-item-has-children>a:first-child:after {
        top: 18px;
        right: 5px;
    }
    .home-hero-text h1 {
        font-size: 60px;
        line-height: 1.15em;
    }
    .home-hero-text h1 strong {
        font-weight: 900;
        font-size: 1.12em;
        display: block;
        font-family: 'Work Sans', sans-serif;
    }
    .home-hero-text h1 em {
        font-size: .75em;
        display: block;
        font-style: normal;
    }
    #home-calendar .ecs-event-list li {
        width: 32%;
        display: inline-block;
        vertical-align: top;
    }
    .sub-menu li a {
        line-height: 1em !important;
        padding: 8px 5px !important;
        text-transform: lowercase !important;
    }
    .sub-menu li a:hover {
        color: #111 !important;
    }
}

@media only screen and ( min-width:981px) and (max-width: 1500px) {
    body #page-container #top-menu>li>a {
        width: 105px !important;
        font-size: 14px !important;
    }
}

#top-menu .sub-menu li a {
    text-transform: capitalize !important;
}

.home-faqs {
    background: #fff;
    padding: 15px;
    border: 2px solid #4a637b;
}

.home-faqs h2 {
    min-width: 75%;
    line-height: 1.2em;
    border: 1px solid #de8e4c;
    color: #fff;
    background: #4a637b;
    margin: 0 auto 10px auto;
    text-align: center;
    font-family: 'Abel', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    padding: 10px 0 10px 0 !important;
}

.home-faqs ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-faqs ul li {
    border-bottom: 1px solid #4a637b;
    color: #32424e;
    margin-top: 10px;
    padding: 0 5px 10px 5px;
    line-height: 1.25em;
}

#copyright {
    color: #424242;
    line-height: 5em;
    text-align: center;
}

#main-footer {
    border-top: 15px solid #369398;
}


/* noto body font declaration */

body {
    font-family: 'Noto Serif', Verdana, serif;
    /*font-family: 'Noto Sans', Arial, Helvetica, sans-serif;*/
}


/* custom css below */

.tall-section-90 {
    min-height: 90vh;
}

.gallery-bg-row .et_pb_column {
    min-height: 25vh;
}

#home-calendar {}

#home-calendar h2 {
    font-size: 18px;
    color: #fff;
    padding: 10px 20px;
    line-height: 1em;
    background: #48577e;
    border: 2px solid #de8e4c;
    display: inline-block;
    margin-bottom: 50px;
}

#home-calendar .ecs-event-list {
    list-style: none;
}

#home-calendar .ecs-event-list * {
    color: #4a637b;
}

#footer-widgets .gform_wrapper .top_label .gfield_label {
    display: none !important;
}

#footer-widgets .gform_fields .gfield {
    margin: 0;
    padding-left: 0;
}

#footer-widgets .gform_fields .gfield:before {
    content: none !important;
}

body #footer-widgets .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body #footer-widgets .gform_wrapper textarea.textarea,
body #footer-widgets div.form_saved_message div.form_saved_message_emailform form input[type=text] {
    padding: 8px !important;
}

body #footer-widgets .gform_wrapper textarea {
    height: 5em;
}

#footer-widgets .gform_wrapper {
    margin: 0 !important;
}

#footer-widgets .gform_footer {
    margin: 0 !important;
    padding: 0 !important;
}

#main-header {
    border-bottom: 1px solid #ccc;
}

.page-header {}

.page-header .header-content h1,
.height-100 .page-header h1 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    line-height: 1em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .75);
}

.page-header .header-content p,
.height-100 .page-header p {
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .75);
}

.et_pb_divider {
    background: #1e5799;
    background: -webkit-linear-gradient(to right, #4a637b 20%, #dc409d 20%, #dc409d 40%, #de8e4c 40%, #de8e4c 60%, #369398 60%, #369398 80%, #fc7e77 80%);
    background: linear-gradient(to right, #4a637b 20%, #dc409d 20%, #dc409d 40%, #de8e4c 40%, #de8e4c 60%, #369398 60%, #369398 80%, #fc7e77 80%);
}

.shadow-image-section {
    box-shadow: inset 1000px 1000px 1000px rgba(0, 0, 0, .35);
}

.shadow-image-section * {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .75);
    font-weight: 800;
}

.shadow-image-section h2 {
    font-size: 2.5em;
    line-height: 1.15em;
}

.shadow-image-section p,
.shadow-image-section li {
    font-size: 1.5em;
    line-height: 1.35em;
}

body .et_pb_sum,
body .et_pb_pricing li a,
body .et_pb_pricing_table_button,
body .et_overlay:before,
body .et_pb_member_social_links a:hover,
body .woocommerce-page #content input.button:hover .et_pb_widget li a:hover,
body .et_pb_bg_layout_light .et_pb_promo_button,
body .et_pb_bg_layout_light.et_pb_module.et_pb_button,
body .et_pb_bg_layout_light .et_pb_more_button,
body .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active,
body .et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active,
body .et_pb_gallery .et_pb_gallery_pagination ul li a.active,
body .et_pb_contact_submit,
body .et_pb_bg_layout_light .et_pb_newsletter_button {
    color: #de8e4c;
    border-color: #de8e4c;
}

.ecs-event .duration.time {
    background: url(/wp-content/themes/Divi-child/calendar-icon.png) no-repeat top center;
    background-size: contain;
    display: block;
    padding: 45px 11px;
    max-width: 150px;
    letter-spacing: -1px;
    max-height: 150px;
    margin: 0 auto;
}

.tribe-events-page-template #page-container {
    padding-top: 200px !important;
}

#tribe-events-pg-template {
    padding-bottom: 50px;
}

#mobile_menu {
    background: #fff !important;
}

.footer-fb:before {
    font-family: "ETmodules" !important;
    display: inline-block;
    background: #3B5998;
    margin: 0;
    padding: 8px 12px;
    text-align: center;
    content: "\e093";
    color: #fff !important;
    width: 17px;
}

.height-100 {
    height: 100vh;
    box-shadow: inset 0 0 10000px 10000px rgba(0, 0, 0, .25)
}

@media (min-width: 981px) {
    .et_pb_footer_columns_1_2__1_4 .footer-widget:first-child {
        width: 47.25%;
    }
    .et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(n+2):nth-child(-n+3) {
        width: 20.875%;
    }
    .et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(n+2):nth-child(-n+3) {
        width: 20.875%;
    }
    .footer-widget {
        margin: 0 5.5% 5.5% 0;
    }
    .et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(3) {
        margin-right: 0;
    }
}