/* FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* BODY */
body{
	/*background-image: url(/images/aulavirtual/fondo-elemental.png);*/
    background-repeat: repeat;
    background-position: top left;
    background-size: auto;
    background-color: #fdfbfb;
	background-size: 300px auto;
	padding: env(safe-area-inset-top, 20px)
	   env(safe-area-inset-right, 20px)
	   env(safe-area-inset-bottom, 20px)
	   env(safe-area-inset-left, 20px);
	margin: 0;
	overflow-x: hidden;
}
.view-progresos .site-grid,.view-category .site-grid,.view-categories .site-grid,.view-article .site-grid{
	margin: auto;
}
body,.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-family: 'Nunito', sans-serif;
}
.menu-movil{
	display: none;
}
.container-header {
    -webkit-box-shadow: none; 
    box-shadow: none;
}
.container-header .grid-child{
	padding : 0.5em .4em;
}
/* FORMULARIO DE ACCESO */
.head-login{
	text-align: center;
	margin-bottom: 3em;
}
.head-back {
    display: flex;
}
.acceso-elemental .aulaLang {
    margin: auto 0 auto auto;
}
.aulaLang h3{
	margin-bottom: 0;
}
.head-login img {
    max-width: 17dvw;
}
.head-login h1{
	font-size: 70px;
}
.head-login h3,.form-reg h3{
	font-family: 'Nunito';
	font-size: 22px;
}
#com-users-login__form {
    max-width: 500px;
    margin: 0 auto;
	margin-bottom: 2em;
}
#username,#password, #name {
    margin: .5em 0;
	font-weight: 900;
}
.input-password-toggle {
    position: absolute !important;
    right: 0;
    border: 0;
    background: transparent;
    top: .5em;
}
.input-password-toggle:hover {
    background: transparent;
}
.icon-eye:before {
    color: #d9d9ef;
}
.star {
    display: none;
}
.control-label label {
    margin-left: 1em;
	font-size: 1rem;
}
.com-users-login__remember {
    display: flex;
	justify-content: space-between;
	font-weight: 700;
	margin-bottom: 2em;
}
.form-resetpass a{
	text-decoration: none;
	color: #000;
}
.infoDiv img {
    width: 50px;
}
.acceso-elemental .mod-menu a{
	color: #333 !important;
}
.form-check-input[type=checkbox] {
    border-radius: 0.25em;
    border: solid 2px #d9d9ef;
}
.aulaLoginbtn{
	text-align: center;
}
.btn-acceder{
	/* Colores personalizables */
	--pink:       #E473A7;  /* rosa principal */
	--pink-dark:  #d8689f;  /* franja inferior */
	--text:       #111;

	display: inline-block;
	padding: 1.2rem 1rem;
	font-weight: 800;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--text);
	background: linear-gradient(180deg, #f7aed0 0%, var(--pink) 100%);
	border: 0;
	border-radius: 16px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	width: 60%;

/* franja oscura inferior + pequeña sombra exterior suave */
box-shadow:	inset 0 -10px 0 var(--pink-dark),	0 2px 4px rgba(0,0,0,.06);
	transition: transform .08s ease, box-shadow .08s ease, filter .2s ease;
}

.btn-acceder:hover{
	filter: brightness(1.03);
}

.btn-acceder:active{
	transform: translateY(1px);
	box-shadow:	inset 0 -6px 0 var(--pink-dark), 1px 2px rgba(0,0,0,.04);
}

.btn-acceder:focus-visible{
	outline: none;
	box-shadow:	0 0 0 3px rgba(216,104,159,.25), inset 0 -10px 0 var(--pink-dark);
}

.btn-acceder[disabled],
.btn-acceder.disabled{
	opacity: .6;
	cursor: not-allowed;
}
.selReg{
    display:flex;
    gap:1rem;
    align-items:stretch; /* iguala las alturas de los items */
  }
  .selReg > div{
    flex:1 1 0;
    display:flex;
  }
  .selReg a{
    flex:1 1 auto;           /* ocupa todo el alto del contenedor */
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:56px;
    padding:0.85rem 1.25rem;
    text-align:center;
    white-space:normal;
    line-height:1.2;
  }
  @media (max-width: 576px){
    .selReg{ flex-direction:column; }
  }

  /* Botón pastel genérico */
  #btn-pastel{
    --bg:       #71c8dd;  /* azul principal */
    --bg-top:   #71c8dd;  /* degradado superior */
    --lip:      #5d9eaa;  /* “faja” inferior */
    --text:     #111;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:56px;
    padding:1.5rem 1rem;
    border:0;
    border-radius:16px;
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
    color: var(--text);
    text-decoration:none;
	font-weight: 800;
	font-size: 1rem;
	line-height:1;
    cursor:pointer;

    /* franja inferior + suave sombra exterior */
    box-shadow:
      inset 0 -10px 0 var(--lip),
      0 3px 6px rgba(0,0,0,.08);

    transition: transform .08s ease, box-shadow .08s ease, filter .2s ease;
    border: 1px solid rgba(0,0,0,.05); /* da ese borde suave del ejemplo */
  }

  #btn-pastel:hover{ filter: brightness(1.03); color: #FFF; }
  #btn-pastel:active{
    transform: translateY(1px);
    box-shadow:
      inset 0 -6px 0 var(--lip),
      0 1px 3px rgba(0,0,0,.05);
  }
  #btn-pastel:focus-visible{
    outline: none;
    box-shadow:
      0 0 0 3px rgba(93,158,170,.25),
      inset 0 -10px 0 var(--lip);
  }
  #btn-pastel[aria-disabled="true"],
  #btn-pastel.disabled{
    opacity:.6; cursor:not-allowed;
  }

  /* Paleta “sky” (puedes crear más variaciones cambiando estas vars) */
  .btn-sky{
    --bg:     #7ccfe0;
    --bg-top: #96d9e7;
    --lip:    #6ea8b3;
  }
