html {
    position: fixed;
}

.wiki-overall-div {
    margin: 0 2vw;
}

.wikiedit-head-container {
    display: flex;
    border-bottom: 0.01vw solid #979797;
}

.wikiedit-header {
    color: #000000;
    font-family: Bembo Std;
    font-size: 1.85vw;
    line-height: 2vw;
    width: 75%;
}

.wiki-shortcut:nth-of-type(1) {
    border-right: 0.05vw solid rgba(0, 0, 0, 0.54) !important;
    padding-right: 0.9vw;
    margin-right: 0.5vw !important;
}

.wiki-shortcut {
    font-family: 'Open Sans' !important;
    font-size: 0.75vw !important;
    line-height: 1.1vw !important;
    font-weight: 500 !important;
    display: flex;
    align-items: center;
    background-color: transparent !important;
    cursor: pointer;
    color: #000 !important;
    border: none !important;
}


.wiki-shortcut:hover {
    color: #019001 !important;
}

.wiki-shortcut-icon {
    font-size: 0.75vw;
}

.wiki-shortcuts {
    display: flex;
        align-items: center;
        width: 35%;
        justify-content: end;
}


.wikiedit-body-container {
    display: flex;
    margin-top: 1.5vw;
    height: 76vh;
}

.wiki-node-header-container {
    display: flex;
    align-items: center;
    background: #89C7C4;
    padding: 0.4vw;
    padding-right: 0;
}

.wikiedit-tree-holder-body {
    width: 20%;
    background: #FAF9F9;
    margin-right: 1.5vw;
}

.wiki-node-shortcuts {
    display: flex;
    align-items: center;
}

.wiki-edit-holder-body {
    width: 79%;
}

.wiki-shortcut-icon {
    font-size: 0.75vw;
    margin-right: 0.3vw;
}


.wiki-node-head {
    width: 40%;
    color: #000000;
    font-family: 'Open Sans';
    font-size: 0.85vw;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.1vw;
}

.wiki-node-shortcut {
    color: #000000;
    font-family: 'Open Sans';
    font-size: 0.7vw;
    letter-spacing: 0;
    line-height: 1vw;
    margin-right: 0.5vw;
    border-left: 1px solid #609B98;
    padding-left: 0.5vw;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wiki-node-shortcut:nth-child(1) {
    border: none;
}

.wiki-node-shortcut:hover {
    color: #019001;
}

.wiki-node-shortcut:nth-child(3):hover {
    color: #ff5b5b;
}

.wiki-node-shortcut-icon {
    font-size: 0.65vw;
    margin-right: 0.3vw;
    position: relative;
}

.wiki-node {
    border: none !important;
    border-bottom: 0.01vw solid #828282 !important;
    margin: 1vw 0.5vw 0.5vw !important;
    width: 95% !important;
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
    padding: 0 !important;
    height: 3.5vh !important;
}

.wiki-node:focus {
    outline: none !important;
}

.wiki-tree-holder {
    font-family: 'Open Sans';
    font-size: 0.85vw;
    line-height: 1.1vw;
    height: 62vh;
    overflow: auto;
}

ul.ui-fancytree.fancytree-container.fancytree-plain {
    height: auto;
}

/* popup */

.wiki-popup {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.2);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.wiki-popups {
    background: #FFF;
    position: relative;
    top: 30%;
    left: 35%;
    width: 35%;
}

.wiki-head-popup {
    background: #89C7C4;
    padding: 0.5vw;
    padding-left: 0.9vw;
}

.wiki-close {
    float: right;
    color: #FFF;
    position: relative;
    top: 0.2vw;
    cursor: pointer;
}

.wiki-btn:hover {
    background-color: #9dd283 !important;
}

.ikiedit-popup-header {
    font-family: 'Open Sans';
    font-size: 0.85vw;
    line-height: 1vw;
    font-weight: 600;
    color: #FFF;
}

.wiki-body-popup {
    padding: 1vw;
}

.wiki-label {
    font-family: 'Open Sans';
    font-size: 0.85vw;
    line-height: 1vw;
    width: 20%;
    display: inline-block;
}

.wiki-text {
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
    line-height: 1vw !important;
    border: none !important;
    width: 78% !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    padding-left: 0.25vw !important;
    position: relative;
    bottom: 0.1vw;
}

.wiki-popup-text-holder {
    border-bottom: 0.01vw solid #D4D4D4;
    margin-bottom: 2vw;
    padding-bottom: 0.15vw;
}

.wiki-description {
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
    line-height: 1vw !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 0.35vw !important;
    box-shadow: none !important;
    height: 6.5vh !important;
    resize: none;
    border: 0.05vw solid #d4d4d4 !important;
}

.wiki-popup-textarea-holder {
    display: flex;
    flex-direction: column;
    margin-bottom: 1vw;
}

.wiki-popup-textarea-holder .wiki-label {
    margin-bottom: 0.5vw;
}

.wiki-btn-holder {
    display: flex;
    justify-content: end;
}

.wiki-btn {
    background: #89C7C4;
    border: none;
    padding: 0.35vw;
    width: 20%;
    color: #FFF;
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
    line-height: 1vw !important;
}


#edit-wiki .wiki-popups {
    top: 20%;
}

#upload-wiki-image .wiki-popups {
    top: 22%;
    left: 28%;
    width: 52%;
}

.wiki-popup-select {
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
    line-height: 1vw !important;
    border: none !important;
    width: 78% !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: unset !important;
}

.wiki-popup-select:focus {
    outline: none !important;
}

.wiki-checkbox:focus {
    outline: none !important;
}

