/* site-wide styles for data management system  */

body {
    background-color: #E7D9C1;
    margin: 0px;
}

div.container2 {
    clear:left;
    float:left;
    width:100%;
    overflow:hidden;
    background: white;
    border: 1px solid gray;
}
div.container1 {
    float:left;
    width:100%;
    position:relative;
    right:80%;
    background: #E7D9C1;
    border-right: 1px solid gray;
}
/*
div.container {
    width: 1125px;
    margin: 0px;
    border: 1px solid gray;
    line-height: 150%;
    background-color: #E7D9C1;
}
*/
div.header, div.footer {
    padding :0.5em;
    color: white;
    background-color: #b70101;
    clear: left;
}
div.header {
    font-size: xx-large;
    font-weight: bold;
}

/*
div.left {
    float: left;
    width:160px;
    margin:0;
    padding:1em;
}
div.content {
    position: static;
    width: 900px;
    margin-left:190px;
    border-left:1px solid gray;
    padding:1em;
    background-color: white;
    overflow: hidden;
}
*/
div.left {
    float:left;
    width:16%;
    position:relative;
    left:82%;
    overflow: hidden;
    margin-bottom: 16px;
}
div.content {
    float:left;
    width:76%;
    position: relative;
    left: 86%;
    outline: hidden;
    margin-bottom: 16px;
}





.formblock {
    padding-top: 1em;
    clear: both;
    }

.ui-button {
    float: right;
}

.showbutton, .clearbutton {
    float: none;
    height: 24px;
}
.showbutton .ui-button-text, .clearbutton .ui-button-text {
    line-height: 0.5;
}

/* Allows form subblocks to be side by side. */
.sidebyside {
    float: left;
    width: 50%;
}
.sidebysidebyside {
    float: left;
    width: 33%;
}
.blocktitle {
    border-bottom: 1px solid #b70101;
    padding-top: 0em;
    font-weight: bold;
    text-align: right;
}
.subblocktitle {
    border-bottom: 1px solid #E7D9C1;
    font-weight: bold;
    text-align: left;
    clear: left;
}

/* classes for buttons which expand/collapse form blocks. */
.fg-button {
    outline: 0;
    margin:0 4px 0 4px;
    padding: 0em 0em;
    text-decoration:none !important;
    cursor:pointer;
    position: relative;
    text-align: left;
    zoom: 1;
    width: 16px;
    height: 16px;
}
.fg-button .ui-icon {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    left: 50%;
    margin-left: -8px;
}

.initials {
    color: blue;
}
.initials:hover {
    cursor: pointer;
}

/* Field highlighting */
.required > label:before {
    content:" * ";
    color: red;
}

.error:after {
    content: " !!!";
    color: red;
    font-weight: bold;            
}

label {
    width: 85px;
    display: inline-block;
    text-align: right;   
}
.short>label {
    width: 40px;
}
.wide>label {
    width: 120px;
}
.xwide>label {
    width: 200px;
}
.xxwide>label {
    width: 240px;
}

.content-header {
    font-size: xx-large;
    font-weight: bold;
    color: #b70101;
}

/* Use this class for initially-collapsed blocks */
.hidden {
    display: none;
}

.blockfooter {
    clear:both;
    text-align: center;
    font-weight: bold;
}

.add-related-sibling {
    display: none;
}

/* hide close button in dialog toolbar to force user to click a button  (for timeout dialog)*/
/*
a.ui-dialog-titlebar-close {
    display:none;
}
*/
table {
    width: auto;
    border-spacing: 0px;
}
td, th {
    /*white-space: nowrap;*/
    padding: 5px;
}
tbody tr:nth-of-type(even) {
    background-color: #F7F5E8;
}

/* timepicker CSS */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; }
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }



/* Classes for coloring subject names
 * These are the "slugified" versions of the status with a status prefix.
*/

.status-available { color: black; }
.status-reserved-by-space { color: blue; }
.status-reserved-by-skl { color: green; }
.status-preschool { color: darkviolet; }
.status-on-hold { color: darkorange; }
.status-inactive { color: fuchsia; }
.status-wid-kids { color: darkgreen; }
.status-museum {color: red; }
.status-skl-only {color: darkseagreen; }
.status-give-to-space {color: deepskyblue; }
.status-keep-for-skl {color: limegreen; }

.legend {
    background-color: white;
    border: solid 1px black;
    line-height: .1em;
    padding: 5px;
}

