/*
* **********************************
* ################################## ESTILOS GERAIS
* **********************************
*/

/*
========================
======================== GLOBAL MASK
========================
*/

#global-mask {
  width: 100%;
  height: 100%;
  background-color: #f3f1ef;
  position: fixed;
  top: 0;
  z-index: 15;

  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

#global-mask.active {
  display: table;

  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90);
  opacity: 0.9;
  visibility: visible;
}

/*
========================
======================== GLOBAL LOADING
========================
*/

#global-loading {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  visibility: hidden;

  border: 5px solid #00633d;
  border-radius: 30px;
  height: 30px;
  left: 50%;
  margin: -15px 0 0 -15px;
  position: fixed;
  top: 50%;
  width: 30px;
  z-index: 20;

  animation: pulsate 1s ease-out;
  animation-iteration-count: infinite;

  transition: 0.4s;
}

#global-loading.active {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90);
  opacity: 0.9;
  visibility: visible;
}

@keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/*
========================
======================== HTML/BODY
========================
*/

body,
button,
input,
select,
textarea {
  font-family: "Rubik", sans-serif;
}

body {
  color: #393d42;
}

/*
========================
======================== CONTAINER
========================
*/

.container {
  max-width: 1170px;
}

/*
========================
======================== FLOATING SOCIAL
========================
*/

.floating-social {
  display: none !important;

  position: fixed;
  right: 10px;
  bottom: 20%;
  z-index: 99;
}

.floating-social a {
  width: 60px;
  height: 60px;
  margin: 0.3rem;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;

  transition: 0.4s;
  border-radius: 0.6rem;
}

@media (max-width: 1024px) {
  .floating-social a {
    width: 40px;
    height: 40px;
  }
}

.floating-social a.whatsapp {
  background-color: #40ac35;
}

.floating-social a.whatsapp:hover {
  background-color: #1c6f13;
}

.floating-social a.scroll-top {
  background-color: #19c281;
}

.floating-social a.scroll-top:hover {
  background-color: #066241;
}

.floating-social a i {
  font-size: 2.8rem;
  color: #fff;
  font-weight: 300;
}

.floating-social a span {
  font-size: 1.8rem;
  color: #fff;
  font-weight: 300;
  padding: 10px 20px;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  visibility: hidden;
  transition: 0.4s;
  opacity: 0;

  position: absolute;
  right: 100%;
  top: 5px;

  border-radius: 0.6rem;
}

.floating-social a:hover span {
  visibility: visible;
  opacity: 1;
  margin-right: 10px;
}

.floating-social a.whatsapp span {
  width: 210px !important;
  background-color: #1c6f13;
}

@media (max-width: 1024px) {
  ƒ√ .floating-social a.whatsapp span {
    width: 180px !important;
  }
}

.floating-social a.scroll-top span {
  width: 180px !important;
  background-color: #066241;
}

@media (max-width: 1024px) {
  .floating-social a.scroll-top span {
    width: 160px !important;
  }
}

/*
========================
======================== HEADER
========================
*/

