/************************
 **
 ** Generic classes
 **
 **/
 
 
/**
 * List
 */

.list {
   background: white;
}

table.list {
   border-collapse: collapse;
}

.list .header, .list th {
   border: 1px solid #dddddd;
   background-color: #dedede;
   padding: 3px;
}

.list .item, .list td {
   border: 1px solid #eee;
   padding: 3px;
}

.list div.item {
   clear: both;
   overflow: hidden;
}

.list .active:hover {
   background-color: #ddd;
}

.alternate {
   background: #e8e8e8;
}

.selected {
   background: #888;
   color: #fff;
}

.expandable {
   background-image: url('/images/stock/expand_right.png');
   background-position: center right;
   background-repeat: no-repeat;   
}

.active  {
   cursor: pointer;
}

.list .item .title {
   overflow: hidden;
   white-space: nowrap;
}

.list .item img, .list .item .icon {
   float: left;
}

.list .item .subtitle {
   font-size: 0.8em;
   white-space: nowrap;
   overflow: hidden;
   filter: alpha(opacity = 50);
   -moz-opacity: 0.5;
   opacity: 0.5;
}

.list .item .buttons {
   float: right;
}

/**
 * Panel
 */
 
.panel {
   background: #eee;
   border-bottom: 1px solid #ddd;
   font-size: 0.8em;
   padding: 3px;
}

.panel .title {
   font-size: 1.2em;
   font-weight: bold;
   overflow: hidden;
   white-space: nowrap;
}

.panel .subtitle {
   font-size: 0.8em;
   white-space: nowrap;
   overflow: hidden;
   filter: alpha(opacity = 70);
   -moz-opacity: 0.7;
   opacity: 0.7;
}

.panel .icon {
   float: left;
}


/**
 * Toolbar
 */

.tools {
    font-size: 0.7em;
    border: 1px solid #aaa;
    background: #ddd;
}

.tools a {
   text-decoration: none;
   color: #000;
}

.tools:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.toolitem {
    text-align: center;
    float: left;
    padding: 5px;
    cursor: pointer;
}

/**
 * Block
 */

.block {
    border: 1px solid #ddd;
}

/**
 * Image button
 */

.imagebutton {
    border: 1px solid #ccc;
    background: #ddd;
    text-align: center;
    cursor: pointer;
    padding: 3px;
    margin: 3px;
    padding-left: 6px;
    padding-right: 6px; 
    line-height: 2.1em;
    color: #000;
}

.imagebutton a {
   text-decoration: none;
   color: #000;
}

.imagebutton img {
   vertical-align: middle;
   margin-right: 5px;
}

.imagebutton:hover {
    background: #eee;
}

.imagebutton.fullsize {
   display: block;
   margin: 0;
   border: none;
}

/**
 * Dialogs
 */

.notifier_outer, .floatingdialog_outer {
   position: fixed;
   width: 100%;
   text-align: center;
   filter: alpha(opacity = 70);
   -moz-opacity: 0.7;
   opacity: 0.7;
}

.notifier {
   width: 100%;
   margin: auto;
   text-align: center;
   background-color: #000;
   color: #ffffff;
   font-family: Helvetica, sans-serif;
   font-size: 3em;
   padding: 10px;
   z-index: 3000;
}

.floatingdialog_outer {
   top: 20%;
   filter: alpha(opacity = 85);
   -moz-opacity: 0.85;
   opacity: 0.85;
}

.floatingdialog {
    width: 400px;
    margin: auto;
    background: #000000;
    color: #ffffff;
    font-family: Helvetica, sans-serif;
    font-size: 1em;
    padding: 20px;
    z-index: 3000;
}

.floatingdialog h1 {
    background: none;
    text-align: right;
    font-size: 1.3em;
    font-weight: bold;
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #fff;
}

.floatingdialog .imagebutton {
   border: 1px solid #666;
   background: #333;
   color: #fff;
   filter: alpha(opacity = 80);
   -moz-opacity: .8;
   opacity: .8;
}

.floatingdialog .imagebutton:hover {
   filter: alpha(opacity = 100);
   -moz-opacity: 1;
   opacity: 1;   
}

.floatingdialog .imagebutton a {
   color: #fff;
}

.floatingdialog input, .floatingdialog select, .floatingdialog textarea {
   background: #111;
   border: 1px solid #333;
   color: #fff;
}

.floatingdialog .buttons {
    margin-top: 10px;
    text-align: center;
}

.floatingdialog .htmlarea input, .floatingdialog .htmlarea select, .floatingdialog textarea {
   background: #fff;
   border: 1px solid #000;
   color: #000;
}

.floatingdialog th {
   text-align: left;
   font-weight: normal;
   font-size: 1.0;
}

/**
 * Progress bar
 */
.floatingdialog .progressbar_outer {
   margin: 0 auto;
   width: 150px;
   height: 30px;
   border: 1px solid #888;
   background: #333;
   text-align: left;
}

.floatingdialog .progressbar_inner {
   height: 30px;
   background: #888;
}

/**
 * Activity spinner
 */

.spinner {
    z-index: 100;
    background: url('/images/stock/spinner.gif');
    background-position: center center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -25px;
}

html>body .spinner {
    position: fixed;
}


/**
 * Headings with disclosure triangles
 */

.disclosure_title, .disclosure_title_expanded {
   border: 1px solid #eee;
   background: url('/images/stock/closed_arrow.png');
   background-color: #eee;
   background-repeat: no-repeat;
   background-position: 3px center;
   padding-left: 20px;
   cursor: pointer;
}

h3.disclosure_title, h3.disclosure_title_expanded {
   margin-left: 10px;
   border: 1px solid #ededed;
   background-color: #ededed;
}

.disclosure_title_expanded {
   background: url('/images/stock/open_arrow.png');
   background-repeat: no-repeat;
   background-position: 3px center;
}

/**
 * Login controls
 */

#sc_login_username {
   padding-left: 18px;
   background-image: url('/images/stock/user_small.png');
   background-repeat: no-repeat;
   background-position: 1px 1px;
   margin-bottom: 4px;
   width: 150px;
}

#sc_login_password {
   padding-left: 18px;
   background-image: url('/images/stock/key_small.png');
   background-repeat: no-repeat;
   background-position: 1px 1px;
   width: 150px;
}

/**
 * Search box
 */
 
.search {
  background: #fff;
}