/*!
Theme Name: ALBA-TCP's Theme
Theme URI: https://www.marcosruben.com/ALBA-TCP
Author: Marcos Rubén
Author URI: https://www.marcosruben.com/
Description: Un tema construido a partir de underscores.me, especialmente para el sitio www.ALBA-TCP.org.
Version: 1.1.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: marcosruben
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready underscoresme

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ALBA-TCP's Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Footer
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	max-width: 100vw;
	overflow-x: hidden;

	
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0 !important;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
	cursor: pointer;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #333333;
	font-family: 'Catamaran', sans-serif !important;
	font-size: 1.5rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}


.margen h4,.margen h5,.margen h6,.margen p, .margen cite {
	margin: 20px 20vw;
}


h1,
h2,
h3,
h4,
h5,
h6,
cite {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	line-height: 1;
}

.margen h1 {
	font-size: 3em;
	margin: 2vw 0 3vw 10vw;
}

.margen h2 {
	font-size: 2em;
	margin: 1.5vw 0 2vw 13vw;
}

.margen h3 {
	font-size: 1.7em;
	margin: 1vw 0 1.5vw 17vw;
}


dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

blockquote p {
	margin: 0 2vw !important;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 0 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #cf293a;
	text-decoration: none;
	transition: .3s !important;
}

a:visited {
	color: #cf293a;
}

a:hover,
a:focus,
a:active {
	color: #cf293a;
	text-decoration: underline;
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

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

.site-header {
	display: flex;
	max-width: 100vw;
	z-index: 99998;
	left: 0px;
	box-sizing: border-box;
	width: 100%;
}

.home .site-header {
	position: absolute;
}

.site-header a {
	color: #cf293a;
	text-decoration: none;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: .8em;
}

.site-branding {
	width: 100%;
	display: flex;
	display: block;
}

.site-branding h1, .site-branding p {
	display: none;

}

.custom-logo {
	position: relative;
	border: 1px solid white;
	border-radius: 50%;
	width: 46px;
	height: 46px;
	padding: 8px;
	margin: 10px;
	left: 12px;
}
.site-title {
	margin: 15px;
	line-height: 1;
	font-size: 28px;
}


/* Navigation
--------------------------------------------- */

#site-navigation {
	height: 0px;
}

.main-navigation {
	display: block;
	width: 50%;
	text-align: left;
	height:100%;
	
}

.current_page_item a {
	border-bottom: solid #333 1px;
}

/* Botón de Menú animado*/

.boton-menu {
  position: fixed;
  top: 0px;
  right: 0px;
  display: inline-block !important;
  cursor: pointer;
  z-index: 99999;
  margin: 12px 24px;
  background-color: #0000;
  border: none;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 2px;
  border-radius: 1px;
  background-color: #cf293a;
  margin: 9px 0;
  transition: 0.4s;
}

/* Rotate first bar */
.toggled .bar1 {
  -webkit-transform: rotate(-45deg) translate(-0px, 0px) ;
  transform: rotate(-45deg) translate(-5px, 10px) ;
	background-color: #333;
}

/* Fade out the second bar */
.toggled .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.toggled .bar3 {
  -webkit-transform: rotate(45deg) translate(-0px, -0px) ;
  transform: rotate(45deg) translate(-5px, -10px) ;
	background-color: #333;
}

.menu-contenedor {
	position: fixed;
	top: 0;
	right: -36vw;
	width: 35vw;
	height: 100vh;
	overflow: auto;
	white-space: nowrap;
	z-index: 9998;
	transition: 0.4s;
	padding-top: 13vh;
}

.menu-contenedor.toggled {
	right: 0;
	background-color: #cf293a;
}

.nav-menu a {
	color: #333 !important;
}


.fondo {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: 0.4s;
	z-index: -999;
}

.fondo.toggled {
	background: #36363654;
	z-index: 9995;
}

#menu-contenedor form.search-form {
	  padding: 0 50px 53px;
}

#menu-contenedor form.search-form input {
	font-family: 'Roboto', sans-serif !important;
	font-size: .8em;
	color: white;
	background: none;
}

#menu-contenedor form.search-form input.search-submit  {
	border: none
}

.main-navigation ul {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0 35px;
}

