
/*[v-cloak] {
    visibility: hidden;
}
*/
[v-cloak] {
    opacity: 0;
}

[v-cloak], /* while cloaked */
:not([v-cloak]) { /* after v-cloak is removed */
    transition: opacity .03s ease;
}

:not([v-cloak]) {
    opacity: 1;
}

.sub-menu li:hover {
    background-color: #f8f9fa !important;
}

.sub-menu li .mdi {
    cursor: pointer;
    font-size: 18px;
}

.sub-menu li:hover .mdi {
    visibility: visible;
    cursor: pointer;
}


.sub-menu .nav-item .nav-link {
    white-space: nowrap !important;
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 0 !important;
    display: block !important;
    padding-right: 0 !important;
}

table.table.compact > tbody > tr > td {
    padding: 5px;
}

table.table.compact > thead > tr > th, table.table.compact > tfoot > tr > td {
    /*padding: 5px;*/
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}

table.table.compact input.form-control {
    padding: 5px;
    line-height: 10px;
    font-size: 14px;
    height: auto;
}

table.table.compact.extracompact td, table.table.compact.extracompact th {
    padding: 3px;
    font-size: 12px;
}

table.table.compact.extracompact span {
    white-space: break-spaces;
    max-width: 160px;
    height: 26px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table > tbody > tr:hover > td {
    /*    background-color: #f1f1f1 !important;*/
    cursor: pointer;
}

table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-stripe), 0.0);
}

table.table td.reorder {
    cursor: move !important;
}

.content-wrapper {
    background-color: inherit;
}

