/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-nav .dropdown-menu.show {
        display: table;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .navbar-nav .dropdown-menu.show {
        display: table;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .navbar-nav .dropdown-menu.show {
        display: table;
    }
}

:root {
    --table-hover-background-color: #0dcaf09e;
}
body {
    margin-bottom: 100px;
}
.container {
    max-width: 100%;
}

.form-check {
    display: flex;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    align-items: flex-end;
    label {
        cursor: pointer;
    }
    input {
        cursor: pointer;
    }
}
.form-check .form-check-input {
    min-width: 1em;
    margin: 5px;
}
.ar .form-check .form-check-input,
.AR .form-check .form-check-input {
    margin-right: -1.5em;
}
a {
    word-wrap: break-word;
}
.form-label {
    margin-bottom: 5px;
    margin-left: 7px;
    margin-right: 7px;
    border-bottom: 1px solid var(--label-color);
}
input,
select,
textarea,
input.form-control {
    text-align: var(--text-align);
    font-family: var(--font-family);
    min-height: var(--input-height);
    line-height: var(--line-height);
    padding: var(--input-padding);
    font-size: var(--input-font-size);
    font-weight: var(--input-font-wight);
    color: var(--input-color);
    background-color: var(--input-background-color);
        white-space: nowrap;
}
input:focus,
select:focus,
textarea:focus,
input.form-control {
    color: var(--input-color);
}
.form-check .form-check-input{
    min-height: 0 !important;
}
label {
    float: var(--float);
    color: var(--label-color);
    font-weight: var(--label-font-weight);
    font-size: var(--label-font-size);
    background: var(--label-background);
}

fieldset {
    padding: var(--fieldset-padding) !important;
    margin: var(--fieldset-margin) !important;
    background: var(--fieldset-background);
    border: var(--fieldset-border);
    border-radius: var(--fieldset-border-radius);
    max-width: 98% !important;
    margin-bottom: 10px !important;
}

fieldset legend {
    display: contents;
    color: var(--legend-color);
    font-size: var(--legend-font-size);
    text-shadow: var(--legend-text-shadow);
    font-weight: var(--legend-font-weight);
    background: var(--fieldset-background);
    border: var(--legend-border);
    float: var(--float);
    width: auto;
    padding: 5px;
}

.border {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem;
}
i-control {
    display: block;
}
i-textarea {
    margin: 0px;
}

i-checkbox {
    padding-right: 20px !important;
    padding-left: 20px !important;
    display: block !important;
}
i-checkbox label {
    cursor: pointer;
    max-width: 100%;
    white-space: pre-line;
}
i-checkbox,
i-radio {
    display: inline-flex;
    align-self: center;
    margin-left: 1.5em;
    margin-right: 1.5em;
    white-space: nowrap;
}
i-checklist i-checkbox {
    display: flex !important;
    flex-direction: row !important;
}
i-button {
    display: contents;
}
i-button button {
    margin: 5px !important;
    margin-top: 30px !important;
    padding: 7px 9px !important;
    max-height: 40px;
}
table i-button button {
    margin-top: 0px !important;
}
i-button.default button {
    margin: 3px;
    padding: 3px;
    width: 32px;
    height: 32px;
}
i-file {
    display: block;
    padding: 10px !important;
    border: 3px dashed var(--theme-color);
    margin: 1% !important;
    height: fit-content;
    width: 98% !important;
}
i-file label {
    margin-top: 10px !important;
}
i-file i-button {
    max-width: 100px;
}
i-upload {
    display: contents;
}
i-upload form {
    display: contents;
}
i-date .left-10,
i-datetime .left-10 {
    margin-left: 10px;
}
i-date .fas,
i-datetime .fas {
    color: green;
    font-size: 24px;
    margin: 5px;
    cursor: pointer;
}
i-date p,
i-datetime p {
    margin: 0 !important;
}
i-date button,
i-datetime button {
    background: transparent !important;
    margin: 0 !important;
}
i-date input,
i-datetime input {
    margin: 0 !important;
}

.modal-content {
    width: 75%;
    height: auto;
    max-height: 100vh;
}
.modal-content:has(i-list) {
    min-height: 50px;
}
.full .modal-content {
    width: 96%;
    height: auto;
    max-height: 100vh;
}
.modal-body {
    padding: 1rem;
    display: block;
    overflow: hidden;
    overflow-y: auto;
}
.modal-footer {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 75px !important;
    background-color: #ffffff;
    width: 100%;
    z-index: 999;
    max-height: 75vh;
    padding: 0px;
    margin: 0;
    scroll-behavior: smooth;
    overflow: auto;
    border: 5px solid var(--theme-color);
    border-top: 10px solid var(--theme-color);
    border-bottom: 10px solid var(--theme-color);
    border-radius: 5px;
}
.v-tabs .nav-link {
    color: #aaa !important;
    background: #fff !important;
    position: relative;
    cursor: pointer;
    font-weight: bold;
    width: auto;
}

.v-tabs .nav-link.active {
    color: #45b649;
    background: #fff;
}
.nav-link {
    width: max-content;
}

@media (min-width: 992px) {
    .v-tabs .nav-link::before {
        content: '';
        display: block;
        border-top: 8px solid transparent;
        border-left: 10px solid #fff;
        border-bottom: 8px solid transparent;
        position: absolute;
        top: 50%;
        right: -10px;
        transform: translateY(-50%);
        opacity: 0;
    }
    .ar .v-tabs .nav-link::before,
    .AR .v-tabs .nav-link::before {
        border-right: 10px solid #fff;
        left: -10px;
    }
}

.v-tabs .nav-link.active::before {
    opacity: 1;
}

i-audio {
    background: #fff;
    border: 1px solid #ddd;
    display: block;
    padding: 5px;
}
i-audio audio {
    vertical-align: bottom;
}
i-video {
    border: 1px solid #4caf50;
    padding: 5px;
    display: block;
}
i-audio .btn {
    vertical-align: top;
}

i-video video {
    max-height: 50vh;
}
i-time .time {
    display: flex;
    flex-wrap: nowrap;
    align-content: space-between;
    justify-content: space-evenly;
    align-items: baseline;
    flex-direction: row;
    --scrollbar-width: 3px;
    .dropdown-content {
        top: 40px !important;
    }
    input {
        font-weight: bold;
    }
}
i-time .sep span {
    font-size: xx-large;
    line-height: 0;
    margin-left: 5px;
    margin-right: 5px;
}
