h1 { font-family: serif; }
.center { text-align: center; }
.errors { color: #f33; }

/*
 * Tables
 */
table {
  width: 100%;
}

  thead th {
    background-color: #5bc;
    background-color: #222;
    color: #fff;
  }
    thead th {
      padding: 10px;
      vertical-align: middle;
    }

    .assets th.large  { width: 190px; }
    .assets th.medium { width: 100px; }
    .assets th.short  { width: 20px; }

    .recipient .assets th.large  { width: 210px; }
    .recipient .assets th.medium { width: 120px; }

    .recipients th.large  { width: 180px; }
    .recipients th.medium { width: 120px; }
    .recipients th.short  { width: 60px; }

  tbody {
  }
    .odd  td { background-color: #fff; }
    .even td { background-color: #eee; }

    .even.accepted td,
    .even.commited td           { background-color: #dfd; }
    .accepted td, .commited td  { background-color: #bfb; }
    .awaiting_feedback td       { background-color: #ffb; }
    .even.awaiting_feedback td  { background-color: #ffd; }
    .declined td                { background-color: #fbb; }
    .even.declined td           { background-color: #fdd; }

    tbody tr td         { cursor: pointer; vertical-align: middle; }
    tbody tr td.action  { cursor: default; padding: 5px; }

    td { padding: 10px; height: 20px; }

    .action .awesome {
      margin: 0;
      padding: 3px 5px 4px;
    }
      .action .awesome:active {
      }
    .action .onebit_mp3 {
      position: relative;
      top: 1px;
    }

/*
 * Pagination
 */

.pagination form { display: inline-block; }
.ie6 .pagination form, .ie7 .pagination form { float: left; }

input.pagination {
  background-color: #389;
  border: 0;
  color: #fff;
  text-align: center;
  width: 100px;
  cursor: pointer;
  padding: 10px 20px;
  vertical-align: baseline;
}

input.pagination:focus,
input.pagination:hover:focus {
  background-color: #fff;
  color: #444;
  font-weight: 600;
  width: 20px;
  margin: 0 40px;
  padding: 9px 19px;
}

input.pagination:hover {
  background-color: #167;
}

/*
 * Forms
 */
fieldset {
  background-color: #def;
}

legend {
  font-size: 150%;
  font-weight: 600;
}

form dt {
  font-weight: 600;
  color: #666;
  margin-top: 10px;
  margin-bottom: 5px;
}
form dd {
  margin-bottom: 10px;
}

input {
  padding: 8px;
}
select:focus,
input:focus {
  outline: 0;
}
input:focus {
  background-color: #ffd;
}
dd input {
  width: 250px;
}

select {
  width: 270px;
  height: 30px;
}

form nav.page {
  text-align: right;
}
  form nav.page ul {
    width: 900px;
    padding: 0;
  }
    form nav.page li.back {
      float: left;
    }

/*
 * Audio files form
 */

form.audio .fieldsets {
  width: 900px;
  margin: 0 auto;
}
  form.audio fieldset.general {
    float: left;
    width: 50%;
    height: 442px;
  }

  form.audio fieldset.file {
    float: right;
    width: 39%;
  }

  form.audio fieldset.feedback {
    float: none;
    clear: both;
  }

  /*
   * Comments
   */
  form.audio article {
    padding: 20px;
    background-color: #fff;
  }

  form.audio footer {
    font-weight: 600;
    color: #666;
    margin-top: 10px;
    text-align: right;
  }

/*
 * Decline modal box
 */
#image_box,
#decline_box {
  z-index: 10;
  width: 600px;
  height: 216px;

  margin-left: -300px;

  position: fixed;
  top: 20%;
  left: 50%;

  background-color: #fdb;
  border: 10px solid #ca8;
  padding: 0 20px 20px;

  -moz-border-radius: 10px/10px;
  -webkit-border-radius: 10px 10px;
  border-radius: 10px/10px;

  -moz-box-shadow:0 0 90px 5px #000;
	-webkit-box-shadow: 0 0 90px #000;
	box-shadow: 0 0 90px #000;

  display: none;
}

  .ie6 #decline_box, .ie7 #decline_box {
    height: 224px;
  }

  #decline_box fieldset {
    position: relative;
    background-color: #fdb;
  }

  #decline_box textarea {
    width: 590px;
  }

  .ie6 #decline_box input, .ie7 #decline_box input,
  .ie6 #decline_box label, .ie7 #decline_box label {
    float: left;
  }

  #decline_box input.decline {
    float: right;
    margin-top: 0;
  }

#image_box {
  top: 10%;
  overflow: hidden;
  padding: 20px;
  width: 31px;
  height: 31px;
}

#overlay {
  z-index: 9;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background-color: rgba(255, 255, 255, .8);
}

/*
 * Tricky upload buttons
 */

.file_upload, .file_upload * { cursor: pointer; }
.file_upload  { overflow: hidden; position: relative; padding: 2px 0; }

  .file_upload input.file { position: absolute; top: 0; right: 0; height: 100%; opacity: 0; filter: alpha(opacity=0); padding: 0; font-size: 400%; }
  .file_upload:hover .awesome { background-color: #045; }
  .file_upload:active .awesome { top: 1px; }

/*
 * Upload iframe
 */
#upload_frame { display: none; }


/*
 * Filters
 */

.filters {
  padding: 0;
  background-color: #def;
}
  .filters .toggle {
    background-color: #abc;
    height: 20px;
    cursor: pointer;
  }
  .filters .toggle:hover { background-color: #9ab; }

  #search {
    position: absolute;
    top: 25px;
    width: 880px;
    background-color: transparent;
  }
    .ie6 #search, .ie7 #search {
      right: 50%; margin-right: -220px;
    }

  /* set a fixed height for the sliding effect to be clean */

  #advanced_filters {
    height: 294px;
    padding: 20px 0;
  }
    #advanced_filters fieldset,
    #advanced_filters ul {
      height: 220px;
    }

    #advanced_filters fieldset {
      width: 140px;
      margin-left: 30px;
      float: left;
    }

      #advanced_filters legend {
        margin: 0;
        text-align: center;
      }

        #advanced_filters ul {
          height: 190px;
          overflow-y: auto;
          overflow-x: hidden;
        }

          #advanced_filters li {
            text-align: left;
            padding: 5px;
          }

    #advanced_filters .assign {
      clear: both;
      width: 100%;
      height: auto;
      text-align: center;
      margin: 0;
      background-color: transparent;
    }
      .assign select, .assign input { margin: 10px 5px; }
      .assign input { padding: 7px 10px 7px; }

    .text dl { margin: 0 }
    .text dt, .text dd { margin: 2px 0 }
    .text dd input { padding: 4px; margin: 0; width: 128px }

  .recipient #advanced_filters {
    height: 150px;
    padding-bottom: 0;
  }
    .recipient #advanced_filters fieldset {
      margin: 0 auto;
      float: none;
    }

