/*************************************************************
[EMPIFY FLOATING NAV - CORE STYLESHEET]
*************************************************************/

/* 1. TOP LOGO BANNER */
.empify-fn-logo-wrapper {
    position: absolute;
    display: table;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #3E8EE8;
    z-index: 99999;
}
.empify-fn-logo-wrapper-bg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    opacity: 0.1;
}
.empify-fn-logo-image {
    display: table-cell;
    vertical-align: middle;
}
.empify-fn-logo-image img {
    max-height: 40px;
    width: auto;
    vertical-align: bottom;
    margin: 0 18px;
}
.empify-fn-logo {
    display: table-cell;
    vertical-align: middle;
}
.empify-fn-logo a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: 0;
    color: #fff;
    margin: 0 18px;
    padding: 0;
    transition: all .25s ease;
}

/* 2. MAIN FLOATING NAVIGATION BAR */
.empify-fn-wrapper {
    position: fixed;
    display: table;
    table-layout: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 51px;
    vertical-align: middle;
    box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.12);
    z-index: 99998;
    background-color: #559b6d;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transition: box-shadow .35s ease;
}
.empify-fn-wrapper.empify-fn-wrapper-shadow-active {
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2) !important;
}

/* 3. BUTTONS (BACK, CALL, EMAIL, SEARCH, MENU) */
.empify-fn-wrapper .empify-fn-back-button,
.empify-fn-wrapper .empify-fn-call-button,
.empify-fn-wrapper .empify-fn-email-button,
.empify-fn-wrapper .empify-fn-search-button,
.empify-fn-menu-button {
    position: relative;
    width: 20%;
    min-width: 50px;
    height: 51px;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    text-decoration: none !important;
    color: #ffffff;
    background-color: #559b6d;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition: all .3s ease;
}
.empify-fn-menu-button {
    border: none;
}
.empify-fn-menu-button-active {
    background-color: #407544 !important;
}

/* 4. BUTTON SEPARATORS */
.empify-fn-wrapper .empify-fn-back-button:after,
.empify-fn-wrapper .empify-fn-call-button:after,
.empify-fn-wrapper .empify-fn-email-button:after,
.empify-fn-wrapper .empify-fn-search-button:after {
    content: '';
    position: absolute;
    top: 5px;
    right: 0;
    width: 1px;
    height: 41px;
    background-color: transparent;
    transition: opacity .1s ease;
}

/* 5. ICONS (FONT AWESOME 4.7 & DEFAULT SHAPES) */
.empify-fn-wrapper i.fa,
.empify-fn-wrapper .fa,
.empify-fn-menu i.fa,
.empify-fn-menu .fa {
    font-family: 'FontAwesome' !important;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    -webkit-font-smoothing: antialiased;
}

.empify-fn-back-text-label-offset i,
.empify-fn-call-text-label-offset i,
.empify-fn-email-text-label-offset i,
.empify-fn-search-text-label-offset i {
    position: relative;
    top: -5px;
    padding-bottom: 15px;
    display: inline-block;
}

/* Default Back Arrow Shape */
.empify-fn-default-back {
    position: relative;
    top: 1px;
    margin: 0 auto;
    width: 21px;
    height: 2px;
    background-color: #ffffff;
}
.empify-fn-default-back::before,
.empify-fn-default-back::after {
    content: '';
    position: absolute;
    left: -2px;
    display: block;
    width: 8px;
    height: 2px;
    background-color: #ffffff;
}
.empify-fn-default-back::before { top: -2px; transform: rotate(-45deg); }
.empify-fn-default-back::after  { top: 2px; transform: rotate(45deg); }

/* Default Call Dots */
.empify-fn-default-call-one,
.empify-fn-default-call-two,
.empify-fn-default-call-three {
    position: relative;
    top: -5px;
    left: -3px;
    display: inline-block;
    margin: 0 auto;
    width: 4px;
    height: 4px;
    background-color: #ffffff;
}
.empify-fn-default-call-two   { left: -1px; }
.empify-fn-default-call-three { left: 1px; }
.empify-fn-default-call-one:before,
.empify-fn-default-call-two:before,
.empify-fn-default-call-three:before,
.empify-fn-default-call-one:after,
.empify-fn-default-call-two:after,
.empify-fn-default-call-three:after {
    content: '';
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    background-color: #ffffff;
}
.empify-fn-default-call-one:before,
.empify-fn-default-call-two:before,
.empify-fn-default-call-three:before { top: -6px; }
.empify-fn-default-call-one:after,
.empify-fn-default-call-two:after,
.empify-fn-default-call-three:after  { top: 6px; }

