/* CHART 

Primary : #f57c00
Secondary : #7d65b7
color : #302D2A
Orange : #F08700
Picto-secondary : D5F3FF */

body {
    background-color: #fff3e0;
}

.bck-pattern {
    background-image: url('../img/pattern/pattern_halloween.png');
    background-repeat: repeat;
    background-size: contain;
    background-size: 250px auto;
}
/* Nav Front */

.nav-front {
    background-color: #302D2A;
    padding: 20px;
    border-radius: 20px;
}

.nav-welcome {
    background-color: #fff;
    height: 80px;
    width: 100%;
    border-radius: 100px;
}

.click-through {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
}

.nav-container,
.container-own {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
}

.nav-container-v2 {
    background-color: #EEF0F8;
    border: 6px solid #fff;
    border-radius: 20px;
    background-repeat: repeat;
}

.nav-menu-frame {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    background-color: #7d65b7;
    border-radius: 100px;
}

.container-code {
    background-color: #333;
    border-radius: 20px;
    padding: 20px;
    color: #fff;
}

.carousel-text {
    padding: 20px;
}

.carousel-indicators {
    bottom: 5px;
}

.nav-picto-frame,
.nav-square-frame {
    
    background-color: #f57c00;
    border-radius: 100px;
    min-width: 40px;
    min-height: 40px;
    color: #fff;
}

.nav-square-frame {
    border-radius: 5px;
    background-color: #7d65b780;
    transition: 0.3s;
}

.nav-square-active {
    background-color: #7d65b7;
}

a:hover .nav-square-frame {
    background-color: #7d65b7;
}

.sticky-section {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #EEF0F8;
    padding: 10px 0;
}

.sticky-table {
    position: sticky;
    top: 0px;
    z-index: 100;
    margin: 20px;
}

.sticky {
    height: 50px;
    vertical-align: middle;
    background-color: #fff!important;
}

.sticky th {
    border-radius: 0! important;
}


/* Progress-bar */

.progress-bar {
    background-color: #302D2A;
}


/* Alerts */

.alert-own {
    margin: 0;
    padding: 5px;
    border-radius: 20px;
}

.bg-primary-own {
    background-color: #302D2A;
    color: #fff;
}

.bg-secondary-own {
    background-color: #F08700;
    color: #fff;
}

.bg-success-own {
    background-color: #20c997;
    color: #fff;
}

.bg-danger-own {
    background-color: #DC3545;
    color: #fff;
}


/* Spinner */

.spinner-own {
    position: absolute;
    top: 0;
    left: 0;
    background-color: RGBA(238, 240, 248, 0.5);
    z-index: 9999;
    transition: 0.5s;
}


/* Line blinker */

@keyframes blink-bg {
    0%,
    100% {
        background-color: transparent;
    }
    50% {
        background-color: #302D2A80;
    }
}

.blink-bg {
    animation: blink-bg 0.5s ease-in-out 0s 3;
    /* 0.5s per blink, 3 blinks */
}


/* Cards */

.card-own {
    border-radius: 10px;
    border: none;
}


/* Images  */

.login-img {
    height: 100%;
    opacity: 0.3;
    object-fit: cover;
}

.avatar-box,
.avatar,
.avatar-big {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 100px;
    overflow: hidden;
    border: none;
}

.avatar-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: 2px solid #fff;
    background-color: #EEF0F8;
}

.avatar-box img,
.avatar img,
.avatar-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    border: 1px dashed #7d65b7;
    background-color: rgba(125, 101, 183, 0.2);
    /* Adjust the overlay color and opacity as needed */
    opacity: 0;
    transition: opacity 0.5s;
    /* Add a transition for a smooth fade-in effect */
}

.avatar-box:hover::before {
    opacity: 1;
    /* Show the overlay when hovering */
}

