/*************************************************************/
/* LOGO
**************************************************/
.morph-logo-wrapper {
    position: fixed;
    display: table;
    top: 0;
    right: 0;
    height: 54px;
    padding: 0 15px;
}

.morph-logo-wrapper {
    right: 0;
    left: auto;
}

/* if logo is image */
.morph-logo-image {
    display: table-cell;
    vertical-align: middle;
}

.morph-logo-image img {
    display: table-cell;
    vertical-align: middle;
}
.morph-logo-image img[src$='.svg'] {
    width: 100%;
}

/* if logo is text */
.morph-logo {
    display: table-cell;
    vertical-align: middle;
}

.morph-logo a {
    text-decoration: none;
    letter-spacing: 0;
    color: #fff;
    margin: 0;
    padding: 0;
    transition: all .25s ease;
}

.morph-logo a:hover {
    text-decoration: none;
    color: #fff;
}

/* HEADER BAR
**************************************************/
.morph-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* MENU BUTTON LABEL
**************************************************/
.morph-menu-button-label {
    position: absolute;
    top: 4px;
    left: 40px;
    color: #fff;
    padding: 10px 5px;
    white-space: nowrap;
    transition: all .25s ease;
}

.morph-menu-button-label-hide {
    opacity: 0;
    pointer-events: none;
}

.morph-menu-button-label-right {
    left: -40px;
}

/* label adjustment */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .morph-menu-button-label {
        top: 3px;
    }
}

/* MAIN MENU
**************************************************/
.morph-menu-wrapper {
    position: relative;
    margin: 0;
    padding: 9px 0 15px 0;
    transition: all .5s ease;
}

/* main menu */
.morph-by-bonfire {
    overflow-y: auto;
}

.morph-by-bonfire ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* individual main menu items */
.morph-by-bonfire ul li {
    position: relative;
    width: 100%;
    min-height: 43px;
    list-style-type: none;
    border: none;
    margin: 0;
    padding: 0;
    text-align: left;
    overflow: hidden;
}

/* top-level menu item */
.morph-by-bonfire ul li a {
    color: #696867;
    margin: 0;
    padding: 14px 10px 7px 17px;
    display: inline-block;
    text-decoration: none;
    width: 100%;
    width: calc(100% - 27px);
    transition: all .2s ease;
}

/* don't let top-level menu items overlap sub-menu arrows */
.morph-by-bonfire ul li.menu-item-has-children > a {
    width: calc(100% - 67px);
    padding-right: 10px;
}

/* custom border */
.morph-by-bonfire ul li.border a {
    padding-bottom: 19px;
    margin-bottom: 8px;
    border-bottom: 1px solid #D9D9D9;
}

/* retina-specific menu item adjustment */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .morph-by-bonfire ul li a {
        margin: 0;
    }
}

/* main menu icon */
.morph-by-bonfire a i {
    font-size: 17px;
    padding-right: 10px;
    text-align: left;
    display: inline-block;
}

/* fade-in menu items */
.morph-by-bonfire ul li a {
    opacity: 0;
    transform: translateX(-30px);
}

.morph-menu-wrapper-active .morph-by-bonfire ul li a {
    opacity: 1;
    transform: translateX(0);
}

