select option.done {
    color: green;
}

select option.notdone {
    color: red;
}

select option.maths {
    color: #6f42c1;
    background-color: #4dd4ac;
}

.text-bg-purple {
    color: #fff;
    background-color: #6f42c1;
}

@font-face {
    font-family: sigFont;
    src: url("/static/ws.ttf");
}

.hover-border {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    border: 1px solid var(--bs-border-color);
    border-radius: 3px;
    transition: border-color 0.3s ease;
    text-align: center;
}

.hover-border:hover {
    border-color: var(--bs-warning);
}

.tiny{
    font-family: "Poppins", sans-serif;
    font-size: 0.8em;
}

.graphborder{
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--bs-shadow-color);
    border: 1px solid var(--bs-border-color-translucent);
}


.btn-xs {
    padding: 0.125rem 0.25rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}

.btn-xs.btn-primary,
.btn-xs.btn-secondary,
.btn-xs.btn-success,
.btn-xs.btn-danger,
.btn-xs.btn-warning,
.btn-xs.btn-info,
.btn-xs.btn-light,
.btn-xs.btn-dark {
    min-height: 1.5rem;
}

.btn-xs .bi,
.btn-xs .fas,
.btn-xs .far {
    font-size: 0.65rem;
}




.table-success-done {
    --bs-table-color: #000;
    --bs-table-bg: #f6fff6;
    --bs-table-striped-bg: #c7dbd2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bcd0c7;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #c1d6cc;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    background-color: var(--bs-table-bg);
    border-color:var(--bs-table-border-color)
}

.table-success-partial {
    --bs-table-color: #000;
    --bs-table-bg: #fff6f6;
    --bs-table-striped-bg: #c7dbd2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bcd0c7;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #c1d6cc;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    background-color: var(--bs-table-bg);
    border-color:var(--bs-table-border-color)
}

.table-success-notdone {
    --bs-table-color: #000;
    --bs-table-bg: #f8ecec;
    --bs-table-border-color: #bcd0c7;
    --bs-table-striped-bg: #c7dbd2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bcd0c7;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #c1d6cc;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    background-color: var(--bs-table-bg);
    border-color:var(--bs-table-border-color)
}

.smallBadge {
    font-size: 0.9em;
    padding: 0.0em;
    margin-right: 0.0em;
}

.smalltitle {
    font-size: 1.5em;
    font-weight: bold;
}

#sig-canvas {
    border: 2px dotted var(--bs-border-color);
    border-radius: 5px;
    cursor: crosshair;
}

.fademe {
    opacity: 0;
    animation: fademe 15s ;
    animation-timing-function: ease-in;
}

.slidein {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    transition: all 0.5s ease;
}

.slidein.htmx-added {
    opacity: 0;
    transform: translateX(10%) rotate(0deg);
    transition: opacity 0.2s ease-out;
}

.circular img {
    border-radius:100%;
    border: 5px solid var(--bs-body-bg);
}


.autoExpand {
    transition: height 0.2s ease-in-out;
}

.autoExpand:focus {
    height: 400px !important;
}


@keyframes fademe {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@font-face {
    font-family: 'Gordita Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Regular'), url('/static/fonts/Gordita Regular.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Regular Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Regular Italic'), url('/static/fonts/Gordita Regular Italic.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Thin';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Thin'), url('/static/fonts/Gordita Thin.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Thin Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Thin Italic'), url('/static/fonts/Gordita Thin Italic.woff') format('woff');
}


@font-face {
    font-family: '/static/fonts/Gordita Light';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Light'), url('/static/fonts/Gordita Light.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Light Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Light Italic'), url('/static/fonts/Gordita Light Italic.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Medium';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Medium'), url('/static/fonts/Gordita Medium.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Medium Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Medium Italic'), url('/static/fonts/Gordita Medium Italic.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Bold'), url('/static/fonts/Gordita Bold.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Bold Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Bold Italic'), url('/static/fonts/Gordita Bold Italic.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Black';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Black'), url('/static/fonts/Gordita Black.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Black Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Black Italic'), url('Gordita Black Italic.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Ultra';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Ultra'), url('Gordita Ultra.woff') format('woff');
}


@font-face {
    font-family: 'Gordita Ultra Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Gordita Ultra Italic'), url('Gordita Ultra Italic.woff') format('woff');
}

.list-group {
    width: 100%;
    max-width: 460px;
    margin-inline: 1.5rem;
}

.form-check-input:checked + .form-checked-content {
    opacity: .5;
}

.form-check-input-placeholder {
    border-style: dashed;
}
[contenteditable]:focus {
    outline: 0;
}

.list-group-checkable .list-group-item {
    cursor: pointer;
}
.list-group-item-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}
.list-group-item-check:hover + .list-group-item {
    background-color: var(--bs-secondary-bg);
}
.list-group-item-check:checked + .list-group-item {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.list-group-item-check[disabled] + .list-group-item,
.list-group-item-check:disabled + .list-group-item {
    pointer-events: none;
    filter: none;
    opacity: .5;
}

.list-group-radio .list-group-item {
    cursor: pointer;
    border-radius: .5rem;
}
.list-group-radio .form-check-input {
    z-index: 2;
    margin-top: -.5em;
}
.list-group-radio .list-group-item:hover,
.list-group-radio .list-group-item:focus {
    background-color: var(--bs-secondary-bg);
}

.list-group-radio .form-check-input:checked + .list-group-item {
    background-color: var(--bs-body);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 2px var(--bs-primary);
}
.list-group-radio .form-check-input[disabled] + .list-group-item,
.list-group-radio .form-check-input:disabled + .list-group-item {
    pointer-events: none;
    filter: none;
    opacity: .5;
}


.htmx-indicator{
    opacity:0;
    transition: opacity 1000ms ease-in;
}
.htmx-request .htmx-indicator{
    opacity:1;
}
.htmx-request.htmx-indicator{
    opacity:1;
}

details.accordion-item:not([open]) .accordion-button {
    background-color: var(--bs-accordion-bg);
}

details.accordion-item:not([open]) .accordion-button::after {
    background-image: var(--bs-accordion-btn-active-icon);
    transform: unset;
}

details.accordion-item[open] .accordion-button::after {
    background-image: var(--bs-accordion-btn-icon);
    transform: var(--bs-accordion-btn-icon-transform);
}

 .rotate-text {
     transform: rotate(-90deg);

     font-size: 0.9em;
     text-wrap: nowrap;
 }