.aulabtn {
	color: #000;
	background-color: #F195BF;
	border: 0;
	border-radius: 2em;
    font-size: 22px;
    font-weight: 500;
}
.aulabtnbk {
	color: #000;
	background-color: #fde6f0;
	border: 0;
	border-radius: 2em;
    font-size: 22px;
    font-weight: 500;
}

.com-users-registration__register {
	color: #000;
	background-color: #F195BF;
	border: 0;
	border-radius: 2em;
	width: 50%;
    font-size: 22px;
    font-weight: 500;
}
.com-users-registration__submit .controls{
	text-align: center;
}
.paso-pill {
	/*background-color: #e9ecef; /* gris claro por defecto */
	color: #495057;
	border-radius: 0.375rem;
	padding: 0.5rem 0.75rem;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.paso-pill.active {
	/*background-color: #0d6efd; /* azul Bootstrap */
	color: white;
	font-weight: bold;
}
.resumen-input:disabled {
    background-color: #e9ecef !important;
    cursor: not-allowed;
    color: #495057;
}
#paso3,#paso4 {
    width: 70%;
}
#member-registration h3{
	font-size: 3.5rem;
	text-align:center;
}
.cursoDeshabilitado {
	color: #aaa !important;
	pointer-events: auto;
	opacity: 0.6;
}

.cursoDeshabilitado:hover {
	text-decoration: none;
}

.overlay-capa {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: not-allowed;
	background-color: rgba(255, 255, 255, 0.6);
	border-radius: 0.25rem;
}

.form-reg{
	text-align: center;
}
.form-reg h3{
	margin: 1em 0;
}
#reg-alumn{
	cursor: pointer;
}
.acceso-primaria .footer{
	height: 200px;
    background-color: transparent;
    background-image: url(/images/contenido/footer-acceso.png);
}
.acceso-primaria .footer .grid-child{
	padding: 0;
}
.acceso-primaria .footer p{
	margin-bottom: 0;
}
.com-users-login__form fieldset{
	width: 80%;
    margin: 0 auto;
}
.head-login a{
	text-decoration: none;
	color: #000;
}
.head-login span {
    position: absolute;
    right: 25%;
    font-size: 2em;
    font-weight: bold;
    font-family: 'Nunito';
}
.header-aulaprim .grid-child {
	width: auto;
}

/* FORMULARIO CONTACTO */

.img-alta-info {
    padding: 0 1em 1em 1em;
    text-align: center;
}
.txt-alta-info {
    flex-basis: 90%;
    font-size: 1.5em;
    font-weight: bold;
	font-family: 'Nunito', sans-serif;
    text-align: center;
	margin-bottom: 1em;
}
.back-to-top-link {
    position: fixed;
    width: 37px;
}
.qf3form.portadaprim .qfchkbx {
    display: inline-block;
    width: 100%;
}
.qfclose{
	/*visibility: hidden;*/
    cursor: pointer;
    background-color: transparent;
    text-decoration: none;
    font-weight: bold;
    color: #000;
    padding: 0.2em 1em;
    right: 0;
    top: 2%;
    position: absolute;
    font-size: 1.5em;
}
/*.qfclose:after {
    content: 'CERRAR';
    visibility: visible;
    border-radius: 2em;
    border: 2px solid #f195bf;
    padding: 0.5em 1.5em;
}*/
.qf3.qf3btn.qfsubmit {
    padding-right: 1em;
    /*margin-left: 58%;*/
	text-align: center;
}
.qf3form.portadaprim .qf3btn input {
    border: none;
    border-radius: 2em;
    padding: 0.4em 1em;
    background: #F195BF;
    cursor: pointer;
	font-weight: bold;
	padding: 0.5em 2.3em;
}
.qf3form.portadaprim .qf3btn input:hover {
	background-color: #F575B0;
	color: #FFF;
	transition: all 1s ease;
}
.qf3.qf_checkbox.req.box_terms {
    margin-left: 1em;
}
.form-alta-info img {
    width: 60px;
}
/* HEADER */
.container-header{
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: sticky;
    background-color: #FFF;
    background-image: none;
    max-height: 20dvh;
}
.header-aulaprim {
    display: flex;
}
.logo-centro {
    max-width: 100px;
}
.logo-centro-acceso {
    max-width: 70px;
}

.aulaGrupo span {
	border: none;
    border-radius: 16px;
    padding: 0.5em 1em 0.5em 1.5em;
    font-weight: bold;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #A3D8E7;
}
.selGrupo {
    border: none;
    border-radius: 16px;
    padding: 0.5em 1em 0.5em 1.5em;
    font-weight: bold;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #A3D8E7;
	color: #333;
}
.aulaGrupo {
    align-self: center;
}

