@charset "UTF-8";
/*!
 * (C-2025) DTE - DIRECCIÓN DE TECNOLOGÍAS EDUCATIVAS - IEEPO
 * FLEEBO - Fomento a la lectura y escritura en la educación básica de Oaxaca.
 */

/*
    Fonts
========================================================================================================= */

.font-family-comic {
    font-family: 'Comic Sans MS';
}


/*
    Loader
========================================================================================================= */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 99999999;
    overflow: hidden;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #fff;
    -webkit-transition: all 1s cubic-bezier(0.55, 0.085, 0, 0.99);
    transition: all 1s cubic-bezier(0.55, 0.085, 0, 0.99);
}
#preloader .preloader-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}
#preloader .preloader-wrap .loader {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
}
#preloader .preloader-wrap .dot {
    width: 10px;
    height: 20px;
    background: linear-gradient( 90deg, rgb(0,255,180) 0%, rgb(1,234,255)100%);
    border-radius: 5px;
    -webkit-animation: heightBounce 0.6s infinite alternate;
    animation: heightBounce 0.6s infinite alternate;
}
#preloader .preloader-wrap .dot:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
    opacity: 0.9;
}
#preloader .preloader-wrap .dot:nth-child(3) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
    opacity: 0.8;
}
#preloader .preloader-wrap .dot:nth-child(4) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    opacity: 0.7;
}
#preloader .preloader-wrap .dot:nth-child(5) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
    opacity: 0.6;
}
#preloader:is(.preloaded) {
    -webkit-transform: scale(0.9) translateY(100%);
    transform: scale(0.9) translateY(100%);
    border-radius: 20px;
}

@-webkit-keyframes heightBounce {
    from {
        height: 10px;
    }
    to {
        height: 50px;
    }
}

@keyframes heightBounce {
    from {
        height: 10px;
    }
    to {
        height: 50px;
    }
}
@-webkit-keyframes ed-spin {
    50% {
        -webkit-transform: rotate(30deg) scaleX(0);
        transform: rotate(30deg) scaleX(0);
    }
}
@keyframes ed-spin {
    50% {
        -webkit-transform: rotate(30deg) scaleX(0);
        transform: rotate(30deg) scaleX(0);
    }
}
[data-background] {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
/*-----------/loader--------------*/

/*
 * HEADER
 ******************************************************************************/

.bg-header-oax {
	padding-bottom: 0;
	padding-top: 20px;
	background: url('../../assets/images/backgrounds/greca.png') #fff repeat-x;
	background-size: auto 20px;
	/*
  	box-shadow: 0 5px 5px rgba(108, 110, 109, 0.15);
	*/
}

.logo-ieepo img {
    height: 58px!important;
}
.logo-fleebo img {
    height: 80px !important;
    /* min-height: 90px; */
}

#layout-navbar {
    height: 85px !important;
    background-color: var(--bs-body-bg);
}

#content-page {
    margin-top: 50px !important;
}

/*---- Config-menu -----*/
@media (min-width: 1200px) {
    .logo-ieepo img {
        height: 66px!important;
    }

    .logo-fleebo img {
        height: 96px !important;
        /* min-height: 90px; */
    }

    #layout-navbar {
        height: 90px !important;
    }

    #content-page {
        margin-top: 0 !important;
    }

    .menu-item:not(.active) .menu-link {
        color: #dfdfdf !important;
    }

    .menu-item:not(.active) .menu-link:hover {
        background: rgba(255, 255, 255, 0.3) !important;
    }
}

