/* debug */

.debug-links {
    position: fixed;
    right: 0px;
    top: 0px;
    text-align: right;
    z-index: 996;
    background-color: white;
    padding: 0px 4px 2px 4px;
    line-height: 12px;
}

/* form validation */

.fieldMissing {
    background: #FF6666 !important;
}

.fieldInvalid {
    background: #FF6666 !important;
}

.alertDialog {
    background: #EEEEEE url(../images/panel/tabletop.gif) repeat-x scroll 0 0;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    border-top: none;
    font-size: 11px;
    padding: 40px 15px 15px 15px;
}

.alertContent ul {
    list-style: none;
    text-align:left;
    padding-left: 0;
    margin-bottom: 4px;
}

.alertButton {
    font-size: 11px;
    margin-top: 5px;
}

/* palette */

table.tapestry-palette {
    border:1px solid #DDDDDD;
    padding:5px;
    width: 95%;
}

.tapestry-palette-compact .controls img {
    height: 30px;
}
.tapestry-palette-compact select {
    height: 40px;
}
.tapestry-palette-compact th.available-header,
.tapestry-palette-compact th.selected-header {
    line-height: 14px;
}

table.tapestry-palette th {
    font-weight: bold;
    font-style: italic;
    color: black;
    text-align: left;
    width:50%;
}

td.available-cell,
td.selected-cell {
    padding: 0;
}

td.available-cell select,
td.selected-cell select {
    font-weight: normal;
    width: 100%;
}

table.tapestry-palette td.controls {
    text-align: center;
    vertical-align: middle;
    width: 39px;
    height: 33px;
}

/* Fix variable height of palette components during item selection, each row is about 13 pixels */

table.tapestry-palette select[size="5"] {
    height: 65px;
}

table.tapestry-palette select[size="8"] {
    height: 100px;
}

table.tapestry-palette select[size="10"] {
    height: 125px;
}

table.tapestry-palette select[size="12"] {
    height: 150px;
}

/* dialog */

div.dojoDialog#exception {
    max-width: 90%;
}

.dialogUnderlay {
    background-color: black !important;
    width: 100% !important;
}

/*
* Dialog stacking order (front to back):
* 1) session expired (1007-1006)
* 2) busy dialog (1005-1004)
* 3) validation error (1003-1002)
* 4) any other dialog (999-998)
*/

.dojoDialog#validationDialog {
    z-index: 1003 !important;
}

.dialogUnderlay-validationDialog {
    z-index: 1002 !important;
    opacity: 0.2 !important;
}

.dojoDialog#mainBusyDialog {
    z-index: 1005 !important;
}

.dialogUnderlay-mainBusyDialog {
    z-index: 1004 !important;
}

.dojoDialog#sessionTimeoutDismissDialog,
.dojoDialog#sessionTimeoutRefreshDialog {
    z-index: 1007 !important;
}

.dialogUnderlay-sessionTimeoutDismissDialog,
.dialogUnderlay-sessionTimeoutRefreshDialog {
    z-index: 1006 !important;
}

/* ajax status */

.ajax_status {
    cursor:wait;
    position:fixed;
    top:10px;
    left:47%;
    margin:0;
    padding:5px;
    color:black;
    font-size:10px;
    font-weight:normal;
    background-color:#FFFFFF;
    border:1pt solid #CCCCCC;
    z-index:2000;
    opacity: 0.6;
}

.ajax_status img {
    vertical-align:-4px;
}
.ajax_status span {
    margin-left:10px;
}