.main-navigation ul ul {
	position: relative;
	top: 100%;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
	padding: 0px 18px 11px 18px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.skip-link { display:none; }

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

	.site-header a {
		font-size: 1em;
	}
		
	.menu-contenedor.toggled {
		width: 100vw;
	}
	
	.menu-contenedor ul {
		padding-top: 10vh;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

body:not(.home) .entry-content  {
	margin: 0 10%;
}

body:not(.home) .entry-content li. body:not(.home) .entry-content p,  {
	font-size: .8em;
}

body:not(.home) .entry-content li  {
	margin: 20px;
	font-size: 16px;
	text-align: justify;
}

.portada {
	display: grid;
	grid-template-columns: auto;
	height: auto;
	margin: 75px 35px;
	background: white;
	overflow: hidden;
	grid-row-gap:  30px;
	grid-template-rows: max-content;
}

.portada .entry-header{
	margin: 0 2vw;
	text-align: center;
	color: #333;
	opacity: 0;
	transition: 3s;
}

h1.entry-title {
	margin: 0 20px;
	font-size: 1.3em;
	color: #cf293a;
	font-weight: 700;
}

.portada .entry-meta {
	display: none;
}
.posted-on {
	font-size: .5em;
}

.portada p {
	font-size: 1vw;
	font-style: italic;
	font-weight: 100;
	margin: 15px 20px 0px 20px;
}

.toggled .entry-header, .toggled .entry-header a  {
	opacity: 1;
}

.post-thumbnail {
	position: relative;
	height: 58vw;
	width: auto;
	overflow: hidden;
	transition: 3s;
}

.home .post-thumbnail {
	display: none;
}


#presentacion .toggled .post-thumbnail {
	height: 58vw;
}

@media only screen and (min-width:600px) {
		.toggled .post-thumbnail {
		height: 100%;
	}
}


.post-thumbnail img {
	position: absolute;
	display: block;
	object-fit: cover;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 100%;
	width: 100%;	
}

span.byline {
	display: none;
}

.entry-content:not(.home) p {
    font-size: 21px;
	font-weight: 300;
    text-align: justify;
}

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

	body:not(.home) .entry-content  {
		margin: 20px 20%;
	}
	
	.portada {
		grid-template-columns: 40% 60%;
		height: 66vh;
		align-items: center;
		grid-template-rows: auto;
	}
	.portada .entry-meta {
		display: block;
	}
	
	.entry-content:not(.home) p {
		font-size: .8em;
		font-weight: 100;
	}

}

.entry-content:not(.inicio) {
	margin-top: 100px;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin:  0;
}

}

.post span[id^='more-'] {
	margin: 0 !important;
}

figure.wp-block-embed {
	display: block;
	width: 60%;
}

figure.wp-block-embed div {
	width: 70%;
	margin: auto;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}



/* Archivo */

.archivo #presentacion p {
	display: none;
}

.archivo #presentacion .thumbnail {
	position: relative;
	height: 60vh;
}
/*
.archivo #presentacion video {
	width: 100%;
}
*/

.archivo .entry-content * {
	margin: 20px 70px !important;
}

.archivo .destacadas {
	max-width: 100%; 
	display: block;
}

.archivo .destacadas * {
	margin: 0 !important;
}

.archivo .destacadas ul {
    justify-content: center;
    width: 100%;
}

.archivo .destacadas li {
	display: block;
	width: 30%;
	margin: 0 auto 0 0 !important;
	font-size: .8em;
}

.archivo .destacadas li img {
	width: 100%;
}

.archivo ul {
	padding-left: 0;
}

.archivo .lista li {
	margin: 25px 0 !important;
	font-size: .7em;
	list-style: none;
}

.archivo .lista li::after {
	display: block;
	position: relative;
	top: 13px;
	content: "";
	width: 100%;
	border-top: 1px solid #e1e1e1;
}

.archivo .lista li * {
	text-indent: 0px !important;
	margin: 0 !important;
}

/* Footer
--------------------------------------------- */
#secondary {
	background: #333;
}

#nav_menu-2 {
	margin: 0;
}

#footer h2 {
	margin-top: 0;
}

.menu-redes-sociales-container ul {
    display: flex;
	margin: 0;
	justify-content: center;
	padding: 0;
}

.menu-redes-sociales-container ul li{
	list-style: none;
	margin: 0 15px;
}

.site-footer {
	background-color: #333;
	padding: 7vh;
	text-align: center;
	font-size: 0.7em;
	font-weight: 300;
	color: #999999;
}


.site-footer a {
	text-decoration: none;
	color: #cf293a;
	font-weight: 900;
}

