/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Gabriel Bercovich
 Author URI:   https://gabrielbercovich.com.ar
 Template:     generatepress
 Version:      0.1
*/
:root {
  --main-he-color: #3A96D3;
  --main-txt-color: white;
  --main-padding: 15px;
  --main-h2-color: rgba(22, 22, 22, 0.7803921568627451);
  --main-fan-azul-oscuro: #206A94;
  --azul-fan:#3A96D3;
}

h2{
    color:rgba(22, 22, 22, 0.7803921568627451);
    font-family: Barlow, sans-serif;
    font-size: 45px;
    font-weight: 700;
}

input.boton-fan{
	font-family: "Barlow", Barlow, Sans-serif;
    text-transform: uppercase;
    fill: #FFFFFF;
    color: #FFFFFF;
    background-color: rgba(22, 22, 22, 0.7803921568627451);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #161616;
}

input[type="text"]{
	color:#444;
}


input[type="text"]:focus{
	color:rgb(22,22,22);
}

/*Nav style*/

.nav-archives{
	text-align:center;
	font-size: 1.1em;
    font-weight: 400;
    color: white;
    font-family: barlow, "barlow", sans-serif;
}

span.page-numbers.current {
	margin: 2px;
    background-color: rgba(100,100,100,0.4);
    padding: 10px 15px;
}

span.page-numbers.dots {
    color: black;
}

a.page-numbers {
    color: black !important;
	padding: 10px 15px !important;
}

a.page-numbers {
    margin: 2px;
    background-color: rgba(100,100,100,0.1);
    padding: 10px 15px;
}

a.page-numbers:hover {
  
    background-color: rgba(100,100,100,0.2);
    
}



/*Define el contenetor para HEF*/
.contenedor-helf{
    display: flex;
    flex-flow: row wrap;
}

.inner-box-hef{
    background: #3A96D3;
    flex: 1 1 calc(100vh/4);
    margin: 10px;
    position: relative;
    overflow: hidden;
    height: 345px;
    margin-bottom: 10px;
    
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    transition-timing-function: ease-in-out;

}


.img-hef{
    background-size: cover;
    z-index: 1;
    height: 100%;
}


/* Anima HEF*/

.hef-titulo-container{
    display: inline-block;
    margin: 0.3em 1em 1em;
}

.hef-titulo{
    /*padding:10px;*/
    display: table;
    z-index: 1;
    height: 60px;
    width: 100%;
    
}
.hef-titulo h3{
    font-family: 'Barlow', barlow, sans-serif;
    font-size: 20px;
    color: white;
    font-weight: 700;
    display:table-cell;
    vertical-align: middle;
}

.p-texto-aparece{
    position: absolute;
    z-index: 2;
    transition: opacity .3s,top .6s, padding-top .5s;
    background-color: rgba(22,22,22,.7);
    width: 100%;
    height: 100%;
    top: 275px;
    transition-timing-function: ease-in-out;
    
}

.a-texto-aparece > a {
    color: #3A96D3 !important;
}

.a-texto-aparece > a:hover {
    color: #2e81b9 !important;
}


.p-texto-aparece > p{
    padding-left: 5%;
    padding-right: 5%;   
	color:white;
}

.p-texto-aparece:hover{
    color: white;
    top: 0px !important;
    height: 100%;
    padding-top:50px;
}

/*HElF Archive*/

.main-hefs{
    margin-top: 50px;
    margin-bottom: 50px !important;
    margin-left: 10px;
    margin-right: 10px;
}

article.hefs-unidad {
	display: flex;
    margin: 1%;
	height:350px;
    background-size: cover;
    flex: 1 1 calc(100vh/3);
    align-items: center;
    text-align: center;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}



article.hefs-unidad header h3{
    color: var(--main-txt-color);
}

.hefs-content{
	padding: 10px;
	margin: 0 auto;
	color: white;
}

.hefs-order {
    display: flex;
    flex-wrap: wrap;
}
/*Corrige el maxwidth del form*/
div.wpforms-container-full .wpforms-form input.wpforms-field-medium, div.wpforms-container-full .wpforms-form select.wpforms-field-medium, div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium{
    max-width: 100% !important;
}

.carruselgris{
    filter: grayscale();
}

.fanstaff{
    text-align: center;
}


/*Noticias*/

