
/* Elementos ocultos por defecto - movidos desde estilos inline */
#centro_academico_fp_art_div,
#otros_centros,
#beca_div,
#otra_beca_div,
#estudio_anterior_div,
#nombre_titulo_previo_div,
#tab-2-content {
  display: none;
}

/* Bloques de DATOS DE ESTUDIOS */
.datos_estudios_bloque {
  padding: 1rem 1.25rem;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  border-left: 3px solid #dee2e6;
}
.datos_estudios_bloque_titulo {
  font-size: 0.95rem;
  color: #495057;
}

.red_text {
  color: #ff5555;
  font-weight: bold;
}

.centrar_tabla {
  text-align: center;
  vertical-align: middle !important;
}

.fs-16 {
  font-size: 16px;
}

.documento_solicitud {
  color: #e05d6f;
}

.consultas_oposicion label {
  font-size: 15px;
  font-weight: 500;
}

.declaracion_radio {
  font-size: 14px;
  margin-top: 3px;
  margin-left: 8px;
}

.ayuda_idesp {
  margin-top: 20px;
  margin-bottom: 10px;
  background-color: #d4d4ff;
  padding: 15px;
  padding-bottom: 5px;
  border-radius: 5px;
  font-size: 13px;
}

.check_responsable label {
  font-size: 16px;
  margin-left: 10px;
  margin-top: 5px;
}

.aviso {
  font-size: 10px !important;
}

label {
  font-size: 11px;
}

.estudios_seleccion label,
.documentacion_seleccion label,
.patrimonial_seleccion .custom-radio label,
.situaciones_seleccion label,
.revision_seleccion label,
.firma_solicitud_seleccion label,
.misolicitud_seleccion label,
.unidad_independiente,
#oposicion_div label,
#declaracion_div label {
  font-size: 18px;
  margin-left: 10px;
}

.justificacion_seleccion label {
  font-size: 15px;
  margin-left: 10px;
}

.select_oposiciones label {
  font-size: 14px;
  margin-left: 10px;
}

.custom-control-label::after,
.custom-control-label::before {
  width: 1.5rem;
  height: 1.5rem;
}

.custom-checkbox {
  margin-top: 10px;
}

.siguiente_pagina {
  float: right;
  max-width: 220px;
}

.anterior_pagina {
  max-width: 150px;
}

#enviar_solicitud,
#actualizar_solicitud,
#modificar {
  float: right;
  max-width: 220px;
}

#actualizar_solicitud,
#presentar_solicitud,
#presentar_documentos_solicitud {
  max-width: 150px;
  /*opacity: 0.5;*/
}

#actualizar_solicitud_documentos {
  max-width: 300px;
  /*opacity: 0.5;*/
  float: right;
}

#presentar_solicitud,
#presentar_documentos_solicitud {
  opacity: 1;
  margin-right: 10px;
  margin-top: 0px;
  max-width: 260px;
}

.mensaje_pendiente_presentacion {
  font-size: 16px;
}

.declaracion_cuadro,
.familiares_cuadro,
.patrimonial_cuadro,
.documentacion_cuadro,
.errores_doc_cuadro,
.documentacion_cuadro_multiple {
  border: 1px solid #7c7c7c;
  margin: 15px;
  /*padding: 10px;*/
  padding: 0.24rem 1.25rem;
}

.tipo_ingreso_select {
  border: 2px solid red;
  /*border-bottom: none;*/
  border-radius: 0;
  font-weight: bold;
  color: #ff5555;
}

.tipo_ingreso_select:focus {
  color: #ff5555;
}

.tipo_ingreso_select option {
  color: rgb(43, 43, 43);
}



#otros_datos_estudios {
  /*border: 1px solid #d8d8d8;*/
  margin: 30px 0px 20px 0px;
}

/* Padding específico para botones de subir */
.centro_manual_artistico_label {
  font-size: 14px !important;
}

#otros_datos_estudios label:not(.centro_manual_artistico_label) {
  font-size: 13px !important;
}

#otros_datos {
  margin: 30px 0px 20px 0px;
}

#otros_datos label{
  font-size:14px;
}

.familiares_cuadro,
.patrimonial_cuadro,
.documentacion_cuadro,
.errores_doc_cuadro {
  margin: 0px 0px 30px 0px;
}

