/*header*/
#header {
  width: 100%;
  position: fixed;
  /* position:absolute; */
  z-index: 100;
}

.header_top,
.header_bottom {
  background-color: transparent;
  /* background-color: #4575bd; */
  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: 1200px;
  display: flex;
  justify-content: space-evenly;

}

.header_top_left {
  height: 100%;
  width: 100%;
  padding: 0 20px 0 0;
  margin-left: 10%;
}


/* .language-select {
  position: fixed;
  bottom: 0;
  right: 8%;
  z-index: 999999;
  font-size: 13px;
  color: #666;
} */

/*the container must be positioned relative:*/
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none;
  /*hide original SELECT element:*/
}

.select-selected {
  /* background-color: DodgerBlue; */
  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: 5.5rem;


}

/* .header_bottom_left p,
.header_bottom_right a {
  color:white !important;
} */

.header_bottom_left {
  display: flex;
  align-items: center;
  width: 21%;
}

.header_bottom_left p{
  color:rgb(38,55,211);
  /* text-shadow:1px 1px #d7c1c1; */
}

.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: 61%;
  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;
}


/*dropdown menu*/
.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-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: -13rem !important;
  width: 38rem;
  padding: 2rem;
  gap: 0.4rem;
}

.dropdown:hover .drop-grid-3 a {
  margin: 0;
  text-align: left;
  font-size: 13px;
  width: 11rem;

}
.dropbtn {
  transition: background-color .2s ease, transform .2s ease;
  width: 9rem;
  height: 3.5rem;
  padding: 10px;
  border:none;
  background-color: transparent;
  font-size:1rem;
  font-weight: 600;
}

.culoare-documente-utile .dropdown-content.menu-column-1 {
  width:15rem;
  background-color:rgba(202, 218, 206, 0.92);
}

.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;
}

.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: 13rem;
  padding:2%;
  text-align: center;
  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-interes-public:hover .dropbtn {
  background-color: rgba(200, 242, 248, 0.92);
}

.culoare-documente-utile:hover .dropbtn {
  background-color: rgba(202, 218, 206, 0.92);
}

.culoare-comunicare:hover .dropbtn {
  background-color: rgba(207, 226, 242, 0.92);
}

.culoare-comisii:hover .dropbtn {
  background-color: rgba(255, 236, 220, 0.92);
}

.dropdown:hover .menu-column-1 {
  display: grid;
  margin-left: -3rem;
  /* grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  row-gap: 0.5rem; */


}


/* .dropbtn {
  background-color: transparent;
  
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.dropbtn:hover {
  transform: scale(1.2);
}



.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}



.dropdown-content a {
  color: black;
  padding: 9px 15px;
  text-decoration: none;
  display: block;
}


.dropdown-content a:hover {
  background-color: #f1f1f1
}


.dropdown:hover .dropdown-content {
  display: block;
} */

.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 {
  /* padding: 0; */
  margin: 0;
  text-align: left;
  font-size: 13px;
  width: 11rem;
  /* display: flex;
  align-items: center; */
}

/* links when the dropdown is shown */
.dropdown:hover .dropdown-content a,
.dropdown:hover .drop-info a {
  color: #222222;
  font-size: 13px;
}