article.noticia-unidad {
    margin: 1%;
	color:white;
   /* width: 22%;*/    
    flex: 1 1 calc(100vh/3);
    align-content: center;
    text-align: center;
    padding:1em;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}


.columna-notas-izquierda{
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    
	background-color: rgba(64,64,64,.68);
    background-image: url(/wp-content/uploads/2020/07/portadanota.jpg);
    background-position: center center;
    background-repeat: no-repeat;

}

.columna-prensa-izquierda{
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    
	background-color: rgba(64,64,64,.68);
    background-image: url(/wp-content/uploads/2020/07/portadaprensa.jpg);
    background-position: center center;
    background-repeat: no-repeat;
	background-size: cover;
}



.parrafo-nota a:hover {
    /* color: #4e4e4f; */
    content: '';
    height: 2px;
    bottom: 0;
    right: 1.25rem;
    left: 1.25rem;
    background-color: rgba(100,100,100,0.3);
    transition: all .5s cubic-bezier(.2, 0, 0, 1);
    transform-origin: bottom center;
    z-index: -1;
}

    /*portada*/

.portada-helf{
    margin: 15px;
   /* background-color: red; */
    padding: 20px;
}

.row-helf{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    color: white;
}

.columna-helf-izquierda{
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    
	background-color: rgba(64,64,64,.68);
    background-image: url(/wp-content/uploads/2020/07/portadahoyenlafan.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    
}

.columna-helf-derecha{
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    width: 100px;
    background-color: #242424;
    align-content: center;
    justify-content: center;
    padding: 60px;
}

.izquierda-helf{
    background-color: blue;
    height: 100%;
}

.derecha-helf{
    background-color: rgb(255, 0, 0);
    height: 100%;
}

.portada-helf-titulo{
    padding-left: 15px;
    padding-top: 15px;
    color: white;
    background-color: #3A96D3;
    height: 100px;
    display:flex;
}

    /*Fin de Portada*/

.titulo-noticias{
    display: flex;
    flex-flow: row wrap;
}

.main-portada-noticia{
	background-color:black;
	display:flex;
	justify-content:center; 
	align-items:center; 
	color: white; 
	margin-top: 20px; 
	margin-bottom: 20px; 
	width: 100%; 
	height: 70vh;

	background-size: cover;	
	background-position:center;
}

.main-portada-noticia::before {
  content: "";
  position: absolute;
  width: 100%; height: 70vh;
  background-color: rgba(5,5,5,0.2);
  z-index: 1;
}

.noticias-title-h2{
    margin: auto 0;
    padding: 20px;
    z-index: 1;
    font-family: barlow, sans-serif;
    font-size: 20px;
    color: white;
    font-weight: 700;
    transition: opacity .3s,top .6s, padding-top .5s;
}

.noticias-title-h2:hover{
    color: rgb(219, 219, 219);
}

.inner-box-noticias{
    background: rgba(22, 22, 22, 0.1);
    line-height: 1em;
    color: white;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
    flex: 1 1 calc(100vh/3);
    height: 300px;
    margin: 10px;
    padding: 20px 0;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    display:flex; 
    align-items:center; 
    justify-content:center;
}



.noticia-video > iframe {
    max-height: 500px;
}

.noticia-img{
    margin-bottom: 1.5em;
}


h2.titulo-noticia{
    clear: both;
    color: black;
    font-size: 3em;
    font-family: 'Barlow', serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.7px;
    margin: 0;
    text-align: center;
    margin-bottom: 0.5em;
}

.noticias-header{
    color: var(--main-fan-azul-oscuro);
}
.noticia-bajada{
    text-align: center;
}
.inside-noticia{
	background-color: rgba( 5, 5, 5, 0.5);
}
.inside-portada-noticia{
	text-align: center;
    width: 50%;
	z-index:2;	
}

.inner-portada-noticia{
    filter: drop-shadow(2px 4px 6px black);
}

.img-noticias{
    background-size: cover;
    z-index: 1;
    margin-bottom: 1.5em;
}

.bajada-nota{
    color: black;
    font-family: 'barlow', serif;
    font-size: 19px;
    line-height: 1.5em;
    
}

.parrafo-nota{
    color: black;
    font-family: 'barlow', serif;
    font-size: 19px;
    line-height: 34px;
    margin-bottom: 1.5em;
    font-weight: 400;
    text-align: justify;
}

ul > .parrafo-nota{
    margin-bottom: 0em !important;
}

/*PRENSA*/

.prensa-container{
    color: rgba(22, 22, 22, 0.7803921568627451);
    display:flex;
    padding: 40px;
    flex: 1 1 calc(100vh/3);
}

article.prensa-unidad {
	background-color: var(--azul-fan);
    margin: 1%;
   /* width: 22%;*/    
    flex: 1 1 calc(100vh/3);
    align-content: center;
    text-align: center;
    padding:1em;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

/*WEB*/

.box-text a {
    color: white !important;
}

.box-text a:hover {
    color: lightgrey !important;
}


/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
table.contenedor-formacion{
	table-layout:fixed;
}

table, thead, tbody, th, td, tr { 
        color: rgba(22, 22, 22, 0.7803921568627451);
	}
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
	
	/* Portadas Archive*/
	.columna-helf-izquierda{
		display:none;
	}
    
	/* Prensa*/
	.prensa-container{
		padding: 20px 30px;
	}
	
    /* Noticia */
    .titulo-noticia{
        
    }
	
	.bajada-nota{
		font-size: 1.1em;
	}
	.parrafo-nota {
		font-size: 1em;
		margin-bottom: 1em;
		line-height:2em;
	}
	
	.inside-portada-noticia{
		width: 100%;
		height: 100%;
		background-color: rgba( 5, 5, 5, 0.5);
		margin: 0 auto;
	}
	
	.inner-portada-noticia{
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-evenly;
		height: 100%;
        filter: drop-shadow(2px 4px 6px black);
		
	}
	.inside-portada-noticia > div > h1 {
		padding: 10px;
		font-size: 2em;
		line-height: 1em;
		
	}
	
	.noticia-img{
		margin-bottom:0;
	}
    
    /* Formacion */

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block;
        color: rgba(22, 22, 22, 0.7803921568627451);
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
        
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
        font-weight: 700;
	}
    /*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Titulo"; }
	td:nth-of-type(2):before { content: "Orientacion"; }
	td:nth-of-type(3):before { content: "Fecha"; }
	td:nth-of-type(4):before { content: "Web"; }

}

/*Flip cuadrado*/
.flip-box {
  background-color: transparent;
 
  height: 300px;
  border: 0px solid #f1f1f1;
  perspective: 1000px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  
  transition: transform 1.2s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
  display: flex;
  align-items: flex-end;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-front {
  background-repeat: no-repeat;
  color: white;
  background-size: cover!important;
  background-position: center!important;
  padding-top:100px;
    line-height: 1em;
}

.flip-box-back {
  background-color: #3A96D3;
  color: white;
  transform: rotateY(180deg);
    align-items: center;
    text-align: center;
}
    .flip-box-back > p{
    padding:20px;
    margin: auto 0;
}

.flip-titulo{
	color: rgba(22, 22, 22, 0.7803921568627451);
    font-family: "Barlow", Barlow, Sans-serif;
    font-size: 31px;
    font-weight: 700;
	color:white;
    padding: 10px;
}

.flip-p{
	font-family: "Barlow", Barlow, Sans-serif;
    font-weight: 400;
}

.text-shadow {
text-shadow: black 0.1em 0.1em 0.2em
}

/*Buscador menu*/
.inside-navigation .search-form {
    float: right;
    line-height: 60px; /* height of your navigation */
}

.main-navigation .search-submit {
    font-family: Barlow;
}

input.search-field{
	color:#3a3a3a;
}

input.search-field:focus{
	color:#3a3a3a;
}


/* Remove entry title padding and spacing */
.search-results .entry-title a {
    font-size: 25px;
}
.search-results .inside-article {
    padding: 0 !important;
}
.search-results .entry-summary {
    margin: 0;
}
/* Add margin bottom for space below last article */
.search-results article:last-child {
    margin-bottom: 5em !important;
}
/* Display and style URL */
.search-results .entry-title a:after {
	display:flex;
    content: attr(href);
    font-size: 10px;
    line-height: 1;
	color:grey;
}

.noticia-parrafo{
	color: black;
    font-family: 'barlow', serif;
    font-size: 19px;
    line-height: 34px;
    margin-bottom: 1.5em;
    font-weight: 400;
    text-align: justify;
}

.noticia-parrafo a:hover {
    /* color: #4e4e4f; */
    content: '';
    height: 2px;
    bottom: 0;
    right: 1.25rem;
    left: 1.25rem;
    background-color: rgba(100,100,100,0.3);
    transition: all .5s cubic-bezier(.2, 0, 0, 1);
    transform-origin: bottom center;
    z-index: -1;
}

.menu-e {
    color: midnightblue;
    font-size: 0.6em;
}
/* Nanofab Blog */

.post-nanofab {
    display: grid;
    grid-gap: 10px 50px;
    grid-template-columns: 3fr 15fr 3fr;
    margin: 0 auto;
}

.post-nanofab > p {
    line-height: 1.8;
    font-family: barlow, arial;
    text-align: justify;
}

.post-nanofab > * {
    /* display: grid; */
    grid-column: 2 / -2;
}

.post-nanofab > p img {
    display: grid;
    margin-top: 10px;
    grid-column: 1/ -1;
}


.post-nanofab > blockquote {
    grid-column: 1 / span 1;
    text-align: right;
    border-right: 4px solid #d3daf1;;
    background: white;
    padding: 10px;
    grid-row: span 5;
    align-self: start;
    border-left: 0;
}

.post-nanofab > p > a{
    text-transform: uppercase;
    width: max-content;
    color: #3a3a3a; 
	display:contents;
	text-decoration: underline;
}

.post-nanofab > p > a:after {
    content: '';
    display: inline;
    border-bottom: 3px solid #d3daf1;
    width: 0;
    position: relative;
    right: 0;
    -webkit-transition: 1s ease;
    transition: 1s ease;
	text-decoration:none;
  }
  
  
  .post-nanofab > p > a:hover:after { 
    width: 100%; 
  }

/* portada Nanofab blog */
.main-portada-nanofab{
	display:grid;
    padding: 50px;
    grid-gap:10px;
	height: 40vh;
    justify-content: center;
    align-items: center;
    grid-template-areas: "titulo imagen imagen"
                         "titulo imagen imagen"   ;
}

.img2 {
    transform: translate(-190px, 220px);
    opacity: 0.2;
    z-index: -1;
    grid-column: 1;
    grid-row: 1 / span 1;
}

.img1{
    grid-column: 1;
    grid-row: 1;
}
.inside-portada-nanofab-texto{
    grid-area: titulo;
    color: #3a3a3a !important;
}
.inside-portada-nanofab-texto > h1{
    color: #3a3a3a !important;
}

.inside-portada-nanofab-imagen{
    grid-area: imagen;
    max-width: 400px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

@media (max-width: 1000px) {
    .post-nanofab > blockquote{
        grid-column: 1/-1;
    }

    .post-nanofab{
        grid-gap: 10px;
    }
	
	.main-portada-nanofab{
		height: 100%;
		padding: 20px;
		grid-template-areas: "titulo" "imagen";
	}
	
	.inside-portada-nanofab-texto{
		text-align:center;
	}
	
	.post-nanofab {
		grid-template-columns: 1fr 15fr 1fr;
	}
}

hr.nanofab {
    border: none;
    color: #333;
    overflow: visible;
    text-align: center;
    height: 5px;
    margin: 0 20px 50px 20px;
    font-size: 2em;
	background-color: rgba(0,0,0,0)
}

hr.nanofab:after {
    background: #fff;
    content: '§';
    padding: 0 4px;
    position: relative;
	background-color: rgba(0,0,0,0)
}

.ul-nano{
    margin: 0;
    line-height: 25px;
}
.li-nano {
    list-style: none;
    display:inline;
    
}
.li-nano::before {
    font-family: barlow;
    content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: #875f5f; /* Change the color */
    font-weight: 900; /* If you want it to be bold */
    font-size:1.2em;
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 0.5em; /* Also needed for space (tweak if needed) */
  /*margin-left: 0.5em; /* Also needed for space (tweak if needed) */
}

/*linea y boton al costado de los li*/

.timeline-container{
  display:flex;
  width: 100%;
}
.timeline-container .timeline .mod-article{
  margin: 0 0 0 .5rem;
  padding: 0 .5rem 1rem 1.5rem;
  border-top: none;
  height: fit-content;
  position: relative;
}

body{
   counter-reset: my-sec-counter;
}

.timeline .mod-article:not(article:last-of-type){
  border-left: 3px solid Silver;
  left: -3px;
}

.timeline{
  padding-left: 10px;
}

article.mod-article::before{
  content: '';
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 1rem;
  border: 0.05rem solid GhostWhite;
  left:  -0.8rem;
  top:0;
  position: absolute;
  background-color: Silver;
}

article.mod-article::after{
  counter-increment: my-sec-counter 1;
  content: counter(my-sec-counter) "";
    width: 1.1rem;
    height: 1.1rem;
    border-radius: .8rem;
    background: SteelBlue;
    top:0.2rem;
    left: -0.56rem;
    z-index: 2;
    position: absolute;
    color: white;
    font-size:0.8rem;
    text-align: center;
 font-family: barlow, sanserif;
}

ul > p{
 margin-bottom: 0em !important; 
}

.n2-ss-slider p{
margin-bottom: 0em;
}

/* FAN CARD*/
.fan-card__media {
  position: absolute;
  inset: 0;
  background-image: var(--img-base);
  background-size: cover;
  background-position: center;
  transition: background-image .3s ease, transform .3s ease;
}

.fan-card:hover .fan-card__media {
  background-image: var(--img-hover);
  transform: scale(1.05);
}

.fan-cards-grid
{
    --gap:18px;
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
    gap:var(--gap); max-width:1200px; margin:0 auto 8px;
  }

  @media (max-width:900px){ .fan-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
  @media (max-width:600px){ .fan-cards-grid{grid-template-columns:1fr;} }

  .fan-card{
    position:relative;
    border-radius:3px; 
    overflow:hidden; min-height:400px;
    background:#111; box-shadow:0 8px 24px rgba(0,0,0,.12);
    transition:transform .25s ease, box-shadow .25s ease; isolation:isolate;
  }

  .fan-card:hover{ transform:translateY(-3px); box-shadow:0 14px 32px rgba(0,0,0,.18); }



  .fan-card__video{
    position:absolute; inset:0; width:100%; height:100%;
    object-fit:cover; display:block;
  }


  .fan-card__scrim{ 
    position:absolute; 
    inset:0; 
    z-index:2;
    background:linear-gradient(180deg,
      rgba(0,0,0,0.00) 0%,
      rgba(0,0,0,0.25) 40%,
      rgba(0,0,0,0.65) 75%,
      rgba(0,0,0,0.85) 100%);
    transition:background .3s ease;
  }

  .fan-card:hover .fan-card__scrim{
    background:linear-gradient(180deg,
      rgba(0,0,0,0.05) 0%,
      rgba(0,0,0,0.35) 40%,
      rgba(0,0,0,0.72) 75%,
      rgba(0,0,0,0.90) 100%);
  }

  .fan-card__content{
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-bottom: 15%;
    flex-direction: column;
    z-index: 3;
  }

  .fan-card__title{
    margin:0 0 6px 0; 
    padding:8px 12px;
    color:#fff; 
    border-radius:12px;
    font-weight:800;
    font-size:clamp(1.05rem,1rem + .6vw,1.5rem);
    line-height:1.2;
    display:inline;
    text-align: center;
  }
  .fan-card__excerpt{
    text-align: center;
    margin:6px 0 0 0; 
    max-width:30ch;
    color:#fff; 
    font-size:.95rem; 
    line-height:1.35;
    opacity:0; transform:translateY(6px);
    transition:opacity .25s ease, transform .25s ease;
  }

  .fan-card:hover .fan-card__excerpt{ opacity:1; transform:translateY(0); }

  .fan-card__link-wrap{
    position:absolute; 
    inset:0; 
    z-index:5; 
    display:block;
    color:inherit; 
    text-decoration:none;
  }

  .fan-card__link-wrap:focus-visible{ outline:2px solid #fff; outline-offset:4px; }

    .fan-card__bg--base { opacity: 1; }
    .fan-card__bg--hover { opacity: 0; }

    .fan-card.is-hover .fan-card__bg--hover { opacity: 1; }
    .fan-card.is-hover .fan-card__bg--base  { opacity: 0; }

    /* Respeta usuarios con motion reducido */
    @media (prefers-reduced-motion: reduce) {
    .fan-card__bg { transition: none; }
    }

    .fan-card__bg { position:absolute; inset:0; background-size:cover; background-position:center; }