/*** navbar ***/
.navbar-brand {
  float: left;
  width: 130px;
  position: relative;
  z-index: 2;
}

header.scrolled .navbar-brand {
  float: left;
  width: 100px;
  position: relative;
  z-index: 2;
}


.navbar-brand img {
  width: 100%;
  float: left;
  height: auto;
}

.navbar-brand span {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 35px;
  text-shadow: 2px 5px 8px rgba(0, 0, 0, 0.16);
  color: #777;
}

.navbar-brand span:nth-of-type(1) {
  color: #ff5252;
}

.navbar-brand:hover span {
  text-shadow: 2px 5px 8px rgba(0, 0, 0, 0.5);
}

.navbar-default {
  display: flex;
  width: 100%;
  -webkit-transition: all 0.5s ease;
  -moz-transition: position 10s;
  -ms-transition: position 10s;
  -o-transition: position 10s;
  transition: all 0.2s ease;
  position: relative;
  flex-shrink: 0;
  flex-grow: 1;
}

header {
  min-height: 75px;
  border: 0;
  transition: 0.1s all;
  -moz-transition: 0.1s all;
  -webkit-transition: 0.1s all;
  -o-transition: 0.1s all;
  z-index: 99999;
  display: flex;
  align-items: center;
}

header.scrolled {
  min-height: 50px;
  animation: smoothScroll 0.1s forwards;
  background-color: var(--gold);
  position: fixed;
  top: 0;
  padding: 0;
}

@keyframes smoothScroll {
  0% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0px);
  }
}

.menu-list-right,
.menu-list {
  display: flex;
}

.menu-list-right {
  margin-left: auto;
}


#menu {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 40px;
  width: 100%;
}

header.or #menu {
  align-items: center;
}

.navbar-header {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 9999;
}

.menu .menu-list ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-table;
  position: relative;
  height: 100%;
  margin-left: -35px;
  margin-right: -35px;
}

.menu .menu-list ul li {
  display: block;
  position: relative;
  display: inline-table;
  padding: 0 25px;
}

#menu2.menu-list ul li.current-page a,
.menu .menu-list ul li.current-page a {
  position: relative;
}

.menu .menu-list ul li.current-page a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background: var(--white);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

#menu2 .menu-list ul li.current-page a::after {
  position: absolute;
  content: "";
  width: 60px;
  height: 2px;
  background: var(--white);
  left: 0;
  bottom: 0;
  margin: auto;
}

.menu .menu-list ul li:first-child:after {
  width: 0;
}


.menu .menu-list ul li a {
  display: block;
  position: relative;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  padding: 2px 0;
  text-transform: uppercase;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  font-size: 12px;
  letter-spacing: 2px;
  z-index: 1;
}

.menu .menu-list ul li:last-child:after {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 1.5px;
  height: 30px;
  background: var(--white);
}

.menu .menu-list ul li:last-child a {
  font-weight: 700;
}

header.or .menu .menu-list ul.sub-menu li a:hover,
.menu .menu-list ul.sub-menu li a:hover,
.menu .menu-list .sub-menu-parent:hover a.icon-down,
.menu .menu-list ul li a:hover {
  color: var(--gold);
}

header.or .menu .menu-list .sub-menu-parent:hover a.icon-down,
.menu .menu-list ul li a:hover {
  color: var(--brown);
}


.menu .menu-list ul li a.icon-down {
  padding-right: 25px;
}

.menu .menu-list ul li a.icon-down:after {
  right: 8px;
  top: 7px;
}


.menu .menu-list .sub-menu-parent:hover a.icon-down:after {
  transform: rotate(450deg);
}

.menu .menu-list .sub-menu-parent .sub-menu-in a.icon-down:after {
  transform: rotate(-90deg);
}


#menu2 .menu-list li.menu-item-has-children.active span.arrow,
.menu .menu-list .sub-menu-parent .sub-menu-in:hover a.icon-down:after {
  transform: rotate(90deg);
}

#menu ul.sub-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 205px;
  left: 17px;
  padding: 11px 15px;
  background: var(--white);
  margin-top: 9px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  border-top: 4px solid var(--blue);
}

#menu ul.sub-menu a {
  font-size: 10px;
}

#menu ul li.menu-item-has-children:hover ul.sub-menu ,
.sub-menu-parent:hover ul.sub-menu {
  opacity: 1;
  visibility: visible;
}

.top-nav .sub-menu-parent ul.sub-menu li,
.menu .menu-list ul.sub-menu li {
  float: left;
  width: 100%;
  padding: 4px 0;
  border-bottom: 1px solid var(--black);
}

.top-nav .sub-menu-parent ul.sub-menu li:last-child,
.menu .menu-list ul.sub-menu li:last-child {
  border-bottom: 0;
}

.menu .menu-list .sub-menu-parent:hover ul.sub-menu .sub-menu-in .sub-menu {
  opacity: 0;
  visibility: hidden;
}

