/*
----------------
slider superior
----------------
*/


main * {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

ul,ol {
	list-style: none;
}

.slideshow {
	width: 100%;
	position: relative;
}

.slider li, ul {
	width: 100%;
}

.slider li {	
    overflow: hidden;
    max-height: 31em;
    min-height: 23em;
}

.slider li img{
	width: 100%;
    object-fit:cover;
    object-position: center;
    min-height: 23em;
}

.slider .caption{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 15px 50px;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	text-align: center;
	color: #fff;
	z-index: 1;
}

.slider section {
    position: relative;
    overflow: hidden;
    flex-grow: 1;
}

.slider figcaption {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.77), black);
    color: white;
    padding: .5em;
    padding-top: 7em;
    padding-bottom: 1em;
    position: absolute;
    height: 100%;
    top: calc(100% - 13em);
    left: 0;
    right: 0;
    transition: all .5s ease; 
}

.slider figcaption .material-icons{
    display: none;
}

.slider figcaption p {
    display: none;
    font-family: 'Reem Kufi', sans-serif;
    font-size: 1.4em;
}

.slider figcaption b { 
    display: none;
    }

.slider figcaption:hover p {
    display: inherit;
    max-width: 50rem;
    padding-left: 2em;
    padding-right: 2em;
}

.slider figcaption h1{
	font-size: 50px;
}

.slider section:hover figcaption {
    padding: 1em;
    top: 0em;
    left: 0em;
    right: 0em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    transition: all .3s ease-out;
}


.pagination{
	position: absolute;
	top: 102%;
	width: 100%;
	display: flex;
	justify-content: center;
}

.pagination li{
	font-size: 20px;
	margin: 2px 5px;
	color: #858585;
	cursor: pointer;
}

.left, .right{
	position: absolute;
	top: 0;
	height: 100%;

	display: flex;
	align-items: center;

	color: #fff;
	font-size: 35px;
	cursor: pointer;
	z-index: 2;
}

.left{
	left: 10px;
}

.right{
	right: 10px;
}


@media screen and (max-width: 750px){
	
    .slider figcaption .material-icons{
    display:inherit;
    font-size: 1.6em;
    margin-top: -.3em;
    color: #ebebeb;
    }
    
    .slider figcaption:hover .material-icons {
    display: none;
    }
    
    .slider figcaption p, .slider figcaption b { 
    display: none;
    font-size: 1.1em;   
    margin: 0 10%;
    margin-top: .5em;
    font-family: 'Reem Kufi', sans-serif;
    font-weight: normal;
    }
    
    .slider figcaption:hover p, .slider figcaption:hover b {
    display: inherit;
    }

    #textolargo {
    display: none;
    }
    
    .slider figcaption {
    color: white;
    padding: .5em;
    padding-top: 2em;
    padding-bottom: 1em;
    position: absolute;
    height: 100%;
    top: calc(100% - 5em);
    left: 0;
    right: 0;
    transition: all .5s ease;
    }

	.slider figcaption h1{
    display: none;
    font-size: 2.2em;
    margin: 0 auto;
    padding: 0 10%;
    line-height: 1.2em;
	}
    
    .slider figcaption:hover h1{
    display:inherit;
	}

	.left, .right{
		font-size: 30px;
	}
  
    .slider li{
        margin-bottom: -1em;
        min-height: 19em;
	}
    
	.slider li img{
		width: 750px;
        object-fit:cover;
        object-position: center;
        min-height: 19em;
	}

    .pagination li{
        margin-top: .5em;
        font-size: 10px;
    }
    
}


/*
----------------
otros noticias
----------------
*/

.banner {
    margin: 0 auto;
    margin-top: 0em;
    margin-bottom: 2em;
    width: 90%;
    display: flex;
    justify-content: center;
}

.noticias {
    margin-top: 4.5em;
    margin-bottom: .5em;
    transition: all 1s ease;
}

.noticias a {
    text-decoration: none;
    color: black;
}

.noticias > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.noticias h2 {
    margin-bottom: .4em;
}

#postfooter {
    display: flex;
    justify-content: space-between;
    margin-top: 1.6em;
    margin-bottom: -.5em;
}

#postfooter h6 {
    color: #F34747;
    font-style: normal;
    width: auto;
    margin-top: .6em;
}

#postfooter h5 {
    color: #333333;
    font-style: normal;
    font-family: 'Reem Kufi', sans-serif;
    padding: .2em .4em;
    background: #f2f2f2;
    border: 1px solid #e2e2e2;
    -webkit-box-shadow: 1px 2px 3px rgba(0,0,0,0.1); 
    -moz-box-shadow: 1px 2px 3px rgba(0,0,0,0.1); 
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1); 
    -webkit-border-radius: .5em; 
    -moz-border-radius: .5em; 
    border-radius: .5em; 
}


.noticias figure {
    position: relative;
    flex-grow: 1;
    padding: .8em;
    border: 1px solid #cbc9c9;
    margin-bottom: 1.5em;
    background: white;
    -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
    -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
    box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
    -webkit-border-bottom-left-radius: 2%; 
    -moz-border-bottom-left-radius: 2%; 
    border-bottom-left-radius: 2%; 
    -webkit-border-bottom-right-radius: 2%; 
    -moz-border-bottom-right-radius: 2%; 
    border-bottom-right-radius: 2%; 
    border-bottom-right-radius: 2%; 
}