/* individual li animation speeds (up to 25) */
.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(1) a {
    transition: opacity .3s ease .2s, transform .5s ease .2s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(2) a {
    transition: opacity .3s ease .25s, transform .5s ease .25s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(3) a {
    transition: opacity .3s ease .3s, transform .5s ease .3s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(4) a {
    transition: opacity .3s ease .35s, transform .5s ease .35s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(5) a {
    transition: opacity .3s ease .4s, transform .5s ease .4s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(6) a {
    transition: opacity .3s ease .45s, transform .5s ease .45s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(7) a {
    transition: opacity .3s ease .5s, transform .5s ease .5s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(8) a {
    transition: opacity .3s ease .55s, transform .5s ease .55s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(9) a {
    transition: opacity .3s ease .6s, transform .5s ease .6s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(10) a {
    transition: opacity .3s ease .65s, transform .5s ease .65s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(11) a {
    transition: opacity .3s ease .7s, transform .5s ease .7s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(12) a {
    transition: opacity .3s ease .75s, transform .5s ease .75s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(13) a {
    transition: opacity .3s ease .8s, transform .5s ease .8s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(14) a {
    transition: opacity .3s ease .85s, transform .5s ease .85s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(15) a {
    transition: opacity .3s ease .9s, transform .5s ease .9s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(16) a {
    transition: opacity .3s ease .95s, transform .5s ease .95s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(17) a {
    transition: opacity .3s ease 1s, transform .5s ease 1s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(18) a {
    transition: opacity .3s ease 1.05s, transform .5s ease 1.05s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(19) a {
    transition: opacity .3s ease 1.1s, transform .5s ease 1.1s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(20) a {
    transition: opacity .3s ease 1.15s, transform .5s ease 1.15s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(21) a {
    transition: opacity .3s ease 1.2s, transform .5s ease 1.2s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(22) a {
    transition: opacity .3s ease 1.25s, transform .5s ease 1.25s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(23) a {
    transition: opacity .3s ease 1.3s, transform .5s ease 1.3s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(24) a {
    transition: opacity .3s ease 1.35s, transform .5s ease 1.35s;
}

.morph-menu-wrapper-active .morph-by-bonfire ul li:nth-child(25) a {
    transition: opacity .3s ease 1.4s, transform .5s ease 1.4s;
}

/* menu description */
.morph-menu-item-description {
    margin-top: 4px;
    margin-bottom: 2px;
    font-size: 13px;
    line-height: 16px;
    color: #A1A19E;
    padding-right: 12px;
}

/* SUB-MENU
**************************************************/
.morph-by-bonfire .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.morph-by-bonfire ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    height: auto;
}

/* sub-menu items */
.morph-by-bonfire .sub-menu a {
    color: #848482;
    margin: 0;
}

/* ACCORDION SUB-MENU ARROW
**************************************************/
/* sub-menu arrow */
.morph-sub-arrow {
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    /* remove the highlight of a tapped link when on a touch device */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.morph-sub-arrow-inner {
    position: relative;
    display: block;
    top: 10px;
    right: 0;
    width: 40px;
    height: 27px;
    border-left: 1px solid #DEDEDF;
}

.morph-sub-arrow-inner::before,
.morph-sub-arrow-inner::after {
    position: absolute;
    content: '';
    display: block;
    top: 13px;
    width: 7px;
    height: 2px;
    background-color: #ADADAC;
    transition: all .35s ease;
}

.morph-sub-arrow-inner::before {
    left: 12px;
    transform: rotate(45deg);
}

.morph-sub-arrow-inner::after {
    left: 16px;
    transform: rotate(-45deg);
}

.morph-by-bonfire span.morph-submenu-active span::before {
    transform: rotate(-45deg);
}

.morph-by-bonfire span.morph-submenu-active span::after {
    transform: rotate(45deg);
}

/* MAIN BACKGROUND
**************************************************/
/* main background */
.morph-main-background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #FBFBFB;
    display: block;
    transition: all .5s ease;
}

/* the no-click area next to the menu */
.morph-main-background-active::after {
    content: '';
    position: fixed;
    right: -20px;
    width: 20px;
    height: 100%;
}

/* when right positioning active */
.morph-main-background-right {
    left: auto;
    right: 0;
}

.morph-main-background-active {
    transform: translateX(0) !important;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
}

/* MAIN WRAPPER
**************************************************/
/* main wrapper */
.morph-main-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #767676;
    overflow: hidden !important;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
}

/* when right positioning active */
.morph-main-wrapper-right {
    left: auto;
    right: 0;
}

.morph-main-wrapper-active {
    transform: translateX(0) !important;
}

/* main inner wrapper */
.morph-main-wrapper-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    /* smooth scroll on iOS */
    -webkit-overflow-scrolling: touch;
}

/* give images/videos/embeds max width */
.morph-main img,
.morph-main iframe,
.morph-main object,
.morph-main embed {
    max-width: 100%;
    height: auto;
}

/* background overlay */
.morph-background-overlay {
    position: fixed;
    top: -1000%;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    transition: top 0s ease .35s, opacity .35s ease;
}

.morph-background-overlay-active {
    top: 0;
    opacity: .3;
    transition: top 0s ease 0s, opacity .35s ease;
}

/* HEADING CONTENT + OVERLAY + IMAGE
**************************************************/
/* joint styles */
.morph-heading-overlay {
    position: absolute;
    width: 100%;
    height: 200px;
    margin: 0;
    padding: 0;
}

/* heading wrapper */
.morph-heading-wrapper {
    z-index: 9;
    position: relative;
}

.morph-heading-inner {
    display: block;
    bottom: 0;
    padding: 0 60px 18px 18px;
    position: absolute;
}

/* heading text */
.morph-heading-text {
    width: 100%;
    display: block;
    margin: 0 0 8px 0;
}

/* subheading text */
.morph-subheading-text {
    width: 100%;
    display: block;
    margin: -6px 0 0 0;
    font-size: 80%;
}

/* heading overlay */
.morph-heading-overlay {
    z-index: 8;
}

/* heading image */
.morph-heading-image {
    z-index: 7;
    background-size: cover;
    background-position: top center;
    background-repeat: repeat;
}

/* Z-INDEXES
**************************************************/
.morph-header-bar {
    z-index: 99995;
}

.morph-logo-wrapper {
    z-index: 99996;
}

.morph-background-overlay {
    z-index: 99996;
}

.morph-main-background {
    z-index: 99997;
}

.morph-main-wrapper {
    z-index: 99998;
}

.morph-main-menu-button-wrapper {
    z-index: 99999;
}

/*
TOOLS
**************************************************/
.tools ul {
    list-style: none;
}

.tools ul li {
    padding: 0 0 0 15px;
    margin: 0;
    line-height: 1em;
    display: inline-block;
    position: relative;
}

.tools ul li a.tools_button .shopping_bag_items_number {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    line-height: 1.8em;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 100px;
    font-size: 9px;
}

.tools ul li a.tools_button .tools_button_icon.uploaded_icon svg {
    display: inherit;
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.tools ul li.my-account-button i {
    font-size: 24px;
}

/*
MISC
**************************************************/
/* if absolute positioning active */
.morph-absolute {
    position: absolute;
}

/* WORDPRESS TOOLBAR (IF WORDPRESS TOOLBAR ACTIVE, PUSH HEADER ELEMENTS DOWN A BIT)
**************************************************/
.wp-toolbar-active {
    margin-top: 32px;
}

/* for the thicker, mobile admin bar */
@media screen and (max-width: 782px) {
    .wp-toolbar-active {
        margin-top: 46px;
    }

    #wpadminbar {
        position: fixed !important;
    }
}

/* if WordPress admin bar active, keep it above everything else */
#wpadminbar {
    z-index: 9999999999999999999999999999;
}
