﻿/*  CSS PROPIO  */

.rich-text {
  text-align: left !important;
}

.rich-text ul {
  list-style: square;

  text-align: left;

  padding-left: 2em;
}

.rich-text li {
  line-height: 24px;

  margin-bottom: 4px;
}

.rich-text a {
  color: #285e8e;

  font-weight: 700;

  text-decoration: underline;

  line-height: initial;
}

.rich-text em {
  font-style: italic;
}

.accordion ul {
  list-style: square;

  text-align: left;

  padding-left: 2em;
}

.accordion li {
  line-height: 24px;

  margin-bottom: 4px;
}

.accordion a {
  color: #285e8e;

  font-weight: 700;

  text-decoration: underline;

  line-height: initial;
}

.accordion em {
  font-style: italic;
}

.accordion ol {
  list-style: lower-alpha;

  padding-inline-start: 40px;
}

.accordion .card-body img {
  display: block;
  width: 100%;
  height: auto;
}

.accordion .card-body img.cardPdf {
  width: auto;
  display: inline;
}

.accordion .card-body li img {
  display: inline;
}

.nuevaSede footer {
  width: 100% !important;
  flex: 0 0 100%;
}

/* Ajustes */
main .divBreadcrumb {
  height: 100%;
  min-height: 56px;
}

@media (max-width: 767px) {
  main .divBreadcrumb .navBreadcrumb .breadcrumb .breadcrumb-item {
    margin-bottom: 5px;
  }
  .row-region {
    /*max-width:100%;*/
  }

  main .sectGroup .sectModCards .card .card-body {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .sectModCards .btn {
    height: auto;
    min-height: 54px;
  }

  .divBtns a,
  .divBtns button {
    height: auto;
  }

  h1 {
    font-size: 30px;
  }

  .btn.btn-blue {
    width: 100%;
    max-width: 330px;
  }
}

@media screen and (min-width: 992px) {
  .fila-footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .fila-footer li {
    margin-bottom: 20px;
  }
  footer .ullinkF {
    padding-bottom: 20px;
  }
}
@media screen and (min-width: 1440px) {
  .fila-footer {
    display: flex;
    flex-direction: column;
  }
  .fila-footer li {
    margin-bottom: 0px;
  }
  footer .ullinkF {
    padding-bottom: 0px;
  }
}

.sectModCards .btn {
  padding-left: 28px;
  padding-right: 28px;
}

.text-btn-nml {
  text-align: start;
}

.oficina-t {
  display: flex;
  flex-direction: column;
}
.tlf {
  display: flex;
  padding-top: 3px;
}
.tlf-img {
  display: block;
  width: 24px;
  height: 24px;
  margin-right: 7px;
}

@media (max-width: 767px) {
  .table-responsive {
    width: calc(100vw - 30px);
  }
}

.btn-stpa-log {
  justify-content: space-between;
  padding: 16px;
  background-color: white;
  border: 1px solid #0019a0;
}
.btn-spa-log:hover {
  background-color: #f2f5fa;
}
.btn-stpa-log .ico-btn-stpa {
  display: none;
}
.btn-stpa-log .text-btn-stpa {
  color: #000000;
}

.logout {
  display: flex;
}

.ico-btn-stpa-log {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 8px;
}

.cardUnica {
  width: 50vw;
}

#linkUri002 {
  height: auto;
}

.btn-guia-style {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background-color: #eeeefe;
  /* azul claro */
  border: 1px solid #5458f7;
  /* azul oscuro */
  border-radius: 25px;
  text-decoration: none;
  font-family: "inter";
  font-weight: 600;
  color: #0019a0;
  transition: background-color 0.2s ease;
}

.btn-guia-style:hover {
  background-color: #e0e0ff;
}

.btn-guia-style .icon-guia {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-guia-style .icon-guia svg path {
  fill: #0019a0;
  /* azul del icono */
}

.btn-guia-style .text-guia {
  font-size: 18px;
  line-height: 24px;
}

.btn-guia {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-guia:hover {
  background-color: #eaeaea;
}

.ico-guia svg {
  width: 32px;
  height: 32px;
}

.text-guia {
  font-size: 16px;
}

.btn.btn-stpa-azul,
.nuevaSede .btn.btn-stpa-azul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #0019a0;
  border: 1px solid #0019a0;
  border-radius: 30px;
}
.btn.btn-stpa-azul .text-btn-stpa-azul,
.nuevaSede .btn.btn-stpa-azul .text-btn-stpa-azul {
  color: #ffffff;
  font-style: normal;
  font-weight: 600;
  text-align: center;

  text-overflow: ellipsis;
  max-width: 25vw;
  white-space: nowrap;
  overflow: hidden;
}

.btn.btn-stpa-azul:hover,
.nuevaSede .btn.btn-stpa-azul:hover {
  background-color: #f2f5fa;
}
.btn.btn-stpa-azul:hover .text-btn-stpa-azul,
.nuevaSede .btn.btn-stpa-azul:hover .text-btn-stpa-azul {
  color: #0019a0;
}

.btn.btn-stpa-azul .ico-btn-stpa svg path,
.nuevaSede .btn.btn-stpa-azul .ico-btn-stpa svg path {
  fill: #ffffff;
}

.btn.btn-stpa-azul:hover .ico-btn-stpa svg path,
.nuevaSede .btn.btn-stpa-azul:hover .ico-btn-stpa svg path {
  fill: #0019a0;
}

.btn.btn-stpa-azul .logout svg,
.nuevaSede .btn.btn-stpa-azul .logout svg {
  display: flex;
  height: 100%;
  width: 100%;
}

.btn.btn-stpa-azul .logout svg path,
.nuevaSede .btn.btn-stpa-azul .logout svg path {
  fill: #89ccff;
}

.btn.btn-stpa-azul:hover .logout svg path,
.nuevaSede .btn.btn-stpa-azul:hover .logout svg path {
  fill: #0019a0;
}

@media (max-width: 767px) {
  .btn.btn-stpa-azul,
  .nuevaSede .btn.btn-stpa-azul {
    height: auto;
    min-height: 54px;
  }
}

.text-badge-hora,
.nuevaSede .text-badge-hora {
  width: 7ch;
  text-align: left;
}

.card-header-listado {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: none;
}
.card-img-solicitud {
  display: block;
  height: 54px;
  width: 54px;
  margin: 40px 0 24px;
}

/* Cambiar azul Bootstrap primary por vuestro azul corporativo */
.btn-primary,
.btn-outline-primary {
  color: #0019a0;
  border-color: #0019a0;
}

/* Asegurar contraste correcto en botones primarios */
.btn-primary {
  background-color: #0019a0;
  border-color: #0019a0;
  color: #ffffff;
}

/* Hover */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #001080;
  border-color: #001080;
  color: #ffffff;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #0019a0;
  border-color: #0019a0;
  color: #ffffff;
}

