#content-area-sup {
  overflow: initial;
}

#banda-superior:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #323232;
  opacity: 0.2;
  top: 0;
}

#banda-superior {
  background-color:
    #FFFFFF;
  background-image: url('../img/alex-eckermann-w_k6j6oqbdg-unsplash.jpg');
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: 100% auto;
  -webkit-background-size: 100% auto;
  -moz-background-size: 100% auto;
  -o-background-size: 100% auto;
}

.buscacono #content-area-sup {
  height: auto;
  min-height: 450px;
  position: relative;
}

.page-node.search #content-area-sup {
  height: 100vh;
}

@media screen and (max-width:900px) {
  .page-node.search #content-area-sup {
    height: auto;
  }
}

.ayuda {
  margin-top: 1.5em;
  display: flex;
  justify-content: center;
  height: 3em;
}

.btn-ayuda a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  background: #44abd2;
  padding: 5px 31px;
  border-radius: 20px;
  margin: 2px 1em;
}

.page-node.search #wrapper {
  display: none;
}

.page-node.index #content-area-sup,
.page-node.search-result #content-area-sup {
  min-height: 310px;
}

.btn-buscador {
  text-align: center;
  margin-top: 50px;
}

.btn-buscador a {
  background: #44abd2;
  color: white !important;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 15px 30px;
  border-radius: 30px;
  transition: 0.2s all ease-in-out;
  margin-top: 14px;
}

#banda-superior {
  background-size: cover;
  position: relative;
  flex: 1;
}

.region-content {
  margin-top: 50px;
}

.region-background-area {
  margin-top: 150px;
}

#block-block-23 {
  width: 80%;
  margin: 0 auto;
  font-family: 'Source Sans Pro';
   width: 100%;
 @media only screen and (min-width: 992px) { 
      width: 85%;
  }
  @media only screen and (min-width: 1200px) {  
      width: 80%;
  } 
}

#block-block-23 h1 {
  text-align: center;
  color: white;
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 0;
}

.explanation {
  padding: 30px;
  border: 1px solid #e1e1e1;
  ;
  border-radius: 20px;
  margin-top: 40px;
  background: whitesmoke;
}

.explanation--options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
}

.explanation-option-title {
  text-transform: uppercase;
  font-weight: bold;
}

.explanation-option {
  width: 31%;
  background: white;
  padding: 25px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .explanation-option {
    width: 100%;
  }
}

/* revisar y aÃ±adir */

.search_controls {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 3px 10px -2px rgba(0, 0, 0, 0.2);
  margin-bottom: 60px;
  padding-top: 35px;
  padding-bottom: 35px;
}

.search_controls__description,
.search_text__description {
  color: #323232;
  padding: 7px 20px 7px 40px;
  margin-top: 20px;
  font-size: 18px;
}

