.edit-bar {
    position: sticky;
    width: auto;
    top: 0;
    z-index: 9;
    padding: .25rem;
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.2);

    display: flex;
    justify-content: flex-start;
}

.edit-bar .input-group {
    width: auto;
    background-color: #fff;
    border-radius: .375rem;
}

.edit-bar .form-select {
    height: auto;
}

.tmp-item {
    /*position: relative;*/
    min-height: 1rem;
}

.tmp-label {
    position: absolute;
    z-index: 9;
    background-color: var(--c-point);
    border: solid 1px var(--c-point);
    color: #fff;
    padding: 0 .5rem;
    border-radius: 1rem;
    border: solid 1px #fff;
    transition: all 0.3s ease;
    cursor: pointer;

}
.tmp-label:hover {
    background-color: var(--c-primary);
    border-color: var(--c-primary);
}

.tmp-label .tmp-label {
    background-color: var(--blue-dark);
    /*margin-top: -1rem;*/
}

.dropdown-menu {
    padding: 0;
    border: solid 1px #fff;
    border-radius: 0;
    box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
}

.dropdown-menu input[type=text],
.dropdown-menu textarea,
.dropdown-menu select {
    border: none;
}

.dropdown-menu .ck-editor {
    max-width: 1000px;
}

.dropdown-menu input[type=text]:focus {
    outline: none;
}

.dropdown-menu select {
    width: 100%;
    border: none;
    font-size: 0.7rem;
}

.dropdown-menu textarea {
    min-height: initial;
    overflow-y: scroll !important;
}

.dropdown-menu .choice {
    font-size: small;
    padding: 0 .5rem;
}

.dropdown-menu .choice span {
    display: inline-flex;
    align-items: center;
    margin: .25rem .25rem;
}

.dropdown-item {
    padding: 0
}

.dropdown-item:not(:first-child) {
    border-top: solid 1px var(--gray-300);
}

.dropdown-menu .add-list {
    margin: .5rem
}

.dropdown-menu .btn-wrap {
    white-space: nowrap;
    padding: .5rem;
}

.dropdown-menu label {
    color: var(--orange);
    font-size: small;
}

/*  type-list */
.type-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.type-list li {
    position: relative;
    margin: 0;
    border-bottom: dashed 1px var(--gray-700);
}

.type-list input[type=text] {
    width: 100%;
}

.type-list .group {
    display: flex;
    align-items: center;
    border-bottom: solid 1px var(--gray-300);
}

.type-list input[type=text],
.type-list input[type=file],
.type-list select {
    border: solid 1px var(--gray-200);
    border-radius: 3px;
    background-color: transparent;
    width: auto;
}

.type-list .group input {
    flex: 1 0 auto;
    width: auto;
}

.custom-list li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    padding: 1rem
}

.custom-list li input, .custom-list li select {
    flex: 0 1 auto;
    width: auto;
    background-color: var(--gray-100) !important;
}

.custom-list .input-item {
    margin: 2px;
}

.custom-list .d-flex img {
    flex: 0 0 auto;
    width: auto;
    height: 46px;
    border-radius: 3px;
    margin-left: 1px;
}

.type-list .handle {
    position: absolute;
    left: -0.75rem;
    top: calc(50% - 0.75rem);
    background-color: #fff;
    border: solid 1px var(--gray-800);
    border-radius: 2px;
    padding: 0 .15rem;
}

.type-list .handle:hover {
    cursor: move;
    background-color: var(--gray-300);
}

.type-list .remove {
    position: absolute;
    right: -0.5rem;
    top: calc(50% - 0.75rem);
    color: var(--red-dark)
}

.type-list .remove:hover {
    cursor: pointer;
    color: #000;
}

/*  type-table */
.type-table {
    width: auto !important;
    max-width: 1000px;
    min-width: 50vw;
}

.type-table td,
.type-table th {
    border: none;
    padding: 1px;
    min-width: 150px;
}

.type-table input[type=text] {
    border: solid 1px var(--gray-200);
    width: 100%;
}

.type-table th input[type=text] {
    background-color: var(--gray-200);
}

.image-uploader {
    display: inline-block;
}

.drop-area {
    background-color: rgba(214, 255, 50, 1);
    border: solid 1px #fff;
    stroke-width: 1px;
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drop-area.pc {
    border-left: none;
}

.drops {
    box-shadow: 0 3px 5px 5px rgba(0, 0, 0, 0.3);
}

.drop-text {
    color: #fff;
    background-color: #000;
    text-align: center;
    font-size: 0.7em;
}

.loader-icon {
    position: absolute;
    top: 2rem;
    left: calc(50% - 25px);
    width: 50px;
    display: none;
}


/* school-search-result */
.school-search-result {
    max-height: 200px;
    overflow-y: scroll;
    border-top: solid 1px var(--gray-300)
}

.school-selector {
    list-style: none;
    margin: 0;
    padding: 0;
}

.school-selector li {
    font-size: small;
    padding: 0 .5rem;
    background-color: var(--gray-200);
}

.school-selector li:hover {
    outline: solid 1px var(--red-dark);
    background-color: var(--red-light);
    cursor: pointer;
    color: #fff;
}

.school-selected {
    list-style: none;
    margin: 0;
    padding: 0;
}

.school-selected li {
    font-size: small;
    padding: .25rem .5rem;
}

.school-selected li i:hover {
    cursor: pointer;
    color: var(--red);
}

.school-search-btn {
    border: none;
    border-radius: 0;
}