/* Estado deshabilitado */
.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #0019a0;
  border-color: #0019a0;
  color: #ffffff;
  opacity: 0.5; /* efecto visual de deshabilitado */
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px; /* separación limpia y más elegante */
}

.logo-link {
  display: block;
  padding: 0;
}

.imgLogo {
  height: 36px;
  display: block; /* elimina espacio blanco inferior */
}

@media screen and (min-width: 1440px) {
  .imgLogo {
    height: 92px;
    display: block; /* elimina espacio blanco inferior */
  }
}

@media screen and (min-width: 768px) {
  .imgLogo {
    height: 56px;
    display: block; /* elimina espacio blanco inferior */
  }
}

.imgLogoPrincipado {
  height: 36px;
  display: block; /* elimina espacio blanco inferior */
}

@media screen and (min-width: 1440px) {
  .imgLogoPrincipado {
    height: 92px;
    display: block; /* elimina espacio blanco inferior */
  }
}

@media screen and (min-width: 768px) {
  .imgLogoPrincipado {
    height: 56px;
    display: block; /* elimina espacio blanco inferior */
  }

  span.centrado {
    display: block;
    text-align: center;
    margin: 1rem 0;
  }

  #enlace-simulacion {
    display: inline-block;
    background: #0056b3;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  #enlace-simulacion:hover {
    background: #004494;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  #enlace-simulacion:active {
    transform: translateY(0);
  }
}

@media (max-width: 575px) {
  div#colA100 {
    width: 99%;
  }
  div#colA100 div[role="main"] h1 {
    border-bottom: 1px solid #e4e4e4;
    display: block;
  }
  div#colA100 h1 {
    font-size: 30px;
    margin: 0.5em 0;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.1;
    color: inherit;
  }
  div#colA100 p.entradilla {
    font-style: italic;
    line-height: 1.4em;
    margin: 0.5em;
  }
  div#colA100 fieldset {
    border: 1px solid #0019a0;
    border-radius: 10px;
    margin: 1em auto;
    width: 98%;
    padding: 0;
    min-width: 0;
    padding-left: 1em;
    padding-right: 1em;
  }
  div#colA100 fieldset legend {
    text-align: center;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 0.7em;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
    padding: 0.5em;
    background-color: #0019a0;
    color: #fff;
    text-transform: uppercase;
    display: block;
    width: 100%;
  }
  .oculto {
    display: none !important;
  }
  div#colA100 fieldset .form-inline .form-group {
    display: flex;
    flex-direction: column;
  }
  div#colA100 fieldset .form-inline .form-group label span.fa {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  div#colA100 fieldset .form-inline .form-group label span.fa-lg {
    line-height: 1em;
  }
  div#colA100 fieldset .form-inline .form-group label span.fa-lock:before {
    margin-top: -5px;
    padding-bottom: 10px;
  }
  div#colA100 fieldset .form-inline .form-group label span.fas-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1em;
  }
  div#colA100 fieldset .form-inline .form-group label span.fas-img {
    margin: 10px 0;
    max-width: 100px;
  }

  fieldset .form-inline .form-group #l-tipovalidacionCla img,
  fieldset .form-inline .form-group #l-tipovalidacionCLA img {
    margin-top: -5px;
    padding-bottom: 10px;
    max-width: max-content;
    padding-top: 20px;
  }
  fieldset .form-inline .form-group #l-tipovalidacionCla span,
  fieldset .form-inline .form-group #l-tipovalidacionCLA span {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  fieldset .form-inline .form-group .span-centrado {
    text-align: center;
  }
}

@media screen and (min-width: 575px) {
  fieldset .form-inline .form-group #l-tipovalidacionCla img,
  fieldset .form-inline .form-group #l-tipovalidacionCLA img {
    padding-right: 0.5rem;
  }
  div#colA100 fieldset .form-inline .form-group label span.fa-lock:before {
    padding-right: 0.5rem;
  }
  div#colA100 fieldset .form-inline .form-group label span.fa-user:before {
    padding-right: 0.5rem;
  }
}
