.comments{
    margin-bottom: 35px;
}
.weight .input__weight{
    display: flex;
    align-items: center;
}
.weight .input__weight a{
    margin-left: 15px;
    display: flex;
    align-items: center;
}
.weight .input__weight a i{
    font-size: 24px;
    margin-right: 5px;
}

#resultado_content_nh {
    display: none;
    display: flex;
    flex-direction: column;
}
.treatment .card, .activity .card{
    margin-bottom: 0;
    box-shadow: 0 2px 14px rgb(38 60 85 / 16%) !important;
}
.treatment .card .info_producto{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    font-size: 13px;
}
/* .treatment .card .info_producto .item__info_producto:nth-child(2){
    grid-column: 2/5;
} */
.treatment .datos_aplicacion_nh{
    padding: 20px;
    border-radius: 10px;
    border: solid 1px #eee;
}
.treatment .card .item__info_producto span:first-child{
    font-weight: 500;
    margin-right: 10px;
}
.treatment, .activity{
    margin-bottom: 35px;
}
.treatment .button, .activity .button{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-left: 40px;
}
.treatment .days, .activity .days{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 15px;
    background-color: #e3f6ff;
}
.days h3{
    margin: 0;
}
.treatment .days a:hover > i, .activity .days a:hover>i{
    color: #0da9d3;
    transform: scale(1.2);
}
.treatment .days a i, .activity .days a i{
    color: #06bbec;
    font-size: 45px;
    transition: all .1s;
}
.treatment .days .item__days, .activity .days .item__days{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.treatment .comment button, .activity .comment button{
    float: right;
    margin-right: 14px;;
}
/* -------------------------- no copy ------------------------- */
.loading-tratamiento {
    display: none;
    width: 100%;
    height: 200px;
    background-color: #f9f9f9;
    position: relative;
}
.rolling, .rolling_activity{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 5px solid;
    border-color: #bfd3e7;
    border-left-color: #2196F3;
    margin-bottom: 1rem;
    animation: rolling .7s infinite ease-out;
}
.loading-message {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
@keyframes rolling {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}
.tabla_tratamiento_manejo {
    box-shadow: 3px 10px 17px 0 rgb(25 42 70 / 12%);
    background-color: #f9f9f9;
    margin: 0 auto;
    /* margin-bottom: 1rem; */
    overflow-x: auto;
}
.tabla_tratamiento_manejo tbody,
.tabla_tratamiento_manejo thead {
    display: block;
}
.tratamiento-content {
    max-width: 1660px;
    margin: 0 auto;
    box-shadow: 3px 10px 17px 0 rgb(25 42 70 / 12%);
    background-color: #f9f9f9;
    /* overflow-x: auto; */
    margin-bottom: 2rem;
}
.tabla_tratamiento_manejo tbody {
    /* max-height: 400px; */
    padding-bottom: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}
.tabla_tratamiento_manejo tbody::-webkit-scrollbar {
    display: none;
}
.tabla_tratamiento_manejo h6 {
    margin-bottom: 0;
}
.tabla_tratamiento_manejo th {
    background-color: #DEE8FC;
}
.tabla_tratamiento_manejo td {
    background-color: #ffffff;
}
.tabla_tratamiento_manejo th,
.tabla_tratamiento_manejo td {
    min-width: 50px;
    padding: 2px 3px;
    border: 1px solid #dfe3e7;
    text-overflow: ellipsis;
    text-align: center;
}
.tabla_tratamiento_manejo th:first-child,
.tabla_tratamiento_manejo td:first-child {
    min-width: 320px;
    max-width: 320px;
    padding: 8px 15px;
}
.tabla_tratamiento_manejo .th-med,
.tabla_tratamiento_manejo .td-med {
    /* min-width: 280px;  */
    width: 100%;
    /* padding: 8px 15px; */
}
.tabla_tratamiento_manejo .th-info,
.tabla_tratamiento_manejo .td-info {
    min-width: 150px;
    width: 150px;
}
.tabla_tratamiento_manejo .th-manejo,
.tabla_tratamiento_manejo .td-manejo{
    min-width: 130px;
    width: 130px;
}
.tabla_tratamiento_manejo .th-dosis,
.tabla_tratamiento_manejo .td-dosis {
    min-width: 100px;
    width: 100px;
}
.tabla_tratamiento_manejo .th-dosis,
.tabla_tratamiento_manejo .th-info,
.tabla_tratamiento_manejo .th-ritmo{
    font-size: 13px;
}
.no-show {
    display: none !important;
}
.tabla_tratamiento_manejo .td-info {
    padding: 5px 10px;
    text-align: start;
}
.tabla_tratamiento_manejo .th-ritmo,
.tabla_tratamiento_manejo .td-ritmo {
    min-width: 100px;
    width: 100px;
}
.th-hour {
    font-size: 12px;
}
.tabla_tratamiento_manejo td.td-date {
    padding: 15px;
    width: 100%;
    background-color: #f9f9f9;
}
.tabla_tratamiento_manejo td a i {
    line-height: 25px;
}
.tabla_tratamiento_manejo td:first-child a i {
    line-height: 24px;
}
.tabla_tratamiento_manejo th {
    border: 1px solid #bfd3e7;
}
#cantidad_aplicacion,
#hora_aplicacion {
    margin: 0;
}
#cantidad_aplicacion {
    font-size: 13px;
}
#cantidad_aplicacion span {
    font-weight: bold;
}
/* ---------------------------------------------------------- */
.staff{
    margin-bottom: 35px;
}