.header {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.header .container {
  max-width: 80%;
  margin: 0 10%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
}

@media (max-width: 1340px) {
  .header .container {
    max-width: 90%;
    margin: 0 5%;
  }
}

@media (max-width: 1120px) {
  .header .container {
    max-width: 98%;
    margin: 0 1%;
  }
}

.header-logo {
  z-index: 100 !important;
}

@media (max-width: 580px) {
  .header-logo img {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .header-logo img {
    height: 40px;
  }
}

.header-nav-modile {
  background-color: #00633d;
  width: 40px;
  height: 40px;
  color: #fff;
  display: none;
  text-align: center;
  line-height: 40px;
  font-size: 1.8rem;
  cursor: pointer;
  transition: 0.4s;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .header-nav-modile {
    display: inline-block;
  }
}

.header-nav {
  z-index: 99;
}

@media (min-width: 1024px) {
  .header-nav-item {
    position: relative;
    height: 100%;
    display: inline-block;
    margin-right: 8px;
  }

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

  .header-nav-item > a {
    display: block;
    font-size: 1.6rem;
    color: #393d42;
    font-weight: 300;
    padding: 13px 20px;
    cursor: pointer;
    border-radius: 50px;
  }

  @media (max-width: 1340px) {
    .header-nav-item > a {
      font-size: 1.4rem;
    }
  }

  .header-nav-item:hover > a,
  .header-nav-item > a:hover {
    background-color: #00633d;
    color: #fff;
  }

  /*.header-nav-arrow {*/
  /*  margin-left: 10px;*/
  /*  color: #00633d;*/
  /*}*/

  /*.header-nav-item:hover > a .header-nav-arrow,*/
  /*.header-nav-item > a:hover .header-nav-arrow {*/
  /*  color: #000;*/
  /*}*/

  /*.header-nav-arrow:before {*/
  /*  font-family: "Font Awesome 5 Pro";*/
  /*  content: "\f107" !important;*/
  /*}*/

  .opened > a > .header-nav-arrow:before {
    content: "\f106" !important;
  }

  .header-nav-item:nth-child(1) .header-nav-sub {
    min-width: 200% !important;
  }

  .header-nav-sub {
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 400%;
    padding: 20px;
    text-align: left;
    margin-top: 20px;

    visibility: hidden;
    transition: all 0.2s ease;
    opacity: 0;
    z-index: 99999;
    border-radius: 6px;
    box-shadow: 0px 0px 20px 0px rgba(34, 34, 39, 0.15);
  }

  .header-nav-sub:after {
    bottom: 100%;
    left: 10%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px;
  }

  .header-nav-item:hover .header-nav-sub,
  .header-nav-item > a:hover .header-nav-sub {
    top: 100%;
    visibility: visible;
    opacity: 1;
  }

  .header-nav-sub-item {
    float: left;
    width: 100%;
    list-style: none;
  }

  .header-nav-sub-item a {
    font-size: 1.6rem;
    color: #292c39;
    font-weight: 300;
    float: left;
    width: 100%;
    padding: 6px;
    text-decoration: none;
    transition: 0.4s;
  }

  .header-nav-sub-item a i {
    font-weight: 400;
    margin-right: 5px;
  }

  .header-nav-sub-item a:hover {
    color: #0d9862;
    padding-left: 10px;
  }
}

/* MOBILE */
@media (max-width: 1024px) {
  .header-nav {
    width: 100%;
    text-align: right;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 10;
    margin-top: -20px;
    z-index: 99;
  }

  .header-nav-ul {
    width: 100%;
    display: none;
    margin-top: 20px;
    border-radius: 10px !important;
    overflow: hidden;
  }

  .header-nav-item {
    display: block;
  }

  .header-nav-item a {
    display: block;
    background-color: #00633d;
    color: #fff;
    font-size: 1.8rem;
    text-transform: uppercase;
    padding: 15px 20px;
    text-align: center;
    transition: 0.4s;
  }

  .header-nav-item a:hover {
    background-color: #024c30;
    color: #fff;
  }

  .header-nav-arrow {
    margin-left: 10px;
    color: #fff;
  }

  .header-nav-arrow:before {
    font-family: "Font Awesome 5 Pro";
    content: "\f107" !important;
  }

  .opened > a > .header-nav-arrow:before {
    content: "\f106" !important;
  }

  .header-nav-sub {
    display: none;
  }
}

.header-search {
  z-index: 2;
  max-width: 300px;
}

@media (max-width: 1024px) {
  .header-search {
    margin-right: 50px;
  }
}

@media (max-width: 580px) {
  .header-search {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .header-search {
    max-width: 150px;
  }
}

.header-search form {
  position: relative;
}
.header-search .input-search {
  background: #fff;
  border: 1px solid #fff;
  outline: 0;
  font-size: 1em;
  font-weight: 300;
  color: #313338;
  padding: 13px 52px 13px 13px;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
}
.header-search button {
  width: 52px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: 0 0;
  font-size: 20px;
  color: #00633d;
  outline: 0;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}
.highcontrast .header-search button {
  color: #555;
}
.header-search:hover button {
  color: #999;
}

.header-social {
  display: flex;
  flex-wrap: wrap;
  z-index: 99;
}

@media (max-width: 1024px) {
  .header-social {
    display: none !important;
  }
}

.header-social a {
  margin-left: 5px;
}

.header-social a svg {
  height: 30px !important;
}

.header-social a svg path {
  fill: #000;
  transition: 0.4s;
}

.header-social a:hover svg path {
  fill: #fff;
}

/*
========================
======================== FOOTER
========================
*/

.footer {
  margin-top: 5rem;
}

.footer-container {
  max-width: 90%;
  background-color: #393d42;
  padding: 3rem;

  border-radius: 1rem;
  margin: 0 auto;
}

.footer-container .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

@media (max-width: 1024px) {
  .footer-container .container {
    grid-template-columns: 100%;
    gap: 0;
  }
}

.footer-item {
  text-align: center;
  padding: 3rem 0;
}

.footer-item h2 {
  font-size: 2.6rem;
  color: #71bf43;
  font-weight: 400;
}

.footer-item p {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 300;
}

.footer-coppy {
  padding: 1rem;
}

.footer-coppy .container {
  text-align: center;
}

@media (max-width: 1024px) {
  .footer-coppy p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.footer-coppy img {
  margin: 2rem 0;
}

.footer-coppy p {
  margin-top: 1rem;
  font-weight: 300;
}

.footer-coppy a.ebrothers {
  background: url(../../img/global/custom/ebrothers.png) no-repeat;
  font-size: 0;
  width: 75px;
  height: 14px;
  display: inline-block;
  margin-left: 1rem;

  margin-top: -1rem;
}

@media (max-width: 1024px) {
  .footer-coppy a.ebrothers {
    margin-left: 0;
    margin-top: 10px;
  }
}

/*
========================
======================== HTML CHARS
========================
*/

.htmlchars {
  width: 100%;
}

.htmlchars p {
  font-size: 1.6rem;
  line-height: 2rem;
  margin-bottom: 15px;
}

.htmlchars ul,
.htmlchars ol {
  margin: 15px;
}

.htmlchars a {
  color: #00633d;
  text-decoration: none;
}

.htmlchars a:hover {
  color: #024c30;
  text-decoration: underline;
}

.htmlchars iframe {
  border: none;
}

/*
========================
======================== PAGINATION
========================
*/

.pagination-links {
  margin-top: 60px;
  width: 100%;
  text-align: center;
}

.pagination-links li {
  display: inline-block;
  margin: 0 1px;
}

.pagination-links li a,
.pagination-links li p {
  display: block;
  padding: 8px 16px 8px 16px;
  font-size: 1.25em;
  font-weight: 300;
  color: #000;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.4s;
}

.pagination-links li a:hover,
.pagination-links li.link-current p {
  background: #00633d;
  color: #fff;
}

.pagination-links li.link-disabled p {
  color: #aaa;
}

/*
========================
======================== SECTION HEADER
========================
*/

.section-header {
  margin-bottom: 2rem;
}

.section-header span {
  font-size: 1.8rem;
  font-weight: 400;
  color: #71bf43;
  text-transform: uppercase;
}

.section-header h1 {
  font-size: 3.2rem;
  font-weight: 600;
  color: #393d42;
  text-transform: uppercase;
}

/*
========================
======================== QUICK ACCESS
========================
*/

.quick-access {
  margin-top: -40px;
  z-index: 10;
  position: relative;
}

.quick-access .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  position: relative;
}

@media (max-width: 1024px) {
  .quick-access {
    margin-top: -50px;
  }

  .quick-access .container {
    grid-template-columns: 100%;
  }
}

.quick-access-item {
  background: #fff;
  box-shadow: 0px 0px 10px 0px rgba(42, 55, 79, 0.2);
  border-radius: 1rem;
  height: 100%;

  text-align: center;
  padding: 2rem;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
}

.quick-access-block {
  position: relative;
}

.quick-access-item:hover {
  outline: 4px solid #71bf43;
}

.quick-access-item h1 {
  font-size: 1.6rem;
  color: #4d555c;
  font-weight: 400;
  margin-top: 1rem;
}

.quick-access-item-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #edf2f5;
  overflow: hidden;

  border: none !important;
  border-radius: 1rem;
  display: none;

  box-shadow: 0px 0px 10px 0px rgba(42, 55, 79, 0.4);
}

@media (max-width: 1024px) {
  .quick-access-item-content {
    height: auto !important;
    /* top: 100%; */
    border: 4px solid #71bf43;
    border-radius: 1rem;
    padding: 20px 10px;

    z-index: 999;
    margin-top: 10px;

    background-color: #fff;
  }

  .quick-access-item-content.transparencia-e-prestacao-de-contas {
    top: 15%;
  }

  .quick-access-item-content.registro-profissional {
    top: 33%;
  }

  .quick-access-item-content.orientacao-e-fiscalizacao {
    top: 50%;
  }

  .quick-access-item-content.notas-tecnicas-e-legislacoes {
    top: 68%;
  }

  .quick-access-item-content.canais-de-atendimento {
    top: 84%;
  }

  .quick-access-item-content.servicos-online {
    top: 100%;
  }

  .quick-access-item-content-image {
    display: none;
  }

  .quick-access-item-content-links ul {
    grid-template-columns: 1fr !important;
  }

  .quick-access-item-content-links {
    width: 100% !important;
  }

  .quick-access-item-close {
    margin: 0 10px 10px 10px !important;
  }
}

.quick-access-item-content.active {
  display: block;
}

.quick-access-item-content-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.quick-access-item-close {
  background-color: #cb3535;
  transition: 0.4s;
  width: 27px;
  height: 27px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  line-height: 29px;
  margin: 10px;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  border-radius: 100%;
}

.quick-access-item-close:hover {
  background-color: #741313;
}

.quick-access-item-content-image {
  background-color: #fff;
  width: 200px;
  height: 100%;
  padding: 30px;
  text-align: center;
}

.quick-access-item-content-image img {
  height: 60px;
}

.quick-access-item-content-image h1 {
  font-size: 1.6rem;
  color: #4d555c;
  font-weight: 400;
  margin-top: 1rem;
}

.quick-access-item-content-links {
  width: calc(100% - 200px);
  padding: 0 30px;
}

.quick-access-item-content-links ul {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.quick-access-item-content-links a {
  font-size: 1.6rem;
  color: #292c39;
  font-weight: 300;
  float: left;
  width: 100%;
  padding: 6px;
  text-decoration: none;
  transition: 0.4s;
}

.quick-access-item-content-links a i {
  font-weight: 400;
  margin-right: 5px;
}

.quick-access-item-content-links a:hover {
  color: #0d9862;
  padding-left: 10px;
}

/*
========================
======================== LGPD
========================
*/

.lgpd {
  background-color: #00633d;
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  color: #fff;
  z-index: 99;
}

@media (max-width: 1024px) {
  .lgpd {
    flex-direction: column;
  }
}

.lgpd p {
  font-size: 1.4rem;
  font-weight: 300;
}

.lgpd p a {
  color: #fff;
  font-weight: 500;
}

.lgpd p a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .lgpd-buttons {
    margin-top: 10px;
  }
}

.lgpd-buttons a {
  border: 1px solid #fff;
  padding: 1rem 2rem;
  display: inline-block;
  font-weight: 500;
  color: #fff;
  transition: 0.4s;
  margin-right: 0.5rem;
  text-transform: uppercase;
}

.lgpd-buttons a:hover {
  background-color: #fff;
  color: #00633d;
}

.lgpd-buttons button {
  background-color: #024c30;
  padding: 1rem 2rem;
  display: inline-block;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.4s;
}

.lgpd-buttons button:hover {
  background-color: #023924;
}
