/** Notifications **/
/*nav {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    background: #AB47BC;*/
/*    height: 60px;*/
/*    position: relative;*/
/*    border-bottom: 1px solid #495057*/
/*}*/

/* Trop petite */
/*@font-face {*/
/*    font-family: 'PixelUniCode';*/
/*    src: url('../fonts/Pixel-UniCode.ttf');*/
/*}*/
/*@font-face {*/
/*    font-family: 'GraphicPixel';*/
/*    src: url('../fonts/graphicpixel.ttf');*/
/*}*/
/*@font-face {*/
/*    font-family: 'PressStart2P';*/
/*    src: url('../fonts/PressStart2P-Regular.ttf');*/
/*}*/
@font-face {
    font-family: 'PixeloidSans';
    src: url('../fonts/PixeloidSans-mLxMm.ttf');
}
@font-face {
    font-family: 'Good Times';
    src: url('../fonts/GoodTimesRg.otf');
}

body {
    /*font-size: 1.2rem;*/
    font-family: "PixeloidSans", monospace;
    color: white;
    background-color: black;
}

body a {
    text-decoration: none;
    color: inherit;
}
body a:hover {
    color: inherit;
}

a:hover .badge {
    opacity: 0.8;
}

#overlay {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
    z-index: 2000000;
}

#loading {
    height: 270px;
    width: 480px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -135px 0 0 -240px;
}

.wave-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 200px;
}
.wave {
    background: #3498db;
    width: 5px;
    height: 50px;
    margin: 0 2px;
    animation: wave-animation 1s infinite;
    animation-timing-function: linear;
}
.wave:nth-child(1) {
    animation-delay: 0s;
}
.wave:nth-child(2) {
    animation-delay: 0.1s;
}
.wave:nth-child(3) {
    animation-delay: 0.2s;
}
.wave:nth-child(4) {
    animation-delay: 0.3s;
}
.wave:nth-child(5) {
    animation-delay: 0.4s;
}
@keyframes wave-animation {
    0%, 100% {
        height: 20px;
    }
    50% {
        height: 50px;
    }
}


.app-bg-gradient {
    background: linear-gradient(75deg, #7dffb2, #1ABC9C, #4A69BD, #EB2F64);
}
.btn-gradient {
    background: linear-gradient(90deg, #7dffb2, #1ABC9C, #4A69BD, #EB2F64);
    border-color: white;
}
.bg-orange {
    background-color: #ff7f2a;
}
.bg-green, .form-control.bg-green:disabled {
    background-color: #76cc50;
}
.bg-blue {
    background-color: #2f52a0;
}
.bg-pink, .form-control.bg-pink:disabled {
    background-color: #cc5076;
}
.bg-grey {
    background-color: #4d4d4d;
}
.bg-dark-green {
    background-color: #0dc28a;
}
.btn-green {
    background-color: #0dc28a;
    border-color: white;
}
.btn-pink {
    background-color: #cc5076;
    border-color: white;
}
.btn-black {
    background-color: black;
}
.btn-black.active {
    background-color: white;
    color: black;
}
.form-control:focus.bg-orange {
    background-color: #ff7f2a;
}
.form-control:focus.bg-dark, .form-control.bg-dark {
    color: white;
}
.text-green {
    color: #76cc50;
}
.text-dark-green {
    color: #0dc28a;
}

/*-------------   NAV     ------------   */
.app-brand img, .app-brand svg {
    height: 80px;
    width: 80px;
    padding: 1px;
}
.app-brand-xs img {
    height: 40px;
}
.app-nav-item {
    padding: 1px 8px;
}
#leftNav .app-nav-item {
    padding: 1px;
}
#leftNav .btn {
    width: 100%;
}
#leftNav .col {
    padding: 0 1px 1px 0;
}

@media (max-width: 991.98px) {
    .app-nav-item {
        font-size: 0.8em;
    }
    #leftNav .btn {
        --bs-btn-font-size: .6rem;
        --bs-btn-padding-y: .25rem;
        --bs-btn-padding-x: .5rem;
    }
    .text-break-sm {
        word-break: break-all;
    }
}


/*#content {*/
/*    padding-top: 50px;*/
/*}*/

@keyframes recording-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
}

.recording-btn-blink {
    animation: recording-glow 0.5s infinite alternate;
}

#recorderContainer {
    background-color: #646156;;
    border-radius: 10px;
    border: 3px solid #1d1e1c;
    padding: 12px;
}

