body {
    font-size: 13px;
}

html {
    font-size: 13px;
}

.hidden {
    display: none !important;
}

@keyframes AlertShadow {

    0%,
    50%,
    100% {
        box-shadow: 0 0px 10px rgba(0, 0, 0, 0.4)
    }

    25% {
        box-shadow: 0px 0px 30px rgba(201, 27, 27, 0.7);
    }
}

.btnAlertShadow {
    animation: AlertShadow 2.8s ease-in-out infinite;
}

.modal {
    display: none;
}

.nopadding {
    padding: 0 !important;
    padding: 0 !important;
}

.noypadding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.noxpadding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.DisciplineCard {
    width: fit-content;
    height: fit-content;
    margin-left: 30px;
    margin-right: 30px;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(70%, -15%);
}

.DisciplineCard img {
    transition: .2s;
    width: 120px;
    border-radius: 50%;
}

.DisciplineCard img:hover {
    transform: scale(1.1);
}

.card-close-button {
    position: absolute;
    right: 0;
    top: 0;
    margin-right: .625rem;
    margin-top: .75rem;
}

/* tabs unactive color */
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link {
    color: #517398 !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #000000 !important;
}

@media screen and (max-width: 1300px) {
    .not-mobile {
        display: none !important;
    }

    .mobile-center {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .col-sm-2 {
        flex: none !important;
        max-width: none !important;
    }
}

/* .table td {
    vertical-align: middle !important;
} */

.table-dropdown {
    width: max-content;
}

.table-dropdown>a {
    color: black;
}

.table-dropdown>a:hover {
    color: black;
}

.table-dropdown.show>a::after {
    transform: rotate(90deg);
}

.table-dropdown>a::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
    display: inline-block;
    transition: all 0.3s ease;
}

.Elementmodal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


.AutoComplete-Wrapper {
    margin: 0 auto;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.15);
    position: relative;
    width: 450px;
}

.AutoComplete-input {
    width: 100%;
    border: none;
    height: 50px;
    border-radius: 5px;
    padding: 0px 40px 0px 10px;
    font-size: 18px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

.AutoComplete-input:focus {
    outline: none;
}


.AutoComplete-results {
    position: absolute;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0px;
}

.AutoComplete-results ul {
    margin: 0;
    padding: 0;
}

.AutoComplete-results ul li {
    list-style: none;
    border-radius: 3px;
    opacity: 0;
    display: none;
    padding: 2px 4px;
    transition: all .5s linear;
}

.AutoComplete-show .AutoComplete-results ul li {
    opacity: 1;
    display: block;
}

.AutoComplete-show .AutoComplete-results {
    padding: 10px;
}

.AutoComplete-results ul li:hover {
    background: #ececec
}

.btn.disabled,
.btn:disabled {
    pointer-events: none;
}


.form-check {
    display: block;
    min-height: 1.5rem;
    margin-bottom: .125rem;
    padding-left: 0rem !important;
}

.form-check .form-check-input {
    float: left;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    transition: background-color .15s ease-in-out, background-position .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.form-check-left {
    margin-left: -1.5rem !important;
}

.form-check-right {
    margin-left: 0.5rem !important;
}

@media (prefers-reduced-motion:reduce) {
    .form-check-input {
        transition: none
    }
}

.form-check-input[type=checkbox] {
    border-radius: .25em
}

.form-check-input[type=radio] {
    border-radius: 50%
}

.form-check-input:active {
    filter: brightness(90%)
}

.form-check-input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25)
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")
}

.form-check-input[type=checkbox]:indeterminate {
    background-color: #0d6efd;
    border-color: #0d6efd;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")
}

.form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: .5
}

.form-check-input:disabled~.form-check-label,
.form-check-input[disabled]~.form-check-label {
    opacity: .5
}

.form-switch .form-check-input {
    width: 2em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 2em
}

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")
}

.form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")
}

.form-check-inline {
    display: inline-block;
    margin-right: 1rem
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    overflow: auto;
    border: 1px solid #ddd;
    z-index: 1;
    max-height: 200px;
    overflow: scroll;
}

.dropdown-content>span {
    color: black;
    padding: 6px 10px;
    text-decoration: none;
    display: block;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
}

.dropdown-content>span:hover {
    background-color: #d0dadb;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
}

.show {
    display: block;
}

.modal-backdrop.in {
    display: none !important;
}

#QuotationSelectFromListModal .modal-dialog,
#InvoiceSelectFromListModal .modal-dialog {
    overflow-y: initial !important
}

#QuotationSelectFromListModal .modal-dialog .card-body,
#InvoiceSelectFromListModal .modal-dialog .card-body {
    max-height: 50vh;
    overflow-y: auto;
}

.dragHolder {
    width: 10px;
    cursor: pointer;
}

.dragHolder .fa-ellipsis-v {
    font-size: 15px;
}

.delete-button-overlay {
    position: absolute;
    top: 1px;
    /* Adjust this value to position the button vertically */
    left: 16px;
    /* Adjust this value to position the button horizontally */
    background-color: #a51f1f00;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px; /* Adjust the size if needed */
    color: rgb(255, 255, 255); /* Ensure the icon has a visible color */
}

.delete-button-overlay:hover {
    background-color: #af2725;
}

.divDisplayImages {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping if images overflow the container */
    gap: 10px; /* Adds spacing between images */
}
.divDisplayImages img {
    height: 100px;
    display: inline-block; /* Ensures they stay inline */
}

