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

.text-own{
    color: #407AAC;
}

.bg-own{
    background: #407AAC;
    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;
}

.wellcome-message{
    position: absolute; top: 35%; left: 20%; right: 20%;
    height: auto;
}

@media(max-width: 600px){
    .wellcome-message{
        top: 25%;
    }
    .wellcome-message h3{
        font-size: 17px;
    }
}

@media(max-width: 450px){
    .wellcome-message{
        left: 10%;;
        right: 10%;
    }
    .wellcome-message h3{
        font-size: 12px;
    }
}

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

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

/*CV*/

.cv-data{
    font-size: 25px;
}

@media(max-width:800px){
    .cv-data{
        font-size: 20px;
    }
}

@media(max-width:500px){
    .cv-data{
        font-size: 15px;
    }
}

@media(max-width:350px){
    .cv-data{
        font-size: 12px;
    }
}

.profile-img-box{
    display: block;
    float: right;
    width: 220px;
    height: 220px;
    border: 5px solid #ccc;
    border-radius: 999px;
    box-shadow: 0px 2px 4px black;
    overflow: hidden;
    margin-right: 50px;
}

.profile-img{
    width: 100%;
}

@media(max-width:1000px){
    .profile-img-box{
        width: 150px;
        height: 150px;
    }
}

@media(max-width:700px){
    .profile-img-box{
        width: 100px;
        height: 100px;
        margin-right: 25px;
    }
}

@media(max-width:450px){
    .profile-img-box{
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }
}

@media(max-width:325px){
    .profile-img-box{
        float: none;
        width: 60px;
        height: 60px;
        margin: 0px auto;
        margin-bottom: 20px;
    }
}


/*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;
    }
}

/*User-detail*/

@media(max-width:500px){
    .detail-title{
        font-size: 20px;
    }
    .user-data h2{
        font-size: 15px;
    }
}

@media(max-width:350px){
    .detail-title{
        font-size: 15px;
    }
    .user-data h2{
        font-size: 12px;
    }
}

/*cv-imagenes*/

.cv-img-box img{
    width: 100%;
}


/*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;
}