.profil-box {
    border-radius: 20px;
    border: 1px solid #EEF0F8;
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profil-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profil-box::before {
    display: flex;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    justify-content: center;
    align-items: center;
    content: "Supprimer";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: #DC354580;
    /* Adjust the overlay color and opacity as needed */
    opacity: 0;
    transition: opacity 0.5s;
    /* Add a transition for a smooth fade-in effect */
}

.profil-box:hover::before {
    opacity: 1;
    /* Show the overlay when hovering */
}

.flip {
    transform: scale(-1, -1);
}


/* Table */

.thead-own {
    background-color: #EEF0F8;
    border-radius: 20px;
}

.td-hover:hover {
    background-color: #7d65b7;
    color: #fff !important;
    transition: 0.5s;
    cursor: pointer;
}

tr.table-state:hover {
    background-color: #f57c0080;
}

.th-pointer {
    cursor: pointer;
}

.table-info-own {
    background-color: #e2f6ff!important;
}


/* modals */

.modal-header {
    background-color: #f57c00;
    color: #fff;
}

.modal-header .btn-close {
    background-color: #fff;
    opacity: 1;
}


/* Offcanvas */

.offcanvas {
    background-color: #fff3e0;
}


/* Forms */

.search-bar {
    text-align: center;
    border: none;
    border-bottom: 2px solid #302D2A;
    padding: 5px 20px;
    transition: 0.3s;
}

.search-bar:active,
.search-bar:focus-visible {
    border-bottom: 2px solid #f57c00;
    outline: none;
}

.item-number {
    border: none;
}

.search-bar-container {
    position: relative;
    width: 100%;
}

.clear-button {
    position: absolute;
    right: 10px;
    /* Adjust the right position as needed */
    top: 52%;
    transform: translateY(-50%);
    cursor: pointer;
}

.form-list-chck {
    border: 1px solid #DEE2E6;
    border-radius: 5px;
    padding: 20px;
    height: 200px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow: auto;
}

.form-list-chck .form-check {
    margin: 0;
    padding: 10px;
    border-radius: 5px;
    background-color: #eef0f8;
}

.form-check-label {
    margin: 0;
    padding: 0;
}

.form-check-input {
    margin-right: 5px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    /* Align checkbox and text vertically */
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    /* Adjust space between checkbox and text */
}

.form-check .form-check-input {
    margin-left: 0;
}


/* Buttons */

.btn-frame,
.btn-frame:hover {
    display: block;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-option-own {
    background-color: #EEF0F8;
    text-decoration: none!important;
    border: none;
    color: #302D2A;
    border-radius: 20px;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
}


/* Buttons outline  */

.btn-outline-primary-own {
    color: #2f97c1;
    background-color: #fff;
    border: 1px solid #2f97c1;
}

.btn-outline-primary-own:hover {
    background-color: #f57c0080;
    color: #fff;
}

.btn-outline-secondary-own {
    color: #ffa000;
    background-color: #fff;
    border: 1px solid #ffa000;
}

.btn-outline-secondary-own:hover {
    background-color: #ffa000;
    color: #fff;
}

.btn-outline-success-own {
    color: #20c997;
    background-color: #fff;
    border: 1px solid #20c997;
}

.btn-outline-success-own:hover {
    background-color: #20c997;
    color: #fff;
}

.btn-outline-danger-own {
    color: #DC3545;
    background-color: #fff;
    border: 1px solid #DC3545;
}

.btn-outline-danger-own:hover {
    background-color: #DC3545;
    color: #fff;
}

.btn-outline-close-own {
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #6c757d;
}

.btn-outline-close-own:hover {
    background-color: #6c757d;
    color: #fff;
}


/* Button full */

.btn-full,
.btn-full:hover {
    border: none;
    color: #fff;
}

.btn-primary-own {
    background-color: #f57c00;
}

.btn-primary-own:hover {
    background-color: #f57c0080;
}

.btn-secondary-own {
    background-color: #ffa000;
}

.btn-secondary-own:hover {
    background-color: #ffa00080;
}

.btn-danger-own,
.danger-own {
    background-color: #DC3545;
}

.btn-danger-own:hover {
    background-color: #DC354580;
}

.btn-success-own,
.success-own {
    background-color: #28ada3;
}

.btn-success-own:hover {
    background-color: #28ada380;
}

.btn-disabled {
    background-color: #e0e0e0;
}


/* Checkbox */

.form-check {
    margin: 0;
    padding: 0;
}

.success-container,
.success-container-child {
    border: 1px solid #302D2A;
    border-radius: 5px;
}

.success-container-child {
    position: relative;
    width: 70px;
    height: 70px;
    background-color: #80cbc4;
}

.success-container-trombi {
    color: #fff;
}

.success-container-child-trombi {
    border: 1px solid #fff;
    border-radius: 5px;
}

.success-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-chk,
.btn-chk-post,
.btn-chk-task {
    display: none;
}

.btn-chk-label {
    display: inline-block;
    background-color: #f44336;
    color: #fff;
    padding: 5px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.two-column-div {
    column-count: 2;
    /* Set the number of columns to 2 */
    column-gap: 20px;
    /* Adjust the gap between columns as needed */
    width: 100%;
    /* Set the width of the div */
}

.two-column-div p {
    margin: 0;
    /* Remove default margin on <p> elements */
}

.btn-chk-fix {
    width: 100px;
    text-align: center;
}

.btn-chk-lg {
    width: 100%;
    text-align: center;
}

.btn-chk-label:hover {
    background-color: #b71c1c;
}

.btn-chk:checked+.btn-chk-label {
    background-color: #f57c00;
}

.btn-chk-label::before {
    content: "Non";
}

.btn-chk:checked+.btn-chk-label::before {
    content: "Oui";
}

.btn-chk-label-post,
.btn-chk-label-task {
    display: inline-block;
    background-color: #7d65b7;
    color: #fff;
    padding: 5px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1;
}

.btn-chk-label-post:hover {
    background-color: #7d65b7;
}

.btn-chk-post:checked+.btn-chk-label-post {
    background-color: #ffa000;
}

.btn-chk-label-post::before {
    content: "Non";
}

.btn-chk-post:checked+.btn-chk-label-post::before {
    content: "Oui";
}

.btn-chk-label-task:hover {
    background-color: #7d65b780;
}

.btn-chk-task:checked+.btn-chk-label-task {
    background-color: #ffa000;
}

.btn-chk-label-task::before {
    content: "Oui";
}

.btn-chk-task:checked+.btn-chk-label-task::before {
    content: "Non";
}


/* Pagination  */

.pagination {
    justify-content: center;
}

.pagination .page,
.pagination .next,
.pagination .last,
.pagination .first,
.pagination .previous {
    border: 1px solid #f57c00;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 5px;
}

.pagination .page a,
.pagination .next a,
.pagination .last a,
.pagination .first a,
.pagination .previous a {
    text-decoration: none;
    color: #f57c00;
}

.pagination .current {
    border: 1px solid #f57c00;
    background-color: #f57c00;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 5px;
}


/* Fonts */

.text-primary-own {
    color: #302D2A!important;
}

.text-green {
    color: #28ada3!important;
}

.text-secondary-own {
    color: #ffa000!important;
}

.text-blue {
    color: #f57c00!important;
}

.text-purple {
    color: #7d65b7!important;
}

a {
    color: #302D2A;
    transition: 0.3s;
}

a:hover {
    text-decoration: underline;
    color: #f57c00;
}

.a-td:hover {
    text-decoration: none;
    color: #FFF;
}

p {
    margin: 0;
}


/* Tooltip */

.tooltip.custom-tooltip .tooltip-inner {
    background-color: #302D2A;
    border: 2px solid #302D2A;
    color: #fff;
}

.tooltip.custom-tooltip .tooltip-arrow::before {
    border-bottom-color: #302D2A !important;
    border-top-color: #302D2A !important;
}


/* Dropdown */

.dropdown-menu {
    position: absolute;
    z-index: 9999;
}

.dropdown-item-own {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
}

.dropdown-item-own:hover {
    text-decoration: none;
}

.dropdown-item:focus,
.dropdown-item:active {
    color: #302D2A !important;
    background-color: transparent !important;
    text-decoration: none !important;
}


/* Animate */

.animate__delay-00s {
    animation-delay: 0s;
}

.animate__delay-02s {
    animation-delay: 0.2s;
}

.animate__delay-04s {
    animation-delay: 0.4s;
}

.animate__delay-06s {
    animation-delay: 0.6s;
}

.animate__delay-08s {
    animation-delay: 0.8s;
}

.thx {
    font-size: 5rem;
}

.thx::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: #e0ffff;
    z-index: -1;
}

.thx:hover::before {
    animation: animate 12ms ease-in-out infinite;
    z-index: 1;
}

@keyframes animate {
    0%,
    100% {
        top: -7px;
        left: 0;
        opacity: 1;
    }
    20% {
        top: 0;
        left: -10px;
        opacity: 0.7;
    }
    40% {
        top: 7px;
        left: 0;
        opacity: 0.2;
    }
    60% {
        top: 0;
        left: 10px;
        opacity: 0.3;
    }
    80% {
        top: 0;
        left: 0;
        opacity: 0.9;
    }
}


/* Custom bootstrap  */

.w-70 {
    width: 70%;
}

.responsive-heading {
    font-size: 1.5rem;
}

.cursor-pointer {
    cursor: pointer;
}


/* Iframe */

.iframe-container {
    width: 100%;
    max-height: 100%;
    display: flex;
    flex-grow: 1;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* Checklist */

.custom-radio-group .form-check {
    display: inline-flex;
    margin-right: 10px ; /* Add space between the buttons */
    align-items: center;
    justify-content: center;
    
}

.custom-radio-group label {
    display: inline-flex;
    align-items: center; /* Ensure label text is vertically aligned */
    margin: 0;            /* Remove default label margin */
    font-size: 1.1rem;
    font-weight: bold;
}

/* Hide default radio button */
.custom-radio-group input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    border: 2px solid #f57c00;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    vertical-align: middle;
}

/* Custom checked effect */
.custom-radio-group input[type="radio"]:checked {
    background-color: #7d65b7;
    border-color: #7d65b7;
}

.custom-radio-group input[type="radio"][value="0"]:checked {
    background-color: #f44336;
    border-color: #f44336;
}

.custom-radio-group input[type="radio"][value="1"]:checked {
    background-color: #28ada3;
    border-color: #28ada3;
}

/* Add inner dot when checked */
.custom-radio-group input[type="radio"]:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Custom focus effect */
.custom-radio-group input[type="radio"]:focus {
    outline-offset: 3px;
}


/* .ok-background {
    background-color: #d4edda !important;
    color: #20c997;
    font-weight: bold;
}

.ko-background {
    background-color: #f8d7da !important;
    color: #dc3545;
    font-weight: bold;
}

.na-background {
    background-color: lightgray !important;
    color: grey;
    font-weight: bold;
} */

/* Customize the scrollbar track (the area behind the thumb) */

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-thumb {
    background-color: #f57c0080;
    border-radius: 6px;
    transition: background-color 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #f57c00;
}

::-webkit-scrollbar-thumb:active {
    background-color: #f57c00;
}

.reset-this {
    animation: none;
    animation-delay: 0;
    animation-direction: normal;
    animation-duration: 0;
    animation-fill-mode: none;
    animation-iteration-count: 1;
    animation-name: none;
    animation-play-state: running;
    animation-timing-function: ease;
    backface-visibility: visible;
    background: 0;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-position-x: 0;
    background-position-y: 0;
    background-repeat: repeat;
    background-size: auto auto;
    border: 0;
    border-style: none;
    border-width: medium;
    border-color: inherit;
    border-bottom: 0;
    border-bottom-color: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-style: none;
    border-bottom-width: medium;
    border-collapse: separate;
    border-image: none;
    border-left: 0;
    border-left-color: inherit;
    border-left-style: none;
    border-left-width: medium;
    border-radius: 0;
    border-right: 0;
    border-right-color: inherit;
    border-right-style: none;
    border-right-width: medium;
    border-spacing: 0;
    border-top: 0;
    border-top-color: inherit;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top-style: none;
    border-top-width: medium;
    bottom: auto;
    box-shadow: none;
    box-sizing: content-box;
    caption-side: top;
    clear: none;
    clip: auto;
    color: inherit;
    columns: auto;
    column-count: auto;
    column-fill: balance;
    column-gap: normal;
    column-rule: medium none currentColor;
    column-rule-color: currentColor;
    column-rule-style: none;
    column-rule-width: none;
    column-span: 1;
    column-width: auto;
    content: normal;
    counter-increment: none;
    counter-reset: none;
    cursor: auto;
    direction: ltr;
    display: inline;
    empty-cells: show;
    float: none;
    font: normal;
    font-family: inherit;
    font-size: medium;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    height: auto;
    hyphens: none;
    left: auto;
    letter-spacing: normal;
    line-height: normal;
    list-style: none;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: disc;
    margin: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    max-height: none;
    max-width: none;
    min-height: 0;
    min-width: 0;
    opacity: 1;
    orphans: 0;
    outline: 0;
    outline-color: invert;
    outline-style: none;
    outline-width: medium;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    padding: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    page-break-after: auto;
    page-break-before: auto;
    page-break-inside: auto;
    perspective: none;
    perspective-origin: 50% 50%;
    position: static;
    /* May need to alter quotes for different locales (e.g fr) */
    quotes: '\201C' '\201D' '\2018' '\2019';
    right: auto;
    tab-size: 8;
    table-layout: auto;
    text-align: inherit;
    text-align-last: auto;
    text-decoration: none;
    text-decoration-color: inherit;
    text-decoration-line: none;
    text-decoration-style: solid;
    text-indent: 0;
    text-shadow: none;
    text-transform: none;
    top: auto;
    transform: none;
    transform-style: flat;
    transition: none;
    transition-delay: 0s;
    transition-duration: 0s;
    transition-property: none;
    transition-timing-function: ease;
    unicode-bidi: normal;
    vertical-align: baseline;
    visibility: visible;
    white-space: normal;
    widows: 0;
    width: auto;
    word-spacing: normal;
    z-index: auto;
    /* basic modern patch */
    all: initial;
    all: unset;
}