/*
 Theme Name:     NECSN - Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Matter Labs - Divi Child Theme
 Author:         Matter Lab
 Author URI:     https://www.matterlab.org/
 Template:       Divi
 Version:        0.0.4
*/


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

/* Body Overflow - For Responsive */
body,
html {
    overflow-x: hidden;
}

/* Heading Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1em;
}

/* Body Fonts */
p {

}

/* Slider 
body .et_pb_slider .et_pb_slide:after {
    background: url(/wp-content/themes/NECSN/images/hero-bars.svg) bottom right no-repeat;
    bottom: 10px;
    content: " ";
    height: 100%;
    position: absolute;
    right: -35px;
    width: 35%;
}
body .bars-involved:after {
    background: url(/wp-content/themes/NECSN/images/involved-bars.svg) center left no-repeat;
    background-size: contain;
    content: " ";
    height: 100%;
    position: absolute;
    top: 10px;
    right: -35px;
    width: 50%;
}
*/

body .et_pb_slider .et_pb_slide .et_pb_slide_title:after {
    background: #eaa903;
    bottom: 0;
    content: '';
    display: block;
    height: 10px;
    margin: 25px 0 0 0;
    position: relative;
    width: 50px;
}


/* Toggles Yo! */
body .et_pb_toggle_title:before {
    color: #eaa903;
    content: "\4c";
    font-weight: 800;
    font-size: 32px;
}

body .et_pb_toggle_open .et_pb_toggle_title:before {
    content: "\4b";
}


/* Color Photo Grid */
body .color-photo-grid .et_pb_row .et_pb_column {
    display: block;
    min-height: 375px;
}


/* Ninja Forms */
body .nf-form-content {
    margin: 0 0 50px;
    padding: 0;
}

body .nf-form-fields-required {
    margin: 0 0 25px 0;
    font-style: italic;
    font-weight: 400;
}

body .nf-form-content button,
body .nf-form-content input[type=button],
body .nf-form-content input[type=submit] {
    background: #eaa903;
    border-radius: 50px;
    color: #242424;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 50px 10px 25px;
}

body .nf-form-content .submit-wrap .nf-field-element {
    width: auto;
}

body .nf-form-content .submit-wrap .nf-field-element:after {
    color: #242424;
    content: '$';
    font-family: ETmodules!important;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    position: relative;
    right: 45px;
    top: 2px;
}

body .nf-form-content button:hover,
body .nf-form-content input[type=button]:hover,
body .nf-form-content input[type=submit]:hover {
    background: rgba(234,169,3,0.89)!important;
    color: #242424;
}

/* WP Google Map */
body .wpgmp_infowindow .fc-item-website a {
    border: 1px solid #000;
    color: #000;
    display: inline-block;
    margin: 15px 0 0 0;
    text-align: center;
    padding: 10px;
}


body .wpgmp_pagination span.current,
body .wpgmp_pagination a:hover {
    background-color: #1d8677;
}


/* Footer */
body #main-footer .container {
    max-width: 95%;
    width: 95%;
}

body #footer-widgets .footer-widget li {
    padding-left: 0;
}

body #footer-widgets .footer-widget li:before {
    display: none;
}

body #main-footer .textwidget > div {
    margin-top: 8px;
}

body #main-footer .et_pb_widget ul li {
    margin: 0;
}

body #main-footer .footer-widget h4 {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    padding: 6px 0;
}

body #main-footer .et_pb_widget a {
    color: #fbfbfb;
    display: block;
    font-size: 14px;
    line-height: 1.35;
    padding: 6px 0;
}

body #main-footer .et_pb_widget a:hover {
    text-decoration: underline;
}

body #menu-footer-menu {
    line-height: 1.35;
}

body #footer-widgets {
    display: flex;
    justify-content: space-between;
}

body #footer-widgets .footer-widget {
    width: auto;
}

body #main-footer .et_pb_widget #custom_html-2 a {
    line-height: 1.5;
}

body #main-footer #custom_html-4 a:before {
    display: inline-block;
    font-family: 'ETmodules';
    position:relative;
    padding-right: 8px;
}

