body {
    --content-panel-bg: #fff;
    --text-color: #444;
    --border-radius: 5px;
    --box-shadow-lg: none;
    --border-color: #ccc;
    --border-width: 1px;
    --border-style: solid;
}

.boldr-admin-button {
    display: none;
}

#bcms-ve-sidebar {
    font-family: 'Segoe UI', sans-serif;
    position: fixed;
    color: #000;
    top: 0;
    left: -250px;
    bottom: 0;
    width: 250px;
    background: #f9f9f9;
    z-index: 99999;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
    transition: 0.5s ease left;
    display: flex;
    flex-direction: column;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
#bcms-ve-sidebar.visible {
    left: 0;
}

#bcms-ve-sidebar-toggle {
    position: absolute;
    top: 30px;
    left: 248px;
    width: 35px;
    height: 50px;
    border-radius: 0 5px 5px 0;
    background: #f9f9f9;
    border-left: none;
    line-height: 50px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
}
#bcms-ve-sidebar.visible .bcms-ve-sidebar-toggle-open,
#bcms-ve-sidebar .bcms-ve-sidebar-toggle-close {
    display: none;
}
#bcms-ve-sidebar.visible .bcms-ve-sidebar-toggle-close {
    display: inline-block;
}

#bcms-ve-sidebar-logo {
    padding: 20px;
}
#bcms-ve-sidebar-logo svg {
    display: block;
    margin: 0 auto;
    width: 120px;
}

#bcms-ve-sidebar-sections {
    flex: 1 1 auto;
    overflow-y: auto;
}

#bcms-ve-sidebar-sections-buttons {
    display: flex;
    flex-wrap: wrap;
    padding: 0 19px 0 9px;
}

#bcms-ve-sidebar-sections-buttons .bcms-ve-page-placeholder,
.bcms-ve-sidebar-section-button {
    flex: 1 0 92px;
    margin-left: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 10px 10px;
    background: #fff;
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: move;
}
#bcms-ve-sidebar-sections-buttons .bcms-ve-page-placeholder {
    height: auto;
    display: block;
    font-size: 14px;
}
#bcms-ve-sidebar-sections-buttons .bcms-ve-page-placeholder span {
    margin-left: unset;
}

#bcms-ve-sidebar-sections-buttons .bcms-ve-page-placeholder i,
.bcms-ve-sidebar-section-button i {
    display: block;
    margin: 0 auto 5px 0;
    font-size: 16px;
}

.bcms-ve-section-empty {
    padding: 50px;
    font-size: 30px;
    font-style: italic;
    text-align: center;
}

.bcms-ve-page-section::before {
    position: relative;
}
.bcms-ve-page-section-hover {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 9999;
    left: 0;
    background: rgba(0, 200, 255, 0.2);
    cursor: pointer;
}
.bcms-ve-page-section:hover .bcms-ve-page-section-hover {
    display: block;
}


.bcms-ve-page-placeholder {
    height: 300px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
}
.bcms-ve-page-placeholder span {
    margin-left: 10px;
}

.bcms-ve-page-section-actions-wrapper {
    position: absolute;
    z-index: 9999;
    right: 60px;
    top: 30px;
    bottom: 30px;
}

.bcms-ve-page-section-actions {
    position: sticky;
    top: 50px;
    display: flex;
    flex-direction: column;
}

.bcms-ve-page-section-actions > * {
    background: #fff;
    padding: 10px;
    line-height: 1;
    border-radius: 5px;
    color: #000;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    text-align: center;
}
.bcms-ve-page-section-actions > :hover {
    background: #eee;
}
.bcms-ve-page-section-actions > * + * {
    margin-top: 10px;
}

.bcms-ve-page-section-handle {
    cursor: move;
}

.bcms-ve-page-section-options-wrapper {
    position: absolute;
    z-index: 9999;
    right: 130px;
    top: 30px;
    bottom: 30px;
}

.bcms-ve-page-section-options {
    background: #fff;
    color: #000;
    font-family: 'Segoe UI', sans-serif;
    border-radius: 5px;
    position: sticky;
    top: 50px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: none;
}

.bcms-ve-page-section-options.visible {
    display: block;
}

.bcms-ve-page-section-option + .bcms-ve-page-section-option {
    margin-top: 10px;
}

.bcms-ve-page-section-option-label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.bcms-ve-page-section-option input,
.bcms-ve-page-section-option select {
    background: #fff;
    border: 1px solid #ccc;
    min-width: 150px;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
}

#bcms-ve-sidebar-actions {
    border-top: 2px solid #eee;
    padding: 10px;
    display: flex;
}

