@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);

}

/* clase utilitare*/

.centered {
  text-align: center !important;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

/*margin-top */
.mt-90 {
  margin-top: 90%;
}

.mt-70 {
  margin-top: 70%;
}

.mt-60 {
  margin-top: 60%;
}

.mt-50 {
  margin-top: 50%;
}

.mt-48 {
  margin-top: 48%;
}


.mt-45 {
  margin-top: 45%;
}

.mt-40 {
  margin-top: 40%;
}

.mt-32 {
  margin-top: 32%;
}

.mt-20 {
  margin-top: 20%;
}

.mt-15 {
  margin-top: 15%;
}

.mt-13 {
  margin-top: 13%;
}

.mt-10 {
  margin-top: 10%;
}

.mt-8 {
  margin-top: 8%;
}


.mt-5 {
  margin-top: 5%;
}

.mt-3 {
  margin-top: 3%;
}

.mt-xs {
  margin-top: 0.5%;
}

.ml-32 {
  margin-left: 32%;
}

.ml-30 {
  margin-left: 30%;
}

.ml-20 {
  margin-left: 20%;
}

.ml-19 {
  margin-left: 19%;
}

.ml-18 {
  margin-left: 18%;
}

.ml-15 {
  margin-left: 15%;
}

.ml-8 {
  margin-left: 8rem;
}


.ml-6 {
  margin-left: 6rem;
}

.ml-4 {
  margin-left: 4rem;
}

.ml-s {
  margin-left: 3rem;
}

.ml-3 {
  margin-left: -3rem;
}

.ml-s {
  margin-left: 2rem !important;
}

.ml-1 {
  margin-left: 1rem;
}

.ml-n-6 {
  margin-left: -6rem;
}

.ml-n-5 {
  margin-left: -5rem;
}

.ml-n-4 {
  margin-left: -4rem;
}

.ml-n-3 {
  margin-left: -3rem;
}

.ml-none {
  margin-left: 0 !important;
}


/* margin bottom */
.mb-xxs {
  margin-bottom: 0.3% !important;
}

.mb-xs {
  margin-bottom: 0.6% !important;
}

.mb-1 {
  margin-bottom: 1%;
}

.mb-2 {
  margin-bottom: 2%;
}

.mb-3 {
  margin-bottom: 3%;
}

.mb-5 {
  margin-bottom: 5% !important;
}

.mb-7 {
  margin-bottom: 7%;
}

.mb-8 {
  margin-bottom: 8%;
}

.mb-10 {
  margin-bottom: 10%;
}

.mb-11 {
  margin-bottom: 10%;
}

.mb-12 {
  margin-bottom: 10%;
}

.mb-13 {
  margin-bottom: 13%;
}

.mb-14 {
  margin-bottom: 14%;
}

.mb-15 {
  margin-bottom: 15%;
}

.mb-20 {
  margin-bottom: 20%;
}

.mb-25 {
  margin-bottom: 25%;
}

.mb-30 {
  margin-bottom: 30%;
}

.mb-35 {
  margin-bottom: 35%;
}

.mb-40 {
  margin-bottom: 40%;
}

.mb-50 {
  margin-bottom: 50%;
}

.mb-60 {
  margin-bottom: 50%;
}

.mb-70 {
  margin-bottom: 70%;
}

/*margin left*/
.ml-25 {
  margin-left: 25%;
}

.ml-11 {
  margin-left: 11%;
}

.ml-6 {
  margin-left: 6%;
}

.ml-5 {
  margin-left: 5%;
}

.ml-3 {
  margin-left: 3%;
}

.ml-2 {
  margin-left: 2%;
}

/*margin right*/
.mr-5 {
  margin-right: 5%;
}

/*padding*/
.pt-xs {
  /* padding-top:0.1%; */
  margin-left: -40px;

}

.pt-4 {
  padding-top: 4%;
}

.pt-3 {
  padding-top: 3%;
}

/*height*/
.hgt-25 {
  height: 25rem;
}

.hgt-27 {
  height: 27rem;
}

.hgt-32 {
  height: 32rem;
}



/*line height*/

.ln-18 {
  line-height: 18px !important;
}

/*text-indent*/

.no-indt {
  text-indent: 0 !important;
}

.indt-30 {
  text-indent: 30px;
}


.main {
  display: block;
  width: 100%;
  min-height: 100vh;
  background-image: url("https://source.unsplash.com/pkhBlvTLyog/1920x1280");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* 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;

  }
}

