﻿.ellipsis {
    zoom: 1;
    text-overflow: ellipsis;
    max-width: 100%;
    white-space: nowrap !important;
    overflow: hidden;
}

.tdoverflow {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}


.admindisabled {
    color: #777777 !important;
}

.adminlinkactive {
    font-weight: bold !important;
    background-color: #3E4B5C !important;
}

.YellowColumn {
    background-color: lightyellow;
}

.NoWrap {
    white-space: nowrap;
}

.BackgroundRed {
    background-color: red !important;
}

.BackgroundYellow {
    background-color: yellow !important;
}

.BackgroundOrange {
    background-color: orange !important;
}

.BackgroundLightPink {
    background-color: lightpink !important;
}

.BackgroundGreen {
    background-color: green !important;
}

.BackgroundLightGreen {
    background-color: lightgreen !important;
}

[draggable] {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -khtml-user-drag: element;
    -webkit-user-drag: element;
}

.DragOver {
    border: 2px dashed #000;
}

.GreyFont {
    color: #cccccc;
}


.AlignRight {
    text-align: right;
}

.Width150 {
    width: 150px;
}

.Width50 {
    width: 50px;
}

.Width10 {
    width: 10px;
}

.nobr {
    white-space: nowrap;
}

.LineThrough {
    text-decoration: line-through;
}

.EditTable td {
    padding: 2px !important;
}

.Id {
    font-size: xx-small;
    color: #cccccc;
}


.tree-table {
    table-layout: fixed;
    width: 100%;
}

    .tree-table td {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

.CodeMirror {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    line-height: 20px;
    height: auto;
}

.knibble-switch {
    width: 45px;
    height: 19px;
    position: relative;
    display: inline-block;
    padding: 0px;
    margin: 0px;
    margin-top: 1px;
    cursor: pointer;
}

    .knibble-switch input[type="checkbox"] {
        display: none;
    }

.knibble-slider {
    width: 100%;
    height: 100%;
    background-color: #ccc;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
}

.knibble-switch input[type="checkbox"]:checked + .knibble-slider {
    background-color: #45B6AF;
}

.knibble-slider:before {
    content: "";
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.knibble-switch input[type="checkbox"]:checked + .knibble-slider:before {
    transform: translateX(26px);
}

.page-quick-sidebar-wrapper {
    right: -500px;
    width: 500px;
}

@media (max-width: 450px) {
    .page-quick-sidebar-wrapper {
        right: -300px;
        width: 300px;
    }
}

.context-menu .menu-item {
    white-space: nowrap;
    cursor: pointer;
}

.btn.default > i.fa-fw,
.dropdown-menu a > i.fa-fw,
.mega-menu-submenu a > i.fa-fw {
    color: #808080;
}

.shortcut {
    text-align: right;
}

tr.delete {
    transition: all 0.3s ease-in-out;
    opacity: 0;
    height: 0;
}

table.logtable {
    border: 1px solid black;
    border-collapse: collapse;
    border-spacing: 1px;
}

    table.logtable td {
        border: 1px solid black;
        border-collapse: collapse;
        border-spacing: 1px;
        vertical-align: text-top;
        font-family: monospace;
        white-space: pre;
    }

#RecordDetailsPopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    background-color: #fff;
    z-index: 99;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    border-radius: 10px;
}

#Overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
}

table.recorddetails {
    border: 1px solid black;
    border-collapse: collapse;
    border-spacing: 10px;
}

    table.recorddetails td {
        border: 1px solid black;
        border-collapse: collapse;
        border-spacing: 10px;
        vertical-align: text-top;
        font-family: monospace;
        white-space: pre;
    }


.status-bar {
    background-color: #fafad2;
    border: 1px solid #cccccc;
    padding: 3px;
}

.status-bar-close-icon {
    position: absolute;
    top: 15px;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.status-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.selected-view {
    font-weight: bold;
    position: relative;
}

.selected-view i {
    display: inline-block;
    position: relative;
}

.selected-view:after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ccc;
    position: absolute;
    bottom: 0;
    left: 0;
}

.page-content-wrapper .page-content {
    padding-bottom: 0px !important;
}

.fileDropZone {
    padding: 10px;
    border: 2px dashed transparent;
    transition: border 0.3s ease-in-out;
}

    .fileDropZone.drag-over {
        border: 2px dashed #007bff;
        background-color: #f0f8ff;
    }

.file-paste-target {
    position: relative;
}

    .file-paste-target:hover,
    .file-paste-target:focus-within,
    .file-paste-target.drag-active {
        outline: 2px dashed #66afe9;
        outline-offset: 4px;
        background-color: #f9f9f9;
        cursor: copy;
    }

        .file-paste-target:hover::after,
        .file-paste-target:focus-within::after,
        .file-paste-target.drag-active::after {
            content: "Plak of sleep een bestand hierheen";
            position: absolute;
            top: -30px;
            left: 0;
            background-color: #333;
            color: #fff;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            pointer-events: none;
            z-index: 10;
        }

.btn-primary.ai {
    background-color: #f06292;
    border-color: #f06292;
    color: #ffffff;
}

    .btn-primary.ai:hover,
    .btn-primary.ai:focus,
    .btn-primary.ai.focus {
        background-color: #ec407a;
        border-color: #ec407a;
        color: #ffffff;
    }

    .btn-primary.ai:active,
    .btn-primary.ai.active,
    .open > .dropdown-toggle.btn-primary.ai {
        background-color: #d81b60;
        border-color: #d81b60;
        color: #ffffff;
    }

        .btn-primary.ai:active:hover,
        .btn-primary.ai.active:hover,
        .open > .dropdown-toggle.btn-primary.ai:hover,
        .btn-primary.ai:active:focus,
        .btn-primary.ai.active:focus,
        .open > .dropdown-toggle.btn-primary.ai:focus {
            background-color: #c2185b;
            border-color: #c2185b;
            color: #ffffff;
        }

    .btn-primary.ai.disabled,
    .btn-primary.ai[disabled],
    fieldset[disabled] .btn-primary.ai {
        background-color: #f8bbd0;
        border-color: #f8bbd0;
        opacity: 0.65;
    }