html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0 auto;
}

footer,
header {
  position: relative;
  clear: both;
}

a:link,
a:visited {
  text-decoration: none;
  color: #0082d9;
}

a:hover {
  text-decoration: underline;
}

footer,
header {
  margin: .5em;
}

.nav {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0;
}

.nav>li,
.nav>li>a {
  display: inline-block;
  *display: inline;
  zoom: 1;
}

.inline-items {
  margin-top: 0;
}

.inline-items li {
  margin-left: 0;
  border-left: 1px solid black;
  padding-left: 10px;
  padding-right: 10px;
}

.inline-items li:first-child {
  margin-left: 0;
  border: none;
  padding-left: 0;
  padding-right: 10px;
}

.inline-items li:last-child {
  padding-right: 0;
}

.columns-container {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.left-column {
  margin: 0 0.5em;
}

.right-column {
  margin: 0 0.5em;
}

.notmobile {
  display: none;
}

/* John's */
header {
  margin-top: 0;
}

h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2em;
  font-weight: 400;
  color: #008ae5;
  margin: 0;
  clear: both;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1875em;
  font-weight: 400;
  color: #0082d9;
  margin-top: 0;
  margin-bottom: 0;
  clear: both;
}

h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1em;
  font-weight: 400;
  color: #008ae5;
  margin-top: 0;
  margin-bottom: 0;
  clear: both;
}

h2+h3 {
  margin-top: 0.7em;
}

p,
ul {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875em;
  color: #000000;
  margin: 0.7em 0;
}

body {
  background-image: url("/static/1/images/layout/mirrored_squares.png");
  background-color: #c0c0c0;
}

.majoritem,
.sideitem {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 4px 6px 1px rgba(50, 50, 50, 0.14);
  color: black;
  line-height: 1.5em;
  padding: 1em;
  width: 100%;
  margin: 1em auto;
  overflow: hidden;
}
.majoritem {
  background-color: white;
}

.sideitem {
  background-color: #e5f5ff;
}

.majoritem:first-child {
  margin-top: 0.75em;
}

.sideitem:first-child {
  margin-top: 0;
}

.whitesideitem {
  background-color: #ffffff;
}

.bigpic {
  float: right;
  width: 40%;
  height: auto;
  max-width: 300px;
  padding: 0;
  margin-left: 1em;
  border-radius: 4px;
  box-shadow: 0 4px 6px 1px rgba(50, 50, 50, 0.14);
  color: black;
}

.birthcert {
  float: right;
  width: 40%;
  max-width: 268px;
  padding: 0;
  margin-left: 1em;
  border-radius: 4px;
  color: black;
}

.basenav {
  clear: both;
}

.basenavmaj {
  color: #0082d9;
}

.basenavmin {
  color: #0082d9;
  font-size: 0.875em;
}

.basenavmaj a.active,
.basenavmin a.active {
  color: #fff;
}

#website {
  font-size: 0.7em;
  margin-top: 0.5em;
}

.wrapper {
  background-color: #e8e8e8;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  width: 100%;
  max-width: 1240px;
  padding: 0;
}

header {
  background-color: black;
  margin: 0;
  height: 75px;
}

.firstpage {
  height: 23px;
  line-height: 19px;
  text-align: left;
  padding-left: 15px;
  font-size: 15px;
  color: #c0c0c0;
}

.underline {
  text-decoration: underline;
}

.toplogo {
  float: left;
  width: 18%;
  max-width: 168px;
  margin: 10px 0 10px 10px;
}

.gallery img {
  margin: 3px;
}

.gallerysection img {
  margin: 3px;
}

.miscgallery img {
  margin: .7em .5em .7em 0;
}

.captionmaj {
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-size: 0.85em;
  color: #ffffff;
}

.captionmin {
  font-family: 'Open Sans', sans-serif;
  font-weight: lighter;
  font-size: 0.8em;
  color: #cccccc;
}

