@charset ¨utf-8¨;

* {
    box-sizing: border-box;    
    padding: 0;
    border: 0;
    outline: none;
    margin: 0;}

html {
    height: -webkit-fill-available;
}
/* reglas generales */

body { 
    background-color: white;
    font-family:'Montserrat', sans-serif;
    text-align: center;
    min-height: 100vh;
    min-height:-webkit-fill-available;
    margin: 0;
}

p{
    text-align: left;
}
      

/*Caja flexible*/
     
}

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


main { 
    flex-grow:1;
    display: flex;
    flex-direction: column;
 }

footer{ 
    background-color:#2a1e82;
    display:flex;
    align-items: center;    
    flex-direction: column;
    padding-top: 1em;
}

footer p {
    color: white;
    text-align: center;
    
}



/* Parte para Celular*/

/*HEADER*/
    
 #logo {
    display: block;
    width: 5em;
    z-index: 9999;
}

header .contenedor  {
    background-color:#2a1e82;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: .5em;
    padding-right: .5em;
}

.contenedor2 { 
    display: flex;
    align-items: center;
}

/* MENU*/
/*boton que llama al menu*/

#llamamenu {
    display: flex;
    color: white;
    background-color: #2a1e82;
    cursor: pointer;
    position: relative;
    z-index: 9999;
	
   }

header nav ul {
    display:flex;
    flex-direction: column;}

header ul li a {
    color: white;
    line-height: 2em;
} 

header nav a { 
padding: .5em 1em;
text-decoration: none;
display: flex;
justify-content: center;
align-items: center;
}

header nav ul {
    background-color: #2a1e82;
    position:fixed;
    top:0;
    bottom:0;
    left:100%;
    width:50%;
    padding-top: 7em;
    transition: all .5s ease;
    z-index: 9998;
    list-style:none;
}


button { 
    border:0;
    margin: 1em;
    z-index: 9999
}

header nav ul :hover{ 
    background-color: #5c49e0;
}


.visible {
/* el menu se muestra corriendose de arriba a abajo */
left:50%;
transition: all .3s ease;}


/* PARA BUSCADOR  */

.search-box { 
display: flex;
align-items: center;
position: relative;
background-color: #2a1e82;
border-radius: 0.5em;
padding: 0.5em;
z-index: 9998;
}

.search-box:hover > .search-txt{
width:11em;
padding: 0 1em;
}


.search-btn{
    background-color: #2a1e82;
    color: white;
    border: none;
    cursor:pointer;
    position:relative;
    margin-left: 0.5em;
    z-index:9999;
    align-items: center;
    justify-content: center;
    display: flex;
    transition: all .3s ease;
    text-decoration: none;}

.search-txt{ 
height: 1.5em;
font-weight: bold;  
border-radius: 0.5em;
font-size: 1em;
transition 0.4s;
width: 0em;
transition: all .3s ease;}





/* MAIN */ 

/* COLOR NARANJA CÓDIGO :#f49227*/


#portada {
    background-image: url(../imagenes/portada.jpg);
    background-position: top;
    background-size: cover;
    display:flex;
    height: 28em;
    justify-content: center;
}

#portadavol {
    background-image: url(../imagenes/voluntariado.jpg);
    background-position: top;
    background-size: cover;
    display:flex;
    height: 28em;
    justify-content: center;
}

.textoportada {     
    display:flex; 
    flex-direction: column;  
    justify-content: center;
}


.textoportada h1 {
    color: white;
    border-bottom: none;
    text-align: center;
    margin: 0.5em;
   

}

.textoportada h2 {
    color: white;
    text-align: center;
    margin: 1em;
    font-weight:500;
    font-size: 1.3em;
}


/* CUERPO */
/* PANTALLA AGENDA */

.cuerpo {
    margin:1em;
    margin-bottom: 0em;
    flex-grow: 1;
}

section {
    border-collapse: collapse;
    flex-grow: 1;
    
}
.eventos { padding-bottom: 2em;}


section ul {
            list-style: none;
            display: flex;
            justify-content: space-between;
            
        }

section ul li {
           
            flex-flow: 1;
            flex-shrink: 0;
            margin-bottom: 1em;}


section ul li a {
            border-radius: 0.8em;
            border-collapse: collapse;
            display:block;
            padding:0.5em 1.5em 0.5em 1.5em;
            text-align: center;
            color: #2a1e82;
            background-color: #2a1e82;
            text-decoration: none;
            transition: all .3s ease;
        }

section ul li a.actual {
    border-bottom: solid 1px transparent;
    background-color:transparent;
    color: #2a1e82;
    font-weight: 800;
    height: auto;
    transition: all .5s ease;
 }

a:-webkit-any-link:focus {
    outline-offset: 1px;
}

a:-webkit-any-link {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: none;
    color: white;
}


.cuerpo h1 { text-align: left;
     color:#2a1e82;
     border-bottom: solid 3px #2a1e82;
     margin-bottom: 1em;}



.cajagris{
    background-color: #e8e8e8;
    padding:1em;
    border-radius: 0.5em;
    margin-bottom:0.5em; }


.cajagris h2{  
    text-align: left;
     color:#2a1e82;
     }


.cajagris h3 {
    text-align: left;
     color:#2a1e82;
     font-weight: 400;}

.cajagris p {
    padding-top:1em;
}

