/*
 Theme Name:   Era Bicentenaria
 Theme URI:    https://www.fondoin.gob.ve
 Description:  Tema hijo de twentytwentyone, adaptado a la identidad gráfica Era Bolivariana, creada por el MIPPCI, destinado a ser utilizado por instituciones del Gobierno Bolivariano de Venezuela.
 Author:       Marcos Rubén García
 Author URI:   https://www.marcosruben.com
 Template:     twentytwentyone
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentytwentyone-hijo
*/

/*
 * General 	
     * Variables Globales
     * Tipografías
 * Cabecera
     * Gobierno Bolivariano
     * Menú de Navegación
         * Celulares
 * Inicio
     * Carrusel
     * Destacada Principal
     * Noticias
 * Publicaciones
     * Poco Margen
     * Paginación
     * Tabla
     * Caldera Forms
     * Botones para compartir
     * Archivo
 * Redes Sociales
     * Twitter
 * Pie de Página
*/


/****** General ******/
html {
	scroll-behavior: smooth;
}

body {
	max-width: 100vw !important;
	overflow-x: hidden;
}

#breadcrumbs { /*display: none;*/
	margin: 0 15px !important;
}

.breadcrumb_last{
	display: none;
}

article { 
	margin-top: 20px !important;
}

h2 {
	font-family: "Nunito Regular" !important;
}


.post-thumbnail, .home .entry-content .wp-audio-shortcode, .home .entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce):not(.n2-section-smartslider), .home [class*="inner-container"] > :not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce), .default-max-width {
	max-width: 100% !important;
	margin: 15px !important;
}

a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
	background: #ff3232 !important;
	color: white !important;
}


/*** Variables ***/

:root {
	--global--font-size-page-title: 32px !important;
	--global--color-primary: var(--negro) !important;
	--azul-oscuro: #135795;
	--azul: #1D8ECB;
	--negro: #232323;
	--rojo: #BE121D;
	--gris: #BFD2E0;
	--grisoscuro: #4f4f4f;
	--marron: #B27544;
	--amarillo: #F4E040;
	--verde: #CED439;
	--verdeoscuro: #148E44;
}

/*** FIN Variables ***/

/*** Tipografías ***/

@font-face { 
	font-family: Nunito Regular; 
	/*src: url(https://www.fondoin.gob.ve/wp-content/themes/erabolivariana/fonts/Nunito/Nunito-Regular.ttf);*/
	font-weight: normal; 
	color: 	var(--negro);
}

h1, h2 {
	color: var(--rojo) !important;
}

/*** FIN Tipografías ***/

/****** FIN General ******/


/****** Cabecera ******/

#cabecera {
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 0;
	background-color: var(--azul-oscuro);
	box-shadow: 0 10px 10px #122e4d85;
	z-index: 9999;
	padding: 0;
}

#wpadminbar {
	position: absolute;
	top: 0;
}
/*** Gobierno Bolivariano ***/

#gobierno-bolivariano {
	position: relative;
	overflow: auto;
	max-width: 100vw;
	padding: 10px 5px 0px ;
}

#gobierno-bolivariano img {
	vertical-align: top;
}

#gobierno-izq {
	position: relative;
	float: left;
	max-width: 82vw;
}

#gobierno-der {
	float: right;
	max-width: 8vw;
	margin-right: 5vw;
}

span.dropdown-icon {
	width: 7vw !important;
}

.dropdown-icon svg.svg-icon {
	top: 0 !important;
	margin-left: 0 !important;
	width: 6vw !important;
}

/* Pantallas Grandes */
@media only screen and (min-width: 482px){
	#gobierno-bolivariano {
		overflow: auto;
		max-width: 100vw;
		padding: 5px 15px 10px;
	}

	#gobierno-izq {
		float: left;
		max-width: 80vw;
	}

	#gobierno-der {
		float: right;
		max-width: 11.79vw;
		margin-right: 0;
	}

}
/*** FIN Gobierno Bolivariano ***/

/*** Menú de Navegación ***/

.site-branding {
	display: none;
}

#masthead {
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background-color: var(--azul);
}

header nav {
	margin-left: 15px !important;
}


nav li a {
	border-bottom: solid 5px transparent;
}

nav li.current-menu-item a {
	font-weight: 900;
	text-decoration: none !important;
	border-bottom: solid 5px white;
}

.sub-menu a {
	color: var(--global-color-primary) !important;
}

 /* Celulares */