footer {
  margin: 0;
  width: 100%;
  background-color: black;
  color: #c0c0c0;
  text-align: center;
  padding: 1em;
}

footer a {
  color: #c0c0c0;
}

.miscpic {
  float: left;
  width: 40%;
  max-width: 250px;
  margin: .5em;
  border: 1px solid #0082d9;
  border-radius: 4px;
}

.sidemiscpic {
  width: 100%;
  max-width: 270px;
  margin: .5em;
  border: 1px solid #0082d9;
  border-radius: 4px;
}

/* LEB Register table comprises inline blocks */
#regwrapper {
  text-align: center;
}

.regleb {
  display: inline-block;
  vertical-align: top;
  width: 79px;
  text-align: center;
  font-size: 0.75em;
  margin: 4px 1px;
}

.regidp,
.regidr {
  width: 100%;
  margin: 0;
  padding: 0;
}

.regidp {
  background-color: #ccccff;
}

.regidr {
  background-color: #F2D5FF;
}

.regdtm,
.regdtn,
.regdtu,
.regdtr {
  width: 100%;
  height: 47px;
  margin: auto;
  padding: 0;
}

.regdtm {
  background-color: #008800;
}

.regdtn {
  background-color: #00ff00;
}

.regdtu {
  background-color: #b6e5f6;
}

.regdtr {
  background-color: #272727;
}

.regi {
  margin: 3px 0 0;
  border: 0;
  padding: 0;
}

.regpadlastrow {
  display: inline-block;
  width: 79px;
  height: 1px;
  margin: 4px 1px;
}

.regkeydesc {
  display: inline-block;
  vertical-align: top;
  width: 170px;
  text-align: left;
  font-size: 0.875em;
  line-height: 1em;
  margin: 2px 6px 7px 6px;
}

.fakeplaque {
  height: auto;
  max-width: 100%;
  padding: 0;
  margin: 1em 0.1em;
}

.lebparamname {
  display: inline-block;
  vertical-align: top;
  font-weight: bold;
  width: 20%;
  min-width: 14em;
}

.lebparamvalue {
  display: inline-block;
  vertical-align: top;
  min-width: 14em;
  max-width: 40em;
  margin-bottom: 0.5em;
}

#meterwrapper {
  display: block;
  min-width: 20em;
}

#meterleftlegend {
  display: inline-block;
  text-align: right;
  font-size: 0.75em;
  font-style: italic;
}

#meterrightlegend {
  display: inline-block;
  text-align: left;
  font-size: 0.75em;
  font-style: italic;
}

#contactmeter {
  width: 60%;
  height: 20px;
  vertical-align: middle;
}

.sidebarpic {
  text-align: center;
  width: 100%;
}

#plaquecontainer {
  text-align: center;
}

#map {
  height: 400px;
  width: 100%;
}

#contactpiechart {
  height: 500px;
}

.restocalendar {
  width: 100%;
  border: 0;
  margin: 10px 0 0 0;
  padding: 0;
  border-collapse: collapse;
  text-align: center;
  background-color: white;
  line-height: 1em;
  font-size: 0.875em;
}

.year {
  background-color: #ccccff;
  border: 1px solid #0082d9;
  color: #0082d9;
}

.quietmonth,
.busymonth,
.currentmonth {
  width: 25%;
  border: 1px solid #0082d9;
}

.quietmonth {
  background-color: #e5e5e5;
  color: #b3b3b3;
}

.busymonth {
  background-color: lightgreen;
}

.busymonth a {
  display: block;
  width: 100%;
  height: 100%;
  color: #404040;
  text-decoration: none;
}

.busymonth a:hover {
  background-color: forestgreen;
  color: white;
}

.highlightmonth,
.currentmonth {
  background-color: forestgreen;
}

.highlightmonth a,
.currentmonth a {
  color: white;
}

