body {
	border: none;
    color: black;
    background-color: #e4e4e4;  /* lighter then lightgrey */
	font-size: 0.8em;
	font-weight: normal;
}
body.center {
    padding: 10px 15%;
}

body, p, th, td, li, ul, ol, h1, h2, h3, h4, h5, h6	{
    font-family: arial, helvetica, sans-serif;
	border: none;
}
.invisible {
    color: #e4e4e4;  /* lighter then lightgrey */
}
h1 {
	font-size: 1.2em;
}

h2 {
   font-size: 1em;
}

h3 {
	font-weight: bold;
	color: fuchsia;
}

h5 {
   font-size: 1em;
   font-weight: bold;
}

td, th {
    text-align:left;
	vertical-align: top;
}
td.center {
    text-align: center;
}

td.right {
    text-align: right;
}

th {
	white-space: nowrap;
}

input, select, textarea {
    border-width: 1px;
    border-style: inset;
    border-color: none;		/* to make the inset border work properly in ie6 */
	font-size: 0.9em
}
input[type=image] {
    border: none;
    margin-left: auto;
	margin-right: auto;
    text-align: center;
}
input[size="4"] {
    width: 37px;
}
input[size="9"] {
    width: 67px;
}
select {
    width: 90px;
}
a {
	color: #9f009f;     /* iets minder fel dan fuchsia (fuchsia is #ff00ff) */
	font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #f0f;
	text-decoration: underline;
}

div.clear{ clear: both;}

td.Label, label, th {
   font-weight: bold;
}

/*class stuff below */
h1.header {
  	font-size: 1.7em;
	/* cerntered: */
	XXwidth: 600px;
	margin-left: auto;
	margin-right: auto;
}

.center {
	XXtext-align: center;
}

.center table,
.center div,
.center h1,
.center p,
.center ol,
.center ul {
	margin-left: auto;
	margin-right: auto;
    text-align: center;
}
.center form div {
    text-align: left;
}

.center div.centerleft p,
.center div.centerleft ol,
.center div.centerleft ul
{
    text-align: left;
    max-width: 600px;
    width: 100%;
}

.center p {
	width: 600px;
}



.center form {
	XXwidth: 600px;
	margin-left: auto;
	margin-right: auto;
}


.content {
	border-top: 30px solid #e4e4e4;  /* equals background */
	border-left: 150px solid #e4e4e4;  /* equals background */
}
body {
	width: 860px;
    position: relative;
}

body.center {
	XXwidth: 96%;
}

#loginform input.input {
	width: 140px;
}

input.ButtonControl		/* buttons */
{   background-color: #cccccc;
    border-width: 1px;
    border-style: outset;
    border-color: none;		/* to make the inset border work properly in ie6 */
    min-width: 60px;
	font-weight: bold;
	color: #9f009f;
}

input.checkbox, input.radio
{   background-color: #e4e4e4;
}

#last5 {
	width: 98%;
	border-bottom: inset 1px;
}

#top10 a, #last5 a{
	display: block;
	padding: 3px;
}
#last5 a:hover,  #top10 a:hover, #arrows a:hover {
	text-decoration: none;
	background-color: #ccc;
}

#top10 {
    float: right;
    width: 200px;
	height: 300px;
	overflow: auto;
}

#top10  td{
	border-bottom: inset 1px;
}


#top10 a:hover {
}


/* from here onwards the menu-style  */
div.nav {
    width: 340px;
}
div.nav a {
    display: block;
	background-color: #d6d6d6;
	font-weight: bold;
	width: 111px;
	padding: 0; /* 0.5em;*/
	text-align: center;
    margin: 1px;
    align: center;
    
    float: left;
}

td.menu {
	background-color: #d6d6d6;
}

td.nav {
	background-color: #d6d6d6;
	font-weight: bold;
	width: 90px;
	padding: 0 0.5em;
	text-align: center;
}

