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

.bg-evalulu {
    background-color: #500040;
}
.text-mustard {
    color: #e9a12f;
}
.form-label {
    font-weight: bold;
}

#content {
    padding-top: 82px;
}

.icon {
    cursor: pointer;
    margin-right: 15px;
}

/* Pagination PagerFanta */
.page-link {
    color: black;
}
.active > .page-link, .page-link.active {
    color: white;
    background-color: #500040;
    border-color: #500040;
}
.page-link:hover {
    color: black;
    background-color: var(--bs-pagination-hover-bg);
    border-color: var(--bs-pagination-hover-border-color);
}
.page-item.active > .page-link:hover {
    color: black;
    background-color: #ac7caf;
    border-color: #ac7caf;
}

.icon span {
    background: #f00;
    padding: 7px;
    border-radius: 50%;
    color: #fff;
    vertical-align: top;
    margin-left: -25px
}

.icon img {
    display: inline-block;
    width: 26px;
    margin-top: 4px
}

.icon:hover {
    opacity: .7
}

.notifications {
    z-index: 200;
    width: 450px;
    height: 0px;
    /*opacity: 0;*/
    display: none;
    position: absolute;
    top: 63px;
    right: 25px;
    border-radius: 5px 0px 5px 5px;
    padding-bottom: 5px;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.notifications h2 {
    font-size: 14px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #151515;
    background-color: lightgrey;
    font-weight: bold;
    margin-bottom: 0;
}

.notifications h2 span {
    color: #f00
}

.notifications-item {
    display: flex;
    border-top: 1px solid #eee;
    padding: 6px 9px;
    margin-bottom: 0px;
    cursor: pointer
}

.notifications-item:hover {
    background-color: #eee
}

.notifications-item img {
    display: block;
    width: 50px;
    height: 50px;
    margin-right: 9px;
    border-radius: 50%;
    margin-top: 2px}

.notifications-item .text h4 {
    color: #777;
    font-size: 16px;
    margin-top: 3px
}

.notifications-item .text p {
    color: #aaa;
    font-size: 12px
}

@media only screen and (max-width: 1200px) {
    .notifications {
        right: 5px;
        width: 300px;
    }
}
/** END Notifications **/

/****** The switch - the box around the slider *******/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #0A53BE;
}

input:focus + .slider {
    box-shadow: 0 0 1px #0A53BE;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* CHAT MESSAGES  */

.chat-message {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: .8rem;
    width: 66%;
}
.chat-message.chat-message-own {
    margin-left: auto;
}
.chat-message-content {
    width: 100%;
}
.chat-message-body {
    background-color: lightgrey;
    padding: 8px;
    border-radius: 10px;
}
.chat-message-own .chat-message-body {
    background-color: #ffffff;
}
.chat-message-footer {
    color: dimgrey;
}

/* AJAX LOADING */
#overlay {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.2;
    filter: alpha(opacity=20);
    z-index: 2000000;
}
#loading {
    width: 50px;
    height: 57px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -28px 0 0 -25px;
}

.blink {
    animation: blinker 2000ms linear infinite;
    pointer-events: none;
}
@keyframes blinker {
    50% { opacity: 0.5; }
}
.blink input, .blink select {
    background-color: lightgoldenrodyellow;
}

.modal-form, .modal-show {
    cursor: pointer;
}
.green-font {
    color: #00bc82;
}

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

table.py-sm > tbody > tr > td, table.py-sm > tbody > tr > th {
    padding-bottom: 2px;
    padding-top: 2px;
}

table.py-md > tbody > tr > td, table.py-md > tbody > tr > th {
    padding-bottom: 5px;
    padding-top: 5px;
}

table.px-sm > tbody > tr > td, table.px-sm > tbody > tr > th {
    padding-left: 2px;
    padding-right: 2px;
}

table.px-md > tbody > tr > td, table.px-md > tbody > tr > th {
    padding-left: 5px;
    padding-right: 5px;
}

.btn.btn-xs {
    --bs-btn-padding-y: .25rem;
    --bs-btn-padding-x: .5rem;
    --bs-btn-font-size: .75rem;
}

