html,
body {
  min-height: 100%;
}
body,
div,
form,
input,
label {
  padding: 0;
  margin: 0;
  outline: none;
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  color: #666;
  line-height: 22px;
}
h1 {
  position: absolute;
  margin: 0;
  line-height: 50px;
  font-size: 50px;
  color: #fff;
  z-index: 2;
}
.test {
  background-color: white;
}
.testbox {
  display: flex;
  justify-content: center;
  align-items: center;
  height: inherit;
  padding: 20px;
}
form {
  width: 50%;
  padding: 20px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 20px 0 #004d00;
}
.banner {
  position: relative;
  height: 320px;
  background-image: url(".././images/headJobOffer.jpg");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-color: black;
}
.banner::after {
  content: "";
  border: 1px;
  border-color: black;
  position: absolute;
  width: 100%;
  height: 100%;
}
input {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
input {
  width: calc(100% - 10px);
  padding: 5px;
}
input[type="date"] {
  padding: 4px 5px;
}
.item:hover p,
.item:hover i,
.question:hover p,
.question label:hover,
input:hover::placeholder {
  color: #004d00;
}
.item input:hover {
  border: 1px solid transparent;
  box-shadow: 0 0 6px 0 #004d00;
  color: #004d00;
}
.item {
  position: relative;
  margin: 10px 0;
}
.item span {
  color: red;
}
input[type="date"]::-webkit-inner-spin-button {
  display: none;
}
.item i,
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  font-size: 20px;
}
.item i {
  right: 2%;
  top: 30px;
  z-index: 1;
}
[type="date"]::-webkit-calendar-picker-indicator {
  right: 1%;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}
.question span {
  margin-left: 30px;
}
.btn-block {
  margin-top: 10px;
  text-align: center;
}
button {
  width: 150px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #004d00;
  font-size: 16px;
  color: rgb(165, 2, 2);
  cursor: pointer;
}
button:hover {
  background: #008000;
}
.custom-file-input::-webkit-file-upload-button {
  visibility: hidden;
}
.custom-file-input::before {
  content: "Seleccionar archivo";
  display: inline-block;
  background: linear-gradient(top, #f9f9f9, #e3e3e3);
  padding: 5px 8px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  text-shadow: 1px 1px #fff;
  font-weight: 700;
  font-size: 10pt;
}
.custom-file-input:hover::before {
  border-color: black;
}
.custom-file-input:active::before {
  background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}


.dropdown {
  position: relative;
  display: inline-block;
  padding: 8px;
  margin-bottom: 20px;
}

.dropdown-content {
  position: absolute;
  background-color: #f9ebff;
  min-width: 80px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content select{
  background-color: #f9ebff;
  border:2px solid transparent;
}

.dropdown-content a {
  background-color: #f9ebff;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #f9ebff}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

@media (min-width: 568px) {
  .name-item,
  .city-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .name-item input,
  .city-item input,
  .name-item div {
    width: calc(50% - 20px);
  }
  .name-item div input {
    width: 97%;
  }
  .name-item div label {
    display: block;
    padding-bottom: 5px;
  }
}

/* Desplegable «¿Tienes permiso para trabajar en la UE?»: el mismo aspecto que las cajas de texto de al lado */
.testbox .name-item select {
  display: block;
  width: calc(100% - 10px);
  height: 46px;
  margin-bottom: 15px;
  padding: 0 15px;
  border: 1px solid #b5b5b5;
  border-radius: 3px;
  background: #fff;
  color: #2a2a2a;
  font-family: inherit;
  font-size: 14px;
}
@media (min-width: 568px) {
  .testbox .name-item div select {
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  /* 16 px, como las cajas de texto en móvil: con menos, iPhone amplía la página al tocarlo */
  .testbox .name-item select {
    width: 100%;
    font-size: 16px;
  }
}

/* Casilla «conservar mi candidatura» (bolsa de candidatos): la casilla a la izquierda y el texto al lado, pulsable */
.testbox .item-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
/* con #contact-form para ganar a la regla general de la plantilla (#contact-form input[type="checkbox"]: 10 % de ancho y relleno) */
.testbox #contact-form .item-check input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
}
.testbox .item-check label {
  cursor: pointer;
}
