/* menu-css */
.header-menu li a{
	display:block;
	padding: 5px;
}
.header-menu > li > a {
    padding: 15px 0 15px 0;
    margin-left: 0;
    margin-right: 50px !important;
    transition: 0.5s;
    color: #616161;
    font-size: 16px;
    display: inline-block;
    position: relative;
}
.header-menu > li:last-child > a {
    margin-right: 0;
}
.header-menu > li:first-child > a {
    margin-right: 0;
    padding-right: 0;
}
.header-menu > li> a::before {
    content: '';
    position: absolute;
    transition: 0.5s;
    bottom: 10px;
    left: 0;
    width: 120%;
    height: 2px;
    background-image: linear-gradient(270deg, rgb(184 184 184) 0%, rgb(184 184 184) 100%);
    background-position: 0 0px!important;
    background-size: 100%!important;
    background-repeat: no-repeat!important;
    background-color: #961622!important;
}
.inner-page .header-menu > li> a::before {
	background-color: #961622!important;
	background-image: linear-gradient(270deg, rgb(151 152 154) 0%, rgb(151 152 154) 100%);
    bottom: 0;
}
.inner-page .header-menu > li > a:hover::before {
   background: linear-gradient(98deg, rgb(151 152 154) 100%, rgb(151 152 154) 100%);
    transition: 2s;
    color: var(--gold);
    background-position: 500px 0px!important;
}
.header-menu > li > a:hover::before {
  background: linear-gradient(98deg, rgb(250 250 250) 100%, rgb(150 22 34) 100%);
    transition: 2s;
    background-position: 500px 0px!important;
}
.wrap-menu {
    width: 100%;
}
.header-menu li.megatab .level-0.sub-menu {
    padding: 0!important;
}
.header-menu > li > .sub-menu{
	min-height:0;
	height:0;
}
.header-menu > li:hover > .sub-menu{
	min-height:auto;
	height:auto;
}
.sub-menu {
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    font-size: 12px;
    right: auto;
    width: 200px;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transition-property: opacity,visibility;
    -webkit-transition-duration: .3s;
    -ms-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease-in;
    -ms-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
}
.header-menu li > .sub-menu {
    border-radius: 2px;
    box-shadow: 1px 5px 14px rgb(0 0 0 / 20%);
    border: none;
}
.header-menu li >.mega-tabmenu .sub-menu, 
.header-menu li >.mega-tabmenu.sub-menu {
    box-shadow: unset!important;
    padding: 0!important;
}

.header-menu li:hover > .sub-menu{
	opacity:1;
	visibility:visible;
	margin-top:0;
	z-index: 99;
	overflow:visible;
}
.mega-image-bg{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: .1;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-size: cover !important;
}
.header-menu li{
	position:relative;
	font-size: 14px;
}
.header-menu li.megatab{
	position:static;
}