/* MENU NAVEGACION */
.container-header .mod-menu {
	margin: 0;
}
.menu-horizontal{	
	font-weight: bold;	
	text-align: center;
	justify-content: flex-end;
	color: #333;
}
.menu-horizontal img{
	max-width: 40px;
	max-height: 40px;
	display: block;
	margin: 0 auto 5px;
}
.menu-horizontal span{
	display: block;
    text-align: center;
	color: #000;
}
.container-header .mod-menu>li+li {
    margin-left: 2dvw;
}
.nav-item.active img {
    /*filter: brightness(0) saturate(100%) invert(76%) sepia(3%) saturate(7199%) hue-rotate(291deg) brightness(93%) contrast(103%);*/
}
.nav-item.active a::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  margin: 0.25em auto 0;
}
.nav-item img:hover {
   /* filter: brightness(0) saturate(100%) invert(76%) sepia(3%) saturate(7199%) hue-rotate(291deg) brightness(93%) contrast(103%);*/
}
.grid-child.logo {
    margin-left: 0;
}
.grid-child.container-nav {
    margin-right: 1em;
}
/* PORTADA LIBROS */
main {
    /*background-color: #FFF;
	box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
	border-radius: 16px;
	padding: 1em;
	height: calc(100vh - 25vh);
    overflow-y: hidden;
    overflow-x: hidden;
    padding-right: 10px;*/
}
/*.container-component > * + * {
	margin: 1em 0;
}*/
.view-ranking {
	background-image: none;
}
.view-ranking main{
	height: 100%;
	padding: 0;
	box-shadow: none;
}
.view-ranking header{
	display: none;
}
.listadoCursos {
    /*padding-top: 2em;
	background-color: #FFF;
	box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
	border-radius: 16px;
	padding: 1em;*/
	display: flex;
	justify-content: center;
	height: 100%;
}
#aulaCursosWrapper {
    margin: auto 0;
    width: 100%;
}
.aulacursos{
	margin: auto;
}
.infousuario{
	border-bottom: solid 2px #d9d9ef;
	display: flex;
    justify-content: space-between;
}
.descFactura img {
    max-width: 50px;
}
/*.site-grid {
    margin: auto;
}
.top-b .card-header {
	border: 0;
	padding: 0 1em 0.4em;
	font-family: 'Archivo Black';
	font-size: 40px;
	font-weight: bold;
	text-transform: uppercase;
}
.top-b .card-body{
	padding: 0 1.7em;
	font-family: 'Nunito';
	font-size: 23px;
}
.contentpane {
    padding: 0; 
}
.center.item-image {
    text-align: center;
}
.item-content {
    margin: 0 auto;
}
.blog-items {
    grid-gap: 6em;
    display: flex;
    margin: 0 0 1em;
	text-align: center;
	justify-content: center;
}
.imagenLibro{
	max-width: 250px;
}
.tituloLibro {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
	display: none;
}
.enlaceManual {
    background-color: #F195BF;
    border-radius: 2em;
    width: 90%;
    display: block;
    text-decoration: none;
    font-size: 24px;
    color: #000;
    font-weight: bold;
    margin: 1em auto 0;
}
*/

/* LISTADO CATEGORIAS */
.card-footer {
  border-top: none;
}
.btn-lg{
	width: 100%;
}
.enlaceTitCat{
	text-decoration: none;
}
.listadoCursos a{
	text-decoration: none;
	color: #333;
	font-weight: bold;
}
/* LISTADO UNIDADES */
.contunidades{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 1.5rem;
    height: 100%;
    overflow: hidden;
    padding: 1rem;
    background: #fff;
    flex: 1 1 auto;
	border-radius: 1em;
}
.contunidad{
	height: 100%;
	background: #fff;
	border-radius: 1em;
	height: 100%;
    background: #fff;
    border-radius: 1em;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: flex;
}
.unicabecera{
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
	display: flex;
	padding: 1em;
	margin-bottom: 3em;
}
.unioptions img{
	max-width: 50px;
}
.unioptions span{
	font-weight: 800;
}
.enlaceuni{
	width: 100%;
    height: 100%;
	color: #FFF;
	font-weight: 700;
	font-size: 1.5rem;
	text-decoration: none;
	display: flex;
    align-items: center;
    justify-content: center;
}
.btn:first-child:active{
	border-color: transparent;
}
.col-12.col-lg-10 .contunidades {
    background-color: #ffffff;
    padding: 1em;
    border-radius: 1em;
}
.curso-1 .sidebar{
	/*background-image: url('/images/cursos/fondo-1.png'); */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 90%;
    background-color: #12a0ff;
}
.curso-2 .sidebar{
	/*background-image: url('/images/cursos/fondo-2.png'); */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 90%;
    background-color: #25b160;
}
.curso-3 .sidebar{
	/*background-image: url('/images/cursos/fondo-3.png');*/ 
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 90%;
    background-color: #ffd600;
}
.curso-4 .sidebar{
	/*background-image: url('/images/cursos/fondo-4.png'); */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 90%;
    background-color: #b229e9;
}
.curso-5 .sidebar{
	/*background-image: url('/images/cursos/fondo-4.png'); */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 90%;
    background-color: #5E579B;
}
.curso-6 .sidebar{
	/*background-image: url('/images/cursos/fondo-4.png'); */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 90%;
    background-color: #ff5f2f;
}
.numerocurso .card-body{
	position: absolute;
    height: calc(100vh - 33vh);
	width: 100%;
}
.sidebar{
	border-radius: 16px;
}
.curso-1 {
  --color: #22b7f7;
  --sombra: #81cfff;
}

.curso-2 {
  --color: #2ecc71;
  --sombra: #2ecc7166;
}

.curso-3 {
  --color: #fcd509;
  --sombra: #f8f1ca;
}

.curso-4 {
  --color: #c32fff;
  --sombra: #e7b3fc;
}
.curso-5 {
  --color: #5E579B;
  --sombra: #9a93da;
}
.curso-6 {
  --color: #ff5f2f;
  --sombra: #f07e51;
}
.backUnidad{
	height: 50px;
    position: absolute;
    bottom: 0;
    width: 100%;
	border-radius: 0 0 16px 16px;
	background-color: var(--color);
}
#enlaceTitCat{
	cursor: pointer;
	height: 80vh;
	/*max-height: 1100px;*/
}

.progarmonia {
    text-align: center;
    justify-content: space-around;
}