.primary-navigation {
	top: 0 !important;
}

.menu-button-container #primary-mobile-menu {
	padding: 10px 15px !important;
}

.menu-button-container #primary-mobile-menu span {
	color: white;
	font-size: 10px;
	width: 18vw;
	position: relative;
	left: 4vw;
	top: -2px;
}

.menu-button-container {
	padding: 0 !important;
	overflow-x: hidden;
	color: white;
}	

.menu-button-container #primary-mobile-menu span.close {
	color: #122e4d;
}

@media only screen and (min-width: 480px) {
	
	nav li a {
		color: white !important;
		font-size: 14px !important;
	}
	

	
}
/*** Inicio ***/

.home #main {
	padding-top: 0;
}

#etiqueta {
	margin-bottom: 50px !important;
	font-family: Nunito Regular !important;
	color: white !important;
	font-style: italic !important;
}

#tramites {
	margin: 100px 15px;
	padding: 50px;
	border: 1px solid var(--azul);
	border-radius: 30px;
}

@media only screen and (min-width: 480px) {
	#tramites {
		margin: 100px auto !important;
		padding: 100px !important;
		max-width: 1000px !important;
	}
}

/****** Carrusel ******/

.n2-ss-layer {
	padding: 0 !important;
}

svg.n2-ss-preserve-size {
	height: 100vh !important;
}

/****** Destacada principal ******/

#destacada {
	height: 100vh;
	margin-bottom: 50px !important; 
}

#destacada-1 {
	position: relative;
	background-position: center center !important;
	background-size: cover !important; 
	width:100%;
	height:100%;
}

#destacada h2 {
	font-size: 16px;
	line-height: 1;
	font-size: 26px;
	font-weight: 900;
}


#destacada h2 a {
	position: absolute;
	bottom: 15px;
	color: white !important;
	text-decoration: none ;
	width: 98%;
	margin: 1%;

}

#destacadas-2 {
	position: relative;
	height: 46%;
	background-position: center center !important;
	background-size: cover !important;
}


#destacadas-2 h2 {
	font-size: 16px;
}

@media only screen and (min-width: 482px) {
	
	#destacada {
		height: 33vw;
	}
	
}


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

#notigrilla .noticia {
	border-radius: 15px ;
	overflow: hidden;
	box-shadow: 0px 0px 15px #d7d4d4;
	margin: 5vw !important;
	transition: ease .5s;
}

#notigrilla .noticia:hover {
	box-shadow: 0 0 30px #245b9847;
}

#notigrilla .noticia img {
	width: 90vw !important;
	height: 45vw !important;
	object-fit: cover;
}

#notigrilla .noticia h2.notititulo {
	font-size: 16px;
	line-height: 1;
	padding: 15px 30px;
}

#notigrilla .noticia .notititulo a {
	font-size: 14px;
	text-decoration: none;
}

#notigrilla .noticia  {

}

/* Pantallas grandes */

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

	#notigrilla {
		display: grid;
		grid-template-columns: 31vw 31vw 31vw;
		grid-gap: 2vw;
		margin: 0 1vw 50px !important;
	}
	
	#notigrilla .noticia {
		margin: 0 !important;
	}
	
	#notigrilla .noticia img {
		position: relative;
		width: 100% !important;
		height: 16vw !important;
		left: 50%;
		transform: translateX(-50%);
		transition:ease-in-out .5s;
	}
	
	#notigrilla .noticia:hover img {
		width: 115% !important;
		height: 16vw !important;
	}

}

/****** Fin Noticias ******/

/****** Publicaciones ******/

.sub-menu > a, .entry-content a {
	text-decoration: none;
	font-weight: 400;
	color: var(--rojo) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover .wp-block-button.is-style-outline a:hover {
	background-color: var(--rojo) !important;
	border-color: var(--rojo) !important;
	color: white !important;
}



span.tags-links {
	display: none !important;
}

/** Paginación **/

span.pods-pagination-advanced {
	display: flex;
	justify-content: center;
}

.pods-pagination-advanced * {
	margin-right: 15px;
}

/*** Tablas ***/

div #planilla {
	padding: 3vw;
	border: solid 1px var(--azul);
	border-radius: 30px;
}

#planilla h2.h2 {
	margin: 70px 0 20px;
}

#planilla h3 {
	margin: 50px 0 20px;
}
#planilla h4 {
	margin-top: 30px;
}

