/*
* **********************************
* ################################## 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;

  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#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 #044b8c;
  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: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}

#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;
  }
}

/*
========================
======================== FONTS
========================
*/

@font-face {
  font-family: "Sanchez";
  src: url("../../fonts/Sanchez-Regular.woff2") format("woff2"),
    url("../../fonts/Sanchez-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/*
========================
======================== HEADINGS
========================
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Sanchez", sans-serif;
}

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

body {
  font-family: "Sanchez", sans-serif;
  color: rgba(0, 0, 0, 0.85);
}

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

.container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1240px) {
  .container {
    margin-left: 20px;
    margin-right: 20px;
  }
}

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

.header-container {
  background-color: #ffffff;
  padding: 40px 0;
  border-bottom: 4px solid #f7941d;
}

.header-container .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-logo {
  max-width: 160px;
}

.header-unit {
  font-size: 30px;
}

@media (max-width: 991px) {
  .header-unit {
    margin-right: 5rem;
  }
}

@media (max-width: 530px) {
  .header-unit {
    font-size: 20px;
  }
}

.header-social {
  display: flex;
  gap: 6px;
}

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

.header-social li a {
  background-color: #a7a8aa;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 1.8rem;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
}

.header-social li a:hover {
  background-color: #004587;
  color: #ffffff;
}

/* HEADER NAV */
.header-nav {
  background-color: #efefef;
}

.header-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-nav-item a {
  padding: 20px 15px;
  color: #004587;
  font-size: 1.7rem;
}

@media (max-width: 1120px) {
  .header-nav-item a {
    padding: 20px 13px;
    font-size: 1.6rem;
  }
}

.header-nav-item:hover a,
.header-nav-item:hover a.active,
.header-nav-item a:hover {
  color: #f7941e;
}

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

@media (min-width: 1024px) {
  .header-nav-mobile {
    display: none;
  }
}

/* MOBILE */
.header-nav-mobile-modile {
  background-color: #0766a2;
  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;
  position: absolute;
  right: 15px;
  top: 52px;
}

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

  .header-nav-mobile {
    display: block;
    width: 100%;
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
  }

  .header-nav-mobile-ul {
    width: 100%;
    display: none;
    margin-top: 100px;
    overflow: hidden;
  }

  .header-nav-mobile-item {
    display: block;
    border-bottom: 1px solid #ffff;
  }

  .header-nav-mobile-item:last-child {
    border-bottom: 0;
  }

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

  .header-nav-mobile-item a:hover {
    background-color: #064d79;
  }

  .header-nav-mobile-arrow {
    margin-left: 10px;
    color: #27303d;
  }

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

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

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

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

.htmlchars {
  width: 100%;
}

.htmlchars h1,
.htmlchars h2,
.htmlchars h3,
.htmlchars h4,
.htmlchars h5,
.htmlchars h6 {
  margin-bottom: 15px;
}

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

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

.htmlchars a {
  color: #555;
}

.htmlchars a:hover {
  text-decoration: underline;
}

.htmlchars iframe {
  border: none;
}

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

.footer {
  border-top: 4px solid #f7941d;
  margin-top: 10rem;
  background-color: #004587;
}

@media (max-width: 991px) {
  .footer {
    margin-top: 4rem;
  }
}

@media (max-width: 991px) {
  .footer-nav {
    display: none;
  }
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-nav-item a {
  padding: 20px 15px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.7rem;
}

.footer-nav-item:hover a,
.footer-nav-item a:hover {
  color: rgb(255, 255, 255);
}

.footer-container {
  background-color: #0052a1;
}

.footer-container .container {
  padding: 5rem 0;
}

@media (max-width: 560px) {
  .footer-container .container {
    padding: 3rem 0;
  }
}

.footer-container .container p {
  font-size: 2.2rem;
  line-height: 2.8rem;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
}

@media (max-width: 560px) {
  .footer-container .container p {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }
}

.footer-container .container p strong {
  font-weight: 700;
  display: block;
}

.footer-coppy .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

@media (max-width: 560px) {
  .footer-coppy .container {
    flex-direction: column;
    justify-content: center;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 560px) {
  .footer-logo {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
}

.footer-logo img {
  max-width: 9.5rem;
}

.footer-logo span {
  font-size: 14px;
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 6px;
}

@media (max-width: 560px) {
  .footer-social {
    margin-top: 1rem;
  }
}

.footer-social li a {
  background-color: #ffffff;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 1.8rem;
  color: #004587;
  border: 1px solid #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social li a:hover {
  background-color: transparent;
  color: #ffffff;
}

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

.pagination-links {
  margin-top: 6rem;
  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: 11px 16px 11px 16px;
  font-size: 1.6rem;
  font-weight: 400;
  color: #212729;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition: 0.4s;
}

.pagination-links li a:hover,
.pagination-links li.link-current p {
  background: #0152a1;
  color: #ffffff;
}

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

/* SECTION TITLE */
.section-title {
  background: url("../../img/global/custom/bg-section-title.jpg") center center
    no-repeat;
}

.section-title .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20.5rem;
}

@media (max-width: 991px) {
  .section-title .container {
    height: 14rem;
  }
}

@media (max-width: 560px) {
  .section-title .container {
    height: 11rem;
  }
}

.section-title h2 {
  font-size: 3.2rem;
  color: #ffffff;
}

@media (max-width: 991px) {
  .section-title h2 {
    font-size: 2.6rem;
  }
}

@media (max-width: 560px) {
  .section-title h2 {
    font-size: 2rem;
  }
}

.more {
  margin-top: 5rem;
}

.more h2 {
  width: 100%;
  text-align: center;
  font-size: 3rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 3rem;
}

.more-all {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media (max-width: 991px) {
  .more-all {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.more-item {
  background-color: #004587;
}

@media (max-width: 991px) {
  .more-item {
    text-align: center;
  }
}

.more-item:nth-child(2) {
  background-color: #f7941d;
}

.more-item:nth-child(3) {
  background-color: #a8cffd;
}

.more-item a {
  padding: 40px;
  color: #ffffff;
}

.more-item h3 {
  font-size: 2.4rem;
  line-height: 2.4rem;
  font-weight: 400;
}

.more-item p {
  font-size: 1.5rem;
  line-height: 1.8rem;
  margin-top: 1rem;
}