table.table-list > * > * > *:nth-child(2) {
    font-weight: bold;
}
table.table-list > * > * > *:nth-child(1) {
    text-align: right;
    width: 1px;
    white-space: nowrap;
}
table.table-list > * > * > *:nth-child(1):after {
    content: " : ";
}

.datetime-narrow {
    max-width: 380px;
}


.member-badge {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    color: white;
    background-color: #2d9714;
    text-transform: capitalize;
}
.member-badge .fa {
    letter-spacing: 0;
}
.member-badge.member-badge-xl {
    height: 60px;
    width: 60px;
    line-height: 50px;
    font-size: 2.4rem;
    border: 4px solid #2d9714;
}
.member-badge.member-badge-xl.circled {
    border-color: #61B163;
}
.member-badge.member-badge-xl.faded {
    opacity: 0.4;
}
.member-badge.member-badge-xl.faded:hover {
    opacity: 0.8;
}
.member-badge-dark.member-badge-xl {
    background-color: #464e56;
    border: 4px solid #464e56;
}
.member-badge.member-badge-dark.member-badge-xl.circled {
    border-color: #66717d;
}
.label-category {
    font-size: 2em;
    font-weight: bold;
}
.hidden-column {
    display: none;
}

table.label-table {
    margin: 10px;
}
table.label-table > tbody > tr > td {
    padding: 5px;
    /*vertical-align: top;*/
}

.table >tbody>tr>td.bg-grey, .table >thead>tr>th.bg-grey, .bg-grey {
    background-color: #eeeeee;
}
.table >tbody>tr>td.bg-green, .table >thead>tr>th.bg-green, .bg-green {
    background-color: #b5e0b5;
}


.text-grey {
    color:lightgrey;
}
.text-dimgrey {
    color: dimgrey;
}
.links-container:hover .fa.text-grey, td:hover .fa.text-grey, p:hover .fa.text-grey, h4:hover .fa.text-grey, h1:hover .fa.text-grey {
    color: #004bf2;
}
.text-light-green {
    color: #d2e8d2;
}
.links-container:hover .fa.text-light-green, td:hover .fa.text-light-green, p:hover .fa.text-light-green, h4:hover .fa.text-light-green, h1:hover .fa.text-light-green {
    color: #004bf2;
}
.fa-fixed-sized {
    font-size: 1rem;
}
.bg-definition {
    background-color: #D6EADA;
}
.bg-pink {
    background-color: #eef5ff;
}
.bg-dark-pink {
    background-color: #FFE4E4;
}
.bg-light-grey {
    background-color: #e6e6e6;
}
.bg-dark-gray {
    background-color: #939393;
}

.badge.badge-milestone {
    line-height: 1.3;
    padding-top: 0;
    padding-bottom: 0;
}

/* Custom CSS to override Bootstrap .alert-info */
.custom-alert-info {
    --bs-alert-color: #004bf2; /* Change text color */
    --bs-alert-bg: #f2f3f4; /* Change background color */
    --bs-alert-border-color: #f2f3f4; /* Change border color */
}


.card-body.card-definition {
    margin-top: 5px;
    margin-bottom: 6px;
    padding: 5px 5px 5px 15px;
    font-size: .8rem;
    font-weight: bold;
    background-color: #e7f7f0;
}
.show-on-hover > a {
    display: none;
}
.show-on-hover:hover > a {
    display: inherit;
}

.faded {
    opacity: 0.5;
}
.ajax-link {
    cursor: pointer;
}

.nav-tabs .nav-link.tab-pink {
    background-color: #eef5ff;
    border-color: #e5dfdf;
}
/*.nav-tabs .nav-link.tab-dark-pink {
    background-color: #eef5ff;
}*/
.nav-tabs .nav-link.tab-grey {
    background-color: #E4E4E4;
    border-color: #c4c4c4;
    color: grey;
}
.nav-tabs .nav-link {
    color: black;
}
.nav-tabs a.nav-link.active {
    font-weight: bold;
}
.nav-tabs a.nav-link.active, .nav-tabs a.nav-link.active:hover, .nav-tabs a.nav-link.active:focus {
    border-color: #767676;
    border-bottom-color: transparent;
}
.nav-tabs, .nav-tabs a.nav-link {
    border-bottom: 1px solid #767676;
}

