/* ------------------------------------STARTER------------------------------*/

:root {
    /* colors */
    --light: #ffffff;
    --dark: #000000;
    --muted: #999999;
    --text: #212529;
    --primary: #00694F;
    --background: #F8F8F8;
    --background-accent: #EAEBEF;
    --background-light: #F8F9FA;
    --border: #CFD4D9;
    --danger: #FF0000;
    /* font-weights */
    --regular: 400;
    --medium: 500;
    --bold: 700;
    /* font-sizes */
    --xxs: 0.625rem;
    --xs: 0.75rem;
    --sm: 0.875rem;
    --md: 1rem;
    --lg-small: 1.125rem;
    --lg: 1.25rem;
    --xl: 1.875rem;
    --xxl: 2.125rem;
    --xxxl: 2.5rem;
    /* line-height */
    --line-height-bold: 2.199rem;
    --line-height-regular: 1.173rem;
    --line-height-medium: 1.173rem;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: var(--md);
    font-weight: var(--regular);
    color: var(--primary);
    background-color: var(--light);
}


/* ------------------------------------STARTER------------------------------*/

/* ------------------------------------ELEMENTS/GENERAL------------------------------*/
h1 {
    font-size: var(--xl);
    font-weight: var(--bold);
    color: var(--primary);
    line-height: var(--line-height-bold);
    word-break: break-word;
    margin-bottom: 1rem;
}

h2 {
    font-size: var(--lg);
    font-weight: var(--bold);
    color: var(--dark);
    line-height: var(--line-height-bold);
    word-break: break-word;
    margin-bottom: 1rem;
}

h3 {
    font-size: var(--lg-small);
    font-weight: var(--regular);
    color: var(--primary);
    line-height: var(--line-height-bold);
    word-break: break-word;
    margin-bottom: 1rem;
}

h1.error {
    font-size: 8.5rem;
    line-height: 10rem;
    color: var(--muted);
}

@media (min-width: 576px) {
    h1.error {
        font-size: 12.5rem;
        line-height: 14.663rem;
        color: var(--muted);
    }
}

p {
    font-size: var(--md);
    font-weight: var(--regular);
    color: var(--text);
    line-height: var(--line-height-regular);
    word-break: break-word;
}

p.primary {
    color: var(--primary);
}

span {
    line-height: var(--line-height-bold);
    color: var(--primary);
    font-size: var(--sm);
}

span.error {
    line-height: var(--line-height-bold);
    color: var(--danger);
    font-size: var(--sm);
}

hr {
    color: var(--muted);
}

a.anchor-danger {
    color: var(--danger);
    text-decoration: unset;
}

a.anchor-danger:hover {
    color: var(--danger);
    text-decoration: underline;
}

a.anchor-danger.disabled {
    color: var(--muted);
    text-decoration: unset;
}

a.anchor-danger.disabled:hover {
    cursor: default;
    color: var(--muted);
    text-decoration: unset;
}

a.anchor-sucess {
    color: var(--primary);
    text-decoration: unset;
}

a.anchor-sucess:hover {
    color: var(--primary);
    text-decoration: underline;
}

a.anchor-muted {
    color: var(--muted);
    text-decoration: unset;
}

a.anchor-muted:hover {
    color: var(--muted);
    text-decoration: underline;
}

span.input-group-text {
    float: right;
    display: inline-block;
    line-height: var(--line-height-bold);
    color: var(--muted);
    font-size: var(--sm);
    padding: 0 .75rem;
}

.table .link-a {
    color: var(--primary);
    text-decoration: none;
}

.material-switch {
    position: relative;
}

.material-switch>input[type="checkbox"] {
    display: none;
}

.material-switch>label {
    cursor: pointer;
    height: 0px;
    position: absolute;
    width: 0px;
    left: 0;
    top: 15px;
}