.search_controls h4 {
  color: #126382;
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.search_select {
  grid-column-start: 1;
  grid-column-end: 3;
  padding-left: 40px;
  grid-row: 2/span 3;
}

.search_radio {
  grid-column-start: 3;
  grid-column-end: 5;
  padding-right: 40px;
}

.select_interval {
  background-color: white;
  width: 75%;
  border-radius: 7px;
  border: 1px solid #bbc1e1;
  height: 25px;
}

.select_interval:hover {
  border: 1px solid #44abd2;
  cursor: pointer;
}

.search_text {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #f1f3f4; 
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip i {
  color: #44abd2;
  vertical-align: super;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 31.25rem;
  background-color: white;
  text-align: center;
  border-radius: 6px;
  font-size: 13px;
  bottom: 100%;
  left: 50%;
  margin-left: -21.25rem;
  position: absolute;
  z-index: 1;
  padding: 0.5em;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.search_text input[type="text"] {
  line-height: normal;
  padding: 10px 5px;
  box-sizing: border-box;
  border: 0;
   width: 100%;
}

.search_text input[type="text"]:focus-visible {
  outline: none
}


.search_text:focus-within {
  outline: 1px solid #44abd2;
  box-shadow: 0px 0px 7px rgba(68, 171, 210, 0.25);
} 

.search_text .autoComplete_wrapper {
  position: relative;
}

.selected_keywords {
  min-height: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
  max-height: 130px;
}

.selected_keyword {
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 0.15em 16px;
  float: left;
  margin: 5px;
  font-size: 14px;
  background: white;
}

.selected_keyword a {
  all: unset;
  cursor: pointer;
}

.selected_keyword .close {
  color: #44abd2;
}

.mandatory_keyword {
  border: 1px solid #44abd2;
  background-color: rgb(223, 240, 255);
}

.is_mandatory #mandatory_icon {
  font-size: 11px;
  vertical-align: baseline;
  color: #9f9f9f
}

.mandatory_keyword #mandatory_icon {
  color: #44abd2;
}

.keyword_text {
  padding: 0 5px;
}

.search_button {
 
  border-top: 1px solid #80808063;
}

.results .search_button {
  padding: 15px 20px 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.buscacono .search_button input {
  padding: 10px 30px;
  border-radius: 30px;
  transition: 0.2s all ease-in-out;
  background: #44abd2;
  color: white;
  border: 0;
  font-family: 'Open Sans';
  font-size: 16px;
}

.buscacono .search_button input:not(:last-child) {
  margin-right: 20px;
}

@media screen and (max-width: 720px) {
  .results .search_button {
    flex-wrap: wrap;
    padding-right: 0;
  }

  .buscacono .results .search_button input {
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 15px;
  }
}

.buscacono .search_button input:hover {
  background: #171A2B;
  color: white;
}

.buscacono .search_button input.search {
  background: #44abd2;
  color: white;
}

.buscacono .search_button input.search:hover {
  background: #171A2B;
  color: white;
}

.buscacono .search_button__options {
  display: flex;
  justify-content: space-between;
}

.item_check {
  display: flex;
  align-items: center;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {

  input[type=checkbox],
  input[type=radio] {
  cursor: pointer;
    
  }

  input[type=checkbox]:after,
  input[type=radio]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
  }

  input[type=checkbox]:checked,
  input[type=radio]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: 0.3s;
    --d-t: 0.6s;
    --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
  }

  input[type=checkbox]:disabled,
  input[type=radio]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }

  input[type=checkbox]:disabled:checked,
  input[type=radio]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }

  input[type=checkbox]:disabled+label,
  input[type=radio]:disabled+label {
    cursor: not-allowed;
  }

  input[type=checkbox]:hover:not(:checked):not(:disabled),
  input[type=radio]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }

  input[type=checkbox]:focus,
  input[type=radio]:focus {
    box-shadow: 0 0 0 var(--focus);
  }

  input[type=checkbox]:not(.switch):after,
  input[type=radio]:not(.switch):after {
    opacity: var(--o, 0);
  }

  input[type=checkbox]:not(.switch):checked,
  input[type=radio]:not(.switch):checked {
    --o: 1;
  }

  input[type=checkbox]:not(.switch) {
    border-radius: 5px;
  }

  input[type=checkbox]:not(.switch):after {
    width: 4px;
    height: 7px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 5px;
    top: 2px;
    transform: rotate(var(--r, 20deg));
  }

  input[type=checkbox]:not(.switch):checked {
    --r: 43deg;
  }

  input[type=checkbox].switch {
    width: 38px;
    border-radius: 11px;
  }

  input[type=checkbox].switch:after {
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: var(--ab, var(--border));
    transform: translateX(var(--x, 0));
  }

  input[type=checkbox].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
  }

  input[type=checkbox].switch:disabled:not(:checked):after {
    opacity: 0.6;
  }

  input[type=radio] {
    border-radius: 50%;
  }

  input[type=radio]:after {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--active-inner);
    opacity: 0;
    transform: scale(var(--s, 0.7));
  }

  input[type=radio]:checked {
    --s: 0.5;
  }
}


.results {
  width: 1140px;
  position: relative;
  font-family: 'Source Sans Pro';
  font-size: 18px;
}

@media screen and (max-width: 1200px) {

  .results h1,
  .results .search_results,
  .results .search_button {
    margin: 0 30px;
  }

  .results {
    width: 100%;
  }
}

#results_table {
  border-collapse: collapse;
  font-family: 'Open Sans';
  font-size: 16px;
}

#results_table th {
  text-align: left;
  padding: 15px 0;
}

#results_table td {
  padding: 15px 0;
  vertical-align: top;
  border-top: 1px solid #cecece;
}

#results_table td a {
  color: rgb(67, 140, 178);
  text-decoration: none;
}

#results_table td a.search {
  background: rgb(68 171 210);
  padding: 1px 5px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  font-size: 13px;
}

@media screen and (max-width: 720px) {
  #results_table tr {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
    border-bottom: 1px solid #cecece;
    ;
  }

  #results_table td {
    width: 100%;
    padding: 0 0 5px 0;
    border: 0;
  }

  #results_table th {
    width: auto;
    padding: 0 0 5px 0;
    border: 0;
    margin-right: 5px;
  }
}

