.image-annotate-add {
    background: #fff url(../img/asterisk_yellow.png) no-repeat 6px 6px;
    border: solid 1px #ccc !important;
    color: #000 !important;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    height: auto;
    line-height: 18px;
    padding: 5px 6px 5px 28px;
    margin: 5px 0;
    width: auto;
    text-decoration: none;
}

    .image-annotate-add:hover {
        background-color: #eee;
    }

.image-annotate-canvas {
    border: solid 1px #ccc;
    background-position: left top;
    background-repeat: no-repeat;
    display: block;
    margin: 0;
    position: relative;
    background-size: cover;
}

.image-annotate-view {
    display: none;
    position: relative;
    float: left;
}

.image-annotate-area {
    border: 1px solid #000000;
    position: absolute;
}

    .image-annotate-area div {
        border: 1px solid #FFFFFF;
        display: block;
    }

.image-annotate-area-hover div {
    border-color: yellow !important;
}

.image-annotate-area-editable {
    cursor: pointer;
}

.image-annotate-area-editable-hover div {
    border-color: #11836f !important;
}

.image-annotate-note {
    background: #E7FFE7 none repeat scroll 0 0;
    border: solid 1px #397F39;
    color: #000;
    display: none;
    font-size: 12px;
    max-width: 200px;
    padding: 3px 7px;
    position: absolute;
    width: max-content;
    /*width: -webkit-fit-content;*/
    /*width: -moz-fit-content;
    width: fit-content;
    /*width: 100%;*/
}

    .image-annotate-note .actions {
        display: block;
        font-size: 80%;
    }

.image-annotate-edit {
    display: none;
}

#image-annotate-edit-form {
    background: white none repeat scroll 0 0;
    border: 2px solid #f98708;
    /*height: 78px;*/
    padding: 7px;
    position: absolute;
    width: 290px;
}

    #image-annotate-edit-form form {
        clear: right;
        margin: 0 !important;
        padding: 0;
        z-index: 999;
    }

    #image-annotate-edit-form .box {
        margin: 0;
    }

    #image-annotate-edit-form input.form-text, #image-annotate-edit-form #edit-comment-wrapper textarea {
        width: 90%;
    }

    #image-annotate-edit-form textarea {
        height: 50px;
        font-size: 12px;
        width: 100%;
    }

    #image-annotate-edit-form fieldset {
        background: transparent none repeat scroll 0 0;
    }

    #image-annotate-edit-form .form-item {
        margin: 0 0 5px;
    }

    #image-annotate-edit-form .form-button, #image-annotate-edit-form .form-submit {
        margin: 0;
    }

    #image-annotate-edit-form a {
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: 3px 3px;
        border: solid 1px #ccc;
        color: #333;
        cursor: pointer;
        display: block;
        float: left;
        font-size: 12px;
        line-height: 18px;
        padding: 2px 6px 2px 25px;
        margin: 3px 6px 3px 0;
    }

        #image-annotate-edit-form a:hover {
            background-color: #eee;
        }

.image-annotate-edit-area {
    border: 2px solid #f98708;
    cursor: move;
    display: block;
    height: 60px;
    left: 10px;
    margin: 0;
    padding: 0;
    position: absolute !important;
    top: 10px;
    width: 60px;
}

    .image-annotate-edit-area .ui-resizable-handle {
        opacity: 0.8;
    }

.image-annotate-edit-ok {
    background-image: url(../Content/images/accept.png);
}

.image-annotate-edit-delete {
    background-image: url(../Content/images/delete.png);
}

.image-annotate-edit-close {
    background-image: url(../Content/images/cross.png);
}

.ui-resizable {
    position: relative;
}

.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    z-index: 99999;
    display: block;
}

.ui-resizable-disabled .ui-resizable-handle, .ui-resizable- autohide .ui-resizable-handle {
    display: block;
}

.ui-resizable-n {
    cursor: n-resize;
    height: 7px;
    width: 100%;
    top: -5px;
    left: 0px;
}

.ui-resizable-s {
    cursor: s-resize;
    height: 7px;
    width: 100%;
    bottom: -5px;
    left: 0px;
}

.ui-resizable-e {
    cursor: e-resize;
    width: 7px;
    right: -5px;
    top: 0px;
    height: 100%;
}

.ui-resizable-w {
    cursor: w-resize;
    width: 7px;
    left: -5px;
    top: 0px;
    height: 100%;
}

.ui-resizable-se {
    cursor: se-resize;
    width: 12px;
    height: 12px;
    right: 1px;
    bottom: 1px;
}

.ui-resizable-sw {
    cursor: sw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    bottom: -5px;
}

.ui-resizable-nw {
    cursor: nw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    top: -5px;
}

.ui-resizable-ne {
    cursor: ne-resize;
    width: 9px;
    height: 9px;
    right: -5px;
    top: -5px;
}

select.niche-locations {
    width: 100%;
    margin-bottom: 7px;
}

p.error-msg {
    font-family: "Poppins-Italic";
    color: #e74747;
    font-size: 1.2rem;
}