#planilla .archivo {
	width: 80%;
	margin: auto;
}

#planilla .archivo p {
	margin-bottom: 25px;
}

#planilla p {
	margin: 20px 0 10px;
}

select, input, textarea {
	border: 1px solid var(--rojo) !important;
	border-radius: 15px !important;
}

textarea {
	min-height: 100px;
	height: 200px;
	
}

#planilla input.wpcf7-submit {
	display: block;
	width: 50%;
	margin: 50px auto 0;
}

@media screen and (min-width: 480px) {
	
	.wp-block-contact-form-7-contact-form-selector {
		width: 100vw;
		margin: 0;
	}
	
	div #planilla {
		display: grid;
		grid-column-gap: 1vw;
	}

	.cuatro {
		grid-column: span 4;
	}

	.seis {
		grid-column: span 6;
	}
	
	.doce {
		grid-column: span 12;
	}
	
	.cuatro input, .seis input, .doce input, .cuatro select, .seis select, .doce select {
		width: 100%;
	}
	
	.grid {
		display: grid;
		grid-template-columns: auto auto auto auto;
		grid-column-gap: 1vw;
	}
	
	.listalinea .wpcf7-field-group {
		display: flex;
		position: relative;
	}
	
	 .wpcf7-field-group-add, .wpcf7-field-group-remove {
		 position: relative;
		 top: 50%;
		 transform: translateY(-50%);
		 border-radius: 100px;
		 margin: 15px 0 15px 15px;
		 padding: 15px;
		 line-height: 10px;
	}
	


}

/*** Caldera Forms ***/

.caldera-grid {
	min-width: 85%; 
	border: 1px solid var(--azul);
	padding: 50px;
	border-radius: 50px;
}

.caldera-grid h3 {
    margin-top: 100px;
}

.caldera-grid h3:first-child {
    margin-top: 10px !important;
}

.caldera-grid .siguiente {
	display: block !important;
	margin-left: auto;
	background-color: #245b98 !important;
}

.resumen ul {
	display: grid;
	grid-template-columns: auto auto auto;
	grid-column-gap: 30px;
	font-size: 12px;
}

/*** Fin Caldera Forms ***/


/*** Botones para compartir ***/

.the_champ_sharing_title {
	font-weight: 100 !important;
}

/*** Fin Botones para compartir ***/

/*** Pages ***/

#page .entry-header {
	margin-bottom: 0 !important;
}

/*** Posts ***/

#breadcrumbs {
	display: none; /* Migas de pan */
}

.post header.entry-header {
	padding-bottom: 0 !important;
	text-align: center;
	max-width: 894px;
}
.post-thumbnail {
	margin: 0 !important;
	width: 100% !important;
}
.post-thumbnail img {
	margin-top: 0 !important;
	width: 100%;
	padding: 0 15px;
}

.post .entry-content {
	margin-top: 0 !important ;
}

.post .entry-content > *, body:not(.home) .page .entry-content > * {
    margin: auto !important;
	width: 100%;
	max-width: 90vw !important;
	color: #4f5d6c;
}

.post .entry-content > p, body:not(.home) .page .entry-content > p {
    margin: 15px auto !important;
	font-weight: 300;
	font-size: 18px;
	text-align: justify;
}

.wp-block-embed__wrapper > * {
	margin: auto;
}

@media only screen and (min-width: 482px) {
	.post .entry-content:not(.poco-margen) > *, body:not(.home) .page .entry-content:not(.poco-margen) > *,
	.post .entry-content:not(.inicio) > *, body:not(.home) .page .entry-content:not(.inicio) > *{
		margin: auto !important;
		width: 100%;
		max-width: 85vw !important;
	}
	
	.post .entry-content:not(.poco-margen) > p, body:not(.home) .page .entry-content:not(.poco-margen) > p,
	.post .entry-content:not(.inicio) > p, body:not(.home) .page .entry-content:not(.inicio) > p{
		margin: 15px auto !important;
		font-size: 20px;
	}
	
	.post .post-thumbnail img {
		width: 70vw !important;
		height: 35vw !important;
		max-width: 1200px !important;	
		object-fit: cover;
		overflow: hidden;
		padding: 0;
	}

	.post header.entry-header {
		max-width: 70vw;
	}

}

/*** Fin Posts ***/

/*** Organigrama ***/

.autoridad a {
	text-decoration: none;
}

#ministro .wp-block-group__inner-container > * {
	max-width: 100% !important;
}