/* options search */

.options-buscador ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  background: #f5f5f5;
  padding: 44px;
  width: 80%;
  margin: 50px auto;
  box-shadow: 0px 0px 10px -2px rgb(0 0 0 / 20%);
  border-radius: 5px;
  border: 1px solid #e1e1e1;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .options-buscador ul {
    width: 100%;
  }
}

.options-buscador li {
  width: 31%;
  position: relative;
  display: flex;
  justify-content: center;
}

@media (max-width: 992px) {
  .options-buscador li {
    width: 47%;
  }
}

@media (max-width: 768px) {
  .options-buscador li {
    width: 100%;
  }
}

.options-buscador li a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  font-size: 19px;
}

.options-buscador .lupa {
  top: 12px;
  transition: all 0.3s;
  width: 60px
}

.options-buscador .option--macroareas .lupa {
  left: 43px;
}

.options-buscador .option--instituto .lupa {
  right: 50px;
}

.options-buscador .option--grupo .lupa {
  left: 95px;
  top: 7px;
}

.options-buscador .option--persona .lupa {
  left: 76px;
}

.options-buscador .option:hover .lupa {
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
}

.options-buscador .lupa {
  position: absolute;
}

.options-buscador li span {
  width: 100%;
  text-align: center;
  margin-top: 15px;
  line-height: 24px;
}

/* eol options search */

/* custom h2 */

.node-type-page #block-system-main .field-name-body h2 {
  background: none;
  padding-left: 25px;
}

.node-type-page #block-system-main .field-name-body h2::before {
  height: 66%;
  top: 50%;
  transform: translateY(-50%);
}

/* eol custom h2 */

/* custom modal window */
.modal-window {
  display: none;
  position: absolute;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1003;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  top: 50px;
  scroll-margin: 50px;
}

.modal-window.sent {
  width: 35%;
  left: 50%;
  z-index: 1005;
  padding: 0em 1em 1em;
}

.modal-window.active {
  display: block;
}

/* Style inputs, select elements and textareas */
.modal-window [type=text],
[type=tel],
[type=email],
.modal-window select,
.modal-window textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the label to display next to the inputs */
.modal-window label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

/* Style the submit button */
.modal-btn {
  color: white;
  background-color: rgb(167, 167, 167);
  padding: 12px 20px;
  margin: 0.5em;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  float: right;
  font-size: 16px;
}

.modal-btn:hover {
  background: #171A2B;
}

.send-btn {
  background-color: #44abd2;
}

.send-btn:hover {
  background: #126382;
}

.modal-btn:disabled {
  cursor: default;
  pointer-events: none;
}


/* Style the container */
.modal-window .form-container {
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f2f2f2;
}

/* Floating column for labels: 25% width */
.modal-window .col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.modal-window .col-50 {
  float: left;
  width: 50%;
  margin-top: 6px;
}

.modal-window .col-60 {
  float: left;
  width: 60%;
  margin-top: 6px;
}

.modal-window .col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

.modal-window .col-100 {
  float: left;
  width: 100%;
  margin-top: 6px;
}



/* Clear floats after the columns */
.modal-window .row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {

  .modal-window .col-25,
  .col-75,
  input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

textarea {
  font-family: 'Open sans', sans-serif;
  font-size: 16px;
}

#overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #64646454;
  display: none;
}

#overlay.active {
  display: block;
}

/* eol custom modal window */

#def_message {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: rgb(241, 243, 244);
  font-family: 'Open Sans';
  font-size: 16px;
  overflow-wrap: break-word;
}

#explanation {
  margin: 0 10px 20px;
  overflow: auto;
}

.centered_container {
  margin: auto;
  width: 60%;
}

.imgs_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  width: 90%;
  margin: 2% auto auto;
}

.close_button {
  font-weight: bold;
  font-size: 1.5em;
  cursor: pointer;
}

.sent_hr {
  border: 1px solid rgb(231, 235, 235);
}

@media only screen and (max-width: 768px) {

  /* For mobile phones: */
  .centered_container {
    width: 100%;
  }
}

.info-icon {
  cursor: pointer;
  position: relative;
  top: -5px;
  color: #44abd2;
  margin-left: 3px;
}

.remove_btn:hover {
  color: #c82333;
}

.autoComplete_wrapper[role=combobox]{
  width: 100%;
}

.tag {
  background-color: #e0e0e0;
  border-radius: 15px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  margin-right: 5px;
}

.tag .remove {
  margin-left: 5px;
  cursor: pointer;
}
