* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
}

body {
    background-color: #F3F3F3;
}

#contenedor {
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    min-height: 100vh;
}

/* ------ NAVEGACION -------- */ 

#inicio{
    padding-top: 1em;
    background-color: #1A344F;
    text-align: center;
}

#logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack:end;
        -ms-flex-pack:end;
            justify-content:flex-end;
    height: 5em;
}

#link_logo{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.vac{
    max-height: 60%;
    margin-left: 3em;
    margin-right: 3em;
}


#inicio ul{
    padding-top: 1em;   
}

.navegadores {
    padding: 1em;
    border-top: 2px solid rgba(255,255,255, .3);
    width: 100%;
    letter-spacing: 0.2em
}
.navegadores:hover {
    background-color: white;
}

.navegadores a {
    font-family: 'Merriweather', serif;
    color: white;
    display: block;
    height: 2em;
    line-height: 2em;
}

.navegadores a:hover {
    color: dimgray;
}

/* -------- FIN NAVEGACION --------- */

/* -------- PAGINA INICIO ---------- */

#main_inicio{
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    background-image: url(../imagenes/imagen_dgpc.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#bajada_tp {
    padding: 4em 1em 4em 1em;
    background-color: rgba(26,52,79, .6);
    margin-bottom: 15em;
}

#voluntariado {
    font:600 30px 'Raleway', sans-serif;
    text-align: center;
    color: white;
    padding: 0 0 2em 0;
}

.video {
    max-width: 100%;
    
}

video {
    width: 100%;
    height: auto;
    border: 2px solid #1A344F;
    box-shadow: 0px 0px 14px rgb(26,52,79);
        
}

.texto_bajada {
    font:300 20px 'Raleway', sans-serif;
    text-align: center;
    margin: 3em 1em;
    color: white;
}

#descargar_tp {
    margin: auto;
    padding: 1em;
    max-width: 15em;
    text-align: center;
    background-color: whitesmoke;
    border: 3px solid #1A344F;
    border-radius: 1em;
}

#descargar_tp a {
    font-family: 'Merriweather', serif;
    letter-spacing: 0.2em;
    color: #1A344F;
}

#descargar_tp:hover {
    border: 3px solid white;
    background-color: darkgrey;
}

/* -------- FIN PAGINA INICIO -------- */



/* -------- INFO ------------ */

.main_info{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-image: url(../imagenes/fondo_info.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    
}

#texto_info{
    background-color: rgba(136,155,67, .6);
    max-width: 90%;   
}


.titulos_info {
    font:600 20px 'Raleway', sans-serif;
    color: white;
    background-color: #889B43;
    text-align: center;
    margin-bottom: 1em;
    margin-top:2em;
    padding: 0.2em;
}

.comofunciona_info {
    font-family: 'Raleway', sans-serif;
    color: white;
    margin: auto;
    max-width: 90%;
    text-align: center;
    
}

.categorias_info {
    font-family: 'Raleway', sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: auto;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    max-width: 90%
}

.item {
    text-align: center;
    width:40%;
    margin:1em;
    color: white;
    opacity: 0.7;
}

ul {list-style-type: none;}


.mes {
    padding: 3em 1em;
    max-width: 100%;
    background: #889B43;
}


.mes ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

.mes ul li {
    color: white;
    font-size: 1.5em;
    letter-spacing: 0.2em;
    font: 300 40px 'Merriweather', serif;
}

/* boton previo */
.mes .prev {
    float: left;
    padding-top: 10px;
}

/* boton next */
.mes .next {
    float: right;
    padding-top: 10px;
}

/* dias de semana (lu-do) */
.dias_semana {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 10px 0;
    background-color:#ddd;
}

.dias_semana li {
    display:-webkit-inline-box;
    display:-ms-inline-flexbox;
    display:inline-flex;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    color: #666;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font: 600 16px 'Merriweather', serif;
}

