@import url('reset.css');
@import url('static.css');
@import url('elements.css');
@import url('preloader.css');

/* Estilos restaurados para custom-header-container */
#fb5-custom-header {
         position: fixed !important;
         top: 0 !important;
         left: 0 !important;
         width: 100% !important;
         height: 60px !important;
         background-color: rgba(0,0,0,0.8) !important;
         z-index: 9999 !important;
         display: flex !important;
         box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
         }
         .custom-header-container {
         display: flex !important;
         justify-content: space-between !important;
         align-items: center !important;
         padding: 0 30px !important;
         height: 100% !important;
         width: 100% !important;
         max-width: 1400px !important;
         margin: 0 auto !important;
         }
         #fb5-logo {
         height: 48px !important;
         display: flex !important;
         align-items: center !important;
         margin-left: 15px !important;
         visibility: visible !important;
         opacity: 1 !important;
         }
         #fb5-logo img {
         height: 100% !important;
         width: auto !important;
         max-height: 48px !important;
         display: block !important;
         }
         /* Contenedor para los botones */
         .header-buttons {
         display: flex !important;
         gap: 15px !important;
         margin-right: 15px !important;
         }
         /* Estilo común para ambos botones */
         #fb5-home-button, #fb5-index-button {
         padding: 8px 16px !important;
         background-color: #64C8D3 !important;
         color: white !important;
         border: none !important;
         border-radius: 4px !important;
         cursor: pointer !important;
         font-size: 14px !important;
         font-weight: bold !important;
         text-transform: uppercase !important;
         letter-spacing: 0.5px !important;
         box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
         visibility: visible !important;
         display: block !important;
         transition: all 0.3s ease !important;
         }
         #fb5-home-button:hover, #fb5-index-button:hover {
         background-color: #4FADB8 !important;
         box-shadow: 0 3px 6px rgba(0,0,0,0.3) !important;
         }
         #fb5-home-button:active, #fb5-index-button:active {
         background-color: #3D8A93 !important;
         transform: translateY(1px) !important;
         box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
         }
         /* Estilo específico para el botón de índice si deseas diferenciarlo */
         #fb5-index-button {
         background-color: #4A90E2 !important; /* Color diferente opcional */
         }
         #fb5-index-button:hover {
         background-color: #3A80D2 !important;
         }

		 ul, ol {
			list-style-type: none!important;
			padding-left: 0;
		}		 

/* Asegurar que los estilos se mantengan en móviles */
@media screen and (max-width: 768px) {
    .custom-header-container {
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    .custom-header-container {
        padding: 0 10px;
    }
}

#fb5 {
	font-family: Arial, sans-serif;
	font-size: 16px;
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	display: block;
	width: 100%;
	height: 100vh;
	opacity: 0;
	margin-bottom: 0;
}

#fb5.fullScreen, #fb5-ajax[data-template="true"] #fb5 {
	margin-bottom: 0;
}

#fb5 #fb5-container-book {
	position: absolute;
	z-index: 5;
	display: none;
	width: 1100px;
	height: 715px;
	margin-top: 50px;
}

#fb5 fieldset {
}

#fb5 #fb5-deeplinking {
	display: none;
}

#fb5 .fb5-bcg-book {
	background: none no-repeat center center;
	background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	width: 100%;
	height: 100%;
}

#test {
	margin: 0 auto;
	width: 100%;
}

#fb5 #page.mobile {
	width: 550px;
	height: 358px;
	margin: -210px 0 0 -275px;
}

#fb5 #page .padding {
}

#fb5 .cursor-grab {
	cursor: -webkit-grab;
	cursor: -moz-grab;
}

#fb5 .fb5-overlay {
	position: absolute;
	left: -10000px;
	top: 0;
	z-index: 20;
	background: rgba(0,0,0,0);
	width: 100%;
	height: 100%;
	display: none;
}

#fb5 .fb5-overlay.active {
	left: 0;
	display: block;
}

#fb5-custom-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background-color: rgba(0,0,0,0.8);
	z-index: 100;
	transition: height 0.3s ease;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.custom-header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 30px;
	height: 100%;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
}

#fb5-logo {
	height: 48px;
	display: flex;
	align-items: center;
	transition: height 0.3s ease;
	margin-left: 15px;
}

#fb5-logo img {
	height: 100%;
	width: auto;
	max-height: 48px;
	transition: max-height 0.3s ease;
}