.wiki-checkbox {
    height: 0.7vw;
    width: 0.7vw !important;
    color: #000;
    font-family: "Font Awesome";
    font-size: 0.95vw !important;
    letter-spacing: 0;
    line-height: 1.5vw;
    border: 0.01vw solid #000;
    border-radius: 0;
    background-color: transparent;
    background-image: none;
    outline: none;
    z-index: 10000;
    position: relative;
    left: 0.1vw;
    bottom: 0.35vw;
    appearance: none;
    cursor: pointer;
    margin-right: 0.3vw !important;
}

.wiki-checkbox:checked:before {
    background-color: transparent;
    height: 0.5vw;
    width: 0.5vw;
    position: absolute;
    font-size: 0.55vw;
    line-height: 2vw;
    color: #000;
    display: block;
    border-radius: 0;
    text-align: center;
    /* border: 0.01vw solid transparent; */
    margin-top: 0.05vw;
    padding-left: 0.05vw;
    display: flex;
    justify-content: center;
    align-items: center;
    content: '\f00c';
    font-family: 'FontAwesome';
}


.wiki-popup-checkbox-holder {
    margin-bottom: 2vw;
    border-bottom: 0.01vw solid #D4D4D4;
}

#wiki-FAQ-holder .es-list {}

.es-list {
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
    line-height: 1vw;
    margin: 0.8vw 0 !important;
    border-left: 0.6vw solid #89C7C4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
    width: 35% !important;
    padding-bottom: 0 !important;
    cursor: pointer;
    border-radius: unset !important;
    display: none;
    list-style-type: none;
    height: 6vh;
    overflow: auto;
    background: #FFF;
    position: absolute;
    z-index: 1000;
}

.es-list li {
    padding: 0.3vw !important;
}

.es-list li:hover {
    background: #e3e3e3;
    color: #000;
}

.wiki-checkbox:nth-child(3) {
    margin-left: 0.8vw !important;
}


.wiki-popup-text-holder .wiki-node {
    border: none !important;
    margin: 0 !important;
    width: 79% !important;
    height: unset !important;
}

.wiki-select {
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
    line-height: 1vw !important;
    border: none !important;
    width: 78% !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: unset !important;
}

.wiki-footer-popup {
    display: flex;
    justify-content: end;
    padding-bottom: 1vw;
}

.wiki-image-add {
    background: #89C7C4;
    border: none;
    padding: 0.4vw;
    width: auto;
    min-width: 16%;
    color: #FFF;
    margin-right: 1vw !important;
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
    line-height: 1vw !important;
}

.wiki-panel {
    width: 95%;
    height: 20vh;
    overflow: auto;
}


.wiki-labels {
    border: none;
}

.wikiedit-popup-header {
    font-family: 'Open Sans';
    font-size: 0.85vw;
    line-height: 1vw;
    font-weight: 600;
    color: #FFF;
}

.wiki-image-add:hover {
    background-color: #9dd283 !important;
}

.wiki-ul-panel {
    margin: 0 !important;
}

::placeholder {
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
}

/* copyfrom popup */
.create-copyfrom .wiki-label {
    width: 23%;
}

.create-copyfrom .wiki-text {
    width: 75% !important;
}

.create-copyfrom .wiki-popup-select {
    width: 75% !important;
}

.create-copyfrom .wiki-footer-popup {
    margin-right: 1vw;
}

.wiki-popup-text {
    font-family: 'Open Sans' !important;
    font-size: 0.85vw !important;
    line-height: 1vw !important;
    border: none !important;
    width: 78% !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: unset !important;
}

.url-based-insert {
    border-bottom: 0.01vw solid #D4D4D4;
    margin-bottom: 1vw;
    padding-bottom: 0.15vw;
}

.wiki-popup-label {
    font-family: 'Open Sans';
    font-size: 0.85vw;
    line-height: 1vw;
    width: 20%;
    display: inline-block;
}



.cke_contents {
    height: 40vh !important;
}


.cke_chrome {
    border: 0.15vw solid #89C7C4;
    box-shadow: none;
}

iframe.cke_wysiwyg_frame.cke_reset {
    margin-left: 0px;
}

.attachments-panel {
    height: 15vh;
    overflow: auto;
}

.attachment-file a:hover {
    color: #b48b35;
    text-decoration: none;
}

/* action popup */

ul.context-menu-list.context-menu-root {
    border-left: 0.6vw solid #89C7C4;
    width: auto !important;
}

li.context-menu-item:nth-of-type(1) {
    padding-top: 0.6vw;
}

li.context-menu-item {
    padding: 0.3vw 0 0.3vw 0.6vw;
    font-size: 0.75vw;
    line-height: 1vw;
    font-family: 'Open Sans';
    font-weight: 500;
}


li.context-menu-item:hover {
    background: #e3e3e3;
    color: #000;
}










/* accordion */

.wiki-accordion:nth-of-type(1) {
    margin-bottom: 0.1vw;
}


.wiki-span-image {
    margin-top: 0.8vw;
}

.wiki-accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.wiki-accordion:hover {
    background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.wiki-panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    /* overflow: hidden; */
}

.wiki-image-accordion-holder {
    width: 50vw;
}



.wiki-ul-panel {
    list-style-type: none;
}

.wiki-ul-panel>li {
    display: inline-block;
}

.wiki-checkboxes {
    display: none;
}

.wiki-labels {
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.wiki-labels::before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid grey;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    transition-duration: 0.4s;
    transform: scale(0);
}

.wiki-image {
    height: 100px;
    width: 100px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
}

:checked+.wiki-labels {
    border-color: #ddd;
}

:checked+.wiki-labels::before {
    content: "✓";
    background-color: grey;
    transform: scale(1);
}

:checked+.wiki-labels .wiki-image {
    transform: scale(0.9);
    box-shadow: 0 0 5px #333;
    z-index: -1;
}