/* dias (1-31) */
.dias {
    padding: 10px 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    margin-bottom: 2em;
    
}

.dias li {
    list-style-type: none;
    width: 13%;
    text-align: center;
    margin:auto;
    margin-bottom: 0.8em;
    color: white;
    font: 300 20px 'Merriweather', serif;
}


/* resaltado dia */
.dias li .active {
    padding: 5px;
    background: #889B43;
    color: white 
}

/* ------ FIN INFO -------- */

/* ------ INICIO CATEGORIAS ------- */

.maincategorias{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-image: url(../imagenes/fondo_categorias.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#textocategorias {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    max-width: 90%;
    background-color: rgba(232, 103, 88, .2);
}


.iconoscategorias{
    margin-top: 3em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    height: 5em;
}

.pngscategorias{
    max-height: 100%;
    max-width: auto;
    margin: auto;
}

.h2categorias {
    font:600 30px 'Raleway', sans-serif;
    letter-spacing: 0.06em;
    color:#E86758;
    text-align: center;
    margin-bottom: 0.4em;
    text-shadow: 0 0 0.1em rgba(255, 255, 255, 0.5);
}

.pcategorias {
    font-family: 'Raleway', sans-serif;
    margin-bottom: 6em;
    padding: 1em;
    background-color: rgb(232, 103, 88);
    text-align: center;
    color: white;
}

/* ------ FIN CATEGORIAS ------- */

/* ------ INICIO CONTACTO ------- */

.maincontacto{
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    background-image: url(../imagenes/fondo_contacto.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.container {
	max-width:800px;
	margin:0 auto;
	position:relative;
}

#contact input[type="text"], 
#contact input[type="email"], 
#contact input[type="tel"], 
#contact input[type="url"], 
#contact textarea, 
#contact button[type="submit"] {font:600 12px 'Raleway', sans-serif;}


#contact {
	padding:25px;
	margin:50px 0;
}

#contact h3 {
    text-align: center;
    background-color: #8E72A8;
	color: white;
	display: block;
	font: 600 30px 'Raleway', sans-serif;
}

#contact h4 {
    text-align: center;
	margin:5px 0 15px;
    color: white;;
	display:block;
	font: 300 20px 'Raleway', sans-serif;
}

fieldset {
	border: medium none !important;
	margin: 0 0 10px;
	min-width: 100%;
	padding: 0;
	width: 100%;
}

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea {
	width:100%;
	border:2px solid #AAA;
	background:#FFF;
	margin:0 0 5px;
	padding:10px;
}

#contact input[type="text"]:hover, 
#contact input[type="email"]:hover, 
#contact input[type="tel"]:hover, 
#contact input[type="url"]:hover, 
#contact textarea:hover {
	-webkit-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
	border:2px solid #8E72A8;
}

#contact textarea {
	height:100px;
	max-width:100%;
  resize:none;
}

#contact button[type="submit"] {
	cursor:pointer;
	width:100%;
	border:none;
	background:grey;
	color:#FFF;
	margin:0 0 5px;
	padding:10px;
	font-size:15px;
    box-shadow: 0 0 0.6em rgba(255, 255, 255, 0.5);
}

#contact button[type="submit"]:hover {
	background:#8E72A8;
	-webkit-transition:background 0.3s ease-in-out;
	-webkit-transition: background-color 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active { box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5); }

#contact input:focus, #contact textarea:focus {
	outline:0;
	border:1px solid #999;
}
::-webkit-input-placeholder {
 color:#888;
}
:-moz-placeholder {
 color:#888;
}
::-moz-placeholder {
 color:#888;
}
:-ms-input-placeholder {
 color:#888;
}

/* ------ FIN CONTACTO ------- */

/* ------ GALERIA ------- */

#main_galeria {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    background-color: #1A344F;
}


/* ------ FOOTER ------ */

footer div{
    height: 6em;
    width: 100%;
    padding: 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-top: 2px solid #1A344F;
}

