.custom-modal.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    z-index: 9999999999;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.custom-modal-parent-container{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 500px !important;
    background: #fff;
}





.custom-modal.open,.custom-modal-2.open {
    max-height: 200px;
}
.custom-modal,.custom-modal-2 {
    position: fixed;
    border-radius: 10px;
    display: none;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.5);
    border-top-left-radius:10px ;
    border-top-right-radius:10px;
    /*padding: 16px;*/
    /*height: 70%;*/
    opacity: 0; /* Opacité initiale */
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1); /* Courbe d'accélération personnalisée */
    cursor: pointer;
    z-index: 100000;
    margin: 0 auto;
    max-width: 500px;

}

.custom-modal.open,.custom-modal-2.open {
    display: block;
    opacity: 1;
}

.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.custom-modal-footer {
    text-align: center;
    padding: 8px;
}
.custom-modal-content {
    min-height: 200px;
    max-height: inherit;
    padding: 15px;
    overflow-y: scroll;
    width: calc(100% - 30px);
    overflow-x: hidden;
    position: relative;
}
.overlay-sheet {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
}

.height100 {
    height: 100%;
}

.width100 {
    width: 100%;
}

.width75 {
    width: 75vw;
}

.width66 {
    width: 66vw;
}

.width50 {
    width: 50vw;
}

.width33 {
    width: 33vw;
}

.width25 {
    width: 25vw;
}

.content {
    display: block;
    margin: 0 15%;
}

.left {
    float: left;
}

.right {
    float: right;
}



.appcolor {
    color: #2A579A
}

.appcolor-background {
    background-color: #2A579A;
}

.menubar {
    color: white;
    float: left;
    /*padding-bottom: 10px;*/
}

.menubar button {
    color: white;
    background-color: #2A579A;
    border: none;
    padding: 10px 20px;
}

.menubar button.active {
    background-color: #F1F1F1;
}

.menubar button.disabled {
    opacity: .25;
}

.menubar button.disabled:hover {
    background-color: #3E6DB6;
}

.menubar button:hover {
    background-color: #3E6DB6;
}

.titlebar {
    color: white;
    float: left;
    padding: 0;
}

.titlebar button {
    padding: 10px 15px;
}

.titlebar .left {
    display: block;
}

.titlebar .middle {
    display: block;
    margin: 0 auto;
    text-align: center;
    float: left;
}

.titlebar .right {
    display: block;
    text-align: right;
}

.titlebar .windowtitle {
    padding: 10px 0;
}

.titlebar .windowcontrols {

}

.menubar .filemenu {

}

.menubar .sharemenu {

}

.editor {
    background-color: white;
    width: 100vw;
}

:root {
    --grey: #212121;
    --spot: #68ebbc;
    --animation-speed: 2s;
}

.preloader {
    display: block;
    position: relative;
    width: 16px;
    height: 6px;
    margin: 10px auto;
    background: var(--app-them);
    animation-name: loader;
    animation-duration: var(--animation-speed);
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}
.preloader::before, .preloader::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: var(--app-them);
    animation-duration: var(--animation-speed);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}
.preloader::before {
    left: 0;
    translate: -100% -50%;
    border-right-color: transparent;
    animation-name: loader-left;
}
.preloader::after {
    right: 0;
    translate: 100% -50%;
    border-left-color: transparent;
    animation-name: loader-right;
}
.preloader-ctn{

}
@keyframes loader {
    0%, 10% {
        scale: 1;
    }
    15% {
        scale: 0.7 1.2;
    }
    40%, 60% {
        scale: 1;
    }
    65% {
        scale: 0.7 1.2;
    }
    100% {
        scale: 1;
    }
}
@keyframes loader-left {
    0% {
        translate: -400% -50%;
        scale: 1.3 0.6;
    }
    10%, 60% {
        translate: -100% -50%;
        scale: 1;
    }
    65%, 85% {
        translate: -300% -50%;
    }
    87.5% {
        translate: -310% -50%;
    }
    90% {
        translate: -290% -50%;
    }
    92.5% {
        translate: -310% -50%;
        scale: 1;
    }
    95% {
        translate: -290% -50%;
    }
    100% {
        translate: -400% -50%;
    }
}
@keyframes loader-right {
    0%, 10% {
        translate: 100% -50%;
        scale: 1;
    }
    15%, 35% {
        translate: 300% -50%;
    }
    15% {
        scale: 1.3 0.6;
    }
    20% {
        scale: 1;
    }
    37.5% {
        translate: 310% -50%;
    }
    40% {
        translate: 290% -50%;
    }
    42.5% {
        translate: 310% -50%;
    }
    45% {
        translate: 290% -50%;
        scale: 1;
    }
    50% {
        translate: 400% -50%;
        scale: 1.3 0.6;
    }
    60%, 100% {
        translate: 100% -50%;
        scale: 1;
    }
}