
/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

* {
	margin: 0;
	padding: 0;
}

body {
	margin: 20px 0;
	background: #F5F5F5;
}

body, th, td, input, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #666666;
}

form {
}

fieldset {
}

input, textarea {
	font-weight: bold;
}

input.text {
	padding: 2px 5px;
	background: #F8FAEB;
	border-top: 1px solid #4D5719;
	border-left: 1px solid #4D5719;
	border-right: 1px solid #D6E48E;
	border-bottom: 1px solid #D6E48E;
}

input.button {
	border-top: 1px solid #D6E48E;
	border-left: 1px solid #D6E48E;
	border-right: 1px solid #4D5719;
	border-bottom: 1px solid #4D5719;
	color: #FFFFFF;
}

h1, h2, h3 {
	margin-top: 1.5em;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #626456;
}

h1 {
	letter-spacing: -.075em;
	font-size: 3em;
}

h2 {
	letter-spacing: -.05em;
	font-size: 1.8em;
	font-weight: normal;
	color: #8D8E85;
}

h3 {
	font-size: 1em;
}

p, ul, ol {
	margin-top: 1.5em;
	line-height: 1.8em;
	font-size: 1.1em;
}

ul, ol {
	margin-left: 3em;
}
 
blockquote {
	margin-left: 3em;
	margin-right: 3em;
}

a {
	text-decoration: none;
	/*color: #3C7BCF;*/
	color: #0727F2;
}

a:hover {
	border: none;
	background: none;
	color: #FFFFFF;
}

h1 a, h2 a, h3 a {
	border: none;
	text-decoration: none;
	color: #626456;
}

h1 a:hover, h2 a:hover, h3 a:hover {
	background: none;
	color: none;
}

hr {
	display: none;
}

/* Wrapper */

#wrapper {
}

/* Header */

#header {
	width: 980px;
	height: 35px;
	margin: 0 auto;
}

#menu {
	float: left;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
}

#menu a {
	display: block;
	float: left;
	height: 25px;
	margin-right: 1px;
	padding: 10px 20px 0 20px;
	background: #E9EED0;
	text-decoration: none;
	font-size: 1.1em;
	font-weight: bold;
	color: #8C8F7D;
}

#menu a:hover {
	background: #DDE6AB;
	color: #2C2E22;
}

#menu .current_page_item a {
	background: #B8D03B url(images/img01.gif) no-repeat;
	color: #FFFFFF;
}

#search {
	float: right;
	width: 260px;
	padding-top: 7px;
}

#search fieldset {
	border: none;
}

#search #s {
	width: 160px;
}

#search #x {
	width: 80px;
}

/* Logo */

#logo {
	width: 978px;
	margin: 0 auto;
	height: 156px;  /*122px;*/
	background: #FFFFFF url(images/img02.gif) repeat-x left bottom;
	border: none;
}

#logo h1, #logo h2 {
	float: left;
	margin: 0;
	padding: 0;
}

#logo h1 {
	padding: 30px 5px 0 20px;
}

#logo h2 {
	padding: 45px 0 0 0;
	font-style: italic;
}

#logo p {
	clear: left;
	margin: 0;
	padding: 0 0 0 20px;
	line-height: normal;
	font-size: 1.2em;
	font-weight: bold;
	color: #C2C5B1;
}

/* Page */

#page {
	width: 978px;
	margin: 0 auto;
	padding: 20px 0;
	background: #FFFFFF;
	border-top: none;
}

/* Content */

#content {
	float: left;
	width: 420px;
	padding: 0 24px 0 21px;
}

.post {
}

.post .title {
	margin: 0;
	font-weight: normal;
}

.post h1.title {
	font-size: 2.4em;
}

.post .entry {
	padding-bottom: 30px;
}

.post .meta {
	margin: 0;
	text-transform: uppercase;
	font-size: .8em;
	font-weight: bold;
	color: #CFCFCF;
}

.post .meta a {
	color: #CFCFCF;
}

.post .links {
	margin: 0;
}

.post .tags {
	margin: 0;
	text-transform: uppercase;
	font-size: .8em;
	font-weight: bold;
	background: url(images/img04.gif) repeat-x;
}

.post .links a, .post .tags a {
	border: none;
}

/* Recent Posts */

#recent-posts {
}

#recent-posts h3 {
	margin: 0;
}

#recent-posts p {
	margin: 0 0 1.5em 0;
	font-size: .9em;
}

/* Sidebars */

