h1 {
  display: block;
  font-size: 1.22em; /* was 2em */
  font-weight: bold;
  margin-top: 0.67em;
  margin-right: 0;
  margin-bottom: 1.3em;  /* was 0.67em */
  margin-left: 0;
}

h2 {
  display: block;
  font-size: 1.17em; /* was 1.5em */
  font-weight: bold;
  margin-top: 2em; /* was 0.83em */
  margin-right: 0;
  margin-bottom: 0.83em;
  margin-left: 0;
}

h3 {
  display: block;
  font-size: 1.05em; /* was 1.17em */
  font-weight: bold;
  margin-top: 1.5em; /* was 1em */
  margin-right: 0;
  margin-bottom: 0.83em; /* was 1em */
  margin-left: 0;
}

h4 {
  display: block;
  font-size: 1em;
  font-weight: bold;
  margin-top: 1.33em;
  margin-right: 0;
  margin-bottom: 1.33em;
  margin-left: 0;
}

h5 {
  display: block;
  font-size: 0.83em;
  font-weight: bold;
  margin-top: 1.67em;
  margin-right: 0;
  margin-bottom: 1.67em;
  margin-left: 0;
}

h6 {
  display: block;
  font-size: 0.67em;
  font-weight: bold;
  margin-top: 2.33em;
  margin-right: 0;
  margin-bottom: 2.33em;
  margin-left: 0;
}

* {
  box-sizing: border-box;
/*  regel hieronder is gelijk aan default */
/*  box-sizing: content-box; */
}

q:lang(nl) {
    quotes: "\201E" "\201D";
}

abbr {
  cursor: help;
}

a:link {
  color: #000090;
  background-color: inherit;
  text-decoration: none;
}
a:visited {
  color: #0000ce;
  background-color: inherit;
}
a:hover {
  color: #0000ce;
  background-color: inherit;
  text-decoration: underline;
}
a:active {
  color: #000000;
  background-color: inherit;
  text-decoration: none;
}

img {
  margin: 0;
  padding: 0;
  border: 0; /* voorkomt rand om plaatje in IE9 en eerder wanneer plaatje gebruikt zou worden als link */
}

body {
  margin: 0; /* zelfde uiterlijk float elementen in verschillende browsers */
  padding: 0; /* zelfde uiterlijk float elementen in verschillende browsers */
  text-align: left;
  color: #000000;
  background-color: #e0e0e0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 100%; /* oplossing oude versies IE, komt overeen met 16px dus 1em */
}

.bladzijde {
  max-width: 900px; /* beperk max textbreedte voor prettiger lezen */
  min-height: 300px;
  margin-top: 10px;
  margin-right: auto; /* centreer horizontaal in midden van body */
  margin-bottom: 20px;
  margin-left: auto; /* centreer horizontaal in midden van body */
  padding-bottom: 10px;
  box-shadow: 15px 20px 20px 0 rgba(0,0,0,0.2);
  color: #000000;
  background-color: #ffffff;
}

.upperbox {
  margin-top: 0;
  margin-right: 20px;
  margin-bottom: 0;
  margin-left: 20px;
  padding-top: 10px;
  overflow: auto;
}

img.logo {
  float: left;
  width: 83px;
  height: 27px;
  margin-top: 5px;
  margin-right: 20px;
  margin-bottom: 5px;
}

.bedrijfsnaam {
  display: block;
  float: left;
  font-size: 2em;
  font-weight: bold;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 1px;
  margin-left: 0;
  width: auto;
  white-space: nowrap;
}

.hstreep {
  clear: both;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 7px;
  margin-left: 0;
  min-width: 278px;
  height: 2px;
  color: #000000; /* voorkomt waarschuwing CSS-controle */
  background-color: #0000ff;
}

.hoofdmenu {
  display: block;
  margin-top: 0px;
  margin-right: 20px;
  margin-bottom: 0;
  margin-left: 20px;
  padding: 0px;
  background-color: #5f5f5f;
}

/* clearfix hoofdmenu */
.hoofdmenu::after {
  content: "";
  clear: both;
  display: table;
}

.menublok {
  float: left;
}