/*
 * Rounded inputs
 */

input.pagination:focus,
#search input {
  border: 1px solid #bbb;

  -moz-border-radius: 20px/20px;
  -webkit-border-radius: 20px 20px;
  border-radius: 20px/20px;

  -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
  -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}


/*
 * Buttons
 */
.awesome, .awesome:visited {
  background: #167 url(/images/alert-overlay.png) repeat-x;
  display: inline-block;
  padding: 5px 10px 6px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;

  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;

  -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);

  text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  position: relative;
  cursor: pointer;
  margin: 4px 0 5px 0;
}
  .awesome:hover            { background-color: #045; }
  .awesome:active           { top: 1px; }
  .awesome:hover[disabled]  { background-color: #167; cursor: default; }
  .awesome:active[disabled] { top: 0; }

  select.awesome                 { background-color: #aaa; }
  select.awesome:hover           { background-color: #888; }
  select.awesome[disabled]       { background-color: #cde; }
  select.awesome:hover[disabled] { background-color: #cde; }

  .awesome.decline       { background-color: #e80; }
  .awesome.decline:hover { background-color: #f60; }

  .awesome.delete, .awesome.cancel { background-color: #f22; }
  .awesome.delete:hover  { background-color: #f00; }
  .awesome.delete[disabled]        { background-color: #933; }
  .awesome.delete:hover[disabled]  { background-color: #933; }

  .awesome.accept        { background-color: #5d5; }
  .awesome.accept:hover  { background-color: #2d2; }

  .awesome.apply,
  .awesome.download       { background-color: #89a; }
  .awesome.apply:hover,
  .awesome.download:hover { background-color: #678; color: #fff; }

/*
 * Reports
 */
.reports.page h3, #image-report h3 {
  font-size: 200%;
  margin-top: 20px;
  text-align: center;
}

#image-report td {
  width: 50%;
}

#image-report li{
  list-style: none;
}

#image-report th {
  text-align: left;
}