#ministro img {
	width: 30vw;
	height: 30vw;
	max-width: 200px !important;
	max-height: 200px !important;
	object-fit: cover;
}

#ministro h2 {
	font-size: 22px;
	line-height:1;
	text-align: center;
}

#ministro h3 {
	font-size: 18px;
	line-height:1;
	text-align: center;
}

#vices {
	margin-top: 100px !important;
}

#vices .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 23% 23% 23% 23%;
	grid-column-gap: 2%;
}

.vice {
	padding: 0 !important;
	margin-top: 0 !important;
}

.vice .wp-block-group__inner-container {
	display: block !important;
}
	
.vice img {
	width: 20vw;
	height: 20vw;
	max-width: 150px !important;
	max-height: 150px !important;
	object-fit: cover;
}
	
.vice h2 {
	font-size: 16px;
	text-align: center;
}
	
.vice h3 {
	font-size: 14px;
	text-align: center;
}

.cv .wp-block-group__inner-container {
	display: block !important;
	margin: auto !important;
	width: 50vw !important;
}

.cv .wp-block-group__inner-container p {
	margin-left: -0 !important;
}

/*** Fin Organigrama ***/


/*** Inicio ***/

#carrusel {
	padding: 100px;
}

#carrusel h2 {
	font-size: 170px !important;
	line-height: 1;
	margin: 0;
}

#carrusel p {
	margin: 10px auto;
	width: 90%;
	font-size: 19px;
	line-height: 1;
}

.inicio {
	margin: 0px !important;
	margin-top: -35px !important;
}

/* Carrusel */

.n2-ss-slide.n2-ow.n2-ss-slide-3.n2-ss-slide-active {
	height: 100vh !important;
}

#acciones {
	margin: 20vh auto;
}

#acciones:target:before {
    content: "";
    display: block;
    height: 0px;
	padding: 150px 0 0;
    margin: -150px 0 0;
}

.inicio #acciones .dashicons {
	display: block;	
	width: 100%;
	height: 90px;
	margin: auto;
	font-size: 100px;
	color: var(--azul);
}

#acciones h2 {
	text-align: center;
	font-size: 24px;
	margin: 15px 0 0px;
	color: var(--azul) !important;
}

#acciones p {
	text-align: center;
	font-size: 15px;
	color: var(--azul);
}

#lacapa {
	background-color: var(--gris);
}

#integrantes {
	max-width: 100vw;
	margin: 100px 0;
	box-sizing: border-box !important;
	overflow-x: hidden !important;
}

#integrantes h2 {
	width: 100%;
	max-width: 100%;
	margin: 0 35px 20px;
}

#integrantes img {
	box-shadow: 5px 5px 25px gray;
}

#integrantes .wp-block-image, #integrantes blockquote{
	margin: 0 auto;
}

#integrantes #presidencia {
	max-width: 60vw;
	margin: 100px auto;
}

#integrantes #presidencia img {
	width: 213px; 
}

#integrantes #presidencia p {
	line-height: 1;
	margin: 15px auto 0;
}

#integrantes #direcciones {
	max-width: 80vw;
	margin: 0 auto;
}

#integrantes #direcciones .wp-block-column {
	margin-bottom: 35px;
}

#integrantes #direcciones img{
	width: 186px; 
}

#integrantes #direcciones p {
		font-size: 22px;
		margin: 10px auto 0;
}

#integrantes #direcciones cite {
		font-size: 22px;
		margin: 0;
}

#noticias {
	max-width: 100%;
	width: 100% ;
	margin: 150px 0;
	box-sizing: border-box !important;
	overflow-x: hidden !important;
}

#noticias .wp-block-columns {
	max-width: 90%;
	width: 100%;
	margin: auto;
	padding: 30px 0;
}

#noticias ul {
	  width: 100%;
	  max-width: 100%;
	  margin: 0 auto;
}

#noticias li {
	width: 90%;
	padding: 0;
	margin: 18px auto !important;
	border: 0;
	box-shadow: 5px 5px 25px gray;
	background: var(--azul);
	color: white;
	overflow: hidden;
}

#noticias .wp-block-latest-posts__featured-image {
	position: relative;
	height: 220px !important;
}

#noticias img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100% !important;
	min-height: 100% !important;
	object-fit: cover;
}

#noticias a.wp-block-latest-posts__post-title, #noticias a.more-link{
	display: block;
	padding: 0 18px;
	font-size: 15px;
	font-weight: 700;
	color: white !important;
}

