#iFrameWrapper {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 49px;
    bottom: 0px;
}

#imageToolIframe {
    /*border:1px solid blue;*/
    display: block;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
}

.imageToolButtonBar {
    background: #fff;
    border-bottom: 1px solid silver;
    border-top: 1px solid silver;
    padding: 5px 15px 1px 15px;
    vertical-align: middle;
    box-shadow: 0 1px 3px $color-palette-black-op-20;
}

#imageViewPort {
    overflow: auto;
    margin-top: 5px;
}

#toolBar {
    background: #fff;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    /*border:1px solid blue;*/
}

#exif {
    clear: both;
    height: 2em;
}

#showScaleSlider {
    margin: 10px auto;
    width: 250px;
    height: 20px;
}

#saveAsDialog {
    width: 350px;
    height: 170px;
}

#saveAsDiaTable {
    margin: auto;
    margin-top: 10px;
    td {
        padding: 8px;
    }
}

#saveAsFileExt {
    font-weight: bold;
}

#cropDim {
    display: none;
}

/* part of the widget: drag handle styles */

.imageDragger {
    /* required: */
    position: absolute;
    /* optional: */
    cursor: move;
    z-index: 999;
    background: #fff;
    border: 2px dotted #000;
    min-width: 50px;
    min-height: 50px;
}

#cropSizeBox {
    float: left;
    border: 1px solid silver;
    opacity: 1;
    min-width: 46px;
    height: 20px;
    color: black;
    white-space: nowrap;
}

.textInputClass {
    border: 1px solid silver;
    width: 46px;
    margin: 2px;
    height: 23px;
}

.baseImageDim {
    width: 45px;
    margin: 2px;
    height: 23px;
    overflow: hidden;
    display: inline-block;
    padding-top: 4px;
}

#doCropButton {
    display: none;
}

#filtersUndoDiv {
    text-align: left;
}

#filterListTd {
    vertical-align: top;
    padding: 0px;
}

#filterListBox {
    height: 115px;
    display: block;
}

#filterListDiv {
    width: 115px;
    overflow-y: auto;
    height: 80px;
    overflow-x: hidden;
}

.loader {
    background: url("/html/js/dotcms/dijit/image/loading.gif") no-repeat center center;
}

.filterListItem {
    text-align: left;
    cursor: pointer;
    width: 100px;
    padding: 2px;
    border: 1px solid silver;
    background: url("/html/images/icons/minus-small-circle.png") no-repeat right center;
}

#controlTable {
    width: 100%;
    td {
        border: 1px solid silver;
        padding: 3px;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
    }
}

#showScaleSlider td {
    border: 0px solid silver;
    padding: 0px;
}

#hsbDialog {
    width: 400px;
    height: 300px;
}

#hsbTable {
    border: 1px solid silver;
    width: 90%;
    td {
        padding: 4px;
        border: 1px solid silver;
        height: 20px;
        vertical-align: top;
    }
    .colorSlider td {
        padding: 0px;
        border: 0px solid silver;
    }
}

.colorSlider {
    width: 200px;
}

.thumbnailDiv {
    border: solid 2px $color-palette-gray-400;
    box-sizing: content-box;
    cursor: pointer;
    min-height: 120px;
    min-width: 120px;
    padding: $spacing-1 * 2;
    position: relative;

    &Hover {
        border: solid 2px $color-palette-gray-500;
        box-sizing: content-box;
        padding: $spacing-1 * 2;
        position: relative;

        .editImageText {
            opacity: 1;
        }
    }
}

.editImageText {
    background: white;
    border-radius: $border-radius-xs;
    border: $field-border-size solid $color-palette-gray-700;
    bottom: $spacing-1;
    cursor: pointer;
    opacity: 0.5;
    padding: 0 $spacing-1;
    height: $field-height-md;
    line-height: calc($field-height-md - ($field-border-size * 2));
    position: absolute;
    right: $spacing-1;
}

/*********

Resize Handle

********/

.dojoxResizeHandle {
    float: right;
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 13px;
    height: 13px;
    z-index: 20;
    background-image: url("/html/js/dotcms/dijit/image/resize.png");
    line-height: 0px;
}

.dojoxResizeNW {
    cursor: nw-resize;
}

.dojoxResizeNE {
    cursor: ne-resize;
}

.dojoxResizeW {
    cursor: w-resize;
}

.dojoxResizeN {
    cursor: n-resize;
}

.dojoxResizeHandleClone {
    position: absolute;
    top: 0;
    left: 0;
    border: 1px dashed #666;
    z-index: 999;
}