.edit-link { 
	display: none;
}

/** Inicio 
--------------------------------------------- */
/*.inicio > * {
	padding: 0 2vw;
}*/

.inicio .custom-logo  {
	display: none;
}

/******     PRESENTACION    ******/
/*
.page #presentacion {
	height: 30vh;
}
*/

.home #presentacion {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

#presentacion video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100vw;
	height: auto;
	object-fit:cover;
}

@media screen and (max-width: 900px) {
	.home #presentacion {
		height: calc(9*100vw/16);
	}
}


#presentacion figure:not(#integrantes) {
	position: relative;
	margin: 0;
	width: 100%;
}


#logo img {
	display: block;
	margin: auto;
	max-height: 80vh;
	transition: 1.4s;
	transform: scale(100);
	
}

.toggled #logo img {
	transform: scale(1);
	max-height: auto;
}


/**     Integrantes    **/


#integrantes {
	position: absolute;
	top: 0;
	left: -700%;
	width: 700%;
	height: 100vh;
	transition-delay: 1.2s;
	transition-duration: 2s;
}

#presentacion.toggled #integrantes {
	left: 10%;
	width: 80%;	
}

#integrantes .bandera img {
	position: relative;
	width: 4vw;
	height: 4vw;
	border-radius: 50%;
	object-fit: cover;
	margin-left: 1vw;
	z-index: 1;
}

#integrantes #cuba img, #integrantes #cuba-en img {
	object-position: left;
	
}

#integrantes .wp-block-group__inner-container{
	display: flex;
	padding: 0 0;
	background-color: transparent;
}

#integrantes ul {
	position: absolute;
	bottom: 0;
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
}

#integrantes li {
	margin: auto auto 15px auto;
}

.fichapais { 
	display: none;
	opacity: 0;
}

.fichapais img {
	width: 50%;
	height: auto;
	object-fit: cover;
	text-align: center;
}
@media only screen and (min-width: 900px) {
	
	.fichapais {
		display: flex;
		position: absolute;
		bottom: -5vh;
    	overflow: hidden;
		background: #ffffffd9;
		transition: 1s;
		box-shadow: 0px 0 100px #80808078;
		font-size: 12px;
		border-radius: 13px;
		opacity: 0;
		transform: translatex(-200px);
		width: 500px;
		height: auto;

	}
	
	.fichapais.visible {
		bottom: 15vh;
		opacity: 1;
	}
	
	.fichapais h2 {
		margin-bottom: 10px;
	}
	
	.fichapais .datopais {
		margin: 35px;
		margin-top: 0;
	}
	
	.fichapais span {
		font-weight: bold;
	}
	
	#ficha-cuba, #ficha-cuba-en {
		transform: translatex(-50px)
	}
	
	#ficha-san-cristobal-y-nieves, #ficha-saint-kitts-and-nevis {
		transform: translatex(-350px);
	}
	
	#ficha-granada, #ficha-grenada, #ficha-santa-lucia {
		transform: translatex(-230px);
	}
	
	#ficha-santa-lucia, #ficha-saint-lucia {
		transform: translatex(-300px);
	}
	
	
}
/*#integrantes .fichapais {
}*/

/******     SECCIONES    ******/

#salud, #educacion, #agricultura { display: none;}

#albaes {
	display: none;
	padding: 0 50px;
	min-height: 100vh;
	max-width: 100vw;
	overflow-x: hidden;

}

@keyframes albaes {
	0% {width: 0;}
	40% {width: 100%; }
	80% {width: 100%; border-bottom: 2px solid #cf293a;}
	100% {width: 100%; border-bottom: 2px solid #cf293a;}
}


#albaes #h2 {
	height:50px;
	width: 0;
	border-bottom: 2px solid #cf293a;
	overflow: hidden;
}

#albaes #h2 div {
	position: relative;
	top: 100%;
	transition: .8s;
	transition-delay: 1.2s;
}

#albaes #p {
	width: 100%;
	height: 60px;
	overflow: hidden;
}

#albaes #p div{
	position: relative;
	bottom: 100%;
	transition: .8s;
	transition-delay: 2s;
}


#albaes.visible #h2 {
	animation: albaes 3s ;
	animation-fill-mode: forwards;
}

#albaes.visible #h2 div {
	top: 0;
}

#albaes.visible #p div {
	bottom: 0;
}


#albaes h2 {
	font-weight: 900;
	font-size:52px;
	margin:0;
}


