/*
 * $Id:$
 *
 * A CSS file for laying out admin sections
 */

* {
  box-sizing: border-box;
}

abbr {
  border-bottom: 1px dotted black;
}

#admin-page {
    margin: 0px 20px 20px;
}

#admin-page #navbar {
    background-color: #BACFE4;
    border: 1px solid #454F8C;
    padding: 5px;
    margin: 10px 0px 10px 0px;
}

#admin-page #navbar span {
    float: left;
    margin-right: 10px;
    font-weight: bold;
}

#admin-page #navbar a {
    float: left;
    margin-right: 20px;
    display: block;
    text-decoration: none;
    color: #0000DD;
    border-bottom: 1px dotted #0000DD;
}


#admin-page #navbar a:hover {
    color: #0000FF;
    border-bottom: 1px solid #0000FF;
}

.message {
    font-style: italic;
    margin: 10px;
    padding: 10px;
    border: 1px solid #CCCCCC;
    background-color: #EEEEEE;
}

.table-100 > table {
    width: 100%;
}

.highlight-rows table tr:hover td {
  background-color: yellow;
}

#admin-page table th {
    border-top: 1px solid #CCCCCC;
}

#admin-page table td, #admin-page table th {
  padding: .5em;
  border-bottom: 1px solid #CCCCCC;
  border-left: 1px solid #D4D4D4;
  border-right: 1px solid #D4D4D4;
}

#admin-page table.greyborder {
  border: 1px solid #808080;
}

#admin-page table.greyborder tr.section td {
  background-color: #CCFF99;
  border-top: 1px solid #808080;
}

#admin-page table.greyborder td {
  border:none;
}

#admin-page table.plain td, #admin-page table.plain tr {
  border: none;
}

.float-right {
    float: right;
    margin: 0px 0px 10px 10px;
}


.float-left {
    float: left;
    margin: 0px 10px 10px 0px;
}

form .row {
    margin: 5px 0px 5px 0px;
}

form.wide .row {
  width: 48%;
  float: left;
}

form .row > label {
  width: 80px;
  float: left;
  text-align: right;
  padding-right: 10px;
  color: #CC0000;
  font-weight: bold;
}

form.stacked .row {
  width: 100%;
  float: none;
  margin: 0 0 1em;
}

form.stacked .row > label {
  float: none;
  display: block;
  text-align: left;
  padding: 0px;
  margin: .25em 0;
}

form.stacked .row input[type=text], form.stacked .row select {
  width: 100%;
  max-width: 640px;
}

form.black .row > label {
  color: black;
}

form .row > label.w250 {
  width: 250px;
}


form input.text, form textarea, form .help {
    width: 400px;
}

form textarea {
    height: 200px;
}

form textarea.h50 {
    height: 100px;
}

form .help {
  font-size: 11px;
}

form input[type=checkbox] {
  vertical-align: middle;
}

.gray { 
    color: #AAAAAA; 
}

.param-select {
    display: block;
    margin: 10px 0px;
}

.param-select .param {
    padding-left: 20px;
}

.row-collection .row {
    border-top: 1px dashed #CCCCCC;
    padding: 4px 0px;
    margin: 5px 0px;
    line-height: 20px;
}

.row-collection .remove {
    float: right;
}

.leading { margin-top: 10px; }
.leading2 { margin-top: 20px; }
.leading3 { margin-top: 30px; }
.leading4 { margin-top: 40px; }


.following { margin-bottom: 10px; }
.following2 { margin-bottom: 20px; }
.following3 { margin-bottom: 30px; }
.following4 { margin-bottom: 40px; }

.private-section {
    width: 800px;
    margin: 15px auto 40px;
}

.table-100 > table  {
    width: 100%;
    border-collapse: collapse;
}

.table-100 > table th  {
    background-color: black;
    color: white;
    border: 1px solid #CCCCCC;
}

.table-100 > table td  {
    border: 1px solid #CCCCCC;
}

.table-100 > table td, .table-100 > table th {
  padding: .4em;
}



.pager > * {
  border: 1px solid #CCCCCC;
  padding: 4px;
  display: inline-block;
  margin: 5px 0px;
}

.pager a {

}

.pager span {
  background: #E4E4E4;
}

