/*
Theme Name: CNT
Template: magbook
Author: Andersan
Description: Tema hijo de la Magbook para CNT
Version: 2.0
Updated: 2020-07-22
*/

/* Títulos en Portada en negro y peso 100 */
.feature-news-title {
	color:#000!important;
}
/* Fondo semitransparente y fuente en negro y tamaño para los titulares en En portada */
.slider-title{
    background-color: rgba(255,255,255,1);
	padding:10px;
}
/*En Portada Fuentes del titular principal y de los secundarios */
#portada .slider-title a{
	font-size: 1.4rem!important;
	line-height: 1.1!important;
	font-weight:100!important;
}
.main-slider .no-slider .slider-content .slider-title, .main-slider .no-slider .slider-content .slider-title a{
	color: black!important;
	font-size: 0.9rem!important;
	line-height: 1!important;
	font-weight:100!important;
}
/* Fondo de Campañas en azulito */
.feature-news-box {
	background-color:#3fc8eb;
}
  
/* Menos hueco en el logo de cabecera */
.logo-bar {
    padding: 15px 0 !important;
}

/* Botón de color que no sea gris para que se vea el link */
.wp-block-file__button, .wp-block-button__link {
	background:#b6783d !important;
}

/* Corregir el desfase en el scroll del menú pegajoso */
h3::before, h4::before { 
  display: block; 
  content: " "; 
  margin-top: -70px; 
  height: 70px; 
  visibility: hidden; 
  pointer-events: none;
}

/* Font Neo */
@font-face {
    font-family: Neo;  
    src: url(/wp-content/themes/cnt/Neo/NeoSans.otf);  
    font-weight: normal;  
}

/* Icono de youtube usando FontAwesome */
.social-links li a[href*="youtube.com"]:before {
	content: '\f167';
}

.social-links li a[href*="youtube.com"]:hover {
	color: #00d4c5;		/* Color complementario al de la barra de menú */
}

/* Icono de telegram usando FontAwesome */
.social-links li a[href*="t.me"]:before {
	content: '\f1d8';
}

.social-links li a[href*="t.me"]:hover {
	color: #00d4c5;		/* Color complementario al de la barra de menú */
}

/* Fuente Asap */
body, button, input, select, textarea, h1, h2, h3, h4, h5, p {
	font-family: Asap, Asap, sans-serif; 
}
/* Justificar párrafo */
p{
	text-align:justify;
}
/* Ajustar el tamaño del botón al contenido */
.wp-core-ui .button{
	height:29px !important;
}
/* Icono del globo terráqueo para lugares */
.lugares-links:before {
    font-family: "FontAwesome";
    font-size: 10px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 18px;
    padding-right: 5px;
	content: "\f0ac";
}
.lugares-links {
	background-color: #EEE;
	padding:1px;
}
/* Icono de boligrafo para autor, tamaño de texto más grande */
#autorArticulo:before{
    font-size: 18px;
	color:#34558b;
    line-height: 20px;
    padding-right: 10px;
    padding-left: 5px;
}
.autor-links:before {
    font-family: "FontAwesome";
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 18px;
    padding-right: 5px;
	content: "\f040";
}
#autorArticulo a {
	font-size: 20px !important;
	color:#34558b;
	font-family: Impact;
}
#autorArticulo {
	border-top:5px solid #34558b;
}
/* Sumarios (usamos el blockquote=cita) */
blockquote:before {
    font-family: "FontAwesome";
	  content: "\f10d";
    position: absolute;
	top:18px;
    left: 7%;
	font-style: italic;
}
blockquote{
	font-size: 18px;
	font-weight: bold;
	color: #9E1030;
	padding: 16px 15% 1px;
	font-style: italic;
}
blockquote:after {
    font-family: "FontAwesome";
	  content: "\f10e";
    position: absolute;
	bottom:18px;
    right: 7%;
	font-style: italic;
}
/* Citas (usamos el verso) */
pre {
	font-family:inherit;
	padding-right: 5%;
	text-align: right !important;
}
pre:after {
    font-family: "FontAwesome";
	  content: "\f10e";
    position: absolute;
	top:18px;
    right: 2%;
	font-style: italic;
}
/* Pie de foto */
figcaption {
    font-style: italic;
	text-align:center;
}
/* Verso */
pre.wp-block-verse {
	white-space: inherit;
	text-align: justify;
}
/* Acordeon */
.ab-block-accordion{
	cursor: pointer;
}

/* Color de fuente para los links */
p a, .entry-content a {
	color:#0c4c8a !important;
}
/* Oculta los favoritos y ranking en el Directorio */
.geodir-post-fav, .geodir-post-rating {
    display:none!important;
}