.custom-audio-player {
    display: flex;
    align-items: center;
    background-color: #000; /* Background of the player */
    padding: 10px 0 10px 0;
    border-radius: 10px;
    width: 100%;
}

.custom-button {
    background: linear-gradient(45deg, #7dffb2, #1ABC9C, #4A69BD, #EB2F64); /* Gradient for the button */
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1px;
    width: 50px;
    height: 50px;
}

.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    /*background: linear-gradient(90deg, #7dffb2, #1ABC9C, #4A69BD, #EB2F64); !* Gradient for the slider *!*/
    background-color: #EADCAB;
    height: 50px;
    border: 3px solid #798575;
    border-radius: 10px;
    width: 100%;
    cursor: pointer;
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background-color: #222528;
    width: 10px;
    height: 55px;
    border-radius: 5px;
    cursor: pointer;
}

.custom-slider::-moz-range-thumb {
    background-color: #222528;
    width: 10px;
    height: 55px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-image {
    border: 0;
    padding: 0;
    background-color: transparent;
}
.btn-image:disabled, .btn-image[disabled] {
    opacity: .6;
}

.btn-old-grey {
    background: linear-gradient(45deg, #afa582, #e8d89d);
    background-color: #878065;
    border-radius: 10px;
    border: 3px solid #393e38;
    padding: 12px;
}


#selectionActions {
    display: inline-block;
    position: sticky;
    position: -webkit-sticky;
    bottom: 50px;
    margin-bottom: 8px;
    background-color: lightgrey;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
}

#flashes {
    display: none;
    width: fit-content;
    min-width: 33%;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    z-index: 1040;
}
#flashes .alert {
    padding-left: 40px;
    padding-right: 40px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
}

.disabled-ajax-reload {
    /*background-color: lightgrey;*/
    pointer-events: none;
    opacity: 0.7;
}