.logos{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    height:100%;
    max-height: 100%;
    max-width: 60%;
    margin: auto;
}

.logos img {
    max-width: auto;
    max-height: 70%;
    margin-left: 2em;
    margin-right: 2em;
    filter: url('#grayscale'); /* Versión SVG para IE10, Chrome 17, FF3.5, Safari 5.2 and Opera 11.6 */
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%); /* Para cuando es estándar funcione en todos */
-webkit-filter: Gray();
        filter: Gray(); /* IE4-8 and 9 */

-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.grises img:hover { 
-webkit-filter: grayscale(0%);
-moz-filter: grayscale(0%);
-ms-filter: grayscale(0%);
-o-filter: grayscale(0%);
filter: none;

-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}


/* -------- FIN FOOTER -------- */





/* -------- INICIO MEDIAQUERIES -------- */

@media screen and (min-width:35em){
    
/* ------ NAVEGACION MQ -------- */ 
#inicio {
    padding: 2em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

#logo{
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    height: 5em;
}

#inicio ul{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
}
    
.navegadores {
    margin: 0 0.5em 0 0.5em;
    border: 2px solid rgba(255, 255, 255, .3);
    width: 30%;
    
}

.navegadores a {
        font-size: 0.8em;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        
        -webkit-box-pack:center;
        
            -ms-flex-pack:center;
        
                justify-content:center;
        margin-left: 1em;
        margin-right: 1em;
}
    
/* ------ FIN NAVEGACION MQ -------- */
    
/* ------ INICIO MQ ------- */

    #voluntariado {
    font:600 40px 'Raleway', sans-serif;
    }
    
.video {
    width: 70%;
    margin: auto;
}
    
/* ------ INFO MQ -------- */ 
   
#texto_info {
    max-width: 70%;
}
.titulos_info {
    font:600 40px 'Raleway', sans-serif;

}

/* ------ FIN INFO MQ ------- */
    
/* ------ CONTACTO MQ ------- */
    
#contact h3 {
font: 600 40px 'Raleway', sans-serif;
}
    
/* ------ FIN CONTACTO MQ ------- */
    
.maincategorias{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
    
#textocategorias {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-width: 60%;
}

.h2categorias {
        font:600 40px 'Raleway', sans-serif;
}
}


@media screen and (min-width:77em) {
    
/* ------ NAVEGACION MQ -------- */ 
    
#inicio {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding: 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
#logo{
    -webkit-box-flex: 0;
        -ms-flex: 0;
            flex: 0;
    max-width: 35%;
    }
    
#link_logo{
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}

#inicio ul{
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-left: 20%;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}
    
.navegadores {
    -webkit-box-flex: 0;
        -ms-flex: 0;
            flex: 0;
    border: 2px solid rgba(255, 255, 255, .3);
}
    
/* ------ FIN NAVEGACION MQ-------- */ 
    
/* ------ INICIO MQ -------- */
    
#main_inicio{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;    
}
    
#voluntariado {
    max-width: 70%;
    margin: auto;
} 
    
#bajada_tp {
      max-width: 60%;
}
    
#voluntariado{
      padding: 0 0 1em 0;  
}
    
/* ------ FIN INICIO MQ -------- */  
    
/* ------ INFO MQ -------- */

#texto_info{
       max-width: 50%; 
    }
    
/* ------ FIN INFO MQ -------- */ 
    
/* ------ CATEGORIAS MQ -------- */ 

.maincategorias{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    }    
    
#textocategorias {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    max-width: 100%;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding-bottom: 4em;
    
}
.cadacategoria{
    width: 50%;
}

.pcategorias{
    max-width: 60%;
    margin: auto;
}
    
figure{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height:100%;
    max-height: 100%;
    max-width: auto;
    margin-bottom: 2em;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

/* ------ FIN CATEGORIAS MQ -------- */ 
    
}