/* A little more aggressive usage of height for configuration */
body div .yo-dropdown-body { max-height: 66vh;}
/*.yo-sidebar-fields .yo-sidebar-fields > :not(:first-child) > h3.yo-sidebar-subheading:first-child {margin-top: 8px !important;}*/
body div .yo-sidebar-fields .yo-sidebar-fields > :not(:first-child) > .yo-sidebar-grid.uk-grid:first-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Some styling for chosen JS in configuration screen */
body div .chosen-container {   /* This apply it everywhere not just inside .yo-sidebar-fields */
    width: 96% !important;
}
body div .yo-sidebar-fields .chosen-container {
    width: 96% !important;
}
body div .yo-sidebar-fields .chosen-container-multi .chosen-choices,
body div .yo-sidebar-fields .chosen-container .chzn-choices {
    min-height: 3rem !important;
    border: 1px solid #e5e5e5 !important;
    background: white !important;
}
body div .yo-sidebar-fields .chosen-container-single .chosen-single {
    border-radius: 0;
    border: 1px solid #e5e5e5 !important;
    color: #777;
    display: flex;
    align-items: center;
    height: 3em;
    background: white;
}
body div .yo-sidebar-fields .chosen-container-single .chosen-single div b {
    margin: 40% 0 0 0;
}

body div .yo-sidebar-fields .chosen-container-multi .chosen-choices li.search-field input[type=\"text\"],
body div .yo-sidebar-fields .chosen-container .chzn-choices > li:only-child {
    height: 3em;
    line-height: 100%;
    margin: 0;
    /*padding: 6px 0 0 6px;*/
}

/* Field with enlarged description */
.yo-sidebar-fields div.uk-width-mc-el-with-desc:first-child {
    flex-grow: 0;
    width: auto;
    min-width: 30%;
}
body div .yo-sidebar-fields div.uk-width-mc-el-with-desc {
    flex-grow: 1;
    width: auto;
}

body div .yo-sidebar-fields div.uk-width-mc-el-with-label:first-child {
    flex-grow: 0;
    width: auto;
    min-width: 44%;
}
body div .yo-sidebar-fields div.uk-width-mc-el-with-label:not(:first-child) {
    padding-left: 0.6em;
}
body div .yo-sidebar-fields div.uk-width-mc-el-with-label {
    flex-grow: 1;
    width: auto;
}

/* Inline label (inside grid) */
body div .yo-sidebar-fields .yo-sidebar-fields > * h3.yo-sidebar-subheading.mc-inline-label {
    margin: 0 0 0 1em !important;
    color: #444;
    font-weight: normal;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    min-height: 3.3em;
}

body.has-maximized-textarea {
}

body div .tx-editor-wrapper {
    position: relative;
}
body div .tx-editor-wrapper .tx-editor.expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    width: 99.9dvw;
    height: 99.9dvh;
    z-index: 500;
}
body div .tx-editor-wrapper .tx-editor {
    height: 360px;
}
body div .tx-editor-wrapper .tx-editor .tx-icon {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 18px;
    height: 16px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQA4LzE2LzEzspl6ugAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAB7SURBVDiN7ZOxCsAgDESvxXyhi5P/Fif/0i6NGJH2KIUufVOUJB45s6lqw0DOGQylFHfeqSqCYEGMESJCF6aUAAC1Vt9IRPolixtDG1DVxjLnhtVL8yAvlZy8Nuy/0T1L19g1cY3Mavupd9bPWL5T9ERJV2SBrcfn238A3whjoYEPESwAAAAASUVORK5CYII=');
    cursor: pointer;
    z-index: 5;
}
body div .tx-editor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 2;
    opacity: 0;
}
body div .overit {
    z-index: 0;
    opacity: 0;
}