:root {
  --color1: #099146 !important;
  --color2: #00b350 !important;
  --color3: #303030 !important;
  --color4: #d9dadb !important;
  --color5: !important;

  /* White ========================================= */
  --white-005: rgba(255, 255, 255, 0.05);
  --white-01: rgba(255, 255, 255, 0.1);
  --white-02: rgba(255, 255, 255, 0.2);
  --white-03: rgba(255, 255, 255, 0.3);
  --white-04: rgba(255, 255, 255, 0.4);
  --white-05: rgba(255, 255, 255, 0.5);
  --white-06: rgba(255, 255, 255, 0.6);
  --white-07: rgba(255, 255, 255, 0.7);
  --white-08: rgba(255, 255, 255, 0.8);
  --white-09: rgba(255, 255, 255, 0.9);
  --white: #ffffff;

  /* Black ======================================== */
  --black-005: rgba(0, 0, 0, 0.05);
  --black-01: rgba(0, 0, 0, 0.1);
  --black-02: rgba(0, 0, 0, 0.2);
  --black-03: rgba(0, 0, 0, 0.3);
  --black-04: rgba(0, 0, 0, 0.4);
  --black-05: rgba(0, 0, 0, 0.5);
  --black-06: rgba(0, 0, 0, 0.6);
  --black-07: rgba(0, 0, 0, 0.7);
  --black-08: rgba(0, 0, 0, 0.8);
  --black-09: rgba(0, 0, 0, 0.9);
  --black: #0c0c0c !important;
}

/* Rolagem suave ↓ */
html {
  scroll-behavior: smooth !important;
}
/* White ========================================== */
.white-005 {
  color: var(--white-005);
}
.white-01 {
  color: var(--white-01);
}
.white-02 {
  color: var(--white-02);
}
.white-03 {
  color: var(--white-03);
}
.white-04 {
  color: var(--white-04);
}
.white-05 {
  color: var(--white-05);
}
.white-06 {
  color: var(--white-06);
}
.white-07 {
  color: var(--white-07);
}
.white-08 {
  color: var(--white-08);
}
.white-09 {
  color: var(--white-09);
}
.white {
  color: var(--white);
}
.bg-white-02 {
  background: var(--white-02);
}
/* Black ========================================== */
.black-005 {
  color: var(--black-005);
}
.black-01 {
  color: var(--black-01);
}
.black-02 {
  color: var(--black-02);
}
.black-03 {
  color: var(--black-03);
}
.black-04 {
  color: var(--black-04);
}
.black-05 {
  color: var(--black-05);
}
.black-06 {
  color: var(--black-06);
}
.black-07 {
  color: var(--black-07);
}
.black-08 {
  color: var(--black-08);
}
.black-09 {
  color: var(--black-09);
}
.black {
  color: var(--black);
}

/* Fonts 4pt / 8pt ================================== */
/* Rem = Tamanho da font / 16 */

.font_4 {
  font-size: 0.25rem;
  line-height: calc(0.25rem * 1.5);
}
.font_8 {
  font-size: 0.5rem;
  line-height: calc(0.5rem * 1.5);
}
.font_12 {
  font-size: 0.75rem;
  line-height: calc(0.75rem * 1.5);
}
.font_14 {
  font-size: 0.875rem;
  line-height: calc(0.875rem * 1.5);
}
.font_16 {
  font-size: 1rem;
  line-height: calc(1rem * 1.5);
}
.font_18 {
  font-size: 1.125rem;
  line-height: calc(1.125rem * 1.5);
}
.font_20 {
  font-size: 1.25rem;
  line-height: calc(1.25rem * 1.5);
}
.font_24 {
  font-size: 1.5rem;
  line-height: calc(1.5rem * 1.5);
}
.font_28 {
  font-size: 1.75rem;
  line-height: calc(1.75rem * 1.5);
}
.font_32 {
  font-size: 2rem;
  line-height: calc(2rem * 1.5);
}
.font_36 {
  font-size: 2.2rem;
  line-height: calc(2.2rem * 1.5);
}
.font_40 {
  font-size: 2.5rem;
  line-height: calc(2.5rem * 1.5);
}
.font_44 {
  font-size: 2.75rem;
  line-height: calc(2.75rem * 1.5);
}
.font_48 {
  font-size: 3rem;
  line-height: calc(3rem * 1.5);
}

/* Font =========================================== */

/* Default ========================================= */

.color1 {
  color: var(--color1);
}
.color2 {
  color: var(--color2);
}
.color3 {
  color: var(--color3);
}
.color4 {
  color: var(--color4);
}
.color5 {
  color: var(--color5);
}
.bgcolor1 {
  background: var(--color1);
}
.bgcolor2 {
  background: var(--color2);
}
.bgcolor3 {
  background: var(--color3);
}
.bgcolor4 {
  background: var(--color4);
}
.bgcolor5 {
  background: var(--color5);
}
.bgblack {
  background: #1f1f1f;
}
.bgblack-02 {
  background: var(--black-09);
}
.opacity-0 {
  opacity: 0;
}