#fb5-home-button {
	padding: 8px 16px;
	background-color: #64c8d3;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	margin-right: 15px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#fb5-home-button:hover {
	background-color: #4fadb8;
	box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

#fb5-home-button:active {
	background-color: #3d8a93;
	transform: translateY(1px);
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

#fb5 #fb5-container-book {
	position: absolute;
	z-index: 5;
	display: none;
	width: 100%;
	height: calc(100vh - 60px);
	margin-top: 60px;
}


#fb5 #fb5-container-book {
	margin-top: 45px;
}



/* Estilos específicos para escritorio */
@media screen and (min-width: 769px) {
	.indice-container {
		margin-top: 250px;
		margin-left: 45px;
	}
}

.indice-titulo {
	font-size: 42px;
	color: #6a1b9a;
	margin-bottom: 40px;
	text-align: center;
	border-bottom: 2px solid #9c27b0;
	padding-bottom: 15px;
	font-weight: bold;
}

.capitulo-seccion {
	margin-bottom: 30px;
}

.capitulo-titulo {
	font-size: 28px;
	color: #6a1b9a;
	margin-bottom: 15px;
	padding-bottom: 8px;
	font-weight: bold;
}

.capitulo-titulo2 {
	font-size: 28px;
	color: #6a1b9a;
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e0e0e0;
	font-weight: bold;
}

.indice-lista {
	list-style-type: none;
	padding: 0;
	margin: 0;
}



.indice-lista a {
	text-decoration: none;
	color: #333;
	flex: 1;
}


.pagina-num {
	color: #6a1b9a;
	font-weight: bold;
	margin-left: 10px;
}

#fb5 #fb5-button-back {
	color: #ffffff;
	position: absolute;
	left: -5px;
	top: 45px;
	background-color: #64c8d3;
	border-radius: 4px 4px 4px 4px;
	padding: 5px;
	padding-left: 15px;
	padding-right: 10px;
	font-size: 12px;
	font-weight: bold;
	margin-top: -45px;
}

#fb5 #fb5-button-back:hover {
	color: #64c8d3;
	background-color: #ffffff;
}

#fb5 #fb5-about {
	position: absolute;
	z-index: 5;
	width: 45%;
	display: none;
}

#fb5 #fb5-about h1, #fb5 #fb5-about h2, #fb5 #fb5-about h3, #fb5 #fb5-about h4, #fb5 #fb5-about h5, #fb5 #fb5-about h6 {
	margin: 0 0 .5em 0;
	padding: 0px;
	font-size: 2em;
	font-weight: bolder;
	color: #64c8d3;
	-webkit-font-smoothing: antialiased;
	text-transform: none;
}

#fb5 #fb5-about h3 {
	background: url(../img/arrow-right.png) no-repeat 0 50%;
	padding: 0 0 0 25px;
}

#fb5 #fb5-about ul, #fb5-about ol {
	list-style: disc;
	margin: 0;
	padding-left: 10px;
	padding-top: 0%;
	padding-bottom: 2%;
}

#fb5 #fb5-about li {
	color: #cfeaee;
	margin-bottom: 4px;
}

#fb5 #fb5-about p {
	color: #cfeaee;
	margin-bottom: 4%;
}

#fb5 #fb5-about a {
	color: #ffffff;
	text-decoration: underline;
}

#fb5 #fb5-about a:hover {
	text-decoration: none;
}

#fb5 #fb5-book {
	position: relative;
	z-index: 10;
	width: 100%;
	height: 100%;
}

#fb5 #fb5-book .turn-page {
	background-color: #FFF;
	background-size: 100% 100%;
}

#fb5 .fb5-double {
	background-size: 200% 100% !important;
}

#fb5 .fb5-double.fb5-first {
	background-position: 0% 0%;
}

#fb5 .fb5-double.fb5-second {
	background-position: -100% 0%;
}

#fb5 .fb5-nav-arrow {
	position: absolute;
	top: 50%;
	z-index: 15;
	background: url(../img/arrow-navpage.png);
	width: 34px;
	height: 136px;
	margin-top: -68px;
}

#fb5 .fb5-nav-arrow.next {
	right: -34px;
	background-position: 0 0;
}

#fb5 .fb5-nav-arrow.next:hover {
	background-position: 0 -186px;
}

#fb5 .fb5-nav-arrow.prev {
	left: -34px;
	background-position: 0 -372px;
	display: none;
}