/*.enlaceuni{
	font-size: 1.2rem;
	color: white;
	font-weight: bold;
	padding: 1.8em;
	border-radius: 0.75em;
	text-align: center;
	box-shadow: 0 6px 0 var(--sombra);
	background-color: var(--color);

}*/
.unicont {
	width: 100%;
    height: 100%;
    background-color: var(--color);
    border-radius: .75em;
    box-shadow: 4px 4px 0 var(--sombra);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;}

.back-button i {
	font-size: 5rem;
}
.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
}

.unit-number {
	position: absolute;
    bottom: 0.4em;
    left: 2vw;
    width: 69%;
    height: auto;
    margin: 0 auto;
    z-index: 1;
}
.number-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
}


/* UNIDAD */
.contunidad a{
	text-decoration: none;
	color: black;
}
.unidades-cards{
	justify-content: space-around;
}
/* FOOTER */

.container-footer {
    background-image: none;
    background-color: #F195BF;
    color: #FFF;
}
.footer  {
	margin-top: 0;
}
.footer .grid-child {
    padding: 0.5em;
}
.foot-logoImg {
    max-width: 25px;
    float: left;
}
.container-footer .mod-menu {
    flex-direction: row;
    gap: 1em;
    color: #000;
	font-weight: bold;
}
.aulah2unidad{
	text-transform: uppercase;
	font-weight: 900;
	font-size: 3rem;
    margin-left: .1em;
}
.activity-title {
    font-weight: 900;
    font-size: 1.5em;
    margin: 0.5em 0;
}
.mceContentBody {
    background-color: #FFF;
    background-image: none;
}
.btn-lg, .btn-group-lg > .btn {
    --btn-border-radius: none;
}
/* PERFIL ALUMNOS */

.profile-header {
  display: flex;
  align-items: center;
  /* opcional: separación interior */
  gap: 0.75rem;
}

.profile-avatar {
  /* controla el tamaño inicial */
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  max-width: 100%;
}
.profile-avatar-punt {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .5em;
	object-fit: cover;
}
.d-flex.justify-content-lg-end.justify-content-center.gap-4.unioptions {
    margin-right: 1em;
}
/* Ajustes en móviles */
@media (max-width: 480px) {
  .profile-avatar {
    width: 2.25rem;
    height: 2.25rem;
  }
  .alumnTitle {
    font-size: 1rem;
  }
}
/*#member-profile fieldset:nth-child(2) .control-group:nth-child(-n+2),#member-profile fieldset:nth-child(3) { */
#member-profile fieldset:nth-child(2) .control-group,#member-profile fieldset:nth-child(3) { 
  display: none; 
}
#member-profile fieldset {
    margin-bottom: 0;
	margin-top: 0; 
}
#member-profile .cont-form{
	display: flex;
	flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
}
#member-profile .user-image{
    order: 0;
    flex: 30%;
	text-align: center;
	padding-top: 5%;
}
#member-profile .user-image img{
	max-width: 150px;
	cursor: pointer;
}
#member-profile .user-data{
    order: 1;
    flex: 70%;
}
.form-control, .form-select{
	background-color: #F4F1F1;
	border: none;
}
.control-group {
    margin: 0;
}
#member-profile fieldset:nth-child(2) .control-group {
    margin: 0;
}
#jform_username-desc {
    margin-left: 1em;
}
.image-avatarTxt {
    margin-top: 1em;
	text-align: center;
}
.form-guardar {
    color: #000;
    background-color: #F195BF;
    border: 0;
    border-radius: 2em;
    width: 80%;
    font-size: 22px;
    font-weight: 500;
    padding: 10px;
    margin: 0 auto;
}
.btnedit{
	background-color:#D1A4E9;
	border: none;
	border-radius: 1em;
}
.btnedit:hover{
	background-color:#bd73e6;
	border: none;
}
#jform_params_language.form-select, #profeSelect, #cursoTarea, #grupoTarea {
  background-color: #F4F1F1 !important;  /* mismo fondo que inputs readonly */
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='gray' d='M1.5 5.5l6 6 6-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;  /* deja espacio para la flecha */
  border: none;
  
}
.avatarImg{
	max-width: 350px;
}
.form-volver {
    color: #000;
    background-color: #F195BF;
    border: 0;
    border-radius: 2em;
    width: 50%;
    font-size: 22px;
    font-weight: 500;
	padding: 10px;
}
.hikaserial_serial_consume_page {
    text-align: center;
}
.divguardarbutton {
    width: 32%;
    margin: 20px auto;
}
.modal-header {
	padding: 1em 1em 0;
	border: none;
}
.sel-userAvatar h2{
	font-size: 66px;
	/*padding-bottom: 1em;*/
}
.avatar-cont {
    display: flex;
    height: min-content;
    gap: 2em;
    justify-content: center;
}
.image-avatarTxt label{
	cursor: pointer;
}
.text-muted {
    margin-left: 1.2em;
}
.com-users-profile__edit.profile-edit {
    display: flex;
	justify-content: center;
}
.editUserInfo {
    width: 70%;
}
#jform\[password1\]-rules {
  display: none !important;
}
#errorToShowProv,#errorToShowMun {
    display: inline-block;
    width: 100%;
    text-align: left;
	color: red;
    margin-left: 1em;
}
#errorToShowTp {
    display: inline-block;
    width: 100%;
    text-align: left;
	color: red;
    margin-left: 0;
}
#jform_password1-error,#jform_password2-error{
	display: none !important;
}
.form-control-feedback{
	display: none;
}
#jform_com_fields_tipo_de_pago {
    margin-bottom: 0;
}
#jform_name-error,#jform_username-error,#jform_email1-error{
	margin-left: 1em;
	color:red;
}
.cambiocur{
	background-color: #A3D8E7;
	border-radius: 2rem;
	font-weight: bold;
}
.cambiocur:hover{
	background-color: #55d2f5;
}
/* CESTA HIKASHOP */

