header {
  position: fixed;
  top: 30px;
  left: 0;
  height: 100px;
  width: 100%;
  background-color: var(--colorEntity);
  color: #fff;
  z-index: 2000;
}

/* Barra de acessibilidade */
.access-list {
  flex: 1;
  display: flex;
  justify-content: flex-center;
}

.access-list ul,
.access-list li {
  list-style: none;
}
.access-list .access-list-itens {
  display: flex;
  margin: auto;
}

.access-list li i {
  margin-right: 5px;
}

.access-list li a {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.7em;
  //font-weight: 100;
  text-decoration: none;
  padding-left: 10px;
  padding-right: 10px;
  height: auto;
  display: flex;
  align-items: center;
}

/* Fim barra de acessibilidade */

main {
  margin-top: 210px;
}

.logo {
  max-width: 300px;
}
.logoimg {
  width: auto;
  height: 110px;
}
.logoimg img {
  width: 100%;
  height: 100%;
}

.header-area {
  position: fixed;
  top: 0;
  left: 0;
  height: 150px;
  width: 100%;
  color: #fff;
  background-color: #fafafa;
  z-index: 2000;

  .access {
    height: 30px;
    width: 100%;
    background-color: #595640;
    color: #fff;
    z-index: 2000;
  }
  
  .access .access-area {
    max-width: 1140px;
    height: 30px;
    margin: auto;
    display: flex;
    align-items: center;
  }

  .header-content {
    max-width: 1140px;
    height: 120px;
    margin: auto;
    display: flex;
    align-items: center;

    .header-content-links {
      display: none;
      width: 100%;
      text-align: right;
    }

    .header-content-links a {
      padding: 10px 20px;
      font-size: 12px;
      cursor: pointer;
      background-color: var(--colorEntity);
      color: white;
      border: none;
      border-radius: 5px;
      transition: background-color 0.3s;
      text-transform: uppercase;
      text-decoration: none;
    }

    .header-content-links a:hover {
        background-color: #0056b3;
    }
  }
}

.menu-area {
  position: fixed;
  top: 150px;
  left: 0;
  height: 60px;
  width: 100%;
  background-color: var(--colorEntity);
  color: #fff;
  z-index: 2000;
}

.menu-area-content {
  max-width: 1140px;
  height: 60px;
  margin: auto;
  width: 100%;
  color: #fff;
  z-index: 2000;
}

.menu-opener {
  display: none;
}

.menu-principal {
  .menu-itens {
    display: flex;
  }

  ul li {
    list-style: none;
    white-space: nowrap;
    flex: auto;
  }

  li a {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 5px solid #000;
  }

  li a:hover, .active a {
    border-bottom: 5px solid #b28756;
    color: #ccc;
  }

  a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

.subitem-principal {
  min-height: 60px !important;
  height: 100% !important;
}

.submenu-principal {
  display: none;
}

.submenu-principal.active {
  display: block;
}

.submenu-principal ul {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  background-color: var(--colorEntity);
  z-index: 1000;
}

.submenu-principal-right {
  left: auto;
  right: 0;
}

.submenu-principal ul li {
  white-space: nowrap;
  width: 100%;
}

/* Estilizando a barra de rolagem do submenu */
.submenu-principal-scrollbar {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #cecece #f1f1f1;
}

.submenu-principal-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.submenu-principal-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.submenu-principal-scrollbar::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 8px;
  border: 3px solid #f1f1f1;
}

.submenu-principal-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Ativa o submenu */
@media (min-width: 801px) {
  nav ul li:hover .submenu-principal {
    display: block;
  }
  
  .submenu-principal ul {
    top: 60px;
  }

  .header-content-links {
    display: block !important;
  }
}

/*
TABLET
*/
@media (min-width: 450px) and (max-width: 800px) {
  .menu-opener {
    display: block;
    width: 45px;
    margin-right: 30px;
  }

  nav {
    display: none;
    position: absolute;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.9);
    width: 70vw;
    height: calc(100vh - 220px);
    top: 60px;
    right: 0;
    overflow-y: auto;
  }

  .banner {
      height: 200px;
  }

  .menu-principal {
    margin-left: 10px;
  }

  .menu-principal ul {
    flex-direction: column;
  }

  .menu-principal li a {
    font-weight: bold;
    height: 80px;
    font-size: 27px;
    margin-left: 50px;
    border: 0;
  }
  .menu-principal li.active a {
    border: 0;
    color: #b28756;
  }
}

/*
MOBILE
*/
@media (max-width: 450px) {
  .menu-opener {
    display: block;
    width: 45px;
    margin-right: 30px;
  }
  
  nav {
    display: none;
    position: absolute;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100vw;
    height: calc(100vh - 220px);
    top: 60px;
    right: 0;
    overflow-y: auto;
  }

  .menu-area-content {
    display: flex;
    align-items: center;
  }

  .menu-principal {
    margin-left: 10px;
  }
  
  .menu-principal ul {
    flex-direction: column;
  }

  .menu-principal li a {
    font-weight: bold;
    height: 60px;
    font-size: 20px;
    margin-left: 30px;
    border: 0;
  }
  
  .menu-principal li.active a {
    border: 0;
    color: #b28756;
  }

  .submenu-principal ul {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: auto;
    width: 100%;
    left: 30px;
    background-color: var(--colorEntity);
    z-index: 1000;
    font-size: 0.8em;
  }

  .submenu-principal ul {
    max-height: 200px;
    overflow-y: auto;
  }

  .submenu-principal li a {
    font-size: 13px;
  }
}