/* Header Simple Design */
header.simple {
    position: sticky;
    line-height: 1.15;
}
@media(max-width: 767px) {
    header.simple {
        line-height: 1.3;
    }
}
.dialog-body > header.simple {
    top: 32px;
}
@media screen and (max-width: 940px) {
    .dialog-body > header.simple {
        top: 46px;
    }
}
header.simple .header_wrapper {
    display: flex;
    flex-direction: column;
}
header.simple .header_wrapper .header_top_wrapper {
    background-color: #FFFFFF;
}
header.simple .header_wrapper .header_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1150px;
    margin: auto;
    transition-property: height;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
header.simple .header_wrapper .header_top .header_top_left {
    display: flex;
    align-items: center;
    padding: 0 10px;
}
header.simple .header_wrapper .header_top .header_top_right .header_phone_number {
    display: flex;
    align-items: center;
    text-align: center;
}
header.simple .header_wrapper .header_top .header_top_right span.call_to_action
{
    font-weight: bold;
    color: #6E767A;
    font-size: 20px;
    word-spacing: -1px;
    font-family: var(--main-sb);
}
header .phone-alt {
    width: 13px;
    height: auto;
}
header .header_phone_number_wrapper_medicare .phone-alt {
    width: 11px;
}
@media(max-width: 767px) {
    header .phone-alt {
        margin-bottom: 1px;
        width: 11.5px;
    }
    header .header_phone_number_wrapper_medicare .phone-alt {
        width: 10.5px;
        margin-bottom: 1.5px;
    }
}
header .header_phone_number .phone_number {
    display: flex;
    align-items: center;
    gap: 10px;
}
header.simple .header_wrapper .header_top .header_top_right span.header_phone_number_wrapper
{
    font-weight: bold;
    color: #F36523;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
header.simple .header_wrapper .header_top .header_top_right a.phone_number {
    font-weight: bold;
    font-size: 20px;
    padding-left: 5px !important;
    font-family: var(--main-sb);
}
header.simple .header_wrapper .header_top .header_top_left .simple_header_logo a.mro-logo-anchor {
    display: flex;
}
header.simple .header_wrapper .header_top .header_top_left .simple_header_logo svg.mro-logo,
header.simple .header_wrapper .header_top .header_top_left .simple_header_logo a.mro-logo-anchor img{
    height: 60px;
    width: 60px;
}
header.simple .header_wrapper .simple_header_tagline {
    color: #6E767A;
    font-size: 14px;
    margin-left: 10px;
    word-spacing: -1px;
    font-family: var(--main-sb);
}
header.simple .header_wrapper .header_bottom_wrapper {
    background-color: #88AB69;
}
.simple_sub_menu_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 99999;
    background: #FFFFFF;
    box-shadow: 0 15px 15px -15px rgba(0, 0, 0, .15);
}
header.simple .header_wrapper .simple_sub_menu,
.simple_sub_menu_wrapper .simple_sub_menu {
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 1100px;
    margin: auto;
    background-color: #FFFFFF;
}
header.simple .header_wrapper .simple_sub_menu.opened,
.simple_sub_menu_wrapper .simple_sub_menu.opened {
    display: flex;
}
header.simple .header_wrapper .simple_sub_menu .simple_sub_menu_category,
.simple_sub_menu_wrapper .simple_sub_menu .simple_sub_menu_category {
    width: 25%;
    display: block;
    margin-top: 70px;
    margin-bottom: 70px;
    padding: 0 15px;
}
header.simple .header_wrapper .simple_sub_menu .simple_sub_menu_category:last-child,
.simple_sub_menu_wrapper .simple_sub_menu .simple_sub_menu_category:last-child {
    border-left: 2px solid #88ab69;
}
.simple_sub_menu_wrapper .simple_sub_menu .simple_sub_menu_category:last-child .post_excerpt {
    display: block !important;
    font-family: var(--main-r);
}
header.simple .header_wrapper .simple_sub_menu .simple_sub_menu_category:not(:last-child),
.simple_sub_menu_wrapper .simple_sub_menu .simple_sub_menu_category:not(:last-child) {
    margin-right: 30px;
}
header.simple .header_wrapper .simple_sub_menu .simple_sub_menu_category:last-child .simple_second_level_sub_menu a,
.simple_sub_menu_wrapper .simple_sub_menu .simple_sub_menu_category:last-child .simple_second_level_sub_menu a {
    font-weight: initial;
    font-family: var(--main-sb);
}
.simple_sub_menu_wrapper .simple_sub_menu .simple_sub_menu_category:last-child .simple_second_level_sub_menu .post_excerpt {
    display: none;
}
header.simple .header_wrapper .simple_sub_menu .simple_sub_menu_category_title,
.simple_sub_menu_wrapper .simple_sub_menu .simple_sub_menu_category_title {
    font-family: var(--main-sb);
    font-size: 20px;
    margin-top: 0;
    font-weight: initial;
    color: #000000;
    margin-bottom: 10px;
    display: block;
}
header.simple .header_wrapper .simple_sub_menu img,
.simple_sub_menu_wrapper .simple_sub_menu img {
    width: 100%;
    height: 120px;
    margin-bottom: 10px;
    image-rendering: -webkit-optimize-contrast;
    object-fit: cover;
}
header.simple .header_wrapper .simple_sub_menu .simple_second_level_sub_menu,
.simple_sub_menu_wrapper .simple_sub_menu .simple_second_level_sub_menu {
    display: flex;
    flex-direction: column;
}
header.simple .header_wrapper .simple_sub_menu .simple_second_level_sub_menu a,
.simple_sub_menu_wrapper .simple_sub_menu .simple_second_level_sub_menu a {
    font-family: var(--main-r);
    width: fit-content;
    color: #88AB69 !important;
    margin-bottom: 10px;
}
header.simple .header_wrapper .simple_sub_menu .simple_second_level_sub_menu a:hover,
.simple_sub_menu_wrapper .simple_sub_menu .simple_second_level_sub_menu a:hover {
    text-decoration: underline !important;
}
header.simple .header_wrapper .simple_sub_menu .simple_second_level_sub_menu .post_excerpt,
.simple_sub_menu_wrapper .simple_sub_menu .simple_second_level_sub_menu .post_excerpt {
    font-size: 14px;
    line-height: 1.25;
}
header.simple .header_wrapper .header_bottom {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 1150px;
    margin: auto;
}
header.simple .header_wrapper .header_bottom .header_menu {
    display: flex;
    align-items: center;
}
header.simple .header_wrapper .header_bottom .header_menu .simple_header_nav {
    display: flex;
    align-items: center;
    height: 100%;
}
header.simple .header_wrapper .header_bottom .header_quote {
    display: flex;
    align-items: center;
    padding: 10px;
}
header.simple .header_wrapper .header_bottom .header_quote .header_search {
    margin-right: 50px;
}
header.simple .header_wrapper .header_bottom .header_quote .header_search form.header_search_form {
    display: flex;
    align-items: center;
    background: #FFF;
    height: 35px;
    padding: 2px 0;
}
header.simple .header_wrapper .header_bottom .header_quote .header_search form.header_search_form input.desktop_search_input  {
    max-width: 150px;
    height: 35px;
    font-size: 14px;
    padding-left: 10px;
    outline: none;
    border: none;
}
header.simple .header_wrapper .header_bottom .header_quote .header_search form.header_search_form button.desktop_search_button  {
    height: 100%;
    width: 100%;
    background-color: #FFF;
    padding: 8px 20px;
    border: none;
    cursor: pointer;
}
header.simple .header_wrapper .header_bottom .header_quote .header_search form.header_search_form .desktop_search_button i.magnifying_glass::before  {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background-image: url("/wp-content/themes/mro/assets/img/icons/magnifying-glass.svg");
    background-repeat: no-repeat;
    background-size: 20px;
    margin-left: -10px;
}
header.simple .header_wrapper .header_bottom .header_quote .header_get_a_quote a.popupForGetAQuote_trigger  {
    display: flex;
    font-size: 20px;
    font-weight: initial;
    color: #FFFFFF;
    background-color: #f36523;
    padding: 10px;
    border-radius: 5px;
    font-family: var(--main-sb);
}
header.simple .header_wrapper .header_bottom .header_menu .simple_header_logo {
    display: none;
}
header.simple .header_wrapper .header_bottom nav > ul {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0 10px;
}
header.simple .header_wrapper .header_bottom nav > ul > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF !important;
    padding: 0 5px 0 10px;
}
header.simple .header_wrapper .header_bottom nav > ul > li a {
    color: #FFFFFF !important;
    font-family: var(--main-sb);
    font-weight: initial;
}
header.simple .header_wrapper .header_bottom nav > ul > li:not(:last-of-type) {
    margin-right: 10px;
}
header.simple .header_wrapper .header_bottom nav > ul > li.opened {
    color: #000000 !important;
    box-shadow: inset 0 8px 0 1px #88AB69;
    background-color: #FFFFFF;
}
header.simple .header_wrapper .header_bottom nav > ul > li.opened, header.simple .header_wrapper .header_bottom nav > ul > li.opened > a {
    color: #000000 !important;
}
header.simple .header_wrapper .header_bottom nav > ul > li > img {
    width: 25px;
    height: 25px;
    margin-top: 5px;
}
header.simple .header_wrapper .header_bottom nav > ul > li.opened > img {
    content: url("/wp-content/themes/mro/assets/img/icons/caret-up.svg");
}
header.simple .header_wrapper .header_bottom nav ul li ul.sub-menu {
    display: none;
}

