@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-size: .875rem;
}

.table2 {
    border-collapse: collapse;
}

.table2 tr th,
.table2 tr td {
    padding: .5rem;
    border: 1px solid rgba(0, 0, 0, .05);
}

.table2 tr td:first-child {
    background-color: #5656561a;
    font-weight: 500;
    width: 12rem;
}

.table,
.table2 {
    font-size: 13px;
}

.table thead th {
    font-weight: 500 !important;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500;
    font-size: 13px;
}

.badge-pill {
    font-size: 13.5px !important;
    font-weight: 500;
}

.form-control,
.custom-select {
    font-size: 0.875rem !important;
}

.select2-container--bootstrap4 .select2-selection--single {
    height: 38px !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    height: 100%;
    display: flex;
    align-items: center;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    box-shadow: none;
}

.list-collections {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr));
    gap: 0.75rem;
}

.list-collections .box-image {
    border-radius: .5rem;
    overflow: hidden;
}

.list-collections .box-image .image {
    width: 100%;
    height: 8rem;
}

.list-collections .box-image .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-collections .box-image .actions {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: .25rem 0;
}

.form-group>label.opt,
label.opt::after {
    position: relative;
}

.form-group>label.opt::after,
label.opt::after {
    content: '(Opcional)';
    position: absolute;
    right: auto;
    margin-left: .25rem;
    color: #959595;
    font-weight: 400;
    font-size: .75rem;
}

.input-group>.input-group-prepend>.input-group-text,
.input-group>.input-group-append>.input-group-text {
    font-size: 0.875rem;
}

.modal-title {
    font-size: 1rem;
}

.btn {
    font-size: .875rem;
    padding: .625rem .75rem;
}

.btn.btn-sm {
    padding: .375rem .75rem;
}

table .btn.btn-sm {
    padding: .275rem .5rem;
    font-size: .75rem;
}

.min-w8 {
    min-width: 8rem;
}

.min-w12 {
    min-width: 12rem;
}

.swal2-html-container {
    font-size: .875rem;
}

.table tbody tr td>i {
    font-size: 1.5rem;
}

.table td {
    padding: .5rem .75rem;
    vertical-align: middle;
}

.input-group-append .btn {
    padding: .375rem .75rem;
}

.file-drop-zone.clickable:hover {
    border-width: 1px;
    border-color: #007bff;
}

.krajee-default.file-preview-frame .kv-file-content {
    height: 130px !important;
}

.card-image {
    flex-shrink: 0;
    width: 100%;
    height: 10rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.file-drop-zone-title {
    font-size: .875rem;
}

select.disabled {
    background: #f3f3f3;
    pointer-events: none;
}

.toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #123;
    padding-bottom: .75rem;
    gap: 1rem;
}

.toolbar .title h2 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.toolbar .title h2 i {
    margin-right: .5rem;
}

.toolbar .title {
    width: auto;
}

.toolbar .actions {
    width: fit-content;
    display: flex;
    gap: .5rem;
    margin-left: auto;
}

.toolbar .actions i {
    margin-right: .5rem;
}

@media (max-width: 1080px) {

    .toolbar .title,
    .toolbar .actions {
        width: 100%;
    }

    .toolbar .actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .toolbar .title {
        margin-bottom: .5rem;
    }

    .toolbar .actions .btn {
        width: 100%;
    }
}

/*** SELECT 2 ***/
.select2-results__option[aria-disabled="true"] {
    opacity: .5;
}

.select2-container {
    min-width: 8rem;
}

/*** SIDEBAR ***/
.sidebar .nav-item img {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-sidebar>.nav-item .nav-icon,
.sidebar .nav-item img {
    margin-right: .5rem;
}

.nav-item.menu-open.active > a {
    background-color: #007bff !important;
    color: #fff !important;
}