/*
Theme Name: Patroit Insurance v2
Theme URI: https://diviextended.com/
Version: 1.0
Description: Child Theme of Divi
Author: Divi Extended
Template: Divi
*/
@import url("../Divi/style.css");

@media (min-width: 980px) {
    header {
        position: sticky;
        top: 0;
        z-index: 999;
        -webkit-box-shadow: 0px 15px 7px -15px rgba(0, 0, 0, .1) !important;
    }
}

body #page-container {
    overflow-y: clip !important;
}

/* .page.home .et_pb_image .logo-white {
    display: none;
}

@media (min-width: 980px) {
    .page.home .global-menu-section {
        background-color: transparent;
    }

    .page.home .global-menu-section:hover,
    .page.home .global-menu-section:focus-within  {
        background-color: #fff;
    }

    .page.home #et-main-area {
        margin-top: -129px;
    }

    .page.home #mega-menu-wrap-primary-menu {
        background-color: transparent;
    }

    .page.home #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
        color: #fff;
    }

    .page.home .global-menu-section:hover #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:not(.mega-toggle-on) > a.mega-menu-link:not(:hover),
    .page.home .global-menu-section:focus-within #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:not(.mega-toggle-on) > a.mega-menu-link:not(:hover) {
        color: #444;
    }

    .page.home .et_pb_image .logo-white {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
    }

    .page.home .et_pb_image_0_tb_header .et_pb_image_wrap > img:first-of-type {
        opacity: 0;
    }

    .page.home .global-menu-section:hover .et_pb_image_0_tb_header .et_pb_image_wrap > img:first-of-type,
    .page.home .global-menu-section:focus-within .et_pb_image_0_tb_header .et_pb_image_wrap > img:first-of-type  {
        opacity: 1;
    }

    .page.home .global-menu-section:hover .et_pb_image_0_tb_header .et_pb_image_wrap > img:last-of-type,
    .page.home .global-menu-section:focus-within .et_pb_image_0_tb_header .et_pb_image_wrap > img:last-of-type  {
        opacity: 0;
    }
} */

.menu-heading-dark-blue > a {
    color: #0f487b !important; 
}

.menu-heading-orange > a {
    color: #d58118 !important;
}

.menu-heading-red > a {
    color: #c56738 !important;
}

.menu-heading-green > a {
    color: #879d58 !important;
}

.menu-button {
    border-radius: 2px;
    display: block;
    font-size: 19px;
    padding: 8px 0.7em;
    margin-bottom: 16px;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
    font-weight: 600;
    line-height: 1.3em;
    max-width: 240px;
}


.menu-button:before {
    font-family: 'ETMODULES';
    content: "\e046";
    margin-right: 10px;
    font-weight: normal;
}

.menu-button-yellow {
    background-color: #eed083;
    color: #0f487b;
}

.menu-button-teal {
    background-color: #85c6c8;
    color: #12477a;
}

.et-social-amazon a.icon:before {
    content: url('images/glassdoor-icon.svg');
    max-width: 17px;
    padding-top: 3px;
    padding-left: 7px;
}

#content-jump-link a {
	background: #000;
	border: 4px solid #000;
	color: #fff !important;
	text-decoration: underline;
	padding: 1em 2em;
	position: fixed;
	left: 1em;
	top: 1em;
	transform: translate(-1000px, 0);
	z-index: 9999;
}

#content-jump-link a:focus {
	background: #fff;
	color: #000 !important;
	transform: none;
}

.find-an-agent .et_pb_code_inner {
	display: flex;
}

.find-an-agent .find_agent_header {
	padding-right: 15px;
}

.find-an-agent .find_agent_header a {
	color: #0f487b !important;
	font-size: 18px;
	white-space: nowrap;
    font-weight: 600;
}

.form_find_agent form {
	display: flex;
}

.form_find_agent input[type="text"] {
	border: none;
	border-radius: 2px 0 0 2px;
	flex: 1;
	padding-left: 10px;
    width: 70px;
}

.form_find_agent input[type="submit"] {
	background-color: #003151;
	border: none;
	border-radius: 0 2px 2px 0;
	color: #fff;
}

.hide-accessible {
    clip: rect(0 0 0 0) !important;
    position: absolute !important;
    -webkit-transform: scale(0);
    -webkit-transform-origin-x: 0;
    -webkit-transform-origin-y: 0;
    *position: fixed !important;
    _position: absolute !important
}

@media (max-width: 980px) {
    #mega-menu-wrap-primary-menu .mega-menu-toggle + #mega-menu-primary-menu {
        border-top: 4px solid #0f487b;
        margin-top: 46px;
    }

    body #page-container #et-boc .et_pb_column_5_tb_header {
        margin-top: 26px !important;
    }
}

#top-bar-nav .nav {
    margin-right: 15px
}

#top-bar-nav .nav>li {
    border-right: 1px solid #fff;
    margin: 15px 0;
    padding-top: 5px;
    padding-bottom: 5px
}

#top-bar-nav .et-menu .sub-menu li li a {
    padding: 0px 20px
}

#top-bar-nav .sub-menu li ul {
    background-color: transparent!important;
    box-shadow: none;
    border: none;
    position: relative!important;
    opacity: 1;
    top: 0;
    left: 0;
    padding: 0
}

#top-bar-nav li.et-hover .sub-menu li ul {
    visibility: visible
}

#top-bar-nav .sub-menu ul li {
    padding: 0
}

#top-bar-nav .sub-menu ul li a {
    font-size: 12px!important;
    padding-bottom: 0
}

#top-bar-nav .et-menu a, #top-bar-nav .et-menu a:hover {
    transition: none;
}

.et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li > a {
    padding-bottom: 0px;
}

body .nav li ul {
    border-color: #0f487b;
}

.et_pb_menu__search-container .et_pb_menu__search {
    background-color: #ffffff;
    padding-left: 10px;
    -webkit-box-shadow: 0 0 7px rgba(0,0,0,.1)!important;
}

.et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__close-search-button {
    color: #333 !important;
}

footer .et-menu a, footer .et-menu a:hover {
    transition: none;
}

#menu-footer-menu li {
    border-right: 1px solid #92B6DB;
    margin-bottom: 8px;
}

#menu-footer-menu li:last-child {
    border-right: 0px solid #92B6DB;
}

@media (max-width: 980px) {
    .lwp-hide-mobile-menu.et_pb_menu .et_pb_menu__menu,.lwp-hide-mobile-menu.et_pb_fullwidth_menu .et_pb_menu__menu {
        display: flex!important;
    }
 
    .lwp-hide-mobile-menu .et_mobile_nav_menu {
        display: none;
    }
    .lwp-hide-mobile-menu.et_pb_menu--style-left_aligned.et_pb_text_align_right .et_pb_menu__menu>nav>ul {
        justify-content: center;
    }
} 

#sidebar h3.widgettitle, #mc_embed_signup_scroll .widgettitle {
    font-size: 18px;
    font-weight: 500;
}

#sidebar .et_pb_widget.widget_recent_entries ul li {
    margin-bottom: 12px;
}
#left-area .post-meta a {
    text-decoration: none;
    background-color: #ffffff;
}
#left-area .post-meta a:hover, #left-area .post-meta a:focus {
    text-decoration: underline;
}