html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.page-link {
    cursor:default;
}
.table-footer{
    /*position:absolute;*/
    bottom:0px;

}

@media (max-width: 576px){
    .dropdown-item::before{
        transform: rotate(-90deg);
    }
}

.module-title {
    margin-top: 20px;
    margin-bottom: 20px;
    border-bottom: solid 2px #c0c0c0;
}

.text-red{
    color:red;
}
.icon-button {
    color: gray;
}
    .icon-button:hover {
        color: red;
    }

.color-success {
    color: #0f5132;
}
.color-error {
    color: #842029;
}
.color-info {
    color: #084298;
}
.toast-header-info {
    color: #084298;
    background-color: #cfe2ff;
    border-color: #b6d4fe;
}

.toast-header-error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.toast-header-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.main-nav{
    z-index:200;
}



.table .editable {
    border: solid 1px #999999;
    background-color: #ffffff;
    width: 100%;
    border-radius: 4px;
    padding: 5px 5px 5px 10px;
}

.table .editable:focus {
    background-color: #ffffdd;
}

.grayed {
    opacity: 0.5;
    pointer-events: none; /* Evita interacción con el modal UN */
}
.photo-profile {
    position: relative;
    height: 90px;
    width: 90px;
    background-color: white;
    z-index: 1;
    margin-bottom: -40px;
    margin-right: 30px;
    border: solid 1px #c0c0c0;
    border-radius: 45px;
    background-image: url("data:image/svg+xml,%3Csvg height='90' width='90' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='90' height='90' x='0' y='0' fill='white' /%3E%3Ccircle r='17' cx='45' cy='38' fill='%23c0c0c0' stroke='%23c0c0c0' stroke-width='3' /%3E%3Ccircle r='30' cx='45' cy='90' fill='%23c0c0c0' stroke='%23c0c0c0' stroke-width='3' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.photo-profile a {
    position:absolute;
    bottom: -15px;
    text-align:center;
    font-size: 8pt;
    width:100%;
}

.photo-profile-upload {
    position: relative;
    height: 200px;
    width: 200px;
    background-color: white;
    z-index: 1000;
    border: solid 1px #c0c0c0;
    border-radius: 100px;
    background-image: url("data:image/svg+xml,%3Csvg height='90' width='90' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='90' height='90' x='0' y='0' fill='white' /%3E%3Ccircle r='17' cx='45' cy='38' fill='%23c0c0c0' stroke='%23c0c0c0' stroke-width='3' /%3E%3Ccircle r='30' cx='45' cy='90' fill='%23c0c0c0' stroke='%23c0c0c0' stroke-width='3' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.blockquote-footer::before {
    content: "";
}
.toast-body {
    background-color:white;
    color:#404040;
}

.cmdCompanies {
    font-size: 16pt;
    color: #a0a0a0;
    margin: 5px;
}

    .cmdCompanies:hover {
        color: white;
    }


.custom-table {
    border: none;
    width: 100%;
    overflow: auto;
}

    .custom-table thead th {
        background: #808080;
        position: sticky;
        top: 0;
        color: white;
        z-index: 20;
    }

    .custom-table thead tr th {
        padding-top: 0px;
    }

    .custom-table tbody {
    }

        .custom-table tbody tr {
            width: 100%;
            background: #555555;
        }

            .custom-table tbody tr:hover {
                /*filter: brightness(0.90);*/
                background: #888888;
            }
.card-infinite {
    position: absolute;
    height: Calc(100% - 180px);
    width: Calc(100% - 20px);
}
.card-body-infinite {
    position: absolute;
    width: 100%;
    height: Calc(100% - 20px);
    overflow: auto;
}
.card-content-infinite {
    position: absolute;
    width: Calc(100% - 30px);
    height: Calc(100% - 20px);
    overflow: auto;
}
/* Firefox */
:root {
    scrollbar-width: thin;
}

/* Chrome/Edge/Safari */
::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(180,180,180,0.6);
    border-radius: 999px;
    border: 3px solid transparent; /* crea “padding” alrededor del thumb */
    background-clip: content-box; /* para que el borde transparente funcione */
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(180,180,180,0.9);
        border: 2px solid transparent;
        background-clip: content-box;
    }