.card {
	border: 0;
	margin: 0;
}
.card-body {
	padding: 0;
}
.hikashop_small_cart_total_title{
	font-size: 1rem;
}
.grid-child.container-cart-top {
    justify-content: end;
	margin-top: 1em;
}
div#hikashop_cart_module {
    margin-right: 2em;
}
.hikashop_cart_module_product_image_title,.hikashop_product_characteristic_on_listing{
	display: none;
}
.hikashop_cart_proceed_to_checkout,.hikashop_product_name{
    margin-top: 1em;
    font-size: 24px;
}
.hikashop_product_name a{
	color: #000;
}
#hikashop_category_information_module_ div.hikashop_subcontainer{
	background: none !important;
}
#hikashop_category_information_module_ .hikashop_product_image_subdiv {
    width: 300px !important;
}
.hikashop_cart thead{
	display: none;
}
img.hikashop_product_cart_image {
    min-width: 50px;
}
div.hikashop_cart_dropdown_content{
	min-width: 200px;
	right: 0rem;
}
a.hikabtn.hikashop_cart_proceed_to_checkout {
    width: 100%;
	border: none;
	border-radius: 16px;
	padding: 0.5em 1em 0.5em 1.5em;
	font-weight: bold;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #A3D8E7;
}

/* Asegúrate de que el <img> sea inline-block para poder transformarlo */
.hikashop_cart_module_product_icon_title {
  display: inline-block;
  /* Transición suave para el hover */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  /* Animación de pulso continuo */
  animation: pulse 2s infinite;
  transform-origin: center center;
}
a.hikabtn.hikashop_cart_proceed_to_checkout {
    width: 100%;
	border: none;
	border-radius: 16px;
	padding: 0.5em 1em 0.5em 1.5em;
	font-weight: bold;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #A3D8E7;
}
/* Definición de la animación "pulse" */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}


/* MENU USUARIO HIKASHOP */
.hikashop_cpanel_cart_div,.hikashop_cpanel_joomla_user_div{
	display: none !important;
}
.hika_toolbar_prim {
    float: right;
}
.header.hikashop_header_title {
    float: left;
}
.hikashop_orders_footer .pagination {
    justify-content: space-between;
}
/* PAGINA PRODUCTO HIKASHOP */

#contProducto {
    display: flex;
    flex-direction: row;
	justify-content: center;
}
/*#contTitImg {
    width: 30%;
}
#contDescProd {
    width: 40%;
}
#contActProd {
    width: 30%;
}*/
#contActProd {
    padding: 2em;
}
#contDescProd {
    width: 40%;
}

#impProd {
    text-align: center;
}
#titProd h2{
	text-align: center;
	font-size: 24px;
}
#titProd h3{
	font-size: 24px;
}
#imgProd {
    text-align: center;
}
.hikashop_product_price{
    font-weight: bold;
    font-size: 1.2em;
}
.hikabtn.hikacart {
    display: block;
	border: 0;
    background-color: #F195BF;
    border-radius: 2em;
    padding: 0.4em 1em;
	font-size: 16px;
	margin: 0 auto;
}
.hikashop_product_quantity_div {
    display: block !important;
    width: 100%;
	margin: 1em 0;
}
.hikashop_product_quantity_div input.form-control, .form-control.hikashop_product_quantity_field {
    margin: 0 auto;
	width: 5rem;
    max-width: max-content;
}
/* MENSAJES DEL SISTEMA */

#system-message-container joomla-alert, #system-message-container joomla-error, #system-message-container joomla-succes {
	border:0;
    border-bottom: 1px solid var(--alert-accent-color,transparent);
    border-radius: 0;
}
/* REGISTRO ALUMNOS */
.paso-pill {
    background-color: #A6D4BA;
}
#barraPasos .active, .swal2-confirm {
    background-color: #44bf79 !important;
}
.container-escuelas{
	display: flex;
	flex-wrap: wrap;
}
.cont-centroEd{
	flex: 1 0 200px; /* Cada elemento ocupa como mínimo 200px de ancho */
	margin: 2em;
	text-align: center;
	overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
	/*flex-basis: 100%; /* Los elementos ocupan todo el ancho disponible */
}
.cont-centroEd img{
	max-width: 200px;
}
.cont-centroEd a{
	text-decoration: none;
	color: #000;
}
.enlace-swal-faq {
    text-decoration: none;
    color: #333;
}

.mod-menu {
	 flex-direction: row; 
}
.exportTable {
    direction: rtl;
	position: absolute;
    right: 20%;
}
.exportTable img {
    max-width: 50px;
	cursor: pointer;
}
#hikaserial_serials_listing_table_export,#hikashop_checkout_shopping_button{
	display: none;
}
.alert.alert-error.alert-block {
    color: red;
}
#member-profile fieldset:nth-child(2) .control-group:nth-child(3) {
    display: block;
}

#ntask {
    padding: 0px 8px;
    border-radius: 50%;
    position: absolute;
    font-size: 0.8em;
    background-color: red;
	color: #333;
	z-index: 9999;
}
div#actionUser {
    text-align: center;
}
.enlacePdf{
	display:none;
}
.sel-escuelas{
	text-align: center;
	margin: 2em auto;
	display:none;
}
.card-header {
	background-color: transparent;
}
.user-register {
    background-color: #A3D8E7;
    border-radius: 2em;
    padding: 2em;
    font-size: 1.2em;
}
.alert-info{
    font-size: 1.2em;
}
.container-search {
    text-align: center;
}
#mensaje-install{
	display: block;
}
#install-message {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #333;
	color: #fff;
	padding: 10px;
	text-align: center;
	z-index: 9999;
}

