@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Patua+One);
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 120%;
  background-color: #eee;
}
.group:before,
.group:after {
  content: "";
  display: table;
}
.group:after {
  clear: both;
}
body.login {
  background-color: #734d29;
  background-image: url('images/mcdtf_patch.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 300px;
}
body.login #header {
  display: none;
}
body.login.development-server {
  background-color: red;
}
body.login #main {
  color: white;
  padding-top: 320px;
}
body.login #main h1 {
  text-align: center;
  font-family: 'Patua One', sans-serif;
  text-shadow: 3px 3px black;
}
body.login #main form {
  width: 300px;
  padding: 8px 0;
  color: black;
  background: #efe7de;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 2px 2px 2px #666;
}
body.login #main form div[data-fst="form-row"] {
  padding: 0 8px;
  margin: 4px 0;
}
body.login #main form div[data-fst="form-row"] div {
  margin: 0;
  padding: 0;
}
body.login #main form div[data-fst="form-row"] label {
  font-size: 75%;
  font-weight: bold;
  font-style: normal;
}
body.login #main form div[data-fst="form-row"] input {
  width: 280px ;
  margin: 0 auto;
  padding: 0;
}
/*
@media screen and (min-width: @tablet) {
	#header, #main { width: @tablet; margin-left: auto; margin-right: auto; }
}
*/
body {
  padding-bottom: 32px;
}
#header {
  height: 124px;
  color: white;
  text-shadow: 3px 3px black;
  background-color: #734d29;
  background-image: url('images/mcdtf_patch_small.png');
  background-repeat: no-repeat;
  border-bottom: 3px solid black;
  padding-left: 108px;
  position: relative;
}
@media screen and (min-width: 1024px) {
  #header {
    background-position: 25% top;
  }
}
#header div.mcdtf {
  position: absolute;
  bottom: 12px;
  font-family: 'Patua One', sans-serif;
  font-size: 120%;
}
@media screen and (min-width: 1024px) {
  #header div.mcdtf {
    bottom: 32px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 140%;
  }
  #header div.mcdtf div {
    display: inline;
  }
}
body.development-server #header {
  background-color: red;
  background-image: url('images/mcdtf_patch_small.png');
  background-repeat: no-repeat;
}
#nav {
  margin: 0;
  padding: 0;
}
#nav .menu-toggle {
  display: block;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #1c2560;
  border: 1px solid black;
  border-radius: 4px;
}
#nav ul.menu {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid #666;
}
#nav ul.menu.active {
  display: block;
}
#nav ul.menu li {
  border-bottom: 2px solid #666;
}
#nav ul.menu li a {
  text-align: center;
  text-decoration: none;
  color: white;
  background: #1c2560;
  display: block;
  width: 100%;
  padding: 4px 0;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  #nav {
    border-bottom: 2px solid black;
    background-color: #ccc;
  }
  #nav .menu-toggle {
    display: none;
  }
  #nav ul.menu {
    display: block;
    position: static;
    border-top: none;
  }
  #nav ul.menu li {
    display: inline;
    border-bottom: none;
    margin: 0;
    padding: 0;
  }
  #nav ul.menu li a {
    color: black;
    background: none;
    display: inline-block;
    width: auto;
    padding: 2px 1ex;
  }
  #nav ul.menu li a:hover {
    background: #999;
  }
}
@media screen and (min-width: 1024px) {
  #nav ul.menu {
    width: 1024px;
    margin: 0 auto;
  }
}
main,
section {
  padding: 0 1ex;
}
main h1,
section h1 {
  font-size: 120%;
}
main h2,
section h2 {
  font-size: 110%;
}
main a,
section a {
  color: blue;
  text-decoration: none;
}
main a:hover,
section a:hover {
  color: red;
}
main .alert,
section .alert {
  color: red;
}
@media screen and (min-width: 1024px) {
  main,
  section {
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
  }
  main div.cols-2:before,
  section div.cols-2:before,
  main div.cols-2:after,
  section div.cols-2:after {
    content: "";
    display: table;
  }
  main div.cols-2:after,
  section div.cols-2:after {
    clear: both;
  }
  main div.cols-2 div.col,
  section div.cols-2 div.col {
    width: 45%;
    float: left;
  }
}
form [data-fst="form-row"] {
  margin: 0.5em 0;
}
form [data-fst="form-row"] [data-fst="form-label"] {
  font-style: italic;
}
form [data-fst="form-row"] [data-fst="form-controls"] {
  margin-left: 0.5em;
}
form [data-fst="form-row"] [data-fst="form-controls"] [data-fst="form-controls-row"] label {
  padding: 0 1ex;
}
form [data-fst="form-row"] [data-fst="form-controls"] [data-fst="form-error"] {
  color: red;
  font-style: italic;
}
form input {
  max-width: 92%;
}
form input[data-fst="form-control-money"] {
  width: 8ex;
}
form input[data-fst="form-control-number"] {
  width: 4ex;
}
form input[data-fst="form-control-number"].mileage {
  width: 10ex;
}
form span[data-fst="form-control-note"] {
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  form.form-12 [data-fst="form-row"]:before,
  form.form-12 [data-fst="form-row"]:after {
    content: "";
    display: table;
  }
  form.form-12 [data-fst="form-row"]:after {
    clear: both;
  }
  form.form-12 [data-fst="form-row"] [data-fst="form-label"] {
    float: left;
    width: 12ex;
    text-align: right;
  }
  form.form-12 [data-fst="form-row"] [data-fst="form-controls"] {
    margin-left: 13ex;
  }
}
form.inline div {
  display: inline;
}
form.report {
  font-size: 75%;
}
form.report > [data-fst="form-row"] {
  margin: 0;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
}
form.report > [data-fst="form-row"]:nth-child(2n) {
  background: #eeeeee;
}
form.report > [data-fst="form-row"]:nth-child(2n+1) {
  background: #eeeedd;
}
form.report > [data-fst="form-row"]:before,
form.report > [data-fst="form-row"]:after {
  content: "";
  display: table;
}
form.report > [data-fst="form-row"]:after {
  clear: both;
}
form.report > [data-fst="form-row"]:first-child {
  border-top: 1px solid black;
}
@media screen and (min-width: 768px) {
  form.report > [data-fst="form-row"] > [data-fst="form-label"] {
    float: left;
    width: 24ex;
    /*text-align: right;*/
    padding: 0.5ex 1ex;
  }
  form.report > [data-fst="form-row"] > [data-fst="form-controls"] {
    margin-left: 24ex;
    padding: 0.5ex 0;
  }
}
form.report span.help {
  display: block;
  padding-left: 4ex;
  font-size: 80%;
}
table {
  font-size: 75%;
  white-space: nowrap;
  margin: 1ex 0;
}
table table {
  font-size: 100%;
}
table th,
table td {
  padding: 0.1ex 1ex;
  text-align: left;
  white-space: nowrap;
}
table th.center,
table td.center {
  text-align: center;
}
table th.right,
table td.right {
  text-align: right;
}
table th {
  vertical-align: bottom;
}
table td {
  vertical-align: top;
}
table.bordered {
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #000000;
  border-radius: 4px;
}
table.bordered th {
  color: white;
  background: #000000;
}
table.bordered th a {
  color: yellow;
}
table.bordered th a:hover {
  color: red;
}
table.bordered th,
table.bordered td {
  border-top: 1px solid #666666;
  border-left: 1px solid #666666;
}
table.bordered th:first-child,
table.bordered td:first-child {
  border-left: none;
}
table.bordered thead:first-child tr:first-child th,
table.bordered tbody:first-child tr:first-child th,
table.bordered thead:first-child tr:first-child td,
table.bordered tbody:first-child tr:first-child td {
  border-top: none;
}
table.bordered tfoot td {
  font-weight: bold;
  color: white;
  background: #666666;
}
table.case-activity div.arrest,
table.case-activity div.seizure {
  padding: 0 1ex;
}
table.case-activity div.arrest.alert,
table.case-activity div.seizure.alert {
  background: red;
}
table.case-activity div.arrest.alert a,
table.case-activity div.seizure.alert a {
  color: yellow;
}
table.compressed th,
table.compressed td {
  font-size: 75%;
}
table.report {
  width: 65%;
}
table.report tbody tr:nth-child(2n) td {
  background: #eeeeee;
}
table.report tbody tr:nth-child(2n+1) td {
  background: #eeeedd;
}
table.report td.name {
  width: 25%;
}
table.report td.value {
  width: 75%;
  padding-top: 1ex;
  padding-bottom: 1ex;
}
table.report td form,
table.report td table {
  margin: 0 1ex;
  display: inline-block;
  vertical-align: top;
}
table.zebra tbody tr:nth-child(2n) td {
  background: #cccccc;
}
table.zebra tbody tr:nth-child(2n+1) td {
  background: #ffffcc;
}
div.ui-dialog {
  max-width: 96%;
}
div[data-fst="dialog"] {
  font-size: 75%;
}
div[data-fst="dialog"] a {
  color: blue;
}
div[data-fst="dialog"] a:hover {
  color: red;
}
div[data-fst="dialog"] form [data-fst="form-row"] {
  margin: 0.2em 0;
}
@media print {
  .no-page-break {
    page-break-inside: avoid;
  }
  .no-print {
    display: none;
  }
  #header {
    padding-left: 0;
    height: auto;
    color: black;
    text-shadow: none;
  }
  #header div.mcdtf {
    position: static;
  }
  #header div.mcdtf div {
    display: inline;
  }
  #nav {
    display: none;
  }
  main a,
  section a {
    color: black;
  }
  table {
    white-space: normal;
  }
  table td,
  table th {
    white-space: normal;
  }
  table.bordered th {
    color: black;
    background: white;
  }
  table.bordered th a {
    color: black;
  }
}