.sidebar {
	float: left;
	background: url(images/img03.gif) repeat-y;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar li {
	margin-bottom: 2em;
}

.sidebar li ul {
}

.sidebar li li {
	margin: 0;
}

.sidebar li h2 {
	margin: 0 0 1em 0;
}

#sidebar1 {
	width: 300px;
	padding: 25px 10px 0 11px;
}

#sidebar2 {
	width: 160px;
	padding: 25px 0 0 11px;
}

#sidebar2 li ul {
	line-height: normal;
	background: url(images/img04.gif) repeat-x;
}

#sidebar2 li li {
	padding: 5px;
	background: url(images/img04.gif) repeat-x left bottom;
	font-size: .8em;
}

#sidebar2 li a {
	border: none;
}

/* Calendar */

#calendar {
}

#calendar caption {
	font-weight: bold;
}

#calendar table {
	width: 100%;
	text-align: center;
	border-collapse: collapse;
}

#calendar thead th {
	background: #CCCCCC;
	color: #FFFFFF;
}

#calendar tbody td {
	background: #EEEEEE;
}

#calendar #today {
	font-weight: bold;
	color: #FFFFFF;
}

#calendar a {
	font-weight: bold;
}

#calendar #prev {
	text-align: left;
}

#calendar #next {
	text-align: right;
}

/* Footer */

#footer {
	text-align: center;
	font-size: .8em;
}

#pedirlibroform{
	border-radius:3px; 
	padding: 20px;
	moz-border-radius: 20px; /* Firefox */ 
	webkit-border-radius: 20px; /* Safari y Chrome */ 
    width:500px;
    background-color:F2F5A9;    
}

#letracapital:first-letter
{
color: #666666;
display: block; /* Lo convertimos en bloque */
float: left; /*Lo mandamos a la izquierda */
font-size: 200%;	/* Hacemos crecer la primera letra */
margin-top: 0px; /* Y le ponemos un margen cuadrado de 5 píxeles */
margin-left: 2px;
margin-bottom: 0px;
margin-right: 2px;
} 


.visible-phone { display: none !important; }
.visible-tablet { display: none !important; }
.hidden-phone { }
.hidden-tablet { }
.hidden-desktop { display: none !important; }
.visible-desktop { display: inherit !important; }


@media screen and (max-width: 40.625em) {
.hidden-desktop { display: inherit !important; }
.visible-desktop { display: none !important; }
.visible-phone { display: inherit !important; }
.hidden-phone { display: none !important; }
}

img.top {
    vertical-align: text-top;
}

img.bottom {
    vertical-align: text-bottom;
}

.bg-black {
  background-color: #000000 !important;
}

a.bg-black:hover, a.bg-black:focus,
button.bg-black:hover,
button.bg-black:focus {
  background-color: #1d2124 !important;
}


/* boton flotante */
.mp_float{
	position:fixed;
	width:60px;
	bottom:45%;  /*130px;*/
	right:15px;
	/*background: #cc2b2b;*/
	background: #3276b1;
    color: #fff;
	border-radius:100px;
	text-align:center;
	box-shadow: 2px 2px 3px #999;
	}
	
.mp_float a:hover{
    background: #fff;
    color: #3276b1;
}


/*
panel para mostrar miniatura de video
*/
.video-panel {
    border-radius: 10px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.video-panel:hover {
    background-color: #f0f0f0; /* Light gray background on hover */
}

.video-text {
    font-size: 16px; /* Customize text size here */
    color: #333; /* Text color */
}

@media (max-width: 768px) {
    .video-link {
        flex-direction: column;
    }

    .video-thumbnail {
        width: 100%;
        max-width: 100%;
    }

    .video-description {
        width: 100%;
    }
}



/*
barra flotante
loteria de libros
*/
.barra-flotante {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Modifica este valor para cambiar el alto */
    background-color: rgba(0, 0, 0, 0.5); /* Color semitransparente */
    text-align: center;
    padding: 10px;
}

.barra-flotante a {
    color: white;
    text-decoration: none;
    display: block;
}

.barra-flotante img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

.btn-group-spacing {
    margin-bottom: 5px; /* Ajusta el valor según sea necesario */
}


/* barra menu fija */
.navbar {
    position: fixed !important; /* Sobrescribe la regla de Bootstrap */
    top: 0;
    width: 100%;
    z-index: 1030; /* Mayor que el z-index de Bootstrap */
}


.container-narrow {
    margin-top: 60px; /* Ajusta este valor según la altura de la barra de navegación */
}