#tabContent {
    background-color: #eef5ff;
    border: 1px solid #767676;
    border-top-color: transparent;
    padding: 30px;
}
#tabContent.tab-wiktionnary {
    background-color: #eef5ff;
}
#tabContent.new-words-entry {
    border-top-color: #767676;
}

#tableLabels.table > tbody > tr > td {
    height: 52px;
}

#tabContent #tableLabels {
    background-color: white;
}

#entryAttributes p {
    margin-bottom: 0.5rem;
}

#entryAttributes h1, #entryAttributes h4 {
    color: #0a53be;
}
.left-border-blue {
    border-left: 4px solid #0a53be;

}

#entryAttributes {
    font-size: .8rem;
}

.comment-block {
    padding: 10px;
    background-color: lightyellow;
    border: 1px solid lightgoldenrodyellow;
    border-radius: 3px;
    border-left: 2px solid #fdac33;
    margin-bottom: 5px;
    /*width: min-content;*/
}
.comment-target {
    /*border: 2px #ffbe6b solid;*/
    background-color: #ffdbb8;
}

.border-auto {
    border: 2px solid rgba(0,0,0, 0.25);
}

.group_description {
    --bs-alert-color: #004bf2;
    --bs-alert-bg: #f2f3f4;
    --bs-alert-border-color: #f2f3f4;
}

.grey-panel {
    background-color: #f2f3f4;
    border: 1px solid black;
    font-size: 0.8rem;
    padding: 20px;
    border-radius: 10px;
}

#history {
    max-height: 300px;
    overflow-y: auto;
}

.btn-link {
    border: 0;
    padding: 0;
    margin: 0;
    display: inline;
    vertical-align: baseline;
    color: inherit;
}

ol {
    list-style-type: none;
    padding-left: 0;
}

.cursor-move-sortable .ui-sortable-handle {
    cursor: move;
}

.bi-nav, .fa-nav {
    font-size: 1.6rem;
    line-height: 1.6rem;
    vertical-align: middle;
}

li.nav-item {
    vertical-align: middle;
}
.nav-link {
    color: white;
}
.nav-link.text-mustard {
    color: #e9a12f;
}
.nav-link.active {
    font-weight: bold;
}

.icon-lg {
    max-height: 2.5rem;
    max-width: 2.5rem;
}
.hover-grey:hover {
    color: lightgrey;
}
.text-toggle[aria-expanded=false] .show-expanded {
    display: none;
}
.text-toggle[aria-expanded=true] .show-collapsed {
    display: none;
}

.example-source {
    font-style: normal;
    font-size: .7rem;
}
.example-source a {
    color: #0A53BE;
}

/* Specifies the size of the audio container */
audio {
    width: 80px;
    height: 20px;
    margin-bottom: -7px;
    background-color: #eef5ff;
}

audio::-webkit-media-controls-panel {
    -webkit-justify-content: center;
    height: 25px;
}

/* Removes the timeline */
audio::-webkit-media-controls-timeline {
    display: none !important;
}

/* Removes the time stamp */
audio::-webkit-media-controls-current-time-display {
    display: none;
}
audio::-webkit-media-controls-time-remaining-display {
    display: none;
}
/* Removes mute-button */
audio::-webkit-media-controls-mute-button {
    display: none;
}

#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: sticky;
    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;
}

.icon-nav {
    height: 26px;
}
.show .show-nav-margin-top {
    margin-top: 10px;
}
ul.navbar-nav.flex-row > .nav-item {
    padding-left: 12px;
}

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

.mt-md-6 {
    margin-top: 4rem;
}

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

    .mt-md-6 {
        margin-top: .0;
    }

    .text-grey {
        color: #004bf2;
    }

    .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: #004bf2;
}

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

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

.ux-icon{
    vertical-align: bottom;
    height: 1.3em;
    /*width: 1.3em;*/
    /*color: #39C749;*/
}
.btn .ux-icon{
    vertical-align: middle;
}

.qrcode-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.password-info {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.qrcode-result {
    display: none;
    animation: fadeIn 0.5s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}