#fb5 .fb5-nav-arrow.prev:hover {
	background-position: 0 -558px;
}

#fb5 .fb5-nav-arrow.next {
	transform-origin: 0 center;
	-ms-transform-origin: 0 center;
	-webkit-transform-origin: 0 center;
}

#fb5 .fb5-nav-arrow.prev {
	transform-origin: right center;
	-ms-transform-origin: right center;
	-webkit-transform-origin: right center;
}

#fb5 #fb5-logo-cover {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 5;
}

#fb5 #fb5-cover ul {
	position: absolute;
	top: 50%;
	-webkit-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	transform: translate(0,-50%);
	clear: both;
	width: 100%;
	list-style: none;
	padding: 20px 0;
	border-top: 1px solid #e2e2e2;
	border-bottom: 1px solid #e2e2e2;
}

#fb5 #fb5-cover ul:after {
	clear: both;
	content: '';
	display: block;
}

#fb5 #fb5-cover li {
	float: left;
	width: 28.3%;
	margin: 0 2.5%;
	list-style: none;
}

#fb5 #fb5-cover li, #fb5 #fb5-cover img {
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	box-shadow: none;
}

#fb5 #fb5-cover li:last-child {
	margin-right: 0;
}

#fb5 #fb5-cover li img {
	float: left;
	width: 100%;
}

#fb5 #fb5-cover li a:hover img {
}

#fb5 #end {
	text-align: center;
}

#fb5 #end p {
	padding-top: 60%;
}

#fb5 #fb5-book .fb5-meta {
	position: absolute;
	bottom: 1%;
}

#fb5 .fb5-meta .fb5-num {
	font-weight: bold;
	font-size: 12px;
	color: #666;
}

#fb5 .fb5-meta .fb5-description {
	font-size: 11px;
	color: #666;
	font-family: Arial, sans-serif;
}

#fb5 .fb5-meta.fb5-left {
	left: 3%;
}

#fb5 .fb5-meta.fb5-left .fb5-num {
	padding-right: 10px;
}

#fb5 .fb5-meta.fb5-right {
	right: 3%;
	text-align: right;
}

#fb5 .fb5-meta.fb5-right .fb5-num {
	padding-left: 10px;
}

#v5_lightbox {
	width: 100%;
	height: 100%;
	z-index: 555789;
	position: fixed;
	display: block;
	top: 0px;
}

#v5_lightbox .bcg {
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: .7;
	position: absolute;
	cursor: pointer;
}

.fb5-cont-page-book {
	position: absolute;
}

#fb5 .fb5-page-book {
	position: absolute;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	overflow: hidden;
}

#fb5 .fb5-page-book .center {
}

#fb5 .fb5-page-book img {
	border: none;
	padding: 0;
}

#fb5 .fb5-page-book p {
	-webkit-text-size-adjust: none;
	margin-bottom: 20px;
	line-height: 1.5;
}

#fb5 .fb5-page-book a {
	font-weight: bold;
	color: #9c27b0;
}

#fb5 .fb5-page-book p a:hover {
	text-decoration: none;
}

#fb5 .fb5-page-book h1, #fb5 .fb5-page-book h2, #fb5 .fb5-page-book h3, #fb5 .fb5-page-book h4, #fb5 .fb5-page-book h5, #fb5 .fb5-page-book h6 {
	font-family: Arial, sans-serif;
	text-transform: none;
	margin: 0px;
}

#fb5 .fb5-page-book h1 {
	-webkit-text-size-adjust: none;
}

#fb5 .fb5-page-book h2 {
	-webkit-text-size-adjust: none;
}

#fb5 .fb5-page-book h3 {
	-webkit-text-size-adjust: none;
}

#fb5 .fb5-page-book h4 {
	-webkit-text-size-adjust: none;
}

#fb5 .fb5-page-book h5 {
	-webkit-text-size-adjust: none;
}

#fb5 .fb5-page-book h6 {
	-webkit-text-size-adjust: none;
}

#fb5 .fb5-page-book ul, .fb5-page-book ol {
	list-style: disc inside;
	margin-bottom: 3% !important;
}

#fb5 .fb5-page-book ul li {
	margin-bottom: 10px;
}

#fb5 .fb5-page-book ul li a {
	color: #77797f;
	font-weight: normal;
	text-decoration: none;
}

#fb5 .fb5-page-book ul li a:hover {
	text-decoration: underline;
}