td.menu a
{   font-weight: normal;
	display: block;
	background-color: #eee;
	padding-left: 3px;
	padding-top: 1px;
	padding-bottom: 1px;
}

td.menu a:hover {
	color: #f0b;
	background-color: #ccc;
}

p.error
{   border-style: solid;
    border-width: 3px;
    border-color: red;
    font-weight: bold;
	padding: 1px;
}

p.message
{   border-style: solid;
    border-color: green;
	padding: 1px;
}

/* below: the layout of the pages */
table.menu {
    float: left;
	width: 140px;
	height: 100%;
	border-top: 30px solid #e4e4e4;  /* equals background */
}
table#mobilemenu {
    display: none;
    border: none;
    width: 100%;
}

#gotomobilemenu {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: right;
}
#toonform {
    display: none;
    position: absolute;
    top: 50px;
    right: 10px;    
    text-align: right;
}

#arrows a{
	font-weight: normal;
	font-size: 0.8em;
}

span.small {
    font-size: 0.8em;
}

div.clear {
    clear: both;
}

/* responsive forms (see http://codepen.io/chriscoyier/full/DmnlJ): */
form {
    text-align: left;
}
form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 3px 0;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form label,
legend {
	width: 28%;
    float: left;
    padding-right: 10px;
}
form > div > div,
form > div > div > div,
form > div > fieldset > div {
  width: 68%;
  float: right;
}
form > div > div > div.secondlevel {
    width: 62%;
}
div.secondlevel label {
    width: 45%;
}
div.secondlevel div {
    width: 45%;
    float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
	border: 0;
    padding: 0;
}


/* end responsive form */


#loginform {
    width: 500px;
}

#ritform{
    width: 500px;
    display: table;
}

#celldatum,
#cellkmstand {
    width: 120px;
    float: left;
}

span.short {
    display: none
}

#last5 .datum {
    width: 115px;
}

#last5 .kenteken {
    width: 60px;
}

form#paypal {
    text-align: center;
}

@media (max-width: 1250px){
    body.center {
        width: 65%;
    }
 
}

@media (max-width: 600px) {
    body.center, 
    body.responsive {
        width: inherit;
        padding: 3px 2px;
    }
    div.nav {
        width: 100%;
    }
    div.nav a {
        width: 100%;
        float: none;
    }
    .center p {
        width: auto;
    }
    h1.header {
        margin: 1px;
    }
  
  form > div {
    margin: 0 0 10px 0; 
  }
  form  label,
  legend {
	  width: 100%;
      float: none;
      margin: 0 0 5px 0;
  }
  form > div > div,
  form > div > div > div,
  form > div > fieldset > div,
  form > div > div > div.secondlevel > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%; 
  }
  
    #celldatum,
    #cellkmstand {
        width: 100%;
        float: none;
    }

    a#vergeten {
        display: block;
    }
    #loginform,
    #ritform {
        width: 100%;
    }
    h1.subhead,
    .header span {
        display: none
    }
    
    /* stuff behind login */
    .responsive table#mobilemenu {
        display: table;
    }
    .responsive table.menu {
        display: none;
    }
    .responsive #gotomobilemenu,
    .responsive #toonform{
        display: block;
    }
    .responsive .content {
        border-left: none;
        border-top: none;
    }
    
    .responsive form {
        width: 280px;
    }
    .responsive input.inputw10 {
        width: 15%;
    }

    .responsive input.inputw80 {
        width: 75%;
    }
    
    #top10 {
        float: none;
        width: 100%;
        height: auto;
    }
        
    #last5 .route,
    #last5 .bezoekadres,
    #last5 .soort,
    #last5 .afstand {
        display: none;
    }
    #last5 .datum {
        width: auto;
    }
    span.short {
        display: inline;
    }
    span.long {
        display: none;
    }
    td.menu a,
    div.nav a {
        padding-top: 9px;
        padding-bottom: 9px;
    }
}