header *,
header *::before,
header *::after {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

header.scrolling {
  overflow-y: hidden;
}

header a,
header button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  text-decoration: none;
}

@media only screen and (max-width: 768px) {
  header a,
  header button {
    cursor: default !important;
    border: none;
    outline: none;
  }
}

header img,
header video {
  display: block;
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

header {
  width: 100%;
  height: auto;
  z-index: 999;
  background: var(--main-background-color);
}

header .wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
}

header .brand { width: 16rem; height: 3rem; background-color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
header .brand.default { padding: 0.2rem 0.5rem; }
header .brand > .logo { display: flex; width: fit-content; height: 100%; align-items: center; justify-content: center; }
header .brand > .logo > img { object-fit: contain; height: 100%; }
header .brand > .center_name { font-weight: bold; }

header .navbar {
  max-width: 100%;
  height: 100%;
  flex : 1;
  display: flex;
}

header .menu > .menu-item {
  position: relative;
  display: inline-flex;
  flex: 1;
}

header .menu > .menu-item > a {
  flex: 1;
  display: flex;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: inherit;
  color: #fff;
  text-transform: capitalize;
  text-rendering: optimizeLegibility;
  -webkit-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
  align-items: center;
  justify-content: center;
}

header .menu > .menu-item:hover > a, header .menu > .menu-item.on > a { color: #fff600; background-color: var(--dark-background-color); }

header .menu > .menu-item > .sub-menu {
  position: absolute;
  top: 100%;
  width: 100%;
  height: auto;
  padding: 0 0;
  border: none;
  outline: none;
  opacity: 0;
  visibility: hidden;
  border-top: 3px solid #e91e63;
  background: #fff;
  -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
          box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  -webkit-transform: translateY(-1rem);
      -ms-transform: translateY(-1rem);
          transform: translateY(-1rem);
  -webkit-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

header .menu > .menu-item > .sub-menu > .menu-item { display: block; }
header .menu > .menu-item > .sub-menu > .menu-item:hover { background-color: var(--light-background-color); }

header .menu > .menu-item > .sub-menu > .menu-item > a {
  display: block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  line-height: inherit;
  padding: 0.5rem 1.25rem;
  color: #000;
  text-transform: capitalize;
  text-rendering: optimizeLegibility;
  -webkit-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

header .opened-menu { display: none; cursor: pointer; }
header .opened-menu > img { object-fit: contain; width: 100%; }

header .closed-menu {
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  outline: none;
  background: none;
}
header .closed-menu > img { object-fit: contain; width: 100%; }

header .overlay {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.6);
  -webkit-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

@media only screen and (min-width: 993px) {
  header .menu { flex: 1; display: flex; }
  
  header .menu > .menu-item { justify-content: center; }
  
  header .menu > .menu-item > .sub-menu {
    border: var(--main-background-color) 0.3rem solid; border-top: 0; 
    -webkit-border-radius: 0 0 0.8rem 0.8rem; 
            border-radius: 0 0 0.8rem 0.8rem; 
  }
  
  header .menu > .menu-item:hover > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  
  header .menu > .menu-item:hover > .sub-menu > .menu-item:last-child { -webkit-border-radius: 0 0 0.5rem 0.5em; border-radius: 0 0 0.5rem 0.5rem; }
}

@media only screen and (max-width: 992px) {
  header { padding-left: 0; padding-right: 0; background-color: #fff; }
  
  header .brand { width: fit-content; margin-right: 0.5rem; flex: 1; justify-content: center; order: 2; }
  header .opened-menu { margin-left: 0.5rem; display: flex; order: 1; }
  
  header .overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  header .navbar {
    position: fixed;
    top: 0;
    left: -18rem;
    width: 18rem;
    height: 100%;
    padding: 1rem 0;
    z-index: 999;
    opacity: 0;
    overflow-y: auto;
    visibility: hidden;
    background: var(--light-background-color);
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  header .navbar.active {
    left: 0rem;
    opacity: 1;
    visibility: visible;
  }
  header .navbar::-webkit-scrollbar {
    width: 5px;
  }
  header .navbar::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background: #e6e6e6;
    -webkit-box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
            box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
  }
  header .menu {
    width: 100%;
    height: auto;
    margin-top: 3.5rem;
  }
  header .menu > .menu-item {
    display: block;
    margin: 0;
  }
  header .menu > .menu-item > a {
    padding: 0.75rem 1rem;
    color: #fff;
    background-color: var(--main-background-color); 
    border-top: var(--light-border-color) 1px solid; 
    border-bottom: var(--dark-border-color) 1px solid;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  header .menu > .menu-item > .sub-menu {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-height: 0;
    padding: 0px;
    border: none;
    outline: none;
    opacity: 1;
    overflow: hidden;
    visibility: visible;
    -webkit-box-shadow: none;
            box-shadow: none;
    -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
            transform: translateY(0px);
  }
  header .menu > .menu-item > .sub-menu > .menu-item > a {
    padding: 0.75rem 2rem;
    color: #000;
    border-bottom: 1px solid #f2f2f2;
  }
  header .opened-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  header .closed-menu {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    top: 1rem;
    right: 0.5rem;
  }
}




/* Main Page Side Navigation */
main.page > .side_navigation { grid-area: side_navigation; margin-bottom: 0.6rem; }
main.page > .side_navigation * { padding: 0; margin: 0; box-sizing: border-box; }
main.page > .side_navigation a { text-decoration: none; }
main.page > .side_navigation > .menu > .menu-item { display: none; }
main.page > .side_navigation > .menu > .menu-item.on { display: flex; flex-direction: column; gap: 0.6rem; }
main.page > .side_navigation > .menu > .menu-item > a { padding: 1.5rem 0; color: #fff; background-color: var(--dark-background-color); font-size: 1.5rem; font-weight: bold; display: flex; justify-content: center; align-items: center; }
main.page > .side_navigation > .menu .sub-menu { display: flex;  flex-direction: column; gap: 0.3rem; }
main.page > .side_navigation > .menu .sub-menu > .menu-item { display: flex;  }
main.page > .side_navigation > .menu .sub-menu > .menu-item > a { width: 100%; padding: 0.8rem 1.5rem; color: #000; border: var(--light-dark-background-color) 1px solid; background: url(/img/icon/main_info_icon.png) no-repeat center right; background-size: contain; background-origin: content-box; }
main.page > .side_navigation > .menu .sub-menu > .menu-item.on > a { color: #fff; font-weight: bold; background-color: var(--main-background-color); }