/* ----------------------- Opción registro --------------------------- */
.ed-btn-5 {
	border-radius: 100px;
	display: inline-block;
	/*border: 2px solid rgba(251, 153, 90, 0.3215686275);*/
	border: 2px solid #ffffff;

}
.ed-btn-5 a {
	z-index: 1;
	display: block;
	line-height: 1;
	overflow: hidden;
	position: relative;
	border-radius: 100px;
	padding: 8px 8px 8px 25px;
	background-color: #6971B2;
}
.ed-btn-5 a:before, .ed-btn-5 a:after {
	width: 50%;
	content: "";
	z-index: -1;
	height: 0%;
	position: absolute;
	-webkit-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
	background-color: #31BACD;
}
.ed-btn-5 a:before {
	top: 0;
	left: 0;
}
.ed-btn-5 a:after {
	right: 0;
	bottom: 0;
}
.ed-btn-5 a .b-text {
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	-webkit-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out;
}
.ed-btn-5 a .b-icon {
	width: 40px;
	height: 40px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	border-radius: 100%;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background-color: #31BACD;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out;
}
.ed-btn-5 a .b-icon svg path {
	-webkit-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}
.ed-btn-5 a:hover .b-text {
	color: #ffffff;
}
.ed-btn-5 a:hover .b-icon {
	color: #ffffff;
	background-color: #6971B2;
}
.ed-btn-5 a:hover .b-icon svg path {
	fill: #ffffff;
}
.ed-btn-5 a:hover:before, .ed-btn-5 a:hover:after {
	height: 100%;
}
.ed-btn-5 .ed_btn_text {
	gap: 15px;
}
.ed-btn-5:is(.ver_2) a {
	background-color: #2F584F;
}

.border-estudiantes {
  --bs-border-opacity: 1;
  border-color: var(--color-estudiantes-page) !important;
}

.border-docentes {
  --bs-border-opacity: 1;
  border-color: var(--color-docentes-page) !important;
}

.border-mediadores {
  --bs-border-opacity: 1;
  border-color: var(--color-mediadores-page) !important;
}

.border-lectores {
  --bs-border-opacity: 1;
  border-color: var(--color-lectores-page) !important;
}

/* ----------------------- /Opción registro --------------------------- */

/*
                  Carousel
====================================================================================*/


/* Botones de navegación minimalistas */
#carouselDark .carousel-control-prev {
    margin-left: 16px;
}
#carouselDark .carousel-control-next {
    margin-right: 16px;
}

#carouselDark .carousel-control-prev,
#carouselDark .carousel-control-next {
    width: 45px;
    height: 45px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(198, 198, 198, 0.7);
    transition: background 0.3s ease;
}

#carouselDark .carousel-control-prev:hover,
#carouselDark .carousel-control-next:hover {
    background: rgb(234, 234, 234);
}

/* Iconos personalizados */
#carouselDark .carousel-control-prev-icon,
#carouselDark .carousel-control-next-icon {
    background-size: 60% 60%;
    filter: invert(1);
}

/* Indicadores en forma de círculo */
#carouselDark .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #272727;
    opacity: 0.6;
    transition: all 0.3s ease;
    margin: 0 6px;
}

#carouselDark .carousel-indicators .active {
    background-color: #272727;
    opacity: 1;
    transform: scale(1.2);
}


/*
                  footer
====================================================================================*/

footer {
  /* background-color: #E4E4E4;*/
  position: relative;
  font-size: small;
}

footer::after {
  content: "";
  position: absolute;
  height: 9px;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to top, rgba(108, 110, 109, 0) 0%, rgba(108, 110, 109, 0.25) 100%);
}