#fb5 .fb5-page-book a:hover img {
	opacity: 0.8;
}

#fb5 .fb5-page-book .alignnone, .#fb5-about .alignnone {
	margin: 5px 20px 20px 0;
}

#fb5 .fb5-page-book.aligncenter, .fb5-page-book div.aligncenter, #fb5-about.aligncenter, #fb5-about div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

#fb5 .fb5-page-book .alignright, #fb5-about .alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

#fb5 .fb5-page-book .alignleft, #fb5-about .alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

#fb5 .fb5-page-book .aligncenter, #fb5-about .aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

#fb5 .fb5-page-book a img.alignright, #fb5-about a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

#fb5 #fb5 .fb5-page-book a img.alignnone, #fb5-about a img.alignnone {
	margin: 5px 20px 20px 0;
}

#fb5 .fb5-page-book a img.alignleft, #fb5-about a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

#fb5 .fb5-page-book a img.aligncenter, #fb5-about a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#fb5 .fb5-page-book .wp-caption, #fb5-about .wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

#fb5 .fb5-page-book .wp-caption.alignnone, #fb5-about .wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

#fb5 .fb5-page-book .wp-caption.alignleft, #fb5-about .wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

#fb5 .fb5-page-book .wp-caption.alignright, #fb5-about .wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.fb5-page-book .wp-caption img, #fb5-about .wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

#fb5 .fb5-page-book .wp-caption p.wp-caption-text, #fb5-about .wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

#fb5 .fb5-bcg-book {
	background-image: url(../img/bg.jpg);
}

#fb5 .fb5-tooltip {
	background: #64c8d3 !important;
	color: #ffffff;
}

#fb5 .fb5-tooltip b {
	border-top: 10px solid #64c8d3;
}

#fb5 #fb5-footer .bcg {
	background-color: #000000;
	opacity: 0.55;
}

#fb5 nav li.fb5-goto #fb5-label-page-number {
	color: #5f6f7b;
}

#fb5 nav li.fb5-goto button {
	color: #5f6f7b;
	background: linear-gradient(to bottom,#2b3e4d 0px,#1f303d 100%) repeat scroll 0 0 rgba(0,0,0,0);
}

#fb5 nav li.fb5-goto input[type="text"] {
	background: none repeat scroll 0 0 #141f28;
	border: 1px solid #1e2f3c;
}

#fb5 #fb5-book .turn-page {
	background-color: #ffffff;
}

#fb5 .fb5-meta .fb5-num {
	color: #666666;
}

#fb5 .fb5-meta .fb5-description {
	color: #666666;
}

#fb5 #fb5-all-pages .fb5-container-pages {
	background: none repeat scroll 0 0 #000000;
	box-shadow: 0 0 40px rgba(100,200,211,0.8);
}

#fb5 #fb5-contact form {
	background: none repeat scroll 0 0 #161616;
	box-shadow: 0 0 60px rgba(100,200,211,0.7);
}

#fb5 #fb5-contact form h3 {
	color: #ffffff;
}

#fb5 #fb5-contact button {
	background: none repeat scroll 0 0 #64c8d3;
	color: #ffffff;
}

#fb5 #fb5-contact form input, #fb5-contact form textarea {
	color: #737373;
}

#fb5 #fb5-contact .fb5-close {
	color: #000000;
	background: none repeat scroll 0 0 #64c8d3;
}

#fb5 #fb5-contact .fb5-thanks p {
	color: #444444;
}

#fb5 #fb5-contact .fb5-thanks h1 {
	color: #ffffff;
}

#fb5 .fb5-preloader .wBall .wInnerBall {
	background: #64c8d3;
}

#fb5 .fb5-nav-arrow {
	background: url("../img/arrow-navpage.png") repeat scroll 0 0 rgba(0,0,0,0);
}

#fb5 .fb5-page-book p {
	color: #77797f;
	font-family: Arial;
	font-size: 12px;
}

#fb5 .fb5-page-book a {
}

#fb5 .fb5-page-book h1 {
	color: #77797f;
	font-family: Arial;
	font-size: 28px;
}



#fb5 .fb5-page-book h3 {
	color: #77797f;
	font-family: Arial;
	font-size: 24px;
}

#fb5 .fb5-page-book h4 {
	color: #77797f;
	font-family: Arial;
	font-size: 22px;
}