#albaes p {
	width: 90%;
    text-transform: uppercase;
    font-weight: 100;
	color: #333;
	font-size: 20px;
    line-height: 1;
	margin: 0;
	text-align: left;
}

#albaes .seccion {
	position: relative;
	display:flex;
	min-height: 150px;
	margin: 20px;
	left: 200px;
	opacity: 0;

}

#albaes .salud {
	transition: 1s;
	transition-delay: 3s;
}

#albaes.visible .salud {
	left: 0;
	opacity:1;
}

#albaes .educacion {
	transition: 1s;
	transition-delay: 3.3s;
	
}

#albaes.visible .educacion {
	left: 0;
	opacity:1;
}

#albaes .agricultura {
	transition: 1s;
	transition-delay: 3.6s;
}

#albaes.visible .agricultura {
	left: 0;
	opacity:1;
}

#albaes .seccion .imagen {
	position: absolute;
	top: 50%;
	overflow: hidden;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	transform: translate(0, -50%);
}

#albaes .seccion img  {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 1s;
}

#albaes .seccion:hover img {
	transform: scale(1.2);
}

#albaes .seccion .texto {
	padding-left: 150px;
}

#albaes .seccion h3 {
    margin: 30px 0 10px 0;
	font-size: 26px;
	font-weight: 400;
	color: #999;
}

#albaes .seccion a {
    font-size: 20px;
}


@media screen and (max-width:768px){
	#albaes #p { 
		height:100px;
	}
	
	#albaes .seccion h3 {
		font-size: 18px;
	}
}


/******     COMUNICADOS    ******/

#comunicados {
	margin: 15vh 0;
	max-width: 100vw;
	overflow-x: hidden;
	
}

#comunicados img {
	padding: 35px;
}

#comunicados h2 {
	font-weight: 900;
	font-size: 52px;
}

#comunicados ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

@media screen and (max-width: 700px) {
	#comunicados ul{
		margin: 0;
	}
}

#comunicados .resumen {
	font-size: .7em;
	font-style: italic;
	color: #999;
	box-sizing: border-box;
	padding: 25px 50px;
}

#comunicados .resumen p {
	display: inline;
}

#comunicados .resumen a {
	color:#333;
}


#mostrar.visible, #ocultar.visible {
	opacity: 1;
	transition: 0.7
}

#ocultar{
	opacity: 0;
}

#anteriores.oculto {
	max-height: 0px;
	overflow: hidden;
	color: white;
	transition: 0.7;
}

#anteriores.visible {
	max-height: none;
	color: #cf293a;
	transition: 0.7;
}



#covid19, #educacion {
	position: relative;	
	padding:  20px 35px;
	margin: 100px 0;
	background: #f8f8f8fd url("https://www.albatcp.org/wp-content/uploads/2021/03/Alba-TCP-blanco.jpg") contain;
		max-width: 100vw;
	overflow-x: hidden;

}

@media screen and (max-width: 700px;) {
	#covid19 {
		margin-bottom: 20px !important;
			max-width: 100vw;
	overflow-x: hidden;

	}
}


#covid19::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	height: 100%;
	background: url("s://www.albatcp.org/wp-content/uploads/2021/03/Alba-TCP-blanco.jpg") no-repeat;
	background-size: 90%;
	transition: 1s;
	transition-delay: .4s;
	opacity: 0;
	transition-timing-function: linear;
	z-index: -1
}

#covid19.visible::after{

	opacity: 1;
}

#educacion::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0%;
	width: 50%;
	height: 100%;
	background: url("https://www.albatcp.org/wp-content/uploads/2021/02/Alba-TCP-blanco.jpg") no-repeat;
	background-size: 90%;
	transition: 1s;
	transition-delay: .4s;
	opacity: 0;
	transition-timing-function: linear;
	z-index: -1
}

#educacion.visible::after{
	opacity: .6;
}

@media screen and (max-width: 700px) {
	#covid19 .wp-block-group__inner-container {
	}
}

#covid19 figure {
	box-shadow: 10px 10px 10px #dbdbdb;
}

#covid19 figure, #educacion figure {
	box-shadow: -10px 10px 10px #dbdbdb;
}


#covid19 .wp-block-media-text__media, #educacion .wp-block-media-text__media {
	width: 90%;
	opacity: 0;
	transition: 1.5s;
}

#covid19.visible .wp-block-media-text__media, #educacion.visible .wp-block-media-text__media {
	width: 100%;
	opacity: 1;
}

