/*
Theme Name: Idealex 2020
Theme URI: https://idealex.press
Description: El Tema Mockup para Wordpress fue realizado especificamente para la web.
Cuenta con un alto nivel de personalización para adecuarse a las necesidades de los usuarios de esta web.
Author:Jorge Miranda en <a href="http://www.mockup.cl/">Mockup</a>
Version: 2.0 2020
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {  }
body { color:#111; font-family: 'Source Sans Pro', sans-serif; line-height: 1.4;}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}

hr {margin-top:0;}

img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
/*------------------------------------*\
    Colores
\*------------------------------------*/


.badge-primary { color: #fff; background-color: #398668; z-index: 1; position: relative; transition: all .2s linear 0s;}
.badge-primary:hover { background-color: #18352a !important; }

.btn-primary {color: #fff; background-color: #398668; transition: all .2s linear 0s; border:0 none;}
.btn-primary:hover { background-color: #18352a !important; }

h2 {color:#398668;}
h2 a {color:#398668;}
a {color:#398668;}
a:hover {color:#18352a;}
hr {background:#ccc; border-color: #eaeaea; margin-top: 0; }

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
header { margin-bottom: 30px; }
header .frs {font-size:20px; }
header .frs span.rsocial {margin: 2px 3px;}
header .frs span.rsocial a {color:#398668;}

#hmenu_load_1 .hmenu_wrap {text-transform: lowercase;}

/* franja */
.franja {
	padding:50px 0;
}

#breadcrumbs {font-size: 12px;}

.LinkFull {position: absolute; top:0; left: 0; right: 0; bottom: 0; text-indent: -9999px;}
/* logo */
.logo {}
.logo img { max-height: 90px; margin:0 auto;}

/* nav */

/* Slider */
.owl-theme .owl-nav [class*=owl-] {width: 50px; height: 50px; background: rgba(255, 255, 255, .5) !important; border-radius: 25px;  transition: all .2s linear 0s;}
.owl-theme .owl-nav .owl-next:hover, .owl-theme .owl-nav .owl-prev:hover {background: #398668 !important;}

.segundo { margin: 0; padding: 0; list-style: none; }
.segundo-hijo { width: 100%; height: 50%; display: block; }
.owl-nav { position: absolute; top: 38%; left: 0; right: 0;}
.owl-nav .owl-prev { left: 20px }
.owl-nav .owl-next { right: 20px}
.owl-nav button { position: absolute; }
.owl-nav button:focus {outline:0;}
.owl-nav button span {}

.ifYoutube {
	height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
    width: 100%;
}

.ifYoutube iframe, .ifYoutube object, .ifYoutube embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    }


/* sidebar */
.sidebar {

}

/*Paginación */
.pagination .page-numbers { background: #398668; width: 30px; height: 30px;line-height: 30px; display: block;float: left;margin: 0 2px; text-align: center; color: #FFF; font-size: 14px; }
.pagination .page-numbers.current {background: #18352a;}


/* footer */
footer { padding: 50px 0; background: #333; color: #FFF; font-size: 12px; }
footer a {color:#f5f5f5;}
footer a:hover {color:#FFF; text-decoration: underline;}
.franja.Editorial {background:#235341 !important; color:#FFF; }
.franja.Editorial a {color:#FFF;}
.franja.Editorial .tipo2 h3 {color:#FFF;}
.franja.Editorial .tipo1 h3 {color:#FFF;}

.franja.Mercado {background:#aaadaa91; }
.franja.Mercado a, .franja.Mercado h3 {}
.franja.Mercado hr {background:#398668; border-color: #398668;}


.franja.Libros {background:#d7e4d7; }
.franja.Libros hr {background:#398668; border-color: #398668;}
.franja.Libros a {}

footer .frs {font-size:20px; }
footer .frs span.rsocial {margin: 2px 3px;}
footer .frs span.rsocial a {color:#f5f5f5;}
footer .widget_footer_title {font-size: 20px;}


/*------------------------------------*\
    cards
\*------------------------------------*/

.card {border:0 none; border-radius: 0; background: transparent;}
.card .imagen {width: 100%; padding-top: 56.35%; display: block; background-size: cover; background-position: center; background-color: #333; position: relative;}
.card .imagen2 {width: 100%; padding-top: 100%; display: block; background-size: cover; background-position: center; background-color: #333; position: relative;}
/* <img> reales dentro de .imagen (reemplazan el background-image en el home) */
.card .imagen > img, .card .imagen2 > img {position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}

/* ===== Fachada de YouTube (click para cargar, sin cookies hasta el play) ===== */
.yt-facade { cursor: pointer; background: #000; }
.yt-facade__thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-facade__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; color: #fff; font-size: 52px; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.5); transition: transform .15s ease, color .15s ease; }
.yt-facade:hover .yt-facade__play, .yt-facade:focus .yt-facade__play { transform: translate(-50%, -50%) scale(1.12); color: #ff0000; }
.yt-facade:focus { outline: 2px solid #398668; outline-offset: 2px; }

/* ===== Botón "volver arriba" ===== */
.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1030;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: #398668;
	color: #fff;
	font-size: 18px;
	line-height: 46px;
	text-align: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease, background .2s ease;
	box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #18352a; color: #fff; }

/* ===== Hero slider de portada (reconstruido con <img> + aspect-ratio) ===== */
.hero-card { position: relative; display: block; overflow: hidden; background: #333; }
.hero-card__media { display: block; line-height: 0; }
.hero-card__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-card__overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 100%); pointer-events: none; }
.hero-card__cats { margin-bottom: 4px; }
.hero-card__cats .badge { position: relative; z-index: 3; pointer-events: auto; }
.hero-card__title { margin: 0; font-family: 'Source Sans Pro', sans-serif; font-weight: 600; color: #fff; text-shadow: 2px 2px 8px rgba(0,0,0,.55); }
.hero-card--principal .hero-card__title { font-size: 24px; }
.hero-card--secundaria .hero-card__title { font-size: 16px; }
.hero-card__link { position: absolute; inset: 0; z-index: 1; }
/* separación de las dos secundarias (apiladas en desktop, lado a lado en móvil) */
.hero__aside > [class*="col-"] { margin-bottom: 20px; }
@media (max-width: 991.98px) { .hero__aside > [class*="col-"] { margin-bottom: 16px; } }
.card-text {font-size: 95%;}

.tipoSlider {}
.tipoSlider h3 {font-size: 24px; font-family: 'Source Sans Pro', sans-serif; font-weight: 600;}
.tipoSlider h3 a {color:#FFF; text-shadow: 3px 3px 10px #000;}

.tipoSlider2 {}
.tipoSlider2 h3 {font-size: 17px; font-family: 'Source Sans Pro', sans-serif; font-weight: 600;}
.tipoSlider2 h3 a {color:#FFF; /*text-shadow: 3px 3px 10px #000;*/}
 
.card-img-overlay {background:linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%); top:inherit;}

.tipoEditorial {}
.tipoEditorial h3 {font-size: 36px;}
.tipoEditorial .card-text {font-size:17px !important; }

.tipo1 {}
.tipo1 h3 {font-size: 22px; color:#111; transition: all .2s linear 0s;}
.tipo1:hover h3 {color:#398668;}

.tipo2 {}
.tipo2 h3 {font-size: 17px; color:#111; transition: all .2s linear 0s;}
.tipo2:hover h3 {color:#398668; }

.tipo3 {}
.tipo3 h3 {font-size: 14px; color:#111; transition: all .2s linear 0s;}
.tipo3:hover h3 {color:#398668;}



/*------------------------------------*\
    IMAGES
\*------------------------------------*/
.avatar {max-width: 100px; height: auto;}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/
.widget { padding: 15px; margin-bottom: 30px;}
.widget .ssba-classic-2 {display: none;}

.widget .widget_title {font-size: 26px; font-family: 'Source Sans Pro', sans-serif; font-weight: 600; color:#398668; margin-bottom: 10px;}
.widget .rltdpstsplgn-latest-posts, .widget .rltdpstsplgn-related-post-block {background:#f9f9f9; padding: 15px;}
.widget .rltdpstsplgn_posts_title {color:#111;}
.widget article .rltdpstsplgn_posts_title a {transition: all .2s linear 0s;}
.widget article:hover .rltdpstsplgn_posts_title a {color:#398668;}

.widget_home {padding: 20px; background:#f5f5f5; height: 100%;}
.widget_home_title {font-size: 26px; font-family: 'Source Sans Pro', sans-serif; font-weight: 600; color:#398668; margin-bottom: 10px;}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/
h1 {font-family: 'Gelasio', serif; font-weight: 700; }
h2 {font-family: 'Source Sans Pro', sans-serif; font-weight: 600; margin-bottom: 30px;}
h3 {font-family: 'Gelasio', serif; font-weight: 700;}
h6 {font-weight: bold;}
p {font-size: 14px;}
.bajada p {font-size: 18px; color:#398668; font-weight: 600; }

article h1 {font-size: 32px; font-weight: 600;}



/*------------------------------------*\
    PAGES
\*------------------------------------*/
.Post {}
.Post h2 {margin-top:40px; margin-bottom: 20px; font-weight: 600px !important; font-size: 30px;}
.Post p {font-size: 16px;}
.Post img {height: auto !important;}
.Post a {color: #398668; font-weight: 700; border-bottom: 1px dotted #398668; transition: all .2s linear 0s; text-decoration: none;}
.Post a:hover {font-weight: 600; border-bottom: 1px solid #398668;}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/



@media only screen  and (max-width: 1200px) {


}



@media only screen and (max-width: 992px) { 


}


@media only screen and (max-width: 768px) { 

.tipoSlider {}
.tipoSlider h3 {font-size: 22px; font-family: 'Lato', sans-serif; font-weight: 600; color:#FFF;}

.tipoSlider2 {}
.tipoSlider2 h3 {font-size: 16px; font-family: 'Lato', sans-serif; font-weight: 600; color:#FFF;}

}

@media only screen and (max-width: 600px) {

.tipoSlider h3 {font-size: 16px; margin:0!important;}

.tipoSlider2 {margin-top: 5px;}
.tipoSlider2 h3 {font-size: 14px; margin:0!important;}
.badge {display: none;}
.owl-nav { position: absolute; top: 25%; left: 0; right: 0;}



}

@media only screen and (max-width: 480px) {


}  

@media only screen and (max-width: 480px) {


}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

.carousel h3 a {color:#FFF !important;}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}