@import url('./root.css');

html,
body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight);
}

a {
  text-decoration: none;
}

.conteudo {
  min-height: 40vh;
}

/*
#conteudo
{
  position: relative;

} */

.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #333;
  -webkit-animation: spin 0.5s linear infinite;
  animation: spin 0.5s linear infinite;
  z-index: 9999;
}

[class^="container"] {
  max-width: var(--width-size);
  width: 100%;
}

[class^="titulo"] {
  padding: 2rem 0 !important;
  position: relative;
}

[class^="titulo"] h1 {
  font-size: 3rem;
  color: var(--color-01);
  margin: 0;

}

[class^="titulo"]::after {
  content: "";
  border: 1px solid red;
  width: 25px;
  color: var(--color-02);
  position: absolute;
  bottom: 10px;
  margin: auto;
  left: 50%;
  transform: translate(-50%, 0);
}

[class^="btn-padrao"] {
  border: none;
  padding: 1rem 8rem;
  background: var(--color-02);
  color: white;
  border-radius: 25px;
  font-size: 3rem;
  cursor: pointer;
  transition: 0.5s all;
  text-decoration: none;
}

[class^="titulo-padrao"] {
  font-size: 3rem;
  padding: 2rem 0;
  text-align: center;
  font-weight: 700;
  color: var(--color-04);
  position: relative;
  text-align: center;
}

[class^="btn-padrao"]:hover {
  transform: scale(1.05);
}

.div-whatsapp {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: rgb(37, 211, 102);
  font-size: 4rem;
  z-index: 10;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  height: 6rem;
  width: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.div-whatsapp .position-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .5s;
  opacity: 0;
  z-index: -1;
  height: 4rem;
}

.div-whatsapp .position-item a {
  font-size: 1rem;
  text-wrap: nowrap;
  border-radius: 2px;
  background: #25d366;
  color: #fff;
  width: 10rem;
  padding: 1rem;
  text-align: center;
  display: block;
}


.div-whatsapp:hover .position-item:first-child {
  opacity: 1;
  top: 30%;
  left: -100%;
}

.div-whatsapp .position-item:first-child::after {
  content: "";
  border-bottom: solid 5px #25d366;
  width: 20px;
  position: absolute;
  right: -15px;
  rotate: 30deg;
  top: 50%;
}

.div-whatsapp:hover .position-item:last-child {
  opacity: 1;
  top: 90%;
  left: -100%;
}

.div-whatsapp .position-item:last-child::after {
  content: "";
  border-bottom: solid 5px #25d366;
  width: 20px;
  position: absolute;
  right: -15px;
  rotate: -30deg;
  top: 30%;
}


/*
* CKEDITOR
*/

.ck-content .text-tiny {
  font-size: 0.7em;
}

.ck-content .text-small {
  font-size: 0.85em;
}

.ck-content .text-big {
  font-size: 1.4em;
}

.ck-content .text-huge {
  font-size: 1.8em;
}

/*
* FIM CKEDITOR
*/

[class^="btn"] {
  background: var(--color-02);
  color: var(--color-03);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 3rem;
  border-radius: 5px;
  transition: all 0.5s;
  cursor: pointer;
  border: none;
  height: max-content;
}

@keyframes crescendo {
  0% {
    transform: scale(0.8);
  }

  100% {
    transform: scale(1.2);
  }
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

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

  .body-search {
    width: 320px !important;
    margin: 0 0 1rem;
  }

  .gridNoticias {
    width: unset !important;
    justify-content: flex-start !important;
  }

  .ultimasNoticias {
    padding: 0 !important;
    max-width: unset !important;
  }

  .titulo-endereco {
    font-size: 5vw !important;
  }

  .voltarPost {
    top: 43vh !important;
  }

  .section-slider-home {
    aspect-ratio: 16/9 !important;
  }
}


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

  .container-info {
    justify-content: center !important;
  }

  .container-footer {
    align-items: center !important;
  }

  .button-info {
    width: 100%;
    text-align: center;
  }

  [class^="btn-padrao"] {
    font-size: 2rem !important;
    white-space: nowrap !important;
  }

  .voltarPost {
    top: 35vh;
  }

  .search {
    display: none !important;
  }

}

@media screen and (max-width: 1232px) {
  .nav-dropdown {
    top: 4rem !important;
  }
}

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

  html,
  body {
    font-size: 8px;
  }
}


.loading-ajax {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  background-attachment: fixed;
  z-index: 3000;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  color: limegreen;
}

.loading-ajax svg {
  position: absolute;
  top: 30%;
  left: 48%;
  z-index: 3001;
}