.restorationitem {
  display: inline-block;
  vertical-align: top;
  background-color: #e5f5ff;
  width: 22%;
  min-width: 8.4em;
  border: 1px solid #0082d9;
  border-radius: 4px;
  margin: 0.5em 1em 0.5em 0;
  padding: 0.3em;
  text-align: center;
}

.restoitemtitle {
  font-family: 'Oswald', sans-serif;
  font-size: 1em;
  font-weight: 400;
  color: #008ae5;
  height: 2.7em;
}

a:hover .restoitemtitle {
  text-decoration: underline;
}

.highlightrestoitem {
  background-color: #008ae5;
}

.highlightrestoitem .restoitemtitle {
  color: #b3d4fc;
}

.restoitemtnwrapper {
  width: 90%;
  margin: 0.5em auto 0 auto;
  text-align: center;
  overflow: hidden;
}

.restoitemdate {
  font-size: 0.75em;
  color: black;
}

.restoquicklink {
  font-size: 0.875em;
}

.restoquicklink a {
  color: black;
  text-decoration: none;
}

.restoquicklink a:hover {
  text-decoration: underline;
}

.icon-chevron-sign-right,
.icon-chevron-sign-left {
  color: #008ae5;
}

.pressitem {
  display: inline-block;
  vertical-align: top;
  background-color: #e5f5ff;
  width: 22%;
  min-width: 12.1em;
  border: 1px solid #0082d9;
  border-radius: 4px;
  margin: 0.5em 1em 0.5em 0;
  padding: 0.3em;
  text-align: center;
}

.pressitempublication {
  font-family: 'Oswald', sans-serif;
  font-size: 1em;
  font-weight: 400;
  color: #008ae5;
  height: 2.7em;
}

a:hover .pressitempublication {
  text-decoration: underline;
}

.pressitemtnwrapper {
  width: 90%;
  margin: 0.5em auto 0 auto;
  text-align: center;
  overflow: hidden;
}

.pressitemtitle {
  margin-top: 0.5em;
  font-size: 0.9em;
  line-height: 1.2em;
  color: black;
  height: 2.5em;
}

.pressitemintro {
  font-size: 0.75em;
  line-height: 1.2em;
  color: black;
}

#focusimage {
  display: block;
  margin: 1em auto;
}

#focuspresslink {
  text-decoration: none;
}

a:hover #focuspublication {
  text-decoration: underline;
}

.pressheader {
  margin-top: 0.5em;
}

.owners,
#lastbeetle {
  float: right;
  width: 40%;
  height: auto;
  max-width: 250px;
  padding: 0;
  margin-left: 1em;
}

#lastbug {
  float: left;
  width: 40%;
  height: auto;
  max-width: 200px;
  padding: 0;
  margin-right: 1em;
}

#firstbug {
  float: right;
  width: 40%;
  height: auto;
  max-width: 200px;
  padding: 0;
  margin-left: 1em;
}

#panorama {
  display: block;
  height: auto;
  max-width: 90%;
  padding: 0;
  margin: 1.5em auto;
}

.linkwrapper {
  width: 100%;
  display: inline-block;
}

.linklogo {
  clear: left;
  float: left;
  padding: 0;
  border: 1px solid #D0D0D0;
  margin: 1em 1em 1em 0;
}

.linktext {
  margin-top: 2em;
}

#focussiteimage {
  display: block;
  margin: 1em auto;
}

#focussitelink {
  text-decoration: none;
}

a:hover #focussitename {
  text-decoration: underline;
}

#regparams {
  font-size: 0.875em;
}

.disabledlabel
{
  opacity: 50%;
}

#newmembers {
  font-size: 0.875em;
  padding-left: 2em;
}

.sendbutton {
  background-color: #e5f5ff;
  color: #0082d9;
  border-radius: 4px;
  box-shadow: 0 4px 6px 1px rgba(50, 50, 50, 0.14);
  font-size: 1em;
  line-height: 1.5em;
  padding: 0.2em 0.4em;
  width: auto;
  margin: 1em;
  overflow: hidden;
}