.documentacion_cuadro_multiple {
  margin: 0px 0px 12px 0px;
}

.add_familiar,
.add_patrimonial,
.eliminar_familiar {
  cursor: pointer;
}

.add_familiar .fa-user-plus,
.add_patrimonial .fa-user-plus,
.eliminar_familiar .fa-trash {
  color: var(--brick);
}

.eliminar_familiar .fa-trash {
  font-size: 17px;
}

.eliminar_familiar center {
  float: right;
}

.nav-tabs .nav-link {
  border: 1px solid #1111;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: gainsboro;
  font-size: 13px;
  color: #495057;
}

#tab-4 {
  padding-top: 20px;
}

.ayudaDesplazamiento #tab-2{
  padding-top: 27px;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #495057;
  background-color: #e9e9e9;
  border-top: 2px solid var(--brick);
}

#documentacion_div .input-group-prepend {
  height: 75px;
}

#documentacion_div .custom-file .custom-file-label {
  height: 75px;
}

#documentacion_div .custom-file .custom-file-label:after {
  display: none;
}

/*#documentacion_div label{
  margin-left: 0px;
  margin-bottom: 0px;
}*/

#documentacion_div .btn-sm {
  font-size: 15px;
}

.boton_eliminar {
  margin-bottom: 5px;
  margin-top: -5px;
}

.checkbox_documentos {
  transform: scale(1.4);
}

.tabla_documentacion th,
.tabla_documentacion td {
  font-size: 18px;
}

.tabla_documentacion{
  width: 100% !important;
}

.tabla_documentacion_revisar th,
.tabla_documentacion_revisar td {
  font-size: 14px;
}

#tabla_solicitud th,
#tabla_solicitud td {
  font-size: 18px;
}

#tabla_expedientes th,
#tabla_expedientes td {
  font-size: 13px;
}

#tabla_presentaciones_documentacion th,
#tabla_presentaciones_documentacion td {
  font-size: 13px;
}

#tabla_presentaciones_subsanacion th,
#tabla_presentaciones_subsanacion td {
  font-size: 13px;
}

#tabla_presentaciones_justificacion th,
#tabla_presentaciones_justificacion td {
  font-size: 13px;
}

#tabla_expedientes_firmados th,
#tabla_expedientes_firmados td {
  font-size: 13px;
}

.tabla_historial th,
.tabla_historial td {
  font-size: 14px;
}

.tabla_renta th,
.tabla_renta td {
  font-size: 14px;
}

#tabla_solicitudes th,
#tabla_solicitudes td {
  font-size: 14px;
}

.tabla_familiares th,
.tabla_familiares td {
  font-size: 14px;
}

#tabla_situaciones th,
#tabla_situaciones td {
  font-size: 14px;
}

.tabla_documentos th,
.tabla_documentos td {
  font-size: 14px;
}

#tabla_subsanaciones th,
#tabla_subsanaciones td {
  font-size: 14px;
}

#tabla_documentacion_alegacion th,
#tabla_documentacion_alegacion td {
  font-size: 14px;
}

#tabla_denegaciones th,
#tabla_denegaciones td {
  font-size: 14px;
}

#tabla_contactos th,
#tabla_contactos td {
  font-size: 14px;
}

#tabla_subsanaciones_new th,
#tabla_subsanaciones_new td {
  font-size: 14px;
}

.tabla_listado_subsanaciones th,
.tabla_listado_subsanaciones td {
  font-size: 14px;
}

#tabla_denegaciones_new th,
#tabla_denegaciones_new td {
  font-size: 14px;
}

#tabla_gestores th,
#tabla_gestores td {
  font-size: 14px;
}

#tabla_autorizaciones th,
#tabla_autorizaciones td {
  font-size: 14px;
}

#tabla_seguimientos th,
#tabla_seguimientos td {
  font-size: 14px;
}

#tabla_estados th,
#tabla_estados td {
  font-size: 14px;
}

div.dataTables_wrapper div.dataTables_length label {
  font-size: 14px;
}

div.dataTables_wrapper div.dataTables_filter label {
  font-size: 14px;
}

.dataTables_wrapper .dataTables_length {
  float: left;
}

