/*---------------------------------------------/
Base styles
/---------------------------------------------*/

* {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

@font-face {
  font-family: 'Open Sans';
  src: url('OpenSans-Light-webfonteot.eot');
  src: url('OpenSans-Light-webfonteot.eot?#iefix') format('embedded-opentype'),
    url('OpenSans-Light-webfontwoff.woff') format('woff'),
    url('OpenSans-Light-webfontttf.ttf') format('truetype'),
    url('OpenSans-Light-webfontsvg.svg#open_sanslight') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
}
#inter {
  transition: background .4s;
}

/*---------------------------------------------/
Re-usable classes
/---------------------------------------------*/

.clearfix {
  clear: both;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.wrapper {
  max-width: 86.4em;
  margin: 0 auto;
  position: relative;
}
.navigation {
  max-width: 91.4em;
}
.nav-btn {
  display: none;
}
.hidden {
  display: none;
}

.strong {
  font-weight: bold;
}

.l {
  position: relative;
  float: left;
}

.r {
  position: relative;
  float: right;
}
#helpdesk:hover {
  color:#fff;
  background-color: #205081;
}

.m {
  text-align: center;
  position: absolute;
  right: 0;
  left: 0;
}

.col {
  font-size: 1.5em;
  margin-bottom: 2.5em;
}

.slide {
  width: calc(50% - 6px);
  height: 250px;
  margin: 3px;
  border: 1px solid #ccc;
}

.l slide {
  width: 50%;
}

/*---------------------------------------------/
Structure
/---------------------------------------------*/

/** Header **/

#header {
  border-bottom: 1px solid #bebebe;
  background-color: #fefefe;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  -webkit-transition: top .3s;
  -moz-transition: top .3s;
  -o-transition: top .3s;
  transition: top .3s;
}

#header.open {
  top: 232px;
}

/** Logo **/

.logo {
  display: block;
  padding: 1em 1em 1em 2.4em;
  position: relative;
  z-index: 5;
}

.logo img {
  width: 6.8em;
  height: 6.6em;
}

/** Menu **/

.nav > li {
  display: block;
}

.nav > li > a {
  color: #595959;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.8em;
  padding: 0 .5em;
  line-height: 1.5em;
  display: inline-block;
}
.nav > li > a:focus {
  color: #ffffff;
  background-color: #51a126;
  border-radius: 5px;
}

.servicedesk:hover {
  background-color: #205081;
}

/** Frontpage **/

#cover {
  background-size: cover;
  background-color: #51a126;
  background-image: url(achtergrond.webp);
  transition: background-image 2s;
  height: 100vh;
  vertical-align: middle;
  margin: 0;
  padding: calc((100vh - 89px) / 2) 0;
}

.slogan {
  color: #fefefe;
  font-weight: 600;
  text-shadow: 0px 3px 7px #000000;
  text-align: center;
}

.slogan p{
  font-size: 60px;
}

.square {
  width: 3.8em;
  height: 3.8em;
  position: relative;
  margin: 0 auto;
  bottom: -36vh;
  display: block;
}

.square img {
  width: 100%;
  margin: 0 auto;
}

@-webkit-keyframes bounce {
  from {
    margin-top: 0em;
  }
  to {
    margin-top: -.4em;
  }
}
@-webkit-keyframes shake {
  from {
    padding: 0 .5em;
  }
  to {
    padding: .1em;
  }
}

.bounce img, .bounce a {
  -webkit-animation-name: bounce;
  -webkit-animation-duration: .3s;
  -webkit-animation-iteration-count: 4;
  -webkit-animation-direction: alternate;
}
/**.bounce a {
-webkit-animation-name: shake;
-webkit-animation-duration: .3s;
-webkit-animation-iteration-count: 4;
-webkit-animation-direction: alternate;
}**/


/** Inter **/

.page {
  display: none;
  padding-top: 6.3em;
}

li li {
  font-size: 1em;
}

.right {
  margin: 50%;
}

.left {
  background-color: red;
}

.entry-title {
  text-transform: uppercase;
  font-size: 3.6em;
  font-weight: bold;
  border-top: 2px solid #51a126;
  border-bottom: 2px solid #51a126;
  color: #51a126;
  text-align: center;
  margin: 1.25em 0;
  line-height: 1.5;
}

p, li {
  line-height: 1.5em;
  text-align: justify;
}

