﻿.HTMLEditorToolbar {
    text-align: left !important;
    padding: 2px;
    background-color: whitesmoke;
    border-radius: 4px;
    margin: 0px;
    display: flex;
    overflow: auto;
}

.HTMLEditorToolBarButton {
    display: inline-block;
    outline: 0;
    border: 0;
    background: none;
}

.HTMLEditorToolBarFontSizeInput {
    display: inline-block;
    color: black;
    font-size: 14px;
    width: 60px;
    border-style: none;
}

.HTMLEditorToolBarFontSizeSelect {
    width: 20px;
    border-style:none;
}

.HTMLEditorToolBarIcon {
    display: inline-block;
    color: black;
    font-size: 16px;
}

    .HTMLEditorToolBarIcon:hover {
        background-color: grey;
    }

.HTMLEditorToolBarIconOn {
    background-color: grey;
}

.HTMLEditorToolBarDropDownIcon {
    display: inline-block;
    color: black;
    font-size: 14px;
}

.HTMLEditorToolBarSelect {
    display: block;
    font-size: 14px;
    padding-right: 35px;
    padding-left: 5px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-style: none;
}

.HTMLEditorToolBarDropDownButton {
    display: inline-block;
    outline: 0;
    border: 0;
    background: none;
}

    .HTMLEditorToolBarDropDownButton:hover {
        background-color: grey;
    }

.HTMLEditorToolbarDropDownMenu {
    position: absolute;
    z-index: 10000;
    display: none;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}



.HTMLEditorToolBarColorPicker {
    position: absolute;
    height: 23px;
    width: 23px;
    opacity: 0;
    cursor: pointer;
    margin-left: -22px;
}



.HTMLEditorDropDown {
    background-color: white;
    color: black;
    padding: 2px;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    display: None;
    z-index: 10000;
    border-style: solid;
    border-radius: 2px;
    border-color: lightgray;
}
/*[contenteditable]:focus {
    outline: 0px solid transparent;
}*/

.HTMLEditorCurrentElement {
    outline: 1px Solid #bdd7f4;
}

.HTMLEditorElementMouseOver:hover {
    outline: 1px dotted #bdd7f4;
}
.no-scroll {
    overflow: hidden;
}
.HTMLEditorFullScreen {
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.8); 
    overflow: auto; 
    display: none;
}

.HTMLEditorFullScreenContent {
    background: white !important;
    width: calc(100% - 10px) !important;
    height: calc(100% - 36px) !important;
    resize: none !important;
    padding: 3px !important;
    margin: 3px !important;
    border: 1px solid #888 !important;
}

.HTMLEditorHTMLTextArea {
    width: calc(100% - 10px) !important;
    height: calc(100% - 30px) !important;
    resize: none;
    display: none;
}

.HTMLEditorHTMLTextAreaSave {
    display: none;
    height: 25px;
}

.HTMLEditorHTMLTextAreaCancel {
    display: none;
    height: 25px;
}

.HTMLEditorToFullScreen {
    width: calc(100vw - 10px) !important;
    height: calc(100vh - 42px) !important;
    z-index: 10000;
}

.HTMLEditorWhiteBackground {
    background-color: white;
}

.HTMLToolBarToFullScreen {
    width: calc(100vw - 10px) !important;
    z-index: 10000;
}




.resizable {
    background: white;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 100px;
    left: 300px;
}

.DisplayNone {
    display: None !important;
}




.resizer {
    width: 5px;
    height: 5px;
    border-radius: 50%; /*magic to turn square into circle*/
    background: white;
    border: 1px solid #4286f4;
    position: absolute;
    z-index: 5000;
}

    .resizer.top-left {
        cursor: nwse-resize; /*resizer cursor*/
    }

    .resizer.top-right {
        cursor: nesw-resize;
    }

    .resizer.bottom-left {
        cursor: nesw-resize;
    }

    .resizer.bottom-right {
        cursor: nwse-resize;
    }

.HTMLProperties {
    float: left;
    width: 410px;
    height: calc(100% - 40px);
    background: #f0f0f0;
    padding: 5px;
}

    .HTMLProperties input {
        flex-grow: 1;
    }

    .HTMLProperties .HTMLProperty {
        display: flex;
        width: 100%;
    }

    .HTMLProperties button {
        border-width: 1px;
    }

    .HTMLProperties .Caption {
        border-style: none;
        display: inline-block;
        width: 100px;
        white-space: nowrap;
        box-sizing: border-box;
        overflow: hidden;
        vertical-align: middle;
        align-self: center;
        text-overflow: ellipsis;
        color: var(--control-caption-color);
        font-family: var(--control-caption-font-family);
        font-size: var(--control-caption-font-size);
        font-weight: var(--control-caption-font-weight);
        line-height: var(--control-caption-line-height);
        text-align: var(--control-caption-text-align);
        padding-top: var(--control-caption-padding);
        padding-left: var(--control-caption-padding);
        padding-bottom: var(--control-caption-padding);
        padding-right: var(--control-caption-padding-right);
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
    }
}