#noticias time {
	padding: 0 30px;
	font-size: 11px;
}

#noticias .wp-block-latest-posts__post-excerpt {
	display: block;
	margin: 10px 30px 50px;
	font-size: 15px;
	line-height: 1.3;
}

/* Noticias pantallas grandes */

@media only screen and (min-width: 480px) {
	
	#integrantes h2 {
		margin: 0 35px -100px;
	}
	
	#noticias li {
		width: 30%;
		margin: 0 0 0 auto !important;
	}
}

#contacto {
	display: block;	
	max-width: 100%;
	width: 80vw;
	margin: 0 auto;
}

#contacto .wp-block-columns {
	width: 100%;
	margin: 0;
	max-width: 100%;
}

/*** FIN Inicio ***/

/*** Poco Margen ***/


	.poco-margen > * {
		max-width: 98% !important;
	}

	.poco-margen .wp-block-group__inner-container > * {
		margin: 5px !important;
	}

/*** Fin Poco Margen ***/



/*** Desplazar enlaces ***/
#planilla-digital, #requisitos, #ministro, .cv, .ancla {
	padding-top: 100px !important;
	margin-top: -100px !important;
}


/*** Archivo ***/

body.archive #archivo, body.search #archivo {
	display: grid;
	grid-template-columns: 30% 30% 30%;
	column-gap: 5%;
	max-width: 90%;
	margin: auto;
	/*overflow-x: hidden;*/
}

body.archive #main.site-main #archivo article {
	margin: 35px 0;
	border-radius: 15px;
	box-shadow: 0 0 25px grey;
	overflow: hidden;
}

#archivo article header {
	margin: 0;
}

#archivo article figure {
	height: 250px;
	overflow: hidden;
}

#archivo article img {
	width: 100% !important;
	max-height: 100% ;
	object-fit: cover;
}

#archivo article h2 a {
	display: block;
	font-size: 18px;
	line-height: 1.5;
}


#archivo article p, #archivo article p a {
	font-size: 14px;
}

#archivo article footer {
	margin: 0 30px;
}

#archivo article footer span, #archivo article footer span a {
	font-size: 12px;
}

/****** Fin Publicaciones ******/

.editor-styles-wrapper .wp-block.editor-post-title__block .editor-post-title__input {
font-size: 10px !important; 

}

/****** Redes Sociales ******/

.rrss a {
	color: var(--azul) !important;
	font-size: 22px !important;
    text-decoration: none !important;
	font-size: 25px !important
}

/*** Twitter ***/

#twitter .tweeter-info {
	padding: 15px 30px 45px;
	margin: 15px 0;
	border-radius: 15px;
	box-shadow: 0 0 15px #eaeaea !important;
	transition: ease .5s;
}

#twitter .tweeter-info:hover {
	box-shadow: 0 0 30px #245b982e !important;

}

.fts-twitter-text {
	color: var(--azul-oscuro);
	font-weight: 300;
}

.ctf-action-count {
	font-size: 10px !important;
}
a.ctf-author-name, p.ctf-tweet-text {
	font-size: 12px !important;
}

/*** Fin Twitter ***/

/****** Fin Redes Sociales ******/

/****** Pie de Página ******/

img.fin {
	display: block;
	margin: 126px auto;
}

#colophon, #colophon nav {
	margin-top: 0 !important;
}

footer.entry-footer { 
	padding-bottom: 0 !important;
}

footer > *  {
	text-align: center;
	display: block !important;
	margin: 0 auto !important;
}

.site-footer > .site-info {
  display: block !important;
}

nav.footer-navigation {
	margin: 0 auto !important;
}

aside.widget-area {
	margin-top: 0 !important;
	display: block;
	max-width: 600px;
	padding-top: 0;
	font-size: 15px;
}

aside.widget-area > * {
	margin: 0 auto !important;
}

.widget-area a:link, .widget-area a:visited, .widget-area a:active {
    color: var(--footer--color-link) !important;
}

#nav_menu-3 ul {
	display: flex;
	justify-content: center;
}

#nav_menu-3 li {
	padding: 0 15px;
}

div.powered-by {
	font-size: 12px;
}

/* Learn Press */

.lp-archive-courses .course-summary-content .course-title {
  color: #fff !important;
  font-weight: 900 !important;
}

button.button-enroll-course {
	background: var(--verdeoscuro) !important;
}