#inter a {
  color: #50a125;
  text-decoration: none;
  font-weight: 600;

}

.referentieSlide > a{
  width: 100%;
  height: 100%;
}

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

/** Person **/

.person, 
.img-area {
  position: relative;
  display: block;
}

.person img,
.img-area img {
  display: block; 
  width: 100%;
  padding: 0 2.4em;
}

.img-area img {
  cursor: zoom-in;
  transition: 0.3s;
}


.referentieSlide .img-area img{
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
}

.backgroundBlack {
  background: #000;
}

.img-area img:hover{
  opacity: 0.7;
}

.slide > p {
  background-color: #51a026;
  color: #fff;
  text-align: center;
  padding: .5em;
  z-index: 5;
  position: relative;
  transition: display .14s;
}

.txt {
  font-size: 2.2em;
}

.modal-content p{
  font-size: 1.2em;
  font-weight: 600;
  color: #595959;
}

.closeModal{
  color: #51a026;
  font-size: 2em;
  font-weight: 600;
}

.closeModal:hover{
  color: #595959;
  cursor: pointer;
}

.person li {
  list-style-type: none;
  color: #fff;
  text-align: center;
}

.slide .strong {
  display: block;
}

.person ul,
.img-area p {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /*display: none;*/
  opacity: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  color: #fff;
  padding: .8em;
  background-color: rgba(80, 161, 36, .8);
  transition: opacity .14s;
}

.person:hover ul,
.img-area:hover p {
  /*display: block;*/
  opacity: 1;
}

/** slider **/

.slideWrap {
  position: relative;
  overflow: hidden;
}

.animate {
  -webkit-transition: margin-left .3s;
  -moz-transition: margin-left .3s;
  -o-transition: margin-left .3s;
  transition: margin-left .3s;
}

.slideFrame {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/*.slide {    
width: 10%;
width: 10%;
border: 1px solid;
height: 50vh;
}
*/
#focusbg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  transition: background .3s, z-index .3s;
  background-color: #aeaeaeae;
  display: none;
  z-index: 2;
}

#diensten article div div .slide {
  padding: 0;
}

.arrow-l, .arrow-r {
  cursor: pointer;
  margin-top: -3em;
  height: 0;
  width: 0;
  position: absolute;
  top: 50%;
  display: block;
  z-index: 10;
}

.arrow-l {
  border-right: 1.5em solid #51a126;
  border-top: 1.5em solid transparent;
  border-bottom: 1.5em solid transparent;
}

.arrow-l:hover {
  border-right: 1.5em solid #346718;
  border-top: 1.5em solid transparent;
  border-bottom: 1.5em solid transparent;
}

.arrow-r {
  border-left: 1.5em solid #51a126;
  border-top: 1.5em solid transparent;
  border-bottom: 1.5em solid transparent;
}
.arrow-r:hover {
  border-left: 1.5em solid #346718;
  border-top: 1.5em solid transparent;
  border-bottom: 1.5em solid transparent;
}
.arrow-l.disable{
  border-right-color: #a4e283;
  cursor: default;
}

.arrow-r.disable {
  border-left-color: #a4e283;
  cursor: default;
}

/** Footer **/

#footer {
  display: none;
  border-top: 1px solid #bebebe;
  padding: 2em 0;
  background-color: #fefefe;
}

.copy {
  line-height: 2em;
  font-size: 1.5em;
}

.redirects {
  line-height: 2em; 
  color: #50a125;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: 600;
}

.redirects:hover{
  text-decoration: underline;
}

.img-links {
  height: 2em;
  font-size: 1.5em;
  left: 10em;
  right: 10em;
}

.img-links a {
  height: 3em;
  display: inline-block;
}

/** Contact form **/
#diensten, 
#referenties,
#contact {
  content-visibility: auto;
}
form {
  position: relative;
  width: 60%;
}

.entry {
  position: relative;
  margin: 1.25em 0;
}

.entry > label{
  color: #b6b6b6;
  position: absolute;
  top: 1px;
  left: 1px;
  cursor: text;
  padding: .5em;
  line-height: 1.5em;
}

.entry div label {
  line-height: 1.5em;
  position: relative;
  padding-left: 1.5em;
}

#id0201, #id0202, textarea {
  font-family: 'Open Sans', sans-serif;
  font-size: inherit;
  width: 100%;
  padding: .5em;
  background: #fefefe;
  color: #878787;
  resize: none;
  line-height: 1.5em;
}