.menublok:first-child {
  /* voor taalkeuze:
     display: block;
     voor geen taalkeuze:
     display: none;
  */
  display: none;
  float: right;
}

/* container <div> voor positioneren dropdown inhoud */
.dropdown {
  position: relative; /* benodigd voor juist plaatsing dropdown inhoud */
  float: left;
  text-decoration: none;
  color: #000000;
  background-color: #ffffff; /* voorkomt waarschuwing CSS-controle */
  cursor: pointer;
}

.dropcontent {
  display: none;
  position: absolute;
  width: 100%; /* even breed als .dropdown */
  box-shadow: 5px 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown:hover .dropcontent {
  display: block;
}

.menublok a {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  overflow: auto;
  border: none;
  padding-top: 10px;
  padding-right: 14px;
  padding-bottom: 10px;
  padding-left: 14px;
  color: #ffffff;
  background-color: #5f5f5f;
  cursor: pointer;
  text-decoration: none;
}

.menublok a.actief {
  color: #000000;
  background-color: #ffffff;
}

.menublok a:hover {
  color: #ffffff;
  background-color: #000000;
}

.menublok a:hover.actief {
  color: #000000;
/*  background-color: #f7f7f7;  oude instelling */
  background-color: #ffffff;
}

.menublok > a {
  float: left;
}

.dropdown > a {
  display: block;
  float: none;
}

.dropcontent > a {
  display: block;
  float: none;
  text-align: center;
}

a.linkknop {
  display: inline-block;
  min-width: 130px;
  margin-top: 30px;
  margin-right: 20px;
  margin-bottom: 0;
  margin-left: 0;
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  text-align: center;
  text-decoration: none;
  background-color: #5f5f5f;
  color: #ffffff;
}

a.tariefknop {
  display: inline-block;
  min-width: 130px;
  margin-top: 10px;
  margin-right: 0px;
  margin-bottom: 20px;
  margin-left: 100px;
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  text-align: center;
  text-decoration: none;
  background-color: #5f5f5f;
  color: #ffffff;
}

a.linkknop:hover, a.tariefknop:hover {
  background-color: #000000;
  color: #ffffff;
}

.inhoud {
  margin-top: 50px;
  margin-right: 20px;
  margin-bottom: 0;
  margin-left: 20px;
  padding-bottom: 50px;
}

.inhoud > p {
  margin-right: 60px;
  margin-bottom: 16px; /* standaard 16px */
}

.inhoud > p > img {
  float: right;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 20px;
  margin-left: 20px;
}

.plaats_eronder {
  clear: both;
}

.voetinfo {
  margin-top: 50px;
  margin-right: 80px;
  margin-bottom: 0;
  margin-left: 20px;
  padding-bottom: 0;
  font-size: 0.83em;
  color: #707070;
  background-color: inherit;
}



/* opmaak op meer specifieke pagina's */



h1.paginaOnbekend {  /* maak tekst in alle browsers even groot voor 404 pagina */
  display: block;
  font-size: 1.5em;
  margin-top: 0.83em;
  margin-right: 0;
  margin-bottom: 0.83em;
  margin-left: 0;
  font-weight: bold;
}

ul.reparatielijst, ul.projectlijst {
  margin-top: 15px;
  list-style-type: square;
}
ul.reparatielijst > li {
  margin-top: 12px;
}
ul.reparatielijst > li ul {
  list-style-type: none;
}
ul.reparatielijst > li > ul > li {
  margin-top: 1px;
}
ul.reparatielijst > li > ul > li:last-child {
  margin-bottom: 12px;
}

/* beeldschermlijst vouwt uit */
/* ondermarge groter i.v.m. benodigde ruimte voor laatste uivouwende items */
ul.beeldschermlijst {
  display: inline-block;
  margin-top: 15px;
  margin-bottom: 150px;
  list-style-type: square; /* reserve als afbeelding niet werkt */
  list-style-image: url('nidx/afbeeldingen/driehoek_puntrechts.svg');
}
ul.beeldschermlijst li:hover {
  list-style-image: url('nidx/afbeeldingen/driehoek_puntbeneden.svg');
}
ul.beeldschermlijst > li {
  margin-top: 12px;
  cursor: pointer;
}
ul.beeldschermlijst > li ul {
  list-style-type: none;
}
ul.beeldschermlijst > li > ul > li {
  display: block;
  visibility: hidden;
  height: 0px;
  margin-top: 0px;
  transition: height 0.7s, visibility 0.5s;
  transition-delay: 0.3s;
}
ul.beeldschermlijst > li:hover > ul > li {
  display: block;
  visibility: visible;
  height: 20px;
  margin-top: 0px;
}
ul.beeldschermlijst > li > ul > li:last-child {
  margin-bottom: 12px;
}

a.muvoorwaardenlink:link {
  color: #0000ce;
  background-color: inherit;
  text-decoration: none;
}
a.muvoorwaardenlink:visited {
  color: #0000ce;
  background-color: inherit;
  text-decoration: none;
}
a.muvoorwaardenlink:hover {
  color: #0000ce;
  background-color: #f2f2f2;
  text-decoration: none;
}
a.muvoorwaardenlink:active {
  color: #000000;
  background-color: #f2f2f2;
  text-decoration: none;
}

table.fouttabel {
  border-collapse: collapse;
  margin-top: 2px;
  margin-right: 20px;
  margin-bottom: 15px;
}

table.fouttabel tr th {
  border-collapse: collapse;
  border: 2px solid #f7e6d4;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: left;
  color: #ffffff;
  background-color: #600000;
}

table.fouttabel tr td {
  border-collapse: collapse;
  border: 2px solid #f7e6d4;
  padding-top: 6px;
  padding-right: 8px;
  padding-bottom: 6px;
  padding-left: 8px;
}

table.fouttabel tr:nth-child(even) {
  color: #000000;
  background-color: #f2f2f2;
}

address {
  font-style: normal;
}
#nietAfbeelden {
  display: none;
  float: none;
}
.contactMetAfb {
  float: none;
  position: relative; /* benodigd voor juist plaatsing img */
  margin-top: 18px;
  max-width: 218px;
  height: 115px;
  overflow: auto;
  color: #000000; /* voorkomt waarschuwing CSS-controle */
  background-color: #ffffff;
}
.contactMetAfb img {
  display: block; /* bij smal scherm plaatjes niet weglaten */
  position: absolute;
}