.material-switch>label::before {
    /* background: rgb(0, 0, 0); */
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch>label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch>input[type="checkbox"]:checked+label::before {
    background: rgb(0, 0, 0);
    opacity: 0.3;
}

.material-switch>input[type="checkbox"]:checked+label::after {
    left: 20px;
    background-color: var(--primary);
}

/* ------------------------------------BUTTONS------------------------------*/
.btn:focus,
.btn:hover {
    box-shadow: unset;
}

.btn-primary {
    color: var(--light);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    color: var(--primary);
    background-color: var(--light);
    border-color: var(--primary);
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus {
    color: var(--primary);
    background-color: var(--light);
    border-color: var(--primary);
    box-shadow: unset;
}

.btn-delete {
    color: var(--danger);
    background-color: var(--light);
    border: 0.01rem solid transparent;
}

.btn-delete:hover,
.btn-delete:focus,
.btn-delete:active,
.btn-delete:active:focus {
    color: var(--danger);
    background-color: var(--light);
    border: 0.01rem solid var(--danger);
    box-shadow: unset;
}

.btn-next {
    font-weight: var(--bold);
    font-size: var(--sm);
}

.btn-secondary {
    color: var(--light);
    background-color: var(--muted);
    border-color: var(--muted);
}

.btn-secondary:hover {
    color: var(--muted);
    background-color: var(--light);
    border-color: var(--muted);
}

.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:active:focus {
    color: var(--muted);
    background-color: var(--light);
    border-color: var(--muted);
    box-shadow: unset;
}

.btn-primary:disabled {
    background-color: var(--muted);
    border-color: var(--muted);
}

/* ------------------------------------BUTTONS------------------------------*/

/* ------------------------------------FORMS------------------------------*/
.form-label,
.form-check-label {
    color: var(--text);
}

.form-label span {
    color: #FF0000;
    display: inline-block;
    line-height: 1;
}

.form-check {
    padding-left: 0;
}

span.on {
    background-color: #00694F;
    color: #FFF;
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 10px;
}

span.off {
    background-color: #FF0000;
    color: #FFF;
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 10px;
}

.form-label-notes {
    color: var(--muted);
    font-size: var(--md);
}

.form-select,
.form-select:focus,
.select2-container--default .select2-selection--multiple {
    border-color: var(--border);
}

.form-select:focus {
    box-shadow: unset;
}

.form-check-input,
.form-check-input:focus {
    border: .1rem solid var(--primary);
}

.form-check-input:checked {
    background-color: var(--primary);
    border: var(--primary);
}

.form-check-input:focus {
    box-shadow: unset;
}

.btn-delete {
    cursor: pointer;
}

.form-select.invalid-field,
.form-control.invalid-field,
.tox-tinymce.invalid-field {
    border: solid 1px red;
}

textarea:invalid {
    border: solid 1px red;
}

.form-select.invalid-field:focus,
.form-control.invalid-field:focus,
.tox-tinymce.invalid-field:focus {
    box-shadow: 0 0 0 0.25rem rgb(255 0 0 / 25%);
}

/* ------------------------------------FORMS------------------------------*/

/* ------------------------------------TABLES------------------------------*/
.table-striped>tbody>tr {
    cursor: auto !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    --bs-table-accent-bg: var(--background-light);
    color: var(--dark);
}

.table td:nth-child(1) {
    color: var(--primary);
    font-weight: var(--bold);
}

.table thead tr {
    border-bottom: 0.01rem solid var(--border);
}

.table tbody tr:hover {
    cursor: pointer;
    background-color: var(--background-accent);
    --bs-table-accent-bg: var(--background-accent);
}

.table th,
.table td {
    padding: 1rem;
}

/* ------------------------------------TABLES------------------------------*/

/* ------------------------------------LISTS------------------------------*/

ul.horizontal-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

ul.horizontal-list li {
    float: left;
    padding: 1rem;
}

ul.horizontal-list li a {
    display: block;
    color: var(--primary);
}

ul.horizontal-list li a.anchor-danger {
    display: block;
    color: var(--danger);
}

ul.horizontal-list li a.anchor-danger.disabled {
    display: block;
    color: var(--muted);
}

ul.horizontal-list li a:hover {
    font-weight: unset;
    color: var(--danger);
}

ul.horizontal-list li a.anchor-sucess:hover {
    font-weight: unset;
    color: var(--primary);
}

.state-element ul {
    color: var(--text);
}

.stage-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: initial;
    justify-content: space-between;
    position: relative;
}

.stage-list div {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.stage-list::before {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    height: 1rem;
    top: 0;
    left: 0;
    border-bottom: 0.1rem solid var(--primary);
}

.stage-list a {
    text-decoration: unset;
    color: var(--dark);
    z-index: 9;
    display: block;
}

.stage-list a::before {
    content: "";
    display: block;
    margin: 0 auto 1rem auto;
    width: 1.875rem;
    height: 1.875rem;
    background-color: var(--light);
    border: 0.1rem solid var(--dark);
    border-radius: 15rem;
}

.stage-list a.active {
    font-weight: var(--regular);
    color: var(--primary);
}

.stage-list a.active::before {
    border: 0.4rem solid var(--primary);
}

.stage-list a.passed::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f00c";
    color: var(--light);
    text-align: center;
    background-color: var(--muted);
    border: 0.1rem solid var(--muted);
}

/* ------------------------------------LISTS------------------------------*/

/* ------------------------------------ELEMENTS BACKGROUNDS------------------------------*/

.container-highlight {
    background-color: var(--background);
    border-radius: 0.625rem;
}

.state-column {
    background-color: var(--background);
    padding: 1.5rem;
    border-radius: 10px;
}

.state-element {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 4px;
}

.state-element+.state-element {
    margin-top: 1.5rem;
}

/* ------------------------------------CONTAINERS------------------------------*/

/* ------------------------------------DROPDOWNS------------------------------*/

.options-dropdown .dropdown-toggle::after {
    content: unset;
}

.options-dropdown .dropdown li {
    display: contents;
}

.options-dropdown .dropdown-item:focus,
.options-dropdown .dropdown-item:hover {
    background-color: unset;
}

.options-dropdown .dropdown-menu {
    border-radius: 4px;
}

/* ------------------------------------DROPDOWNS------------------------------*/

/* ------------------------------------ICONS------------------------------*/

.fa-solid {
    font-size: 0.8rem;
}

.fa-solid:before {
    margin: 0 0.2rem;
}

.fa-gear:before {
    color: var(--primary);
}

/* ------------------------------------ICONS------------------------------*/

/* ------------------------------------MODALS------------------------------*/

.modal-content {
    border: unset;
    border-radius: 10px;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border: unset;
    border-radius: unset;
    justify-content: space-between;
}

.modal-footer .btn {
    padding: .75rem 3rem;
    max-width: 100%;
    min-width: 40%;
}

/* ------------------------------------MODALS------------------------------*/

/* ------------------------------------OFFCANVAS------------------------------*/

.offcanvas-start {
    width: 100%;
    border: unset;
}

@media (min-width: 768px) {
    .offcanvas-start {
        width: 75%;
    }
}

@media (min-width: 992px) {
    .offcanvas-start {
        width: 50%;
    }
}

/* ------------------------------------OFFCANVAS------------------------------*/

/* ------------------------------------CARD------------------------------*/
.card {
    background-color: var(--background);
    border-radius: 10px;
    border: unset;
}

.card-header {
    background-color: unset;
    border-bottom: unset;
    font-weight: var(--bold);
    font-size: var(--lg);
    color: var(--dark);
}

/* ------------------------------------CARD------------------------------*/

/* ------------------------------------SELECT2------------------------------*/

.select2-selection__rendered {
    line-height: 31px !important;
}

.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
}