input[type="checkbox"] {
  width: auto;
  position: absolute;
  left: 0;
  top: .1em;
}

input[type="submit"], input[type="reset"] {
  float: left;
  width: auto;
  padding: .5em 1em;
  background-color: #50a125;
  color: #f6f6f6;
  margin-left: 1em;
  cursor: pointer;
}

input[type="submit"]:hover{
  color: black;
}

input[type="reset"]:hover{
  color: black;
}

.form-footer {
  margin: 10px auto 0 auto;
  width: 103%;
}
.form-footer input {
  background-color: white;
  border: 2px solid #51a126;
  color: #595959;
  border-radius: 5px;
  margin: 0 8px;
  transition: color .14s, background-color .14s;
}
.form-footer input:hover {
  background-color: #51a126;
  color: #fff;
}

#captcha div {
  margin: 0 auto;
}

/** Adress **/

.kvk, .ananinfo {
  padding-top: 2.5em;
}

/** Google Maps **/

.Flexible-container {
  position: relative;
  clear: both;
}

.Flexible-container iframe,   
.Flexible-container object,  
.Flexible-container embed {
  position: absolute;
  width: 100%;
  height: 20em;
  margin-top: 1em;
}

.map-canvas {
  width: 100%;
  height: 20em;
  float: left;
  background-color: grey;
}

#drive img {
  cursor: pointer; 
}
#drive a.mail {
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #51A126;
  display: inline-block;
  line-height: 15px;
}
#drive a.mail:hover {
  color: #FFF;
  background-color: #51A126;
  padding: 3px;
  margin-left: -3px;
}

.ui-dialog {
  width: 80vw !important;
  height: 90vh !important;
  background-color: #FFF;
  z-index: 999;
}
#dialog {
  width: 100% !important;
  height: 100% !important;
}
#dialog img {
  width: 100%;
}

/*** CARDS ***/
.cards {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 50% 50%;
  margin: 0 auto;
}

.card {
  width: 70%;
  margin: 5% auto;
  clear: both;
}

.card h2 {
  width: 75%;
  margin: 3% auto 0 auto;
}

.card p {
  display: flex;
  justify-content: end;
  text-align: justify;
  width: 75%;
  margin: 3% auto;
  color: #595959;
  font-size: 1.3em;
}

.card a {
  border-bottom: 2px solid #51a126;
}

.border{
  border: 2px solid #51a026;
  background-color: white;
  border-radius: 5px;
  margin: 2% auto;
}

p#uitleg{
  display:none;
  font-size: 12px;
}

#modal{
  position: fixed;
  display: none;
  top: 15vh;
  left: 25vw;
  width: 50vw;
  z-index: 10;
  padding: 1rem;
  background-color: #FEFEFEFE;
  border-radius: 5px;
  box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
  min-height: 50vh;
}

#modal img:not(.close){
  width: 100%;
  margin: 0;
  min-height: 532px;
}

#modal img.close{
  position: absolute;
  width: 30px;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  right: -15px;
  top:-15px;
}

div#modal p{
  color: #333;
  font-size: 1.4em;
  font-weight: 600;
}



/*** MEDIA QUERIES ***/

/* 865px and higher */

@media screen and (min-width: 24.0625em) {

  /* Header */

  .logo {
    padding: 1em 1em 1em 2.4em; 
  }

  .nav {
    padding: 0 4.8em 0 11.3em;
  }

  /* Content */

  .wrapper,
  .entry-header {
    padding: 0 2.4em;
  }

  .col {
    padding: 0 1.5em;
  }

  /* Cards */


  #modal1 img:first-child, #modal2 img:first-child, #modal3 img:first-child, #modal4 img:first-child {
    float: right;
    position: relative;
    width: 5%;
    padding: 5px;
    cursor: pointer;
  }
  /*.card a img {
  width: 97%;
  margin: 1.5% auto;
}*/

  /* Slider */

  .slideWrap {
    padding: 0 3.9em;
  }

  .arrow-l {
    left: 2.4em;
  }

  .arrow-r {
    right: 2.4em;
  }

  /* Footer */

  .redirects {
    padding-left: 1.6em;
  }

  .copy {
    padding-right: 1.6em;
  }

}

/* 911px and lower */

