/*
Theme Name:     Globalia Child
Theme URI:      https://mekshq.com/theme/gridlove
Description:    Child theme for Globalia theme
Author:         David Roselló
Author URI:     https://davidrosello.es/
Template:       globalia
Version:        0.1.0
*/

/* header */

.gridlove-logo {
	width: 200px;
}

.gridlove-logo-mini {
	width: 110px;
}


/* carrusel home */


/* fade oscuro */

/* .gridlove-cover-bg .gridlove-cover:after {
    background: -moz-linear-gradient(left,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(left,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%);
    background: -webkit-gradient(linear,left top,right top,color-stop(0,rgba(0,0,0,0)),to(rgba(0,0,0,1)));
    background: linear-gradient(to right,rgba(0,0,0,0) 0,rgba(0,0,0,1) 100%);

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=1);
}

.gridlove-cover-bg .gridlove-cover:before {
    background: -moz-linear-gradient(left,rgba(0,0,0,1) 0,rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(left,rgba(0,0,0,1) 0,rgba(0,0,0,0) 100%);
    background: -webkit-gradient(linear,left top,right top,color-stop(0,rgba(0,0,0,1)),to(rgba(0,0,0,0)));
    background: linear-gradient(to right,rgba(0,0,0,1) 0,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=1);
} */

/* fade corporativo, solo en la home */
/* embargado hasta aprobar nueva imagen

.home .gridlove-cover-bg .gridlove-cover:before {
    background: -moz-linear-gradient(left,rgba(37,244,153,.5) 0,rrgba(0,65,213,.5) 100%);
    background: -webkit-linear-gradient(left,rgba(37,244,153,.5) 0,rgba(0,65,213,.5) 100%);
    background: -webkit-gradient(linear,left top,right top,color-stop(0,rgba(37,244,153,.5)),to(rgba(0,65,213,.5)));
    background: linear-gradient(90deg, rgba(37,244,153,.5) 0%, rgba(0,65,213,.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=1);
	width: 100%;
	right: 0;
}

.home .gridlove-cover-bg .gridlove-cover:after {
	background: transparent;
}

.gridlove-cover-2 .gridlove-hidden-overlay {
	background: rgba(0,0,0,.2);

}

.gridlove-cover-2:hover .gridlove-hidden-overlay {
	background: rgba(0,0,0,.5);
}

.gridlove-header-bottom, .gridlove-header-bottom a {
	color: #015add;
}
.gridlove-header-bottom:hover, .gridlove-header-bottom a:hover {
	color: #37f8a2;
}
*/


.gridlove-header-bottom, .gridlove-header-bottom a,.gridlove-header-sticky, .gridlove-header-sticky a {
	color: #0057a4 !important;
}
.gridlove-header-bottom a:hover, .gridlove-header-bottom i:hover, .gridlove-header-sticky a:hover {
	color: #ff8800 !important;
}


/* posts, páginas y contenido */

