/* CSS general para ejemplos tipicos de PWA */
:root {
    --cExtra1: rgb(61, 139, 253, .6);
    --cExtra2: rgb(181, 102, 255, .6);
    --cExtra3: rgb(255, 107, 107, .6);
    --cExtra4: rgba(67, 219, 148, .6);
}

.b-1 {
    background-color: var(--cExtra1);
}

.b-2 {
    background-color: var(--cExtra2);
}

.b-3 {
    background-color: var(--cExtra3);
}

.b-4 {
    background-color: var(--cExtra4);
}

.minicard {
    padding: 3px 5px;
    width: fit-content;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .85rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    color: #fff;
    font-weight: 600;
}

render {
    width: 100% !important;
    height: fit-content;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.browse-contenedor {
    border-radius: 0;
}

.contenedor-lg {
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #eee;
    background-image: none;
    background-color: #f5f5f5;
    height: 100%;
}

.card-mapa {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    padding: 10px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    position: relative;
}

.notif {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    padding: 6px 8px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.notif .ico {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    font-size: 20px;
}

.notif .text {
    width: calc(100% - 30px);
    height: fit-content;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
}

.map {
    width: 100%;
    min-height: 450px;
    border-radius: 12px;
    background-image: url('../img/map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.map-info {
    width: fit-content;
    height: fit-content;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    padding: 8px 15px;
    z-index: 10;
    transition: .07s ease all;
}

.map-info small {
    font-size: 10px;
    color: #2c2c2c;
    font-weight: 500;
}

.map-info b {
    font-size: 14px;
    color: #2c2c2c;
    font-weight: 600;
}

.map-info:hover {
    background-color: rgba(0, 0, 0, .4);
}


.table tr {
    cursor: pointer;
    transition: .02s ease all;
    font-size: 12px !important;
}

.table tr:hover {
    background-color: #f2f2f2;
}

.t-ico {
    font-size: 17px;
    color: var(--colorPrimario);
    position: relative;
    padding: 5px;
    border-radius: 50%;
}

.b-info-card {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    display: flex;
    flex-flow: column nowrap;
    height: fit-content;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.b-info-card .top {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    height: 20px;
    color: var(--colorPrimario);
}

.b-info-card .end {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    height: fit-content;
    color: #2c2c2c;
    padding: 6px 0px;
    font-size: 22px;
    display: flex;
    flex-flow: column nowrap;
}

.b-info-card .end b {
    font-size: 23px;
}

.b-info-card small {
    font-size: 13px;
}

.b-info-card2 {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-flow: column nowrap;
    padding: 9px;
    border-radius: 7px;
    background-color: #eee;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.b-info-card2 b {
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
}

.b-info-card2 p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 11px;
}

.pin-estado {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #aaa;
    position: relative;
    z-index: 9999 !important;
    animation: pin-estado 2s infinite;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.pin-estado::before {
    content: '';
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #ddd;
    position: absolute;
    top: 0%;
    left: 0%;
    animation: pin-estado-before 2s infinite;
    z-index: 9998 !important;
    opacity: .5;
}

.pin-estado-success {
    background: #43de20 !important;
}

.pin-estado-primary {
    background: var(--colorPrimario) !important;
}

.pin-estado-danger {
    background: #e34242 !important;
}

.pin-estado-warning {
    background: #e3c342 !important;
}

.estado {
    line-height: 30px;
    font-weight: 600;
    margin-left: 8px;
}

.disabled-all {
    filter: contrast(0.8);
    opacity: .5;
    pointer-events: none;
    cursor: no-drop !important
}

@keyframes pin-estado-before {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pin-estado {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(.9);
    }

    100% {
        transform: scale(1);
    }
}

.bot {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 5px 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 500;
    color: #2c2c2c;
    gap: 6px;
}

.bot-success {
    background-color: var(--colorPrimario) !important;
    border: 1px solid var(--colorPrimario) !important;
    color: #fff !important;
    filter: opacity(.9);
}

.bot-success:hover i {
    color: #fff !important;
}

.bot i {
    font-size: 2rem;
}

.bot:hover i {
    color: var(--colorPrimario);
}

.bot-round {
    width: 30px;
    height: 30px;
    border-radius: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    color: var(--colorPrimario);
    margin: 4px;
    background-color: #eee;
    font-size: 1.8rem;
    transition: .02s ease all;
    outline: none;
}

.bot-round:hover {
    background-color: var(--colorPrimario);
    color: #fff;
}

.msg {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 15px;
    background-color: #eee;
    padding: 4px;
    margin: 8px 0;
}

.msg .ico {
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    border-radius: 50%;
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.msg .text {
    font-size: 12px;
    font-weight: 600;
    margin: 0 5px;
}

.msg b {
    font-size: 13px;
    font-weight: 700;
}

.bg-success {
    background-color: #43de20 !important;
}

.bg-warning {
    background-color: #e3c342 !important;
}

.bg-danger {
    background-color: #e34242 !important;
}

.bg-primary {
    background-color: var(--colorPrimario) !important;
}

.c-1 {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    background-color: #fff;
    border-radius: 8px;
}

.radiusTop {
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.radiusBottom {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.radiusNone {
    border-radius: 0%;
}

.c-1-titulo {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    background-color: transparent;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.c-1-titulo small {
    color: #6b6b6b;
    font-size: 1rem;
}

.c-1 .ico {
    color: var(--colorPrimario);
    font-size: 22px;
    width: fit-content;
}

.c-1 .titulo {
    font-size: 1.125rem;
    font-weight: 600;
    padding-left: 5px;
    font-weight: 600;
    color: #272727;
    height: 20px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.c-1 .contenido {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.c-1 .drop {
    color: #3b3b3b;
    font-size: 15px;
    font-weight: 600;
    position: absolute;
    top: 9px;
    right: 10px;
    cursor: pointer;
    transition: .03s ease all;
}

.c-1 .drop:hover {
    color: var(--colorPrimario);
}

.item small,
.item-center small {
    font-size: 12px;
    font-weight: 500;
    color: #3b3b3b;
}

.item p,
.item-center p {
    font-size: 13px;
    font-weight: 600;
    color: #3b3b3b;
}

.item {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
}

.item-center {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.totales p {
    font-size: 20px;
}

.input-group-text i {
    font-size: 14px;
}

input[type='number'] {
    font-size: 1.2rem;
    color: #2c2c2c;
    font-weight: 600;
}

input:read-only {
    cursor: not-allowed;
}

label {
    font-size: 1.1rem;
}

.droparea {
    border: 2px dashed #ccc;
    padding: 5px;
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    cursor: pointer;
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
    width: 100%;
    position: relative;
}

.droparea:hover {
    border-color: #66afe9;
}

.droparea i {
    font-size: 40px;
    color: #66afe9;
}

.droparea-hover {
    animation: droparea-hover .7s ease-in-out infinite;
    transition: .04s ease all;
    border: 2px dashed #66afe9 !important;
    transform: scale(1.02);
    background-color: rgba(102, 175, 233, .05);
}

.droparea .pdf-load {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    position: absolute;
    top: 0;
    left: 0;
    cursor: no-drop;
}

.file-contenedor {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
}

.file-card {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-card .pdf {
    padding: 2px;
    color: #2c2c2c;
    font-size: 25px;
}

.file-card .text {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    padding-left: 5px;
}

.file-card .eliminar {
    color: #bbb;
    cursor: pointer;
    font-size: 18px;
    margin: 0 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-card .eliminar:hover {
    color: #e34242;
}

.file-card .abrir {
    border-right: 1px solid #ddd;
    cursor: pointer;
    transition: .03s ease all;
    padding: 0px 2px;
    cursor: pointer;
}


.file-card .abrir:hover {
    background-color: #f5f5f5;
}

.files-contenedor {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0px 5px;
}

.item-info {
    width: 100%;
    color: var(--colorPrimario);
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 5px;
    gap: 5px;
    background-color: #f1f1f1;
    margin: 7px 0px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.item-info .notif {
    width: 23px;
    height: 23px;
    background-color: #e34242;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30%;
    outline: none;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.item-info i {
    font-size: 18px;
}

.item-detalle {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
}

.cron-item {
    width: fit-content;
    height: fit-content;
    padding: 8px;
    border-radius: 4px;
}

.contenedor-estado {
    width: fit-content;
    align-items: center;
    padding: 8px 5px;
    border-radius: 7px;
    background-color: #eee;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 4px
}

.contenedor-estado .item {
    padding: 4px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2c2c2c;
    position: relative;
}

.contenedor-estado .active {
    color: var(--colorPrimario);
    font-size: 1.1rem;
}

.contenedor-estado .item:nth-child(-n + 2)::after {
    content: "";
    color: #808080;
    position: absolute;
    top: 5px;
    right: -8px;
    font-family: sans-serif;
    font-weight: 600;
    width: 8px;
    height: 1px;
    border-radius: 1px;
    background-color: #eee;
}


table money {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
}

table money::before {
    content: "$ ";
    color: #2c2c2c;
    font-size: .8rem;
}

table vencido {
    color: #e34242;
    font-weight: 600;
}

.loader-contenedor {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-chart {
    height: fit-content;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    padding: 12px 8px;
}

.contenedor-chart canvas {
    width: 95%;
}

.contenedor-chart div {
    width: 100%;
    height: 25px;
    text-align: left;
    color: #2c2c2c;
    font-weight: 600;
    font-size: 1.1rem;
    padding-left: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/*Historial*/


.historial-contenedor-items {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
}

.historial-item {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #f2f2f2;
    transition: .04s ease all;
    cursor: pointer;
}

.historial-item:has(.active) {
    background-color: #f8f9fb;
    transition: .1s ease all;
}

.historial-item .active {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #9f9f9f;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.historial-item .accion {
    width: 15px;
    height: 15px;
    position: absolute;
    right: 10px;
    top: calc(50% - 7.5px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.historial-item:hover {
    background-color: #f2f2f2;
}

.historial-item:last-child {
    border-bottom: none;
}

.historial-item .ico {
    width: 15px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3px 6px;
    font-size: 2.4rem;
    background-color: transparent;
}

.historial-item .info {
    height: 30px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    width: 70%;
}

.historial-item .info b,
.historial-item .info small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#historial-left {
    width: 40%;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 180px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}

#historial-right {
    width: 60%;
    background-color: #f8f9fb;
    min-height: 30px;
    padding: 5px;
    border-radius: 12px;
    font-size: 1.15rem;
}

/*Menu*/
.contenedor-menu {
    width: 100%;
    height: 35px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 5px;
    background-color: #fff;
    padding: 0;
}

.contenedor-items {
    width: 100%;
    height: 35px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
}

.contenedor-items .item {
    padding: 0px 8px;
    cursor: pointer;
    transition: .03s ease all;
    border-bottom: 2px solid transparent;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.contenedor-items .item:hover:not(.item-active) {
    border-bottom: 2px solid rgba(61, 139, 253, .2);
    color: rgba(61, 139, 253, .8);
}

.contenedor-items .item-active {
    border-bottom: 2px solid #3d8bfd;
    color: #3d8bfd;
}

@media only screen and (max-width: 768px) {
    .contenedor-estado {
        flex-flow: column nowrap;
        width: 100%;
        align-items: center;
        padding-bottom: 10px;
        gap: 2px
    }

    .contenedor-estado .bi {
        transform: rotate(90deg);
    }

    #form:first-child {
        padding: 6px 2px;
    }
}
/*Titulos*/
.titulo-principal {
    width: 100%;
    height: 35px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    padding-left: 10px;
    background: rgba(220, 220, 220, .2);
    backdrop-filter: blur(2px);
    border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
}

.titulo-principal i {
    font-size: 1.7rem;
    color: var(--colorPrimario);
    margin: 0 10px
}

.titulo-principal h1 {
    font-size: 1.4rem;
    color: var(--colorPrimario);
    margin-left: 10px;
    vertical-align: middle;
    padding: 0;
    margin: 0;
    margin-left: 8px;
}
