
/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


.header-menu {
    border-left: none;
    border-right: none;
    display: inline-block;
}


.header-menu .menu {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-block;
}
.header-menu .menu > li:first-child {
    border-left: 0;
}
.header-menu .menu > li {
    position: relative;
    float: left;
    display: inline-block;
}
.header-menu .menu li {
    position: relative;
    padding: 28px 0px;
}
.header-menu .menu > li a {
    padding: 0 20px;
    text-decoration: none;
    color: #98252B;
    font-size: 15px;
    line-height: 29px;
    font-weight: 700;
    text-transform: uppercase;
}
.header-menu li.current-menu-item > a , .header-menu li.current-menu-ancestor > a{
    color: #98252b !important;
}
.header-menu .menu > li a:hover{
    color: #98252b;
}

.header-menu .menu > li:last-child a:before{
    display: none;
}

.header-menu .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 220px;
    padding: 0;
    list-style: none;
    width: 220px;
    z-index: 9999999;
}
.header-menu .menu > li > .sub-menu:first-of-type{
    top: 85px;
    left: 0;
        border-top: 3px #98252B solid;
    
        border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
  
    
}
.header-menu li:hover > .sub-menu {
    display: block;
}

.header-menu .menu > li .sub-menu li {
    padding: 0px;
    border-bottom:1px solid #e2e2e2;
    background: #fff;
}
.header-menu .menu > li .sub-menu li:last-child {
/*    border-radius: 0 0 15px 15px;*/
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
.header-menu .menu > li .sub-menu a {
/*    border-bottom: 1px solid;*/
    width: 100%;
    display: inline-block;
    padding: 10px;
}
.header-menu .menu > li .sub-menu li:last-child a{
    border-bottom: 0;
}
.header-menu .menu-item-has-children > a:after {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    margin-left: 10px;
    margin-right: 10px;
    font-size: 10px;
    position: absolute;
    right: 5px;
    top: 19px;
   /* display: inline-block; */
    display: none;
    font-weight: 900;
}
.header-menu .menu > .menu-item-has-children > a:after {
    content: "\f107";
    top: 20px;
}


/* Mobile*/


.mobile-menu #mobile-icon {
    padding: 13px 0 11px;
    cursor: pointer;
    background: transparent;
    color: #777777;
    border: 0;
}
.mobile-menu #mobile-icon img {
    width: 27px;
    height: 27px;
    border-radius: 0;
}



.mobile-menu{
    float: left;
}
.mobile-menu ul{
    padding-left: 0px;
}
.mobile-menu .menu li {
    list-style: none;
    position: relative;
    margin: 0 28px;
    border-bottom: 1px solid rgba(119, 119, 119, 0.50);
}
.mobile-menu .sub-menu{
    display: none;
}
.mobile-menu .open-menu{
    display: none;
}
.mobile-menu .menu-item-has-children > .open-menu {
    position: absolute;
    top: 20px;
    padding: 7px 5px;
    height: 25px;
    width: 25px;
    background: #98252b;
    color: #fff;
    right: 15px;
    border-radius: 50%;
    display: block;
}
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999999999;
    top: 0;
    left: 0;
    background-color: #98252b;
    background-position: bottom;
    background-size: cover;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 50px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.1);
}
.sidenav a {
    padding: 0px 50px 0px 0px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    color: #98252B;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 59px;
    font-weight: 700;
}

.sidenav a:hover {
    color: #f1f1f1;
}
.sidenav li.current-menu-item > a , .sidenav li.current-menu-ancestor > a{
    color: #f1bc7b !important;
}
.sidenav .closebtn {
    position: absolute;
    top: -7px;
    left: 15px;
    font-size: 28px;
    margin-left: 0;
    padding: 0;
    color: #fff;
}

.sub-menu .menu-item-has-children:before{
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 12px;
    color: #98252B;
}

/* rtl */


html[dir="rtl"] .sub-menu .menu-item-has-children:before{
    content: "\f104";
    right: initial;
    left: 16px;
}

html[dir="rtl"] .header-menu .menu > li {
    float: right;
}

html[dir="rtl"] .header-menu .sub-menu {
    right: 220px;
    left: initial;
}
html[dir="rtl"] .header-menu .menu > li > .sub-menu:first-of-type{
    right: 0;
    left: initial;
}

html[dir="rtl"] .header-menu .menu-item-has-children > a:after {
    content: "\f104";
    left: 5px;
    right: initial;
}

html[dir="rtl"] .header-menu .menu > .menu-item-has-children > a:after {
    content: "\f107";
}
/* rtl Mobile*/
html[dir="rtl"] .mobile-menu{
    float : right;
}
html[dir="rtl"] .mobile-menu ul{
    padding-right: 0px;
    padding-left: initial;
}
html[dir="rtl"] .mobile-menu .menu-item-has-children > .open-menu {
    left: 15px;
    right: initial;
}
html[dir="rtl"] .sidenav {
    right: 0;
    left: initial;
}


html[dir="rtl"] .sidenav .closebtn {
    right: 15px;
    left: initial;
    margin-left: 0;
    margin-right: initial;
    width: 10px;
}











/* responsive */
@media screen and (max-width: 992px) {
    .header-menu{
        display: none;
    }
}

@media screen and (min-width: 993px) {
    .mobile-menu{
        display: none;
    }
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}