﻿.notes {
    margin-bottom: 3px;
}

.em {
    color: darkmagenta;
}

.code {
    color: darkred;
    margin-bottom: 1px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    padding-left: 10px;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-right: 2px;
    /*    border: solid 1px green;*/
}
.code-body {
    border-radius:5px;
    border: solid 1px white;
    position:relative;
}
    .code-body:hover {
        border-color: lightblue;
    }
.code select {
    min-width:100px;
}
.code .has-error {
    border: solid 1px red;
}
.code-prop {
    display:inline-block;
    min-width:120px; 
}
.code input[name='styles'] {
    min-width:300px;
}
.item-lookup {
    display:inline-flex;
    position:relative;
}
    .item-lookup:focus-within > .item-lookup-options {
        display:inline-block;
    }
.item-lookup-chevron {
    display: inline-block;
    height: 14px;
    margin-top: 5px;
    padding-left: 2px;
    padding-right: 2px;
    width: 16px;
    font-size: 10px;
    text-align: right;
    cursor: pointer;
    margin-left: -30px;
    background-color: transparent;
    pointer-events: none;
    cursor:pointer;
}
.item-lookup-options {
    margin-top: 26px;
    display: none;
    color: black;
    min-height: 30px;
    max-height: 400px;
    overflow-y: auto;
    font-weight: normal;
    position: absolute;
    background-color: white;
    width: 100%;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    z-index: 999;
    border: solid 1px silver;
    border-radius: 5px;
}
.item-lookup-option {
    display: block;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
    border: none;
    background-color: lightgoldenrodyellow;
    min-height: 22px;
    
}
.item-lookup-option:hover {
    background-color:gray;
    color:white;
}
.hint {
    color:chocolate;
    margin-bottom: 1px;
    font-size: 12px;
    font-style: italic;
    font-weight: normal;
    white-space: nowrap;
    padding-left: 20px;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-right: 2px;
    display:inline-flex;
}
.trial {
    color:black;
    font-weight:bold;
    border: none;
    background-color: lightgoldenrodyellow;
    width: auto;
    min-width: 30px;
    max-width: 150px;
    margin-bottom: 2px;
    border-radius: 5px;
    padding-left:3px;
}
    .trial:read-only { 
        font-weight: bold;
        color: darkred;
        width: auto;
        padding-right: 0px;
        padding-left: 0px;
        box-sizing: content-box;
    }
    .schema-btn {
        display: inline-block;
        width: auto;
        height: auto;
        text-align: center;
        padding: 2px 4px 2px 4px;
        margin-left: 5px;
        margin-right: 5px;
        font-size: 8px;
        border: solid 1px silver;
        border-radius: 3px;
        background-color: aquamarine;
        color: black;
    }
    .schema-btn:hover {
        background-color:darkcyan;
        color:white;
    }

.schema-btn-add {
    margin-left: 15px;
}
.schema-btn-remove {
    background-color: darkred;
    color: white;

    position:absolute;
    left:-10px;
    width:16px;
}
    .schema-btn-remove:hover {
        background-color: red;
        color: white;
    }
.attr-hidden {
    display:none;
}

.attr-collapse > .code-inner {
    display:none;
}

.collapse-btn {
    display: inline-block;
    width: auto;
    height: auto;
    text-align: center;
    padding: 2px 4px 2px 4px;
    margin-left: 0px;
    margin-right: 5px;
    font-size: 8px;
    border: solid 1px silver;
    border-radius: 3px;
    background-color:white;
}

    .collapse-btn:hover {
        background-color: black;
        color: white;
    }
.styles {
    min-width:300px;
}

.dragdrop-btn {
    display: inline-block;
    width: auto;
    height: auto;
    text-align: center;
    padding: 2px 4px 2px 4px;
    margin-left: 0px;
    margin-right: 5px;
    font-size: 8px;
    border: solid 1px silver;
    border-radius: 3px;
    background-color: white;
}

.dragdrop-btn:hover {
    background-color: black;
    color: white;
}
.schema-drag-source {
    border: solid orange 1px;
}
.schema-drag-target { 
    border-bottom:solid orange 10px;
}
