/*
    Common Style elements for OWX pages
*/

/*  Default body styles */

body {
    margin: 0px;
    font-size: 15px;
    font-family: arial;
    color: #002828;
}

/*  Standard input area formatting  */

input, textarea, select {
    margin: 0px;
    padding: 0px;
    font-family: arial;
    font-size: 14px;
}

/*  Default error message formatting */

.error {
    color: #FF0000;
    font-weight: bold;
}

/*  Default image formatting - no borders   */

img {
    border-width: 0px;
}

/*  Default form styles */

form {
    padding: 0px;
    margin: 0px;
}

/* ===== Overall structure of page - banner, main and footer divs ==== */

#banner {
    position: relative;
    height: 200px;
    min-width: 960px;
    width: 960px;
    margin: 0px auto 0px auto;
}

#main {
    width: 930px;
    min-width: 930px;
    margin: 0px auto 0px auto;
    background-color: #ffffff;
    position: relative;
}

#footer {
    width: 960px;
    min-width: 960px;
    height: 250px;
    min-height: 250px;
    margin: 0px auto 0px auto;
    background-image: url( '../oneworld/owfooter.png' );
    position: relative;
}
    



/* Styles in banner area */

div#banner a.logo {
    position: absolute;
    top: 45px;
    left: 0px;
    cursor: pointer;
    display: none;
}
    
    
#banner-content {
    position: relative;
    width: 940px;
    height: 135px;
    margin: 0px auto 0px auto;
}

div#banner div.site-user {
    position: absolute;
    top: -210px;
    right: 0px;
    color: #ffffff;
}
div#banner div.site-user a {
    color: #ffffff;
}

/* Styles for main widget table */

#main-table {
    margin: 0px 5px;
    position: relative;
}
#main-table td.column {
    width: 240px;
    text-align: left;
    vertical-align: top;
}
#main-table td.last {
    width: 210px;
}
#main-table td div.filler {
    position: relative;
    width: 210px;
}
div.filler div.widget1 {
    position: absolute;
    text-align: left;
    top: 0px;
    left: 0px;
}

/*  Generic style to hide elements */

.hidden {   
    display: none;
}


/* Standard Movable Widget Styles */

div.mwidget div.configure {
    position: absolute;
    display: none;
    width: 100%;
    bottom: 0px;
    left: 0px;
    min-height: 31px;
    height: 31px;
    padding: 0px;
    margin: 0px;
}
div.mwidget div.mbutton {
    float: right;
    cursor: pointer;
    font-size: 12px;
    height: 15px;
    border: 5px solid #37b551;
    margin: 0px 5px 0px 0px;
    -moz-border-radius: 4px; 
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-weight: bold;
    background: #37b551;
    color: #ffffff;
}

div.mwidget form.edit {
    font-size: 15px;
    padding: 5px 20px;
    width: 760px;
}
div.mwidget form.edit h2 {
    margin: 0px 0px 10px 0px;
    font-size: 20px;
}
div.mwidget form.edit div.field {
    position: relative;
    margin: 0px 210px 10px 0px;
    width: 550px;
}

div.mwidget form.edit input {
    margin-bottom: 5px;
}
div.mwidget form.edit div.help {
    position: absolute;
    top: 0px;
    left: 550px;
    width: 210px;
    font-size: 12px;
}
div.mwidget form.edit div.hint, div.mwidget form.edit div.error {
    width: 190px;
    float: right;
}
div.mwidget form.edit div.label {
    width: 120px;
    float: left;
    margin-bottom: 40px;
}
div.mwidget form.edit input.integer {
    width: 30px;
    margin: 0px 2px;
}
div.mwidget div.clear {
    clear: both;
    height: 0px;
    max-height: 0px;
}
div.mwidget form.edit input {
    width: 300px;
    margin-bottom: 7px;
}
div.mwidget form.edit div.error {
    height: 17px;
}
div.mwidget form.edit input.small {
    width: 30px;
}

div.mwidget div.page-index {
    float: right;
    font-weight: bold;
    font-size: 14px;
    height: 19px;
    max-height: 19px;
    margin-bottom: 11px;
}
div.mwidget div.page-index span {
    margin: 1px 4px 3px 4px;
    float: left;
}
div.mwidget div.page-index img,
div#widget-layout-0-0  ul.dropdown div.page-index img {
    float: left;
    margin: 0px 4px;
}

/*  New Admin power bar */

div#widget-layout-0-0 {
    background-color: #393939;
    min-width: 940px;
    display: none;
    z-index: 10;
    height: 60px;
    min-height: 60px;
}
div#widget-layout-0-0 div.wcontent {
    background-color: #393939;
    font-size: 12px;
    color: white;
    width: 930px;
    padding: 5px;
    margin: 0px auto;
}
div#widget-layout-0-0 div.dropdown {
    float: right;
    position: relative;
    width: 1px;
    height: 31px;
}
div#widget-layout-0-0 ul.dropdown {
    position: absolute;
    display: none;
    top: 37px;
    left: 6px;
    width: 200px;
    background-color: #FFFFFF;
    color: #000000;
    font-size: 14px;
    list-style: none;
    padding: 0px;
    margin: 0px;
    z-index: 100;
    border: 5px solid #393939;
}
div#widget-layout-0-0 ul.history {
    left: -200px;
    width: 700px;
}
div#widget-layout-0-0 ul.history td,
div#widget-layout-0-0 ul.history th {
    font-size: 15px;
    color: #000000;
    padding: 2px 10px;
}

div#widget-layout-0-0 div#copy {
    background-color: pink;
}

div#widget-layout-0-0 ul.dropdown div.buttons {
    width: 100%;
    height: 24px;
}
div#widget-layout-0-0 ul.dropdown img {
    float: right;
    margin: 4px 5px 0px 5px;
}
div#widget-layout-0-0 ul.dropdown li {
    height: 18px;
    overflow: hidden;
    text-align: left;
    padding: 2px 5px;
    cursor: pointer;
}
div#widget-layout-0-0 ul.dropdown li.selected {
    background-color: #CCCCFF;
}
        
/* Styles for JQuery Dialogs */

div#dialog {
    display: none;
    padding: 10px;
    background-color: #EEEEEF;
    color: #3A3A39;
    border: 10px solid #3A3A39;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
div#dialog div.mbutton {
    float: right;
    margin: 10px 5px;
}
    
div.mwidget div.alert {
    font-size: 13px;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
div.mwidget div.alert h2 {
    padding: 0px;
    margin: 0px 0px 10px 0px;
}
div.mwidget div.alert img {
    margin-right: 10px;
}
div.mwidget div.alert td {
    vertical-align: top;
}
div.ui-dialog-titlebar {
    display: none;
}
.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: none; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
    
.ui-widget-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: #aaaaaa; 
    opacity: .3;
    filter:Alpha(Opacity=30)/*{opacityOverlay}*/; 
}
.ui-dialog {
    width: 200px;
    height: 100px;
    background-color: white;
}

div.mwidget form.admin div.field {
    margin-bottom: 20px;
}
div#dialog form.admin div.mbutton {
    margin: 0px 0px 0px 20px;;
}
div#dialog form.admin input.copy {
    width: 20px;
    margin-right: 30px;
}