/* ------------------------------------SELECT2------------------------------*/
.items-cadastrados {
    padding: 30px 0 60px;
}

.item-add {
    width: 270px;
    float: left;
    padding: 6px 0 30px;
    height: 49px;
    line-height: 20px;
    position: relative;
    margin: 0 50px 10px 0;
    word-break: break-word;
}

.item-add button {
    position: absolute;
    top: 0;
    right: -20px;
    padding: 4px 0px;
}

.item-dispo {
    float: left;
    margin-right: 15px;
}

.btn-arquivar {
    color: var(--muted);
    border: 0;
    background-color: transparent;
}

/* ------------------------------------Paginação------------------------------*/
/* #pagination-cvs {}

#pagination-cvs .relative.z-0.inline-flex.shadow-sm.rounded-md {
    display: flex;
    justify-content: center;
    position: initial;
}

#pagination-cvs .relative.z-0.inline-flex.shadow-sm.rounded-md span {
    width: 60px;
    height: 60px;
    display: block;
    font-size: 20px;
}

#pagination-cvs .relative.z-0.inline-flex.shadow-sm.rounded-md a,
#pagination-cvs .relative.z-0.inline-flex.shadow-sm.rounded-md span.relative.inline-flex.items-center {
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
} */

.pagination {
    display: block;
    /* justify-content: space-between;
    align-items: center; */
    margin-top: 20px;
}

.pagination p {
    font-size: 14px;
    margin: 0;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 20px;
    padding: 0;
}

.pagination-link {
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #333;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-right: 5px;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
}

.pagination-link:hover {
    background-color: #f5f5f5;
}

.pagination-link.is-current {
    background-color: #3273dc;
    border-color: #3273dc;
    color: #fff;
}

.pagination-link.is-disabled {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}
