/* Sliding parchment menu from left */
.overlay {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 22.55vh;
  left: 115px;
  /*background-color: rgba(0,0,0, 0.9);*/
  background-image: url('../img/scrollpaper.png');
  background-repeat: no-repeat;
  background-size: 250px 60vh;
  overflow-x: hidden;
  transition: 0.65s;
}

.overlay-content {
  position: relative;
  top: 12%;
  text-align: center;
  margin-top: 10px;
}

.overlay a {
  text-decoration: none;
  font-size: 30px;
  color: black; /*#818181;*/
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: white;
}

.overlay  .closebtn {
  position: absolute;
  top: 14px;
  right: 30px;
  font-size: 60px;
}


@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

a.disabled {
    pointer-events: none;
    color: darkgray;
}

a.current{
    pointer-events: none;
    color: white;
}
/***********************************/


/*********  Dropdown button for languages ALSOSEE: https://codepen.io/tsk/pen/eEVWdg different dropdown *********/
/*the container must be positioned relative:*/
.custom-combobox input {
    width: 100%;
    height: 34px;
    background-color: #31ACFF;
    color: white;
    border: 1px solid #ccc;
    padding-left: 10px;
    padding-right: 30px; /* IMPORTANT: leave space for the arrow */
    font-family: Arima, sans-serif;
    border-radius: 4px;
    cursor: pointer;
}

.custom-combobox input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* Removes the default arrow in some browsers if you want a cleaner look */
.custom-combobox input::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.combobox-wrapper {
    position: relative;
    display: inline-block;
}

#langInput {
    padding-right: 30px; /* Make room for the arrow */
    cursor: pointer;
}

/* Ensure the arrow sits inside the blue box and is white */
.down-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; 
    color: white; /* Changed from #555 to white */
    font-size: 12px;
    z-index: 2; /* Make sure it stays on top */
}

/* This hides the "default" browser arrow so only YOUR arrow shows */
.custom-combobox input::-webkit-calendar-picker-indicator {
    display: none !important;
}
.select-selected {
  background-color: #31ACFF;
  height:34px;
}

/*style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  left: 10rem;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/*style the arrow inside the select element: */
@media only screen and (min-width: 600px) {
  .select-selected:after {
  content: "";
  top: 14px;
  left: 10rem;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
  }
}


/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #ffffff;
  /*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-color: lightslategray;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

/*hover select*/
.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}
