ul {
  padding: 0;
}



.page-template-home-page .header {
  position: absolute;
  z-index: 999;
  top: 0;
}

.header .item-left {
  flex: 0 0 17%;
  /* padding: 0; */
}

.header .logo a {
  font-size: 30px;
  color: #000000;
  font-weight: 700;
  text-decoration: none;
}

.header .logo img {
  width: 100%;
  transition: all .35s ease-in;
}

.header .item-center {
  flex: 0 0 80%;
}

.header .item-right {
  flex: 0 0 17%;
  display: flex;
  justify-content: flex-end;
}

.header .item-right a {
  text-decoration: none;
  font-size: 16px;
  color: #555555;
  display: inline-block;
  margin-left: 10px;
  transition: color 0.3s ease;
}





.page-template-home-page .menu>#access>ul>li>a {
  color: #ffffff;
}

.header .menu>#access>ul>li .sub-menu {
  position: absolute;
  z-index: 500;
  background-color: #ffffff;
  box-shadow: -2px 2px 70px -25px rgba(0, 0, 0, 0.3);
  padding: 20px 30px;
  transition: all 0.5s ease;
  margin-top: 25px;
  opacity: 0;
  visibility: hidden;
}



.page-template-home-page .header .menu>#access>ul>li>a,
.page-template-home-page .header.sticky-top .menu>#access>ul>li>a {
  color: #000;
}

.page-template-home-page .header .menu-item-has-children:after {
  color: #000;
}

.page-template-home-page .menu-item-has-children:after {
  color: #fff;
}



@media (min-width: 992px) {
  .header .menu>#access>ul>li.menu-item-has-children:hover .sub-menu {
    margin-top: 19px;
    visibility: visible;
    opacity: 1; 
  }
}

.header .menu>#access>ul>li .sub-menu>ul>li {
  line-height: 1;
}

.header .menu>#access>ul>li .sub-menu>ul>li>a {
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
  color: #555555;
  transition: color 0.3s ease;
  text-decoration: none;
  text-transform: capitalize;
}

.header .menu>#access>ul>li .single-column-menu {
  min-width: 280px;
  max-width: 350px;
}

.header .menu>#access>ul>li .sub-menu.mega-menu>.list-item>ul>li {
  line-height: 1;
  display: block;
}

.header .menu>#access>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
  padding: 10px 0;
  display: inline-block;
  font-size: 15px;
  color: #555555;
  transition: color 0.3s ease;
}

.header .menu>#access>ul>li .sub-menu.mega-menu {
  left: 50%;
  transform: translateX(-50%);
}

.header .menu>#access>ul>li .sub-menu.mega-menu-column-4 {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 15px;
}

.header .menu>#access>ul>li .sub-menu.mega-menu-column-4>.list-item {
  flex: 0 0 25%;
  padding: 0 15px;
}

.header .menu>#access>ul>li .sub-menu.mega-menu-column-4>.list-item .title {
  font-size: 16px;
  color: #ea4636;
  font-weight: 500;
  line-height: 1;
  padding: 10px 0;
}

button.sub-menu-toggle {
  display: none;
}

.header .menu>#access>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title {
  text-align: center;
}

.header .menu>#access>ul>li .sub-menu.mega-menu-column-4>.list-item img {
  max-width: 100%;
  width: 100%;
  vertical-align: middle;
  margin-top: 10px;
  height: 300px;
  object-fit: cover;
}

.header .menu>#access>ul>li.menu-item-has-children .sub-menu {
  padding: 0;
  min-width: 230px;
}

.header .menu>#access>ul>li.menu-item-has-children .sub-menu a {
  padding: 10px 25px;
  font-size: 14px;
  line-height: 20px;
  color: #000;
  display: block;
}

.header .menu>#access>ul>li.menu-item-has-children .sub-menu a:hover{
  color: #c7161d;
}




 

.mobile-menu-head,
.mobile-menu-trigger {
  display: none;
}



.menu-item-has-children:after {
  content: "\f078";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  color: #000;
  font-size: 11px;
}

