/* ---------- Globales ---------- */
html {
    box-sizing: border-box;
    font-size: 62.5%;
}
*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
}

body {
    font-size: 16px;
    font-family: roboto, 'Open Sans', sans-serif;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #444;
    text-decoration: underline;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.negrita {
    font-weight: 700;
}

li {
    list-style: none;
}

.pagina404 {
    margin: 1rem;
    padding: 1rem;
    line-height: 25px;
    background-color: #eee;
}

.pagina404 a:hover {
    color: #f33;
}

.pagina404 .redessociales404 {
    padding: 1rem;
    display: flex;
    justify-content: space-evenly;
}

.pagina404 .redessociales404 img {
    width: 50px;
}

/* ---------- Comunes a diferentes páginas ---------- */

.contenedor-principal {
    margin: auto;
    max-width: 1024px;
    border: #dddddd solid 1px;
}

.centrado {
	text-align: center;
}

/* ----- Header ----- */

header {
    position: sticky;
    top: 0;
    z-index: 2;
}

.identidad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background-image: linear-gradient(to bottom, #dddddd 0%, #ffffff 100%);
}

@media (max-width: 768px) {
    .identidad {
        border-bottom: 1px solid #d9d9d9;
    }
}

.logo {
    width: 200px;
}

.redessociales {
    display: flex;
    padding: 5px;
    align-items: center;
    justify-content: center;
}

.redessociales a {
    margin-right: 10px;
}

.redessociales img {
    width: 20px;
}

.redessociales a:last-of-type {
    margin-right: 0;
}

@media (min-width: 768px) {
    .logo {
        width: 290px;
        transition: 0.3s;
    }

    .logo200 {
        width: 200px;
        transition: 0.3s;
    }

    .sombra {
        -webkit-box-shadow: 0px 5px 7px -3px rgba(179,179,179,1);
        -moz-box-shadow: 0px 5px 7px -3px rgba(179,179,179,1);
        box-shadow: 0px 5px 7px -3px rgba(179,179,179,1);
    }
    }
    
.navegacion-principal {
    position: absolute;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    opacity: 0;
    visibility: hidden;
}

.navegacion-principal a {
    font-size: 2rem;
    padding: 1rem;
    color: #808080;
    display: block;
    text-align: center;
    border-bottom: 1px solid #AAAAAA;
    font-weight: 700;
}

.navegacion-principal a:hover {
    background-color: #808080;
    color: #fff;
}

.compartir {
    position: relative;
    z-index: 1;
}

.at-style-responsive .at-share-btn {
    padding: 2px!important;
}

.desplegarbtn img {
    content: url("../imagenes/comun/close.svg");
}

.mostrar {
    transition: .3s ease;
    opacity: 1;
    visibility: visible;
    background-color: #eee;
}

@media (min-width: 768px) {
    .navegacion-principal {
        display: flex;
        position: relative;
        flex-direction: row;
        opacity: 1;
        visibility: visible;
        border: none;
        background: #808080;
    }

    .navegacion-principal a {
        font-weight: normal;
        font-size: 1.3rem;
        padding: .5rem 1rem;
        color: white;
    }

    .navegacion-principal a:hover {
        background-color: #555;
        color: #fff;
    }
}

.icono-menu {
    width: 4rem;
    min-width: 3rem;
    cursor: pointer;
}

.nombre-seccion {
    background-color: rgb(245, 245, 245);
    padding: 5px 0 0 10px;
	font-size: 1.7rem;
}

.cuadrobuscar{
	width: 300px;
	text-align: right;
}

@media (max-width: 768px) {
	.cuadrobuscar{
		display: none;
	}	
}
/* ---------- Contenido principal ---------- */

main {
    width: 100%;
    padding: 5px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .icono-menu {
        display: none;
    }
    
    .contenedor-main-aside {
        display: grid;
        grid-template-columns: 70% 30%;
    }

    main {
        margin: 5px;
        border-right: 1px solid lightgrey;
        padding: 5px 10px 5px 5px;
    }
	
}

aside {
    padding: 5px;
    text-align: center;
    background-color: rgb(247, 247, 247);
}

/* ---------- Pie de página común a diferentes páginas ---------- */
footer {
    text-align: center;
    font-size: 1.2rem;
    line-height: 130%;
    background-color: #dfe9d8;
    padding: 10px;
}

footer span {
    font-weight: bold;
}

/* ---------- Páginas individuales ---------- */
/* ---------- Columnas ---------- */

.google-ads {
	float: left;
	padding-right: 15px;
	display: block;
}

.encabezado-columna {
    font-family: 'PT Sans', sans-serif;
    text-align: center;
    padding: 2rem 0 2rem 0;
    background-color: rgb(245, 245, 245);
}

.titulo-columna {
    font-family: 'PT Serif', serif;
    font-size: 3.4rem;
    font-style: italic;
    font-weight: 700;
	padding-right: 10px;
	padding-left: 10px;
}

.nombre-columna {
    font-size: 1.7rem;
}

.credito-columna {
    font-size: 1.7rem;
}

.datos-columna {
    margin-bottom: 20px;
}

.texto-columna {
    font-size: 1.2em;
}

.texto-columna a {
    font-weight: 700;
    color: #100466;
}

.encabezado-recientes {
    background-color: #dee;
    text-align: center;
    font-weight: 700;
    padding: 3px 0;
}

.reciente-titulo, .reciente-columna {
    display: block;
    font-size: 1.5rem;
    padding-top: 5px;
}

a.reciente-titulo:hover, a.reciente-columna:hover {
    background-color: #eee;
}

.reciente-fecha {
    font-size: 1.1rem;
    border-bottom: #dddddd solid 1px;
    padding-bottom: 5px;
}

.aviso-opinion{
background-color: #ccc;
font-size: 1.4rem;
padding: 5px;
margin-bottom: 10px;
}

.id-acp {
    font-weight: 700;
    font-size: 1.1em;
    color:#f33;
    font-style: italic;
}

@media (min-width: 768px) {
    .nombre-columna {
        font-size: 2rem;
    }
    
    .credito-columna {
        font-size: 2.2rem;
	}
		
	.cuadrorecientes {
		border-left: 1px solid #dddddd;
    }
}

/* ---------- videos ---------- */

.video {
	margin: 0 auto;
	background-color: #222;
	color: #FFF;
	padding: 10px;
}

.titulorecientes {
	font-size: 2.2rem;
	font-weight: 700;
}

.textovideo {
	font-size: 1.4rem;
}

.titulovideo {
	font-size: 1.5rem;
}

.recienteimagen {
	max-height: 120px;
	overflow: hidden;
}


.videoreciente a:hover {
	text-decoration: none;
}

.videoreciente {
	background-color: lightgray;
	line-height: normal;
	padding: 5px;
}

.listarecientes {
	display: grid;
  	grid-template-columns: repeat(4, 1fr);
  	gap: 1rem;
}

.datosvideo {
	font-size: 1.2rem;
}

/* ---------- corazonada ---------- */

.contenido-corazonada {
	background-color: #eee;
	padding: 30px;
	text-align: center;
	border-radius: 10px;
	margin-bottom: 30px;
}

.titulo-corazonada {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 5px 0 10px 0;
}

.texto-corazonada {
	font-size: 1.6rem;
}

.seccion-corazonada {
	color: #900;
	font-size: 2.3rem;
	margin-bottom: 10px;
	font-weight: 700;
	display: inline-flex;
}

.seccion-corazonada img {
	width: 20px!important;
	height: 20px!important;
}

/* ---------- policiaca ---------- */

.titulo-pol {
	display: block;
	background-color: #B40508;
	color: white;
	font-weight: 700;
	font-size: 2rem;
	text-align: center;
	padding: .5rem;
}

.encabezado-pol {
	padding: 1rem 1rem 0 1rem;
}

.cabeza-pol {
	font-size: 4rem;
	font-weight: 700;
}

.texto-pol {
	
}

.bajante-pol {
	font-size: 2rem;
}

.credito-pol {
	font-size: 1.4rem;
	font-style: oblique;
	font-weight: 700;
	color: #312E70;
}

.areafotos {
	text-align: center;
}

img.imgpol {
	width: 150px;
	max-height: 100px;
	display: inline;
	object-fit: contain;
}

.contenedor-recientespol {
	padding: 1rem;
	background-color: #FCF2EF;
	border-radius: 5px;
	margin-top: 10px;
}

.titulo-recientespol {
	font-weight: 700;
	text-align: center;
	padding: 0 0 1rem 0;
	font-size: 2rem;
}

.items-principalpol {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 10px;
}

.items-recientespol {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
}

.recientepol {
	border-top: 5px solid #ED4E4E;
	padding: 5px;
	font-size: 1.6rem;
	background-color: #FFFFFF;
	font-weight: 700;
}
.recientepol a {
	text-decoration: none;
}

.recientepol img {
	max-height: 120px;
	object-fit: contain;
}

/* ---------- cartones ---------- */

.contenedor-recientescartones {
	margin-top: 30px;
	background-color: #F0F3E8;
	border-radius: 10px;
}

.titulo-recientescartones {
	text-align: center;
	font-weight: 700;
}

.items-recientescartones {
/*	display: flex;*/
/*	flex-wrap: wrap;*/
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
}

.recientecarton {
	text-align: center;
	padding: 10px;
}

.recientecarton img {
	width: 100%;
}

.titulocartonreciente {
	font-weight: 700;
	line-height: normal;
}

.creditocartonreciente {
	font-size: 1.2rem;
}

.relacionada-carton {
	font-size: 2.4rem;
}

/* ---------- otros ---------- */
.pagprincipaltext a {
	color: #fff;
	text-decoration: none;
}