.ui-wrapper { border: 1px solid #50A029; }
.ui-wrapper input, .ui-wrapper textarea { border: 0; }

/* This file skins dialogs */
.standard.ui-dialog {
    background: #fff;
    color: #000;
    font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Lucida,Arial,Verdana,sans-serif;
    font-size: 12px;
    line-height: 100%;
    /* The following position is necessary so that the dialog content does not appear
    outside the dialog and far down below the page in the theme designer. */
    position: absolute;
}

.standard.ui-dialog .submit-primary, .standard.ui-dialog .submit-secondary {
    font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Lucida,Arial,Verdana,sans-serif !important;
    font-size: 12px;
    line-height: 100%;
    font-weight: 100%;
}

.standard .ui-dialog .ui-dialog-titlebar,
.standard.ui-dialog .ui-dialog-titlebar {
    background: #69a823 url(images/header_bg.png) repeat-x bottom;
    padding: 5px 9px 0px 8px;
    margin: 0px;
    height: 24px;
    /* Setting the position and z-index is necessary so that
    the title bar appears above the left and right borders. */
    position: relative;
    z-index: 1001;
}

.standard .ui-draggable .ui-dialog-titlebar,
.standard.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}

.standard .ui-draggable-disabled .ui-dialog-titlebar,
.standard.ui-draggable-disabled .ui-dialog-titlebar {
    cursor: standard;
}

.standard .ui-dialog .ui-dialog-titlebar-close,
.standard.ui-dialog .ui-dialog-titlebar-close {
    width: 16px;
    height: 16px;
    background: url(images/dialog-titlebar-close.gif) no-repeat;
    position:absolute;
    top: 6px;
    right: 7px;
    cursor: standard;
}

.standard .ui-dialog .ui-dialog-titlebar-close span,
.standard.ui-dialog .ui-dialog-titlebar-close span {
    display: none;
}

.standard .ui-dialog .ui-dialog-titlebar-close-hover,
.standard.ui-dialog .ui-dialog-titlebar-close-hover {
    background: url(images/dialog-titlebar-close-hover.gif) no-repeat;
}

.standard .ui-dialog .ui-dialog-title,
.standard.ui-dialog .ui-dialog-title {
    color: white;
    padding: 0px;
    margin: 0em;
}

.standard .ui-dialog .ui-dialog-title a,
.standard.ui-dialog .ui-dialog-title a {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

.standard .ui-dialog .ui-dialog-title .title_bar_table,
.standard.ui-dialog .ui-dialog-title .title_bar_table {
    border-collapse: collapse; 
    width: 100%; 
    margin: 0px;
    padding: 0em;
}

.standard.ui-dialog .ui-dialog-content {
    margin: 1.5em 2.5em 2.5em 2.5em;
}

.ui-dialog-content h1 {
    color: #629D1F;
}

.ui-dialog-content td {
    border: #629D1F;
}

.standard .ui-dialog .ui-dialog-buttonpane,
.standard.ui-dialog .ui-dialog-buttonpane {
    position: absolute;
    bottom: 8px;
    right: 12px;
    width: 100%;
    text-align: right;
}

.standard .ui-dialog .ui-dialog-buttonpane button,
.standard.ui-dialog .ui-dialog-buttonpane button {
    margin: 6px;
}

/* Dialog handle styles */
.standard .ui-dialog .ui-resizable-n,
.standard.ui-dialog .ui-resizable-n { 
    cursor: n-resize; 
    height: 6px; 
    width: 100%; 
    top: 0px; 
    left: 0px;
}

.standard .ui-dialog .ui-resizable-s,
.standard.ui-dialog .ui-resizable-s { 
    cursor: s-resize; 
    height: 10px; 
    width: 100%; 
    bottom: 0px; 
    left: 0px; 
    background: #192e03;
}

.standard .ui-dialog .ui-resizable-e,
.standard.ui-dialog .ui-resizable-e { 
    cursor: e-resize; 
    width: 10px; 
    right: 0px; 
    height: 100%; 
    background: #3a610f url(images/sidebar_bg.png) left bottom repeat-x; 
}

.standard .ui-dialog .ui-resizable-w,
.standard.ui-dialog .ui-resizable-w { 
    cursor: w-resize; 
    width: 10px; 
    right: 0px; 
    height: 100%; 
    background: #3a610f url(images/sidebar_bg.png) right bottom repeat-x;
}

.standard .ui-dialog .ui-resizable-se,
.standard.ui-dialog .ui-resizable-se { 
    cursor: se-resize; 
    width: 9px; 
    height: 10px; 
    right: 0px; 
    bottom: 0px; 
    background: transparent url(images/corner.gif) no-repeat bottom right;
}

.standard .ui-dialog .ui-resizable-sw,
.standard.ui-dialog .ui-resizable-sw { 
    cursor: sw-resize; 
    width: 9px; 
    height: 9px; 
    left: 0px; 
    bottom: 0px; 
    background: transparent; 
}

.standard .ui-dialog .ui-resizable-nw,
.standard.ui-dialog .ui-resizable-nw { 
    cursor: nw-resize; 
    width: 9px; 
    height: 29px; 
    left: 0px; 
    top: 0px; 
    background: transparent; 
}

.standard .ui-dialog .ui-resizable-ne,
.standard.ui-dialog .ui-resizable-ne { 
    cursor: ne-resize;
    width: 9px; 
    height: 29px; 
    right: 0px; 
    top: 0px; 
    background: transparent; 
}

.ui-widget-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}

/* This file skins resizables */

.ui-resizable { position: relative; }

/* Global handle styles */
.ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; }
.ui-resizable .ui-resizable-handle { display: block; }
body .ui-resizable-disabled .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */

.ui-resizable-n { cursor: n-resize; height: 6px; width: 100%; top: 0px; left: 0px;  }
.ui-resizable-s { cursor: s-resize; height: 6px; width: 100%; bottom: 0px; left: 0px; }

.ui-resizable-e { cursor: e-resize; width: 6px; right: 0px; top: 0px; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 6px; left: 0px; top: 0px; height: 100%; }

.ui-resizable-se { cursor: se-resize; width: 9px; height: 9px; right: 0px; bottom: 0px;}
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: 0px; bottom: 0px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: 0px; top: 0px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: 0px; top: 0px; }