body #main-footer #custom_html-4 a.facebook:before {
    content: '\e093';
}

body #main-footer #custom_html-4 a.instagram:before {
    content: '\e09a';
}

body #main-footer #custom_html-4 a.twitter:before {
    content: '\e094';
}

body #main-footer #custom_html-4 a.linkedin:before {
    content: '\e09d';
}

body #main-footer #footer-bottom #footer-info,
body #main-footer #footer-bottom #footer-info a {
    font-size: 12px;
}


/* Helpers */
body .border_bottom .et_pb_text_inner:after {
    background: #eaa903;
    bottom: 0;
    content: '';
    display: block;
    height: 5px;
    margin: 0 auto;
    position: relative;
    width: 35px;
}

body .border_bottom_black .et_pb_text_inner:after {
    background: #000;
    bottom: 0;
    content: '';
    display: block;
    height: 5px;
    margin: 0 auto;
    position: relative;
    width: 35px;
}

body .border_bottom_white .et_pb_text_inner:after {
    background: #fff;
    bottom: 0;
    content: '';
    display: block;
    height: 5px;
    margin: 0 auto;
    position: relative;
    width: 35px;
}

body .border_bottom_left .et_pb_text_inner:after {
    background: #eaa903;
    bottom: 0;
    content: '';
    display: block;
    height: 5px;
    position: relative;
    width: 35px;
}

body .flex_map {
    height: 100%;
}

body .flex_map .et_pb_image_wrap {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

body.et_button_icon_visible #page-container .et_pb_button.hover_white:hover {
    background-color: #ffffff !important;
}


/* Buttons */
body.et_button_icon_visible .et_pb_button {
    padding: 10px 50px 10px 25px;
}

body.et_button_icon_visible #page-container .et_pb_button:hover {
    color: #242424 !important;
    padding: 10px 50px 10px 25px !important;
}


body.et_button_icon_visible #page-container .et_pb_button:hover:after {
    color: #242424 !important;
}


/* Popup Button */
body .popupaoc-button {
    background: #eaa903;
    border-radius: 50px;
    color: #242424;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 40px 15px 25px;
    position: relative;
}

body .popupaoc-button:hover {
    background: #eaa903;
    color: #000;
    opacity: 0.89;
}

body .popupaoc-button:after {
    color: #242424;
    content: '$';
    font-family: ETmodules!important;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    position: relative;
    left: 15px;
    top: 3px;
}

body .paoc-popup-modal {
    margin-top: 100px;
}


/* Other Translator Styling */
body #google_language_translator select.goog-te-combo {
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0;
    max-width: 140px;
}

body #et-secondary-menu {
    display: flex;
}

#et-secondary-menu>ul>li a {
    padding: 7px;
}


body #et-secondary-menu .goog-te-gadget {
    max-height: 30px;
}


/* Blog Module Button */
body .et_pb_posts a.more-link {
    background-color: rgba(0,0,0,0);
    border: none;
    border-radius: 40px;
    color: #eaa903;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 50px 10px 0;
    transition: all 300ms ease 0ms;
}

body .et_pb_posts a.more-link:after {
    content: "\24";
    color: #eaa903;
    font-family: ETmodules!important;
    font-size: 18px;
    font-weight: 400;
    line-height: 1em;
    margin: 3px 0 0 5px;
    position: absolute;
}

body .et_pb_posts a.more-link:hover {
    background: rgba(234,169,3,0.89);
    color: #242424;
    padding: 10px 50px 10px 25px;
}

body .et_pb_posts a.more-link:hover:after {
    color: #242424;
}


body .et_pb_posts.hover_white a.more-link,
body .et_pb_posts.hover_white a.more-link:after {
    color: #ffffff;
}

body .et_pb_posts.hover_white a.more-link:hover {
    color: #000;
    background: #ffffff;
}

body .et_pb_posts.hover_white a.more-link:hover:after {
    color: #000;
}


/* Blog */
body .et_pb_blog_grid .et_pb_post {
    background: transparent;
}

