@media (max-width: 767px) {
  h1, h1.title {
    font-size: 24px;
    line-height: 30px;
  }

  h2 {
    font-size: 20px;
    line-height: 20px;
  }

  h3 {
    font-size: 18px;
    line-height: 20px;
  }

  h4 {
    font-size: 14px;
    line-height: 20px;
  }

  h5 {
    font-size: 12px;
    line-height: 15px;
  }

  h6 {
    font-size: 10px;
    line-height: 15px;
  }
}

h1, h1.title {
  font-size: 30px;
  line-height: 30px;
}

h2.subtitle {
  font-size: 14px;
  line-height: 14px;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.fleft {
  float: left;
}

.fright {
  float: right;
}

.justify {
  text-align: justify;
}

.hidden {
  display: none;
}

.bold {
  font-weight: bold;
}

.bolder {
  font-weight: bolder;
}

.inline {
  display: inline;
}

.small {
  font-size: small;
}

.smaller {
  font-size: smaller;
}

.large {
  font-size: large;
}

.larger {
  font-size: larger;
}

.nowrap {
  white-space: nowrap;
}

.italic {
  font-style: italic;
}

.strikethrough {
  text-decoration: line-through;
}

.vmid {
  vertical-align: middle !important;
}

.img-center {
  display: block;
  margin: 0 auto;
}

.no-top-margin {
  margin-top: 0px;
}

.no-bottom-margin {
  margin-bottom: 0px;
}

.spacer {
  margin-bottom: 30px;
}

.spacer10 {
  margin-bottom: 10px;
}

.spacer20 {
  margin-bottom: 20px;
}

.top-spacer {
  margin-bottom: 20px;
}

.img-rspacer {
  margin-right: 15px;
}

.img-lspacer {
  margin-left: 15px;
}

.img-bspacer {
  margin-bottom: 15px;
}

.img-tspacer {
  margin-top: 15px;
}

html,
body {
  height: 100%;
}

.wrap {
  min-height: 100%;
  height: auto;
  margin: 0 auto -60px;
  padding: 0 0 60px;
}

.wrap > .container {
  padding: 70px 15px 20px;
}

.footer {
  height: 60px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.jumbotron {
  text-align: center;
  background-color: transparent;
}

.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  padding-left: 5px;
}

a.asc:after {
  content: /*"\e113"*/ "\e151";
}

a.desc:after {
  content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
  content: "\e153";
}

.sort-numerical a.desc:after {
  content: "\e154";
}

.sort-ordinal a.asc:after {
  content: "\e155";
}

.sort-ordinal a.desc:after {
  content: "\e156";
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

.atoz-heading {
  text-transform: uppercase;
  color: #3C578C;
}

.action-column {
  white-space: nowrap;
}

div.required label:after {
  content: " *";
  color: red;
}

.vehicle-snippet {
  position: relative;
  margin-bottom:5px;
}

.vehicle-snippet img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.vehicle-snippet-rating {
  z-index: 2;
  height: 50px;
  width: 50px;
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius:90px;
  color: white;
  font-size: 24px;
  text-align: center;
  padding-top: 10px;
  font-weight: bolder;
}

.rating-percentace {
  vertical-align: super;
  font-size: 12px;
}


.green {
  background-color: rgba(0, 255, 0, 0.75);
}

.amber {
  background-color: rgba(255, 127, 0, 0.75);
}

.red {
  background-color: rgba(255, 0, 0, 0.75);
}

.greentext {
  color: rgba(0, 255, 0, 0.75);
}

.ambertext {
  color: rgba(255, 127, 0, 0.75);
}

.redtext {
  color: rgba(255, 0, 0, 0.75);
}

.vehicle-snippet-info {
  z-index: 2;
  height: 30px;
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  font-size:18px;
  font-weight: bold;
  color:white;
  padding:4px 10px;
}

.indent10 {
  padding:0 10px;
}

.vehicle-snippet-verdict {
  height:18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fcheader {
  background-image: url("/images/cover.jpg");
  background-size: cover;
  padding: 5px 0;
}

@font-face {
  font-family: number_plate;
  src: url('/number_plate.ttf');
}

.reg {
  margin: 30px auto;
  font-size: 100px;
  line-height: 100px;
  background-color: #ec0;
  background: -webkit-linear-gradient(#ec0, #ca0);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.75);
  font-family: number_plate;
  display: inline-block;
  padding: 0 50px 0 100px;
  position: relative;
}

.reg::before {
  background-color: #24c;
  background: -webkit-linear-gradient(#24c, #02a);
  border-radius: 4px;
  content: 'GB';
  color: #ec0;
  font-family: sans-serif;
  font-size: 20px;
  line-height: 40px;
  position: absolute;
  padding-top: 50px;
  left: 5px;
  top: 5px;
  text-align: center;
  width: 50px;
}

.reg::after {
  background-color: rgba(255,255,255,.25);
  color: #ec0;
  content: "\25CC";
  font-family: sans-serif;
  font-size: 32px;
  left: 0;
  height: 50%;
  line-height: 70px;
  width: 100%;
  padding-left: 16px;
  position: absolute;
}

.reg-entry {
  width:100%;
  margin: 0 auto 10px auto;
  font-size: 40px;
  line-height: 40px;
  background: url(/images/UK-Reg.png) no-repeat left top;
  background-color: #ec0;
  border-radius: 4px;
  font-family: number_plate;
  border: none;
  padding: 0 0 0 35px;
  height: 45px;
}