.clasificacion {
    display: flex;
    justify-content:flex-start;
    flex-wrap: nowrap;
    padding-top: 1.2em;
}


.hashtag1 , .hashtag2 ,.hashtag3 { 
    background-color: #5c49e0;
    opacity: 0.7;
    margin-right: 0.5em;}


.hashtag1 h4, .hashtag2 h4,.hashtag3 h4 {
    font-size: 0.7em;
    color: white;
    padding: 0.3em 1em 0.3em 1em;}

/* Voluntariado*/

.cajagris h5 {
	padding-bottom: 1.5em;
}

.sumate {
    display:flex;
    justify-content: center;
    background-color: #2a1e82;
    padding: 0.4em;
    border-radius:0.8em;
    margin-left: auto;
    margin-right: auto;
    width: 9em;
}


.sumate a {
    color: white;
    text-align: center;
    text-decoration: none;
    
}

.sumate :hover {
    background-color: #5c49e0;
}


/* Novedades */

.cajagris img {
    width: 100%;
    padding-bottom: 1em;}

.novedades .cajagris img { 
    padding-top: 1em;
    padding-bottom: 0em;}

.cajagris h5 {
    text-align: left;
    font-weight: 300;
    font-size: 0.8em;
    padding-top: 1em;}


/* Historia */



.face { 
    padding-top: 0.5em;
    padding-bottom: 1em;
    text-align: left;
}
    
.videocauce {

    }

.videoresponsive{
    position:relative;
    margin:0 auto;
    height:0;
    padding-bottom: 56.25%;
          
}

.videoresponsive iframe {
    position:absolute;
    height:100%;
    width:100%;
    top:0px;
    left:0px;
}




/* CONTACTO */


.cajagris .textocontacto h3{
    padding-top: 0.5em;
}
.cajagris .textocontacto p{
    padding-top: 0em;
}

 .textocontacto h2{
     
    font-size:1.4em;}

 #cajacontacto h2{
    margin-top: 1em;}

#cajacontacto p{ 
   padding-top: 0.3em;
   padding-bottom: 1em;}


/* CAJITA DE FORMULARIO */


.form-control {
   
    width: 100%;
    height: 2em;
    background-color: #fff;
    border: 0.2em solid #b6b6bc;
	padding: 1em;
    border-radius: 0.2em;
    font-family: "Montserrat";
    margin-top: 0.5em;
    
	
}


.form-text {
    display: block;
    width: 100%;
    color: #2a1e82;
    background-color: #fff;
    border: 0.2em solid #b6b6bc;
    font-family: "Montserrat";
    border-radius: 0.2em;
    padding: 1em;
    margin-top: 0.5em;
 }


.boton-enviar {

    background: #2a1e82;
    border: none;
    margin-top: 1em;
    padding: 1em;
    border-radius: 0.8em;
    color: #fff;}

.boton-enviar:hover {
     background: #5c49e0;}


 /* ------ */




 #covid {
    background-image: url(../imagenes/covidd.jpg);
    background-position: top;
    background-size: cover;
    margin-top: 0.5em;}


.textocovid { 
     padding: 1.5em;
}


.textocovid h2 {
    color: white;
    text-align: left;
    font-size: 1.3em;
}

.textocovid h3{
    color: white;
    text-align: left;
    border-bottom: none; 
    font-weight: 300;
 }





/*MEDIAQUERIES*/

/* novedades */
/* dispositivos desde 600px de ancho*/
@media screen and ( min-width: 600px) {
    
 #llamamenu { 
     
     display: flex;}
    
    header nav ul { 
        display: flex;
        flex-wrap: wrap;
    }
        
    
    header nav ul li{
        flex-shrink: 0;
    }
    
}
   
/* dispositivos desde 768px de ancho tablets*/
@media screen and ( min-width: 768px) { 
    
 
    .novedades { display: flex;
         flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
      }
    
    .novedades .cajagris { 
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        width:48vmin;
        margin: 0.5em;}  
    

    header ul li a {
        width:100%;
        display: flex;
        flex-flow: column;
        flex-wrap: wrap;
    }
    
    header .contenedor {
        background-color:#2a1e82;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0em 1em 0em 1em ;}
    
      section ul {
            list-style: none;
            display: flex;
            justify-content:flex-start;
           
            
        }
        section ul li {
            padding-right: 1em;
        }

    
    }

    /* dispositivos desde 992px de ancho laptops desktops*/
    @media screen and ( min-width: 992px) { 
    
    #llamamenu { 
        display: none;}
    
    header nav ul{
        display:flex;
        flex-wrap: wrap;
        flex-direction:row;
        position: relative;
        padding-top:0;
        width:100%;
        left: auto;
        top:auto;
        }
        
        
    header nav ul .visible { 
        left:auto;
        }
        

    header nav ul{
            display: flex;
            flex-wrap: wrap;}
        
  
        
 .novedades .cajagris { 
        
        width:41vmin;
       } 
        }
        
    /* dispositivos desde 1200px de ancho laptops desktops*/
@media screen and ( min-width: 1200px) { 
    
    

 
 }


    
        
















/* FOOTER */


footer img {
    width:2em;
    margin-top: 1.5em;
    justify-content: space-between;}


footer h5{
    color: white;
    font-weight: 300;
    font-style: italic;
    margin: 1em;}