#install-button {
  background-color: #4caf50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#cancel-button {
  background-color: #FD0105;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.container-footer-stycky{
	z-index: 999;
}
.mceBranding {
    display: none !important;
}
/* MENSAJES */
.cabeceramensajes {
    display: flex;
    justify-content: space-between;
	padding: 1em;
}
#add-txtmens {
    float: right;
    margin-top: 15px;
}
#addnewmens {
    background: #71c8dd;
    border: 0;
    padding: .3em .5em;
    border-radius: 30px;
    color: #111111;
    font-family: 'Nunito';
    font-size: 1.3em;
    font-weight: bold;
	text-decoration: none;
}
/* MOD LENGUAJES */
.mod-languages__select .btn.dropdown-toggle {
  background: transparent;
  border: none;
  padding: 0.25em 0.5em;
  display: inline-flex;
  align-items: center;
  color: inherit;
}
.mod-languages__select .btn.dropdown-toggle::after {
  display: none;
}
.mod-languages__select .btn.dropdown-toggle::before {
  content: '\25BC'; /* ▼ */
  font-size: 0.6em;
  margin-left: 0.25em;
  line-height: 1;
}
.mod-languages__select .btn img {
  width: 20px;
  height: auto;
  display: block;
}
.lang-block.dropdown-menu {
  padding: 0.25em 0;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  min-width: auto; /* encaja al ancho de su contenido */
}
.lang-block.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.25em 0.75em;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}
.lang-block.dropdown-menu .dropdown-item img {
  width: 16px;
  margin-right: 0.5em;
  display: block;
}
.lang-block.dropdown-menu .dropdown-item:hover {
  background: #f5f5f5;
}
.mod-languages__select .dropdown-arrow {
	margin-left: 0.1em;
	font-size: 2em;
	line-height: 0;
	display: inline-block;
	vertical-align: middle;
	color: inherit;
}
.mod-languages__select .btn img {
	width: 20px;             /* ajusta al tamaño que quieras */
	height: 20px;            /* mismo valor que width */
	border-radius: 50%;      /* convierte el rectángulo en círculo */
	object-fit: cover;       /* recorta el contenido si no es cuadrado */
	display: inline-block;   /* asegura el tamaño */
}
.mod-languages__select .dropdown-toggle::before {
	display: none;
}
.contGrupoIdioma {
	display: flex;
	flex-direction: column; 
	gap: 0.5em;
	margin-left: 2em;
	margin-top: 0.5em;
}
fieldset{
	margin-bottom: 0;
}
.fw-bold-aulaEncabezado{
	font-weight: 900;
    font-size: 2.2em;
	color: #333;
}
.info-miaula{
	margin-left: .7em;
}
.hikashop_cart_product_image_thumb img{
	max-width: 300px;;
}
.hikashop_category_name a {
    color: #333;
    font-weight: 900;
}
#rotate, .rotator{
	display: none;
}	
.cont-gestaula{
    max-height: calc(100vh - 20vh);
    overflow: auto;
    background-color: #FFF;
    border-radius: 1em;
}
.panel-miaula .cabeceraStatic, .containerMensajes, .containerResponder{
	padding: 1em;
}
.mod-languages img{
	max-width: 25px;
}
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 9;       /* para que quede por encima de las filas */
}
.containerBandeja{
    max-height: calc(100vh - 30vh);
    overflow: auto;
	padding: 0 1em 1em;
}
.cont-perfilusu{
    overflow: hidden;
	padding: 1em;
	background-color: #FFF;
	border-radius: 1em;
}
.tareasTitulares{
	padding: .5em 0;
	margin: 0 .5em;
}
.tareasTitulares div{
	padding-left: .5em;
}
.sortable {
  /* ya no necesitamos padding-right grande */
  position: relative;
  cursor: pointer;
}

/* Pseudoelemento inline, sale tras el texto */
.sortable::after {
  content: '';
  display: inline-block;
  margin-left: 0.5em;    /* separación entre texto y flecha */
  font-size: 0.75em;
  vertical-align: middle;
}

/* Flecha ascendente */
.sortable.asc::after {
  content: '▲';
}

/* Flecha descendente */
.sortable.desc::after {
  content: '▼';
}
/* ANIMACION MENU */

/* Hacemos las imágenes fluidas */
.mod-menu.mod-list.nav.menu-horizontal,
.mod-menu.mod-list.nav.menu-horizontal img {
  background: transparent !important;
  background-color: transparent !important;
}
.mod-menu.mod-list.nav.menu-horizontal img {
  display: block;
  margin: 0 auto;
  cursor: pointer;
  background-color: transparent;      /* aquí forzamos transparencia */
  background: none;                   /* eliminamos cualquier fondo heredado */
  transition: transform 0.2s ease-in-out,
              box-shadow 0.2s ease-in-out;
}

