/*
Theme Name: APEC Peru 2024
Version: 1.0
Author: VFMC
Template: astra
*/
 
/*----------------- Cambios a partir de aquí -------------------------------*/

@font-face {
	font-family: 'Archivo Black';
    src: url('fonts/ArchivoBlack/ArchivoBlack-Regulareot');
    src: url('fonts/ArchivoBlack/ArchivoBlack-Regulareot?#iefix') format('embedded-opentype'),
        url('fonts/ArchivoBlack/ArchivoBlack-Regularwoff2') format('woff2'),
        url('fonts/ArchivoBlack/ArchivoBlack-Regularwoff') format('woff'),
        url('fonts/ArchivoBlack/ArchivoBlack-Regularsvg#ArchivoBlack-Regular') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
	/* src: url('fonts/ArchivoBlack/ArchivoBlack-Regular.woff2') format('woff2');
	url('fonts/ArchivoBlack/ArchivoBlack-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal; */	
}

@font-face {
	font-family: 'Manrope';
    src: url('fonts/Manrope/Manrope-ExtraLight.eot');
    src: url('fonts/Manrope/Manrope-ExtraLight.eot?#iefix') format('embedded-opentype'),
        url('fonts/Manrope/Manrope-ExtraLight.woff2') format('woff2'),
        url('fonts/Manrope/Manrope-ExtraLight.woff') format('woff'),
        url('fonts/Manrope/Manrope-ExtraLight.svg#Manrope-ExtraLight') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
/*	src: url('fonts/Manrope/Manrope-ExtraLight.woff2') format('woff2');
	url('fonts/Manrope/Manrope-ExtraLight.woff') format('woff');
	font-weight: normal;
	font-style: normal; */
}

ol li {padding-bottom: 1em;}

.d-none{display: none !important;}
/*
a {font-weight: 500; color:var(--wp--preset--color--ast-global-color-1); }
h1, h2, h3, h4, h5, h6{font-weight: 500; color:var(--wp--preset--color--ast-global-color-0); }
*/
.ast-site-title-wrap, 
.ast-breadcrumbs li.trail-item.trail-end{display: none !important;}

.wp-block-button a.wp-block-button__link:hover {color: white !important; }

.ast-blog-featured-section {width: 100%;}

.ast-search-menu-icon.ast-dropdown-active .search-field {width: 146px;}
/* .ast-icon.icon-search svg {fill: var(--ast-global-color-0);} */
.ast-search-menu-icon.ast-dropdown-active svg {fill: var(--ast-global-color-0);}
.ast-search-menu-icon .ast-search-icon{width: 47px; height: 47px; display: table;}
.ast-search-menu-icon .ast-search-icon .astra-search-icon{display: table-cell; width: 100%; height: 100%; text-align: center; vertical-align: middle;}
.ast-builder-menu-2{width: 47px !important; height: 47px !important;  padding: 0; overflow: hidden;}
.ast-header-break-point .main-header-menu {background-color: transparent; border: none;}
.ast-builder-menu-2 a{color: transparent !important;}
.ast-builder-menu-2 .lang-item a:before {content: "\f11f"; color: white; font-family: 'dashicons'; font-size: 1.2em; font-weight: normal; text-align: center;}
.ast-builder-menu-2 .lang-item a img { visibility: hidden; display: none;}

.footer-widget-area .widget > .wp-block-group{overflow: hidden; margin-bottom: 3em;}
.footer-widget-area .widget > .wp-block-group .wp-block-heading{margin-bottom: 1em;}

.ast-primary-header-bar{
background: var(--ast-global-color-4); /* rgb(238,235,218); */ 
background: linear-gradient(0deg, rgba(238,235,218,0) 0%, rgba(238,235,218,1) 40%);
}

.main-header-menu > .menu-item > .menu-link{font-weight:bold;}