.object .slot {
  margin-bottom: 5px;
  margin-left: 25px;
  border-left: 1px solid #DDDDDD;
  padding-left: 4px;
}

.plot-tooltip {
  position: absolute;
  display: none;
  border: 1px solid #FDD;
  background-color: #FEE;
  opacity: 0.80;
  padding: 2px;
}

.trend-plotter .checkboxes {
  margin-left: 20px;
}
.trend-plotter .checkboxes .checkbox {
  width: 300px;
  float: left;
}

.order-slicer .total td {
  background-color: #C9DAF8;
}

.order-slicer abbr.alert {
  color: red;
  cursor: pointer;
  text-decoration: none;
}


fieldset.fancy {
  margin-bottom: 10px;
}

fieldset.fancy legend {
  font-weight: bold;
  color: #666;
}

fieldset.fancy .summary {
  clear: both;
  font-style: italic;
}


fieldset.fancy .line-item {
  margin: 10px;
  float: left;
  border: 1px solid #CCCCCC;
  background-color: #EEEEEE;
  padding: 5px;
}

fieldset.fancy .line-item.amateur   { background-color: #FFCDD2; }
fieldset.fancy .line-item.classroom { background-color: #F8BBD0; } 
fieldset.fancy .line-item.misc      { background-color: #E1BEE7; }
fieldset.fancy .line-item.pro       { background-color: #BBDEFB; }
fieldset.fancy .line-item.reading   { background-color: #B2DFDB; }

.trend-plotter .checkboxes .checkbox label {
  float: none;
  padding: 0px;
  text-align: left;
  width: auto;
  color: #000;
  font-weight: normal;
}

.fields .row {
  margin: 5px 0px;
  line-height: 25px;
}

.alerts span {
  text-transform: uppercase;
  font-weight: bold;
}

.alerts span.flagged {
  color: #8B4513;
}

.alerts span.overdue {
  color: #00DD00;
}

.account-notes {
  max-height: 150px;
  overflow: auto;
}

.account-notes .note {
  border: 1px solid #CCC;
  padding: 10px;
  margin-bottom: 10px;
}

.account-notes  .attribution {
  font-style: italic;
}


.buttons input {
  color: white;
  padding: 2px;
}

.buttons .blue { background-color: #5491C7; }
.buttons .yellow { background-color: #F4C304; }
.buttons .green { background-color: #6FAE42; }
.buttons .gray { background-color: #9E9E9E; }
.buttons .orange { background-color: #EA7D32; }

.fields .row input, .fields .row select {
  padding: 3px;
}

a.jump-to {
  color: blue;
}

a.show-hide {
  text-decoration: none;
  font-weight: normal;
  font-size: 10px;
}

.code.preview {
  width: 31px;
  height: 20px;
  overflow: hidden;
  display: inline-block;
}

.code b {
  font-weight: normal;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

.code {
  white-space: pre;
}


.fixed-message {
  position: fixed;
  top:0px;
  left: 0px;
  width: 100%;
  height: 50px;
  z-index: 20;
  background-color: rgba(202,0,0,.75);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 20px;
}

.fixed-message a {
  color: white;
  text-decoration: none;
  border: 1px solid white;
  padding: 3px;
  font-weight: bold;
  float: right;
}

.leading { margin-top: 10px; }
.leading2 { margin-top: 20px; }
.leading3 { margin-top: 30px; }

.following { margin-bottom: 10px; }
.following2 { margin-bottom: 20px; }
.following3 { margin-bottom: 30px; }

.w100 { width: 100% }
.w80 { width: 80% }
.h100 { height: 100px; }
.h500 { height: 500px; }

.hidden { display: none; }

.ac { text-align: center }
.ar { text-align: right }
.al { text-align: left }
.aj { text-align: justify }

form.stacked {
  max-width: 600px;
}

form.stacked p {
  margin: 1em 0;
}

form.stacked label {
  display: block;
}

form.stacked input[type=text],
form.stacked input[type=email],
form.stacked input[type=password]
{
  display: block;
  width: 100%;
}


form.stacked input {
  margin: .4em 0;
  padding: .3em;
}

.canned-query td {
  white-space: break-spaces;
}