.dt-button-background {
  z-index: 0 !important;
  opacity: 0;
}
.dataTables_length {
  margin-right: 15px;
}

.tabla_documentacion,
#tabla_expedientes,
#tabla_presentaciones_documentacion,
#tabla_presentaciones_subsanacion,
#tabla_presentaciones_justificacion,
#tabla_solicitudes,
.tabla_familiares,
#tabla_situaciones,
.tabla_documentos,
#tabla_subsanaciones,
#tabla_seguimientos,
#tabla_estados,
#tabla_creditos,
#tabla_requisitos,
#tabla_solicitud,
#tabla_autorizaciones,
#tabla_subsanaciones_new,
#tabla_gestores,
.tabla_documentacion_revisar,
#tabla_contactos,
#tabla_denegaciones_new,
#tabla_denegaciones,
#tabla_validaciones,
.tabla_historial,
.tabla_renta,
.tabla_listado_subsanaciones,
#tabla_documentacion_alegacion,
#tabla_expedientes_firmados {
  border: 1px solid #bebebe;
}

#observaciones {
  min-height: 70px;
  resize: vertical;
}

.motivo_oposicion {
  max-height: 70px;
  resize: vertical;
}

#motivo_oposicion {
  max-height: 150px;
}

#parte_estudios,
#parte_situacion,
#parte_solicita {
  border: 1px solid #e8e8e8;
  padding: 15px 0;
}

#parte_solicita {
  margin-bottom: 25px;
}

.mensaje_datos {
  float: right;
  margin-top: 10px;
  margin-right: 15px;
  display: none;
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: var(--primary);
}

.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: var(--primary);
}

.swal2-modal h2 {
  font-size: 20px;
}

.swal2-modal {
  min-height: 300px !important;
}

.subir_solicitud {
  max-width: 150px;
  float: right;
}

.bg-lightred {
  background-color: #e05d6f !important;
  color: white !important;
}

.bg-greensea {
  background-color: #16a085 !important;
  color: white !important;
}

.badge,
.label {
  font-size: 10px;
  font-weight: 400;
}
.label {
  display: inline;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

.estado span {
  float: right;
  font-size: 13px;
}

.inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.inputfile + label {
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
  margin-left: 0px;
}
.inputfile + label span {
  max-width: 80%;
  text-overflow: ellipsis;
  overflow: hidden;
}

.boton_subir {
  display: flex;
  margin-bottom: 30px;
  padding-right: 0px;
}

.boton_subir_multiple {
  display: flex;
  margin-bottom: 12px;
  padding-right: 0px;
}

.inputfile:focus + label,
.inputfile.has-focus + label {
  outline: 1px dotted #000;
  outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  fill: currentColor;
  margin-top: -0.25em;
  margin-right: 0.25em;
}

.inputfile-1 + label {
  color: #f1e5e6;
  background-color: #5bc0de;
}

.inputfile-1:focus + label,
.inputfile-1.has-focus + label,
.inputfile-1 + label:hover {
  background-color: #5bc0de;
}

.documentacion_cuadro,
.documentacion_cuadro_multiple {
  padding: 6px 6px;
  min-height: 50px;
  height: 100%;
}

.documentacion_pendiente_texto,
.documentacion_add_texto {
  display: block;
  background-color: #5bc0de;
  margin-top: 40px;
  margin-bottom: 10px;
  padding-top: 5px;
  color: #fff;
}

.documentacion_add_texto {
  margin-top: 20px;
  margin-bottom: 15px;
}

.familiares_cuadro,
.patrimonial_cuadro {
  padding-bottom: 10px;
}

#presentacion_texto {
  font-size: 19px;
}