img.vraagteken {  /* 404 foutpagina */
  float: right;
  margin-bottom: 20px;
  margin-left: 20px;
  width: 200px;
  height: 200px;
}
img.pcb {
  width: 302px;
  height: 170px;
}
p > img.schroefdraad {
  margin-top: 17px;
  margin-right: 10px;
  width: 302px;
  height: 201px;
}
p > img.handen {
  margin-top: 17px;
  margin-right: 10px;
  width: 160px;
  height: 84px;
}
img.beeldscherm_tft {
  margin-top: 17px;
  margin-right: 10px;
  width: 240px;
  height: 216px;
}
img.baum_bum_60 {
  width: 100px;
  height: 268px;
}
img.fanuc_voeding {
  width: 201px;
  height: 166px;
}
img.heidenhain_11ua_encoder_interface {
  margin-top: 17px;
  margin-right: 10px;
  width: 302px;
  height: 201px;
}
img.indramat_tdm_2 {
  width: 100px;
  height: 316px;
}
img.dialog112 {
  width: 302px;
  height: 330px;
}
img.mits_mds_b {
  width: 100px;
  height: 391px;
}
img.mits_qx141_1 {
  width: 141px;
  height: 242px;
}
img.traub_syspanel {
  width: 302px;
  height: 204px;
}



@media screen and (max-width: 1000px) {
  .bladzijde {
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
  }
}