@media screen and (max-width: 768px) {

  .nav-btn {
    display: block;
    float: right;
    width: 3.2em;
    height: 3.2em;
    margin-top: 2.9em;
    margin-right: 1.2em;
    cursor: pointer;
  }
}


/* 864px and lower */

@media screen and (max-width: 54em) and (min-width: 22.5625em) {

  /* Header */

  .logo {
    padding: 1em 1em 1em 1.2em;
  }

  /* Content */

  .wrapper,
  .entry-header {
    padding: 0 1.2em;
  }

  .col {
    padding: 0 .75em;
  }

  /* Slider */

  .slideWrap {
    padding: 0 2.7em;
  }

  .slide {
    padding: 0 1.2em;
  }

  .arrow-l {
    left: 1.2em;
  }

  .arrow-r {
    right: 1.2em;
  }

  /* Cards */ 
  .card p {
    font-size: 1.5em;
  }

  /* Footer */

  .redirects {
    padding-left: .8em;
  }

  .copy {
    padding-right: .8em;
  }

}

/* 781px and higher */
@media screen and (min-width: 48.8125em) {


  .nav > li {
    margin-left: 1.8em;
  }

  .slogan {
    font-size: 59px;
  }

}

/* 780px - 656px */

@media screen and (max-width: 48.75em) and (min-width: 41em) {

  .form-footer input {
    background-color: white;
    border: 2px solid #51a126;
    color: #595959;
    border-radius: 5px;
    margin: 0 8px;
    transition: color .14s, background-color .14s;
    width: 62px;
    font-size: 9px;
  }

  .nav > li {
    margin-left: 2.4em;
  }

  .slogan {
    font-size: 4em;
  }

  .slide > p {
    font-size: 1.3em;
  }

}

/* 656px and higher */

@media screen and (min-width: 41em) {


  .one-third {
    width: 33.3333%;
  }

  .nav {
    margin-top: 2.8em;
    position: absolute;
    z-index: 1;
    right: 0;
  }

  .nav > li > a {
    border-bottom: 2px solid #51a126;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: color .14s, background-color .14s, border-radius .14s;
  }

  .nav > li > .logo {
    border-bottom: 0;
  }

  .nav > li > a:hover {
    color: #fff;
    background-color: #51a126;
    border-radius: 5px;
  }

  .nav > li > a.logo:hover {
    background: none;
  }
  .nav > li > a.servicedesk {
    border-color: #3572b0;
  }
  .nav > li > a.servicedesk:hover, .nav > li > a.servicedesk:focus {
    background-color: #3572b0;
  }

  .slideWrapper {
    width: 333.3333%;
  }

}

/* 655px and lower */

@media screen and (max-width: 40.9375em) {

  /* Plaatjes/Cards */

  #modal1 img:first-child, #modal2 img:first-child, #modal3 img:first-child, #modal4 img:first-child {
    float: right;
    position: relative;
    width: 10%;
    padding: 5px;
    cursor: pointer;
  }

  #modal1 img:nth-child(2), #modal2 img:nth-child(2), #modal3 img:nth-child(2), #modal4 img:nth-child(2) {
    position: relative;
    width: 100%;
    left: 0;
    height: 30%;
    right: 0;
    margin: 0 auto;
  }

  /* Buttons */

  .form-footer input {
    background-color: white;
    border: 2px solid #51a126;
    color: #595959;
    border-radius: 5px;
    margin: 0 8px;
    transition: color .14s, background-color .14s;
    width: 75px;
    font-size: 11px;
  }

  .cards {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 !important;
    top: -278px;
    background-color: #fff;
    border-bottom: 2px solid #51a126;
    padding: 0;
  }

  .nav > li {
    width: 100%;
    border-top: 1px solid #ccc;
    text-align: center;
    margin: 0;
  }

  .nav > li > a {
    line-height: 2.5;
  }

  .nav > li > a:hover {
    color: #51a126;
  }


  .card p {
    font-size: 0.85em;
  }

  #uitleg {
    font-size: 1.14em;
  }

}