/* ---------------- */
.padding-card {
  padding: 35px 20px !important;
  border-radius: 5px !important;
  /* background: var(--black) !important; */
}
a.padding-card::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--black-04) !important;
  border-radius: 5px;
}
.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.copyright {
  color: var(--white-04);
}
.copyright a {
  color: var(--white-04);
}
.copyright a:hover {
  color: var(--white);
}
.ad-banner a img {
  border-radius: 6px;
  transition: 0.4s ease;
}
.ad-banner a img:hover {
  transform: scale(1.03);
}
.top-social ul li a:hover {
  color: var(--white-08) !important;
}
.media {
  display: flex !important;
  align-items: end !important;
}
.mb-25 {
  margin-bottom: 25px;
}
span.horario-atendimento {
  display: block;
  font-size: 18px;
  text-align: center;
  margin: 0 0 25px 0;
}
span.horario-atendimento i {
  font-size: 16px;
}
/* cards */
.cards {
  padding: 32px;
  margin-bottom: 30px;
  /* border: 1px solid #F1F2F3; */
  background: #f1f2f3;
  border-radius: 8px;
}
h4.cards-title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 30px;
}
ul.cards-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cards-list li {
  padding: 0 0 15px 0;
  margin-bottom: 15px;
  border-bottom: 1px solid #dadada;
  /* border-bottom: 1px solid #eeeeee; */
}
.cards-list li:last-child {
  padding: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.cards-list li span {
  /* display: block; */
  font-weight: 600;
}
/* -- Cards History -- */
.cards-history {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  gap: 14px;
}
.cards-history span {
  display: block;
  border-radius: 4px;
  padding: 12px 28px;
  font-size: 14px;
  line-height: calc(14px * 1.5);
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid #f1f2f3;
  background: #f1f2f3;
  color: var(--black);
  transition: 350ms;
}
.cards-history span:hover {
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
}
.cards-history span i {
  margin-right: 6px;
  font-size: 12px;
}
/* -- Card Prefeito -- */
.card-prefeito ul {
  list-style: none;
  padding: 0;
}
.card-prefeito li {
  text-align: center;
  font-family: "Barlow";
}
.card-prefeito li span {
  display: block;
}
li.prefeito {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.03rem;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 5px;
}
li.prefeito span {
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  font-family: "roboto";
  text-transform: none;
  letter-spacing: 0px;
  margin: 5px auto;
}
li.periodo {
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 0.01rem;
  font-weight: 600;
  text-transform: uppercase;
}
/* -- Card People -- */
.card-people {
  background: #f1f2f3 !important;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 25px;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
}
.card-people-picture img {
  max-width: 170px;
  max-height: 170px;
  border-radius: 4px;
}
.card-people-body {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  justify-content: space-between;
  font-size: 15px !important;
}
.card-people-body h4 {
  font-size: 20px;
  margin-bottom: 5px;
}
.card-people-body h6 {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
}
.card-people-body ul {
  margin: 0;
  padding: 0;
}
.card-people-body li {
  margin: 0;
  line-height: 1.5;
}
.card-people-body p:last-of-type {
  margin-bottom: 0;
}
.card-people-body i {
  font-size: 14px;
  margin-right: 5px;
}

a.btn-link-modal {
  display: inline-block;
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 10px 0 0 0;
  font-weight: 600;
  line-height: 1;
  color: var(--color1);
}
a.btn-link-modal::before {
  content: "";
  position: relative;
  display: block;
  width: auto;
  height: 2px;
  top: 18px;
  background: var(--color1);
  transform: scaleX(0);
  transition: 0.3s ease-in-out;
}
a.btn-link-modal:hover::before {
  background: var(--color1);
  transform: scaleX(1);
}
a.btn-link-modal:hover {
  color: var(--color1);
}
button:active,
button:visited,
button:focus,
button:link,
cursor:active,
cursor:focus,
cursor:visited {
  border: none !important;
  outline: none !important;
}
.modal-dialog {
  max-width: 800px !important;
}
.modal-content {
  border: none !important;
  padding: 20px;
}
h5.modal-title {
  font-size: 20px !important;
  line-height: 1.3 !important;
}

/* -- Filtros de noticias -- */

.chamada-publica {
  background: #099146 !important;
}
.concursos-publicos {
  background: #e21f26 !important;
}
.licitacoes {
  background: #80006e !important;
}
.agricultura-economico {
  background: #f39c12 !important;
}
.administracao-e-financas {
  background: #424242 !important;
}
.assistencia-social-infancia-adolescencia {
  background: #27ae60 !important;
}
.educacao-cultura-esporte {
  background: #bf29ff !important;
}
.saude {
  background: #2980b9 !important;
}
.transportes-e-obras {
  background: #d35400 !important;
}

/* ---------------- */
.btn-filter {
  border-radius: 0px 4px 4px 0px !important;
}
.mapa {
  filter: grayscale(100%);
  transition: 0.4s;
}
.mapa:hover {
  filter: grayscale(0%);
}
.ts-pagination li a i {
  font-size: 12px;
}
.post-meta span i {
  font-size: 12px !important;
  margin-right: 5px !important;
}
.post-block-style {
  margin-bottom: 24px;
}
.filtro-categorias {
  display: flex;
  /* gap: 20px; */
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.categorias {
  flex: 1;
}
.categorias select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../icons/arrow-down.svg");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 8px;
}
#categoria {
  width: 100%;
  padding: 9.5px 20px;
  /* border: 1px solid #ccc; */
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
}
select#categoria {
  font-size: 15px;
  /* font-weight: 600; */
}
select#categoria option {
  min-width: 100%;
}
.main-content ul {
  list-style: inherit;
}
.main-content ul li {
  /* padding-left: 10px; */
  /* list-style: square; */
}
@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sticky-top {
    z-index: 0 !important;
  }

  /* --------- */

  .categorias-2 select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../icons/arrow-down.svg");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 8px;
  }
  .categorias-2 {
    background: #f1f2f3;
    padding: 30px 20px;
    border-radius: 8px;
  }
  #categoria-2 {
    width: 100%;
    padding: 9.5px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
  }

  /* ------------- */
  .single-post .post-meta li i {
    margin-right: 6px;
  }
  .single-post .gallery-img a img {
    margin-right: 20px !important;
  }
  .news-p p:last-child,
  .history-p p:last-child {
    margin-bottom: 30px;
  }
  .post-media img {
    margin-bottom: 35px;
    border-radius: 8px;
  }
  .gallery-news img {
    margin-bottom: 30px;
    border-radius: 8px;
  }
  .table-periodo p {
    margin: 20px 0;
  }
  .table-periodo table {
    width: 100%;
  }
  .table-periodo tbody,
  .table-periodo tr,
  .table-periodo td {
    border: 1px solid #dddddd;
    padding: 12px 22px;
  }
  tr.bg-tr {
    background: #ebebeb;
  }
  .table-periodo h4 {
    margin-top: 20px;
  }
  .historia h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: calc(24px * 1.5);
    margin-bottom: 20px;
  }
  .list-primary ul,
  .list-primary ol {
    padding-left: 30px;
  }
  .list-primary ul li {
    list-style: square !important;
    margin-bottom: 10px;
  }
  .list-primary ol li {
    list-style: lower-alpha;
    margin-bottom: 10px;
  }

  .carousel-control-next,
  .carousel-control-prev {
    top: 45% !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background-color: var(--color1) !important;
    border: none;
    color: var(--white) !important;
    opacity: 1 !important;
  }
  .carousel-control-next:hover,
  .carousel-control-prev:hover {
    opacity: 0.75 !important;
  }
  .carousel-item {
    height: 500px !important;
  }
  .carousel-item img {
    padding: 0 25px;
  }
  ul.links-download {
    list-style: none;
    background: #f1f2f3;
    padding: 20px 40px;
    border-radius: 8px;
    margin: 0;
  }
  ul.links-download-2 {
    list-style: none;
    /* background: var(--white); */
    background: #f1f2f3;
    border-radius: 8px;
    padding: 0 25px !important;
  }
  .links-download li,
  .links-download-2 li {
    width: 100%;
    margin: 15px 0;
    border-bottom: 1px solid #e4e3e3;
    padding-bottom: 15px;
  }
  .links-download li:last-child,
  .links-download-2 li:last-child {
    border-bottom: none;
    padding: 0;
  }
  .links-download li a,
  .links-download-2 li a {
    color: var(--black);
    font-size: 15px;
    font-weight: 500;
    transition: 0.4s;
    margin-bottom: 40px;
  }
  .links-download li a:hover,
  .links-download-2 li a:hover {
    color: var(--color1);
  }
  .links-download i {
    margin-right: 10px;
  }
  .pr-4 {
    border-radius: 8px !important;
  }
  .card-links {
    background: #f1f2f3;
    padding: 30px 42px;
    border-radius: 8px;
    margin-bottom: 30px;
  }
  .card-links-2 {
    margin-bottom: 30px;
  }
  .card-links ul,
  .card-links-2 ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .card-links li,
  .card-links-2 li {
    color: var(--black) !important;
  }
  .card-links li:last-child,
  .card-links-2 li:last-child {
    margin-bottom: 0px;
  }
  .card-links h2 a .card-links-2 h2 a {
    color: var(--black);
  }
  .card-links span,
  .card-links-2 span {
    font-weight: 600;
    /* display: block; */
  }
  .card-links a.btn-link,
  .card-links-2 a.btn-link {
    display: inline-block;
    padding-top: 15px;
  }
  .card-links-2 img {
    border-radius: 5px;
  }
  a.btn-link {
    font-weight: 600;
    line-height: 1;
    color: var(--color1);
  }
  a.btn-link::before {
    content: "";
    position: relative;
    display: block;
    width: 100%;
    height: 2px;
    top: 18px;
    background: var(--color1);
    transform: scaleX(0);
    transition: 0.3s ease-in-out;
  }
  a.btn-link:hover::before {
    background: var(--color1);
    transform: scaleX(1);
  }
  a.btn-link:hover {
    color: var(--color1) !important;
    text-decoration: none !important;
  }

  button.btn-link-2 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    padding: 12px 30px;
  }
  button.btn-link-2:hover {
    background: var(--black-07);
  }
  .accordion .card {
    border: 0 !important;
  }
  .card-header {
    padding: 0 !important;
    border: 0 !important;
    margin-bottom: 10px !important;
  }
  .card-body {
    margin-bottom: 10px !important;
  }

  /* _ */
  .info-card {
    /* max-width: 360px; */
    /* border: 1px solid #ccc; */
    border-radius: 8px;
    font-family: Arial, sans-serif;
    background: #f1f2f3;
    padding: 35px;
    margin: 35px auto;
  }

  .header-images {
    display: flex;
    justify-content: space-around;
    align-items: end;
    margin-bottom: 10px;
  }

  .header-images img {
    height: 80px;
  }
  .header-images .mapa-atalanta img {
    width: 100px;
  }

  .header-images p {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
  }

  .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .info-list li {
    padding: 10px 0;
    border-top: 1px solid #ccc;
    font-size: 14px;
  }

  .info-list li:first-child {
    border-top: none;
  }

  .info-list strong {
    font-weight: bold;
  }

  .map {
    margin-top: 20px;
    text-align: center;
  }

  .map img {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
  }

  .map p {
    font-size: 12px;
    margin-top: 10px;
  }
  .social-media-banner img {
    border-radius: 8px;
  }
  .bg-light,
  .bg-light-2 {
    background: #f1f2f3 !important;
    background-color: #f1f2f3 !important;
  }
  .padding-20px-left {
    padding-left: 20px;
  }
  .ts-category-list i {
    font-size: 15px;
  }
  /* ---------------- */

  @media (max-width: 991px) {
    .list-post li {
      margin-bottom: 25px;
    }
    .padding-20px-left {
      padding-left: 0px;
    }
  }
  @media (max-width: 767px) {
    .carousel-control-next,
    .carousel-control-prev {
      top: 40% !important;
    }
    .carousel-item {
      height: 250px !important;
    }
    .copyright {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .logo {
      max-width: 250px;
      padding: 10px !important;
      margin: 0 auto !important;
    }
    .header {
      padding: 10px !important;
    }
    section.trending-slider {
      padding-top: 15px !important;
    }
    .filtro-categorias {
      margin-bottom: 20px;
    }
    .backto {
      right: 30px !important;
      bottom: 90px !important;
    }
    .cards-history span {
      padding: 4px 12px;
      font-size: 12.5px;
    }
    .cards-history span i {
      font-size: 11px;
    }
    .table-periodo td {
      padding: 5px 10px;
    }
    .post-title.title-lg {
      font-size: 32px;
    }
    ul.links-plano-diretor {
      list-style: none;
      background: #f1f2f3;
      padding: 10px 20px;
      border-radius: 8px;
      margin: 0;
    }
    .card-people {
      flex-direction: column;
      justify-content: start;
      align-items: start;
      gap: 20px;
    }
    .card-people-body {
      min-height: 0px;
    }
    .card-people-body li {
      line-height: 1.7;
    }
    .modal-content {
      padding: 0px;
    }
  }
  .info-card {
    margin: 35px auto;
  }
}

/* Título Banners Secretarias */
.post-media {
    position: relative;    
}
.banner-text { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: #fff; 
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.7); 
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 2; 
}
.banner-text h1 {
    color: white!important;
    font-size: 3em; 
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}
@media (max-width: 992px) {
    .banner-text h1 { font-size: 2.5em; }
}
@media (max-width: 768px) {
    .banner-text h1 { font-size: 2em; }
}
@media (max-width: 576px) {
    .banner-text h1 { font-size: 1.5em; }
}