#fb5 .fb5-page-book h5 {
	color: #77797f;
	font-family: Arial;
	font-size: 20px;
}

#fb5 .fb5-page-book h6 {
	color: #77797f;
	font-family: Arial;
	font-size: 18px;
}

#fb5 .fb5-page-book li {
	font-size: 18px;
	
}

#fb5 #fb5-about p, #fb5 #fb5-about li {
	color: #cfeaee;
	font-family: Arial;
	font-size: 22px;
}

#fb5 #fb5-about a {
	color: #ffffff;
}

#fb5 #fb5-about h1 {
	color: #64c8d3;
	font-family: Arial;
	font-size: 26px;
}

/*#fb5 #fb5-about h2 {
	color: #64c8d3;
	font-family: Arial;
	font-size: 24px;
}*/

#fb5-about h3 {
	color: #64c8d3;
	font-family: Arial;
	font-size: 22px;
}

#fb5 #fb5-about h4 {
	color: #64c8d3;
	font-family: Arial;
}

#fb5 #fb5-about h5 {
	color: #64c8d3;
	font-family: Arial;
	font-size: 18px;
}

#fb5 #fb5-about h6 {
	color: #64c8d3;
	font-family: Arial;
	font-size: 16px;
}

#fb5 #fb5-button-back {
	background-color: #64c8d3;
	color: #ffffff;
}

#fb5 #fb5-button-back:hover {
	color: #64c8d3;
	background-color: #ffffff;
}

#fb5 .fb5-overlay {
	background: rgba(0,0,0,0.6);
}

.indice {
	margin-left: 200px !important;
	margin-top: 200px !important;
}

.indice2 {
	margin-left: 50px !important;
	margin-top: 200px !important;
}

.ital {
	font-style: italic;
}

#fb5-container-book {
	position: relative;
}

#fb5-container-book:after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	width: 2px;
	transform: translateX(-50%);
	pointer-events: none;
	background-image: url('img/texture-book-spine.jpg');
	background-size: cover;
	box-shadow: 0 0 8px 3px rgba(0,0,0,0.3);
	opacity: 0.8;
	z-index: 999;
}

/* Media queries unificadas */
@media screen and (max-width: 768px) {
    /* Cabezote */
    #fb5-custom-header {
        height: 50px !important;
    }
    
    .custom-header-container {
        padding: 0 15px !important;
    }
    
    #fb5-logo {
        height: 38px !important;
        margin-left: 5px !important;
    }
    
    #fb5-logo img {
        max-height: 38px !important;
    }
    
    #fb5-home-button, #fb5-index-button {
        padding: 6px 12px !important;
        font-size: 12px !important;
        margin-right: 5px !important;
    }
    
    /* Contenedor del libro */
    #fb5 #fb5-container-book {
        margin-top: 50px !important;
    }

	#fb5 .fb5-page-book li {
		font-size: 22px;
		font-family: 'Times New Roman', Times, serif !important;
	}	
    
    /* Página del índice específicamente */
    #fb5 .indice-page .fb5-page-book {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        left: 0 !important;
        top: 0 !important;
        overflow-y: visible !important;
    }
    
    .indice-container {
        width: 90% !important;
        margin: 10px auto !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    .indice-titulo {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .capitulo-titulo, .capitulo-titulo2 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .indice-lista {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    .indice-lista li {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        padding-left: 15px !important;
        position: relative !important;
    }
}

/* Dispositivos muy pequeños */
@media screen and (max-width: 480px) {
    /* Cabezote */
    #fb5-custom-header {
        height: 36px !important;
    }
    
    #fb5-logo {
        height: 26px !important;
        margin-left: 2px !important;
    }
    
    #fb5-logo img {
        max-height: 26px !important;
    }
    
    #fb5-home-button, #fb5-index-button {
        padding: 5px 8px !important;
        font-size: 11px !important;
        margin-right: 2px !important;
    }
    
    /* Contenedor del libro */
    #fb5 #fb5-container-book {
        height: calc(100vh - 45px) !important;
        margin-top: 36px !important;
    }

	#fb5 .fb5-page-book li {
		font-size: 22px;
		font-family: 'Times New Roman', Times, serif !important;
	}	
    
    /* Página de índice */
    .indice-container {
        padding: 10px !important;
        margin: 5px auto !important;
        max-width: 95% !important;
    }
    
    .indice-titulo {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .capitulo-titulo, .capitulo-titulo2 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    
    .indice-lista li {
        font-size: 13px !important;
        margin-bottom: 6px !important;
        padding-left: 10px !important;
    }
    
    .indice-lista li:before {
        font-size: 14px !important;
    }
}