.ver_solicitud,
.ver_asunto {
  color: #5cb85c;
  font-size: 20px;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.text-strong {
  font-weight: 700;
}
.custom-font {
  font-family: 'Dosis', 'Arial', sans-serif;
}
.text-uppercase {
  text-transform: uppercase;
}

.b-l {
  border-left: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.b-r {
  border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.b-none {
  border: none !important;
}

.no_valido {
  cursor: pointer;
  color: #a6a5a5 !important;
  position: relative;
  top: 2px;
}

.doc_solicitante .row,
.doc_familiar .row {
  padding: 15px;
  padding-top: 25px;
  padding-bottom: 0px;
  /*border: 1px solid #7c7c7c;*/
}

.doc_solicitante_cuadro,
.doc_familiar_cuadro {
  margin-bottom: 20px;
}

.doc_solicitante_cuadro h4,
.doc_familiar_cuadro h4 {
  margin-left: -15px;
}

.doc_solicitante_cuadro .row,
.doc_familiar_cuadro .row {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #7c7c7c;
}

.chosen-container {
  width: 100% !important;
  font-size: 14px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
  zoom: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.chosen-container-single .chosen-single {
  height: 34px;
  line-height: 1.42857143;
  padding: 6px 12px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  background: white;
  color: #616f77;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: #dbe0e2;
}

.chosen-container-active.chosen-with-drop .chosen-single {
  background: white;
  border-color: #22beef;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.chosen-container .chosen-results li {
  font-size: 12px;
}

.chosen-container .chosen-results {
  color: #616f77;
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
  background-position: -18px 7px;
}

.dataTables_wrapper {
  overflow: auto;
}

/* CARD FLIP */

.cardBox {
  float: left;
  font-size: 1.2em;
  margin: 1% 0 0 1%;
  perspective: 800px;
  transition: all 0.3s ease 0s;
  width: 100%;
  margin-bottom: 15px;
}

.cardBox:hover .card {
  transform: rotateY(180deg);
}

.contenido_cuadro_mandos .card {
  background: #00c0ef;
  cursor: default;
  height: 120px;
  transform-style: preserve-3d;
  transition: transform 0.4s ease 0s;
  width: 100%;
  -webkit-animation: giro 1s 1;
  animation: giro 1s 1;
}

.contenido_cuadro_mandos .card p {
  margin-bottom: 1.8em;
}

.card .front,
.card .back {
  backface-visibility: hidden;
  box-sizing: border-box;
  color: white;
  display: block;
  font-size: 16px;
  height: 100%;
  padding: 1.7em;
  position: absolute;
  width: 100%;
}

.card .back {
  padding: 2.7em;
  text-align: center;
}

.card .front h3,
.card .back h3 {
  color: white;
  margin-bottom: 0px;
}

.card .front strong {
  background: #fff;
  border-radius: 100%;
  color: white;
  font-size: 1.5em;
  line-height: 30px;
  padding: 0 7px 4px 6px;
}

.card .back {
  transform: rotateY(180deg);
}

.card .back a {
  padding: 0.3em 0.5em;
  background: white;
  color: #fff;
  text-decoration: none;
  border-radius: 1px;
  font-size: 0.9em;
  transition: all 0.2s ease 0s;
}

.card .back a:hover {
  background: #fff;
  color: ehite;
  text-shadow: 0 0 1px white;
}

.cardBox:nth-child(1) .card .back {
  background: #00c0ef;
}

.cardBox:nth-child(2) .card {
  -webkit-animation: giro 1.5s 1;
  animation: giro 1.5s 1;
}

.cardBox:nth-child(3) .card {
  -webkit-animation: giro 2s 1;
  animation: giro 2s 1;
}

.cardBox:nth-child(4) .card {
  -webkit-animation: giro 2.5s 1;
  animation: giro 2.5s 1;
}

@-webkit-keyframes giro {
  from {
    transform: rotateY(180deg);
  }
  to {
    transform: rotateY(0deg);
  }
}

@keyframes giro {
  from {
    transform: rotateY(180deg);
  }
  to {
    transform: rotateY(0deg);
  }
}

@media screen and (max-width: 767px) {
  .cardBox {
    margin-left: 2.8%;
    margin-top: 3%;
    width: 46%;
  }
  .cardBox:last-child {
    margin-bottom: 3%;
  }
}

@media screen and (max-width: 480px) {
  .cardBox {
    width: 94.5%;
  }
  .contenido_cuadro_mandos .card {
    height: 120px;
  }
}

/* END CARD FLIP */

/* ESTILOS MÓVILES*/
@media screen and (max-width: 1024px) {
  #documentos_presentacion {
    font-size: 11px;
  }

  #otra_documentacion_div {
    margin-bottom: 15px !important;
  }

  .menu_solicitud #nav-tab a span {
    font-size: 8px;
  }

  .estudios_seleccion label,
  .documentacion_seleccion label,
  .justificacion_seleccion label,
  .patrimonial_seleccion .custom-radio label,
  .situaciones_seleccion label,
  .revision_seleccion label,
  .firma_solicitud_seleccion label,
  .misolicitud_seleccion label,
  .unidad_independiente,
  #oposicion_div label,
  #declaracion_div label {
    font-size: 12px;
    margin-left: 10px;
  }

  .documentacion_seleccion label,
  .firma_solicitud_seleccion label {
    margin-left: 0px;
  }

  .contenido_cuadro_mandos .card {
    height: 180px;
  }

  #acciones div button {
    width: 100% !important;
    font-size: 10px;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
  #documentos_presentacion {
    font-size: 11px;
  }

  #otra_documentacion_div {
    margin-bottom: 15px !important;
  }

  #acciones div button {
    width: 100% !important;
    font-size: 10px;
  }
  .menu_solicitud #nav-tab a span {
    font-size: 8px;
  }
}

