
.navigation{
    position: relative;
    padding: 30px 0px;
    display: flex;
    align-items: center;
}
.header_one .navigation{
    padding: 0px 25px 100px 25px;
    justify-content: space-between;
    border-left: 1px solid #ececec;
    border-right: 1px solid #ececec;
}
.header_one .navbar{
    border-bottom: 1px solid #ececec;
}
#powermenu {
    margin-left: auto;
}
.header_one #powermenu{
    margin-left: unset;
    margin-right: unset;
}
.nav-inner {
    position: relative;
    margin: 0 auto;
}
.power-main-menu{
    margin-bottom: 0px;
    padding: 0px 0px;
}

/* General Menu Styling */
#powermenu .nav-inner > ul.power-main-menu >li{
    margin: 0px 0px;
}
#powermenu .nav-inner li,
#powermenu .nav-inner li a{
    border: 0;
    list-style: none;
    line-height: 1;
    display: inline-block;
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

#powermenu .nav-inner ul.power-main-menu li a {
    padding: 0px 18px;
    text-decoration: none;
    color: #262626;
    text-align: center;
}
#powermenu .nav-inner ul.power-main-menu li:last-child a {
    padding-right: 0px;
}

#powermenu .nav-inner > ul.power-main-menu > li.active > a,
#powermenu .nav-inner > ul.power-main-menu > li > a:hover {
    color: #0092ff;
}

#powermenu .nav-inner > ul.power-main-menu > li.menu-item-has-children > a i{
    padding-left: 6px;
    font-size: 14px;
    line-height: 14px;
}

#powermenu .nav-inner ul.power-main-menu ul li.menu-item-has-children a i{
    display: none;
}
#powermenu .nav-inner ul.power-main-menu ul li.menu-item-has-children > a:after {
    position: absolute;
    top: 50%;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #FFF;
    content: '';
    transform: translateY(-50%);
}
#powermenu .nav-inner > ul.power-main-menu > li.menu-item-has-children > a:before {
    position: absolute;
    top: 50%;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #fff;
    transform: translateY(-50%);
}
#powermenu .nav-inner > ul.power-main-menu > li.menu-item-has-children:hover > a:before {
    top: 50%;
    height: 0;
    transform: translateY(-50%);
}
#powermenu .nav-inner ul.power-main-menu ul li.menu-item-has-children > a:before {
    position: absolute;
    top: 50%;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #FFF;
    content: '';
    transform: translateY(-50%);
}
#powermenu .nav-inner ul.power-main-menu ul > li.menu-item-has-children:hover > a:before {
    top: 17px;
    height: 0;
}

#powermenu .nav-inner ul.power-main-menu ul.sub-menu li > a {
    background: #262626;
    border-bottom: 1px solid rgba(85, 85, 85, 0.25);
    font-weight: 400;
}
#powermenu .nav-inner ul.power-main-menu ul.sub-menu li a{
    color: #fff;
}
#powermenu .nav-inner ul.power-main-menu ul.sub-menu li.active> a,
#powermenu .nav-inner ul.power-main-menu ul.sub-menu li a:hover{
    color: #0092ff;
}
/* Submenu default states, removed by hover gives the animation */
#powermenu .nav-inner ul.power-main-menu ul {
    position: absolute;
    left: 0;
    opacity: 0;
    visibility: hidden;
    min-width: 210px;
    padding-left: 0px;
    z-index: 5;
}
#powermenu .nav-inner > ul.power-main-menu > li > ul {
    padding-top: 10px;
}
#powermenu .nav-inner li:hover > ul {
    opacity: 1;
    visibility: visible;
}

#powermenu .nav-inner ul.power-main-menu ul li {
    width: 100%;
}
.power_nav_menu_alignment_right {
    float: right;
}
.power_nav_menu_alignment_left {
    float: left;
}
.power_nav_menu_alignment_center {
    float: none;
    text-align: center;
}