#covid19 .wp-block-media-text, #educacion .wp-block-media-text {
	min-height: 70vh;
}

#covid19 .wp-block-media-text__content, #educacion .wp-block-media-text__content {
	position: relative;
	height: 100%;
	padding: 50px;
	z-index: 1;
}

#covid19 h2::after, #educacion h2::after {
	display: block;
	position: relative;
	content: "";
	background: #cf293a;
	width: 0%;
	height: 2px;
	margin: 7px auto;
	transition: 1s;
	transition-delay: 0.3s;
}

#covid19.visible h2::after,#educacion.visible h2::after {
    width: 45%;
}


#covid19 p, #educacion p {

	margin: 50px;
	font-size: .8em;
	color: #999;
}

@media screen and (max-width: 700px) {
	#covid19 .wp-block-media-text__content {
		padding: 0px !important;
	}
	#covid19 h2 {
		padding: 50px 0 0 0;
	}
	#covid19 .wp-block-media-text__content p {
		margin: 30px 0px 50px 0 !important;
	}	
}
 
#agricultura .wp-block-cover__gradient-background {
	opacity: 0;
	transition: 2s;
}

#agricultura.visible .wp-block-cover__gradient-background {	
	opacity: 0.3;
}

#agricultura .wp-block-cover__inner-container {
	min-height: 100vh;
} 

#agricultura h2 {
	position: relative;
	top: 70vh;
	opacity: 0;
	transition: 1s;
	font-size: 2em;
	font-weight: 900;

} 

#agricultura.visible h2 {
	opacity: 1;
	top: 10vh;
}

#agricultura p {
	position: relative;
	top: 20vh;
	text-shadow: 0px 0px 5px gray;
	opacity: 0;
	transition: 1s;
	transition-delay: .7s;
	width: 70%;
	margin-left: auto;
}

#agricultura.visible p {
	opacity: 1;
}

#agricultura .wp-block-buttons {
	position: absolute;
	top: 80vh;
	width: 0;
	white-space: nowrap;
	overflow: hidden;
	right: 1em;
	opacity: 0;
	transition: 1s;
	transition-delay: 1s;
	
}

#agricultura.visible .wp-block-buttons {
	opacity: 1;
	width: 200px;
}

.inicio a.wp-block-button__link {
	background: transparent;
	color: #333;
	font-size: 0.8em;
}

.inicio a.wp-block-button__link::after {
	content: "";
	display: block;
	position: relative;
	left: 50%;
	width: 0%;
	height: 2px;
	background: #cf293a;
	transition: 1s;
	transition-delay: 1s;
}

.inicio .visible a.wp-block-button__link::after {
	width: 50%;
}

#agricultura a.wp-block-button__link {

	color: white;
}

#agricultura a.wp-block-button__link::after {
	transition-delay: 2s;
	color: white;
}


