/* XS Nav */
@media (max-width: 991px) {
    header {
        background: #2F4591;
        border-bottom: 1px solid #2F4591;
        height: 70px;
        position: relative !important;
    }
    .header-xs>* {
        display: table-cell;
        vertical-align: middle;
        float: none;
    }
    .search-wrapper.search-none {
        opacity: 0;
        visibility: hidden;
    }
    .search-wrapper {
        transition-duration: .33s;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: rgba(13,13,11,.8);
        z-index: 7;
        opacity: 1;
    }
    #search-overlay>.container {
        position: absolute;
        top: 50%;
        transform: translatex(-50%) translatey(-50%);
        left: 50%;
        width: 80%;
    }
    .search-text {
        background: transparent;
        border: 0;
        border-bottom: 1px solid #fff;
        width: 100%;
        outline: 0;
        box-shadow: none;
        color: #fff;
        padding-left: 0;
        font-size: 20px;
        padding-right: 65px;
    }
    #header-search.has-toggled, #header-search-xs.has-toggled {
        color: #fff;
    }
    #header-search-xs, .xs-header-basket {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
        transition-duration: .33s;
        position: relative;
        z-index: 8;
        font-size: 26px;
        color: #000;
    }
    #nav-icon3 {
        height:20px;
        position: relative;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        margin-left: 0;
        margin-right: 10px;
        width: 30px;
        z-index: 3
    }
    #nav-icon3 span {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: #FFF;
        border-radius: 0;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
        transition-delay: 0s;
    }
    #nav-icon3 span:nth-child(1) {
        top: 0
    }
    #nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
        top: 8px
    }
    #nav-icon3 span:nth-child(4) {
        top: 16px
    }
    #nav-icon3.open span:nth-child(1) {
        top: 18px;
        width: 0;
        left: 50%
    }
    #nav-icon3.open span:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg)
    }
    #nav-icon3.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    #nav-icon3.open span:nth-child(4) {
        top: 18px;
        width: 0;
        left: 50%
    }
    #menu-xs {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        transition-duration: 0.3s;
        z-index: 2;
        max-width: 100%;
        color: #fff;
        border: 0 #2F4591 solid;
        visibility: collapse;
        transition-delay: 0.3s;
        overflow-y: auto;
    }
    #menu-xs.open {
        border: 20px #2F4591 solid;
        visibility: visible;
        transition: border 0.3s ease-in-out 0s;
        transition-delay: 0s;
    }
    #xs-header-main .navbar-nav {
        margin: 0;
    }
    #xs-header-main .navbar-nav a {
        color: #fff;
        text-align: center;
    }
    .search-button {
        position: absolute;
        top: 8px;
        width: 65px;
        right: 16px;
        border: 0;
        color: #fff;
        outline: 0;
        box-shadow: none;
        font-size: 22px;
        background: transparent !important;
    }
    .search-button {
        font-size: 18px;
        top: -7px;
    }
    .search-wrapper p {
        color: #fff;
        margin-top: 5px;
    }
    #xs-header-main .custom-logo {
        max-height: 100px;
        margin: 20px auto !important;
        width: auto;
        margin-left: 5px !important;
        position: relative;
        z-index: 9;
    }
    #nav-icon3.open span {
        background: #fff;
        transition-delay: 0.66s;
    }
    #xs-header-main {
        display: table;
        width: 100%;
        padding: 30px 0;
        background-color: #2F4591;
    }
    .header-text-wrapper {
        text-align: left;
        color: #fff;
        font-size: 16px;
    }
    #xs-header-main .navbar-nav a {
        background: transparent !important;
        font-size: 30px;
        padding: 20px;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        text-transform: uppercase;
        line-height: normal;
    }
    .xsnav-open {
        overflow: hidden;
    }
    #menu-xs>div {
        position: absolute;
        top: 100%;
        transition-duration: 0.35s;
        transition-delay: 0s;
        background: #2F4591;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    #menu-xs.open>div {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition-delay: 0.3s;
        overflow-y: auto;
    }
    .display-table {
        display: table;
    }
    #menu-xs.open>div>ul {
        display: table-cell;
        vertical-align: middle;
    }
    .nav.navbar-nav>li {
        display: block;
    }
    #xs-header-main .custom-logo {
        max-height: 50px;
    }
    #menu-xs:before {
        content: "";
        background: transparent;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transition-delay: 0s;
    }
    #menu-xs.open:before {
        background: #2F4591;
        transition-delay: 0.6s;
    }
    #menu-xs ul {
        padding: 0;
    }
    #menu-xs ul>li {
        display: block;
    }
    #menu-xs ul > li>a {
        color: #fff;
        font-size: 26px;
        display: block;
        padding: 10px;
    }
    #menu-xs ul > li > a:hover, #menu-xs ul > li > a:focus {
        text-decoration: none;
    }
    .hvr-float-shadow::before {
        display: none;
    }
    .hvr-float-shadow:hover, .hvr-float-shadow:focus, .hvr-float-shadow:active {
        -webkit-transform: translateY(0px);
        transform: translateY(0);
    }

    #menu-xs ul>li i {
        display: none;
    }
    .main-logo>img {
        max-height: 40px;
    }
    .welcome {
        display: block;
    }
    .top-right {
        margin-top: 0;
        margin-bottom: 0;
    }
    #menu-xs ul {
        padding-top: 50px;
    }
}