#bcms-ve-sidebar-actions a {
    flex: 1 1 auto;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
}
#bcms-ve-sidebar-actions a + a {
    margin-left: 10px;
}
#bcms-ve-sidebar-actions a:hover {
    color: #fff;
    background: #46a337;
}

.bcms-ve-page-section {
    position: relative;
}

.bcms-ve-page-section-editor {
    position: relative;
    z-index: 9999;
    min-height: 170px;
}

.bcms-ve-page-section-editor-form {
    background: #eee;
    padding: 50px 0;
    font-family: Arial;
    color: #000;
    font-size: 14px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.bcms-ve-page-section-editor-form > form {
    max-width: var(--boldr-columns-12);
    margin: 0 auto;
}

.bcms-ve-page-section-editor-form .form-check {
    display: flex;
    align-items: center;
}
.bcms-ve-page-section-editor-form :not(td) > .form-check::before {
    content: '';
    flex: 0 0 200px;
}
.bcms-ve-page-section-editor-form :not(td) > .form-check input {
    margin-right: 20px;
}
.bcms-ve-page-section-editor-form .form-check input {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background: #fff;
}
.bcms-ve-page-section-editor-form .form-check input:checked {
    background: blue;
}
.bcms-ve-page-section-editor-form .form-check label {
    margin-bottom: 0;
}

.bcms-ve-page-section-editor-form .form-group {
    display: flex;
    align-items: flex-start;
    border: 0;
    padding: 0;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.bcms-ve-page-section-editor-form .form-group:last-child {
    margin-bottom: 0;
}

.bcms-ve-page-section-editor-form .form-group > label {
    flex: 0 0 200px;
    margin: 10px 0 0 0;
    line-height: 1;
    display: block;
    font-weight: bold;
}

.bcms-ve-page-section-editor-form .form-group > *:not(label) {
    flex: 1 0 calc(100% - 200px);
}

.bcms-ve-page-section-editor-form .form-group [data-polymorphic-class] {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.bcms-ve-page-section-editor-form .form-group > .form-text {
    display: block;
    margin: 5px 0 10px 200px;
}

.bcms-ve-page-section-editor-form .form-group .form-select,
.bcms-ve-page-section-editor-form .form-group .boldr-icon-selector,
.bcms-ve-page-section-editor-form .form-group .form-control {
    background: #fff;
    padding: 10px 15px;
    font: inherit;
    border-radius: 3px;
    line-height: 1;
    color: inherit;
    border: 1px solid #ddd;
}

.bcms-ve-page-section-editor-form .btn {
    border-radius: 5px;
    display: inline-block;
    border: 1px solid #ccc;
    background: #fff;
    padding: 7px 15px;
    text-decoration: none;
    color: inherit;
}

.bcms-ve-page-section-editor-form .table {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-collapse: collapse;
}

.bcms-ve-page-section-editor-form .table td,
.bcms-ve-page-section-editor-form .table th {
    padding: 5px 10px;
}
.bcms-ve-page-section-editor-form .table th {
    border-bottom: 1px solid #ccc;
}

.bcms-ve-page-section-editor-form .polymorphic-cancel {
    float: right;
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 3px;
    border: 1px solid #ccc;
}
.bcms-ve-page-section-editor-form .page-section-type {
    line-height: 2em;
}

.bcms-ve-heading {
    position: relative;
}

.bcms-ve-heading-hidden .bcms-ve-inline-input {
    display: none;
}

.bcms-ve-layout {
    position: relative;
}

.bcms-ve-layout-type,
.bcms-ve-heading select {
    position: absolute;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
    top: -35px;
    left: 0;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #eee;
    font-size: 14px;
}

.bcms-ve-inline-input {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    display: block;
    width: 100%;
    text-transform: inherit;
    -webkit-appearance: none;
    text-align: inherit;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
}
textarea.bcms-ve-inline-input {
    height: 0;
    resize: none;
}

.tox-tinymce-inline {
    z-index: 9999;
}

.bcms-ve-links .boldr-button {
    position: relative;
}

.bcms-ve-link-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
}

.bcms-ve-link-editor {
    position: absolute;
    width: 200px;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px;
}

.boldr-icon-selector {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.boldr-icon-selector-icon {
    padding: 5px;
    height: 36px;
    display: inline-block;
}

.boldr-button i:not(.bcms-ve-no-icon) + span,
.boldr-button span + i:not(.bcms-ve-no-icon) {
    margin-left: 6px;
}

.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
    color: var(--boldr-text-color) !important;
    opacity: 0.5;
}

.bcms-ve-image {
    width: 100%;
    height: 100%;
}