#logo img {
  float: left;
  height: 60px;

}

#logo p {
  float: right;
  padding-right: 5%;
  color: white;
  font-size: 30px;
}

.bg-meniu:hover {
  display: block;
  background-color: #3B7CCA;
  height: 300px;
  width: 300px;
}


/* content styling all pages */
.page-content {
  width: 80%;
  margin: 0 auto;
  /* margin-top: 20px; */
  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 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: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 5px;
  margin-bottom: 20px;
}

.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;
}

/* text prezentare - index.php */
.antigua {
  text-align: justify;
}

.antigua a:hover {
  color: #222428;
}

/* contact form */

.date-contact {
  width: 50%;
  float: left;
  /* margin-right: 5px; */
}

.formular-contact {
  width: 50%;
  float: right;
}

.petitii {
  margin-top: 50rem;
  width: 50%;
  margin: 0 25%;
}

@media screen and (max-width: 1173px) {
  .date-cpetitiiontact {
    width: 100%;

  }

  .formular-contact {
    width: 100%;
  }
}

.formular-contact button {
  overflow: visible;
}

.petitii button {
  overflow: visible;
}

.formular-contact button,
.formular-contact select,
.petitii button,
.petitii select {
  text-transform: none;
}

.formular-contact button,
.formular-contact input,
.formular-contact select,
.formular-contact textarea,
.petitii button,
.petitii input,
.petitii select,
.petitii textarea {
  color: #5a5a5a;
  font: inherit;
  margin: 0;
}

.formular-contact input,
.petitii input {
  line-height: normal;
}

.formular-contact textarea,
.petitii textarea {
  overflow: auto;
}

#container {
  border: solid 3px #474544;
  max-width: 768px;
  min-width: 200px;
  margin: 20px auto;
  margin-top: 150px;
  position: relative;
}

.formular-contact form,
.petitii form {
  padding: 37.5px;
  margin: 50px 0;
}

#container h1 {
  color: #474544;
  margin-top: 20px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 7px;
  text-align: center;
  text-transform: uppercase;
}

.underline {
  border-bottom: solid 2px #474544;
  margin: 1em auto;
  width: 80px;
}

.icon_wrapper {
  margin: 30px auto 0;
  width: 100%;
}

.icon-contact {
  display: block;
  fill: #474544;
  height: 50px;
  margin: 0 auto;
  width: 50px;
}

.email {
  float: right;
  width: 45%;
}