body.single-post, body.page:not(.home) { background: #fff; }

.single .gridlove-box, .page .gridlove-box { box-shadow: none; border-bottom: 1px solid #F4F4F4; }

.wp-block-table.aligncenter, .wp-block-table.alignleft, .wp-block-table.alignright { width: 100%; overflow-x: scroll; display: block; }


/* rgpd */


@media (max-width: 450px) {

	.gridlove-site-branding { float: none; }

	.argpd-cookies .argpd-cookies-bar button { margin: 0 auto; float: none; text-align: center; }


}

/* cover category (v1) */
/* .gridlove-cover-category .gridlove-hidden-overlay {
	background: rgba(0,0,0,.5);
	opacity: 1;
}

.gridlove-cover-category:hover .gridlove-hidden-overlay {
	background: rgba(0,0,0,.77);
}

.gridlove-cover-category .entry-header {
	max-width: 100%;
}

.gridlove-cover-category .module-title h2, .gridlove-cover-category .module-title .h2 {
	color: #fff;
} */

/* cover category (v2) */
.gridlove-cover-category {
	margin-bottom: 30px;
} 

.gridlove-cover-wrap {
	position: relative;
}

.gridlove-cover-category .gridlove-cover-photo {
	overflow: hidden;
}

.gridlove-cover-category .gridlove-cover-content {
	width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	background: #0057a4;
}

.gridlove-cover-category .module-title h2, .gridlove-cover-category .module-title .h2, .gridlove-cover-category .gridlove-cover-content a, .gridlove-cover-category .gridlove-cover-content a:hover {
	color: #fff;
}

.gridlove-cover-category .gridlove-cover-content a {
	text-decoration: underline;
}

@media screen and (min-width: 960px) {
	.gridlove-cover-content {
		max-width: 440px;
	}
}


.gridlove-cover-category .gridlove-cover-content .entry-header {
    margin-left: 30px;
    padding-top: 30px;
    pointer-events: all;
}

.gridlove-cover-category .gridlove-cover-content .module-desc {
	max-width: 100%;
	padding-right: 30px;
	margin-top: 0px;
}

.gridlove-cover-category .gridlove-cover-content .module-title {
	margin-bottom: 30px;
}

.gridlove-cover-category img {
	width: 100%;
	max-width: inherit;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 768px) {
	.gridlove-cover-category .gridlove-cover-content, .gridlove-cover-category .gridlove-cover-content .entry-header {
		position: relative;
	}
	
	.gridlove-cover-category img {
		margin-left: 0;
	}
	
	.gridlove-cover-category .gridlove-cover-bg  {
		height: 200px;
	}
}


@media screen and (min-width: 769px) { 
	
	.gridlove-cover-category .gridlove-cover-bg {
		height: 520px;
	}
	
}	
	

/* instagram */
#prefooter aside { padding: 0; margin: 0; }
#prefooter .widget_meks_instagram { position: relative; text-align: center; }
#prefooter .widget_meks_instagram { position: relative; text-align: center; width: auto !important; }
#prefooter .widget_meks_instagram .meks-instagram-widget { max-width: 100% !important; }
#prefooter .widget_meks_instagram .meks-instagram-follow-link { position: absolute; top: 30%; width: 100%; }
#prefooter .widget_meks_instagram .meks-instagram-follow-link a { display: inline; background: #000; color: #fff; padding: 5px 10px; }
#prefooter .widget_meks_instagram .meks-instagram-follow-link a:hover { background: #005bde; }

/* sidebars y scroll to id */

.gridlove-sidebar { position: sticky; top: 110px; }
.gridlove-sidebar .mPS2id-highlight { padding-left: 5px; border-left: 3px solid #0057a4; color: #0057a4; }

/* galería información corporativa */

.page-id-123 .gallery .gallery-item a:hover:after, .page-id-123 .wp-block-gallery .blocks-gallery-item a:hover:after {
	opacity: 0;
}


/* fechas */

.fecha-clave {
	position: relative;
	padding-left: 30px;
	font-size: 1.2em;
	color: #0057a4;
	margin-bottom: 0px;
}

.fecha-clave::before {

    content: "";
    display: block;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: #0057a4;
    position: absolute;
    left: 0px;
    top: 8px;

}

.texto-fecha-clave {
	border-left: 1px solid #0057a4;
	padding-left: 23px;
	margin-left: 7px;
	margin-bottom: 0px;
	padding-bottom: 30px;
}

.texto-fecha-clave:last-child {
	padding-bottom: 0px;
	margin-bottom: 30px;
}

/* compartir */

@media screen and (min-width: 768px) { 
	
	.socicon-whatsapp, .heateorSssWhatsappBackground {
		display: none !important;
	}
	
}	


/* instagram galeria home */

.meks-instagram-widget a {
	height: 100%;
}

.meks-instagram-widget a img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 768px) { 
.d-sm-none  {
	display: none;
}
}

.d-none, .menu-item-922, .menu-item-704  {
	display: none !important;
}


.menu-item-703 a {
	padding-top: 5px !important;
}


/* ajuste UX menú lateral */

/* .gridlove-nav-widget-acordion {
	height: 44px;
	width: 44px !important;
	top: 5px;
} */

/* categorias ocultas */

.category-1 .gridlove-cover-area { display: none; }

a.gridlove-cat-358, a.gridlove-cat-380, a.gridlove-cat-398 { display: none; }

/* ajustes iconos compartir */

.entry-headline .heateor_sss_horizontal_sharing { display:none; }
.entry-content .heateor_sss_horizontal_sharing { margin-bottom: 20px; }
.gridlove-share-wrapper .heateor_sss_horizontal_sharing { margin-left: 44px; }

.category-238 .gridlove-post .entry-meta { display: none; }