.medicos .item__medicotratante{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    box-shadow: 0 2px 14px rgb(38 60 85 / 16%);
    border-left: 5px solid #2ed0ec;
    margin-bottom: 15px;
}

.medicos .item__medicotratante a i{
    color: red;
}

.medicos .item__medicotratante p{
    margin: 0;
}

.staff .card{
    margin-bottom: 0;
    box-shadow: 0 2px 14px rgb(38 60 85 / 16%) !important;
}

.test{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    margin-bottom: 35px;
}
.test .card {
    grid-column: 1/5;
}
/* .test .card.card-action {
    grid-column: 1/5;
} */

@media (min-width: 1024px) {
    .test .card:nth-child(1) {
        grid-column: 1/3;
    }

    .test .card:nth-child(2) {
        grid-column: 3/5;
        /* grid-row: 1/3; */
    }
}
/* .test .card:nth-child(3){
    grid-column: 1/5;
} */
/* .test .card:nth-child(4){
    grid-column: 1/4;
}
.test .card:nth-child(5){
    grid-column: 1/4;
}
.test .card:nth-child(6){
    grid-column: 1/4;
}
.test .card:nth-child(7){
    grid-column: 1/4;
} */
.test .card{
    margin-bottom: 0;
    box-shadow: 0 2px 14px rgb(38 60 85 / 16%) !important;
}
.card-title{
    font-size: 1.625rem !important;
    font-family: "Rubik", "Times New Roman", serif !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    color: #516377 !important;
}
.test .checks{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
    margin-bottom: 15px;
}
.test .table-test{
    width: auto;
}
.test .table-responsive{
    position: relative;
}
.test .table-test td, .test .table-test th{
    border: none;
    padding: 10px 15px;
}
.test .table-test .glosa__table{
    padding: 10px 15px;
    border-left: 8px solid #FB6A56;
    border-radius: 5px;
    box-shadow: 0 2px 14px rgb(38 60 85 / 16%);
    font-size: 13px;
}
.test .table-test .item__table{
    text-align: center;
    padding: 10px 10px;
    color: #ffffff;
    background-color: #FEC64F;
    border-radius: 5px;
}
.test .table-test .actions__table{
    text-align: center;
    padding: 10px 10px;
}
.test .table-test .actions__table a{
    padding: 5px;
    color: #fff;
}
.test .table-test .actions__table .editar-examen-fisico{
    background-color: rgb(241, 232, 104);
}
.test .table-test .actions__table .eliminar-examen-fisico{
    background-color: #eb5e5e;
}
.test .table-test tr{
    border: none;
}
.test .table-test tr::before{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    border: none;
    border-bottom: 1px dashed #dfe3e7;
}
.test .table-test thead tr::before {
    border-bottom: 1px solid #fff;
}
.test .table-test thead td {
    text-align: center;
}
.insumo-consulta .item_testproc, .procs-consulta .item_testproc, .tests-consulta .item_testproc, .test .item_testproc, .test .item__supply{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0 2px 14px rgb(38 60 85 / 16%);
    border-left: 5px solid #53c570;
    margin-bottom: 15px;
}
.procs-consulta .item_testproc a, .tests-consulta .item_testproc a, .test .item_testproc a, .test .item__supply a{
    cursor: pointer;
}
.item_testproc a i, .item__supply a i{
    color: red;
}
.test .item__supply{
    border-left: 5px solid #f79d37;
}
.insumo-consulta p, .procs-consulta p, .tests-consulta p, .test p{
    margin: 0;
}
.fecha_item{
    font-size: 13px;
    color: #a3afbd;
    font-weight: 500;
    position: relative;
    margin-bottom: 0;
}
.fecha_item::before{
    content: '';
    position: absolute;
    width: 120px;
    bottom: 0;
    border-bottom: 1px solid #eeeeee;
}
.test .card .card-body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.agregar-items{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}
.agregar-items > div:nth-child(1){
    grid-column: 1/3;
}
.agregar-items > div:nth-child(2){
    grid-column: 3/4;
}
.agregar-items > div:nth-child(3){
    grid-column: 1/3;
}
.tabla_producto_agregado th{
    text-align: center;
}
.agregar-items .tabla-busqueda-responsive{
    height: 450px;
    overflow-x: auto;
}
.agregar-items .tabla-productos-responsive{
    height: 504px;
    overflow-x: auto;
}
.agregar-items .tabla-busqueda-responsive, .agregar-items .tabla-productos-responsive{
    border: 1px solid #eeeeee;
    border-radius: 5px;
}