body.home .carrusel .uagb-ifb-title, body.home .carrusel .uagb-ifb-desc, 
body.page .wp-block-post-title
{text-shadow: 0 2px 6px black; font-size: 4em; line-height: 1em;}
body.home .carrusel .uagb-ifb-desc{font-size: 1.75em;}
body.home .carrusel .dashicons{vertical-align:middle;}

body.home .carrusel .uagb-ifb-title {font-size: 3.5em !important; /* text-shadow: 0 0 6px white; */}
body.home .carrusel .uagb-ifb-title-prefix{font-size: 1.75em !important; text-shadow: 0 0 6px white;}
.APECs.wp-block-cover .wp-block-column{border-radius: 1em;}

.trama-04{
	background-image: url('imgs/trama-04_transp-50.png');
    background-position: center bottom;
    background-repeat: repeat-x;
}

/* .site-primary-footer-wrap[data-section="section-primary-footer-builder"], */
.site-footer .site-primary-footer-wrap{
    background-image: url('imgs/trama-03_negativo_transp-10.png');
    background-repeat: no-repeat;
    background-position: right bottom;
}
.site-footer .menu li {padding: .5em 0;}
.site-footer a{color:white;}
.site-footer a:hover{opacity: .75;}

body.home .galeria, 
body.home .APECs, 
body.page-id-13 #Peru-en-APEC, body.page-id-355 #APEC-for-Peru, 
body.page-id-13 #importancia, body.page-id-355 #importancia, 
body.page-id-13 #resultados, body.page-id-355 #results, 
#miembros 
{
    background-image: url('imgs/trama-02_negativo_transp-10.png');
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 25em;
}

body.page-id-13 #APEC-Peru-2024, body.page-id-355 #APEC-Peru-2024, 
body.page-id-13 #agenda, body.page-id-355 #agenda, 
body.page-id-13 #impacto-en-la-ciudadania, body.page-id-355 #impact-on-citizens, 
body.home .lema-prioridades 
{
	/* background: rgba(255, 255, 255, .5) url(imgs/trama-03_negativo_transp-10.png) no-repeat right bottom; */
	/* background-size: 30em; */
	background-size: 1.5%;
    background-position-y: 106%;
}

/* 
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] a{color:white;}
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] a:hover{opacity: .75;}
*/ 

.lstEconomias {text-align:center; padding:0 !important;}
.lstEconomias li {
	display: inline-block;
	font-size: 1.15em;
    width: 9em;
    height: 7em;
    vertical-align: middle;
    padding: 1em .75em 5em;
    margin: 1em 0.35em;
    /* border-radius: 0.5em; box-shadow: 0 2px 10px rgba(128, 128, 128, .5); */
    background: var(--ast-global-color-4) url('imgs/trama-04_transp-50.png') center bottom repeat-x;
	background-size: 10%;
	color: var(--ast-global-color-2);
	font-weight: bold;
    /* background-color: var(--ast-global-color-2);
    color: var(--ast-global-color-4); */
}
.xlstEconomias li:nth-child(even){
	background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-2);
}

body.archive .ast-row, body.search-results .ast-row{text-align: center;}
body.archive article[class^="post-"], body.search-results article[class^="post-"] {
    display: inline-block;
    /* outline: 1px solid lightgray; */
    vertical-align: top;
    height: 100%;
    margin: 1em 0 !important;
	padding-top: 1.5em;
    /* border-radius: 0.5em; box-shadow: 0 2px 10px rgba(128, 128, 128, .5); */
}

