/* HTML5 RESET */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{ 
  display: block;
}

/* GENERIC ELEMENTS */
html{
  margin: 0;
  padding: 0;
  background: #FFF;
  height: 100%;
}

body{
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: Arial, Verdana;
  font-size: 12px;
  color: #636466;
  background: #FFF;
}

header{
  position: relative;
  height: 192px;
  z-index: 2;
}

header h1{
  display: none;
}

#wrapper{
  position: relative;
  margin: 0 auto;
  padding: 0;
  width: 880px;
  height: 100%;
  background: #FFF;
}

img{
  border: 0;
}

a{
  color: #636466;
}

.screenreader{
  display: none;
}

#logo{
  display: block;
  position: relative;
  margin: 0 auto;
}

#header-image{
  position: absolute;
  top: 160px;
  left: 35px;
  z-index: 1;
}

nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

fieldset{
  margin: 0;
  padding: 0;
  border: none;
}

legend{
  display: none;
}

.errors{
  color: #FF0000;
  font-weight: bold;
}

/* PAGE-SPLASH */
body#page-splash{
  background: #FFF url('../images/backgrounds/body-splash.png') 0 0 repeat-x fixed;
  height: 100%;
}

#page-splash h1{
  display: none;
}

#page-splash nav{
  margin-top: 165px;
  margin-left: 35px;
}

#page-splash nav li{
  display: block;
  width: 399px;
  height: 356px;
  float: left;
  margin-right: 10px;
}

#page-splash nav li a{
  display: block;
  width: 100%;
  height: 100%;
  text-indent: -2000px;
  overflow: hidden;
}

#page-splash nav li#button-mkdv a{
  background: url('../images/backgrounds/splash-button-mkdv.jpg') 0 0 no-repeat;
}

#page-splash nav li#button-slh a{
  background: url('../images/backgrounds/splash-button-slh.jpg') 0 0 no-repeat;
}

section li{
  margin-bottom: 8px;
}

/* PAGE-GENERIC */
body.page-generic{
  min-height: 1010px;
}

.page-generic #nav-primary{
  background: url('../images/backgrounds/nav-primary.png') 0 0 no-repeat;
  height: 46px;
  width: 813px;
  position: absolute;
  top: 350px;
  left: 33px;
}

.page-generic #nav-primary li{
  float: left;
  margin-right: 5px;
}

.page-generic #nav-primary li.last{
  margin-right: 0;
}

.page-generic #nav-primary li a{
  display: block;
  width: 199px;
  height: 47px;
  line-height: 47px;
  font-size: 14px;
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

.page-generic #nav-primary li a:hover,
.page-generic #nav-primary li.active a{
  opacity: 0.6;
}

.page-generic #nav-secondary{
  position: absolute;
  top: 408px;
  left: 33px;
  width: 179px;
  height: 543px;
  padding: 25px 10px;
}

.page-generic #nav-secondary a{
  text-transform: lowercase;
  display: block;
  height: 39px;
  width: 176px;
  line-height: 39px;
  padding: 0 23px;
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.page-generic #nav-secondary li.slh a{
  background: url('../images/backgrounds/nav-secondary-link-slh.png') 0 0 no-repeat;
}

.page-generic #nav-secondary li.slh a:hover{
  color: #FFF;
}

.page-generic #nav-secondary li.mkdv a{
  background: url('../images/backgrounds/nav-secondary-link-mkdv.png') 0 0 no-repeat;
  height: 49px;
  line-height: 19px;
  padding-top: 10px;
}

.page-generic #nav-secondary li.mkdv a:hover{
  color: #FFF;
}

.page-generic section{
  margin: 250px 0 0 270px;
  padding-right: 40px;
  min-height: 605px;
  border-bottom: 1px solid transparent;
}

.page-generic section h1{
  font-size: 20px;
  font-weight: normal;
  margin: 0 0 20px 0;
}

.page-generic section h2{
  font-size: 16px;
  font-weight: normal;
  margin: 0 0 5px 0;
}

.page-generic section h3{
  font-size: 14px;
  font-weight: normal;
  margin: 0 0 5px 0;
}

.page-generic section p{
  margin: 0 0 20px 0;
}

.page-generic section p,
.page-generic section li{
  font-size: 14px;
  line-height: 22px;
}

.page-generic section ul{
  margin: 0;
  padding: 0 0 20px 15px;
}

.page-generic p.right{
  float: right;
}

.page-generic form{
  margin: 20px 0;
}

.page-generic form ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-generic form li{
  margin-bottom: 15px;
}

.page-generic form label{
  display: block;
  float: left;
  width: 150px;
}

.page-generic form .input-text,
.page-generic form textarea{
  width: 250px;
  border: 1px solid #636466;
}

.page-generic form textarea{
  height: 150px;
  font-family: Arial;
  font-size: 12px;
  resize: none;
  overflow: auto;
}

.page-generic form .input-submit{
  margin-left: 150px;
}

/* PAGE-MEDISCH-KINDERDAGVERBLIJF */
body.page-mkdv{
  background: #FFF url('../images/backgrounds/body-mkdv.png') 0 0 repeat-x fixed;
}

.page-mkdv #nav-secondary{
  background: url('../images/backgrounds/nav-secondary-mkdv.png') 0 0 no-repeat;
}

.page-mkdv #nav-secondary a:hover,
.page-mkdv #nav-secondary li.active a{
  color: #ea1b2a;
}

/* PAGE-SPECIALISTISCH-LOGEERHUIS */
body.page-slh{
  background: #ebe0ef url('../images/backgrounds/body-slh.png') 0 0 repeat-x fixed;
}

.page-slh #nav-secondary{
  background: url('../images/backgrounds/nav-secondary-slh.png') 0 0 no-repeat;
}

.page-slh #nav-secondary a:hover,
.page-slh #nav-secondary li.active a{
  color: #742b8e;
}

/* RG aanpassingen */
a.external {
background: url("../images/li_external.gif") center right no-repeat;
padding-right: 13px;
}