/* quicksand-300 - latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/quicksand-v9-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Quicksand Light'), local('Quicksand-Light'),
       url('../fonts/quicksand-v9-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quicksand-v9-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quicksand-v9-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quicksand-v9-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quicksand-v9-latin-300.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* quicksand-regular - latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/quicksand-v9-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Quicksand Regular'), local('Quicksand-Regular'),
       url('../fonts/quicksand-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quicksand-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quicksand-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quicksand-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quicksand-v9-latin-regular.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* quicksand-500 - latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/quicksand-v9-latin-500.eot'); /* IE9 Compat Modes */
  src: local('Quicksand Medium'), local('Quicksand-Medium'),
       url('../fonts/quicksand-v9-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quicksand-v9-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quicksand-v9-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quicksand-v9-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quicksand-v9-latin-500.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* quicksand-700 - latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/quicksand-v9-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Quicksand Bold'), local('Quicksand-Bold'),
       url('../fonts/quicksand-v9-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quicksand-v9-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quicksand-v9-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quicksand-v9-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quicksand-v9-latin-700.svg#Quicksand') format('svg'); /* Legacy iOS */
}
html, body{
  height: 100%;
  width:100%;
  font-size: 1.5vw;
  font-weight: 400;
  color: #000F38;
}
*{
  font-family: 'Quicksand', sans-serif;
  padding: 0;
  margin: 0;
  font-size: 1em;
  position: relative;
  box-sizing: border-box;
  outline: none;
}
main{height: 100%;width: 100%;}
h1,h2{
  font-weight: normal;
  font-size: 1.35em;
  padding-bottom: 1em;
  color: #3369D1;
  text-transform: lowercase;
}

h2 {
    font-size: 1em;
    padding-bottom: .5em;
}
small{
  font-size: .6em;
}
p{
  line-height: 1.75em;
  font-weight: normal;
  padding-bottom: 1em;
  font-size: 1em;
}
ul{
  padding-bottom: 1em;
}
li{
  padding: .5em 1.5em;
  background: #FF6E57;
  border-radius: .25em;
  display: inline-block;
  color: #fff;
  margin: 0 0 .5em 0;
}
a{
  text-decoration: none;
  color: #000F38;
}
section{padding: 11em 3em;}
section:after {
  content:"";
  display:block;
  clear:both;
}

