﻿:root,
[data-bs-theme=light] {
    --bs-font-sans-serif: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --bs-font-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

[data-bs-theme=dark] {
}


a.softdesign-link {
    text-decoration: none;
    transition: all ease-in-out 0.3s;
}

    a.softdesign-link:hover {
        background-color: #020578;
        padding: 10px;
        color: #fcfe4b;
    }

a.raredisease-link {
    text-decoration: none;
    transition: all ease-in-out 0.3s;
}

    a.raredisease-link:hover {
        /*padding: 10px;
        background-color: #000000;*/
    }

    a.raredisease-link > span {
        transition: all ease-in-out 0.3s;
    }

    a.raredisease-link:hover > span {
        font-weight: 600;
    }

    a.raredisease-link:hover .part-one {
        color: #b8006a;
    }

    a.raredisease-link:hover .part-two {
        color: #3266a1;
        letter-spacing: 1.2px;
    }

@media (min-width: 1200px) {
    .auth-full-bg {
        /*height: 100vh;*/
        height: 100%;
    }
}

.width-fit-content {
    max-width: fit-content !important;
}

.text-white {
    color: white !important;
}

.text-justify {
    text-align: justify !important;
}

.navbar-brand-box .logo img,
.auth-logo img {
    width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    object-position: left;
}

.validation-summary-errors {
    width: 100%;
    margin-top: 5px;
}

    .validation-summary-errors ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .validation-summary-errors[role="alert"] {
        background-color: #ffe0db;
        border-color: #ffc5bb;
        color: #ff3e1d;
        position: relative;
        padding: 0.9375rem 0.9375rem;
        margin-bottom: 1rem;
        border: 0 solid transparent;
        border-radius: 0.375rem;
    }

fieldset {
    border: 1px solid #ced4da;
    padding: 10px;
}

    fieldset > legend {
        float: none;
        width: auto;
        font-size: 1rem;
    }

/*select2 customizations*/
.select2.select2-container:not(table *) {
    width: 100% !important;
}

.select2-container--bootstrap-5 .select2-selection {
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
}

    .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__group {
        color: black;
        font-size: 1rem;
    }

   
/************************/

.section-group-form-fields-repeater {
    border: 1px solid #ced4da;
    padding: 20px 20px;
    border-radius: .25rem;
}

table .form-label {
    margin-bottom: 0;
}

.table-hover > tbody > tr.no-hover:hover > * {
    --bs-table-color-state: revert;
    --bs-table-bg-state: revert;
}

.nav-episkepseis.nav-pills .nav-link.active,
.nav-episkepseis.nav-pills .show > .nav-link {
    background-color: var(--bs-secondary-color);
}

@media (min-width: 992px) {
    .patient-search-wrapper {
        min-width: 400px;
    }

    .sidebar-sticky {
        position: sticky;
        top: calc(1rem + 70px); /*magic number 70px is the height of the header menu*/
        left: 0;
        width: 100%;
    }
}

/*Role-Checkbox*/
.role-checkbox input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

    .role-checkbox input[type="checkbox"] + label {
        padding: 0.52em 0.593em;
        font-size: 1rem;
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        border-radius: 0.25rem;
        background-color: #e7e7ff;
        color: #696cff;
        cursor: pointer;
    }

    .role-checkbox input[type="checkbox"] + label {
        background-color: #ffe0db;
        color: #ff3e1d;
        text-decoration: line-through;
    }

    .role-checkbox input[type="checkbox"]:checked + label {
        background-color: #e7e7ff;
        color: #696cff;
        text-decoration: none;
    }
/**********************************/

/*------Cards Customizations----------*/

.card.card-collapsible .card-title{
    margin-bottom:0;
}

    .card.card-collapsible .card-title > .form-check.form-switch {
        cursor: revert;
        display: flex;
        gap: 10px;
        align-content: center;
        align-items: center;
    }

.card.card-collapsible .card-content{
    margin-top:7px;
}

.card-collapsible:has(.card-title .form-check-input:not(:checked)) .card-content {
    display: none;
}

.card-collapsible:has(.card-title .form-check-input:checked) .card-content{
    display:block;
}

/*************************************/

.table-responsive {
    scrollbar-color: #343a40 #ced4da;
    scrollbar-width: thin;
}

.table.table-with-counter {
    counter-reset: row-counter;
}

.table.table-with-counter tbody tr {
    counter-increment: row-counter;
}

.table.table-with-counter tbody td:first-child::before {
    content: counter(row-counter);
    display: block;
    text-align: center;
}

table .tbody-previous tr,
table .tbody-previous td {
    background-color: aliceblue !important;
}

.datepicker.datepicker-dropdown{
    z-index:1055!important;
}

input[type=range][orient=vertical] {
    writing-mode: vertical-lr;
    direction: rtl;
    appearance: slider-vertical;
    width: 16px;
    vertical-align: bottom;
}

.questionnaire-apotelesma {
    background-color: white;
    color: black;
    font-weight: 700;
    padding: 10px;
    font-size: 16px;
    border-radius: 100vmax;
    margin-left: 10px;
}