/* ---------------------------------- */
/* Header
------------------------------------- */
#logo {
    display: inline-block;
    margin-top: 1px;
}
#logo img {
    width: auto;
    height: 35px;
    transform: translate3d(0, 0, 0);
}
img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
#header {
    position: relative;
    z-index: 999;
    padding: 12px 0;
}
/* Header Widget */
.header-widget {
    position: relative;
    top: -1px;
    height: 54px;
}
.header-widget .button,
.header-widget .button.border {
    margin-right: 0;
    margin-top: 10px;
}
/* Full Width Header */
.left-side {
    float: left;
    width: 820px;
    display: inline-block;
}
#logo,
#navigation {
    float: left;
}
#logo {
    margin-right: 40px;
}
.header-widget {
    text-align: right;
}
/* Header Style 2
------------------------------------- */
/* Header Widget */
a.button.border {
    border: 1px solid var(--dh-primary);
}
a.button.border {
    background-color: transparent;
    color: #66676b;
    border: 1px solid #66676b;
    padding: 9px 19px;
}
a.button.border, a.button {
    background-color: var(--dh-primary);
    top: 0;
    padding: 10px 20px;
    color: #fff;
    position: relative;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    margin-right: 6px;
    overflow: hidden;
    border: none;
    border-radius: 3px;
}
/* Header Style 2 - Right Side Menu Items */

/* ---------------------------------- */
/* Sticky Header
------------------------------------- */
/* Sticky header styles */
#navigation.style-1.head-tr .current {
    color: #fff;
}
#navigation.style-1.head-tr ul li a {
    color: #fff;
}
.head-tr.bottom {
    background: rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
@media (max-width: 991px) { 
    #navigation {
        margin-left: 0px !important;
    }
}

/* ---------------------------------- */
/* Navigation
------------------------------------- */
#navigation {
    position: relative;
    display: block;
    margin-top: 9px;
    margin-left: 40px;
}
#navigation ul {
    list-style: none;
    position: relative;
    float: left;
    margin: 0;
    padding: 0;
}
#navigation ul a {
    display: block;
    color: #000;
    text-decoration: none;
}
#navigation ul li {
    position: relative;
    float: left;
    margin: 0;
    padding: 0
}
#navigation ul li ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
    z-index: 99999;
}
#navigation ul ul li {
    float: none;
    width: 208px;
}
#navigation ul ul ul {
    top: 0;
    left: 100%;
    margin: 0 0 0 10px;
}
#navigation ul ul {
    margin: 10px 0 0 0;
}
#navigation ul ul ul:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 100%;
    left: -10px;
    top: 0;
    opacity: 0;
}
#navigation ul ul:before {
    content: "123";
    position: absolute;
    width: 100%;
    height: 10px;
    top: -10px;
    opacity: 0;
}
#navigation ul li:hover > ul {
    opacity: 1;
    visibility: visible;
}
/* Indicator Arrow */
#navigation ul li a:after,
#navigation ul ul li a:after {
    font-family: "FontAwesome";
}
#navigation ul li a:after {
    content: '\f107';
    padding-left: 7px;
}
#navigation ul ul li a:after {
    content: '\f105';
    position: absolute;
    right: 15px;
}
#navigation ul li a:after:hover {
    color: #fff;
}
#navigation ul li a:only-child:after {
    content: '';
    padding: 0;
}
#navigation ul ul li a:only-child:after {
    content: '';
}
/* Dropdown Styles
------------------------------------- */
#navigation ul ul {
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
}
#navigation ul ul li {
    border-bottom: 1px solid #e9e9e9;
    border-radius: 3px;
}
#navigation ul ul li:last-child {
    border-bottom: none;
}
#navigation ul li:hover ul a,
#navigation ul ul a {
    line-height: 27px !important;
    padding: 10px 30px 10px 15px !important;
    color: #707070 !important;
}
#navigation ul ul li:hover {
    background-color: #f2f2f2 !important;
    border-radius: 0;
}
#navigation ul ul li:first-child {
    border-radius: 3px 3px 0 0;
}
#navigation ul ul li:last-child {
    border-radius: 0 0 3px 3px;
}
#navigation ul ul {
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    transform: translate3d(0, 15px, 0);
}
#navigation ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}
/* Menu Style 1
------------------------------------- */
#navigation.style-1 .current {
    background-color: transparent;
    color: var(--dh-primary);
    padding: 5px 15px;
    border-radius: 3px;
}
#navigation.style-1 .current:after {
    opacity: 1;
}
#navigation.style-1 ul li {
    transition: all 0.25s;    
    border-radius: 3px;
}
#navigation.style-1 ul li:hover {
    background-color: var(--dh-primary);
    color: var(--dh-primary);
}
#navigation.style-1 ul li:hover a {
    color: #fff;
}
#navigation.style-1 ul a {
    font-size: 16px;
    text-transform: capitalize;
    line-height: 32px;
    padding: 6px 16px;
}
#navigation.style-1 ul li {
    margin: 0;
    /* margin: 0 5px; */
}
#navigation.style-1 ul ul li {
    margin: 0;
    border-radius: 0;
}
#navigation.style-1 ul ul li:first-child {
    border-radius: 3px 3px 0 0;
}
#navigation.style-1 ul ul li:last-child {
    border-radius: 0 0 3px 3px;
}
#navigation ul li:hover ul a, #navigation ul ul a {
    color: #707070 !important;
}

