
/*
Autor: Athalía Vilaplana
Empresa: Aitana Martín
*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{height: 100%;}
body{font-family: 'Raleway', sans-serif;height: 100%;}
ul{list-style: none;}
a{text-decoration: none;}

html{width: 100%;}


main{
     
       
}

.vc_col-sm-3{
        width: 25%;    float: left;
} 
div.vc_col-sm-3 img {
    max-width: 100%;
    /*width: 100%; */
    max-height: 400px;
        padding: 20px;
}
nav{
    background: #000;
    position: fixed;
    width:100%;
    top:0;
    left:0;
    z-index: 10;
}
nav ul{
    width: inherit;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;

    -webkit-justify-content:center;
    -ms-flex-pack:center;
    justify-content:center;
    /*justify-content:space-between;
    justify-content:center;*/

}

nav ul li{
    padding: 10px;
}

nav ul li a{
    display: block;
    width: 100%;
    color: #fff;

}
nav ul li a:hover{
    color:tomato;
}

h1{
    color:#00bcd4;
    font-size: 3em;
    font-weight: lighter;
    margin: 10px;
    text-align: center;

}

header{
   padding: 20px;
    width: 100%;
    background-color: #fff;
    z-index: 9;
    text-align: center;
    
}



span{
    color:#2a2a2a;
    font-weight: bolder;
}

img{
    cursor: pointer;
}

img:hover{
/*    -webkit-filter: grayscale(1) opacity(1);*/
}

main{
    top: 50px;
    padding: 10px;
    

}
/*boton aspa*/
.btn_close{
    background-image: url(../img/delete30.png);
    width: 20px;
    height: 20px;
    margin: 15px;
    position: absolute;
    right: 10px;
    top:10px;
    background-size: cover;
    cursor: pointer;
}
img {
max-width: 100%;
}

/*todo el div======================================================*/
#detalle{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    top: 40px;
    left: 0;
    position: fixed;
    text-align: center;
    z-index: 11;
    display: none;


}

#detalle img{
    width: 50%;
    
}

#contenedor{
    width: 100%;
    height: 100%;
    display: table;
    z-index: 13;

}

#contenedor_img{

    display: table-cell;
    vertical-align: middle;
    z-index: 15;
    -webkit-filter:grayscale(0);

}

/*MEDIA QUERY=====================================================================*/
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .vc_col-sm-3{
        width: 100%;    float: left;
} 

}

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

.vc_col-sm-3{
        width: 50% !important;     float: left;
} 
}

