
.dropdown-menu.show {
    right: 15px !important;
    min-width: 190px;
    top: 30px;
}

html {
    overflow: hidden;
}

.content-wrapper .container-fluid {
    height: calc(100vh - 57px);
    overflow-y: scroll;
}

.list .border {
    border: none !important;
}

.list nav > div {
    display: flex;
    flex-direction: row;
}

.list nav > div > div {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list nav > div > div > span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    box-shadow: none !important;
}

.list nav > div > div > span > span,
.list nav > div > div > span > a,
.list nav > div > div > span > span > span {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.list nav > div > div > span > span,
.list nav > div > div > span > a.border {
    margin-left: 5px;
    border: 1px solid lightgrey !important;
}

.list nav > div > div > span > span svg,
.list nav > div > div > span > a svg {
    width: 20px;
}

.list span[aria-current="page"] > span {
    background-color: lightgrey !important;
}


.list span[aria-disabled="true"] {
    display: none;
}

.list nav > div:first-child,
.list nav > div:nth-child(2) > div:first-child {
    display: none;
}

.list th,
.list td {
    text-wrap: nowrap;
    font-size: 13px !important;
}

.login-circle {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    font-size: 60px;
    color: grey;
    box-shadow: 0px 9px 10px 1px rgba(0, 0, 0, .2);
}

.user-panel .info .d-block {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[class*=sidebar-dark-] {
    background-color: #263544 !important;
}

.login-page.dark {
    background-color: #1d2531 !important;
}

.login-page.dark .card,
.login-page.dark .card-body,
.login-page.dark input,
.login-page.dark input:focus {
    background-color: #263544;
    color: white;
}

.btn-danger,
.card-danger:not(.card-outline) > .card-header {
    border-color: #DA291c !important;
    background-color: #da291c !important;
}


.login-page label {
    font-weight: normal !important;
}

.container-fluid {
    padding: 0 20px !important;
}

.widget-user-header svg {
    width: 100% !important;
    height: 100% !important;
}

.widget-user .widget-user-image > img {
    width: 110px !important;
    height: 110px !important;
    position: relative;
    left: -10px;
    top: -10px;
}


.custom-card {
    max-height: 600px !important;
}


.invoice-col label {
    width: 190px;
}

.invoice-col .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
}

.invoice-col .form-control {
    margin-left: 10px;
    padding-left: 1px;
    width: calc(100% - 190px);
}

.custom-field-values {
    flex-wrap: wrap;
    justify-content: space-between;
    display: flex !important;
    flex-direction: row !important;
}

.custom-field-values .form-group {
    width: 45% !important;
}

#toastsContainerTopRight {
    padding: 10px;
}

.table-striped th,
.table-striped td,
table.dataTable td,
table.dataTable th {
    max-width: 200px !important;
}

.animated-box-container {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: space-around;
}

.animated-box {
    width: 300px;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0px 1px 13px 1px rgba(0, 0, 0, .5);
}

.assignment .form-group {
    padding: 10px;
    border: 1px dotted black;
}

.facers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.facer {
    width: 180px;
    display: flex;
    margin-top: 20px;
    border-radius: 10px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, .1);
}

.facer:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, .1);
}

.facer img {
    width: 140px;
    height: 140px;
    margin: 10px 0;
    border-radius: 100%;
    border: 1px solid lightgrey;
}

.facer .name {
    margin-bottom: 10px;
}

.facers.selected .facer {
    position: relative;
}

.facers.selected .facer .delete {
    position: absolute;
    top: -13px;
    right: -13px;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    background-color: #F04B3E !important;
    color: white;
}

