/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ancizar+Sans:ital,wght@0,100..1000;1,100..1000&display=swap');

.ancizar-sans {
  font-family: "Ancizar Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

a {
    color:#21406d;
    text-decoration: none;
}

a:hover {
    color:#356ab9;
}

body {
    background-image: url("../img/BG-02.webp");
    background-repeat: repeat;
}

p.hsmall {
    line-height: 1.5;
    color:#696969;
    font-size: 0.8em;
}

p.hsmall.seccion {
    line-height: 0.4;
    color:#696969;
    font-size: 0.8em;
}

label {
   color:#696969;
   font-size: .80em; 
}

.texto-qs {
    text-align: justify;
    font-size: 0.8em;
}

.contacto {
    font-size: .80em;
}

.icono {
    width: 1.2em;
}

.icono-volver {
    width: 1.2em;
}

.volver-texto {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  color:#696969;
}

.volver-texto:hover{
   color: #080c37;
}

.descripcion {
    font-size: .80em;
    line-height: 1.3;
    text-align: justify;
    color:#696969;
}

.capitalizar {
    text-transform: capitalize;
    font-size: 1.9em;
    color: #080c37;
}

.capitalizar.perfil-nombre {
    text-transform: capitalize;
    font-size: 3.5em;
    color: #080c37;
}

.capitalizar.ancizar-sans {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.titulo {
    font-size: 2.2em!important;
}

.info {
    color: #696969;
    font-size: .9em;
}

form p{
    font-size: .89em;
}

.logout {
    color:red;
}

.rssheader{
    background-color: #080c37;
    color: #f7f7f7;
}

.cabecera{
    background-image: url("../img/BG-head.webp");
    background-repeat: no-repeat;
}

.cabecera-peque{
    background-image: url("../img/BG-head.webp");
    height: 100px;
    background-position-x: 50%;
}

.cabecera-contacto{
    background-image: url("../img/BG-head.webp");
    height: 50px;
    background-position-x: 50%;
}

.nav-btn {
    background-color: #696969;
}

.btn-registro {
    background-color: #696969;
    color: #f7f7f7;
}

.btn-registro:hover {
    background-color: #efd200;
    color: #696969;
}

.navbar-nav .nav-link {
    color: #f7f7f7 !important;
}

.navbar-nav .nav-link:hover {
    color: #efd200 !important;
}

.nav-link {
    color:#f7f7f7 !important;
}

.nav-link:hover {
    color:#efd200 !important;
}

.nav-cuenta {
    background-color: #333ba8;
    color: #f7f7f7;
}

#a .disabled {
    color: #f7f7f7 !important;
}

foto-perfil {
    width: 70%;
    max-width: 20em;
}

.cuadricula {
    border-spacing: 0 15px;
    border-collapse: separate;
}

.cuadricula tbody tr {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.cuadricula tr {
    text-align: left;
    vertical-align: middle;
    background-image: linear-gradient(to right, rgba(226,225,220,0.4), rgba(247,247,247));
}

tr.hoverable {
  transition: background-color 0.3s;
  transition: transform 0.3s ease;
}

tr.hoverable:hover {
  box-shadow: 0 0 10px rgba(112, 95, 46, 0.5);
  background-color: #e0ded1;
  cursor: pointer;
  transform: scale(1.1);
}

.tarjeta {
    width: 25%;
}

.mouse-overlay {
    cursor: pointer;
}

.valor_total {
    font-size: 0.8em;
    margin-left: 5px;
}

.fecha_comentario {
    color: #696969;
    font-style: italic;
    font-size: 0.9em;
}

.lateral .table {
  table-layout: fixed;   /* Fuerza las celdas a ajustarse */
  width: 100%;           /* Que no exceda el contenedor */
  word-wrap: break-word; /* Permite cortar textos largos */
}


.comentario-corto {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comentario {
    font-size: 1em;
}

.fecha_comentario_peque {
    color: #696969;
    font-style: italic;
    font-size: 0.8em;
    text-align: end;
}

.terminos {
   font-size: 0.8em;
   text-align: justify;
}

 #copy-alert {
   position: absolute;
   top: -120%;
   right: 0;
   opacity: 0;
   transition: opacity 0.3s ease-in-out;
   pointer-events: none;
   white-space: nowrap;
}

.copy-container {
  position: relative;
  display: inline-block;
  right: 0%;
}

#copy-alert.show {
      opacity: 1;
}

.oculto {
    display: none;
}

.contenidos {
    background-image: linear-gradient(to bottom, rgba(226,225,220), rgba(247,247,247));
    padding: 30px 35px 0 30px;
}

.avatar {
    width: clamp(100px, 100%, 200px);
    border-style: solid;
    border: 4px double #d1cfc2;
    aspect-ratio: 1 / 1;
    object-fit: fill;
    display: block;
}

.lateral {
    background-image: linear-gradient(to top, rgba(226,225,220,0.4), rgba(247,247,247));
}

.footer-cont {
    background-color: #080c37;
    color: white;
}

.btn-style-1 {
    background-color: #696969;
    color: white;
}

.btn-style-2:disabled {
    background-color:#efd200;
    color:#080c37;
}

.btn-style-2 {
    background-color: #9c9c9c;
    color: white;
}

.btn-style-3 {
    background-color: #171c5a;
    color: white;
}

.btn-hover:hover {
    background-color: #efd200;
    color: #080c37;
}

.page-link {
    background-color: #d1cfc2!important;
    color: white!important;
}

.page-link:hover {
    background-color: #efd200!important;
    color: #080c37!important;
}

.nav-link.active.perfil-tab {
    color:#080c37 !important;
    background-color: #efd200!important;
}

.nav-link.perfil-tab {
   color:#696969 !important; 
}

.page-item.active .page-link {
    background-color: #696969 !important;
    border-color: #696969 !important;
    color: white !important;
}

.img-perfil-cuadrado {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: fill;
  border: 10px solid white;
  border-radius: 16px;
  display: block;
  box-shadow: 0 0 10px rgba(112, 95, 46, 0.5);
  margin-top: 30px;
}

.tab-panel {
   background-color: #f7f7f7;
}

.logo {
    width: 400px;
}

.estrella {
    width: 1.8em;
}

.valoraciones-avatar{
    width: 30%;
}

.cont-valoracion {
    width: 50%;
}

.enunciado {
    line-height: 0.4;
}

.mail-comentario{
    font-size: .9em;
}

.aviso-img{
    font-size: 0.7em;
}

.usuario-comentado {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

/*---- Tamaño celular ----*/
@media screen and (max-width: 1200px) {

    .logo {width: 210px;}
    .cabecera{background-position-x: 53%;}
    .cabecera-peque{background-position-x: 53%;}
    .saludo{text-align: center;}
    .capitalizar {font-size: 1.3em;}
    .capitalizar.perfil-nombre {font-size: 1.5em;}
    .capitalizar.ancizar-sans {max-width: 150px;}
    .tarjeta {width: 35%;}
    .info {font-size: .7em;}
    .estrella {width: 1.2em;}
    .valoraciones-avatar{width: 30%;}
    .comentario-corto {font-size: 0.8em;}
    .btn-style-2 {font-size: 0.8em;}
    .btn-style-1 {font-size: 0.8em;}
    .enunciado {font-size: 0.8em;line-height: 1.2;}
    .footer-cont{font-size: 0.7em;}
    .titulo {font-size: 1.6em!important;max-width: 300px!important;}
    .icono-volver {width: 1.5em;}
    .cont-valoracion {width: 100%;}
    .avatar.respuesta {width: 4em;}
    .comentario {font-size: .8em;}
    .fecha_comentario {font-size: .7em;}
    .usuario-comentado {font-size: .9em;max-width: 180px;}
    .perfil-tab {font-size: .8em;}
    .img-perfil-cuadrado {max-width: 250px;margin: auto;}
    .aviso-img {font-size: .6em;}
    .copy-container {right: 0%;}
     #copy-alert {font-size: .8em;}
}