/* Bootstrap Menu Custom */

.nd-header-container {
    position: relative;
    text-align: center;
}

.nd-burger-menu {
    position: absolute;
    top: 35px;
    right: 14px;
    width: 20px;
    height: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    -webkit-transition: transform 330ms ease-out;
    -moz-transition: transform 330ms ease-out;
    -o-transition: transform 330ms ease-out;
    transition: transform 330ms ease-out;
}

.nd-burger-menu.nd-menu-open {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nd-line-menu {
    background-color: #111111;
    border-radius: 2px;
    width: 100%;
    height: 3px;
}

.nd-line-menu.nd-line-half {
    width: 50%;
}

.nd-line-menu.nd-first-line {
    transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
    transform-origin: right;
}

.nd-menu-open .nd-line-menu.nd-first-line {
    -webkit-transform: rotate(-90deg) translateX(3px);
    -moz-transform: rotate(-90deg) translateX(3px);
    -o-transform: rotate(-90deg) translateX(3px);
    transform: rotate(-90deg) translateX(3px);
}

.nd-line-menu.nd-last-line {
    align-self: flex-end;
    transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
    transform-origin: left;
}

.nd-menu-open .nd-line-menu.nd-last-line {
    -webkit-transform: rotate(-90deg) translateX(-3px);
    -moz-transform: rotate(-90deg) translateX(-3px);
    -o-transform: rotate(-90deg) translateX(-3px);
    transform: rotate(-90deg) translateX(-3px);
}


/* Menu overlay */

.nd-header-overlay .nd-burger-menu,
.nd-fixed-sidebar + .nd-burger-menu {
    display: block;
    position: fixed;
    flex-direction: inherit;
    justify-content: inherit;
    width: 50px;
    height: 47px;
    top: 30px;
    right: 15px;
/*    background: #111111;*/
    background: #fff;
    padding: 15px;
    z-index: 99999;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.nd-header-overlay .nd-burger-menu:hover {
    -webkit-box-shadow: 0px 0px 25px -1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 25px -1px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 25px -1px rgba(0, 0, 0, 0.4);
}

.nd-header-overlay .nd-burger-menu > span,
.nd-fixed-sidebar + .nd-burger-menu > span {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 17px;
    -webkit-transition: transform 330ms ease-out;
    -moz-transition: transform 330ms ease-out;
    -o-transition: transform 330ms ease-out;
    transition: transform 330ms ease-out;
}

.nd-header-overlay .nd-line-menu,
.nd-fixed-sidebar + .nd-burger-menu .nd-line-menu {
/*    background-color: #fff;*/
    background-color: #111111;
}

.nd-header-overlay .nd-burger-menu.nd-menu-open,
.nd-fixed-sidebar + .nd-burger-menu.nd-menu-open {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}

.nd-header-overlay .nd-menu-open > span,
.nd-fixed-sidebar + .nd-menu-open > span {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nd-fixed-sidebar .nd-menu-social-media .social a {
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: transparent;
    border-radius: 50%;
    color: #ff9a5a;
    font-size: 18px;
    margin: 0px;
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.nd-fixed-sidebar .nd-menu-social-media .social a:hover {
    color: #fff;
}

.nd-fixed-sidebar .nd-menu-social-media .social a::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background-color: #ff9a5a;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.3);
    -ms-transform: scale(0.3);
    -o-transform: scale(0.3);
    transform: scale(0.3);
    transition: 0.4s;
}

.nd-fixed-sidebar .nd-menu-social-media .social a:hover::before {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.nd-fixed-sidebar .nd-menu-social-media .social a i {
    position: relative;
}

.nd-menu-copyright {
    text-align: center;
}

.nd-menu-copyright p {
    font-size: 11px;
    font-weight: 400;
}

.nd-menu-copyright p a {
    color: #ff9a5a;
}

@-webkit-keyframes menuFadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(40px, 0, 0);
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes menuFadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(40px, 0, 0);
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}


/* Fixed sidebar menu */

.body-fixed-sidebar {
    overflow-x: hidden;
}

.nd-fixed-sidebar {
    position: fixed;
    top: 0;
    width: 300px;
    height: 100%;
    z-index: 9999999;
    overflow-y: auto;
    background-color: #fff;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.nd-sidebar-left {
    left: 0;
    -webkit-box-shadow: 2px 0px 12px -2px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 2px 0px 12px -2px rgba(0, 0, 0, 0.15);
    -o-box-shadow: 2px 0px 12px -2px rgba(0, 0, 0, 0.15);
    box-shadow: 2px 0px 12px -2px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
}

.nd-sidebar-left.nd-fixed-sidebar-open {
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
}

.nd-fixed-sidebar .nd-header-container {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    padding: 0 28px;
}

.nd-fixed-sidebar + .nd-burger-menu {
    z-index: 9999999;
}

.nd-sidebar-left + .nd-burger-menu {
    top: 0;
    right: inherit;
    left: 0;
}

.nd-fixedsidebar-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.nd-side-content {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.nd-sidebar-left.nd-fixed-sidebar-open ~ .nd-side-content {
    -webkit-transform: translateX(125px);
    -moz-transform: translateX(125px);
    -o-transform: translateX(125px);
    transform: translateX(125px);
}

.nd-fixed-sidebar .logo {
    display: none;
    text-align: center;
    padding: 60px 0 60px 0px;
}

.nd-side-content > .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 47px;
    padding: 0 50px;
    z-index: 99999;
    text-align: center;
    background-color: #fff;
    -webkit-box-shadow: 0px 2px 12px -2px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 2px 12px -2px rgba(0, 0, 0, 0.15);
    -o-box-shadow: 0px 2px 12px -2px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 2px 12px -2px rgba(0, 0, 0, 0.15);
}

.nd-side-content > .logo img {
    max-width: inherit;
    max-height: 36px;
    width: auto;
}

.nd-footer-logo {
    padding: 0 0 30px 0;
}

.nd-footer-logo img {
    max-width: inherit;
    max-height: 55px;
    width: auto;
}

.nd-fixed-sidebar-open ~ .nd-fixedsidebar-bg-overlay {
    visibility: visible;
    opacity: 1;
}

.nd-fixed-menu-wrap {
    width: 100%;
}


/* Navigation menu */

.nd-menu-fixed {
    padding-top: 90px;
    text-align: left;
}

.nd-menu-fixed ul li {
    position: relative;
}

.nd-menu-fixed ul li a {
    font-family: 'Poppins', sans-serif;
    display: block;
    padding-right: 17px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.nd-menu-fixed > ul > li.current-menu > a,
.nd-menu-fixed ul li:hover > a {
    color: #ff9a5a !important;
}

.nd-menu-fixed > ul {
    margin-bottom: 40px;
}

.nd-menu-fixed > ul > li {
    border-bottom: 1px solid #ececec;
    margin: 15px 0 15px 0;
    padding: 0 0 10px 0;
}

.nd-menu-fixed > ul > li:last-child {
    margin-bottom: 0;
}

.nd-menu-fixed > ul > li > a {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    letter-spacing: 0px;
}

.nd-menu-fixed > ul ul {
    display: none;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.nd-menu-fixed > ul ul.submenu-collapse {
    opacity: 1;
}

.nd-menu-fixed > ul ul li {
    margin-bottom: 6px;
}

.nd-menu-fixed > ul ul li:last-child {
    margin-bottom: 0;
}

.nd-menu-fixed > ul ul a {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    font-style: italic;
    color: #818181;
}

.nd-menu-fixed > ul ul a::before {
    position: absolute;
    content: "";
    top: 3px;
    left: 4px;
    width: 1px;
    height: 12px;
    background-color: #d1d1d1;
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    -o-transform: rotate(30deg);
    transform: rotate(30deg);
}

.nd-menu-fixed > ul ul a:hover {
    padding-left: 24px;
}

.nd-menu-fixed > ul > li > ul {
    padding: 27px 0 15px;
}

.nd-menu-fixed > ul > li > ul ul {
    padding-top: 6px;
}

.nd-menu-fixed > ul > li > ul > li ul {
    padding-left: 18px;
}

.nd-menu-fixed .overlay-dropdown-plus {
    top: -1px;
    right: -7px;
    opacity: 1;
}

.nd-menu-fixed > ul ul .overlay-dropdown-plus {
    top: -3px;
}

.nd-menu-fixed.submenu-no-separate > ul ul a::before {
    display: none !important;
}

.nd-menu-fixed.submenu-no-separate > ul ul a,
.nd-menu-fixed.submenu-no-separate > ul > li > ul > li ul {
    padding-left: 12px;
}

.nd-menu-fixed.submenu-no-separate > ul ul a:hover {
    padding-left: 18px;
}


/* Menu icons */

.nd-menu-fixed .nd-menu-icon {
    margin-right: 5px;
}


/* Media queries for responsive design */

@media (min-width: 768px) {
    .nd-header .logo {
        float: left;
        padding: 30px 40px 30px 0;
    }
    .nd-menu {
        clear: both;
    }
    .nd-header-shadow-wrapper:after {
        -webkit-box-shadow: 0px 10px 40px -5px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 10px 40px -5px rgba(0, 0, 0, 0.1);
        -o-box-shadow: 0px 10px 40px -5px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 10px 40px -5px rgba(0, 0, 0, 0.1);
    }
    .nd-header-overlay .logo {
        left: 30px;
    }
    .nd-header-overlay .nd-burger-menu {
        right: 30px;
    }
}

@media (min-width: 1200px) {
    /* Viewport Breakpoint */
    .nd-header-container {
        height: 90px;
    }
    .nd-header-overlay .nd-header-container {
        height: auto;
    }
    .nd-header .logo {
        position: relative;
        padding: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .nd-header .logo img {
        max-width: inherit;
        max-height: 90px;
        width: auto;
    }
    .nd-burger-menu {
        display: none;
    }
    /* Header sticky */
    .nd-header.sticky {
        position: fixed;
        width: 100%;
        -webkit-animation-duration: .5s;
        animation-duration: .5s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation-name: stickyTransition;
        animation-name: stickyTransition;
    }
    .nd-header.sticky .nd-header-container {
        height: 70px;
    }
    /* Center menu */
    .nd-header.center-menu-1 .nd-header-container > .logo {
        display: none;
    }
    .nd-header.center-menu-2 .nd-header-container {
        height: auto;
    }
    /* Menu overlay */
    .nd-header-overlay .nd-burger-menu {
        top: 40px;
        right: 40px;
    }
    /* Fixed sidebar menu */
    .nd-fixed-sidebar {
        -webkit-transition-duration: 0s;
        -moz-transition-duration: 0s;
        -o-transition-duration: 0s;
        transition-duration: 0s;
    }
    .nd-side-content > .logo,
    .nd-fixed-sidebar + .nd-burger-menu,
    .nd-fixedsidebar-bg-overlay {
        display: none;
    }
    .nd-fixed-sidebar .logo {
        display: block;
    }
    .nd-fixed-sidebar .logo img {
        max-width: inherit;
/*        max-height: 55px;*/
        max-height: 45px;
        width: auto;
    }
    .nd-side-content {
        width: calc(100% - 300px);
        -webkit-transition-duration: 0s;
        -moz-transition-duration: 0s;
        -o-transition-duration: 0s;
        transition-duration: 0s;
        -webkit-transform: translateX(0%) !important;
        -moz-transform: translateX(0%) !important;
        -o-transform: translateX(0%) !important;
        transform: translateX(0%) !important;
    }
    .nd-sidebar-left ~ .nd-fixedsidebar-bg-overlay + .nd-side-content {
        margin-left: auto;
    }
    .nd-sidebar-left,
    .nd-sidebar-right {
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
        z-index: auto;
    }
    .nd-menu-fixed {
        padding-top: 0;
    }
}