body{
    font-family: 'Fredoka', sans-serif;
    color: #555;
}

.text-own{
    color: #FE0000;
}

.bg-own{
    background: #FE0000;
    color: white;
}

/*Register y login*/
.form-logo{
    max-width: 450px;
}

@media(max-width:450px){
    .form-logo{
        max-width: 250px;
    }
}

/*Navbar*/
.navbar-logo{
    height: 100px;
}

@media(max-width:500px){
    .navbar-logo{
        height: 50px;
    }
}

@media(max-width:350px){
    .navbar-logo{
        height: 30px;
    }
}

/*Content*/
.content{
    min-height: 450px;
}

.portada{
    display: block;
    margin: 0px auto;
    width: 100%;
    height: auto;
}

/*Footer*/
#links a{
    text-decoration: none;
    color: white;
}

#links a:hover{
    color: #333;
}

/*Empresa*/
.parrafo{
    text-align: justify;
    text-indent: 30px;
}

.separador{
    display: block;
    width: 100%;
    height: 10px;
}

.image-emp{
    display: block;
    width: 100%;
    height: auto;
}

/*Ubicacion*/
#mapa{
    height: 400px;
}

@media(max-width:450px){
    #mapa{
        height: 300px;
    }
}

/*Contacto*/
.icono{
    width: 60px;
    padding-left: 10px;
    padding-right: 10px;
}

@media(max-width:570px){
    .files-text{
        font-size: 12px;
    }
}



@media(max-width:400px){
    .contacto-head h1{
        font-size: 18px;
    }

    .contacto h2{
        font-size: 18px;
    }

    .icono{
        width: 35px;
        padding-left: 5px;
        padding-right: 5px;
    }
}

/*Mensajes*/
@media(max-width:425px){
    .messageFilterLabel{
        font-size: 10px !important;
    }
}

@media(max-width:310px){
    .messageFilterLabel{
        font-size: 8px !important;
    }
}

/*Categorias*/
.cat-card{
    background: #eee;
}

.cat-img-box{
    overflow: hidden;
}

.cat-img{
    height: 60px;
    width: auto;
}

.cat-img-preview{
    height: 100px;
    width: auto;
}

/*Galerias index*/
.gal-box{
    display: block;
    margin: 0px auto;
    width: 1200px;
}

.gal-card{
    display: block;
    float: left;
    width: 250px;
    height: 250px;
    margin-left: 20px;
    margin-right: 20px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    color: #555;
}

.gal-card-img-box{
    display: block;
    height: 40%;
    width: 100%;
    background: #333;
}

.gal-card-img{
    display: block;
    height: 100%;
    width: auto;
    margin: 0px auto;
}

@media(max-width:1200px){
    .gal-box{
        width: 800px;
    }

    .gal-card{
        margin-left: 8px;
        margin-right: 8px;
    }
}

@media(max-width:800px){
    .gal-box{
        width: 600px;
    }

    .gal-card{
        margin-left: 24px;
        margin-right: 24px;
    }
}

@media(max-width:600px){
    .gal-box{
        width: 400px;
    }

    .gal-card{
        width: 158px;
        height: 190px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .gal-card p{
        font-size: x-small;
    }
}

@media(max-width:400px){
    .gal-box{
        width: 100vw;
        
    }

    .gal-card{
        width: 100%;
        height: 200px;
        margin: 0px auto;
    }

    .gal-card p{
        font-size: small;
    }
}

/*Galerias detalle*/
.gal-det-img-box{
    display: block;
    height: 400px;
    background: #333;
    overflow: hidden;
}

.gal-det-img-box img{
    height: 100%;
    width: auto;
}

@media(max-width:800px){
    .gal-det-img-box{
        height: 300px;
    }
}

@media(max-width:500px){
    .gal-det-img-box{
        height: 200px;
    }
    .gal-det-text h2{
        font-size: 15px;
    }
    .gal-det-text p{
        font-size: 12px;
    }  
}

/*Galerias edit*/
.gal-edit-img{
    width: 80px;
}

/*Clientes create*/
.nif-info-hide{
    display: none;
}


/*Clientes index*/
.cli-sep{
    height: 5px;
}


/*List-show facturas clientes y proveedores*/

@media(max-width: 1065px){
    .optional-col{
        display: none;
    }
}

@media(max-width: 775px){
    .inv-list-table{
        font-size: 12px;
    }
}

@media(max-width: 600px){
    .inv-list-table{
        font-size: 10px;
    }
}

@media(max-width: 470px){
    .inv-list-table{
        font-size: 8px;
    }
}

@media(max-width: 395px){
    .optional-col-xs{
        display: none;
    }
    .inv-list-table{
        font-size: 6px;
    }
}

/*Ofertas y novedades index*/

.offer-new-card{
    display: block;
    width: 100%;
    margin: 0px auto;
    height: 420px;
    background: #eee;
    border-radius: 5px;
}

.offer-new-img-box{
    display: block;
    width: 100%;
    height: 250px;
    background: #333;
    overflow: hidden; 
}

.offer-new-img-box img{
    height: 100%;
    width: auto;
}

.caducado{
    width: 50%;
    height: auto;
    position: relative;
    left: 25%;
    top: -70%;
    z-index: 2;
}

.caducado img{
    width: 100%;
    height: auto;
}

@media(max-width:1070px){
    .offer-new-card{
        height: 450px;
    }
}

@media(max-width:705px){
    .offer-new-card{
        height: 470px;
    }
}

@media(max-width:575px){
    .offer-new-card{
        height: 400px;
    }

    .offer-new-index-title{
        font-size: 20px;
    }
}

@media(max-width:400px){
    .offer-new-card{
        height: 320px;
    }

    .offer-new-index-title{
        font-size: 16px;
    }

    .offer-new-img-box{
        height: 170px;
    }

    .offer-new-img-box img{
        width: 100%;
        height: auto;
        vertical-align: middle;
    }

    .caducado{
        top: -90%;
    }
}

/*Oferta detail*/

.offer-new-detail-img-box{
    display: block;
    width: 90%;
    height: 350px;
    background: #333;
    overflow: hidden;
}

.offer-new-detail-img-box img{
    display: block;
    margin: 0px auto;
    height: 100%;
    width: auto;
}

@media(max-width:750px){
    .offer-new-detail-img-box{
        height: 250px;
    }
}

@media(max-width:450px){
    .offer-new-detail-description{
        font-size: 12px;
    }

    .offer-new-detail-img-box{
        height: 200px;
    }
}

/*Oferta - novedad editar*/

.offer-new-edit-img{
    width: 80px;
}