/**handles:divi-style**/
/*
Theme Name: Divi Child Theme
Version: 1.0
Description: Custom styles for Divi parent theme.
Author: MINDFLINT
Author URI: https://mindflint.com
Template: Divi
*/

/* COLORS */
:root {
        --color-1: #002060;
        --color-2: #3DAE2B;
        --color-3: #00ACD8;
        --light-bg: rgba(0,32,96,0.1);
        --white: #ffffff;
        --dark-gray: #333333;
        --cool-gray: #898A8D;
        --black:#000000;
        }
        
        /* HEADER */
        #main-header {background: linear-gradient(var(--color-1),transparent);}
        .et_mobile_menu li a:hover, .nav ul li a:hover {
            background-color:var(--color-1);
            color:var(--white) !important;
            opacity:1;
        }
        span.mobile_menu_bar:before{color:var(--color-3);}
       #main-header .et_mobile_menu {background:var(--white) !important;}
        .et-fixed-header .sub-menu a:hover {color:var(--white) !important;}
        #top-menu li li a {padding-left:10px;}
        .nav li li {line-height:1.5em;}
    
        .bb-search-icon::after {
            content: '\55';
            font-family: ETModules;
            font-size: 20px;
            color: #000;
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%) scaleX(-1);
            pointer-events: none;
            z-index: 9;
        }
        
        .bb-search-icon .et_pb_searchsubmit {
            z-index: 10;
        }
    
        /* BEGIN COLLAPSE MOBILE MENU */
        /*change hamburger icon to x when mobile menu is open*/
        #et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
        .et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
            content: '\4d';
        }
    
        /*adjust the new toggle element which is added via jQuery*/
        ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
        ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
        .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
        .et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
            width: 44px;
            height: 100%;
            padding: 0px !important;
            max-height: 44px;
            border: none;
            position: absolute;
            right: 0px;
            top: 0px;
            z-index: 999;
            background-color: transparent;
        }
    
        /*some code to keep everyting positioned properly*/
        ul.et_mobile_menu>li.menu-item-has-children,
        ul.et_mobile_menu>li.page_item_has_children,
        ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
        .et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
        .et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
        .et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
            position: relative;
        }
    
        /*remove default background color from menu items that have children*/
        .et_mobile_menu .menu-item-has-children>a,
        .et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
            background-color: transparent;
        }
    
        /*hide the submenu by default*/
        ul.et_mobile_menu .menu-item-has-children .sub-menu,
        #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
        .et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
        .et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
            display: none !important;
            visibility: hidden !important;
        }
    
        /*show the submenu when toggled open*/
        ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
        #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
        .et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
        .et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
            display: block !important;
            visibility: visible !important;
        }
    
        /*adjust the toggle icon position and transparency*/
        ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
        .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
            text-align: center;
            opacity: 1;
        }
    
        /*submenu toggle icon when closed*/
        ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
        .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
            top: 10px;
            position: relative;
            font-family: "ETModules";
            content: '\33';
            color: #00d263;
            background: #f0f3f6;
            border-radius: 50%;
            padding: 3px;
        }
    
        /*submenu toggle icon when open*/
        ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
        .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
            content: '\32';
        }
    
        /*add point on top of the menu submenu dropdown*/
        .et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
            position: absolute;
            right: 5%;
            margin-left: -20px;
            top: -14px;
            width: 0;
            height: 0;
            content: '';
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-bottom: 20px solid #ffffff;
        }
    
        /*adjust the position of the hamburger menu*/
        .mobile_menu_bar {
            position: relative;
            display: block;
            bottom: 10px;
            line-height: 0;
        }
    
        /*force the background color and add a rounded border*/
        .et_pb_menu_0.et_pb_menu .et_mobile_menu,
        .et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
            background-color: #ffffff!important;
            border-radius: 10px;
        }
        /* END COLLAPSE MOBILE MENU */
        
        /* SECONDARY HEADER BUTTON */
        #top-header .container {padding-top:0;}
        #et-secondary-menu>ul>li a {padding-top:0.75em; font-weight:600;}
        .signin-btn a {
            background:var(--color-1);
            padding: 5px 10px;
            color:var(--white) !important;
        }
        
        /* NAV HIGHLIGHT BUTTON */
            
            .nav-highlightbutton a {
                color:var(--white) !important;
                line-height: 9px;
                font-weight: 600;
                padding: 13px 16px !important;
                text-transform: uppercase;
                border-radius: 0px;
                -webkit-border-radius: 0px;
                -moz-border-radius: 0px;
                display: block;
                transition: all .5s ease;
                -webkit-transition: all .5s ease;
                -moz-transition: all .5s ease;
                background-color: var(--color-1);
            }
        
            .nav-highlightbutton a {color:var(--white) !important;}
        
            .nav-highlightbutton a:hover {
                opacity: 1 !important;
                background-color: var(--color-2);
            }
        
            .et-fixed-header #top-menu .nav-highlightbutton a:hover {
                background-color: var(--color-2);
                color:var(--white) !important;
            }
        
            .et-fixed-header #top-menu .nav-highlightbutton a {
                color:var(--white) !important;
                background-color: var(--color-2);
            }
        
        /* TEXT */
        .entry-content .et_pb_text h3 {font-size: 24px; color: var(--dark-gray); line-height: 1.3em; padding:20px 0;}
        .et_pb_post_content a.img {border:none !important;}
        .entry-content .et_pb_text a:hover, .et_pb_post_content a:hover, .et_pb_blurb a:hover {color:var(--black); border-bottom:none;}
        sup {font-size:0.6em;}
        .entry-content ul li {margin-bottom:8px;}
        .section-headline {font-size:16px; color:var(--color-3); letter-spacing:2px; font-weight:bold; padding-bottom:10px !important; text-transform:uppercase;}
        .market-header .et_pb_blurb_container {padding-left: 5px;}
        
        /* SIDEBAR  */
        .et_pb_widget {margin-bottom:40px !important;}
        .sidebar-team .title {font-style:italic; font-size:12px; padding-bottom:5px;}
        .widgettitle {
            background:var(--light-bg);
            padding: 15px 20px 15px 20px !important;
            font-weight: bold !important;
            text-transform:uppercase;
            letter-spacing:1px;
            line-height:1em;
            font-size: 14px !important;
        }
        .et_pb_widget_area .menu {
            border-top: 1px solid rgba(0,0,0,0.1);
        }
        .et_pb_widget_area .menu .menu-item, .et_pb_widget .cat-item {
            background-color: transparent;
            margin-bottom:0;
        }
        .et_pb_widget_area .menu .menu-item a, .et_pb_widget .cat-item a {
            color: var(--color-1);
            font-size:14px;
        }
        .et_pb_widget_area .menu .menu-item:hover, .et_pb_widget .cat-item:hover {
            background-color: var(--color-1);
        }
        .et_pb_widget_area .menu .menu-item:hover a, .et_pb_widget .cat-item:hover a {
            color:var(--white);
        }
        .et_pb_widget_area .menu .current-menu-item {
            background-color: var(--color-1);
        }
        .et_pb_widget_area .menu .current-menu-item a {
            color:var(--white) !important;
        }
        .widget_recent_entries {line-height: 1.3em;}
        .widget_recent_entries ul {padding:10px !important;}
        .widget_recent_entries ul li {padding-bottom: 0.9em; margin-bottom: 0.9em; border-bottom: 1px solid rgba(0,0,0,0.1); font-size:14px;}
        
        @media all and (max-width: 980px) {
        .et_pb_column .et_pb_widget.widget_nav_menu {
            width: 100% !important;
        }}
        
        .et_pb_widget_area .menu .menu-item, .et_pb_widget .cat-item {
            padding: 10px 20px 10px 20px;
            border-bottom: 1px solid rgba(0,0,0,0.1);
            -webkit-transition: all .3s ease-out;
                -moz-transition: all 0.3s ease-out;
                -ms-transition: all 0.3s ease-out;
                -o-transition: all 0.3s ease-out;
                transition: all 0.3s ease-out;
        }
        
        .et_pb_widget_area .menu .menu-item a {
            -webkit-transition: all .3s ease-out;
                -moz-transition: all 0.3s ease-out;
                -ms-transition: all 0.3s ease-out;
                -o-transition: all 0.3s ease-out;
                transition: all 0.3s ease-out;
        }
        
        /* BLOG */
        .single-post .breadcrumb-bar {dispay:none;}
        .single-post h2, .single-post h3, .single-post h4 {padding:20px 0;}
        @media only screen and (min-width: 1080px) {
            .dt-blog-featured .et_pb_post.has-post-thumbnail .entry-featured-image-url {
                float: left;
                width: 40%;
                margin-right: 4%;
            }
            .dt-blog-featured .et_pb_post.has-post-thumbnail:not(.format-gallery) > .post-content {
                padding-left: 34%;
            }
            .dt-blog-featured .et_pb_post {margin-bottom:0;}
        }
        @media only screen and (min-width: 1080px) {
            .dt-blog .et_pb_post.has-post-thumbnail .entry-featured-image-url {
                float: left;
                width: 30%;
                margin-right: 4%;
            }
            .dt-blog .et_pb_post.has-post-thumbnail:not(.format-gallery) > .post-content {
                padding-left: 34%;
            }
        }
        .et_pb_post_content .et_pb_row {width:100%;}
        .et_pb_post_content .et_pb_section, .et_pb_post_content .et_pb_row {padding-top: 0;}
        
        /*set the width of the rows inside the Post Content module*/
        .et-db #et-boc .et-l .et-l--post .et_builder_inner_content .et_pb_row {
                width: 100%;
            }
        
        /* make entire blog post module clickable*/
        .et_pb_blog_grid .et_pb_post, .et_pb_posts .et_pb_post {
            position: relative;
            }
            /*make the title link spread over the entire post*/
            .et_pb_blog_grid .et_pb_post .entry-title a:after, .et_pb_posts .et_pb_post .entry-title a:after {
            position: absolute;
            display: block;
            content: "";
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            }
            /*change the mouse cursor into a pointer*/
            .et_pb_blog_grid .et_pb_post:hover, .et_pb_posts .et_pb_post:hover {
            cursor: pointer;
            }
        /* Hide featured image on specific posts */
            .postid-16963 .et_pb_title_featured_container {display:none;}
            .postid-17421 .et_pb_title_featured_container {display:none;}
            .postid-17800 .et_pb_title_featured_container {display:none;}
            .postid-18939 .et_pb_title_featured_container {display:none;}
            
        /* FOOTER */
        #main-footer {display:none;}
    
        /* DIVI MODULES */
    
            /* BUTTONS */
            .pa-inline-buttons .et_pb_button_module_wrapper { display: inline-block; }
        
            /* BLOG GRID */
            .et_pb_blog_grid article:hover {cursor:pointer;}
            .et_pb_blog_grid .et_pb_image_container img {border: 1px solid var(--light-bg) !important;}
            .et_pb_blog_grid a.more-link {clear:none; margin-top:15px; padding:6px 12px; background:var(--color-1); color:var(--white); display:inline-block; border-radius: 25px; font-size:13px;}
            .et_pb_blog_grid a.more-link:hover {background:var(--color-3); color:var(--white); border-radius: 25px; }
            
            /* ACCORDION */
            .et_pb_accordion .et_pb_toggle_open {padding-left:0; padding-right:0;}
            .et_pb_accordion .et_pb_toggle_close {padding-left:0; padding-right:0; background-color:inherit;}
            .et_pb_accordion .et_pb_toggle_content ul {margin-left:4px;}
    
    
    /* MISCELLANEOUS */
    .dollar .percent-value:before { content:'$';}
    .pac_dih__image_details .pac_dih__caption {margin-top:10px 0 !important;}
    
    /* BEGIN Control Column Stacking Order */
    @media all and (max-width: 980px) {
        /*** wrap row in a flex box ***/
        .custom_row {
          display: -webkit-box;
          display: -moz-box;
          display: -ms-flexbox;
          display: -webkit-flex;
          display: flex;
        -webkit-flex-wrap: wrap; /* Safari 6.1+ */
        flex-wrap: wrap;
        }
         
        /*** custom classes that will designate the order of columns in the flex box row ***/
        .first-on-mobile {
        -webkit-order: 1;
        order: 1;
        }
         
        .second-on-mobile {
        -webkit-order: 2;
        order: 2;
        }
         
        .third-on-mobile {
        -webkit-order: 3;
        order: 3;
        }
         
        .fourth-on-mobile {
        -webkit-order: 4;
        order: 4;
        }
        /*** add margin to last column ***/
        .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
        }
         
        }
        /* END Control Column Stacking Order */
    
        .smartcrawl-breadcrumb a {border-bottom:none !important;}
        .smartcrawl-breadcrumb strong {font-weight: 600 !important;}
    
    
    /*** Change Mobile Columns By DiviMundo.com ***/
    
    /* 2 Columns Mobile */
    @media all and (max-width: 767px) {
        html .two-col-mob .et_pb_column {
            width:47.25% !important;
        }
        
    html .two-col-mob .et_pb_column:nth-last-child(-n+2) {
            margin-bottom:0;
        }
    
        html .two-col-mob .et_pb_column:not(:nth-child(2n)) {
                margin-right:5.5% !important;
        }
    }
    
    /* 3 Columns Mobile */
    @media all and (max-width: 767px) {
        html .three-col-mob .et_pb_column {
            width:29.6667% !important;
        }
    
        html .three-col-mob .et_pb_column:nth-last-child(-n+3) {
            margin-bottom:0;
        }
    
        html .three-col-mob .et_pb_column:not(:nth-child(3n)) {
            margin-right:5.5% !important;
        }
    }
    
    /* 4 Columns Mobile */
    @media all and (max-width: 767px) {
        html .four-col-mob .et_pb_column {
            width:20.875% !important;
        }
    
    html .four-col-mob .et_pb_column:nth-last-child(-n+4) {
            margin-bottom:0;
        }
    
        html .four-col-mob .et_pb_column:not(:nth-child(4n)) {
            margin-right:5.5% !important;
        }
    }
    
    /* 5 Columns Mobile */
    @media all and (max-width: 767px) {
        html .five-col-mob .et_pb_column {
            width:15.6% !important;
        }
    
        html .five-col-mob .et_pb_column:nth-last-child(-n+5) {
            margin-bottom:0;
        }
    
        html .five-col-mob .et_pb_column:not(:nth-child(5n)) {
            margin-right:5.5% !important;
        }
    }
    
    /* 6 Columns Mobile */
    @media all and (max-width: 767px) {
        html .six-col-mob .et_pb_column {
            width:12.083% !important;
        }
    
        html .six-col-mob .et_pb_column:nth-last-child(-n+6) {
            margin-bottom:0;
        }
    
        html .six-col-mob .et_pb_column:not(:nth-child(6n)) {
            margin-right:5.5% !important;
        }
    }
    
    /*** Change Tablet Columns By DiviMundo.com ***/
    
    /* 1 Column Tablet */
    @media all and (min-width: 768px) and (max-width: 980px) {
        html .one-col-tab .et_pb_column {
            margin-right:0 !important;
            width:100% !important;
        }
        
            html .one-col-tab .et_pb_column:not(:last-child) {
            margin-bottom:30px !important;
        }
    }
    
    /* 2 Columns Tablet */
    @media all and (min-width: 768px) and (max-width: 980px) {
        html .two-col-tab .et_pb_column {
            width:47.25% !important;
        }
    
    .two-col-tab .et_pb_column:nth-last-child(-n+2) {
            margin-bottom:0;
        }
    
        html .two-col-tab .et_pb_column:not(:nth-child(2n)) {
            margin-right:5.5% !important;
        }
    }
    
    /* 3 Columns Tablet */
    @media all and (min-width: 768px) and (max-width: 980px) {
        html .three-col-tab .et_pb_column {
            width:29.6667% !important;
        }
    
    html .three-col-tab .et_pb_column:nth-last-child(-n+3) {
            margin-bottom:0;
        }
    
        html .three-col-tab .et_pb_column:not(:nth-child(3n)) {
            margin-right:5.5% !important;
        }
    }
    
    /* 4 Columns Tablet */
    @media all and (min-width: 768px) and (max-width: 980px) {
        html .four-col-tab .et_pb_column {
            width:20.875% !important;
        }
    
    html .four-col-tab .et_pb_column:nth-last-child(-n+4) {
            margin-bottom:0;
        }
    
        html .four-col-tab .et_pb_column:not(:nth-child(4n)) {
            margin-right:5.5% !important;
        }
    }
    
    /* 5 Columns Tablet */
    @media all and (min-width: 768px) and (max-width: 980px) {
        html .five-col-tab .et_pb_column {
            width:15.6% !important;
        }
    
    .five-col-mob .et_pb_column:nth-last-child(-n+5) {
            margin-bottom:0;
        }
        
        html .five-col-tab .et_pb_column:not(:nth-child(5n)) {
            margin-right:5.5% !important;
        }
    }
    
    /* 6 Columns Tablet */
    @media all and (min-width: 768px) and (max-width: 980px) {
        html .six-col-tab .et_pb_column {
            width:12.083% !important;
        }
    
        html .six-col-tab .et_pb_column:nth-last-child(-n+6) {
            margin-bottom:0;
        }
    
        html .six-col-tab .et_pb_column:not(:nth-child(6n)) {
            margin-right:5.5% !important;
        }
    }