/* Pulled from the excellent Spectre CSS framework (https://picturepan2.github.io/spectre/) and modified for this project's specific needs. */

.column.col-1, .column.col-10, .column.col-11, .column.col-12, .column.col-2, .column.col-3, .column.col-4, .column.col-5, .column.col-6, .column.col-7, .column.col-8, .column.col-9, .column.col-auto, [class~=col-].col-1, [class~=col-].col-10, [class~=col-].col-11, [class~=col-].col-12, [class~=col-].col-2, [class~=col-].col-3, [class~=col-].col-4, [class~=col-].col-5, [class~=col-].col-6, [class~=col-].col-7, [class~=col-].col-8, [class~=col-].col-9, [class~=col-].col-auto {
    -ms-flex: none;
    flex: none;
}

#editor_wrapper .col-12 {
    width: 100%;
}

#editor_wrapper div[data-theme="spectre"] * {
    --primary-color: #5755d9;
    --gray-color: #bcc3ce;
    --light-color: #fff;
}

#editor_wrapper div[data-theme="spectre"] div[data-schematype]:not([data-schematype="object"]) {
    transition: all 0.5s ease 0s;
}

#editor_wrapper .cols, #editor_wrapper .columns {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -.4rem;
    margin-right: -.4rem;
}

#editor_wrapper .je-object__container {
    position: relative;
}

#editor_wrapper .col-12 {
    width: 100%;
}

#editor_wrapper .column, [class~=col-] {
    -ms-flex: 1;
    flex: 1;
    max-width: 100%;
    padding-left: .4rem;
    padding-right: .4rem;
}

#editor_wrapper .h4, #editor_wrapper h4 {
    font-size: 1.2rem;
}

#editor_wrapper h1, #editor_wrapper h2, #editor_wrapper h3, #editor_wrapper h4, #editor_wrapper h5, #editor_wrapper h6 {
    color: inherit;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
    margin-top: 0;
}

#editor_wrapper .je-object__controls {
    margin: 0px 0px 0px 10px;
}

#editor_wrapper btn-group {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#editor_wrapper p {
    margin: 0.2rem 0.4rem 1.2rem 0.4rem;
    font-size: 12px;
    color: #777;
}

#editor_wrapper div[data-theme="spectre"] .columns .container.je-noindent {
    padding-left: 0px;
    padding-right: 0px;
}

#editor_wrapper .container {
    margin-left: auto;
    margin-right: auto;
}

#editor_wrapper div[data-theme="spectre"] .je-label {
    font-weight: 600;
}

#editor_wrapper .form-input {
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    background-image: none;
    border: .05rem solid #bcc3ce;
    border-radius: .1rem;
    color: #3b4351;
    display: block;
    font-size: 1rem;
    height: 1.8rem;
    line-height: 1.2rem;
    outline: 0;
    padding: .25rem .4rem;
    position: relative;
    transition: background .2s,border .2s,box-shadow .2s,color .2s;
    width: 100%;
}

#editor_wrapper .form-label {
    display: block;
    line-height: 1.2rem;
    padding: .3rem 0;
}

#editor_wrapper .form-select:not([multiple]):not([size]) {
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%23667189'%20d='M2%200L0%202h4zm0%205L0%203h4z'/%3E%3C/svg%3E") no-repeat right .35rem center/.4rem .5rem;
    padding-right: 1.2rem;
}

#editor_wrapper div[data-theme="spectre"] .je-label + select {
    min-width: 5rem;
}

#editor_wrapper div[data-theme="spectre"] * {
    --primary-color: #5755d9;
    --gray-color: #bcc3ce;
    --light-color: #fff;
}

#editor_wrapper .form-select {
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border: .05rem solid #bcc3ce;
    border-radius: .1rem;
    color: inherit;
    font-size: 1rem;
    height: 1.8rem;
    line-height: 1.2rem;
    outline: 0;
    padding: .25rem .4rem;
    vertical-align: middle;
    width: 100%;
}

#editor_wrapper .form-group{
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
}

#editor_wrapper .h4, #editor_wrapper h4 {
    font-size: 2.2rem;
    font-weight: bold;
    padding-left: 10px;
    padding-top: 10px;
}

#editor_wrapper div[data-theme="spectre"] .je-desc {
    font-size: smaller;
    margin: 0.2rem 0px;
}

#editor_wrapper div[data-schemapath="root.markerType"], #editor_wrapper div[data-schemapath="root.markerCoordinates"], #editor_wrapper div[data-schemapath="root.labelCoordinates"]{
    display: none !important;
}

#editor_wrapper .invalid-feedback, #editor_wrapper .form-input-hint {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 75%;
    color: #b81727;
}

div[data-theme="spectre"] .required::after {
    /* content: " *"; */
    content: "" !important;
    color: red;
    font: inherit;
}

#editor_wrapper *, #editor_wrapper ::after, #editor_wrapper ::before {
    box-sizing: inherit;
}