.lstEventos{}
.lstEventos .wp-block-column {
	padding: 3em 3em 2.5em;
    background: rgba(255, 255, 255, .5) url(imgs/trama-03_negativo_transp-10.png) no-repeat right bottom;
    background-size: 12em;
}
.lstEventos .wp-block-column p{margin:.25em 0;}
.lstEventos .wp-block-column p:before{ font-family: 'dashicons';  width:1em; margin-right:.25em; vertical-align: middle;}
/* .lstEventos .wp-block-column p:last-child:before{content: "\f230";} */
.lstEventos .wp-block-column p:nth-child(odd):before{content: "\f230";}
.lstEventos .wp-block-column p:nth-child(even):before{content: "\f508";}
.lstEventos .wp-block-heading {font-size: 1.5em;}
.viewsEventos a.uagb-tabs-list{color: transparent !important; width: 2.0em; overflow: hidden; text-align: center; border-radius: .25em; /* outline: 1px dotted var(--ast-global-color-0); */ }
.viewsEventos a.uagb-tabs-list:before {font-family: 'dashicons'; color: var(--ast-global-color-0);}
.viewsEventos .uagb-tab:first-child a.uagb-tabs-list:before { content: "\f163";}
.viewsEventos .uagb-tab:last-child a.uagb-tabs-list:before { content: "\f509";}

.viewsEventos .uagb-tabs__panel{flex-direction: row !important;}
.viewsEventos .uagb-tab{width:auto !important;}

.lstEventos .wp-block-column, 
.APECs .wp-block-column, 
body.search-results article[class^="post-"], 
body.archive article[class^="post-"], 
.lstEconomias li, 
.acercaDe .ctnImg, 
.multimedia .wp-block-column, 
.cajaSombreada{ border-radius: .5em; box-shadow: 0 0 10px rgba(0,0,0,.1); }

figure.wp-block-media-text__media, figure.wp-block-media-text__media img{ border-radius: .5em; }

.acercaDe .ctnImg{display:flex;}
.acercaDe .img{align-self: center;}
.acercaDe figure.cajaSombreada, 
.multimedia .wp-block-column{padding:.5em;}
	
.uagb-position__sticky.uagb-position__sticky--stuck{}

#ast-scroll-top{outline: 1px solid rgba(255, 255, 255, .5);}

.tabla{}
.tabla.is-style-stripes{}
.wp-block-table table { 
	background: rgba(255, 255, 255, .2) url(imgs/trama-03_negativo_transp-10.png) no-repeat right bottom; 
	background-size: 50%; }
.wp-block-table td{padding: 1.35em 1em; }
.wp-block-table th {color: var(--ast-global-color-2); font-weight: bold; font-size: 1.2em;}
.wp-block-table thead tr {border-bottom-color: var(--ast-global-color-2);}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:rgba(255, 255, 255, .3); }
.wp-block-table.is-style-stripes tbody tr:nth-child(even){background-color:rgba(0, 0, 0, .02); }

.menu-link .dashicons{vertical-align: middle;}

body.home .carrusel .uagb-ifb-content, body.page .uagb-ifb-content{}

ul.wp-block-social-links.alignleft.has-icon-color.is-style-logos-only.is-layout-flex.wp-block-social-links-is-layout-flex{margin-inline-end: 1em;}
:where(body .is-layout-flex){gap:16px;}

.spectra-image-gallery__media--masonry {cursor: default;}
.spectra-image-gallery__media-thumbnail-caption a{text-decoration: none !important; width: 100%; height: 100%; display: block;}
.spectra-image-gallery__media-wrapper .spectra-image-gallery__media-thumbnail-caption--bar-inside{border-radius: 2em;}

.wp-block-embed .wp-element-caption {text-align: center;}

/* Pretty Google Calendar */
.tippy-content{position:relative;}
.tippy-content h2{margin: 0 0 .5em;}
.tippy-content p{position: relative; padding-left: 1.5em;}
.tippy-content p::before{content:'x'; position: absolute; left:0; width: 1em; text-align: center;}
.tippy-content p:nth-child(2)::before {content: '⏰';}
.tippy-content p:nth-child(3)::before {content: '📍';}
.pgcal-branding, 
.tippy-content .toolloc{display:none;}
.fc-h-event, 
.fc .fc-button-primary{background-color: var(--ast-global-color-0); border-color: var(--ast-global-color-0);}
.pgcal-container .fc-scrollgrid, 
.pgcal-container .fc-list-table,
.pgcal-container .tippy-box{background:rgba(255, 255, 255, 1) url('imgs/trama-03_negativo_transp-10.png') no-repeat right bottom; background-size:50%;}
.pgcal-container .tippy-box{padding-bottom: 1em;}