#tabla-busqueda-productos tr{
    border: none;
}
#tabla-busqueda-productos th, #tabla-busqueda-productos td{
    border-bottom: 1px solid #eeeeee;
}

#tabla_productos_agregados tr{
    border: none;
}
#tabla_productos_agregados th, #tabla_productos_agregados td{
    border-bottom: 1px solid #eeeeee;
}

.col-from-label{
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: inherit;
}
.text-sm-end{
    text-align: right;
}
.disable {
    pointer-events: none;
    opacity: .5;
}
.card-title-action{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22.5px;
}
.card-title-action button{
    padding: 5px 10px;
}


/* STEPP STYLE */
.stepper {
    display: inline-block;
    max-width: 120px;
    width: 100%;
    position: relative;
}

.stepper__input {
    width: 100%;
    height: 50px;
    padding: .375rem .75rem;
    border: 1px solid #c4c4c4;
    -moz-appearance: textfield;
}

.stepper__input:focus {
    color: #333;
    background-color: #fff;
    border-color: #c4c4c4;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.stepper__input::-webkit-inner-spin-button,
.stepper__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.stepper__controls [spinner-button="up"],
.stepper__controls [spinner-button="down"] {
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 0;
    outline: none;
    border: 1px solid #c4c4c4;
    background-color: #fff;
    height: 50%;
    font-size: 1.375em;
    line-height: 1;
    transition: all ease 0.25s;
}

.stepper__controls [spinner-button="up"]:hover,
.stepper__controls [spinner-button="down"]:hover {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

/* style 1 */
.stepper--style-1 .stepper__input {
    padding-right: 3.25rem;
}

.stepper--style-1 .stepper__controls {
    position: absolute;
    right: 0;
    top: 0;
    bottom: -1px;
    display: flex;
    flex-direction: column;
    width: 2.5rem;
    z-index: 1;
}

.stepper--style-1 [spinner-button="up"] {
    margin-bottom: -1px;
}

/* style 2 */
.stepper--style-2 {
    max-width: 140px;
}

.stepper--style-2 .stepper__input {
    padding-left: 3.25rem;
    padding-right: 3.25rem;
    text-align: center;
}

.stepper--style-2 [spinner-button="up"],
.stepper--style-2 [spinner-button="down"] {
    position: absolute;
    height: 100%;
    top: 0;
    bottom: -1px;
    width: 2.5rem;
    z-index: 1;
}

.stepper--style-2 [spinner-button="up"] {
    right: 0;
    margin-left: -1px;
}

.stepper--style-2 [spinner-button="down"] {
    left: 0;
    margin-right: -1px;
}

/* style 3*/
.stepper--style-3 {
    max-width: 140px;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.stepper--style-3 .stepper__input {
    position: relative;
    z-index: 1;
    text-align: center;
}

.stepper--style-3 [spinner-button="up"],
.stepper--style-3 [spinner-button="down"] {
    border: 0;
    position: absolute;
    height: 100%;
    top: 0;
    bottom: -1px;
    width: 2.5rem;
}

.stepper--style-3 [spinner-button="up"] {
    right: 0;
    margin-left: -1px;
}

.stepper--style-3 [spinner-button="down"] {
    left: 0;
    margin-right: -1px;
}

.table-empty{
    text-align: center;
    padding-bottom: 20px;
}

.select_staff + .select2-container{
    width: 100% !important;
    max-width: 280.75px !important;
}

.ajs-button{
    color: #fff !important;
    /* font-size: 0.8rem !important;
    line-height: 1.4 !important; */
    font-weight: 500 !important;
    border-radius: 0.267rem !important;
}

.ajs-ok{
    border-color: #23bd70 !important;
    background-color: #39DA8A !important;
}

.ajs-cancel{
    background-color: #FF5B5C !important;
    border-color: #FF5B5C !important;
}

.observacion-manejo-tratamiento{
    font-size: 13px;
    margin-bottom: 10px;
    color: #475F7B;
    font-weight: 500;
    text-decoration: none;
    transition: all .5s;
}

.observacion-manejo-tratamiento:hover{
    color: #344e6b;
}

#calendar_nh{
    width: 145px;
}

.totales_content{
    width: 250px;
}
.totales_content table{
    width: 100%;
    border: none;
}
.totales_content table td{
    text-align: right;
    padding: 5px 8px;
}
.totales_content table tr{
    border: none;
}
.totales_content table tr:last-child td{
    font-size: 18px;
    font-weight: bold;
}

.loading-section {
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 14px rgb(38 60 85 / 16%);
}
