@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:300,400,600|Tulpen+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Modern+Antiqua&display=swap');

* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: font5;
  src: url(../font/NotoMono/NotoMono-Regular.ttf);

}


h1,
h2,
h5 {
  text-align: center;
}

h1 {
  /* font-size:50px; */
  font-size: 32px;
  color: #343538;
}



summary {
  font-size: 1.25rem;
  font-weight: 600;
  background: rgba(212, 41, 44, 0.5);
  background-image: linear-gradient(to right, rgba(0, 155, 212, 1), rgba(0, 155, 212, 0.5));
  color: #fff;
  padding: 1rem;
  outline: none;
  border-radius: 0.25rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  width: 90%;
  margin: 0 auto 1rem auto;
}

p {
  text-align: left;
}

details[open] summary~* {
  animation: sweep .5s ease-in-out;
  width: 90%;
  margin: 1em auto;
}
details>summary::after {
  position: absolute;
  content: "+";
  right: 20px;
  top: 20px;
}

details[open]>summary::after {
  position: absolute;
  content: "-";
  right: 20px;
}

details>summary::-webkit-details-marker {
  display: none;
}

p,
a {
  word-break: break-word;
}

/*prima pagina*/
.primar {
  /* display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  margin-left: 11%; */
  display: flex;
  /* grid-template-columns: repeat(2, 1fr); */
  column-gap: 2rem;
  /* margin-left: 11%; */
  margin: 0 10em;
}

.primar img {
  width: 100%;
  height: 100%;
}

.primar-div-img {
  width: 20em;
  margin-bottom: 1rem;
  object-fit: contain;
  height: 19rem;
  align-self: center;
}

.primar-div-text {
  width: 60%;
  color: #45484d;
  text-align: justify;
  text-indent: 25px;
}

.primar-p {
  text-indent: 25px;
  margin-left: 11%;
  color: #45484d;
  margin: 0 10em;
}

.proiecte-finantare h2 {
  text-align: left;
  color: rgba(0, 0, 0, 0.711);
  margin: 0.3rem 0;
}

.proiecte-finantare ul li {
  list-style-type: square;
}

/* logo + title */
@media (min-width: 768px) {
  #primarie {
    margin-left: 20px;
    float: left;
    width: 85%;
    text-align: center;
    height: 80.7px;
    line-height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.program {
  z-index: 999;
  background-color: rgb(243, 242, 242);
  margin-top: 97px;
  text-align: center;
  width: 100vw;
  overflow-x: hidden;
  padding: 2px;
}

@media (max-width: 768px) {
  .program {
    display: none;

  }
}

.txt-left {
  text-align: left !important;
}

/* content styling all pages */
.page-content {
  width: 80%;
  margin: 0 auto;
  /* margin-top: 18rem; */
  color: #222428df;
  font-family: Arial, sans-serif;
}

.page-content h1 {
  /* margin-top: 150px; */
  text-align: center;
  color: #333;
  /* font-size: 2em; */
  margin-bottom: 20px;
}

.page-content h2 {
  /* margin-top: 150px; */
  text-align: center;
  color: #333;
  /* font-size: 1.5em; */
  margin-bottom: 20px;
}

.page-content p a {
  text-align: justify;
  margin: 5px 5px;
  display: inline-flex;
  gap: 15px;
}

.page-content a {
  color: #0066cc;
  text-decoration: none;

}

.page-content a:hover {
  color: #004999;
}

.demnitari {
  margin-top: 20px;
  display: flex;
  /* grid-template-columns: repeat(3, 1fr); */
  text-align: center;
  gap: 3em;
  margin-bottom: 20px;
  justify-content: center;
}

.demnitari strong {
  font-size: 1.2em;
  color: #333;
  display: block;

}

.demnitari p {
  margin: 5px 0;
  text-align: center;
}

.demnitari a {
  display: inline-block;
  margin-top: 5px;
}

.content-footer {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 90vh;
  width: 100vw;
  /* justify-items: center; */
  margin-top: 13em;
}

/* text prezentare - index.php */
.antigua {
  text-align: justify;
}

.antigua a:hover {
  color: #222428;
}

.prezentare {
  text-align: center;
  color: #222428ae;
}


@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px
  }

  100% {
    opacity: 1;
    margin-top: 0px
  }
}

/* declaratii AI */
.declaratii-pdf {
  font-size: 16px;
  margin: 20px;
  text-align: justify;
  /* column-count: 3; */
  column-gap: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.declaratii-pdf li {
  margin-bottom: 10px;
  list-style: none;
  /* Ascunde bullet-urile */
}

.declaratii-pdf a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
}

.declaratii-pdf a:hover {
  color: #0c47b7;
  background-color: #e6f1ff;
  border-radius: 5px;
  padding: 2px 4px;
}

@media(max-width:767px) {
  #primarie {
    float: left;
    text-align: center;
    /* height: 80.7px; */
    line-height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* prezentare comuna */
.image-box {
  margin: 20px 65px;
}

.image-box img {
  max-width: 200px;
  margin-right: 20px;
  margin-bottom: 10px;
  float: left;
}

.image-box p {
  text-align: justify;
  padding: 20px 0;
  margin: 0;
}

/* counter */
.counter-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.counter-item {
  text-align: center;
  margin: 30px;
  flex: 1 1 200px;
  max-width: 250px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.counter-item:hover {
  transform: translateY(-5px);
}

.counter {
  font-size: 1.5em;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.counter-item:hover .counter {
  color: #0056b3;
}

.counter-item p {
  font-size: 1.2em;
  color: #333;
  margin: 0;
  text-align: center;
  align-items: center;
}

/* ========== componenta-consiliul-local.php - consilieri ========== */
.tabel-colorat {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  margin: 1.3rem auto;
  width: 60%;
}

.tabel-colorat .albastru-th {
  background-color: #009BD4;
  color: whitesmoke;
}

.tabel-colorat .albastru-tr {
  background-color: #EFF2F4;
}

.tabel-colorat td,
th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
  font-size:1.2rem;
}
























@media (min-width:981px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.6em;
  }

  .declaratii-pdf {
    column-count: 3;
  }
}



@media (min-width: 641px) and (max-width:980px) {
  h1 {
    font-size: 1.7em;
  }

  h2 {
    font-size: 1.4em;
  }

  .primar {
    flex-direction: column;
  }

  .primar-div-text {
    width: 100%;
  }

  .primar-div-img {
    align-self: center;
  }

  .declaratii-pdf {
    column-count: 2;
  }



}

@media (max-width:640px) {
  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.2em;
  }

  .primar {
    flex-direction: column;
    margin: 0 3em;
  }

  .primar-div-text {
    width: 100%;
  }

  .primar-div-img {
    display: none;
  }

  .primar-p {
    margin: 0 3em;
  }

  .demnitari {
    flex-direction: column;
  }

  .content-footer {
    margin-top: 7em;
  }

  .image-box img {
    display: none;
  }

  .declaratii-pdf {
    column-count: 1;
  }

}

.mb-6 {
  margin-bottom:6% !important;
}

/* ========== lista-demnitari.php - demnitari ========== */
.demnitar {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 15%;
}

.lista_demnitari {
  display: flex;
  gap: 5em;
  margin: 5em;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.imagine_demnitari {
  flex: 1;
  border-radius: 30%;
  height: 26.5vh;
  width: 100%;
}

.info_demnitari {
  font-family: Arial, Helvetica, sans-serif;
  text-align: justify;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: auto;
  font-size: 1vw;
}