.mod-menu.mod-list.nav.menu-horizontal img:hover,
.mod-menu.mod-list.nav.menu-horizontal img:active {
  transform: scale(1.1) rotate(3deg) translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  background-color: transparent;      /* reforzamos transparencia también en hover */
}
/* Overlay completo */
#install-overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.8);
	color: #fff;
	display: none;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem;
	z-index: 10000;
	flex-direction: column;
}
#install-overlay .message {
	font-size: 1.2rem;
	margin-bottom: 1rem;
}
/* Submensaje para destacar texto debajo del mensaje principal */
#install-overlay .submessage {
	font-size: 1rem;
	margin-bottom: 1rem;
}
#install-overlay .btn-install {
	display: none;
	padding: .75rem 1.5rem;
	background: #1976d2;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: bold;
	margin-top: 1rem;
}
.container.aulacursos img {
    max-width: 13dvw;
}
/* Animación de shake/zoom */
@keyframes shake {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%      { transform: translate(-8px, 2px) rotate(-4deg) scale(1.1); }
  50%      { transform: translate(8px, -2px) rotate(4deg)  scale(1.05); }
  75%      { transform: translate(-4px, 4px) rotate(-2deg) scale(1.1); }
}
form#alumnosForm {
    z-index: 1;
    position: relative;
}
dl.hika_options > dt {
    white-space: wrap !important; 
}
#tosModal .modal-content{
	height: 40dvw;
}
#barraPasos {
  display: flex;           /* sobreescribe el display de .nav si hiciera falta */
  width: 100%;
}

#barraPasos .nav-item {
  flex: 1 0 0;             /* todos los li valen lo mismo */
  min-width: 0;            /* evita que el contenido rompa el reparto */
}

#barraPasos .nav-link {
  display: flex;           /* centra vertical y horizontalmente */
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  padding: 0;
  white-space: normal;     /* permite salto de línea si hace falta */
  min-height: 48px;        /* misma altura visual aunque haya 1 o 2 líneas */
}
#addProfe input {
    width: 90%;
	margin: 1em auto;
}
#addProfe {
	text-align: center;
}
.formProfe input{
	font-weight: normal !important;	
}


/* Contenedor del icono para posicionar el badge */
.hikashop_cart_module .cart-icon {
  position: relative;
  display: inline-block;
  line-height: 0; /* Para ajustar mejor el overlay sobre el icono */
}

/* Asegura un tamaño coherente del icono (ajústalo a tu PNG/SVG) */
.hikashop_cart_module .cart-icon img.hikashop_cart_module_product_icon_title {
  width: 32px; /* ajusta si tu icono es mayor/menor */
  height: auto;
  display: inline-block;
}

/* Badge con el número de productos */
.hikashop_cart_module .cart-count {
  position: absolute;
  top: -13px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff; /* aro blanco para que se lea sobre fondos claros */
}

/* Opcional: ocultar el texto "X productos" si no lo quieres visible */
.hikashop_cart_module .hikashop_small_cart_total_title.cart-badged .cart-text {
  display: none;
}

/* Evitar saltos raros de línea */
.hikashop_cart_module .hikashop_small_cart_total_title.cart-badged {
  white-space: nowrap;
}

