/*
 * Layout: cabeçalho, rodapé, chat e aviso de cookies. Carregado em todas as páginas.
 */

/* ==== Cabeçalho e menu principal ==== */

.navbar {
  background-color: var(--cor-azul-rede);
  padding: 28px 1rem;
}

.navbar .row {
  align-items: center;
}

.navbar .container {
  display: initial;
}

.navbar img {
  width: 214px;
}

.navbar-nav {
  flex-direction: row;
  justify-content: flex-end;
}

/* Sem quebra de linha: com 7 itens o menu só cabe em 13px (11px entre 992 e 1199). */
.nav-item {
  margin-right: 20px;
  white-space: nowrap;
}

.nav-item a {
  color: var(--cor-branco);
  text-transform: uppercase;
  font-size: 13px;
  font-family: "Gotham";
  font-weight: bold;
  padding: 0;
  transition: 0.3s;
}

.nav-item:last-child {
  margin-right: 0;
}

.nav-item.active a,
.nav-item a:hover {
  color: var(--cor-azul-ciano);
}

/* .navbar na frente: o Font Awesome do NextGEN (posts com galeria) define .fas { display } depois do tema. */
.navbar .menu-mobile {
  color: var(--cor-branco);
  font-size: 25px;
  display: none;
}

.logo-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-nav .dropdown-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 140%;
  background-color: var(--cor-branco);
  border: 1px solid var(--cor-azul-escuro);
  padding: 0;
}

.nav-item a.dropdown-item {
  color: var(--cor-azul-escuro);
  text-align: center;
  padding: 10px;
  line-height: 14px;
}

.nav-item a.dropdown-item:hover {
  background-color: #ccc;
}

.logo-menu img {
  max-width: 50%;
}

@media (max-width: 1199.98px) {
  .nav-item {
    margin-right: 14px;
  }

  .nav-item a {
    font-size: 11px;
  }
}