/* Corregir problemas con reset.css */
#fb5 .fb5-page-book,
#fb5 .indice-container,
#fb5 .capitulo-seccion,
#fb5 .capitulo-titulo,
#fb5 .indice-lista,
#fb5 .indice-lista li {
    display: block !important;
}

#fb5 .indice-lista li a {
    display: inline-block !important;
}

/* Estilos mejorados para la página de índice */
.indice-page .fb5-page-book {
  position: relative;
}

.indice-container {
  width: 80%;
  margin: 150px auto 0;
  padding: 25px;
  border-radius: 4px;
  display: block;
  box-sizing: border-box;
}

.capitulo-seccion {
  margin-bottom: 25px;
  display: block;
}

.capitulo-titulo {
  font-size: 22px;
  margin-bottom: 12px;
  color: #6a1b9a;
  padding-bottom: 8px;
  display: block;
}

.capitulo-titulo a {
  color: #333333;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  transition: color 0.2s ease;
}

.capitulo-titulo a:hover {
  color: #9c27b0;
  text-decoration: underline;
}

.indice-lista {
  list-style-type: none!important;
  padding-left: 15px;
  display: block;
  margin-left: 0;
}

.indice-lista li {
  position: relative;
  margin-bottom: 8px;
  font-size: 16px;
  display: block;
  padding-left: 15px;
}



.indice-lista a {
  color: #333333;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  transition: color 0.2s ease;
}


/* Media queries para responsividad mejorada */
@media screen and (min-width: 992px) {
  .indice-container {
    margin-top: 250px;
    margin-left: 45px;
    width: 75%;
  }
}

@media screen and (max-width: 991px) {
  .indice-container {
    margin-top: 150px;
    width: 85%;
  }
}

@media screen and (max-width: 768px) {
  .indice-container {
    margin-top: 60px !important;
    width: 90%;
    padding: 15px;
  }
  
  .capitulo-titulo {
    font-size: 20px;
  }
  
  .indice-lista li {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .indice-container {
    margin-top: 30px !important;
    width: 95%;
    padding: 10px;
  }
  
  .capitulo-titulo {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .indice-lista {
    padding-left: 10px;
  }
  
  .indice-lista li {
    font-size: 13px;
    margin-bottom: 6px;
  }
}

/* Estilos mejorados para la página de índice */
.indice-page .fb5-page-book {
  position: relative;
}

.indice-container {
  width: 80%;
  margin: 150px auto 0;
  padding: 25px;
  border-radius: 4px;
  display: block;
  box-sizing: border-box;
}

.capitulo-seccion {
  margin-bottom: 25px;
  display: block;
}

.capitulo-titulo {
  font-size: 22px;
  margin-bottom: 12px;
  color: #6a1b9a;
  padding-bottom: 8px;
  display: block;
}

.capitulo-titulo a {
  color: #333333;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  transition: color 0.2s ease;
}

.capitulo-titulo a:hover {
  color: #9c27b0;
  text-decoration: underline;
}

.indice-lista {
  list-style-type: none;
  padding-left: 15px;
  display: block;
  margin-left: 0;
}

.indice-lista li {
  position: relative;
  margin-bottom: 8px;
  font-size: 16px;
  display: block;
  padding-left: 15px;
}


.indice-lista a {
  color: #333333;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  transition: color 0.2s ease;
}


/* Media queries para responsividad mejorada */
@media screen and (min-width: 992px) {
  .indice-container {
    margin-top: 250px;
    margin-left: 45px;
    width: 75%;
  }
}

@media screen and (max-width: 991px) {
  .indice-container {
    margin-top: 250px;
    width: 85%;
  }
}

@media screen and (max-width: 768px) {
  .indice-container {
    margin-top: 60px !important;
    width: 90%;
    padding: 15px;
  }
  
  .capitulo-titulo {
    font-size: 20px;
  }
  
  .indice-lista li {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .indice-container {
    margin-top: 30px !important;
    width: 95%;
    padding: 10px;
  }
  
  .capitulo-titulo {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .indice-lista {
    padding-left: 10px;
  }
  
  .indice-lista li {
    font-size: 13px;
    margin-bottom: 6px;
  }
}
