.entity {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}
.entity .row {
    margin-bottom: 10px;
}
.entity .field {
    margin-bottom: 10px;
}
.entity .field p {
    padding: 6px;
}
.entity .field__label {
    font-weight: 400;
    color: #163554;
    font-size: 14px;
    font-family: sans-serif;
    font-stretch: unset;
}

.entity .field__items{
    padding-right: 0px;
    float:none;
}

.entity .field__item {
    padding-left: 10px;
    border-bottom: 1px solid  #aaaaaa;
    font-size: 16px;
    background-color: #f2f2f2;
    font-family: monospace;
}

#col-imagen{
    border-right: 1px solid #ccc;
}

#imagen-ficha{
    height: auto;
    width: 100%;
    min-height: 100px;
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 0px;
    background-image: url('/themes/custom/astec/images/avatar.png');
    background-color: #d7d3d3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#imagen-ficha img{
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

#estado-activo{
    background-color: #d1f7d6;
}

#estado-baja{
    background-color: #ffd6d6;
}

#estado-inactivo{
    background-color: #d3d3d3;
}


#estado-aviso{
    background-color: #fff3cd;
}


#addusuario{
    margin-bottom: 10px;
}


#addusuario #nombuser{
    display: block;
    background-color: #163554;
    color: #fff;
    margin-bottom: 5px;
    width: 100%;
}

#addusuario a.btn {
    margin: 0px;
    font-size: 13px !important;
    width: 100%;
}
.color-block{
    background-color: #da0505 !important;
    font-weight: bold;
}

.nav-tabs .notification{
    display: inline-block;
    background-color: #da0505;
    border-radius: 100px;
    width: 21px;
    height: 21px;
    text-align: center;
    color: #fff;
    font-size: 13px;
}

.entity fieldset{
    max-width: unset !important;
    width: 100% !important;
    font-family: sans-serif;
    border: 1px solid #d7d7d7;
    background: #fff;
    border-radius: 5px;
    padding: 0px 10px 15px 10px;
    margin-bottom: 30px;
}

.entity fieldset legend{
    color: #163554;
    padding: 5px 7px;
    font-size: 13px;
    border-radius: 5px;
    width: auto;
    float: none;
    font-weight: bold;
    margin: 0px;
}

.entity .center{
    text-align: center;
}

/* CAMPOS ESTANDAR */
.entity .campo-estrecho{
    width: 90px !important;
}

.entity .campo-corto{
    width: 150px !important;
}

.entity .campo-medio{
    width: 250px !important;
}

.entity .campo-largo{
    width: 400px !important;
}

.entity .campo-ancho{
    width: 100%;
    max-width: 600px;
}

.entity .campo-maxancho{
    width: 100%;
}

/* ESPECIFICOS */

.entity .campo-fecha {
    width: 130px !important;
}

.entity .campo-fecha-hora {
    width: 130px !important;
    margin-bottom: 5px;
}

.entity .datetime label{
    font-size: 14px;
    font-weight: normal;
}

.entity .campo-hora {
    width: 95px !important;
}

.entity .campo-nif {
    width: 120px !important;
}
.entity .campo-phone{
    width: 140px !important;
}

.entity .campo-postal {
    width: 70px !important;
}

.entity .campo-provincia {
    width: 200px !important;
}

.entity .campo-cantidad{
    width: 80px !important;
    text-align: right;
}

.entity .campo-totales{
    width: 100px !important;
    text-align: right;
}