/* Default Email Envelope */
.empify-fn-default-email-outer {
    position: relative;
    display: block;
    width: 19px;
    height: 13px;
    box-shadow: 0px 0px 0px 2px #ffffff;
    margin: 0 auto;
}
.empify-fn-default-email-outer::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    width: 2px;
    height: 7px;
    background-color: #ffffff;
    transform: rotate(45deg);
}
.empify-fn-default-email-outer::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 13px;
    width: 2px;
    height: 7px;
    background-color: #ffffff;
    transform: rotate(-45deg);
}
.empify-fn-default-email-inner::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 2px;
    height: 10px;
    background-color: #ffffff;
    transform: rotate(-45deg);
}
.empify-fn-default-email-inner::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 12px;
    width: 2px;
    height: 10px;
    background-color: #ffffff;
    transform: rotate(45deg);
}

/* Default Search Magnifier */
.empify-fn-default-search-outer {
    position: relative;
    display: block;
    top: 1px;
    left: 4px;
    width: 8px;
    height: 8px;
    box-shadow: 0px 0px 0px 2px #ffffff;
    margin: 0 auto;
}
.empify-fn-default-search-outer::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 10px;
    width: 2px;
    height: 7px;
    background-color: #ffffff;
    transform: rotate(-45deg);
}
.empify-fn-default-search-inner {
    position: relative;
    top: -2px;
    left: -15px;
    width: 11px;
    height: 2px;
    background-color: #ffffff;
}
.empify-fn-default-search-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 9px;
    height: 2px;
    background-color: #ffffff;
}
.empify-fn-default-search-inner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 11px;
    height: 2px;
    background-color: #ffffff;
}

/* Default Hamburger 3 Bars */
.empify-fn-default-menu {
    position: relative;
    top: -4px;
    width: 23px;
    height: 2px;
    margin: 0 auto;
    background-color: #ffffff;
}
.empify-fn-default-menu::before,
.empify-fn-default-menu::after {
    content: '';
    position: absolute;
    left: 0;
    display: block;
    width: 23px;
    height: 2px;
    background-color: #ffffff;
}
.empify-fn-default-menu::before { top: -6px; }
.empify-fn-default-menu::after  { top: 6px; }

/* 6. TEXT LABELS */
.empify-fn-wrapper .empify-fn-back-button::before,
.empify-fn-wrapper .empify-fn-call-button::before,
.empify-fn-wrapper .empify-fn-email-button::before,
.empify-fn-wrapper .empify-fn-search-button::before,
.empify-fn-wrapper .empify-fn-menu-button::before {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 10px;
    color: #ffffff;
    text-align: center;
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
    box-sizing: border-box;
}

/* 7. MENU TOOLTIP POINTER */
.empify-fn-menu-tooltip {
    position: absolute;
    top: 0;
    left: -2px;
    right: 0;
    margin: 0 auto;
    width: 10px;
    height: 10px;
    display: none;
}
.empify-fn-menu-button-active .empify-fn-menu-tooltip {
    display: inline !important;
}
.empify-fn-menu-tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    margin: 0 auto;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: -14px;
    transform: translateX(-50%);
    border-top: 6px solid #efcd37;
}

/* 8. ACCORDION MENU DRAWER */
.empify-fn-menu-wrapper {
    position: fixed;
    top: 20px;
    bottom: 65px;
    right: 0;
    left: auto;
    width: 220px;
    z-index: 99997;
    display: none;
    pointer-events: none;
}
.empify-fn-menu-wrapper.empify-fn-menu-active {
    display: block !important;
    pointer-events: auto;
}
.empify-fn-menu {
    position: absolute;
    bottom: 0;
    top: auto;
    right: 5px;
    left: auto;
    width: 210px;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    border-radius: 3px;
    background: #559b6d;
    border-top: 5px solid #efcd37;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 99997;
}
.empify-fn-menu::-webkit-scrollbar {
    width: 4px;
}
.empify-fn-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.empify-fn-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}
.empify-fn-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}
.empify-fn-menu ul {
    display: block;
    width: 210px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.empify-fn-menu ul li {
    position: relative;
    width: 100%;
    min-height: 43px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: left;
    border-bottom: 1px solid #407544;
}
.empify-fn-menu ul li:last-child {
    border-bottom: none;
}
.empify-fn-menu ul li a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: #ffffff !important;
    margin: 0;
    padding: 14px 44px 12px 14px;
    display: inline-block;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: all .2s ease;
}
.empify-fn-menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
}
.empify-fn-menu-item-description {
    margin-top: 4px;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 14px;
    color: rgba(255, 255, 255, 0.8);
    padding-right: 20px;
}