.formular-contact input[type="text"],
.formular-contact input[type="email"],
.formular-contact input[type="tel"],
.formular-contact select,
.formular-contact textarea,
.petitii input[type="text"],
.petitii input[type="email"],
.petitii input[type="tel"],
.petitii select,
.petitii textarea {
  background: none;
  border: none;
  border-bottom: solid 2px #474544;
  color: #474544;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0em 0 1.875em 0;
  padding: 0 0 0.875em 0;
  */ text-transform: uppercase;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.formular-contact input[type="text"]:focus,
.formular-contact input[type="email"]:focus,
.formular-contact input[type="tel"]:focus,
.formular-contact textarea:focus,
.petitii input[type="text"]:focus,
.petitii input[type="email"]:focus,
.petitii input[type="tel"]:focus,
.petitii textarea:focus {
  outline: none;
  padding: 0 0 0.875em 0;
}

.message {
  float: none;
}

.name {
  float: left;
  width: 45%;
}

.formular-contact select,
.petitii select {
  background: url("https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-32.png") no-repeat right;
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.formular-contact select::-ms-expand,
.petitii select::-ms-expand {
  display: none;
}

.subject {
  width: 100%;
}

.telephone {
  width: 100%;
}

.formular-contact textarea,
.petitii textarea {
  line-height: 150%;
  height: 150px;
  resize: none;
  width: 100%;
}

::-webkit-input-placeholder {
  color: #474544;
}

:-moz-placeholder {
  color: #474544;
  opacity: 1;
}

::-moz-placeholder {
  color: #474544;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #474544;
}


/*general*/
h1,
h2,
h3,
h4 {
  color: rgba(0, 0, 0, 0.711) !important;
}

.no-info {
  text-align: center;
  font-size: 1.3rem;
}

.mb-2 {
  margin-bottom: 2%;
}

.hgt-40 {
  height: 40px !important;
}

.program-title {
  margin-left: 10%;
  text-indent: 15px;
}

.ml-10 {
  margin-left: 10% !important;
}

a:hover {
  color: #1a73e8 !important;
}

.centered-text {
  text-align: center;
}

.size-h1 {
  font-size: 2.1em !important;
}

.size-h2 {
  font-size: 1.7em !important;
}

.bolder {
  font-weight: bolder;
}

.bolder:hover {
  color: #747373 !important;
}

.albastru-link a {
  color: #009BD4;
}

/*Contact*/
.dreapta-contact {
  width: 48vw;
  height: 120vh !important;
  float: right !important;
  margin-top: 1.5%;
}



.dreapta-contact button {
  overflow: visible;
}

.dreapta-contact button,
.dreapta-contact select,
.centru-contact button,
.centru-contact select {
  text-transform: none;
}

.dreapta-contact button,
.dreapta-contact input,
.dreapta-contact select,
.dreapta-contact textarea {
  color: #5a5a5a;
  font: inherit;
  margin: 0;
}

.dreapta-contact input,
.centru-contact input {
  line-height: normal;
}

.dreapta-contact textarea,
.centru-contact textarea {
  overflow: auto;
}

.dreapta-contact form {
  padding: 1em;
  margin: 1em auto;
  width: 100%;
  border: 1px solid;
  box-shadow: 3px 3px 3px slategray;
  border-radius: 5px
}

.dreapta-contact input[type="text"],
.dreapta-contact input[type="email"],
.dreapta-contact input[type="tel"],
.dreapta-contact select,
.dreapta-contact textarea,
.centru-contact input[type="text"],
.centru-contact input[type="email"],
.centru-contact input[type="tel"],
.centru-contact select,
.centru-contact textarea {
  background: none;
  border: none;
  border-bottom: solid 2px #474544;
  color: #474544;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0em 0 1.875em 0;
  padding: 0 0 0.875em 0;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.dreapta-contact input[type="text"]:focus,
.dreapta-contact input[type="email"]:focus,
.dreapta-contact input[type="tel"]:focus,
.dreapta-contact textarea:focus,
.centru-contact input[type="text"]:focus,
.centru-contact input[type="email"]:focus,
.centru-contact input[type="tel"]:focus,
.centru-contact textarea:focus {
  outline: none;
  padding: 0 0 0.875em 0;
}

.dreapta-contact select,
.centru-contact select {
  background: url("https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-32.png") no-repeat right;
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.dreapta-contact select::-ms-expand,
.centru-contact select::-ms-expand {
  display: none;
}

.dreapta-contact textarea,
.centru-contact textarea {
  line-height: 150%;
  height: 150px;
  resize: none;
  width: 100%;
}

.stanga-contact {
  margin-top: 4%;
}


.underline {
  border-bottom: solid 2px #474544;
  margin: 1em auto;
  width: 80px;
}

.icon_wrapper {
  margin: 30px auto 0;
  width: 100%;
}

.icon-contact {
  display: block;
  fill: #474544;
  height: 50px;
  margin: 0 auto;
  width: 50px;
}

.contact-titlu {
  margin-bottom: 1rem;
}

.dreapta-contact .titlu {
  margin-top: 10px;
}

.grey-color {
  color: rgba(0, 0, 0, 0.811) !important;
}

a.grey-color:hover {
  color: #009BD4 !important;
}

.email-title {
  margin-left: 16%;
  margin-top: 4%;
  margin-bottom: 1.5%;
}

/*begin events*/
.events {
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cardev {
  display: grid;
  grid-template-columns: 300px;
  grid-template-rows: 210px 210px 80px;
  grid-template-areas: "image" "text" "stats";

  border-radius: 18px;
  background: white;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
  font-family: roboto;
  text-align: center;


  transition: 0.5s ease;
  cursor: pointer;
  margin: 30px;
}

.cardev-image {
  grid-area: image;
  background: url("../img/277178851_1805812459610816_2824385624054065968_n-800x445.jpg");
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-size: cover;
}

.events a {
  text-decoration: none;
  color: inherit;
}

.cardev-text {
  grid-area: text;
  margin: 2px;
}

.cardev-text .dateev {
  color: rgb(255, 7, 110);
  font-size: 13px;
}

.cardev-text p {
  color: grey;
  font-size: 15px;
  font-weight: 300;
  text-align: justify;
  padding: 2%;
}

.cardev-text h2 {
  margin-top: 0px;
  font-size: 1.3em;
}

.cardev-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background: rgb(181, 22, 22);
}

.cardev-stats .stat {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
}

.cardev-stats .borderev {
  border-left: 1px solid rgb(255, 255, 255);
  border-right: 1px solid rgb(255, 255, 255);
}

.cardev-stats .value {
  font-size: 22px;
  font-weight: 500;
}

.cardev-stats .value sup {
  font-size: 12px;
}

.cardev-stats .type {
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
}

.cardev:hover {
  transform: scale(1.15);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
}

.cardev-img {
  height: -webkit-fill-available;
  width: -webkit-fill-available;
  border-radius: inherit;
}

/* declaratii AI */
.declaratii-pdf {
  font-size: 16px;
  margin: 20px;
  text-align: justify;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.5rem;
  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;
}

.details-summary {
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #e6f1ff;
  border-radius: 5px;
  font-size: 1.0rem;
  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: 69.5rem;
  /* width: 90%; */
  margin: 0 5% 1rem 13%;
}

details[open] summary~* {
  animation: sweep .5s ease-in-out;
  width: 89.3%;
  margin: 0 5% 1rem 13%;
}

details[open]>summary::after {
  position: absolute;
  content: "-";
  right: 20px;
  bottom: 18px;
}

details>summary::after {
  position: absolute;
  content: "+";
  right: 20px;
  bottom: 18px;
}

@keyframes sweep {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* lista functii */
.lista-documente {
  font-size: 0.875rem;
  /* Use rem for better accessibility */
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  margin: 20px auto;
  /* Center the div */
  text-align: center;
  list-style: none;
  /* Remove default list styling */
  padding: 0;
  /* Remove default padding */
}

.lista-documente li {
  margin-bottom: 10px;
  /* Add some space between list items */
}

.lista-documente a {
  text-decoration: none;
  /* Remove underline from links */
  color: #007BFF;
  /* Set link color */
  transition: color 0.3s ease;
  /* Smooth transition for link color */
}

.lista-documente a:hover {
  color: #0056b3;
  /* Darker shade for hover state */
}

/*Agenda conducerii*/
.agenda {
  margin-left: 36%;
  margin-bottom: 2rem;
}

/* componenta-consiliul-local */
.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;
}

/*comisii specialitate*/
.white-text {
  color: whitesmoke !important;
}

/*institutii subordonate*/
.institutii-sub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
  margin: 20px 0;
  align-items: start;
}

.institutii-sub img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  border-radius: 10%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/*prezentare comuna*/
.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;
}

/*statut*/
.statut-unitate {
  margin: 1.5rem 19.5rem;
}

.page-content.audiente {
  margin-bottom: 6%;
}

.bg-mg-bt {
  margin-bottom: 5%;
}

.avansis-image {
  width: 250%;
  max-width: 650px;
  border-radius: 10px;
}

/*contact*/
.adrese-email {
    display: flex;
	flex-direction: row;
    justify-content: space-between; 
    margin: 0 5px; 
}

.left-column, .right-column {
    width: 50% ; 
    padding: 10px; 
}

.td-width {
	width: 4.5rem;
}

@media only screen and (max-width: 1288px) {
	.adrese-email {
		display: flex;
		flex-direction: column;
		justify-content: space-between; 
		margin: 0 5px; 
	}

	.left-column, .right-column {
		width: 100%;
	}
}

.tabel-colorat {
	font-family: arial, sans-serif;
	border-collapse: collapse;
	width: 70%;
	margin: 2% 15% 0 15%;
}

.tabel-colorat td,
th {
	border: 1px solid #dddddd;
	text-align: left;
	padding: 8px;
}

.tabel-colorat td {
	padding:9.5px;
}

.tabel-colorat th {
	background-color: #24A610;
	color: white;
}

.tabel-colorat .rosu-th {
	background-color: #D4292C;
	color: white;
	
}

.tabel-colorat .rosu-tr {
	background-color: #FFF5F5;
}

.tabel-colorat tr {
	background-color: #F5FFF5;
}

.tabel-colorat td a {
	text-decoration: none;
	color: black;
}