.formdiv {
  margin: 0;
  padding: 0;
  width: 100%;
}

.formdiv:nth-child(odd) {
  background-color: #e5f5ff
}

.formdiv:nth-child(even) {
  background-color: #bfe7ff;
}

.contactparamname {
  display: inline-block;
  vertical-align: top;
  width: 20%;
  min-width: 8em;
  font-size: 0.875em;
  margin: 0.2em;
}

.contactparamvalue {
  display: inline-block;
  vertical-align: top;
  width: 70%;
  min-width: 14em;
  max-width: 20em;
  font-size: 0.875em;
  margin: 0.2em;
}

.contactparammsg {
  display: inline-block;
  vertical-align: top;
  width: 70%;
  height: 20em;
  font-size: 0.875em;
  margin: 0.2em;
}

#contactphone {
  max-width: 15em;
}

.regformparamname {
  display: inline-block;
  vertical-align: top;
  width: 35%;
  min-width: 8em;
  font-size: 0.875em;
  margin: 0.2em;
}

.regformparamvalue {
  display: inline-block;
  vertical-align: top;
  width: 55%;
  min-width: 14em;
  max-width: 20em;
  font-size: 0.875em;
  margin: 0.2em;
}

.regformparammsg {
  display: inline-block;
  vertical-align: top;
  width: 55%;
  height: 20em;
  font-size: 0.875em;
  margin: 0.2em;
}

#id_history {
  width: 60%;
  max-width: 50em;
}

#id_phone,
#id_phone_day,
#id_phone_evening {
  max-width: 15em;
}

#id_leb_number {
  min-width: 3em;
  max-width: 3em;
}

#id_registration {
  min-width: 10em;
  max-width: 10em;
}

#id_registration_date {
  min-width: 10em;
  max-width: 10em;
}

#id_chassis {
  min-width: 13em;
  max-width: 13em;
}

#id_engine {
  min-width: 10em;
  max-width: 10em;
}

#id_mileage {
  min-width: 10em;
  max-width: 10em;
}

.formerrorwarn {
  font-size: 0.875em;
  color: red;
}

.formerror {
  font-size: 0.75em;
  color: red;
  margin-left: 0.2em;
}

.explainrow {
  font-size: 0.875em;
}

#modtable {
  background-color: #FFFFCC;
}

.modyear {
  font-weight: bold;
  text-align: left;
  vertical-align: top;
  padding-left: 10px;
  padding-right: 10px;
}

.moddesc {
  text-align: left;
  vertical-align: top;
  padding: 2px 10px;
}

#majmod {
  text-align: left;
  vertical-align: top;
  padding-left: 10px;
  padding-top: 10px;
}

.spectable {
  border-collapse: separate;
  border-spacing: 2px;
  font-size: 0.875em;
}

.specitem {
  background-color: #EEEEEE;
}

.specheader {
  font-weight: normal;
  background-color: #00CCFF;
}

.specmetric {
  background-color: #66FFFF;
}

.specimp {
  background-color: #FFFF99;
}

.specall {
  background-color: #CCFFCC;
}

@media screen and (min-width: 48.5em) {
  .columns-container {
    flex-direction: row;
  }

  .left-column {
    margin: 0 0.5em;
  }

  .right-column {
    flex: 0 0 18.75em;
    margin: 0 0.5em 0 0.25em;
  }

  .sticking {
    position: sticky;
    top: 1em;
  }

  .notmobile {
    display: block;
  }

  .sideitem:first-child {
    margin-top: 1em;
  }

  .majoritem:first-child {
    margin-top: 1em;
  }
}

@media screen and (max-width: 768px) {
  header {
    height: auto;
  }

  #contactpiechart {
    height: 250px;
  }
}