/*header*/
#header {
  width: 100%;
  position: fixed;
  /* position:absolute; */
  z-index: 100;
}

.header_top {
  background-color: transparent;
  color: #fff;
}

.header_bottom {
  background-color: rgb(69, 117, 189);
  color: #fff;
}

.header_top,
.header_top_outer,
.header_bottom {
  position: relative;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: rgba(255, 255, 255, 0.1);
}

.header_top_outer {
  background-color: rgba(255, 255, 255, 0.1);
}

.header_top_inner {
  width: 100%;
  display: flex;
  justify-content: space-evenly;

}

.header_top_left {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 3% 0 10%;
}

.header_1 {
  position: relative;
  display: inline-block;
}

.header_1 img {
  display: block;
  width: 100%;
  height: auto;
}

.header_1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 160, 80, 0.3),
    rgba(255, 160, 80, 0.1),
    transparent
  );
}

/* .header_1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 90, 140, 0.35),   
    rgba(0, 150, 180, 0.25),  
    rgba(200, 160, 100, 0.25) 
  );
  pointer-events: none;
} */

/* .site-vechi-header p {
  margin-top: 21%;
  font-weight: 700;
  font-size: 1rem;
} */

.site-vechi-header img {
  width: 15rem;
  /* height: 4.5rem;
  margin:0.5% 0; */
}

.site-vechi-header p a {
 color: white;
 text-shadow: 0 2px 2px rgba(0, 0, 0, 0.75);
}

.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none;
}

.select-selected {
  background: #fff linear-gradient(180deg, #efefef 0%, #fff 70%);
  color: #666;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #666 transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #666 transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
  color: #666;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background: #fff linear-gradient(180deg, #efefef 0%, #fff 70%);
  color: #666;
  bottom: 90%;
  left: 0;
  right: 0;
  z-index: 99;
}

#id_select_limba {
  background: #fff linear-gradient(180deg, #efefef 0%, #fff 70%);
  color: #666;
}

#id_select_limba option {
  position: absolute;
  background: #fff linear-gradient(180deg, #efefef 0%, #fff 70%);
  color: #666;
  bottom: 90%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover,
.same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}


.meta_wrap {
  font-size: 0.9rem;
  line-height: 20px;
  position: relative;
  text-align: left;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 37%;
  font-weight: 600;
}

.meta_wrap a:hover {
  color: #3065b5 !important;
}

.header_bottom_outer {
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.1);

}


.header_bottom_inner {
  margin-left: 6%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* height: 6.5rem; */
  height: 5.5rem;


}


.header_bottom_left {
  display: flex;
  align-items: center;
  width: 23%;
}

.header_bottom_left p {
  color: white;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.75);
}

.header_bottom_left a {
  color: white;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.header_bottom_left img {
  width: 4rem;
}

.header_bottom_right {
  width: 68%;
  display: flex;
  justify-content: space-around;
  list-style-type: none;
  align-items: center;
}

.header_bottom_right p {
  text-align: center;
}

.header_1 img {
  width: 100vw;
  height: 37vh;
}

.header_1 img::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  
  background:
    radial-gradient(ellipse at 18% 42%,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.20) 35%,
      rgba(0, 0, 0, 0.00) 70%),

    radial-gradient(ellipse at 52% 42%,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.18) 35%,
      rgba(0, 0, 0, 0.00) 70%),

    rgba(0, 0, 0, 0.75);
}


/*dropdown menu*/
.dropbtn {
  background-color: transparent;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.dropbtn:hover .dropbtn a{
  color: rgba(0, 0, 0, 0.811);
}

.dropbtn a {
  color: white;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.75);
}

.dropdown {
  position: relative;
  display: inline-block;
}

/* conținut peste background */
.dropdown-content>* {
  position: relative;
  z-index: 2;
}

.menu-column-2 {
  min-width: 32vw;
  padding: 1.25rem 2.5rem;
  left: -53%;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 6px 12px;
  padding: 8px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1
}

/* Show the dropdown menu on hover */
.dropdown:hover .menu-column-1 {
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 width:9rem;
}

.dropdown:hover .menu-column-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  row-gap: 0.5rem;
}

.dropdown:hover .drop-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-left: -20rem;
  width: 38rem;
  padding: 1rem;
  gap: 0.4rem;
}

.dropdown:hover .drop-grid-3 a {
  margin: 0;
  text-align: left;
  font-size: 13px;
  width: 11rem;

}

/* links when the dropdown is shown */
.dropdown:hover .dropdown-content a,
.dropdown:hover .drop-info a {
 font-size: 13px;
}

.dropbtn {
  transition: background-color .2s ease, transform .2s ease;
  width: 10rem;
  height: 5.6rem;
  padding: 10px;
}

.dropdown:hover .dropbtn {

  /* background-color: rgba(255, 196, 138, 0.92); */
  /*varianta 1*/
  /* background-color: rgba(200, 242, 248, 0.92); */
  /*varianta 2*/
  /* background-color: rgba(207, 226, 242, 0.92); */
  /*varianta 3*/
  /* background-color: rgba(255, 236, 220, 0.92); */
  /*varianta 4*/
  /* background-color: rgba(202, 218, 206, 0.92); */
  /*varianta 5*/
}

.dropdown:hover .dropbtn a {
  color: rgba(0, 0, 0, 0.811);
  font-weight: 600;
  font-size: 16px;
  text-shadow: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(255, 196, 138, 0.92);
  /*varianta 1*/
  background-color: rgba(200, 242, 248, 0.92);
  /*varianta 2*/
  background-color: rgba(207, 226, 242, 0.92);
  /*varianta 3*/
  background-color: rgba(255, 236, 220, 0.92);
  /*varianta 4*/
  background-color: rgba(202, 218, 206, 0.92);
  /*varianta 5*/
  /* min-width: 32rem; */
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  overflow: hidden;

}

.dropdown-content a {
  font-weight: 700;
  color: rgba(0, 0, 0, 0.811);
  font-size: 16px;
}

/*Culori meniu*/
.culoare-despre-noi:hover .dropbtn {
  background-color: rgba(255, 196, 138, 0.92);
}

.culoare-informatii-publice:hover .dropbtn {
  background-color: rgba(200, 242, 248, 0.92);
}

.culoare-documente-utile:hover .dropbtn {
  background-color: rgba(202, 218, 206, 0.92);
}

.culoare-sanatate-publica:hover .dropbtn {
  background-color: rgba(207, 226, 242, 0.92);
}

.culoare-registrul-unic:hover .dropbtn {
  background-color: rgba(255, 236, 220, 0.92);
}

.culoare-contact:hover .dropbtn {
  background-color: rgba(255, 196, 138, 0.92);
}

.culoare-sedii:hover .dropbtn {
  background-color: rgba(250, 218, 221, 0.92);
}

.asista-iconita {
  width: 10rem;
  background-color: green;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  border-radius: 10px;
}

.asista-iconita p {
  color: whitesmoke;
  font-size: 1rem;
  text-align: center;
  font-weight: 600;
}