.aula-summary{margin-top:14px;text-align:left;font-size:.8em;line-height:1.45}
.aula-summary__title{margin-bottom:10px;color:#444;font-weight:600; text-align: center;font-size:2rem;}
.aula-summary__subtitle{margin-bottom:10px;color:#444;font-weight:600; text-align: center;}
.aula-summary__head{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid #ccc;background:#f7f7f7;border-radius:6px 6px 0 0}
.aula-summary__head .aula-summary__cell{font-weight:600}
.aula-summary__body{border:1px solid #ccc;border-top:0;border-radius:0 0 6px 6px}
.aula-summary__row{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border-top:1px solid #eee}
.aula-summary__cell{ }
.aula-summary__cell--count{min-width:72px;text-align:right}
.aula-summary__row.is-context .aula-summary__cell{font-weight:700;text-decoration:underline}
/* Mensaje superior */
.aula-summary__msg{margin:0 0 12px;font-size:15px}

/* Para escritorio */
.swal2-popup.selectCursosProf {
  width: 60dvw !important;
  max-width: none !important;
}
label.form-label.escProfe {
    font-size: 1.2rem;
    font-weight: 900;
}
img#logoEscImg {
    cursor: pointer;
}
.aceptAviso {
    background: #F195BF;
    border: 0;
    padding: 0.5em 1.5em;
    border-radius: 30px;
    color: #333;
    font-family: 'Nunito';
    font-size: 1.3em;
    font-weight: bold;
}
.dismisAviso {
    background: #98CCEE;
    border: 0;
    padding: 0.5em 1.5em;
    border-radius: 30px;
    color: #333;
    font-family: 'Nunito';
    font-size: 1.3em;
    font-weight: bold;
}
.mod-adminnotice__content {
    font-size: 1.3rem;
}
svg.activity-icon {
    max-width: 150px;
    height: auto;
}
 .unidades-cards { --icon-size: clamp(64px, 12vw, 128px); }

  .activity-card-pr {
    align-items: center; justify-content: center;
    gap: .5rem; padding: 1rem; border-radius: .75rem;
    height: 100%; text-align: center;
  }
  .activity-card-pr a {
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    text-decoration: none;
  }

  /* El SVG escalará por CSS; el archivo ya no fuerza width/height */
  svg.activity-icon { width: var(--icon-size); height: auto; display: block; }

  .activity-title-pr { margin: 0; font-size: clamp(1.5rem, 1.6vw, 1rem); font-weight: 600; color: #222; }

  @media (max-width: 576px) { .unidades-cards .col-6 { padding: .5rem; } }

  /* Mejora progresiva si hay dvw */
  @supports (width: 1dvw) {
    .unidades-cards { --icon-size: clamp(64px, 12dvw, 128px); }
  }
/* Opcional: compactar en pantallas estrechas */
@media (max-width: 420px){
.aula-summary__head,.aula-summary__row{gap:4px;padding:8px 8px}
.aula-summary__cell--count{min-width:56px}
}

/* (opcional) en pantallas muy estrechas, partir en 2 filas */
@media (max-width: 380px) {
  #barraPasos { flex-wrap: wrap; }
  #barraPasos .nav-item { flex: 1 0 50%; } /* 2 por fila */
}

/* (opcional) ajustar tamaño de fuente en móvil */
@media (max-width: 576px) {
  #barraPasos .nav-link { font-size: .9rem; }
}
/* MEDIA QUERYS 
@media only screen and (max-width: 480px) {
	.mod-menu {
		 flex-direction: row; 
	}
	.menu-movil{
		display: block;
		position: fixed;
		bottom: 0;
		z-index: 9999;
		background: #FFF;
		width: 100%;
	}
	.container-nav{
		display: none;
	}
	.menu-horizontal img {
		max-width: 75px;
		display: block;
		margin: 0 auto 0.5em auto; 
	}
	.menu-horizontal{
		justify-content: center;
	}
	.mod-list li {
		padding: 0.5em 0.25em 0.25em 0.25em;
	}
	.top-b .card-header {
		border: 0;
		padding: 0 1em 0.4em;
		font-family: 'Archivo Black';
		font-size: 30px;
		font-weight: bold;
		text-transform: uppercase;
	}
	.top-b .card-body {
		padding: 0 1.7em;
		font-family: 'Nunito';
		font-size: 18px;
	}
	.editUserImage,.editUserInfo {
		width: 100%;
	}
	.com-users-profile__edit.profile-edit {
		display: block;
	}
	#logo-upload-form {
		text-align: center;
	}
	#member-profile .cont-form {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		margin: 0 auto;
	}
	.divguardarbutton {
		width: 100%;
		margin: 20px auto;
	}
	.container-footer .grid-child{
		margin-bottom: 120px;
	}
	.container-footer .mod-menu {
		justify-content: center;
		gap: 0.2em;
	}
	.hikashop_product_image_subdiv {
		width: 320px !important;
	}
	.user-image {
		text-align: center;
	}
	.blog-items {
		grid-gap: 1.5em;
	}
	.mod-list li.active>a {
		text-decoration: none;
	}
	.head-login span {
		right: 10%;
	}
	.avatar-cont {
		gap: 0.5em;
	}
	.sel-userAvatar h2 {
		font-size: 22px;
	}
	.modal-dialog.jviewport-width80 {
		margin: 0 auto;
	}
}
@media (width <= 991.98px) {
    .footer .grid-child {
       flex-direction: row;
    }
}
@media only screen and (min-width: 481px) and (max-width: 767px) {
	.divguardarbutton {
		width: 100%;
		margin: 20px auto;
	}
	.head-login span {
		right: 10%;
	}
	.aulaGrupo {
		align-self: center;
		position: absolute;
		top: 9em;
	}
	.selGrupo {
		margin: 0;
	}
	.container-header .mod-menu>li+li {
		margin-left: 1em;
	}
	.avatar-cont {
		gap: 0.5em;
	}
	.sel-userAvatar h2 {
		font-size: 22px;
	}
	.modal-dialog.jviewport-width80 {
		margin: 0 auto;
	}

}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.head-login span {
		position: absolute;
		right: 10%;
		font-size: 2em;
		font-weight: bold;
		font-family: 'Archivo';
	}
	.aulaGrupo {
		align-self: center;
		position: absolute;
		top: 9em;

	}
	.selGrupo {
		margin: 0;
	}
	.avatar-cont {
		gap: 0.5em;
	}
	.sel-userAvatar h2 {
		font-size: 22px;
	}
	.modal-dialog.jviewport-width80 {
		margin: 0 auto;
	}
}
*/
/* === ANTI-SCROLL FANTASMA ANDROID === */

/* 1) Quita el padding de fallback (20px) que te crea scroll en Android.
      Si hay notch, env(...) aplicará valores >0; si no, cae a 0. */
body {
  padding: env(safe-area-inset-top, 0)
           env(safe-area-inset-right, 0)
           env(safe-area-inset-bottom, 0)
           env(safe-area-inset-left, 0);
}

/* 2) Evita el “bounce”/encadenado de scroll en body (Android/Chrome) */
html, body {
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}

/* 3) Define una unidad “segura” de viewport.
   - Por defecto usamos 1svh (stable).
   - Si el navegador soporta dvh (dinámico), lo preferimos. */
:root { --vh: 1svh; }
@supports (height: 100dvh) {
  :root { --vh: 1dvh; }
}

/* 4) Reemplazos específicos de tus alturas basadas en 100vh.
      Sustituimos 100vh por calc(var(--vh) * 100) para que
      el alto siga fiel al viewport visible sin “fantasmas”. */

.numerocurso .card-body {
  /* Antes: height: calc(100vh - 33vh);  => equivale a 67vh */
  height: calc((var(--vh) * 100) - 33vh); /* mantiene tu resta */
}

.cont-gestaula {
  /* Antes: max-height: calc(100vh - 20vh);  => 80vh */
  max-height: calc((var(--vh) * 100) - 20vh);
}

.containerBandeja {
  /* Antes (en mobile): max-height: calc(100vh - 50vh); */
  max-height: calc((var(--vh) * 100) - 50vh);
}

.listadoprogresos {
  /* Donde uses 70lvh/100vh, homogeniza al var(--vh) para Android */
  max-height: calc(var(--vh) * 70);
}

/* Ojo con contenedores que usen “height: 100%” dentro de un padre
   con 100vh; si notas scroll en páginas concretas, añade también: */
main,
.col-12.col-lg-10 .contunidades {
  /* Sólo si vuelves a activar esos bloques de altura en main */
  /* height: calc(var(--vh) * 100);  <- descomenta si lo necesitas */
}

/* 5) Si mantienes headers sticky y dropdowns, ayuda que
      el cuerpo no tenga margen/padding extra alrededor: */
.container-header {
  /* ya es sticky; no fuerces alturas ligadas a vh aquí */
}