/******     PUBLICACIONES    ******

#publicaciones {
	position: relative
	/*padding: 6% 3%;*
	/*margin-top: 35px;*
	width: 100vw;
	/*min-height: 105vh;*
	position: relative;
	color: #999;
	/*background: #cf293a;*
	max-width: 100vw;
	overflow-x: hidden;
}

#publicaciones .is-grid {
	display: block;
	max-width: 100vw;
	overflow-x: hidden;

}

#publicaciones .is-grid li {
	width: 90%;
	height: auto;
	margin-top: 20px;
}


#publicaciones h2 {
	font-size: 2em;
	text-align: left;
	font-weight: 400;
	color: white;
	padding-top: 11px;
}

#publicaciones .wp-block-button {
	width: 100%;
}

#publicaciones a.wp-block-button__link {
	color: white;	
	padding: 0;
	text-align: right;
}

#publicaciones.visible a.wp-block-button__link:after {
	border: 1px solid white;
	width: 40%;
	position: relative;
	left: 60%;
}

#publicaciones p {
	color: #999;
	font-style: italic;
}

#publicaciones .wp-block-column {
	overflow: hidden;
}

#publicaciones .pestanas  {
	display: flex;
	position: relative;
	overflow: hidden;
	justify-self:center;
}

.pestanas a {
	font-style: italic;
	color: white !important;
    scroll-behavior: smooth;}

#publicaciones #columna2 {
	overflow: hidden;
	width: 100%;
}

#publicaciones #deslizante {
	position: relative;
	left: 0%;
	width: 300%;
	transition: 1s;
}

#publicaciones #deslizante .wp-block-group__inner-container {
	display: flex;
}

#publicaciones .wp-block-column {
	margin-left: 2%;
}

#publicaciones ul {
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 0.6em;
	padding: 35px 15px;
}


#publicaciones li {
	position: relative;
	overflow: hidden;
	width: 30%;
	height: 64vh;
	transition: 1s;
	opacity: 0;
	padding-bottom: 10px;
	margin: 0 auto 0 auto;
	background: #f3f4f5;
	padding: 0px;
}

#publicaciones.visible li {
	top: 0;
	opacity: 1;
} 

#publicaciones .wp-block-latest-posts__featured-image {
	overflow: hidden;
}

#publicaciones .wp-block-latest-posts__featured-image a{
	display: block;
}

#publicaciones img {	
	display: block;
	transition: .7s;
	width: 100%;
}

#publicaciones li:hover img{
	transform: scale(1.2);
}

#publicaciones li a:not(:first-child) {
	display: block;
	padding: 35px;
	font-weight: 900;
	color: #333;
}

#publicaciones .wp-block-latest-posts__post-excerpt {
	padding: 8px 15px 15px;
}

#publicaciones time {
	position: absolute;
	bottom: 35px;
	left: 35px;
	color: #999;
	font-size: .8em;
	font-weight: 900;
	font-style: italic;
}

@media only screen and (min-width: 768px) {
	
	#publicaciones .is-grid {
		display: grid;
		max-width: 300%;
		grid-template-columns: auto auto auto;
		grid-column-gap: 25px;

	}

	#publicaciones .is-grid li {
		margin:: XXX;
	}
	/*
	#publicaciones:before {
		position: absolute;
		bottom: 0;
		left: 0;	
		content: "";
		width: 0%;
		height: 100%;
		background: #CF293A;
		z-index: -1;
		transition: 1.3s;
	}

	#publicaciones.visible:before {
		width:60%
	}*
}

*/

/******     Cifras    ******/
#cifras {
	max-width: 100vw;
	overflow: hidden;
	position: relative;
	padding: 15vh 0;
	background-image: radial-gradient(circle, #ff00, black);
}


#cifras::before {
	content:"";
	position: absolute;
	top:0;
	left:0;
	width:100vw;
	height:100%;
	background: #333 url("https://www.albatcp.org/wp-content/uploads/2021/04/agriculture-watering-plants-Buzz-Caribbean.jpg") no-repeat 50% 50% fixed;
	z-index:-1;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
}


#cifras #linea1 .wp-block-group__inner-container, #cifras #linea2 .wp-block-group__inner-container {
	display: flex;
	width: 100%;
	padding: 5vh 5vw;
	text-align: center;
	color: white;
	font-size: 1.5em;
}
@media screen and (max-width: 900px) {
	#cifras #linea1 .wp-block-group__inner-container, #cifras #linea2 .wp-block-group__inner-container {
		display: block;
		width: 100%;
	}
}
#cifras .valor {
	display: block;
	margin: 5vh auto ;
	width: 33.333%;
}

#cifras span {
	font-size: .7em;
}

#cifras .unidad {
	line-height: 1;
}

@media only screen and (max-width: 768px) {
	#cifras .valor {
		margin: 50px 0;
		width: 100%;
	}
	
	#cifras #linea1 .wp-block-group__inner-container, 
	#cifras #linea2 .wp-block-group__inner-container {
		padding: 0;
	}
}

/******     Noticias    ******/


#noticias {
	padding: 0 35px;
}

#noticias h2 {
	font-weight: 900;
	font-size: 52px;
	color: #cf293a;
	border-bottom: 2px solid #cf293a;
}

#noticias ul {
	margin: 0;
	padding: 0 ;
}

#noticias li {
	display: flex;
	align-items: center;
	margin: 15px 0;
}

#noticias li div.wp-block-latest-posts__featured-image {
	padding-right: 10px;
	margin-bottom: 0;
}

#noticias li .wp-block-latest-posts__featured-image a {
	width: 130px;
}

#noticias li a {
	font-size: 18px;
	line-height: 1;
}

#noticias img.wp-post-image{
	border-radius: 50%;
	width: 130px;
	height: 130px;
	object-fit: cover;
}

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

/* Comments
--------------------------------------------- */
#comments { display: none;}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #333333;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

 a.custom-logo-link { display: none; }