.warning {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.warning i {
    font-size: 400px;
}

.warning h2 {
    font-size: 80px;
}

.add-element {
    width: 100%;
    height: 50px;
    border: 1px dotted black;
    display: flex;
    padding: 0 10px;

    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
}

.plus-element {
    font-size: 25px;
    width: 30px;
    height: 30px;
    border: 1px dotted red;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    padding-bottom: 5px;
    margin-right: 20px;
}

.tag-element {
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-indent: 20px;
    border: 1px solid lightgrey;
    margin-top: 5px;
    cursor: pointer;
    background: rgba(0, 0, 0, .05);
    -webkit-transition: all .5s ease;
    position: relative;
}

.tag-element:hover {
    color: white;
    background: #da291c;
}

.tag-element.selected {
    color: white;
    background: #da291c;
}

.modal-body {
    max-height: 400px;
    overflow-y: scroll;
}

.tag-element .remove-tag {
    position: absolute;
    right: 1%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-body.details, .card-body.preview {
    max-height: 500px;
    overflow-y: scroll;
}

.card-body.preview {
    padding: 60px 20%;
}


.code-container {
    padding: 10px;
    border: 1px solid lightgrey;
    border-radius: 10px;
    margin-bottom: 15px;
}

.code-content {
    background-color: black;
    border-radius: 10px;
    padding: 10px;
}


.code-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

figure {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
}

figure img {
    border: 1px solid lightgrey;
    margin: 20px 0;
    border-radius: 10px;
}

.card.code img {
    width: 80%;
    min-width: 288px;
}

.progress {
    position: relative;
}

.progress .percent {
    position: absolute;
    top: 8px;
    left: 40%;
}

.box-shadow {
    box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, .5) !important;
}

.current_image {
    width: 250px;
}

figure {
    display: flex;
}

th {
    text-align: center;
    vertical-align: center;
    text-wrap: nowrap;
}

td {
    width: 300px; /* O el ancho que prefieras */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    height: calc(100vh - 50px) !important;
    overflow-y: scroll;
}

.sidebar:hover {
    scrollbar-width: none !important;
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.credencial {
    width: 1000px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto auto;
}

.credencial > div {
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px dashed;
    margin-right: 20px;
    padding: 10px;
}

.credencial img {
    width: 300px;
}

.credencial .name {
    width: 100%;
    text-align: center;
}

.credencial #qrcode img {
    width: 280px !important;
    height: 280px !important;
    margin-bottom: 15px;
}

.credencial * {
    font-size: 20px;
    font-weight: bolder;
}

@media print {

    @page {
        size: A4 landscape !important; /* o letter landscape, según tu papel */
        margin: 0; /* opcional, elimina márgenes automáticos */
    }

    .no-print {
        display: none !important;
    }

    html, body {
        overflow: hidden !important;
        height: 100% !important;
    }

    * {
        overflow: hidden !important;
    }

    .credencial {
        width: 26.46cm;
    }

    .credencial > div {
        width: 10.58cm;
    }

    .credencial img {
        width: 7.94cm;
    }

    #qrcode img {
        width: 7.40cm;
        height: 7.40cm;
    }
}

.sub-division {
    padding: 0 !important;
    display: flex !important;
    justify-content: space-around;
}

.sub-division > div {
    width: 33.333% !important;
    height: 44.5px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid lightgrey;
}

.sub-division > div:last-child {
    border: none !important;
}

.col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-pills .nav-link:not(.active):hover {
    color: white !important;
}


/*
nuevos formularios
*/

.nav-tabs {
    border-bottom: none;
    gap: 8px;
}

.nav-tabs .nav-link {
    pointer-events: none;
    cursor: default;
    color: gray;
}

.nav-tabs .nav-link.active {
    background: #dc3545;
    color: #fff;
}

.nav-tabs .nav-link:hover {
    background: #f0d5d8;
}


.form-group label {
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}


.form-control,
.select2-container--bootstrap4 .select2-selection {
    border-radius: 8px;
    min-height: 42px;
}

.form-control:focus {
    box-shadow: 0 0 0 .15rem rgba(220, 53, 69, .15);
    border-color: #dc3545;
}

.nav-tabs .nav-link i {
    width: 16px;
    text-align: center;
}

.add-element .plus-element {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.card .nav-item {
    border: 1px solid lightgrey;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.input-element{
    box-shadow: 0px 0px 5px rgba(0,0,0,.6) !important;
}