@media screen and (max-width: 480px) {
  #otra_documentacion_div {
    margin-bottom: 15px !important;
  }
  #otra_documentacion_div button {
    font-size: 11px;
  }
  .contenido_cuadro_mandos .card {
    height: 120px;
  }

  #inicio_sesion,
  #registro_lanzarote,
  #recordar_lanzarote,
  #restablecer_lanzarote {
    padding-left: 0px;
    padding-right: 0px;
    padding: 30px;
  }

  #registro_lanzarote {
    margin-top: 5px !important;
  }

  .menu_solicitud #nav-tab a span {
    display: none;
  }

  #tab-6 {
    padding-top: 7px;
  }

  .ayudaDesplazamiento #tab-2{
    padding-top: 7px;
  }

  .anterior_pagina,
  .siguiente_pagina,
  .subir_solicitud {
    margin: auto;
    margin-top: 10px;
    float: none;
  }

  #actualizar_solicitud,
  .mensaje_datos,
  #actualizar_solicitud_documentos {
    float: left;
    margin-bottom: 10px;
  }

  #tabla_documentacion_wrapper {
    overflow: scroll;
  }

  .firma_solicitud_seleccion button {
    margin-top: 10px;
  }

  .documentacion_cuadro,
  .documentacion_cuadro_multiple {
    margin-bottom: 0px;
  }

  .boton_subir,
  .boton_subir_multiple {
    margin-top: 0px !important;
    padding-right: 0px;
  }

  .documentacion_seleccion label,
  .firma_solicitud_seleccion label {
    margin-left: 0px !important;
  }

  #presentacion_texto {
    font-size: 15px;
  }

  #acciones div {
    margin-bottom: 10px;
  }
}

/* Enlaces de ayuda para familiares */
.ayuda-miembros-unidad,
.ayuda-familia-monoparental,
.ayuda-emancipacion {
    color: #ff4a38;
    text-decoration: none;
    margin-left: 5px;
}

.ayuda-miembros-unidad:hover,
.ayuda-familia-monoparental:hover,
.ayuda-emancipacion:hover {
    text-decoration: none;
    opacity: 0.8;
}

.ayuda-miembros-unidad .fa-info-circle,
.ayuda-familia-monoparental .fa-info-circle,
.ayuda-emancipacion .fa-info-circle {
    color: #ff4a38;
}

/* Estilos para tabla de protección de datos */
.tabla-proteccion-datos {
    border: 1px solid #696969 !important;
}

.tabla-proteccion-datos td {
    border: 1px solid #696969 !important;
    padding: 10px;
    vertical-align: top;
}

.tabla-proteccion-datos td:first-child {
    width: 30%;
}

/* Mensaje renta estudios 18-25 años (encima del nombre del documento) */

.mensaje_renta_estudios_18_25 .text-warning {
    color: #f0ad4e !important;
    font-weight: bold;
    font-size: 18px;
}
.mensaje_renta_estudios_18_25 .text-danger {
    color: #e05d6f !important;
    font-weight: bold;
    font-size: 18px;
}

.text-green {
    color: #008000 !important;
}