.btn,.btn-close{text-decoration:none}.btn{background:#428bca;border:1px solid #357ebd;border-radius:3px;color:#fff;display:inline-block;font-size:14px;padding:8px 15px;text-align:center;min-width:60px;position:relative;transition:color .1s}.btn:hover{background:#357ebd}.btn.btn-big{font-size:18px;padding:15px 20px;min-width:100px}.btn-close{color:#aaa;font-size:30px;position:absolute;right:5px;top:0}.btn-close:hover{color:#919191}.modal:target:before{display:none}.modal:before{content:"";display:block;background:rgba(0,0,0,.6);position:fixed;top:0;left:0;right:0;bottom:0;z-index:10}.modal .modal-dialog{background:#fefefe;border:1px solid #333;border-radius:5px;margin-left:-200px;position:fixed;left:50%;z-index:11;width:360px;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;top:20%}.modal:target .modal-dialog{top:-100%;-webkit-transform:translate(0,-500%);-ms-transform:translate(0,-500%);transform:translate(0,-500%)}.modal-body{padding:0}.modal-footer,.modal-header{padding:10px 20px}.modal-header{border-bottom:1px solid #eee}.modal-header h2{font-size:20px}.modal-footer{border-top:1px solid #eee;text-align:right}

body.home .uagb-ifb-desc{font-size:1.6em !important;}
body.home .wp-block-uagb-container {overflow: hidden !important;}
body.home .uagb-image-heading {font-size:1.2rem !important; line-height: 1.5rem !important; background-color: rgba(0, 0, 0, .5); padding: .5rem 1rem;}
body.home .uagb-image-heading a{text-decoration:none !important; line-height: 1.2em; text-shadow: 1px 1px 1px #000; letter-spacing: .075rem;}
body.home .uagb-image-heading a:hover{text-decoration:underline !important;}
.news_home article.uagb-post__inner-wrap {position: relative; padding: 0 !important;}
.news_home .uagb-post__title.uagb-post__text {position: absolute; bottom: 0; z-index: 1; background-color: rgba(70, 14, 19, .75); color: white; padding: .5rem 1rem; width: 100%;}
.news_home .uagb-post__image{padding-bottom: 0;}
.news_home .uagb-post-grid-byline{padding-bottom: 0;}
.DeclaracionMachuPicchu .uagb-image-heading a{font-size:2rem; /* !important*/}

.x a.uagb-tabs-list.uagb-tabs__icon-position-left:before {
    content: "\f509";
	content: "\f163";
    font-family: 'dashicons';
    margin-right: .25em;
	vertical-align: middle;
}

x.site-content{
	background: url('/2024/wp-content/uploads/2023/10/Pucallpa_MGL1225.jpg');
    background-size: cover;
    background-position: top center;
}

x.header#masthead {position: fixed; width: 100%;}
x.div#content {margin-top: 106px; }

@media (max-width: 575px) {
	.spectra-image-gallery__media-thumbnail-caption a {
		font-size: .8em;
		line-height: 1.2em;
		text-decoration: none !important;
	}
	
	body.page .wp-block-post-title {
		font-size: 2.5rem;
		line-height: 3rem;
		margin-bottom: 5rem !important;
		margin-top: 3rem;
	}
}
@media (min-width: 576px) {
}
@media (min-width: 768px) {
	body.search-results article[class^="post-"], 
	body.archive article[class^="post-"] {
		width: 45% !important; margin: 1em !important;
	}
	.ast-search-menu-icon.ast-dropdown-active .search-field {width:203px;}
}
@media (min-width: 992px) {
}
@media (min-width: 1200px) {
.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0;
    margin-bottom: 0;
}
}