footer ul, footer li {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer .footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
@media (max-width: 768px) {
  footer .footer .datos {
    order: -2;
  }
}
footer .footer .col-footer {
  width: 100%;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  footer .footer .col-footer {
    width: 50%;
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  footer .footer .col-footer {
    width: 50%;
  }
}

footer .footer .col-footer > div {
  padding: 0 1rem;
}

footer .contactanos {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}
footer .contactanos .contacto {
  flex: 1;
}
footer .logo-footer {
  width: 18%;
  margin-right: 1rem;
}
footer .contacto {
  list-style: none;
  margin-top: 1.5rem;
  padding-left: 0;
  color: #FFFFFF;
}
@media (min-width: 768px) {
  footer .contacto {
    margin-top: 0rem;
  }
}
footer .contacto li {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-flow: nowrap row;
  font-size: 0.75rem;
}
footer .contacto li .icon {
  height: 24px;
  width: 24px;
  display: block;
  border-radius: 50%;
  border: 1px solid #C9CACA;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .contacto li i {
  color: #FFFFFF;
}
footer .contacto li .contacto-info {
  width: calc(100% - 30px);
}

/*
 *  Libros
 =======================================================================*/
.libro-imagen-portada {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); /* sombra difusa */
    height: auto;
    width:100%;
    /* max-height: 341px; */
}

/*
 *  Colores desafío
 =======================================================================*/
.bg-desafio-trofeo {
    background-color: color-mix(in sRGB, #fff 84%, #951B81) !important;
    color: #951B81 !important;
}
.bg-desafio-trofeo.bg-label-hover:hover {
    background-color: #951B81 !important;
    color: #fff !important;
}

.bg-desafio-medalla-oro {
    background-color: color-mix(in sRGB, #fff 84%, #ffc107) !important;
    color: #ffc107 !important;
}
.bg-desafio-medalla-oro.bg-label-hover:hover {
    background-color: #ffc107 !important;
    color: #fff !important;
}

.bg-desafio-medalla-plata {
    background-color: color-mix(in sRGB, #fff 84%, #808390) !important;
    color: #808390 !important;
}
.bg-desafio-medalla-plata.bg-label-hover:hover {
    background-color: #808390 !important;
    color: #fff !important;
}

.bg-desafio-medalla-cobre {
    background-color: color-mix(in sRGB, #fff 84%, #C68346) !important;
    color: #C68346 !important;
}
.bg-desafio-medalla-cobre.bg-label-hover:hover {
    background-color: #C68346 !important;
    color: #fff !important;
}


/**
 * SELECT
 * =====================================================================================
 */
/* Estilo general del botón */
.btn-select-compact {
    font-size: 0.9rem !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    border: 1px solid #ccc !important;
    background-color: #f9f9f9 !important;
    transition: all 0.2s ease-in-out !important;
}

/* Estilo del menú desplegable */
.bootstrap-select .dropdown-menu.inner {
    max-height: 180px !important;
    animation: dropdownFade 0.15s ease-out;
}

/* Títulos de grupo (optgroup) */
.bootstrap-select .dropdown-menu li.dropdown-header {
    font-weight: 600;
    font-size: 0.85rem;
    color: #666;
    background-color: #f5f5f5;
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
}

/* Opciones del menú */
.bootstrap-select .dropdown-item {
    font-size: 0.88rem;
    padding: 6px 12px;
}

/* Animación del desplegable */
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Carousel
 *
******************************************************************************* */
/* Estilo general */
.swiper {
    width: 100%;
    height: 320px;
    margin: auto;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFDEE9 0%, #B5FFFC 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-family: 'Comic Sans MS', 'Poppins', sans-serif;
}

/* Imagen principal */
.mySwiper2 .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.mySwiper2 img {
    height: 200px;
    /*
    border-radius: 25px;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); /* efecto rebote */

}

.mySwiper2 .swiper-slide-active img {
    transform: scale(1.1) rotate(2deg);
}

/* Miniaturas inferiores */
.mySwiper {
    height: 100px;
    padding: 10px 0;
    background: #fffaf5;
    border-radius: 0 0 20px 20px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
}

.mySwiper .swiper-slide {
    width: 20%;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.1);
}

.mySwiper img {
    height: 80px;
    /*
    border-radius: 15px;
    border: 3px solid #ffb703;
    background: #fff;
    */
}

/* Botones de navegación */
.swiper-button-next,
.swiper-button-prev {
    /* color: #ff5f5f; */
    background: #fff8e1;
    border-radius: 50% !important;
    width: 65px !important;
    height: 65px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    transition: transform 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
}

/* Flechas */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* ✨ Animación rebote */
@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0.5; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

.swiper-slide-bounce img {
    animation: bounceIn 0.6s ease-out;
}