@media (max-width: 576px) {
    .row-cols-auto.row-cols-100-xs > * {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {

    .fw-bold-sm {
        font-weight: bold;
    }
    .fs-bigger-sm {
        font-size: 1.2rem;
    }

    tr.collapse-sm > th, .hide-sm, tr.collapse-sm > td.hide-sm {
        display: none !important;
    }
    tr.collapse-sm > th.show-sm {
        display: table-cell !important;
    }
    tr.collapse-sm > th.show-sm.d-flex {
        display: flex !important;
    }
    tr.collapse-sm > td.collapse-sm {
        display: block;
        clear: both;
    }
    /*tr.collapse-sm > td.no-collapse {*/
    /*display: table-cell;*/
    /*clear: none;*/
    /*}*/
    td[data-th]:before {
        content: attr(data-th);
        float: left;
        font-weight: bold;
    }
    td[data-th].h3-sm:before {
        font-size: 1.2rem;
        margin-top: 20px;
        margin-bottom: 10px;
        line-height: 1.1;
    }
    td[data-th], td[data-th].text-center, .text-right-sm {
        text-align: right;
    }
    .table > tbody > tr.collapse-sm > td.collapse-sm {
        border-top: 0;
        border-bottom: 0;
    }
    /*.table > tbody > tr.collapse-sm > td.no-collapse, */
    .table > tbody > tr.collapse-sm > td.show-border-sm {
        border-width: 1px;
    }
    .table > tbody > tr.collapse-sm.collapse-compact > td {
        padding-top: 4px;
        padding-bottom: 4px;
    }
}

.app-shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}
.border-grey-lg {
    border: grey solid 2px;
}

.text-blue {
    color: #2a4990;
}

.text-grey {
    color: #afafaf;
}

.dropdown-toggle.caret-off::before {
    display: none;
}
.dropdown-toggle.caret-off::after {
    display: none;
}

.red-blink {
    animation: red-blink 1s infinite;
}
@keyframes red-blink {
    0%   {color: white;}
    50%  {color: red;}
    100% {color: white;}
}

.image-blink {
    animation: image-blink 10s infinite;
}
@keyframes image-blink {
    0%   {opacity: 1;}
    50%  {opacity: .2;}
    100% {opacity: 1}
}

.plain-blink {
    animation: blink 1s steps(1) infinite;
    -webkit-animation: blink 1s steps(1) infinite;
}
@keyframes plain-blink { 50% { color: transparent; } }
@-webkit-keyframes plain-blink { 50% { color: transparent; } }

audio.fw {
    width: 100%;
    display: block;
    margin: 1rem auto 0.5rem;
}
.delete-btn {
    position: absolute;
    right: -50px;
    top: 0;
}

.pointer-event-none {
    pointer-events: none;
}

.min-width-sm {
    min-width: 160px;
}
.min-width-xl {
    min-width: 240px;
}
.min-width-xxl {
    min-width: 320px;
}

.greyed {
    opacity: .8;
}
.greyed-2 {
    opacity: .5;
}

.typewriter, .typewriter-next {
    visibility: hidden; /* Hide text initially */
}

.typewriter.active::after {
    content: '|';
    animation: blink 1s infinite;
    opacity: 1;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.cursor-pointer {
    cursor: pointer;
}

.border-btn-white {
    border: 2px solid white;
    border-radius: 8px;
}

.badge {
    margin-right: 1px;
}

.table>tbody>tr>td {
    border-top: 3px solid #7b7b7b;
}
.border-left-grey {
    border-left: 1px solid #7b7b7b;
}
.table.inner-table>tbody>tr:first-child>td {
    border-top: 0;
}
.table.inner-table>tbody>tr>td {
    background-color: black;
}
.max-height-sm {
    max-height: 80px;
    overflow-y: auto;
}

.fixed-height {
    max-height: 150px;  /* Set the max height for the div */
    overflow: hidden;   /* Hide content that exceeds the height */
}
.full-height {
    max-height: none;   /* Allow full content when expanded */
}

.bg-moving-gradient {
    background: linear-gradient(-75deg, #000, #0D0D0E, #151517, #1D1E22, #141414,  #ee7752, #e73c7e, #23a6d5, #23d5ab, #141414, #1D1E22, #151517, #0D0D0E, #000);
    background-size: 400% 400%;
    animation: moving-gradient 15s ease infinite;
    min-height: 100vh;
    height: 100%;
}

@keyframes moving-gradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 20% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 20% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.disabled-game-phase * {
    text-decoration: line-through;
}
.disabled-game-phase  {
    /*background-image: url("../images/crossed.png");*/
    /*background-size: 100% 100%;*/
    opacity: .5;
}

.btn-menu {
    min-width: 220px;
    position: relative;
    background-color: white;
    border-radius: 2rem;
    color: #04553c;
    border: 2px solid #0dc28a;
}
.btn-menu-sm {
    background-color: white;
    border-radius: 2rem;
    color: #04553c;
    border: 2px solid #0dc28a;
}
.btn-light.btn-menu:hover, .btn-light.btn-menu-sm:hover, .btn-menu:hover, .btn-menu-sm:hover {
    background-color: #e4e7ff;
    border-radius: 2rem;
    color: #04553c;
    border: 2px solid #04553c;
}
.btn-menu > .badge {
    position: absolute;
    font-size: 1.2rem;
    border: 2px solid #FFF;

}

.badge-user {
    background-color: #e4e7ff;
    border-radius: 2rem;
    color: #04553c;
}

.btn-image:hover, .btn-hover-blur:hover, .hover-blur:hover, .blink-blur {
    /*-webkit-filter: saturate(6);*/
    /*filter: saturate(6);*/
    /*-webkit-filter: brightness(.5);*/
    /*filter: brightness(.5);*/
    /*-webkit-filter: sepia(.3);*/
    /*filter: sepia(.3);*/
    -webkit-filter: blur(1px);
    filter: blur(1px);

    animation: blur-flash 500ms infinite;
}
@keyframes blur-flash {
    0% {    -webkit-filter: blur(0);
        filter: blur(0);}
    20% {    -webkit-filter: blur(1px);
        filter: blur(1px);}
    30% {    -webkit-filter: blur(0);
        filter: blur(0);}
    40% {    -webkit-filter: blur(1px);
        filter: blur(1px);}
    50% {    -webkit-filter: blur(0);
        filter: blur(0);}
    75% {    -webkit-filter: blur(1px);
        filter: blur(1px);}
    100% {    -webkit-filter: blur(0);
        filter: blur(0);}
}

select.grey-placeholder {
    color: black;
}
select.grey-placeholder > option:not(:first-of-type) {
    color: #616161;
}

.select2-container {
    color: black;
}
.loading-keywords .select2-selection {
    background-color: #76cc50;
    transition: background-color 0.3s ease;
}

.blur-content {
    filter: blur(10px);
    pointer-events: none; /* Prevent interactions with blurred content */
}

#upload-progress::-webkit-progress-bar {
    background-color: #eee;
}
#upload-progress::-webkit-progress-value {
    background-color: #17a2b8; /* Bootstrap info color */
}
#upload-progress::-moz-progress-bar {
    background-color: #17a2b8;
}