select.form-select {
    padding: 0.3375rem 1.372rem 0.4375rem .472rem;
    color: #555;
    font-size: .875rem !important;
    padding-right: 15px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-form-label {
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.compact-form .form-group {
    margin-bottom: 0.75rem;
}

.compact-form .form-control {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
    height: 32px !important;
}

.compact-form .text-muted {
    font-size: 12px;
}

.compact-form .form-group label {
    font-size: 0.812rem;
    vertical-align: top;
    margin-bottom: 0;
    line-height: 0.375rem;
}

.compact-form .form-group textarea.form-control {
    height: fit-content !important;
    line-height: normal;
    padding: 0.3rem;
}

.compact-form .alert {
    font-size: 14px;
}

.compact-form label.form-check-label {
    line-height: 16px !important;
}

.modal-body.compact-form .control-label {
    line-height: 1.375rem;
}

.bg-extralight {
    background-color: #f4f4fa !important;
}

.fixed {
    position: fixed;
}

.main-panel {
    margin-left: 200px;
}

@media (max-width: 991px) {
    .main-panel {
        margin-left: 0;
        width: 100%;
    }
}

.dt-search {
    display: none;
}

tr.bg-inverse-warning td {
    background-color: #fffe95aa !important;
}

.select2 {
    width: 100% !important;
}

.select2-container .select2-dropdown {
    font-size: .8125rem;
    min-width: fit-content !important;
}

.select2-container--default .select2-selection--single {
    padding: 0.52rem .375rem;
    height: 32px;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        top: 35%;
    }

.select2-container li[aria-disabled=true] {
    height: 1px;
    line-height: 1px;
    border-bottom: 1px solid #999;
    font-size: 1px;
    padding: 0px;
    width: fit-content;
}

.select2 .selection > span > span {
    text-overflow: ellipsis;
    /*overflow: hidden !important;*/
    overflow-x: clip !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    overflow: visible;
}


.datepicker.datepicker-dropdown, .datepicker.datepicker-inline {
    padding: 0;
    width: 30%;
    max-width: 250px;
    min-width: 150px;
    z-index: 1999 !important;
    padding: 1rem;
}

    .datepicker.datepicker-dropdown .datepicker-days table.table-condensed tbody td.day, .datepicker.datepicker-inline .datepicker-days table.table-condensed tbody td.day {
        font-size: 0.9375rem;
        padding: 0.5rem 0;
        color: #1F1F1F;
        cursor: pointer;
    }


.modal-lg {
    max-width: 800px;
}


.btn.btn-icon-text .btn-icon-prepend {
    vertical-align: middle;
}

.btn.btn-icon-text-sm {
    font-size: .812rem;
    border-radius: 5px;
    height: 32px;
}

.btn i {
    font-size: 0.725rem;
}

.nav-tabs {
    font-size: 14px;
}

@media (min-width: 992px) {
    .sidebar-icon-only .sidebar .nav .nav-item.hover-open .nav-link .menu-title {
        width: 220px;
    }

    .sidebar-icon-only .sidebar .collapse, .sidebar-icon-only .collapsing {
        min-width: 220px;
    }
}

.wpx-40 {
    width: 40px !important;
    max-width: 40px !important;
}

.wpx-60 {
    width: 60px !important;
    max-width: 60px !important;
}

.wpx-80 {
    width: 80px !important;
    max-width: 80px !important;
}

.wpx-120 {
    width: 120px !important;
    max-width: 120px !important;
}

.wpx-160 {
    width: 160px !important;
    max-width: 160px !important;
}

.wpx-180 {
    width: 180px !important;
    max-width: 180px !important;
}

.wpx-200 {
    width: 200px !important;
    max-width: 200px !important;
}

.sidebar-icon-only .main-panel {
    margin-left: 50px;
}

.sidebar-icon-only .hide-icon-only {
    display: none;
}

/* strange hack for typeahead */
.twitter-typeahead {
    display: block !important;
}

    .twitter-typeahead > .twitter-typeahead:first-child {
        display: none !important;
    }

.tt-cursor {
    cursor: pointer;
    color: #fff;
    background-color: #1f3bb3;
}


.back-to-list {
    padding-top: 5px;
    display: none;
}

    .back-to-list a {
        color: #000;
        font-size: 25px;
    }


.sidebar .nav .nav-item .nav-link .menu-title {
    line-height: 18px;
}


.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown {
    top: 35px;
}


@media (max-width: 991px) {
    .navbar .navbar-brand-wrapper {
        padding: 5px 0;
    }

        .navbar .navbar-brand-wrapper .navbar-brand.brand-logo-mini {
            display: inline-block;
            margin-left: -10px;
        }

    #home {
        margin-right: 20px;
        padding-top: 25px;
    }
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 18px;
}

.toggle-switch-ngf {
    width: 60px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    text-align: right;
    padding-right: 10px;
}

    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .toggle-slider {
    background-color: #2196F3;
}

input:focus + .toggle-slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .toggle-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

input:checked + span {
    color: #fff;
    text-align: left;
    padding-left: 10px;
}

.toggle-switch-ngf input:checked + .toggle-slider:before {
    -webkit-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(40px);
}

/* Rounded sliders */
.toggle-slider.round {
    border-radius: 34px;
}

    .toggle-slider.round:before {
        border-radius: 50%;
    }

#form-entitlement .dt-length label {
    vertical-align: baseline;
}

.compact-form .pagination {
    --bs-pagination-font-size: .812rem;
    margin-top: 8px !important;
}


.dropzone {
}

table.dropzone.highlight {
    border: 2px dashed transparent;
    border-color: #1f3bb3;
    background-color: #f0f8ff;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s;
}

.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
    opacity: 0;
}

.list-enter-active,
.list-leave-active {
    transition: all 0.5s ease;
}

.list-enter-from,
.list-leave-to {
    opacity: 0;
    transform: translateX(30px);
}

.flight-incomplete td {
    background-color: #f8d7da !important;
    color: #721c24;
    transition: all 0.95s ease;
}

.flight-complete td {
    background-color: #ccf9aee6 !important;
    color: #155724;
    transition: all 0.95s ease;
}

table tr.selected td {
    background-color: #f8f9fa !important;
    font-weight: bold;
}

table.flight-complete tr.selected td {
    background-color: #ccf9aee6 !important;
    font-weight: bold;
}

form#membersearch .tt-menu {
    min-width: 300px;
}

td.disabled.day {
    color: #ddd !important;
    cursor: not-allowed !important;
}

.mdi-32px.mdi-set, .mdi-32px.mdi:before {
    font-size: 1.8rem;
    padding-top: 4px;
}