/*responsive*/
@media (max-width: 1199px) {
  .header .item-center {
    order: 3;
    flex: 0 0 60%;
  }



  .header .item-left,
  .header .item-right {
    flex: 0 0 auto;
  }

  .v-center {
    justify-content: space-between;
  }


  .header:hover .logo img {
    filter: invert(0);
  }

  .header .mobile-menu-trigger {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #2a2a2a;
    border-radius: 5px;
  }

  .header .mobile-menu-trigger span {
    display: block;
    height: 2px;
    background-color: #fff;
    width: 30px;
    position: relative;
    transition: all .35s ease-in;
  }

  .header .mobile-menu-trigger span:before,
  .header .mobile-menu-trigger span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
  }

  .header .mobile-menu-trigger span:before {
    top: -6px;
  }

  .header .mobile-menu-trigger span:after {
    top: 6px;
  }

  .header .item-right {
    align-items: center;
  }

  .header-item.item-left {
    width: 230px;
  }

  .header .menu {
    position: fixed;
    width: 320px;
    background-color: #2a2a2a;
    right: 0;
    top: 0;
    height: 100vh;
    overflow: hidden;
    transform: translate(100%);
    transition: all 0.5s ease;
    z-index: 999999;
  }

  .header .menu.active {
    transform: translate(0%);
  }

  .header .menu>#access>ul>li {
    line-height: 1;
    margin: 0;
    display: block;
    padding: 0;
  }

  .header .menu>#access>ul>li>a,
  .header .menu>#access>ul>li .sub-menu li {
    padding: 0 50px 0 15px;
    text-align: left;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-transform: capitalize;
    color: #fff;
    font-weight: 600;
    padding-right: 15px;
    padding-left: 15px;
    font-size: 12px;
  }

  .header .menu>#access>ul>li>a .header .menu>#access>ul>li {
    display: block;
    margin-left: 0;
  }

  .header .menu>#access>ul>li>a i {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 0;
    right: 0;
    text-align: center;
    line-height: 50px;
    transform: rotate(-90deg);
  }

  .header .menu .mobile-menu-head {
    display: flex;
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 501;
    position: sticky;
    background-color: #2a2a2a;
    top: 0;
  }

  .header .menu .mobile-menu-head .go-back {
    height: 50px;
    width: 50px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    display: none;
  }

  .header .menu .mobile-menu-head.active .go-back {
    display: block;
  }

  .header .menu .mobile-menu-head .current-menu-title {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
  }

  .header .menu .mobile-menu-head .mobile-menu-close {
    height: 50px;
    width: 50px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #fff;
    font-size: 25px;
  }

  .header .menu .menu-main {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
  }

  .header .menu>#access>ul>li .sub-menu.mega-menu,
  .header .menu>#access>ul>li .sub-menu {
    visibility: visible;
    opacity: 1;
    position: absolute;
    box-shadow: none;
    margin: 0;
    padding: 15px;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 50px;
    max-width: none;
    min-width: auto;
    display: none;
    transform: translateX(0%);
    overflow-y: auto;
  }

  .header .menu>#access>ul>li .sub-menu.active {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }

  @keyframes slideLeft {
    0% {
      opacity: 0;
      transform: translateX(100%);
    }

    100% {
      opacity: 1;
      transform: translateX(0%);
    }
  }

  @keyframes slideRight {
    0% {
      opacity: 1;
      transform: translateX(0%);
    }

    100% {
      opacity: 0;
      transform: translateX(100%);
    }
  }

  .header .menu>#access>ul>li .sub-menu.mega-menu-column-4>.list-item img {
    margin-top: 0;
  }

  .header .menu>#access>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title {
    margin-bottom: 20px;
  }

  .header .menu>#access>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center:last-child .title {
    margin-bottom: 0px;
  }

  .header .menu>#access>ul>li .sub-menu.mega-menu-column-4>.list-item {
    flex: 0 0 100%;
    padding: 0px;
  }

  .header .menu>#access>ul>li .sub-menu>ul>li>a,
  .header .menu>#access>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
    display: block;
  }

  .header .menu>#access>ul>li .sub-menu.mega-menu>.list-item>ul {
    margin-bottom: 15px;
  }

  .menu-overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .menu-overlay.active {
    visibility: visible;
    opacity: 1;
  }

  .menu-item-has-children:after {
    content: "\f054";
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    width: 50px;
    height: 50px;
    font-weight: 600;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
  }

  .menu-item-has-children {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .menu-item-has-children a {
    width: calc(100% - 50px) !important;
  }

  .header .menu>#access>ul>li .sub-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
}

































@media (min-width:1200px) {
  .header .item-right {
    display: none;
  }
}







@media (max-width:1439px) {


  .header .menu>#access>ul>li {
    margin-left: 10px;
  }
}

@media (max-width:1199px) {
  .header-item-wrapper {
    justify-content: flex-end !important;
    padding: 12px 0;
  }

  
}

@media (max-width: 767px) {


  .header .item-center {
    order: 3;
    flex: 0 0 50%;
  }


 

  .header-item-wrapper {
    gap: 0;
    padding: 12px 5px;
  }

}

@media (max-width:576px) {
  .header .item-center {
    flex: 0 0 17%;
  }

}


.menunav{
  display: flex;
  gap: 15px 30px;
}

.menunav li a{
  font-family: "Open Sans", Arial, sans-serif;;
  font-size: 14px;
  line-height: 14px;
  color: #0f0f0f;
  font-weight: 500;
  padding: 0;
}

.home .menunav li a{
  color: #0f0f0f;
}

.menu.active .menunav{
  flex-direction: column;
}

.menu.active .menunav li a{
  color: #000;
}

.menu.active .menu-item-has-children::after{
  color: #fff;
	cursor: pointer;
}

.custom-header .menunav .menu-item .sub-menu{
  display: block;
}

.current_page_item a{
  position: relative;
}

.current_page_item a::after{
  position: absolute;
  content: "";
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #c7161d;
}

@media (max-width: 1200px){
  .current_page_item a::after{
    display: none;
  }
}

.header .menu>#access>ul>li.menu-item-has-children .sub-menu a::after{
  display: none;
}

.header .menu>#access>ul>li.menu-item-has-children:hover .sub-menu{
  border-top: 2px solid #c7161d;
}