/* Menu Style 2
------------------------------------- */

/* ---------------------------------- */
/* User Menu
------------------------------------- */
/* Avatar */
/* Mobile Fixes for User Menu */
@media (min-width: 992px) and (max-width: 1239px) {
    .header-widget {
        height: auto;
        position: absolute;
        right: 0;
        width: 150%;
    }
}
#navigation.style-1.white .current {
    background-color: var(--dh-accent);
    color: #fff;
}
#navigation.style-1.white ul li:hover {
    background-color: var(--dh-accent);
    color: #fff;
}

/* ---------------------------------- */
/* mmenu.js - mobile menu
------------------------------------- */
/* Trigger Styles */
/* Hamburger Icon */
.hamburger {
    padding: 0;
    top: 13px;
    left: 12px;
    transform: scale(0.72);
    -moz-transform: scale(0.72) translateY(3px);
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    outline: none;
    overflow: visible;
}
.hamburger-box {
    position: relative;
}
.hamburger-inner {
    display: block;
    top: 50%;
    outline: none;
    margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 34px;
    height: 4px;
    background-color: #555;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    outline: none;
    transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
    outline: none;
}
.hamburger-inner::after {
    bottom: -10px;
    outline: none;
}
/* Animation */
.hamburger--collapse .hamburger-inner::after {
    top: -20px;
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}
.hamburger--collapse .hamburger-inner::before {
    transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--collapse.is-active .hamburger-inner {
    transform: translate3d(0, -10px, 0) rotate(-45deg);
    transition-delay: 0.22s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--collapse.is-active .hamburger-inner::after {
    top: 0;
    opacity: 0;
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
}
.hamburger--collapse.is-active .hamburger-inner::before {
    top: 0;
    transform: rotate(-90deg);
    transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}
@media only screen and (max-width: 1024px) {
    /* Header Responsive Styles */    
    #responsive {
        display: none;
    }
    #header {
        padding-top: 20px;
    }
    #logo {
        position: absolute;
        width: 100%;
        margin: 0 auto;
        margin-top: 3px;
        width: 35%;
        text-align: center;
        left: 0;
        right: 0;
    }
    .header-widget {
        padding: 20px 0;
        border-top: 1px solid #eee;
    }
    .header-widget a.button.border {
        padding: 7px 16px;
        background-color: transparent;
        font-size: 16px;
        min-width: auto;
        float: right;
    }
    #header-container.header-style-2 .left-side,
    #header-container.header-style-2 .right-side,
    .right-side,
    .left-side {
        width: 50%;
    }
    .header-widget {
        text-align: left;
    }
    .menu {
        max-height: none;
    }
    #responsive {
        display: none;
    }    
    /* Header Responsive Styles */
    #header-container.header-style-2 .left-side,
    #header-container.header-style-2 .right-side,
    .right-side,
    .left-side {
        width: 50%;
    }
    .header-widget {
        text-align: left;
    }
}
@media (max-width: 360px) {
    .header-widget a.button.border {
        float: left;
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 575px) {
    #logo img {
        margin-right: 60px;
    }
}