/***********************************************************************************************/
.top {
  width:100%;
  height: 100%;
  background: linear-gradient(-250deg, #FFFFFF 0%, #E8EEF5 100%);
  padding: 3em;
  border-radius: 0 0 20px 20px;
}

.top .picture {
    display: block;
    height: calc(100% - 100px);
    width: 100%;
    background: url(../img/top.svg) no-repeat center center / contain;
}

.topbar {
    background-image: linear-gradient(-250deg, #FFFFFF 0%, #E8EEF5 100%);
    border-radius: 0 0 20px 20px;
    height: 100px;
    width: 100%;
    border-top: 2px solid #fff;
    position: absolute;
    top: auto;
    left: 0;
    bottom: 0;
    padding: 20px 3em;
    display: table;
}

.topbar.fixed {
    position: fixed;
    top: -2px;
    left: 0;
    z-index: 1;
}

h1.logo {
    font-size: 48px;
    font-weight: 100;
    padding: 0 10px 0 0;
    color: #3369D1;
    width: calc(100% - 48px);
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}

h1.logo span {
    color: #FD6A53;
}
nav {
  display: table-cell;
  vertical-align: middle;
  height: 100%;
  text-align: right;
}

nav.show div {
    max-height: 500px;
    opacity: 1;
}

.fixed nav div {
    top: 48px;
    bottom: auto;
    border-radius: 0 0 8px 8px;
    padding: 20px 0 0;
}

.fixed nav div > a:first-child {
    border-top-left-radius: 8px;
}

.fixed nav a[href="#whatwedo"]:after {
    content: "";
    position: absolute;
    top: -15px;
    right: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 15px 10px;
    border-color: transparent transparent #ff6e57 transparent;
}

.fixed nav div .lang:after {
    display: none;
}
nav div {
  display:block;
  position: absolute;
  right: 0;
  bottom: 63px;
  top: auto;
  min-width: 320px;
  width: 20vw;
  border-radius: 8px 8px 0 0;
  font-weight: 300;
  transition: all 500ms ease-out;
  overflow: hidden;
  max-height: 0;
  text-transform: lowercase;
  text-align: left;
  padding: 0 0 20px 0;
  opacity: 0;
}

nav span.lang:after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 10px 0 10px;
    border-color: #ff6e57 transparent transparent transparent;
}
nav:after {
    content: "";
    display: block;
    clear: both;
}
nav .navi {background: url(../img/menu.svg) no-repeat center top / cover;height: 48px;width: 48px;border: 0;display: block;float: right;}
.topbar nav div > a, span.lang {
    display: block;
    color: #fff;
    padding: 20px;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    background: rgba(255,87,63,.95);
}

span.lang {
    border: 0;
    display: table;
    width: 100%;
    border-bottom-left-radius: 8px;
}

span.lang span {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}

span.lang span:first-child {
    text-align: left;
    width: 60%;
}

span.lang a {
    display: inline-block;
    position: relative;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

span.lang a[title="english"] {
    background: url(../img/en.png) no-repeat center center /cover;
}

span.lang a[title="nederlands"] {
    background: url(../img/nl.png) no-repeat center center /cover;
}
span.lang a[title="deutsch"] {
    background: url(../img/de.png) no-repeat center center /cover;
}
/***********************************************************************************************/
section.whatwedo .content {
    padding: 3em 0 3em 25em;
    background: url(../img/chat_phone.svg) no-repeat left center / 24em;
    background-color: white;
}
/***********************************************************************************************/
section.service .content {
    padding: 5em 25em 5em 0;
    background: url(../img/messages.svg) no-repeat right center / 22em;
}
/***********************************************************************************************/
section.products .box  {
    width: calc(33% - 1.95em);
    display:inline-block;
    float:left;
}

section.products div.box:nth-of-type(2) {
    margin: 0 3em;
}
section.products img {
  width:100%;
  display:block;
}
/***********************************************************************************************/
section.service, section.contact {
    background: linear-gradient(-250deg, #F5F8FB 0%, #E3EFFC 100%);
    border-radius: 20px 20px 0 0;
}

section#service {
    border-radius: 0 0 20px 20px;
}

section#service {
    border-radius: 20px;
}
section.contact .content {
    padding: 0 0 0 20em;
    background: url(../img/chat.svg) no-repeat left center / 17em;
}
form {
  margin: auto;
  display: flex;
  flex-flow:wrap;
  width: 100%;
  max-width: 100%;
}

form p {
    font-size: .75em;
}
form input, form textarea, form .file{
  text-align: left;
  display: inline-block;
  font-size: 1em;
  font-weight: normal;
  appearance: none;
  border: none;
  border-radius: .25em;
  color: #000F38;
  margin: 0.5em;
  background: #FFF;
  padding: 0.4em 0.6em;
  width: calc(50% - 1em);
  text-transform: lowercase;
}
input[name='bin'], form .inputfile + label{
  width: calc(33.33333% - 1em);
  font-weight: 100;
}
input[name='bin']::-webkit-input-placeholder {
  font-size: .5em;
}
input[name='bin']::-moz-placeholder {
  font-size: .5em;
}
input[name='bin']:-ms-input-placeholder {
  font-size: .5em;
}
input[name='bin']:-moz-placeholder {
  font-size: .5em;
}
form textarea, input[name='subject']{
  width: calc(100% - 1em);
}
form .inputfile{
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	left: 0;
	z-index: -1;
}
form .inputfile + label{
	cursor: pointer;
	border: 1px solid #fff;
	text-align: center;
}

label#ifile:hover {
    /* background: #f5f8fb; */
    /* color: #fff; */
    border: 1px solid #000f38;
}
form div{
  text-align: justify;
  padding: 0  1em;
}
.contact ::placeholder {
    color: #666666;
    opacity: 1;
    font-weight:100;
}
.contact :-ms-input-placeholder {
   color: #666666;
   font-weight:100;
}
.contact ::-ms-input-placeholder {
   color: #666666;
   font-weight:100;
}
.err, label.err{
  background: #fcc;
}
.filesize.err, .filetype.err{
  background: #f00;
}
.errr{
  background: #fF0;
}
.success {
    text-align: center;
    display: none;
    padding: 30% 0;
}
.btn{
  text-transform: lowercase;
  cursor: pointer;
  display: inline-block;
  font-size: 1em;
  font-weight: normal;
  appearance: none;
  border: none;
  border-radius: .25em;
  color: #fff;
  margin: 0.5em;
  background: #FF6E57;
  padding: 0.4em 0.6em;
  width: calc(33.33333% - 1em);
}
.btn:hover{
  color: #ffffff;
  background: #ef6049;
}
/***********************************************************************************************/
footer {
  padding:1em;
  background: linear-gradient(-250deg, #F5F8FB 0%, #E3EFFC 100%);
  border-top:2px solid #fff;
  text-transform: lowercase;
  color: #3369D1;
  font-size: .75em;
  padding: 1.5em 3em;
}

footer nav {
    float: right;
}

footer nav a {
    display: inline-block;
    margin: 0 0 0 2em;
    cursor: pointer;
}
/***********************************************************************************************/
.overlay{
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  padding: 20px;
  text-align: center;
}
.overlay .box{
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  max-height: calc(100% - 120px);
  transform: translate(-50%, calc(-50% + 50px));
  float: none;
  text-align: left;
  background: #FFF;
  padding: 20px;
  margin: auto;
  width: 1024px;
  max-width: 100%;
  max-width: calc(100% - 30px);
  max-height: 80%;
  max-height: calc(100% - 130px);
  overflow: auto;
  border-radius: 10px;
  font-size: 18px;
}
.overlay .box .close{
  display: inline-block;
  position: absolute;
  top: 10px;
  left: auto;
  right: 10px;
  bottom: auto;
  background: #ff6e57;
  border-radius: 100%;
  color: #FFF;
  text-align: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  z-index: 1;
  padding: 2px;
}
/***********************************************************************************************/
/* - max 1024px -*/
/***********************************************************************************************/
@media screen and (max-width: 1024px) {
   h1.logo {
    font-size: 2.5em;
  }
  span.lang a {
      cursor: pointer;
  }
  nav div {/* bottom: 2.75em; *//* bottom: calc(2.75em + 15px); */}
  .fixed nav div {/* top: 2.75em; */}
  nav .navi {
      width: 2.75em;
      height: 2.75em;
  }

}
/***********************************************************************************************/
/* - max 768px -*/
/***********************************************************************************************/
@media screen and (max-width: 768px) {
  body{
    font-size: 4vw;
  }
  section{
    padding: 2em;
  }
  /****************************************************************************/
  .topbar{
    padding: 20px 2em;
  }
  h1.logo {
    font-size: 1.5em;
  }
  nav div {
    /* bottom: 1.5em; */
    /* bottom: calc(1.5em + 15px); */
  }
  .fixed nav div {/* top: 1.5em; */}
  nav .navi {
    width: 1.5em;
    height: 1.5em;
  }
  /****************************************************************************/
  section.whatwedo .content {
      padding: 16em 0 0 0;
      background: url(../img/chat_phone.svg) no-repeat center top / 16em;
  }
  /****************************************************************************/
  section.service .content {
    padding: 20em 0 0 0;
    background: url(../img/messages.svg) no-repeat center top  / 15em;
  }
  /****************************************************************************/
  section.products {
    padding: 4em 2em;
  }
  section.products .box {
    width: calc(33% - 1.3em);
  }
  section.products div.box:nth-of-type(2) {
      margin: 0 2em;
  }
  /****************************************************************************/
  section.contact .content {
    padding: 3em 0 0 0;
    background: none;
  }
  /****************************************************************************/
  .contact{
    padding-top: 0;
  }
  form {
    display: block;
    width: 100%;
    padding: 0;
  }
  form input, form textarea, form .inputfile + label{
    margin: 0.5em 0;
    width: 100% !important;
  }
  form textarea{
    width: 100%;
  }
  form div{
    width: 100%;
    text-align: center;
  }
  /****************************************************************************/
  footer{
    display: block;
    text-align: center;
  }

footer nav {
    float: none;
    display: block;
    text-align: center;
}

footer nav a {
    margin: 1em .5em;
}
}

/***********************************************************************************************/
/* - max 430px -*/
/***********************************************************************************************/
@media screen and (max-width: 430px) {
  body{
    font-size: 5vw;
  }
  h1.logo {
    font-size: 1.75em;
  }
  footer nav{
    display:block;
  }
  footer nav a{
    margin: 0.5em;
  }
}
/***********************************************************************************************/
/* - max 375px -*/
/***********************************************************************************************/
@media screen and (max-width: 430px) {
  nav div{
    right: -10px;
    min-width: 275px;
  }
}
/***********************************************************************************************/
/* - max height 500px -*/
/***********************************************************************************************/
@media screen and (max-height: 500px) and (orientation: landscape) {
  .top {
    background: linear-gradient(-250deg, #FFFFFF 0%, #E8EEF5 100%);
    padding: inherit;
    padding: 1em 0;
}
  nav div {
    width: 400px;
  }
  .topbar nav div > a, span.lang {
      display: block;
      float: left;
      width: 50%;
      border-right: 1px solid #fff;
  }

  span.lang {
      width: 100%;
  }
}