@media screen and (max-width: 33.375em) {

  /* Buttons */

  .form-footer input {
    background-color: white;
    border: 2px solid #51a126;
    color: #595959;
    border-radius: 5px;
    margin: 0 10px;
    margin-right: 40px;
    transition: color .14s, background-color .14s;
    width: 57px;
    font-size: 10px;
  }

  /* Plaatjes */

  #modal1 img:first-child, #modal2 img:first-child, #modal3 img:first-child, #modal4 img:first-child {
    float: right;
    position: relative;
    width: 10%;
    padding: 5px;
    cursor: pointer;
  }

  #modal1 img:nth-child(2), #modal2 img:nth-child(2), #modal3 img:nth-child(2), #modal4 img:nth-child(2) {
    position: relative;
    width: 100%;
    left: 0;
    height: 30%;
    right: 0;
    margin: 0 auto;
  }

  .border {
    margin: 18%;
    font-size: 15px;
  }

  .slide > p {
    font-size: 1.5em;
  }

  .col.r,
  .col.l {
    margin-left: auto;
    margin-right: auto;
    float: none;
  }

  .col p {
    text-align: center;
  }

  #footer .l,
  #footer .m,
  #footer .r {
    padding: 0;
    width: 100%;
    text-align: center;
    float: none;
    position: relative;
    left: 0;
    right: 0;
    margin-bottom: 1em;
    display: inline-block;
  }

  /* Captcha */

  .rc-anchor-normal {
    height: 74px;
    width: 200px;
  }

}

/* 655px - 471px */

@media screen and (max-width: 40.9375em) and (min-width: 29.4375em) {

  /* Plaatjes */

  #modal1 img:first-child, #modal2 img:first-child, #modal3 img:first-child, #modal4 img:first-child {
    float: right;
    position: relative;
    width: 10%;
    padding: 5px;
    cursor: pointer;
  }

  #modal1 img:nth-child(2), #modal2 img:nth-child(2), #modal3 img:nth-child(2), #modal4 img:nth-child(2) {
    position: relative;
    width: 100%;
    left: 0;
    height: 30%;
    right: 0;
    margin: 0 auto;
  }

  .cards {
    width: 100%;
    height: 100%;
    grid-template-columns: 50% 50%;
    margin: 0 auto;
  }

  .card p {
    font-size: 1.5em;
  }

  .slideWrapper {
    width: 500%;
  }

  .slide > p {
    font-size: 1.6em;
  }

  .slogan {
    font-size: 3em;
  }

}

/* 470px and lower */

@media screen and (max-width: 29.375em) {

  /* Plaatjes */

  #modal1 img:first-child, #modal2 img:first-child, #modal3 img:first-child, #modal4 img:first-child {
    float: right;
    position: relative;
    width: 15%;
    padding: 5px;
    cursor: pointer;
  }

  #modal1 img:nth-child(2), #modal2 img:nth-child(2), #modal3 img:nth-child(2), #modal4 img:nth-child(2) {
    position: relative;
    width: 100%;
    left: 0;
    height: 30%;
    right: 0;
    margin: 0 auto;
  } 

  .form-footer input {
    background-color: white;
    border: 2px solid #51a126;
    color: #595959;
    border-radius: 5px;
    margin: 0 8px;
    transition: color .14s, background-color .14s;
    width: 66px;
    font-size: 10px;
  }

  .slide > p {
    font-size: 1.6em;
  }

  .slogan {
    font-size: 2.3em;
  }

}

/* 360px and lower */

@media screen and (max-width: 22.5em) {

  /* Slideshow */



  /* Plaatjes/Cards */

  #modal1 img:first-child, #modal2 img:first-child, #modal3 img:first-child, #modal4 img:first-child {
    float: right;
    position: relative;
    width: 15%;
    padding: 5px;
    cursor: pointer;
  }

  #modal1 img:nth-child(2), #modal2 img:nth-child(2), #modal3 img:nth-child(2), #modal4 img:nth-child(2) {
    position: relative;
    width: 100%;
    left: 0;
    height: 30%;
    right: 0;
    margin: 0 auto;
  } 

  /* Header */

  .logo {
    padding: 1em 1em 1em .6em;
  }

  .nav-btn {
    margin-right: .6em;
  }

  /* Content */

  .wrapper,
  .entry-header {
    padding: 0 .6em;
  }

  .col {
    padding: 0 .375em;
  }

  /* Slider */

  .slide {
    padding: 0 1.2em;
  }

  .arrow-l {
    left: .9em;
  }

  .arrow-r {
    right: .9em;
  }

  /* Footer */

  .redirects {
    padding-left: .4em;
  }

  .copy {
    padding-right: .4em;
  }

  .slogan {
    font-size: 1.8em;
  }

}