.entity {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}
.entity .row {
    margin-bottom: 20px;
}
.entity .field {
    margin-bottom: 16px;
}
.entity .field p {
    padding: 6px;
}
.entity .field__label {
    /*
    background-color: #ecedee;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    padding-left: 5px;
    border: solid 1px #ccc;
    border-bottom: transparent;
    border-radius: 5px 5px 0 0;
    */
    font-weight: 400;
    color: #163554;
    font-size: 14px;
    font-family: sans-serif;
    font-stretch: unset;
    /*border-bottom: 1px solid #163554;*/
}

.entity .field__items{
    padding-right: 0px;
    float:none;
}

.entity .field__item {
    /*background-color: #fff;
    padding-left: 5px;
    border: solid 1px #ccc;
    border-top: transparent;
    border-bottom: transparent;
    padding-left: 10px;
    border-bottom: 2px solid #163554;
    /*margin-bottom: 20px;*/

    padding-left: 10px;
    border-bottom: 1px solid  #aaaaaa;
    font-size: 16px;
    background-color: #f2f2f2;
    font-family: monospace;

}

/*
.entity .field__item:last-child {
    background-color: #fff;
    padding-left: 5px;
    border: solid 1px #ccc;
    border-top: transparent;
    border-radius: 0 0 5px 5px;
}
*/

.entity__presupuestos #botones-pto {
    text-align: right;
}
.entity__presupuestos #fieldphone{
    height: 30px;
}

.entity__presupuestos #fieldphone svg {
    float: right;
    background: #d2d2d2;
    /* color: #fff; */
    border: 1px solid grey;
    border-radius: 4px;
    height: 25px;
    width: 25px;
    padding: 2px;
    cursor: pointer;
}
.entity__presupuestos #fieldphone svg:hover {
    background: #b2b2b2;
}


#imagen-ficha{
    height: 150px;
    width: 150px;
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 5px;
    margin-left: 10px;
    background-image: url('/themes/custom/astec/img/avatar.png');
    background-size: cover;
    background-color: #d7d3d3;
    padding: 0px;
}
#imagen-ficha .image-content{
    padding:0px;
    margin:0px;
    border: none;
    height: 150px;
}

#imagen-ficha img{
    width: 148px;
    height: 148px;
}

#addusuario #nombuser{
    width: 150px;
    display: block;
    margin-left: 10px;
    background-color: #163554;
    color: #fff;
    margin-bottom: 5px;
}

.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;
}

/* DEFTAREAS */

.entity__deftareas #botonesnotf .form-type-checkbox{
    text-align: center;
    padding-right: 10px;
}


.entity__deftareas #botonesnotf input[type="checkbox"]{
    display: none;
}

.entity__deftareas #botonesnotf label {
    /*border: 1px solid #fff;*/
    padding: 5px;
    display: block;
    position: relative;
    margin: 0px;
    cursor: pointer;
}

.entity__deftareas #botonesnotf label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    /*border: 1px solid grey;*/
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    transition-duration: 0.4s;
    transform: scale(0);
}

.entity__deftareas #botonesnotf label img {
    height: 30px;
    width: 30px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
    margin-right: 5px;
}

.entity__deftareas  #botonesnotf :checked + label {
    border: #0056b3 3px solid;
    border-radius: 10px;
}

.entity__deftareas  #botonesnotf :checked + label:before {
    content: "✓";
    background-color: #0056b3;
    transform: scale(1);
}

.entity__deftareas #botonesnotf :checked + label img {
    transform: scale(0.9);
    /* box-shadow: 0 0 5px #333; */
    z-index: -1;
}

/* REGPROCESO */
.entity__regproceso #idregproceso{
    text-align: center;
}
.entity__regproceso #origen a{
    color: #0056b3;
    cursor: pointer;
}

.entity #notficon{
    position: absolute;
    right: 45px;
}

.entity #llamnotf{
    float: right;
}


/* LLAMADAS */

.entity__llamadas #fieldphone svg {
    float: right;
    background: #d2d2d2;
    /* color: #fff; */
    border: 1px solid grey;
    border-radius: 4px;
    height: 25px;
    width: 25px;
    padding: 2px;
    cursor: pointer;
}