/* Top Bar
================================================== */
#top-bar {
    background-color: transparent;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}


.top-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-social li {
    display: inline-block;
    font-size: 14px;
    border-right: 1px solid #4c5372;
    margin-right: 10px;
    padding-right: 10px;
    line-height: 10px;
}

.top-social a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s;
}

.top-social a i {
    margin-right: 5px;
}

.top-social a:hover {
    color: #821F40;
}

ul.top-social li:last-child {
    border-right: 0;
}

.top-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-menu li {
    display: inline-block;
    margin-left: 20px;
}

.top-menu a {
    text-decoration: none;
    color: #343a40;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
}

.top-menu a:hover {
    color: #821F40;
}

.tp-header-setting {
    position: relative;
}

.tp-header-setting img {
    border-radius: 50%;
    vertical-align: middle;
}

.tp-header-setting ul {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.tp-header-setting:hover ul {
    display: block;
}

.tp-header-setting ul li {
    padding: 10px 15px;
}

.tp-header-setting ul li a {
    color: #343a40;
}

.tp-header-setting ul li a:hover {
    background-color: #821F40;
    color: #fff;
}

@media (max-width: 768px) {
    .top-social li {
        margin-right: 10px;
    }

    .top-menu li {
        margin-left: 10px;
    }
}

/* Header area Insurex
================================================== */

/* Logo area */



.logo-area {
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
    padding: 10px 0;
    align-items: center;
}

/* Insurex One */

.site-navigation.navdown {
    background: #000000;
}


.site-navigation .nav-search {
    top: 0;
    z-index: 2;
    width: 70px;
    height: 70px;
    line-height: 70px;
    right: 15px;
    background: rgb(255 255 255 / 20%);
}

.site-navigation .search-block .search-close {
    top: -70px;
    z-index: 2;
    width: 70px;
    height: 70px;
    line-height: 55px;
    right: 0;
    background: #1f1f1f;
}

/* Insurex Two */

.header.navdown-boxed {
    height: 150px;
}

.header.navdown-boxed .site-navigation.navdown {
    background: none;
}

.header.navdown-boxed .site-navigation.navdown .row {
    position: relative;
    background: #000000;
    bottom: 0;
    z-index: 1;
    margin: 0;
    width: 100%;
}

.header.navdown-boxed .nav-search {
    right: 15px;
}

.nav-search.hide span {
    opacity: 0;
}

/* Insurex Three */

.header.navdown-boxed-transparent {
    color: #fff;
    background: none;
    box-shadow: none;
    position: absolute;
    width: 100%;
    left: 0;
    top: 40px;
    z-index: 2;
    height: auto;
    -webkit-transition: 350ms;
    -o-transition: 350ms;
    transition: 350ms;
}

.header.navdown-boxed-transparent .site-navigation.navdown {
    background: none;
}

.header.navdown-boxed-transparent .site-navigation.navdown .row {
    position: relative;
    background: #000000;
    bottom: 0;
    z-index: 1;
    margin: 0;
    width: 100%;
}

.header.navdown-boxed-transparent p,
.header.navdown-boxed-transparent i {
    color: #fff !important;
}

/* Insurex Four */

.header.header-solid {
    background: #2d3559;
    color: #fff;
}

.header.header-solid .top-info li .info-wrapper p {
    color: #fff;
}

.site-navigation.navdown.nav-transparent {
    background: transparent;
    position: absolute;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    left: 0;
    right: 0;
    z-index: 1;
}

.site-navigation.navdown.nav-transparent ul.navbar-nav>li:hover>a:before,
.site-navigation.navdown.nav-transparent ul.navbar-nav>li.active>a:before {
    border-color: #000000;
}

/* Insurex Five */

.header-standard {
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.header-standard ul.navbar-nav>li>a {
    color: #252a37;
    line-height: 80px;
}

.header-standard .logo {
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-standard ul.navbar-nav>li:hover>a:before,
.header-standard ul.navbar-nav>li.active>a:before {
    border-color: #000000;
}

.header-standard ul.navbar-nav>li.active>a,
.header-standard ul.navbar-nav>li:hover>a {
    color: #000000;
}

.header-standard .container {
    position: relative;
}

.header-standard .site-nav-inner {
    padding-right: 50px;
}

.header-standard .nav-search {
    top: 22px;
    right: 25px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: #000000;
    border-radius: 100%;
}

.header-standard .search-block .search-close {
    color: #fff;
    top: -68px;
    right: 10px;
    background: #000000;
    opacity: 1;
    width: 45px;
    height: 45px;
    line-height: 30px;
    border-radius: 100%;
}

/* Insurex Six */

.header-standard.header-transparent {
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    top: 50px;
}

.header-standard.header-transparent ul.navbar-nav>li>a {
    color: #fff;
}

/* Insurex Seven */

.header-standard.header-boxed {
    background: none;
    position: absolute;
    box-shadow: none;
    top: 60px;
    left: 0;
    right: 0;
}

.header-standard.header-boxed .row {
    background: #fff;
    z-index: 1;
    margin: 0;
    padding: 0 20px;
}

.header-standard.header-boxed .nav-search {
    right: 40px;
    background: #2d3559;
}

.header-standard.header-boxed .search-block .search-close {
    right: 25px;
    background: #2d3559;
    top: -68px;
}

/* Insurex Eight */

.header-standard.header-boxed.highlight .row {
    background: #000000;
}

.header-standard.header-boxed.highlight ul.navbar-nav>li>a {
    color: #fff;
}

/*-- Header transparent --*/

.header-trans-leftbox,
.header-transparent {
    background: none;
    box-shadow: none;
    position: absolute;
    width: 100%;
    left: 0;
    top: 20px;
    z-index: 2;
    height: auto;
    -webkit-transition: 350ms;
    -o-transition: 350ms;
    transition: 350ms;
}

.header-trans-leftbox .header-wrapper {
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 0 30px;
    position: relative;
    bottom: -40px;
    z-index: 99;
}

.header-trans-leftbox .header-wrapper:before {
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, 0.35);
    display: block;
    width: 300%;
    height: 100%;
    right: -300%;
    top: 0;
}

/* Header-box-left */

.header.header-box-left {
    height: 60px;
    box-shadow: none;
    position: absolute;
    width: 100%;
}

.header-box-left .header-wrapper {
    bottom: -15px;
}

.header-wrapper {
    background: #0f2765;
    color: #fff;
    padding: 0 30px;
    position: relative;
    bottom: -40px;
    z-index: 99;
}

.header-wrapper:before {
    content: "";
    position: absolute;
    background: #0f2765;
    display: block;
    width: 300%;
    height: 100%;
    right: -300%;
    top: 0;
}

/* Header Default */

.header {
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header .navbar-fixed {
    z-index: 99999;
    position: fixed;
    opacity: .98;
    width: 100%;
    top: 0;
    -webkit-animation: fadeInDown 800ms;
    -moz-animation: fadeInDown 800ms;
    -ms-animation: fadeInDown 800ms;
    -o-animation: fadeInDown 800ms;
    animation: fadeInDown 800ms;
    backface-visibility: hidden;
}

/*-- Logo --*/

.header .logo {
    height: 80px;
    display: table;
}

.header .logo a {
    display: table-cell;
    vertical-align: middle;
}

.header .logo img {
    max-height: 60px;
}

.header.nav-down .logo {
    height: 110px;
}

/* header right */
.header-classic__item {
    text-align: right;
}


.free-shipping-text p {
    font-weight: bold;
    font-size: 16px;
}


.header__icon--cart *,
.header__icon--wishlist * {
    display: inline-block !important;
    vertical-align: middle;
}

.header__iconItem {
    display: inline-block;
    vertical-align: middle;
}

.header__icon {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.header__group .header__icon--cart i {
    margin-right: 8px;
    position: relative;
}

.cart-count-bubble,
.wishlist-count-bubble {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 23px;
    min-height: 23px;
    text-align: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
}

.header__group .cart-count-bubble {
    margin-left: 8px;
}

.header__iconItem .header__icon--cart .cart-count-bubble,
.header-classic__item .header__icon--wishlist .cart-count-bubble {
    position: relative;
}

.header-classic__item .header__icon--cart .cart-count-bubble,
.header-classic__item .header__icon--wishlist .cart-count-bubble,
.header-classic__item .bottom-bar--list .cart-count-bubble {
    color: #323232;
    background-color: #ffe5e8;
}


.header-classic__item .header__icon+.header__icon {
    margin-left: 15px;
}

.header__group .header__icon--wishlist i {
    margin-right: 8px;
}

/* Main navigation */

.navbar {
    border-radius: 0;
    border: 0;
    margin-bottom: 0;
    padding: 0;
}

@media (max-width: 991px) {
    .navbar {
        padding: 6px 0;
    }
}

@media (max-width: 767px) {
    .navbar {
        padding: 6px 0;
    }
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#fff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

@media (max-width: 991px) {
    .navbar-toggler {
        background: #ffffff;
        padding: 7px 10px;
        border-radius: 0;

    }

    .site-navigation .row {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width:767px) {
    .navbar-toggler {
        background: #ffffff;
        padding: 7px 10px;
        border-radius: 0;

    }

    .site-navigation .row {
        width: 100%;
    }

    .logo {
        text-align: center;
        padding-left: 15px;
    }

    .site-navigation .nav-search {
        top: -6px;
        z-index: 2;
        width: 60px;
        height: 49px;
        line-height: 49px;
        right: 15px;
        background: rgb(255 0 0);
    }

    .site-navigation .search-block .search-close {
        top: -43px;
        z-index: 2;
        width: 60px;
        height: 45px;
        line-height: 40px;
        right: 0;
        background: #1f1f1f;
    }



    ul.navbar-nav>li {
        display: block !important;
    }

    ul.navbar-nav .dropdown-menu {
        box-shadow: none;
        border-top: 0;
        background: none;
        padding: 10px 0;
    }

    .navbar-collapse {
        background: #ffffff;
        width: 100%;
        border-top: 0;
        box-shadow: none;
        margin-top: 36px;
        padding: 20px;
        height: calc(100vh - 100px);
        overflow-x: auto;
        padding-bottom: 50px;
    }

    ul.navbar-nav {
        width: 100%;
    }

    ul.navbar-nav li a,
    ul.navbar-nav li a {
        line-height: normal !important;
        border-bottom: 1px solid #38393d;
        padding: 15px 0 !important;
        display: block !important;
        color: #000000 !important;
    }

    ul.navbar-nav li a i,
    .dropdown-submenu>a:after {
        float: right;
        width: 36px;
        height: 28px;
        line-height: 28px;
        margin-top: -5px;
        text-align: center;
    }

}

ul.navbar-nav {
    display: inline-block;
}

ul.navbar-nav>li {
    float: none;
    display: inline-block;
    position: relative;
}

ul.navbar-nav>li:last-child {
    padding-right: 0;
}

ul.navbar-nav>li:last-child:after {
    background: none;
}

ul.navbar-nav>li>a {
    color: #fff;
    text-rendering: optimizeLegibility;
    display: inline-block;
    padding: 5px 15px;
    line-height: 60px;
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    font-weight: 600;
    transition: 350ms;
}

ul.navbar-nav>li:hover>a:before,
ul.navbar-nav>li.active>a:before {
    border-color: #ffffff;
    opacity: 1;
    transform: scale(1) translateZ(0);
}

ul.navbar-nav>li>a:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    border-bottom: 3px solid transparent;
    transform: scale(0) translateZ(0);
    -webkit-transition: -webkit-transform 0.45s ease, opacity 0.55s ease;
    -moz-transition: -moz-transform 0.45s ease, opacity 0.55s ease;
    -ms-transition: -ms-transform 0.45s ease, opacity 0.55s ease;
    -o-transition: -o-transform 0.45s ease, opacity 0.55s ease;
    transition: transform 0.45s ease, opacity 0.55s ease;
}

ul.navbar-nav>li>a:hover,
ul.navbar-nav>li>a:focus {
    background: none;
}

ul.navbar-nav>li>a i {
    font-weight: 700;
}

.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus {
    background: transparent;
    border-color: transparent;
}

/* Dropdown */

@media (min-width:992px) {
    .mega-menu.show {
        display: none;
    }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.mega-menu {
    top: 0;
    left: 100%;
    margin-top: -2px;
    border-radius: 0;
}

.dropdown-submenu>a:after {
    display: block;
    content: "\f105";
    font-family: FontAwesome;
    float: right;
    margin-top: 0;
    margin-right: -5px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.mega-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.mega-menu {
    text-align: left;
    background: #fff;
    z-index: 100;
    min-width: 220px;
    border: 0;
    padding: 20px 25px;
    border-radius: 0;
    border-bottom: 5px solid #821F40;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2);
    margin-top: 0;
}

.mega-menu.menu-center {
    left: -65px;
}

.mega-menu-large {
    min-width: 400px;
}

.mega-menu-large>li>ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mega-menu-large>li>ul>li>a {
    padding-left: 0;
}

.navbar-nav>li>.mega-menu a {
    background: none;
}

.mega-menu li a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    padding: 13px 0;
    color: #2c2d30;
}

.mega-menu li:last-child>a {
    border-bottom: 0 !important;
}

.navbar-nav>li>.mega-menu>.active>a,
.navbar-nav>li>.mega-menu>.active>a:hover,
.navbar-nav>li>.mega-menu>.active>a:focus,
.navbar-nav>li>.mega-menu>.active>.mega-menu>.active>a {
    color: #000000;
}

.mega-menu li a:hover,
.mega-menu li a:focus {
    color: #000000;
    background: none !important;
}

@media (min-width: 768px) {
    ul.nav li.dropdown:hover ul.mega-menu {
        display: block;
    }
}

@media (min-width: 767px) {
    ul.nav li.dropdown ul.mega-menu li.dropdown-submenu .mega-menu {
        left: 100%;
        top: 0;
        display: none;
    }

    ul.nav li.dropdown ul.mega-menu li.dropdown-submenu:hover .mega-menu {
        display: block;
    }
}

.dropdown-toggle::after {
    display: none;
}

ul.nav li.dropdown:hover ul.mega-menu .mega-menu-list {
    padding: 0;
    list-style: none;
    margin: 0;
}


ul.nav li.dropdown:hover ul.mega-menu.mega-menu {
    width: 100%;
    left: auto;
    right: 0;
}

/*-- Nav Search start --*/

.site-navigation .container,
.search-area {
    position: relative;
}

.search-area {
    min-height: 70px;
    padding-right: 0;
}

.nav-search {
    position: absolute;
    cursor: pointer;
    top: 32px;
    right: 20px;
    color: #fff;
    width: 30px;
    text-align: center;
}

.search-block {
    background: #1f1f1f;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 100%;
    width: 300px;
    z-index: 10;
    margin-top: 0;
}

.search-block .form-control {
    background: none;
    border: 1px solid rgb(255 255 255 / 45%);
    color: #fff;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-style: italic;
    border-radius: 0;
}

.search-block .search-close {
    color: #fff;
    position: absolute;
    top: -62px;
    right: 10px;
    font-size: 32px;
    cursor: pointer;
    background: #23282d;
    padding: 5px;
    opacity: 1;
    width: 30px;
    height: 30px;
    line-height: 14px;
    text-align: center
}


.search-block button {
    background-color: #fff;
    height: 40px;
    padding: 0 12px;
}

.search-area .nav-search {
    top: 23px;
}

.search-area .search-block .search-close {
    top: -50px;
}

.search-area .search-block {
    right: 0;
}

/* Get a quote */

.header-get-a-quote .btn-primary {
    padding: 13px 25px;
    border-radius: 3px;
    line-height: normal;
    color: #fff;
    position: relative;
    top: -15px;
    box-shadow: none;
    background: #000000;
    border: 2px solid transparent;
}

.header-get-a-quote .btn-primary:hover {
    background: #272d33;
}

ul.navbar-nav>li.header-get-a-quote:hover>a:after {
    position: relative;
    content: no-close-quote;
}

.unpinned {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    opacity: 1;
    transition: all 0.25s ease-in-out;
    transform: translate3d(0, -100%, 0);
}

.pinned {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    opacity: 1;
    transition: all 0.25s ease-in-out;
    transform: translateX(0);
}


header.remove-header {
    position: relative;
}

/* 
.navbar.fixed {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translate3d(0, -100%, 0);
}

.header .navbar.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    z-index: 9999;
    transition: top 5s ease-in-out;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);

} */