@media screen and (max-width: 835px) {
  .hoofdmenu {
  color: #000000; /* voorkomt waarschuwing CSS-controle */
  background-color: #ffffff;
  }
  .menublok {
    display: block;
    width: 40%;
    min-width: 215px;
  }
  .menublok:first-child { /* taalkeuze */
    width: auto;
    min-width: 10px; /* 10px is fallback */
  }
  .menublok:first-child > .dropdown > .dropcontent {
    display: block; /* taalkeuze permanent zichtbaar */
  }
  .menublok a {
    display: block;
    float: none;
    margin: 5px;
    padding-top: 8px;
    padding-right: 12px;
    padding-bottom: 8px;
    padding-left: 12px;
    border: 2px solid #000000;
    border-radius: 6px;
    text-align: center;
  }
  .dropdown {
    float: none;
    cursor: auto;
  }
  .dropcontent {
    box-shadow: none;
  }
  .dropdown > a {     /* bovenste dropdown-activatie knop */
    margin-bottom: 0; /* geen margin collapse; marge weghalen */
  }
  a.linkknop, a.tariefknop {
    padding-top: 8px;
    padding-right: 12px;
    padding-bottom: 8px;
    padding-left: 12px;
    border: 2px solid #000000;
    border-radius: 6px;
  }
}

@media screen and (max-width:560px) {
  .menublok {
    float: none;
    clear: both; /* taalkeuze bovenste menublok */
    width: auto;
  }
  .menublok:first-child {
    /* taalkeuze */
    float: none;
  }
  .menublok:first-child > .dropdown {
    float: none;
  }
  .menublok:first-child > .dropdown > .dropcontent {
    position: static;
    float: left;
    width: auto;
  }
  .menublok:first-child a {
    /* taalkeuze horizontaal binnen .menublok */
    float: left;
  }
  .menublok:first-child .dropdown > a {
    margin-bottom: 5px; /* geen margin collapse */
  }
}

@media screen and (max-width: 700px) {
  img.vraagteken {
    width: 33.33%;
    height: auto;
  }
  img.pcb {
    width: 50.33%;
    height: auto;
  }
  p > img.schroefdraad {
    width: 50.33%;
    height: auto;
  }
  p > img.handen {
    width: 26.66%;
    height: auto;
  }
  img.beeldscherm_tft {
    width: 40%;
    height: auto;
  }
  img.baum_bum_60 {
    width: 16.66%;
    height: auto;
  }
  img.fanuc_voeding {
    width: 33.5%;
    height: auto;
  }
  img.heidenhain_11ua_encoder_interface {
    width: 50.33%;
    height: auto;
  }
  img.indramat_tdm_2 {
    width: 16.66%;
    height: auto;
  }
  img.dialog112 {
    width: 50.33%;
    height: auto;
  }
  img.mits_mds_b {
    width: 16.66%;
    height: auto;
  }
  img.mits_qx141_1 {
    width: 23.5%;
    height: auto;
  }
  img.traub_syspanel {
    width: 50.33%;
    height: auto;
  }
}

@media screen and (max-width: 450px) {
  .bedrijfsnaam {
    clear: both;
  }
  img {
    display: none;
  }
  a.tariefknop {
  margin-left: 0;
  }
}

@media screen and (max-width: 350px) {
  .hoofdmenu, .upperbox, .inhoud, .voetinfo {
    margin-right: 8px;
    margin-left: 8px;
  }
}

ul.apparatuurlijstkader_onder_plaatje {
  clear: both;
  list-style-type: none;
  margin-top: 0;
  margin-right: 20px;
  margin-bottom: 50px;
  margin-left: 0;
  border-width: 2px;
  border-style: solid;
  border-color: #f7e6d4;
  padding-top: 10px;
  padding-right: 0;
  padding-bottom: 10px;
  padding-left: 0;
  overflow: hidden;
}

ul.apparatuurlijstkader_naast_plaatje {
  clear: none;
  list-style-type: none;
  margin-top: 0;
  margin-right: 180px;
  margin-bottom: 50px;
  margin-left: 0;
  max-width: 500px;
  min-width: 240px;
  border-width: 2px;
  border-style: solid;
  border-color: #f7e6d4;
  padding-top: 10px;
  padding-right: 0;
  padding-bottom: 10px;
  padding-left: 0;
  overflow: hidden;
}

li.apparatuurlijst {
  display: inline-block;
  min-width: 120px;
  margin-top: 0;
  margin-right: 20px;
  margin-bottom: 0;
  margin-left: 20px;
}

li.apparatuurlijstbreed {
  display: inline-block;
  min-width: 200px;
  margin-top: 0;
  margin-right: 20px;
  margin-bottom: 0;
  margin-left: 20px;
}