@media (max-width: 991.98px) {
  .navbar .menu-mobile {
    display: block;
  }

  .navbar-nav .dropdown-menu {
    position: initial;
    left: initial;
    transform: initial;
    top: initial;
    background-color: var(--cor-branco);
    border: 1px solid var(--cor-azul-escuro);
    padding: 0;
    transition: 0.3s;
  }

  .navbar {
    padding: 28px 0;
  }

  .navbar-nav {
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
  }

  .navbar .container {
    flex-direction: column;
    align-items: initial;
  }

  .nav-item {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .nav-item a {
    font-size: 14px;
  }

  header .navbar .col-9 {
    padding-right: 15px;
  }

  header .navbar .col-md-12 {
    text-align: right;
  }

  .navbar-brand {
    margin-right: 0;
    margin-bottom: 0;
  }
}

/* ==== Rodapé ==== */

footer {
  background-color: var(--cor-azul-escuro);
  position: relative;
  padding-bottom: 50px;
}

footer img {
  width: 220px;
  margin: 20px 0 60px;
}

footer ul li {
  list-style: none;
}

footer ul > li a {
  font-family: "Gotham";
  font-weight: bold;
  font-size: 16px;
  color: var(--cor-branco);
  transition: 0.3s;
  text-transform: uppercase;
}

footer ul > li a:hover {
  color: var(--cor-azul-ciano);
  text-decoration: none;
}

footer .inner-list {
  margin-top: 5px;
  list-style: disc;
  margin-left: 33px;
}

footer .inner-list li {
  color: var(--cor-azul-ciano);
  line-height: 18px;
}

footer .inner-list li a {
  font-size: 16px;
  font-weight: 300;
  text-transform: none;
  color: var(--cor-azul-ciano);
}

footer .segunda-lista-footer li {
  line-height: 1.8;
}

footer .segunda-lista-footer {
  margin-left: 20px;
}

footer .iconesWrapper a {
  color: var(--cor-azul-ciano);
  margin-right: 20px;
  text-decoration: none;
  font-size: 25px;
  transition: 0.3s;
}

footer .iconesWrapper a:hover {
  color: var(--cor-branco);
}

footer .iconesWrapper i:last-child {
  margin-right: 0;
}

.rodapeWL {
  padding: 20px 0;
}

.rodapeWL .col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.rodapeWL img {
  width: 40px;
}

.rodapeWL p {
  font-size: 18px;
  margin-bottom: 0;
  color: #808080;
  font-family: "Gotham";
}

@media (max-width: 991.98px) {
  footer .iconesWrapper a {
    font-size: 23px;
  }

  footer {
    text-align: center;
  }

  footer .inner-list {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  footer .segunda-lista-footer {
    margin-left: 0;
  }

  footer .iconesWrapper {
    margin-top: 15px;
  }

  .rodapeWL p {
    font-size: 14px;
  }
}

/* ==== Chat do rodapé ==== */

.janela-chat {
  background: var(--cor-laranja-rede);
  position: fixed;
  bottom: 30px;
  right: 15px;
  z-index: 9999;
  padding: 10px 20px;
  color: var(--cor-branco);
  border-radius: 20px 0 0 0;
  max-width: 290px;
  font-family: "Gotham";
}

.janela-chat:after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 30px solid var(--cor-laranja-rede);
  bottom: -20px;
  right: 8%;
}

.janela-chat .header {
  position: relative;
}

.janela-chat .header > i {
  position: absolute;
  top: 0;
  cursor: pointer;
  right: -10px;
}

.janela-chat .top {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: 500;
  font-family: "Gotham";
  font-size: 14px;
  justify-content: center;
  cursor: pointer;
}

.janela-chat .header > p {
  font-weight: bold;
  font-size: 10px;
}

.janela-chat .top img {
  margin-left: 10px;
  width: 110px;
}

.janela-chat.closed .main,
.janela-chat.closed .header > i,
.janela-chat.closed p,
.janela-chat.opened .top span {
  display: none;
}

.janela-chat.opened .top img {
  margin-left: 0;
  margin-bottom: 10px;
}

.janela-chat .select {
  cursor: pointer;
  background-color: #d92e18;
  padding: 8px 10px;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s;
}

.janela-chat .select:hover {
  background-color: #b8240f;
}

.janela-chat .options a {
  background-color: #d92e18;
  padding: 8px 10px;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s;
  color: var(--cor-branco);
  border-bottom: 1px solid #b8240f;
}

.janela-chat .options a:last-child {
  border-bottom: none;
  margin-bottom: 5px;
}

.janela-chat .options a:hover {
  background-color: #b8240f;
  color: var(--cor-branco);
  text-decoration: none;
}

.janela-chat .select i {
  font-size: 22px;
  margin-bottom: -3px;
}

/* ==== Aviso de cookies ==== */

.overlay {
  display: flex;
  flex-direction: column;
  justify-content: end;

  align-items: center;

  position: fixed;
  z-index: 9999999;
  top: 0;
  left: 0;

  background-color: rgba(0, 0, 0, 0.5);

  width: 100%;
  height: 100%;
}

.cookies-bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  position: fixed;
  padding: 10px;
  width: 95%;

  margin-bottom: 30px;

  background-color: var(--cor-azul-escuro);
}

.cookies-bar .cookies-text {
  margin: auto 0px;
  font-size: 12px;
  color: var(--cor-branco);
}

.cookies-bar .btn {
  font-weight: bold;
  font-size: 14px;

  padding: 12px 20px;

  width: 480px;
  height: 20px;

  color: var(--cor-branco);

  text-align: center;
  text-decoration: none;
  justify-content: center;

  display: flex;
  align-items: center;

  border-radius: 0;
}

.cookies-bar .btn.accept {
  background-color: #fbb03b;
  color: var(--cor-branco);
}

.cookies-bar .btn.accept:hover {
  background-color: #d99a34;
}

@media (max-width: 768px) {
  .cookies-bar {
    flex-direction: column;
    align-items: center;
    width: 95%;
  }

  .cookies-text {
    margin-bottom: 20px;
  }

  .cookies-bar .btn {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .cookies-text {
    margin-right: 25px;
  }
}