.was-validated .form-control:valid {
    background-image: none;
    border-color: #dee2e6;
    padding-right: 5px;
}

span.birdie {
    float: right;
    width: 0;
    position: relative;
    left: -10px;
}

#list-membersubscriptions_info, #list-membersubscriptions_wrapper .pagination {
    display: none;
}

#list-membermemberships_info, #list-membermemberships_wrapper .pagination {
    display: none;
}

.card-body .card-title {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: normal;
}

.card-footer {
    background: #fff;
}

.compact-form .card-footer .form-group {
    margin-bottom: 0rem;
}


.compact-form .form-group textarea.auto-expand {
    max-height: 32px !important;
    height: 32px !important;
    min-height: unset;
    transition: max-height 0.2s ease-in-out, height 0.2s ease-in-out;
}

.compact-form .form-group textarea.auto-expand-expanded {
    max-height: 150px !important;
    height: 150px !important;
    min-height: unset;
    transition: max-height 0.2s ease-in-out, height 0.2s ease-in-out;
}

.hide-input {
    text-security: disc;
    -webkit-text-security: disc;
    -mox-text-security: disc;
}

.sidebar > .nav {
    height: calc(100vh - 100px);
    overflow-y: scroll;
    scrollbar-width: none;
}

.dt-buttons button {
    padding-left: 12px;
    padding-right: 12px;
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: left;
}

.table.dataTable th::before {
    content: '';
    display: block;
    min-width: 80px;
}

.compact-form .dt-info {
    font-size: 12px;
    padding-top: 12px;
}

.compact-form .page-item {
    line-height: 1.1em;
}

    .compact-form .page-item a {
        font-size: 12px;
        padding: 6px;
    }

.dt-scroll-body thead th {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dt-scroll-body thead .dt-scroll-sizing {
    height: 0;
    overflow: hidden;
}

.compact-form .dt-container .mt-2 {
    margin-top: 0 !important;
}

.compact-form .form-check {
    margin-bottom: 0;
}

.table-fixed {
    table-layout: fixed;
}


tbody .reorder-icon::after {
    content: "\F04E2";
}

tbody .reorder-icon:after {
    display: inline-block;
    font: normal normal normal 24px / 1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


#drop_zone {
    border: 1px dashed #aaa;
    padding: 4px;
    border-radius: 5px;
    cursor: grab;
}

.table-fixed-400 tbody {
    max-height: 400px;
    display: table-caption;
    overflow: hidden;
    overflow-y: scroll;
}

.form-check-input[type=checkbox] {
    -ms-transform: scale(1.3); /* IE */
    -moz-transform: scale(1.3); /* FF */
    -webkit-transform: scale(1.3); /* Safari and Chrome */
    -o-transform: scale(1.3); /* Opera */
    border-radius: 0;
}

    .form-check-input[type=checkbox]:checked {
        background-color: #1f3bb3;
        border-color: #1f3bb3;
    }

.navbar .navbar-menu-wrapper {
    padding-left: 0;
}

.navbar .navbar-brand-wrapper {
    padding: 20px 15px;
}

#generalsave {
    display: none;
}

a.nav-link.save-command i {
    font-size: 24px !important;
    position: relative;
    top: 3px;
}

.mdi-content-save-outline:hover::before {
    content: "\F0193";
}

[data-roles] {
    display: none;
}


.navbar.test, .navbar.test > div {
    background-color: #fc7b7d;
}

    .navbar.test .navbar-brand-wrapper {
        border-right: none;
    }
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.navbar .navbar-brand-wrapper .brand-logo-mini img {
    height: auto;
    transform: scale(2);
}