.menu .menu-list .sub-menu-parent ul.sub-menu .sub-menu-in .sub-menu {
  left: 100%;
  top: -24px;
}

#menu ul li.menu-item-has-children {
  position: relative;
}

#menu2 ul li.menu-item-has-children span.arrow,
#menu ul li.menu-item-has-children:after {
  width: 10px;
  height: 10px;
  background-image: url("../images/svg/arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  content: "";
  right: 10px;
  top: 7px;
  margin: auto;
  transform: rotate(-90deg);
  -webkit-transition: .2s ease-in-out;
  -moz-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

#menu ul li.menu-item-has-children:hover:after {
  transform: rotate(90deg);
}

#menu ul li.menu-item-has-children a {
  padding-right: 20px;
}


.icon-down:hover {
  color: #101e8e;
}

.col-menu-filter {
  opacity: 0;
}

.col-menu-filter:after {
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--white);
  content: '';
  left: 100px;
  top: 26px;
  z-index: -1;
  opacity: 0;
  -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
         transition: all 1s ease;
}

.menu2-col {
  float: left;
  padding: 60px 100px;
  position: relative;
}

.menu2-col:first-child::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 0;
  background: var(--white);
  right: 0;
  top: 0;
  opacity: 0;
  -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
         transition: all 1s ease;
}

.menu2-title-filter {
  position: absolute;
  padding-right: 40px;
  background: #58585b;
  left: 100px;
  top: 15px;
}

.col-menu {
  float: left;
  width: 100%;
  padding: 15px 60px;
  position: relative;
}

.menu2-col:last-child .col-menu {
  max-width: 320px;
  width: 100%;
}

#menu2 .col-footer-head {
  color: var(--white);
  opacity: 0;
}


#menu2 .menu-list ul.sub-menu {
  position: relative;
  background: transparent;
  opacity: 1;
  height: 0;
  margin: 0;
  overflow: hidden;
  visibility: visible;
  padding-left: 20px;
  box-shadow: none;
  display: block;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.26s ease;
  clear: both;
}

#menu2 .menu-list li.menu-item-has-children.active ul.sub-menu {
  padding-top: 20px;
  height: 100%;
  transform: scaleY(1);
  transition: transform 0.26s ease;
}

#menu2 .menu-list ul.sub-menu li {
  text-align: left;
}

#menu2 ul li.menu-item-has-children span.arrow {
  background-image: url("../images/svg/arrow-w.svg");
  cursor: pointer;
  width: 18px;
  height: 18px;
}

#menu2 {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 85px);
  opacity: 1;
  visibility: hidden;
  overflow: hidden;
  -webkit-transition: opacity 0.5s, visibility 0.35s, width 0.35s;
  transition: opacity 0.5s, visibility 0.35s, width 0.35s;
  z-index: 99999;
}

.header:after {
  content: "";
  background: #251B07;
  right: -200%;
  top: 0;
  width: 100%;
  height: 100vh;
  position: fixed;
  transition: all .35s ease;
  z-index: 99;
}

.nav-op .header:after {
  right: 0;
}



#menu2.open {
  opacity: 1;
  visibility: visible;
}




#menu2.open .col-menu-filter:after {
    width: calc(100% - 140px);
    opacity: 1;
}


#menu2.open .menu2-col:first-child::after {
  height: 100%;
  opacity: 1;
}

#menu2.open .menu-col-top,
#menu2.open ul.menu li {
  -webkit-animation: fadeInRight 0.35s ease forwards;
  animation: fadeInRight 0.35s ease forwards;
  -webkit-animation-delay: 0.35s;
  animation-delay: 0.35s;
}

#menu2.open ul.menu li:nth-of-type(2) {
  -webkit-animation-delay: 0.45s;
  animation-delay: 0.45s;
}

#menu2.open ul.menu li:nth-of-type(3) {
  -webkit-animation-delay: 0.55s;
  animation-delay: 0.55s;
}

#menu2.open ul.menu li:nth-of-type(4) {
  -webkit-animation-delay: 0.55s;
  animation-delay: 0.55s;
}

#menu2 .menu-list {
  position: relative;
  height: 100%;
  overflow: auto;
  top: 0;
  text-align: left;
  z-index: 100;
}

#menu2 .menu-list ul.menu li {
  position: relative;
  opacity: 0;
  padding: 15px 0;
  float: left;
  clear: both;
  list-style: none;
  width: 100%;
}

#menu2 .menu-list ul.menu li a {
  font-size: 24px;
  color: var(--white);
  float: left;
  width: 100%;
}

#menu2 .search, #menu2 .search input {
  height: 40px;
}

#menu2 .menu-list ul.menu li a:hover {
  color: var(--green);
}