/*Header slim version*/
header.slim .header_wrapper .header_top {
    height: 0;
}
header.slim .header_wrapper .header_bottom .header_menu .simple_header_logo {
    display: block !important;
    border: 2px solid white;
    margin-left: 10px;
}
header.slim .header_wrapper .header_bottom .header_menu .simple_header_logo a.mro-logo-anchor {
    display: flex;
}
header.slim .header_wrapper .header_bottom .header_menu .simple_header_logo svg.mro-logo {
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
}

/*Header mobile version*/
header.simple .header_wrapper .mobile_header_simple {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px;
}
header.simple .header_wrapper .mobile_header_simple .mobile_simple_header_logo a.mro-logo-anchor,
header.simple .header_wrapper .mobile_header_simple .header_mobile_toggle label.mobile_toggle_label {
    display: flex;
}
header.simple .header_wrapper .mobile_header_simple .mobile_simple_header_logo svg.mro-logo,
header.simple .header_wrapper .mobile_header_simple .mobile_simple_header_logo a.mro-logo-anchor img{
    width: 40px;
    height: 40px;
    min-width: 40px;
}
header.simple .header_wrapper .mobile_header_simple .mobile_header_simple_phone {
    text-align: center;
    margin: 0 15px;
}
header.simple .header_wrapper .mobile_header_simple .mobile_header_simple_phone span.call_to_action {
    font-weight: bold;
    color: #6E767A;
    font-size: 16px;
    text-align: center;
    font-family: var(--main-sb);
}
header.simple .header_wrapper .mobile_header_simple .mobile_header_simple_phone span.header_phone_number_wrapper {
    font-weight: bold;
    color: #F36523;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}
header.simple .header_wrapper .mobile_header_simple .mobile_header_simple_phone a.phone_number {
    font-weight: bold;
    font-size: 16px;
    padding-left: 5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: var(--main-sb);
}
header.simple .header_wrapper .mobile_header_simple .header_mobile_toggle svg.menu {
    width: 30px;
    height: 30px;
    fill: #88AB69;
}
.mobile_nav .header_get_a_quote a.popupForGetAQuote_trigger  {
    font-family: var(--main-r);
}
@media (max-width: 1024px) {
    header.simple .header_wrapper .mobile_header_simple {
        display: flex;
    }
    header.simple .header_wrapper .header_top,
    header.simple .header_wrapper .header_bottom,
    header.simple .header_wrapper .simple_sub_menu,
    .simple_sub_menu_wrapper {
        display: none !important;
    }
    .mobile_nav nav.mobile_menu ul li.menu-item-has-children a {
        position: relative;
        font-family: var(--main-r);
    }
    .mobile_nav nav.mobile_menu ul li.menu-item-has-children > a::after {
        content: "";
        position: absolute;
        width: 25px;
        height: 25px;
        background-image: url("/wp-content/themes/mro/assets/img/icons/arrow-down.svg");
        background-repeat: no-repeat;
        background-size: 25px;
        margin-right: 20px;
        right: 0;
    }
    .mobile_nav nav.mobile_menu ul li.menu-item-has-children.sub-menu-open > a::after {
        transform: rotate(-180deg);
    }
    .mobile_nav .header_get_a_quote {
        margin-right: 50px;
        padding: 10px;
        color: white;
        text-align: center;
        background-color: #f36523;
    }
    .mobile_nav .header_get_a_quote a.popupForGetAQuote_trigger  {
        display: block;
        color: #FFFFFF;
    }
    /*main.main {*/
    /*    margin-top: 50px;*/
    /*}*/
}
@media (max-width: 420px) {
    header.simple .header_wrapper .mobile_header_simple .mobile_header_simple_phone {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
/* Header Simple Design End*/
#mobile_toggle {
    display: none;
}
.mobile_nav {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 50px;
    left: -100%;
    height: 100%;
    width: 320px;
    overflow-y: scroll;
    transition-property: left;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.mobile_nav .menu-item-has-children.sub-menu-open > .sub-menu {
    max-height: 100%;
    padding-left: 30px;
}
.mobile_nav ul {
    background-color: #e6e5e5;
    margin: 0;
    margin-right: 50px;
}
/*.mobile_nav ul li {*/
/*    border-bottom: 2px solid #CDCAC9; }*/
.mobile_nav ul li a:link {
    color: #57666E;
}
.mobile_nav ul li a:visited {
    color: #57666E;
}
.mobile_nav ul li a:hover {
    color: #4F728F;
}
.mobile_nav ul li a:active {
    color: #4F728F;
}
.mobile_nav ul li a:focus {
    color: #4F728F;
}
.mobile_nav ul li a {
    display: block;
    height: 100%;
    line-height: 1.5;
    background-color: #F3F2F1;
    padding: 15px 20px;
    color: #000000 !important;
}
.mobile_nav nav.mobile_menu ul li a {
    border-top: 2px solid #CDCAC9;
}
.mobile_nav ul li.text.tagline {
    font-size: 1.111em;
    color: #4F728F;
    text-transform: uppercase;
}
.mobile_nav ul.sub-menu {
    margin-right: 0px;
    max-height: 0px;
    overflow: hidden;
}
.mobile_nav ul.sub-menu li {
    margin-bottom: 0px;
}
.mobile_nav ul.sub-menu li a {
    background: #e6e5e5;
    color: black !important;
    text-decoration: none !important;
}
@media (min-width: 1025px) {
    .mobile_nav {
        display: none;
    }
}

/* When the mobile toggle checkbox is checked, show the mobile menu */
#mobile_toggle:checked + .mobile_nav {
    left: 0;
    width: 100%;
}
.mob_closew {
    position: relative;
    margin-right: 50px;
    height: 50px;
    padding: 0;
    background-color: #dce3e9;
    border-bottom: 2px solid #cdcac9;
}
.mob_closew label.close_mobile_menu {
    display: block;
    height: 40px;
    width: 40px;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: transparent;
    background-image: url("../img/icons/mro_sprites.svg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: 0 -320px;
    background-size: 40px 800px;
    filter: brightness(0) saturate(100%) invert(69%) sepia(3%) saturate(5722%) hue-rotate(48deg) brightness(94%) contrast(84%);
}

.search-mob {
    padding: 10px;
    background-color: #DCE3E9;
    margin-right: 50px;
}
.search-mob input[type=text] {
    width: 100%;
    border: 1px solid #57666E;
    padding: 0;
    padding-left: 28px;
    height: 28px;
    line-height: 28px;
    background-color: #FFFFFF;
    background-image: url('../img/icons/mro_sprites.svg');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: 0 -280px;
    background-size: 28px 560px;
}
.mobile_tagline {
    border-top: 2px solid #CDCAC9;
    border-bottom: 2px solid #CDCAC9;
    padding: 10px;
    background-color: #DCE3E9;
    font-size: 1em;
    font-weight: bold;
    color: #4F728F;
    text-transform: uppercase;
    margin-right: 50px;
    font-family: var(--main-sb);
}