body .et_pb_posts .et_pb_post {
    border: 1px solid #000;
    padding: 25px;
}

body .et_pb_posts .et_pb_post a.more-link {
    margin-top: 15px;
}


/* Blog Category Page*/
body .container:before {
    background-color: transparent !important;
}

body .et_pb_widget_area_right {
    /*border-left: 0 !important;*/
}

body .et_pb_widget_area_left {
    /*border-right: 0 !important;*/
}

body.archive .category-headline {
    margin-bottom: 50px;
}

body.archive .category-headline:after {
    background: #eaa903;
    bottom: 0;
    content: '';
    display: block;
    height: 5px;
    position: relative;
    width: 35px;
}

body.archive #left-area {
    float: none;
    width: 100%;
}

body.archive .et_pb_button {
    display: inline-block;
    margin-top: 25px;
}


/**************** Media Queries */
@media (max-width: 1200px) {

    body #footer-widgets {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    body #footer-widgets .footer-widget {
        margin: 0 0 50px 0 !important;
        text-align: center;
        width: 33% !important;
    }

    body #footer-widgets .footer-widget .widget_nav_menu {
        width: 100%;
    }

    body #footer-widgets .footer-widget .widget_text,
    body #footer-widgets .footer-widget .widget_text .textwidget {
        text-align: center;
        width: 100%;
    }

    body #footer-info {
        text-align: center;
        width: 100%;
    }

}


/* Tablet and DOWN */
@media (max-width: 980px) {

    body #main-header {
        background: #fff;
    }

    body.et_header_style_left #logo {
        margin-left: 10px;
    }

    body #et_mobile_nav_menu {
        margin-right: 10px;
    }

    body #main-header .container {
        width: 100%;
    }

    body #footer-widgets .footer-widget:nth-child(-n+5) {
        margin-bottom: 35px !important;
        width: 50% !important;
    }

    body .bars-involved:after {
        height: 300px;
        top: 40%;
        right: 0;
        width: 70%;
    }

    body .color-photo-grid > .et_pb_row:nth-child(even) {
        display: flex;
        flex-wrap: wrap;
    }

    body .color-photo-grid > .et_pb_row:nth-child(even) .et_pb_column:last-of-type {
        order: 1;
    }

    body .color-photo-grid > .et_pb_row:nth-child(even) .et_pb_column:first-of-type {
        order: 2;
    }

}

/* Mobile Down */
@media (max-width: 767px) {

    body .paoc-popup-modal-cnt {
        padding: 10px;
    }

    body #footer-widgets .footer-widget:nth-child(-n+5) {
        width: 100% !important;
    }

}


/* Mobile Down */
@media screen and (max-width: 480px) {

    body .paoc-popup-modal {
        width: 95%;
    }
}



/* Google Translate */

/*
body .switcher {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    right: 100px;
    text-align: left;
    width: 163px;
    z-index: 100;
}

body .switcher a {
    display: block;
}

body .switcher a img {
    border: 0;
    display: inline-block;
    margin: 0;
    opacity: 0.8;
    padding: 0;
    vertical-align: middle;
}

body .switcher a:hover img {
    opacity: 1;
}

body .switcher .selected {
    position: relative;
    z-index: 9999;
}

body .switcher .selected a {
    color: #fff;
    padding: 8px 5px 6px;
    text-align: right;
    width: 151px;
}

body .switcher .option {
    background-color: #1d8677;
    box-sizing: content-box;
    display: none;
    left: 82px;
    max-height: 198px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    width: 161px;
    z-index: 9998;
}

body .switcher .option a {
    color: #fff;
    padding: 5px 5px;
}

body .switcher .option a:hover {
    background: rgba(29, 134, 119, 0.65);
}

body .switcher .option a.selected {
    background: rgba(29, 134, 119, 0.65);
}

body #selected_lang_name {
    float: none;
}

body .l_name {
    float: none !important;
    margin: 0;
}

body .switcher .option::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background-color: #F5F5F5;
}

body .switcher .option::-webkit-scrollbar {
    width: 5px;
}

body .switcher .option::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, .3);
    background-color: #888;
}
*/