.current-page-ancestor a,
.current-page-ancestor ul.sub-menu li.current_page_item a,
#menu2 .menu-list ul li.current_page_item a,
.menu .menu-list ul li.current_page_item a {
  font-weight: bold;
  color: var(--green) !important;
}

.current-page-ancestor ul.sub-menu li a {
  color: var(--black) !important;
}

#menu2 .menu-col {
  float: left;
  width: 100%;
}

.menu-col-top {
  float: left;
  width: 100%;
  opacity: 0;
}

.col-menu ul.columns-2 li {
  display: inline-table;
  float: unset !important;
}

.menu-nav-m {
  display: flex;
  align-items: flex-end;
  padding: 20px 0 40px;
}

.menu-nav-sosmed {
  margin-bottom: 20px;
}

.menu-nav-sosmed ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.menu-nav-sosmed ul li {
  display: inline-table;
}


/*** sandwich ***/

header.scrolled .sandwich {
  position: fixed;
}


.top-nav {
    padding-top: 10px;
}

.top-nav ul {
  float: right;
}

.top-nav .sub-menu-parent ul.sub-menu {
  margin-top: 18px;
  left: 10px;
  z-index: 2;
}

.top-nav .sub-menu-parent ul.sub-menu li {
  width: 100%;
}

.top-nav .sub-menu-parent:hover ul.sub-menu {
  color: #58585b;
}

.top-nav ul li {
  display: inline-table;
  padding: 0 12px;
  float: left;
  position: relative;
}

.top-nav ul li a {
  font-size: 10px;
  color: var(--white);
  float: left;
}

.top-nav ul.sub-menu li a {
  color: #58585b;
}

.top-nav ul li a:hover {
  color: var(--blue);
}

.sandwich-wrap .sandwich {
  display: none;
}

.sandwich {
  width: 35px;
  height: 35px;
  right: 25px;
  cursor: pointer;
  position: absolute;
  z-index: 99999;
  display: none;
}

.sandwich span {
  display: block;
  position: absolute;
  top: 7px;
  left: 0;
  width: 35px;
  height: 5px;
  background-color: var(--white);
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  z-index: 50;
  border-radius: 20px;
}

.sandwich span:nth-of-type(2) {
  top: 17px;
}

.sandwich span:nth-of-type(3) {
  top: 27px;
  left: 0;
}

.sandwich.active .top {
  -moz-transform: translateY(10px) translateX(0) rotate(45deg);
  -o-transform: translateY(10px) translateX(0) rotate(45deg);
  -webkit-transform: translateY(10px) translateX(0) rotate(45deg);
  transform: translateY(10px) translateX(0) rotate(45deg);
  background-color: var(--white);
}

.sandwich.active .middle {
  opacity: 0;
}

.sandwich.active .bottom {
  -moz-transform: translateY(-10px) translateX(0) rotate(-45deg);
  -o-transform: translateY(-10px) translateX(0) rotate(-45deg);
  -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
  transform: translateY(-10px) translateX(0) rotate(-45deg);
  width: 35px;
  background-color: var(--white);
}

.sandwich.active:hover .top {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.sandwich.active:hover .middle {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.sandwich.active:hover .bottom {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}


.menu-nav-m {
  opacity: 0;
  float: left;
}

#menu2.open .menu-nav-m {
  -webkit-animation: fadeInRight 0.35s ease forwards;
  animation: fadeInRight 0.35s ease forwards;
  -webkit-animation-delay: 0.55s;
  animation-delay: 0.55s;
}


@media screen and (max-width: 1280px) {

  .menu .menu-list ul li a {
    font-size: 10px;
  }

}

@media screen and (max-width: 1200px) {

  .menu .menu-list ul {
    margin-left: -20px;
    margin-right: -20px;
  }

  .menu .menu-list ul li {
    padding: 0 20px;
  }

}


@media screen and (max-width: 900px) {

  .sandwich {
    display: block;
  }

  header,
  header.scrolled {
    min-height: 75px;
  }

  /*** menu full page ***/

  .top-nav,
  #menu,
  .hide {
    display: none;
  }


  .side-r {
    right: 75px;
    bottom: -60px;
  }

  .col-menu {
    padding: 15px;
  }

  .menu2-col .row-60 {
    margin-left: -25px;
    margin-right: -25px;
  }

  #menu2 .row-100 {
    margin-left: -60px;
    margin-right: -60px;
  }

  .menu2-col {
    padding: 30px 60px;
  }

  #menu2 .col-footer-head {
    margin-bottom: 0;
  }

}


@media screen and (max-width: 600px) {

  .sandwich {
    right: 15px;
  }

  .navbar-brand {
    width: 115px;
  }

  header, header.scrolled {
    min-height: 55px;
  }

  #page-wrapper .header-hold {
    height: 55px;
  }


}

@media screen and (max-width: 340px) {

  #menu2 .menu-list ul.menu li a {
    font-size: 20px;
  }


}


@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
