/*HEADER CONTENDO A LOGO DO PORTAL*/
.tn-headerPrincipal {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: #fcfbfb;
}
.tn-headerPrincipal .tn-boxHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 120px;
}
.tn-headerPrincipal .tn-header-boxLogo{
  margin-left: 92px;
}
.tn-headerPrincipal .tn-header-boxLogo a > img{
  width: 245px;
  height: 84px;
 }
 .tn-headerPrincipal .tn-boxHeader .tn-header-boxOptionLeft{
  display: flex;
  align-items: center;
  gap: 25px;
  width: 16%;
}

/*BUSCA E BOTAO MENU HEADER*/
.tn-headerPrincipal .tn-header-boxMenu,
.tn-headerPrincipal .tn-header-boxBusca {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.tn-headerPrincipal .tn-header-boxMenu > span,
.tn-headerPrincipal .tn-header-boxBusca > span {
  font-size: 14px;
  color: var(--tn-tx-red);
  text-decoration: none;
  font-family: "lato-bold", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 15px;
}
.tn-headerPrincipal .tn-header-boxMenu > img{
  width: 25px;
  height: 25px;
}
.tn-headerPrincipal .tn-header-boxBusca > img {
  width: 25px;
  height: 28px;
}
.tn-headerPrincipal .tn-header-boxBusca input{
  border: 0;
  border-bottom:2px solid #000;
  transition: width 1s ease;
  outline: 0;
  font-size: 14px;
  font-family: "lato",sans-serif;
  color: #333;
  background-color: transparent;
  margin-left: 15px;
  border-radius: 0;
  padding: 0;
  min-height: 0;
}
.tn-headerPrincipal .tn-header-boxBusca input:focus-visible {
  outline-offset: 0px;
}

/*LINK PARA ULTIMA EDICAO*/
.tn-headerPrincipal .tn-header-boxEdicao {
  position: relative;
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100%;
  max-width: 285px;
}

.tn-headerPrincipal .tn-header-boxEdicao a{
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 285px;
  margin-bottom: -4rem;
}
.tn-headerPrincipal .tn-header-boxEdicao a h6 {
  text-decoration: none;
  font-family: "lato", sans-serif;
  font-size: 13px;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  padding-left: 20px;
  margin-top: -19px;
  width: 100%;
}
.tn-headerPrincipal .tn-header-boxEdicao .tn-tooltip-edit{
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 99px;
  left: -50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #e02525;
  width: 175px;
  padding: 15px 5px 7px 5px;
  border-radius: 5px;
  z-index: 10;
  transition: all .4s;
}

.tn-headerPrincipal .tn-header-boxEdicao .tn-tooltip-edit .tn-arrowUp{
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    position: absolute;
    left: calc(50% - 8px);
    top: 4px;
    z-index: 1;
}
.tn-headerPrincipal .tn-header-boxEdicao .tn-tooltip-edit img{
  width: 158px;
  height: 250px;
  border-radius: 5px;
}
.tn-headerPrincipal .tn-header-boxEdicao .tn-img-edicao:hover ~ .tn-tooltip-edit{
    visibility: visible;
    opacity: 1;
}
.tn-headerPrincipal .tn-header-boxEdicao .tn-img-edicao img {
  width: 80px;
  height: 127px;
}



@media (max-width: 1024px){
 
  .tn-headerPrincipal .tn-header-boxEdicao{
    display: none;
  }
  .tn-headerPrincipal .tn-boxHeader{
    height: 100%;
    padding: 8px 16px 0 16px !important;
  }
  .tn-headerPrincipal .tn-header-boxLogo{
    margin-left: 0;
  }
   .tn-headerPrincipal .tn-header-boxLogo a > img{
    width: 100px;
    height: 40px;
  }
   .tn-headerPrincipal .tn-boxHeader{
    flex-direction: row-reverse;
  }
  .tn-headerPrincipal .tn-boxHeader .tn-header-boxOptionLeft{
    flex-direction: row-reverse;
    gap: 6px;
  }
  .tn-headerPrincipal .tn-boxHeader .tn-header-boxOptionLeft .tn-header-boxMenu{
    padding: 8px;
  }
  .tn-headerPrincipal .tn-boxHeader .tn-header-boxOptionLeft .tn-header-boxMenu > span,
  .tn-headerPrincipal .tn-boxHeader .tn-header-boxOptionLeft .tn-header-boxBusca > span{
    display: none;
  }
  .tn-headerPrincipal .tn-boxHeader .tn-header-boxOptionLeft .tn-header-boxMenu > img,
  .tn-headerPrincipal .tn-boxHeader .tn-header-boxOptionLeft .tn-header-boxBusca > img{
    width: 20px;
    height: 20px;
  }

  .tn-headerPrincipal .tn-header-boxBusca input{
    width: 140px;
  }
  
}