body {
  background-color: #fff;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  line-height: 24px;
  padding: 0;
  padding-bottom: 1em;
  margin: 0;
}

header {
  background-color: #cceeff;
  border-top: 8px solid #fff;
  border-bottom: 4px solid #fff;
  margin-bottom: 18px;
  height: 50px
}

header .inner {
  width: 960px;
  margin: 0 auto;
  position: relative
}

header .logo {
  color: #3af;
  font-weight: 700
}

header .links {
  position: absolute;
  right: 0px
}

header .links LI A {
  height: 38px;
  font-size: 15px;
  color: #023;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 10px 0px 10px
}

header #logo {
  height: 50px;
  width: 140px
}

#container {
  width: 960px;
  margin: 24px auto
}

div.calendar {
  display: table;
  border-collapse: collapse;
  margin-top: 1em
}

div.calendar .week {
  display: table-row
}

div.calendar .week.now .day .dayinner h3 {
  background-color: #f60
}

div.calendar .day {
  display: table-cell;
  min-width: 14em;
  border-right: 12px solid #fff;
  border-bottom: 12px solid #fff
}

div.calendar .day .dayinner {
  margin-bottom: 12px
}

div.calendar .property {
  margin-bottom: 8px
}

div.calendar .position {
  line-height: 1.4em;
  margin-bottom: 4px;
  padding: 0px 4px;
  font-size: 14px;
  border-left: 4px solid transparent;
  padding-top: 3px;
  padding-bottom: 4px
}

div.calendar .position .insertion {
  margin-left: 2em
}

div.calendar .position .unit {
  text-transform: uppercase;
  font-size: 0.8em;
  line-height: 1.3em
}

div.calendar h3,
div.calendar h4 {
  margin: -4px -4px 4px -4px;
  padding: 4px;
  background-color: #3af;
  font-weight: 500;
  margin: 0px 0px 0px 0px;
  text-transform: uppercase;
  color: #fff
}

div.calendar h3 {
  color: #fff
}

div.calendar h4 {
  font-weight: 700;
  margin-top: 2px;
  background-color: transparent;
  font-size: 13px;
  line-height: 16px;
  color: #444
}

div.calendar label {
  font-size: 12px;
  text-transform: uppercase
}

div.calendar.public .position {
  border-left-width: 0px !important
}

div.calendar.public .position .insertion {
  display: none
}

div.calendar.availability .position.booked {
  background-color: #c00;
  color: #fff
}

div.calendar.availability .position.provisional {
  background-color: #ff9;
  color: #a70
}

div.calendar.availability .position.dummy,
div.calendar.bookings .position.dummy {
  background-color: #ccc;
  color: #666
}

div.calendar.availability .position.available {
  color: #090;
  background-color: #efe
}

div.calendar.availability .position.ours {
  font-weight: bold;
  background-color: #0ff
}

div.calendar.availability .position.this {
  color: #000;
  background-color: #fc0
}

div.calendar.bookings .position.assetsno {
  border-left: 4px solid #c00
}

div.calendar.bookings .position.assetsrequested {
  border-left: 4px solid #cc0
}

div.calendar.bookings .position.assetsok {
  border-left: 4px solid #0c0
}

div.calendar.bookings .position.booked {
  background-color: #efe;
  color: #090
}

div.calendar.bookings .position.provisional {
  background-color: #ff9;
  color: #a70
}

div.calendar.bookings .position.ours {
  font-weight: bold
}

div.calendar.bookings .position.this {
  color: #000;
  background-color: #fc0
}

h1,
h2 {
  font-weight: 600;
  line-height: 1.4em
}

h1 {
  font-size: 1.8em
}

h2 {
  font-size: 1.5em;
  margin-top: 1.2em;
  margin-bottom: 0.5em
}

table.list {
  width: 100%;
  margin-bottom: 1em
}

table.list tr.totals,
table.list tr.totals td {
  font-weight: bold;
  background-color: #ddd
}

table.list td,
table.list th {
  padding: 4px
}

table.list td {
  border-top-width: 0px
}

table.list th {
  background-color: #3af;
  color: #fff;
  text-transform: uppercase
}

table.list tr:nth-child(even) {
  background-color: #eee
}

table.list tr:nth-child(odd) {
  background-color: #fafafa
}

table.list tr:hover {
  background-color: #ffc
}