.header-menu li ul li ul {
    top: 0;
    right: auto;
    left: 100%;
}
.header-menu{
	align-items: stretch;
	position:relative;
	display:flex;
}
.header-menu > li {
    float: right;
    display: flex;
    flex-direction: column;
}
.header-menu > li.open-menu .level-0.sub-menu {
	opacity:1;
	visibility:visible;
	margin-top:0;
	z-index:100;
	height: auto;
    max-height: none;
}
.level-0.sub-menu {
	width:99%;
	height: auto;
	margin-right: 7px;
}
.level-0.sub-menu > li {
    float: right;
    width: 100%;
    position: unset;
	height: 100%;
    min-height: inherit;
}
 .level-0.sub-menu li ul {
    margin-top: 0;
    right: 0;
    top: 100%;
    border: none;
    width: 100%;
    position: static;
}
.level-0.sub-menu > li > ul >li.active ul{
	visibility: visible;
    opacity: 1;
}
.level-0.sub-menu > li > ul {
    width: 20%;
    float: right;
    right: 0;
    top: 100%;
    position: unset;
    margin-top: 0;
    border: none;
	display: flex;
    flex-direction: column;
	height: 100%;
    min-height: inherit;
}
.level-0.sub-menu > li > ul >li > ul.sub-menu {
    width: 80%;
    position: absolute;
    left: 0;
    right: auto;  
    top: 0;
    flex-wrap: wrap;
    transition:.3s;
    padding-top: 12px;
    visibility:hidden;
    opacity:0;
    border: none;
	height: 0;
    max-height: 0;
	transition: none;
}
.header-menu li.megatab.open-menu .mega-tabmenu.sub-menu {
    opacity: 1;
    visibility: visible;
}
.level-0.sub-menu > li > ul >li.active > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    z-index: 500;
	display: flex;
	height:100%;
	    max-height: none;
}
.level-0.sub-menu > li > ul >li > ul.sub-menu >li {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 10px;
    margin-bottom: 20px;
	margin-top:10px
}
.level-0.sub-menu > li > ul > li > a {
    background-color: #F9F9F9;
    color: var(--color1);
    position: relative;
    display: flex;
	width: 100%;
    align-items: center;
    transition: none;
    padding: 8px 12px;
    border: none;
    font-weight: bold;
}
.level-0.sub-menu > li > ul > li {
    border-bottom: 1px solid #cecece;
    border-left: 1px solid #cecece;
    position: static;
	display: flex;
    flex-grow: 1;
}
.sub-menu > li.menu-item-has-children > a:after,
.level-0.sub-menu > li > ul > li > a:after {
    content: "";
    border: solid  #000;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(315deg);
    -webkit-transform: rotate(315deg) translateY(50%);
    position: absolute;
    right: 11px;
    top: 50%;
}
.mega-tabmenu .sub-menu > li.menu-item-has-children > a:after {
    content: none;
}
.level-0.sub-menu > li > ul >li > ul.sub-menu >li > span,
 .level-0.sub-menu > li > ul >li > ul.sub-menu >li >a {
   padding-bottom: 6px;
   border-bottom: 1px solid #cecece;
   font-size: 13px;
   line-height: 17px;
   color: var(--color2);
   text-transform: uppercase;
   font-weight: bold;
   display: block;
    padding-top: 5px;
}
.level-0.sub-menu a{
	color: #8f8f8f;
	padding: 5px 0;
	display: block;
	font-weight: normal;
	transition: 0.3s;
}
.level-0.sub-menu a:hover{
	color: var(--color2);
}
.level-0.sub-menu > li > ul > li:last-child {
    border-bottom: none;
}
.level-0.sub-menu > li > ul >li.active a {
    background: #fff;
}

.level-0.sub-menu > li > ul >li.active {
    border-left-color: #fff;
}

/* Simple mega-menu */
.mega-menu .mega-image {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 200px;
    height: auto;
    z-index: -1;
	max-height: 100%;
    opacity: 0.5;
}
.mega-menu > .sub-menu {
    width: 99%;
    right: 0;
    left: 0;
    padding: 0;
    overflow: hidden;
    z-index: 91;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
	margin-right: 7px;
    margin-left: 5px;
}
.header-menu .mega-menu {
    position: static;
}

.mega-menu > ul > li {
    flex: 0 0 20%;
    max-width: 20%;
    margin: 8px 0;
    padding: 0 12px;
	font-size: 14px;
}
.mega-menu .sub-menu .menu-item-has-children > a:after{
	content:none
}
.mega-menu > .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    width: auto;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
}
 .mega-menu > .sub-menu > li > a {
    font-family: var(--bold_font);
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    color: var(--color2);
}
.header-menu > .menu-item-has-children > a::after {
   content: "";
border: solid #616161;
    
border-width: 0 1px 1px 0;
display: inline-block;
padding: 2.5px;
transform: rotate(45deg) translateY(-50%);
-webkit-transform: rotate(45deg) translateY(-50%);
position: absolute;
right: -13px;
top: 50%;
}
.magaimg {
    padding-left: 300px !important;
}
.headerright, .headerright .wrap-menu, .headerright .header-menu, .header-menu li.megatab {
    position: unset;
}
.mega-menu .mega-image {
   position: absolute;
left: 36px;
top: 50%;
max-width: 200px;
height: auto;
z-index: -1;
max-height: calc(100% - 40px);
object-fit: cover;
transform: translateY(-50%);
}
.headerright .header-menu li.megatab > ul {
    left: 0;
right: 0;
    padding: 0 5% !important;
}
@media screen and (max-width: 1200px) {
    .header-logo {
        padding-top: 45px;
    }
.header-menu > li > a {
    margin-left: 25px;
    font-size: 15px;
}
.header-menu > li> a::before {
    width: 100%;
}

}
@media screen and (max-width: 992px) {
.header-logo {
    padding-top: 0;
}
.headerright {
    margin-top: 0;
}

}