/* Nested Submenu */
.empify-fn-menu ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    background-color: #407544;
}
.empify-fn-menu ul.sub-menu li a {
    padding-left: 20px;
    color: #ffffff !important;
}

/* Submenu Arrow */
.empify-fn-menu .empify-fn-sub-arrow,
.empify-fn-sub-arrow {
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}
.empify-fn-menu .empify-fn-sub-arrow:hover,
.empify-fn-menu .empify-fn-sub-arrow:focus,
.empify-fn-menu .empify-fn-sub-arrow:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.empify-fn-sub-arrow-inner {
    position: relative;
    display: block;
    top: 10px;
    right: 0;
    width: 40px;
    height: 27px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}
.empify-fn-sub-arrow-inner::before,
.empify-fn-sub-arrow-inner::after {
    position: absolute;
    content: '';
    display: block;
    top: 13px;
    width: 7px;
    height: 2px;
    background-color: #ffffff;
    transition: all .4s ease;
}
.empify-fn-sub-arrow-inner::before {
    left: 12px;
    transform: rotate(45deg);
}
.empify-fn-sub-arrow-inner::after {
    left: 16px;
    transform: rotate(-45deg);
}
.empify-fn-submenu-active > .empify-fn-sub-arrow .empify-fn-sub-arrow-inner::before {
    transform: rotate(-45deg);
}
.empify-fn-submenu-active > .empify-fn-sub-arrow .empify-fn-sub-arrow-inner::after {
    transform: rotate(45deg);
}

/* 9. SEARCH DRAWER */
.empify-fn-search-wrapper {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    width: 100%;
    height: 59px;
    opacity: 0;
    pointer-events: none;
    z-index: 99996;
    transition: opacity .3s ease;
}
.empify-fn-search-wrapper.empify-fn-search-active {
    opacity: 1;
    pointer-events: auto;
}
.empify-fn-search-wrapper input.empify-fn-search-field {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 287px;
    height: 38px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #000;
    border: 0;
    padding: 0 0 0 11px;
    background-color: #ffffff;
    border-radius: 1px;
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.15);
    outline: none;
}
.empify-fn-clear-search-wrapper {
    position: absolute;
    display: block;
    top: 10px;
    right: 10px;
}
.empify-fn-clear-search {
    display: block;
    position: absolute;
    top: 0;
    left: -38px;
    width: 38px;
    height: 38px;
    cursor: pointer;
}
.empify-fn-clear-search::before,
.empify-fn-clear-search::after {
    position: absolute;
    top: 18px;
    left: 12px;
    content: '';
    display: block;
    width: 13px;
    height: 2px;
    background-color: #D7D7D7;
}
.empify-fn-clear-search::before { transform: rotate(-45deg); }
.empify-fn-clear-search::after  { transform: rotate(45deg); }
.empify-fn-search-wrapper input.empify-fn-search {
    position: relative;
    display: block;
    height: 38px;
    padding: 0 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #ffffff;
    background-color: #177CB1;
    cursor: pointer;
    border: 0;
}

/* 10. BACKDROP OVERLAY */
.empify-fn-overlay {
    position: fixed;
    top: 0;
    left: -1000%;
    width: 100%;
    height: 120%;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 99995;
    transition: opacity .4s ease, left 0s ease .4s;
}
.empify-fn-overlay-inner {
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.empify-fn-overlay.empify-fn-overlay-active {
    left: 0;
    opacity: 0.2;
    pointer-events: auto;
    transition: opacity .4s ease, left 0s ease 0s;
}

/* 11. WIDGETS */
.empify-fn-widgets-wrapper {
    padding: 10px;
}
.empify-fn-widget-title {
    font-size: 12px;
    color: #efcd37;
    margin: 5px 0;
}
