﻿body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

@media screen and (min-width: 768px) {
    .txtImgHome {
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 30px;
    }
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.4);
    border-radius: 8px;
    -webkit-border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(100,100,100,0.8);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

html {
    background-color: #F1FFFF;
}

.titleAdd {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-div {
    background-color: rgba(33, 37, 41);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

input[type="checkbox"] {
    margin-right: 10px;
}

table {
    table-layout: fixed;
    overflow-wrap: break-word;
}

td {
    padding: 5px;
}

.infoTitle {
    font-size: 20px;
    margin-left: 10px;
}

.form-floating label {
    word-wrap: break-word;
    white-space: normal;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .custom-select-button:hover {
        background-color: #f8f9fa;
        border-color: #6c757d;
    }

    .custom-select-button i {
        transition: transform 0.3s ease;
    }

.custom-select-wrapper.active .custom-select-button i {
    transform: rotate(180deg);
}

.custom-dropdown {
    display: none;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px;
    transition: all 0.3s ease;
}

    .custom-dropdown .custom-option {
        padding-left: 10px;
        border-top: 1px solid lightgray;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

        .custom-dropdown .custom-option .fa-check {
            display: none;
        }

        .custom-dropdown .custom-option:hover {
            background-color: #f1f1f1;
        }

        .custom-dropdown .custom-option.selected {
            background-color: #4e87ff;
            color: white;
        }

            .custom-dropdown .custom-option.selected .fa-check {
                display: unset;
            }

    .custom-dropdown .custom-group {
        font-weight: bold;
        background-color: lightgray;
        padding: 5px;
        color: black;
    }

.custom-select-wrapper.active .custom-dropdown {
    display: block;
}

.selected-text {
    font-weight: bold;
    color: #007bff;
}

.custom-option ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.custom-option.selected ul li {
    color: white;
}

.table-sortable {
    table-layout: fixed;
}

.table-sortable th {
    cursor: pointer;
    background-color: #4E8B8C;
    color: white;
    border-width: 5px;
    border-color: white;
}

.table-sortable td {
    border-width: 5px;
    border-color: white;
}

.table-sortable .th-sort-asc::after {
    content: "\25b4";
}

.table-sortable .th-sort-desc::after {
    content: "\25be";
}

.table-sortable .th-sort-asc::after,
.table-sortable .th-sort-desc::after {
    margin-left: 5px;
}

.txtImgHome {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.multi-select {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    position: relative;
    width: 100%;
    user-select: none;
}

    .multi-select .multi-select-header {
        border: 1px solid #dee2e6;
        padding: 7px 30px 7px 12px;
        overflow: hidden;
        gap: 7px;
        min-height: 45px;
    }

        .multi-select .multi-select-header::after {
            content: "";
            display: block;
            position: absolute;
            top: 50%;
            right: 15px;
            transform: translateY(-50%);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
            height: 12px;
            width: 12px;
        }

        .multi-select .multi-select-header.multi-select-header-active {
            border-color: #c1c9d0;
        }

            .multi-select .multi-select-header.multi-select-header-active::after {
                transform: translateY(-50%) rotate(180deg);
            }

            .multi-select .multi-select-header.multi-select-header-active + .multi-select-options {
                display: flex;
            }

        .multi-select .multi-select-header .multi-select-header-placeholder {
            color: #65727e;
        }

        .multi-select .multi-select-header .multi-select-header-option {
            display: inline-flex;
            align-items: center;
            background-color: #f3f4f7;
            font-size: 14px;
            padding: 3px 8px;
            border-radius: 5px;
        }

        .multi-select .multi-select-header .multi-select-header-max {
            font-size: 14px;
            color: #65727e;
        }

    .multi-select .multi-select-options {
        display: none;
        box-sizing: border-box;
        flex-flow: wrap;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        margin-top: 5px;
        padding: 5px;
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        max-height: 200px;
        overflow-y: auto;
        overflow-x: hidden;
    }

        .multi-select .multi-select-options::-webkit-scrollbar {
            width: 5px;
        }

        .multi-select .multi-select-options::-webkit-scrollbar-track {
            background: #f0f1f3;
        }

        .multi-select .multi-select-options::-webkit-scrollbar-thumb {
            background: #cdcfd1;
        }

            .multi-select .multi-select-options::-webkit-scrollbar-thumb:hover {
                background: #b2b6b9;
            }

        .multi-select .multi-select-options .multi-select-option, .multi-select .multi-select-options .multi-select-all {
            padding: 4px 12px;
            height: 42px;
        }

            .multi-select .multi-select-options .multi-select-option .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all .multi-select-option-radio {
                margin-right: 14px;
                height: 16px;
                width: 16px;
                border: 1px solid #ced4da;
                border-radius: 4px;
            }

            .multi-select .multi-select-options .multi-select-option .multi-select-option-text, .multi-select .multi-select-options .multi-select-all .multi-select-option-text {
                box-sizing: border-box;
                flex: 1;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                color: inherit;
                font-size: 16px;
                line-height: 20px;
            }

            .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio {
                border-color: #40c979;
                background-color: #40c979;
            }

                .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio::after, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio::after {
                    content: "";
                    display: block;
                    width: 3px;
                    height: 7px;
                    margin: 0.12em 0 0 0.27em;
                    border: solid #fff;
                    border-width: 0 0.15em 0.15em 0;
                    transform: rotate(45deg);
                }

            .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-text, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-text {
                color: #40c979;
            }

            .multi-select .multi-select-options .multi-select-option:hover, .multi-select .multi-select-options .multi-select-option:active, .multi-select .multi-select-options .multi-select-all:hover, .multi-select .multi-select-options .multi-select-all:active {
                background-color: #f3f4f7;
            }

        .multi-select .multi-select-options .multi-select-all {
            border-bottom: 1px solid #f1f3f5;
            border-radius: 0;
        }

        .multi-select .multi-select-options .multi-select-search {
            padding: 7px 10px;
            border: 1px solid #dee2e6;
            border-radius: 5px;
            margin: 10px 10px 5px 10px;
            width: 100%;
            outline: none;
            font-size: 16px;
        }

            .multi-select .multi-select-options .multi-select-search::placeholder {
                color: #b2b5b9;
            }

    .multi-select .multi-select-header, .multi-select .multi-select-option, .multi-select .multi-select-all {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: center;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 16px;
        color: #212529;
    }

.project-list-table {
    border-collapse: separate;
    border-spacing: 0 12px
}

    .project-list-table tr {
        background-color: #fff
    }

.table-nowrap td, .table-nowrap th {
    white-space: nowrap;
}

.table-borderless > :not(caption) > * > * {
    border-bottom-width: 0;
}

.table > :not(caption) > * > * {
    padding: 0.75rem 0.75rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.avatar-sm {
    height: 2rem;
    width: 2rem;
}

.rounded-circle {
    border-radius: 50% !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

img, svg {
    vertical-align: middle;
}

a {
    color: #3b76e1;
    text-decoration: none;
}

.badge-soft-danger {
    color: #f56e6e !important;
    background-color: rgba(245,110,110,.1);
}

.badge-soft-success {
    color: #63ad6f !important;
    background-color: rgba(99,173,111,.1);
}

.badge-soft-primary {
    color: #3b76e1 !important;
    background-color: rgba(59,118,225,.1);
}

.badge-soft-info {
    color: #57c9eb !important;
    background-color: rgba(87,201,235,.1);
}

.avatar-title {
    align-items: center;
    background-color: #3b76e1;
    color: #fff;
    display: flex;
    font-weight: 500;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.bg-soft-primary {
    background-color: rgba(59,118,225,.25) !important;
}

.padTab {
    padding-top: 10%;
}

.solution-table {
    font-size: 11px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

    .solution-table th {
        background-color: black;
        color: white;
        padding: 5px;
        text-align: center;
    }

    .solution-table td {
        text-align: center;
        border-top: 1px solid white;
        border-bottom: 1px solid white;
    }

    .solution-table .title {
        text-align: left;
        font-weight: bold;
    }

.align-center {
    text-align: center
}

.container-eg-btn-3 {
    padding: .5em;
    line-height: normal;
}

    .container-eg-btn-3 .button {
        color: #fff;
        padding: 12px 15px;
        text-align: center;
        text-decoration: none;
        position: relative;
        transition: .3s;
        z-index: 1;
        cursor: pointer;
        border-radius: 6px;
    }

    .container-eg-btn-3 .button-1:hover {
        box-shadow: 0 0.6em 0.5em -0.4em #fa4343;
        transform: translateY(-0.25em);
        background: #fa4343;
    }

#containerBoxSortDrag {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
}

.blockSortDrag {
    width: 95%;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
    padding: 1px 10px 1px 5px;
    margin: 5px 0;
    background: lightblue;
    border-radius: 5px;
    font-size: 1em;
    user-select: none;
}
    .blockSortDrag span {
        color: red;
        font-size: 1.2em;
    }

    .blockSortDrag.special {
        width: 100%;
        background: #0d6efd;
        color: white;
        font-size: 1.1em;
        font-weight: bold;
        padding: 2px 10px 2px 7px;
        gap: 10px;
        cursor: grab;
    }

.btnSortDrag {
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: block;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background: gray;
    color: white;
    border-radius: 50%;
    padding-top: 15%;
    text-align: center;
    user-select: none;
}

.placeholderSortDrag {
    height: 50px;
    background: rgba(255, 165, 0, 0.2);
    border: 2px dashed orange;
    margin: 5px 0;
    border-radius: 5px;
}

.priority {
    font-weight: bold;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }

    60% {
        transform: translateX(10%);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
    }
}

.custom-toast.showing {
    animation: slideInLeft 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-120%);
        opacity: 0;
    }
}

.custom-toast.hide {
    animation: slideOutLeft 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.strikethrough {
    position: relative;
}

    .strikethrough:before {
        position: absolute;
        content: "";
        left: 0;
        top: 50%;
        right: 0;
        border-top: 1px solid;
        border-color: inherit;
        -webkit-transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
        -ms-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }

.floating-select {
    position: relative;
}

    .floating-select select {
        width: 100%;
        padding: 1.7rem 0.8rem 0.5rem;
        font-size: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        background-color: #fff;
        appearance: none;
        outline: none;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

    .floating-select::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 1rem;
        width: 0.6rem;
        height: 0.6rem;
        border-right: 2px solid #6c757d;
        border-bottom: 2px solid #6c757d;
        transform: translateY(-50%) rotate(45deg);
        pointer-events: none;
    }

    .floating-select select:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25);
    }

    .floating-select label {
        position: absolute;
        left: 0.5rem;
        top: 0.6rem;
        font-size: 0.85rem;
        color: rgba(var(--bs-body-color-rgb),.65);
        background: #fff;
        padding: 0 0.35rem;
        pointer-events: none;
    }

    .floating-select select:has(option:checked[value=""]) {
        padding-top: 1.35rem;
    }

        .floating-select select:has(option:checked[value=""]) + label {
            top: 50%;
            transform: translateY(-50%);
            font-size: 1rem;
            color: #6c757d;
        }