form input[type='text'],
form input[type='number'],
form input[type='email'],
form input[type='password'],
form textarea {
  min-width: 300px;
  font-family: roboto, "helvetica neue", arial;
  font-size: 16px;
  padding: 4px
}

form label {
  font-size: 1.2em;
  line-height: 1.6em
}

form textarea {
  min-width: 500px;
  min-height: 100px
}

A.button,
input[type=submit] {
  border: 0px;
  text-decoration: none;
  font-size: 20px;
  padding: 8px 12px;
  font-family: roboto, "helvetica neue", helvetica, arial;
  background: #3af;
  font-weight: 400;
  color: #fff !important;
  display: inline-block;
  margin-bottom: 12px
}

A.button.small,
input[type=submit].small {
  display: inline;
  margin: 0 4px;
  font-size: 14px;
  padding: 4px
}

FORM[data-remote='true'],
FORM.button_to {
  display: inline
}

.box {
  padding: 16px;
  background-color: #eee
}

.box.floatright {
  float: right;
  margin-left: 20px;
  max-width: 25%
}

ul.horizontal {
  list-style-type: none;
  padding: 0;
  margin: 0
}

ul.horizontal li {
  display: inline-block;
  margin-right: 1em
}

ul.horizontal li a {
  display: block
}

pre {
  background-color: #eee;
  padding: 16px;
  font-size: 14px;
  line-height: 20px;
  font-family: menlo, courier
}

a {
  color: #000
}

a:visited {
  color: #666
}

a:hover {
  color: #fff !important;
  background-color: #3af;
  text-decoration: none
}

h1 a {
  color: #3af !important
}

div.field,
div.actions {
  margin-bottom: 16px
}

div.field .description,
div.actions .description {
  font-size: 0.8em;
  font-style: italic
}

.notice {
  color: green;
  padding: 8px;
  background-color: #efd
}

.field_with_errors {
  padding: 2px;
  background-color: red;
  display: table
}

.field_with_errors label {
  color: #fff
}

#error_explanation {
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 0;
  margin-bottom: 20px;
  background-color: #f0f0f0
}

#error_explanation h2 {
  text-align: left;
  font-weight: 300;
  padding: 12px;
  margin: -7px;
  margin-bottom: 0px;
  background-color: #c00;
  color: #fff
}

#error_explanation ul li {
  list-style: square
}

TABLE.jobs .property,
TABLE.jobs .totalh {
  text-align: right;
  padding-right: 1em
}

TABLE.jobs .position {
  text-align: center;
  padding: 8px 1em
}

TABLE.jobs .total,
TABLE.jobs .discount {
  padding: 1em
}

TABLE.jobs TR.gray {
  background-color: #f6f6f6
}

TABLE.jobs TD {
  padding: 0 1em
}

TABLE.jobs .available {
  background-color: #efe
}

TABLE.jobs .title {
  font-weight: bold
}

TABLE.jobs .almostgone {
  background-color: #fec
}

TABLE.jobs .unavailable {
  background-color: #fdd
}

TABLE.jobs .unavailable .price,
TABLE.jobs .unavailable .availability {
  visibility: hidden
}

TABLE.jobs .price,
TABLE.jobs .date,
TABLE.jobs .availability,
TABLE.jobs .circulation,
TABLE.jobs .clicks {
  color: #777;
  font-family: verdana, helvetica, arial, sans-serif
}

TABLE.jobs .date {
  color: #333
}

TABLE.jobs .price,
TABLE.jobs .date {
  font-size: 11px;
  line-height: 1.4em
}

TABLE.jobs .date {
  font-size: 12px
}

TABLE.jobs .price {
  color: #090;
  font-size: 12px
}

TABLE.jobs .availability {
  font-size: 11px;
  line-height: 1.4em
}

TABLE.jobs .circulation,
TABLE.jobs .clicks {
  font-size: 12px;
  line-height: 1.4em
}

TABLE.jobs .clicks {
  font-size: 10px
}

tr.asset img {
  max-height: 125px;
  max-width: 300px
}

.dynamiclength {
  display: inline;
  font-size: 0.8em;
  font-weight: bold
}

textarea.xml {
  font-family: menlo, courier, monospace;
  font-size: 14px;
  width: 100%;
  height: 100px
}

.onlylink,
.onlyprimary,
.onlyjob {
  display: none
}