@media (max-width: 991px) {
    .navbar .navbar-menu-wrapper {
        height: 50px;
    }

    button.btn.max-width {
        max-width: 160px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
}

.sidebar .nav.sub-menu .nav-item::before {
    content: "\F0142";
    font: normal normal normal 18px / 1 "Material Design Icons";
    color: #6c757d;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    width: auto;
    height: auto;
    -moz-border-radius: inherit;
    -webkit-border-radius: inherit;
    border-radius: 0;
    background: none;
    margin-top: 9px;
    margin-left: -4px;
}

.highlight a {
    font-weight: bold !important;
}

.sidebar .nav.sub-menu .nav-item .nav-link {
    padding: .7rem .9rem;
}

.sidebar .nav .nav-item .nav-link .menu-title {
    color: #484848;
}

.tt-open {
    min-width: 300px !important;
    margin-left: -100px;
}

@media (max-width: 991px) {
    .tt-open {
        margin-left: -20px;
    }
}

.teesheet-participants {
    table-layout: fixed;
    margin-right: 10px;
}

    .teesheet-participants td span {
        /*max-width: 90%;*/
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        line-height: 1.1em;
    }

    .teesheet-participants tr.bg-warning td {
        background-color: #fffe95aa !important;
    }

    .teesheet-participants sup.rank {
        position: relative;
        top: -15px;
        left: 0;
        display: block;
        text-align: right;
    }

    .teesheet-participants .mix-toprank input {
        background-color: #bae5b4;
    }

.table.eventscores th {
    padding: 0 5px 5px 4px !important;
}

.table.eventscores th, .table.eventscores td {
    padding: 0;
}

    .table.eventscores th input, .table.eventscores td input:not(.w-100) {
        max-width: 50px;
        /* move the input elements to the right */
        margin-left: auto;
    }

#dialog-scorecard td.mdi-bird::before {
    position: absolute;
    color: #155724;
    display: block;
    margin-left: 40px;
}

.whx-60 {
    height: fit-content;
}

.fa-rotate-90 {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.fa-rotate-180 {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.fa-rotate-270 {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
}

table.table-condensed td, table.table-condensed th {
    padding: 2px 4px;
}

/* Rotate the header text by 270 degrees */
.table th.rotate-270 {
    height: 90px; /* Adjust the height as needed */
    white-space: nowrap;
    vertical-align: bottom;
    text-align: left;
    padding: 0;
    position: relative;
}

    .table th.rotate-270 > span {
        transform: rotate(270deg);
        transform-origin: left bottom;
        white-space: nowrap;
        position: absolute;
        bottom: 5px;
        left: 60%;
        width: 100%;
        text-align: center;
    }

.not-allowed td {
    cursor: not-allowed !important;
}

.not-allowed > td i {
    cursor: pointer;
}

.max-height span.select2 {
    max-height: 36px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    border-radius: 5px;
}

.max-height span.select2-container--open {
    max-height: fit-content;
}

.form-select-sm {
    height: 32px;
    margin-bottom: 5px;
}

/* mobile navigation knop zwevend onderaan centreren */
.floating-nav-btn {
    position: fixed;
    bottom: 10px;
    right: -15px;
    transform: translateX(-50%);
    z-index: 1050;
    border-radius: 50%;
    padding: 7px 10px;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

button.floating-nav-btn.active {
    visibility: hidden;
}

/* Bottom nav zelf */
.bottom-nav {
    position: fixed;
    bottom: -200px; /* start buiten beeld */
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    padding: 10px;
    text-align: center;
    transition: bottom 0.3s ease-in-out;
    z-index: 1040;
}

    /* Als open */
    .bottom-nav.open {
        bottom: 0;
    }

.offcanvas-body .list-group-item::before {
    content: "\F0142";
    font: normal normal normal 24px / 1 "Material Design Icons";
    color: #6c757d;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    width: auto;
    height: auto;
    -moz-border-radius: inherit;
    -webkit-border-radius: inherit;
    border-radius: 0;
    background: none;
    margin-top: 0px;
    margin-left: -4px;
}

.preview-list.show {
    min-width: 385px;
}

@keyframes runRight {
    0% {
        left: -5px;
    }

    100% {
        left: calc(100% + 5px); /* 1em ~ icon width, adjust if needed */
    }
}

.with-running-icon {
    position: relative;
    width: calc(100% + 5px); /* Set your container width */
    height: 34px; /* Adjust to icon size */
    overflow: hidden; /* Prevent icon from overflowing */
    max-width: 30px !important;
}

    .with-running-icon > i.mdi-run-fast {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%); /* Center vertically */
        animation: runRight 1s linear infinite; /* 'forwards' keeps it at the end */
    }