.noticias figure p {
	font-size: 14px;
}

.noticias figure img {
	font-size: 14px;
}

.noticias img { 
    display: block; 
}

#contenido { 
    padding: 1.2em 1em 1.4em 1em; 
}

.fila .material-icons{
    vertical-align: middle;
    font-size: 1.5em;
    color: #F34747;
    margin-top: -.05em;
}

@media (min-width: 600px) {
    
    .noticias figure {
        width: 45%;
        margin: .7em;
        margin-bottom: 1.5em;
    }
    
}

/*
----------------
menú de navegación
----------------
*/

.menudenavegacion {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5em;
    flex-wrap: wrap;
}

.menudenavegacion a {
    background: white;
    margin: .2em;
    padding: .5em 1em;
    text-decoration: none;
    align-items: center;
    color: black;
    height: 2.3em;
    -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
    -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
    box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
    -webkit-border-radius: 12%; 
    -moz-border-radius: 12%; 
    border-radius: 12%; 
    font-family: 'Reem Kufi', sans-serif;
}

.menudenavegacion a:hover {
    background: #F34747;
    transition: all .3s ease;
    color: white;
}

.menudenavegacion .material-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .0em 0em;
    vertical-align: middle;
    margin-top: -.05em;
}

.menudenavegacion .itemactual {
    background: #F34747;
    color: white;
}

.menudenavegacion .flechaant {
    background: #393939;
    color: white;
    width: 2.5em;
}

.menudenavegacion .flechasig {
    width: 2.5em;
}

.menudenavegacion .siguiente… {
    margin: 0 .3em;
}

@media (max-width: 700px) {
        
    #postfooter h5 b {
        display: none;
    }
    
}

@media (max-width: 600px) {
    
.menudenavegacion {
    margin-bottom: 3em;
    margin-top: .3em;
}
    
}

/*
----------------
entradas populares
----------------
*/

.entradaspopulares {
    margin-top: 0em;
    margin-bottom: 2em;
    transition: all 1s ease;
}


.entradaspopulares a {
    text-decoration: none;
    color: black;
}

.entradaspopulares > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.entradaspopulares h3 {
    color: #6f6f6f;
    text-align: center;
    line-height: 1.3em;
}

.entradaspopulares h6 {
    margin-top: .4em;
    text-align: center;
    color: #b1b1b1;
    font-style: normal;
}


.entradaspopulares figure {
    position: relative;
    flex-grow: 1;
    width: 15%;
    padding: .6em;
    border: 1px solid #cbc9c9;
    margin: .7em;
    margin-bottom: 1.5em;
    height: 13em;
    background: white;
    -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
    -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
    box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
    -webkit-border-bottom-left-radius: 8px; 
    -moz-border-bottom-left-radius: 8px; 
    border-bottom-left-radius: 8px; 
    -webkit-border-bottom-right-radius: 8px; 
    -moz-border-bottom-right-radius: 8px; 
    border-bottom-right-radius: 8px; 
    border-bottom-right-radius: 8px; 
}

.entradaspopulares figure:hover {
    transform: rotate(10deg);
    transition: all .4s ease;
}

.entradaspopulares figure img {
    height: 6em;
}

#imgpop { 
    height: 6em;
    overflow: hidden;
}

.entradaspopulares figure p {
    display: none;
}


.entradaspopulares img { 
    display: block; 
    object-fit:cover;
    object-position: center;
}

#cuerpo { 
    padding: 1em 0em 1.2em 0em; 
}

.casillas .material-icons{
    vertical-align: middle;
    font-size: 1.5em;
    color: black;
    margin-top: .5em;
}

@media (max-width: 650px) {
    
    .entradaspopulares {
        margin-bottom: 2em;
    }
    
    .entradaspopulares figure {
        width: 100%;
        height: 10em;
        margin: 0em;
        margin-bottom: 1em;
    }
    
    .entradaspopulares figure:hover {
    transform: rotate(2deg);
    transition: all .4s ease;
    }
    
    #imgpop { 
        width: 40%;
        float:left;
        margin-right: 1em;
        margin-top: .2em;
        height: 8em;
    }
    
    .entradaspopulares figure img {
        object-fit:cover;
        height: 8em;
    }
    
    #cuerpo { 
        padding: .5em 1em;
    }
    
    #cuerpoparrafo { 
        max-height: 3.7em;
        overflow: hidden;
        margin-bottom: 1em;
    }
    
    .entradaspopulares h3 {
        text-align: left;
    }
    
    .entradaspopulares h6 {
        text-align: right;
        color: #F34747;
    }
    
    .entradaspopulares figure p {
	   font-size: 12px;
       display: inherit;
    }

}


@media (max-width: 430px) {
    
    #cuerpoparrafo { 
        max-height: 2.7em;
        overflow: hidden;
        margin-bottom: 1em;
    }

}