.image-annotate-add {
    background: #fff url(../images/asterisk_yellow.png) no-repeat 3px 3px;
    border: solid 1px #ccc !important;
    color: #000 !important;
    cursor: pointer;
    display: block;
    float: left;
    font-family: Verdana, Sans-Serif;
    font-size: 12px;    
    height: 18px;
    width: 64px;
    line-height: 18px;    
    padding: 2px 0 2px 24px;
    margin: 5px 0;
    text-decoration: none;
}
.image-annotate-add:hover {
    background-color: #eee;
}
.image-annotate-canvas {
    background-position: left top;
    background-repeat: no-repeat;
    display: block;
    margin: 0;
    position: relative;
}
.image-annotate-view {
    position: relative;
}
.image-annotate-area {
    border: 1px solid #10181f;
    position: absolute;
}
.image-annotate-area div {
    border: 1px solid #fff;
    display: block;
}
.image-annotate-area-hover div {
    border-color: #d80 !important;
}
.image-annotate-area-editable {
    cursor: pointer;
}
.image-annotate-area-editable-hover div {
    border-color: #6a3 !important;
}
.image-annotate-note {
    background: rgba(0,0,0,.5) none repeat scroll 0 0;
    color: #fff;
    display: none;
    text-align: left;
    max-width: 200px;
    padding: 4px 8px;
    position: absolute;
}
.image-annotate-note a { color: #a0a8af;}
.image-annotate-note p { color: #fff; margin: 0; padding: 0 0 5px 0;}
.image-annotate-note .actions {
    display: block;
    font-size: 80%;
}
.image-annotate-edit {
    display: none;
}
#image-annotate-text {
  margin: 0 0 5px 0;
}
#image-annotate-edit-form {
    background: rgba(0,0,0,.2) none repeat scroll 0 0;
    height: auto; 
    padding: 5px;
    position: absolute;
    width: auto; 
}
#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: 65px;
    font-family: Verdana, Sans-Serif;
    font-size: 12px;    
    width: 245px;
}
#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 {
}

#image-annotate-edit-form a:hover {
}

.image-annotate-edit-area {
    border: 2px solid #000;
    background: rgba(255,255,255,.5);
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    cursor: move;
    display: block;
    width: 60px;
    height: 60px;
    left: 10px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 10px;
}
.image-annotate-edit-area .ui-resizable-handle {
    opacity: 1;
}
.image-annotate-edit-ok {
    /* background-image: url(/images/icons/fatcow/16/accept.png); */
}
.image-annotate-edit-delete {
    /* background-image: url(/images/icons/fatcow/16/delete.png); */
}
.image-annotate-edit-close {
    /* background-image: url(/images/icons/fatcow/16/cross.png); */
}
.ui-resizable {
    position: relative;
}
.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    z-index: 99999;
    display: block;
    background: #fff url('/images/icons/fatcow/32/shading.png') no-repeat center center;
}
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable- autohide .ui-resizable-handle {
    display: block;
}
.ui-resizable-n, .ui-resizable-e, .ui-resizable-s, .ui-resizable-w { background: none;}
/*
.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: 14px;
    height: 14px;
    right: -7px;
    bottom: -7px;
    border: 1px solid #000;
}
.ui-resizable-sw {
    cursor: sw-resize;
    width: 14px;
    height: 14px;
    left: -7px;
    bottom: -7px;
    border: 1px solid #000;
}
.ui-resizable-nw {
    cursor: nw-resize;
    width: 14px;
    height: 14px;
    left: -7px;
    top: -7px;
    border: 1px solid #000;
}
.ui-resizable-ne {
    cursor: ne-resize;
    width: 14px;
    height: 14px;
    right: -7px;
    top: -7px;
    border: 1px solid #000;
}