.power_responsive_alignment_left{
    left: 0;
}
.power_responsive_alignment_right{
    right: 0;
}
.power_humburger_alignment_left{
    float: left;
}
.power_humburger_alignment_right{
    float: right;
}
.power_humburger_alignment_center{
    float: none;
    text-align: center;
    margin: 0 auto;
}
/* tertiary menu */
#powermenu .nav-inner ul.power-main-menu ul ul {
    left: 100%;
    top: 0;
}
#powermenu .nav-inner ul.power-main-menu ul ul ul, 
#powermenu .nav-inner ul.power-main-menu ul ul ul ul{
  left: auto;
  right: 100%;
}
#powermenu .nav-inner ul.power-main-menu ul li a {
    padding: 12px 20px;
    width: 100%;
    text-decoration: none;
    text-align: left;
}
@media screen and (max-width: 785px) {
    .header_one .navigation{
        border: 0px;
    }
    .header_one .navigation,
    .header_two .navigation {
        padding: 0px 0px;
        display: block;
    }
    #powermenu{
        margin-right: 0px;
    }
    /* Hamburger */
    .mobile-btn {
        width: 50px;
        height: 50px;
        position: relative;
        cursor: pointer;
        z-index: 9;
        margin-top: 0px; 
        background: #262626;
    }
    .mobile-btn:before {
        content: '';
        position: absolute;
        top: 38%;
        left: 50%;
        display: block;
        height: 2px;
        width: 20px;
        background: #fff;
        transform: translate(-50%, -50%);
        transition: all .3s ease;
    }
    .mobile-btn:after {
        content: '';
        position: absolute;
        top: 53%;
        left: 50%;
        display: block;
        height: 8px;
        width: 20px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: translate(-50%, -50%);
        transition: all .3s ease;
    }
  /* Turn it into an X when open */
    .mobile-btn.menu-opened{
        background: #262626;
    }
    .mobile-btn.menu-opened:before {
        top: 50%;
        background: #fff;
        width: 20px;
        height: 2px;
        transform: translate(-50%, -50%) rotate(-45deg);

    }
    .mobile-btn.menu-opened:after { 
        top: 50%;
        border: 0;
        width: 20px;
        height: 2px;
        background: #fff;
        transform: translate(-50%, -50%) rotate(45deg);
    }
    
   /* reset horizontal styles */
    #powermenu .nav-inner ul.power-main-menu {
        display: none;
        width: 100%;
    }
    #powermenu .nav-inner > ul.power-main-menu{
        position: absolute;
        z-index: 9999;
    }
    #powermenu .nav-inner > ul.power-main-menu > li > ul,
    .header.sticky #powermenu .nav-inner > ul.power-main-menu > li ul{
        padding-top: 0px;
        transition-property: color;
        transition-duration: 0.5s;
        transition-timing-function: ease-in;
        transition-delay: 0.3s;
    }

    #powermenu .nav-inner ul.power-main-menu ul{
        opacity: 1;
        visibility: visible;
    }
    #powermenu .nav-inner ul.power-main-menu li,
    #powermenu .nav-inner ul.power-main-menu li a,
    #powermenu .nav-inner ul.power-main-menu ul li a{
        width: 100%;
    }
    #powermenu .nav-inner ul.power-main-menu li{
        padding: 0px;
    }
    #powermenu .nav-inner ul.power-main-menu li a,
    #powermenu .nav-inner ul.power-main-menu ul li a {
        color: #fff;
        text-align: left;
        width: 100%;
        padding: 12px 0px;
        border-radius: 0px;
        border: 0;
        border-bottom: 1px solid rgba(85, 85, 85, 0.25);

    }
    #powermenu .nav-inner > ul.power-main-menu > li.menu-item-has-children > a i {
        display: none;
        padding-left: 6px;
        font-size: 14px;
    }
    .header.sticky .navigation #powermenu .nav-inner li a.active,
    #powermenu .nav-inner > ul.power-main-menu > li > a.active,
    #powermenu .nav-inner > ul.power-main-menu > li > a:hover{
        border-radius: 0px;
    }
    #powermenu .nav-inner > ul.power-main-menu > li > a:after {
        display: none;
        left: 0;
        margin-top: 0px;
        -moz-transform: translateX(0%);
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        transition: width 0.25s ease-out;
    }
    #powermenu .nav-inner ul.power-main-menu ul li,
    #powermenu .nav-inner li:hover > ul > li {
        height: auto;  
    }
    #powermenu .nav-inner ul.power-main-menu ul li a{
        padding-left: 25px;
    }
    #powermenu .nav-inner ul.power-main-menu ul ul li a{
        padding-left: 35px;
    }
    #powermenu .nav-inner ul.power-main-menu ul ul ul li a{
        padding-left: 45px;
    }
    #powermenu .nav-inner ul.power-main-menu ul ul ul ul li a{
        padding-left: 55px;
    }
    #powermenu .nav-inner ul.power-main-menu ul ul ul ul ul li a {
        padding-left: 65px;
    }
    #powermenu .nav-inner ul.power-main-menu ul ul ul ul ul ul li a {
        padding-left: 75px;
    }

    #powermenu .nav-inner ul.power-main-menu ul,
    #powermenu .nav-inner ul.power-main-menu ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }
    #powermenu .nav-inner ul.power-main-menu ul ul ul ul{
      left: 0;
      right: auto;
    }
    #powermenu .nav-inner ul.power-main-menu ul ul li a.active {
        border-left: none;
    }
    #powermenu .nav-inner > ul.power-main-menu > li.menu-item-has-children > ul > li.focus > a,
    #powermenu .nav-inner > ul.power-main-menu ul > li.menu-item-has-children > ul > li.focus > a {
        background: #262626;
    }
  /* remove cross when menu item is toggled */
    #powermenu .nav-inner > ul.power-main-menu > li.menu-item-has-children > a:after,
    #powermenu .nav-inner > ul.power-main-menu > li.menu-item-has-children > a:before,
    #powermenu .nav-inner ul.power-main-menu ul > li.menu-item-has-children > a:after,
    #powermenu .nav-inner ul.power-main-menu ul > li.menu-item-has-children > a:before {
        display: none;
    }

  /* submenu toggles */
    #powermenu .submenu-button {
        position: absolute;
        right: 0;
        top: 0px;
        display: block;
        border: none;
        height: 40px;
        width: 40px;
        cursor: pointer;
        z-index: 5;
    }

    #powermenu .submenu-button:after {
        position: absolute;
        top: 19px;
        right: 16px;
        width: 8px;
        height: 2px;
        display: block;
        background: #fff;
        content: '';
    }
    #powermenu .submenu-button.submenu-opened:after {
        background: #fff;
    }
    #powermenu .submenu-button:before {
        position: absolute;
        top: 16px;
        right: 19px;
        display: block;
        width: 2px;
        height: 8px;
        background: #fff;
        content: ''
    }
    #powermenu .submenu-button.submenu-opened:before {
        display: none;
    }
    .inner-header .navigation #powermenu .nav-inner li, .inner-header .navigation #powermenu .nav-inner li a{
        background: transparent;
        color: #fff;
    }
    #powermenu .nav-inner ul.power-main-menu ul.sub-menu li > a{
        background: transparent;
        color: #fff;
    }
}
/******** Responsive Navigation ******/
#responsivemenu{
    background: #fff;
}
#responsivemenu ul{
    list-style-type: none;
}
#responsivemenu ul.mobilemenu li a{
    padding: 5px 15px;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 500;
    line-height: 30px;
    color: #262626;
    display: block;
    border-bottom: 1px solid #eee;
}
#responsivemenu ul.mobilemenu li.active a,
#responsivemenu ul.mobilemenu li a:hover{
    color: #262626;
}

#responsivemenu ul li.menu-item-has-children>a>i{
    float: right;
    padding-top: 5px;
    font-size: 12px;
}
#responsivemenu .sub-menu{
    list-style: none;
    position: relative;
    display: none;
    opacity: 1;
    visibility: visible;
    min-width: 160px;
    width: 100%;
    z-index: 999;
    padding-left: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.mobilemenu{
    display: none;
} 



@media screen and (max-width: 786px){
    .power-main-menu{
        top: 50px;
        
        display: none;
    }
}    