/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #333;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  font-family: arial, helvetica, sans-serif;  
}

@font-face {
  font-family: 'source_sans_prolight';
  src: url('fonts/sourcesanspro-light-webfont.eot');
  src: url('fonts/sourcesanspro-light-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/sourcesanspro-light-webfont.woff') format('woff'),
       url('fonts/sourcesanspro-light-webfont.ttf') format('truetype'); 
  font-weight: normal;
  font-style: normal;
}
@font-face {
	font-family: 'MontserratRegular';
  src: url('fonts/MontserratRegular.eot');
  src: url('fonts/MontserratRegular.eot?#iefix') format('embedded-opentype'),
       url('fonts/MontserratRegular.woff') format('woff'),
       url('fonts/MontserratRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

p, pre {
  margin: 0 0 30px;
}
[name=top]{
  font-size: 0;
}
#footer .linkblock li,
a, a:visited {
  color: #8ED300;
}
#footer .linkblock li:hover,
a:hover, a:active, a:visited:hover {
  color: #333;
}
#contact a:hover, #contact a:active {
  color: #fff;
}
.contenttext a { 
  color: #9c0; 
}
.contentimg {
  margin: 0 auto;
  width: 683px;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 15px;
}
h3, h4, h5 {
  font-size: 14px;
  margin-bottom: 0;
}
#slider .slide {
  position: absolute;
  z-index: 14;
  top: 0;
  left: 0;
}
#slider h1 span, #slider h3 span {
  font-family: 'MontserratRegular';
  font-weight: bold;
  font-size: 74px;
  line-height: 71px;
}
h1, h2, #slider h1, #slider h3 {
  font-family: 'source_sans_prolight';
  font-weight: normal;
  font-size: 40px;
  line-height: 30px;
  letter-spacing: 3px;
}
h1, h2 {
  margin-bottom: 30px;
}

#main {
  width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border: 1px solid #ccc;
}

.bold {
  font-weight: bold;
}
.introtext {
  font-weight: bold;
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 40px;
}
.mask-wrap {
  overflow: hidden;
  height: auto;
  width: auto;
}
.nowrap {
  white-space: nowrap;
}
.fullwidth {
  width: 100%;
}
.innercontent {
  position: relative;
  z-index: 10;
  margin: 0 auto;
}
.innercontent, 
.subtext span {
  font-size: 14px;
  line-height: 28px;
}
.subtext {
  margin-bottom: 0;
  font-size: 75%;
}
.contenttext {
  padding-top: 50px;
  padding-bottom: 45px;
}

.fleximg {
  position: relative;
  z-index: 20;
}
.img-quote .quoteblock {
  min-width: 276px;
}
.fleximg .img-quote {
  background-color: #fff;
  position: absolute;
  z-index: 30;
  bottom: -26px;
  left: 50%;
  padding: 20px 24px 0 28px;
  margin-left: -162px;
}
.fleximg .img-quote .quoteblock { 
  margin-top: 0;
  margin-bottom: 0;
}
.flexbr {  
}

.menubuttons a, 
.quotebutton, 
.slidebutton {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#header_wrapper {
  position: absolute;
  z-index: 600;
  top: 0;
  left: 0;
}
#slider {
  background-color: #343434;
}
#slider, #slider .slide, #slider .slideimage {
  height: 450px;
}
#slider .innercontent {
  width: 100%;
}
#slider .slideimage:before, #slider .slideimage {
  overflow: hidden;
  position: absolute;
  z-index: 15;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#slider .slideimage img {
  min-width: 1200px;
  width: 100%;
  min-height: 450px;
  height: auto !important;
  height: 450px;
}
#logo {
  position: absolute;
  left: 114px;
  top: 230px;
  z-index: 610;
}

#slider #slidedots .slidedot {
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
#slider #slidedots #dot1 {
  opacity: 1;
  filter: alpha(opacity=100);
}
#slidedots, #slider .slidecontent {
  position: absolute;
  z-index: 20;
  left: 50%;
  margin-left: -600px;
  width: 730px;
}
#slidedots {
  padding: 0 0 0 304px;
  top: 418px;
  z-index: 100;
}
#slidedots .slidedot {
  width: 10px;
  height: 10px;
  background-image: url("../img/slidedot.png");
  background-repeat: no-repeat;
  margin-right: 10px;
  float: left;
}
.slide {
  width: 100%;
}
#slider .slidecontent {
  height: 155px;
  top: 230px;
  padding: 0 0 0 302px;
}
#slider h1, #slider h1 span,
#slider h3, #slider h3 span {
  margin: 0;
}
#slider h1 span, #slider h3 span {
  display: block;
  letter-spacing: -1px;
  margin-left: -3px;
}
#slider h1, #slider h3 {
  font-size: 38px;
  letter-spacing: 2px;
  color: #fff;
  margin-top: -8px;
}
.morephoto .slidebutton span, 
.quotephoto .slidebutton span, 
.slidebutton {
  display: inline-block;
  color: #333;
  text-decoration: none;
  padding: 10px 14px 9px;
  text-align: center;
  min-width: 180px;
  width: auto;
  cursor: pointer;  
  font-size: 16px;
  line-height: 22px;
  background-color: #cf0; 
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
  /* behavior: url(/css/ie-css3.htc); */
}
.morephoto .slidebutton, .quotephoto .slidebutton, 
.morephoto .slidebutton span, .quotephoto .slidebutton span {
  box-shadow: none;
  /* behavior: url(/css/ie-css3.htc); */
}
#slider h3 span .slidebutton:hover, #slider h3 span .slidebutton:active, 
.morephoto .slidebutton:hover span, .morephoto .slidebutton:active span, 
.quotephoto .slidebutton:hover span, .quotephoto .slidebutton:active span, 
.slidebutton:hover, 
a.slidebutton:hover,
a.slidebutton:active {
  color: #fff;
  background-color: #94ca00; 
}
/* position absolute method: */
#slider .slidebutton {
  position: absolute;
  left: 904px;
  bottom: 0;
  z-index: 25;
  white-space: nowrap;
}
/* nested inside h3 span - position relative method: (current) */
#slider span .slidebutton {
  position: relative;
  left: 10px;
  top: -15px;
  color: #333;  
}
#slider h3 span .slidebutton {
  font-family: arial, helvetica, sans-serif;
  font-weight: normal;
  letter-spacing: 0;
}
/* custom slidebutton positions */
/* slide 1 = img slide5 */ #slider #slide1 .slidebutton {}
/* slide 2 = img slide4 */ #slider #slide2 .slidebutton {}
/* slide 3 = img slide2 */ #slider #slide3 .slidebutton {}
/* slide 4 = img slide3 */ #slider #slide4 .slidebutton {}
/* slide 5 = img slide1 */ #slider #slide5 .slidebutton {}

#menu {
  height: 75px;
  border-bottom: solid 1px #CCC;
  background-color: #FFF;
  top: 0;
  right: 0;
  left: 0;
  z-index: 500;
  font-size: 16px;
}
#menu a {
  text-decoration: none;
  color: #000;
}
#menu a:hover, #menu a:active  {
  color: #94CA00;
}
#menu a:hover, #menu a:active, #menu a:focus {
  outline: none;
}
#menu a:first-child span {
  font-size: 18px;
}
#menu #scrolltop-btn, ul#menubuttons {
  font-family: 'MontserratRegular';
  line-height: 18px;
  float: left;
  margin: 0 0 0 298px;
  padding: 28px 0 0 0;
  list-style-position: inside;
}
#menu #scrolltop-btn, #menu #scrolltop-btn span:first-child, ul#menubuttons {
 font-size: 15px; 
}
#menu #scrolltop-btn {
  margin: 0 0 0 400px;
}
#menubuttons li {
  list-style-type: none;
  padding-left: 36px;
  float: left;
}
#menubuttons li:first-child {
  padding-left: 0;
}
#menu #scrolltop-btn span {
  display: block;
  float: left;
}
#menu #scrolltop-btn .btn-icon {
  font-size: 22px; /* minimum 22px! because of IE8 and lower */
  line-height: 22px;
  margin: -1px 0 0 12px; 
  padding: 0; 
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}
#menu #scrolltotop:hover, #menu #scrolltotop:active {
  cursor: pointer;
  color: #94CA00;
}
.lt-ie11 #menu #scrolltop-btn .btn-icon {
  margin: 2px 0 0 4px;  
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);  
}

.contenttext {
  width: 485px;
}

/* clustered relative */
.mask-wrap, 
#footer, #who, #what {
  position: relative;
  z-index: 1;
} 
#what {
  box-shadow: 0 4px 4px 0 #d7d7d7;
  /* behavior: url(/css/ie-css3.htc); */
}
#what h1, #what h2 {
  margin: 30px 0 36px;
}
#what .quoteblock,
#what #cards {
  position: absolute;
  z-index: 15;
  top: 70px;
  right: 36px;
}
#what .quoteblock {
  width: 262px;
  padding-top: 0;
  right: 154px;
  top: 476px;
}
#what .mask-wrap {
  overflow: visible;
  position: static;
}
#what .contenttext {
  padding-bottom: 40px;
  width: 480px;
}
#what.extra-padding .contenttext {
  padding-bottom: 215px;
}

#how {
  background-color: #e8e8e8;
}
#how .contenttext {
  padding-top: 0;
  padding-bottom: 0;
  position: absolute;
  z-index: 2;
  left: auto;
  top: 67px;
}
#how h2 {
  margin-bottom: 24px;
}
#how .contentblock {
  padding-top: 98px;
  padding-bottom: 66px;
  position: relative;
  z-index: 10;
}
#how .mask-wrap {
  margin-top: -55px;
  margin-left: 5px;
  width: 949px;
  height: 448px;
  position: relative;
}
.lt-ie11 #how #animation {
  display: none;
}
.lt-ie11 #how img.for-lt-ie11 {
  display: block !important;
}

#who {
  box-shadow: 0 -4px 4px 0px #D7D7D7;
  /* behavior: url(/css/ie-css3.htc); */
}
#who .fleximg {
  float: left;
  margin: 148px 30px 30px 0;
  position: relative;
}
#who .fleximg img {
  display: block;
}
.lt-ie11 #who .fleximg {
  width: 490px;
  height: 490px;
}
#who h2 {
  margin-bottom: 36px;
}
#who .contenttext {
  float: right;
  width: 424px;
  padding-top: 74px;
  padding-right: 130px;
  padding-bottom: 24px;
}
#who.extra-padding .contenttext { 
  padding-bottom: 128px
}
#who .contentblock {
  padding-left: 114px;
}

#morefooter, 
#testimonials {
  background-color: #343434;
}
#morefooter h2, 
#testimonials h2 {
  color: #fff;
  margin-bottom: 52px;
  margin-left: 22px;
}
#morefooter h2 {
  margin-bottom: 24px;
}
#morefooter .innercontent, 
#testimonials .innercontent {
  padding-top: 44px;
  padding-bottom: 44px;
  padding-left: 114px;
  width: 1080px;
}
#morefooter .innercontent { 
  padding-top: 76px;
  padding-bottom: 28px;
}
#testimonials #quotes {
  padding-bottom: 56px;
}
#testimonials .quotebutton {
  height: 130px;
  width: 100px;
  padding-top: 78px;
  float: left;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#testimonials #quoteleft {}

#testimonials .quote {
  width: 760px;
  height: 198px;
  background: url('../img/quote-big.png') no-repeat 64px 38px #fff;
  float: left;
}
#testimonials #quotes,
#testimonials .quote {
  position: relative;
  z-index: 10;
}
#morefooter #morephoto1 .overlayblock, #testimonials #quotephoto1 .whiteblock, 
#morefooter .morecover, #testimonials .quotecover,
#morefooter .quotesource, #testimonials .quotesource,
#testimonials .quotetext, 
#testimonials .quotecontent,
#testimonials #quotes #quotepointer {
  position: absolute;
  z-index: 15;
}
#testimonials .quotesource,
#testimonials .quotetext {
  z-index: 20;
} 
#testimonials #quotes #quotepointer {
  left: 200px; /* !Keep this one synchronized with the one in js */
  top: 198px;
}
#testimonials .quotecontent {
  display: none;
  top: 0;
  left: 0;
  width: 760px;
  height: 218px;
}
#testimonials #quote1 {
  display: block;
}
#testimonials .quotetext {
  top: 55px;
  left: 100px;
  width: 510px;
}
/* shared: testimonials and quote inside contenttext */
.quotetext {
  font-size: 16.4px;
  font-family: Georgia, serif;
  font-style: italic;
  line-height: 30px;

}
#testimonials .quotesource {
  bottom: 42px;
  right: 44px;
  font-size: 16px;
}
#testimonials #quoteright {
  text-align: right;
}
#morefooter .morecover, 
#testimonials .quotecover {
  display: none;
  top: 0;
  left: 0;
  width: 298px;
  height: 200px;
  z-index: 20;
  text-align: center;
}
#morefooter .morecover {
  display: block;
} 
#morefooter .morecover h3, 
#testimonials .quotecover h3 {
  margin-top: 46px;
  margin-bottom: 30px;
  font-size: 16px;
}
#morefooter .overlayblock, 
#testimonials .whiteblock {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 298px;
  height: 200px;
  background-color: #fff;
}
#morefooter #morephoto1 .morecover,
#testimonials #quotephoto1 .quotecover {
  display: block;
}
#morefooter #morephoto1 .overlayblock,
#testimonials #quotephoto1 .whiteblock {
  display: block;
  opacity: 0.9;
  filter: alpha(opacity=90);
}
#morefooter .morephoto, 
#testimonials .quotephoto {
  position: relative;
  z-index: 10;
  float: left;
  padding-right: 31px;
}
#morefooter .slidebutton, #testimonials .slidebutton,
#testimonials .slidebutton:hover, #testimonials .slidebutton:active {
  background: transparent;
  color: #000;
}
#morefooter .slidebutton, #testimonials .slidebutton {
  position: absolute; 
  z-index: 25;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  width: auto;
  padding: 108px 0 0 0;
}
.morephoto.current .slidebutton:hover span, .morephoto .slidebutton:active span, 
.morephoto.current .slidebutton span {
  background-color: #333;
  color: #cf0;
}
.morephoto.current img {
  opacity: 0.50;
  filter: alpha(opacity=50);
}

.morephoto.current .slidebutton:hover span, 
.morephoto.current .slidebutton:active span, 
.morephoto.current .slidebutton:hover, .morephoto.current .slidebutton:active {
  cursor: default;
}
#morefooter .slidebutton {
  padding: 75px 0 0;
}
#haai .innercontent {
  padding-top: 52px;
  padding-bottom: 0;
  padding-left: 114px;
  width: 1080px;
}
#haai .innercontent .contentblock {
  padding-left: 0;
}
#haai {
  padding-bottom: 66px;
}
#haai #service {
  float: left;
  width: 545px;
  padding: 0 60px 0 22px;
  color: #343434;
  background-color: #fff;  
}
#haai #service h2 {
  color: #000;
  margin-bottom: 36px;
}
#haai #service p.overlap {
  margin-right: 170px;
}
#haai #rightblocks {
  float: left;
}
#haai #contact {
  background-color: #333;
  color: #fff;
  width: 470px;
  padding: 34px 20px 1px;
  position: relative;
  z-index: 20;

}
#haai #contact:before {
  content: '';
  display: block;
  background: url('../img/servicepointer.png') no-repeat 0 0 transparent;
  width: 39px;
  height: 39px;
  position: absolute;
  z-index: 30;
  left: 138px;
  bottom: -39px;
}
#homepage #haai #rightblocks {
  position: absolute;
  z-index: 35;
  bottom: -52px;
  left: 562px;
}
#haai #service{
  padding-top: 28px;
}
#haai #contact h2 {
  margin-bottom: 16px;
}
/* shared: haaitel on index and subpage */
#haai, #haai #haaitel, #haaibalk{
  background-color: #ccff00;
}
#haaitel {
  margin: 0 auto;
  padding: 24px 0 18px;
  text-align: center;
  width: 180px;
}
#homepage #haaitel {
  position: relative;
  z-index: inherit;
  left: -12px;
}
#haaitel img {
  display: block;
  margin: 0 auto 20px;
}
#haaitel p {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}
#haaitel a {
  text-decoration: none;
  color: #333;
}

#footer {
  margin-top: 40px;
  padding-bottom: 150px;
}
#footer .linkblock {
  float: left;
  width: 299px;
  height: 144px;
  border-left: 1px solid #d0d0d0;
  padding-left: 32px;
  line-height: 14px;
}
#footer .linkblock:first-child {
  padding-left: 0;
  border: none;
}
#footer .linkblock h3 {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: bold;
}
#footer .linkblock ul {
  padding: 0;
  margin: 0;
}
#footer .linkblock li {
  list-style-type: none;
  margin-bottom: 15px;
}
/*
#footer .linkblock a[href^="mailto"] {
  text-decoration: none;
}
#footer .linkblock a[href^="mailto"]:hover,
#footer .linkblock a[href^="mailto"]:active {
  text-decoration: underline;
}
*/
#footer .linkblock + .linkblock + .linkblock li {
  color: #000;
  line-height: 22px;
}
#footer #haaivisje_wrapper {
  position: absolute;
  right: 0;
  top: -5px;
  overflow: hidden;
  width: 120px;
}
#homepage #footer .contentblock,
#subpage  #footer .contentblock {
  padding-left: 136px;
}

/* shared: space left */
.contentblock {
  padding-left: 135px;
}
/* subpage */
.imageslider {
  background-color: #000;
  color: #FFF;
  padding-top: 30px;
  padding-bottom: 15px;
  overflow: hidden;
}
.imageslider .slidesandnav {
  position: relative;
  z-index: 20;
}
.imageslider .slideleft {
  padding-left: 115px; 
}
.imageslider .slides {
  margin-bottom: 22px;
}
.imageslider .slidecounter {
  clear: both;
  width: 98%;
  text-align: center;
}
.imageslider .slides {
  position: relative;
  z-index: 25;
  width: 683px;
  height: 384px;
}
.imageslider .slides img {
  position: absolute;
  z-index: 25px;
  top: 0;
  left: 0;
}
.imageslider .slides img:hover {
  cursor: pointer;
  opacity: 0.75 !important;
  filter: alpha(opacity=75) !important;
}
.imageslider .slides img.active:hover {
  cursor: default;
  opacity: inherit !important;
  filter: alpha(opacity=100) !important;
}
.imageslider .slides {
  position: relative;
  z-index: 25;
  width: 683px;
  height: 384px;
}
.imageslider .slides.alt-01 {
  height: 508px;
}
.imageslider .slides img {
  position: absolute;
  z-index: 25px;
  top: 0;
  left: 0;
}
.imageslider .quotebutton {
  position: absolute;
  z-index: 35;
  padding: 29px;  
  /*top: 150px;*/
  top: 35%;
  left: -154px;
}
.imageslider .quotebutton.slideright {
  left: auto;
  right: -142px;
}
.imageslider .quotebutton img {
  display: block;
}
.imageslider .quotebutton:hover,
.imageslider .quotebutton:active {
  cursor: pointer;
}
.imageslider .quotebutton.disabled:hover,
.imageslider .quotebutton.disabled:active {
  cursor: default; 
}

.imgbutton {
  width: 42px;
  height: 42px;
}
.imgbutton:hover {
  cursor: pointer;
}

.imgleft, .imgright {
  background: url("../img/quoteleft_rollover.png") no-repeat -42px -42px transparent;   
}
.imgright {
  background-image: url("../img/quoteright_rollover.png");
}
.imgleft:hover img, .imgright:hover img { 
  display: none; 
}
.imgleft:hover, .imgright:hover { 
  background-position: 0 0;
}

#subpage ul#menubuttons {
  float: left;
  padding-left: 0;
  padding-right: 0;
  margin-left: 285px;
}
#subpage .contenttext {
  padding-left: 306px;
  width: 560px;
}
#subpage .imageslider .slidesandnav {
  padding-left: 0;
  margin: 0 20%;
}
#subpage #intro .contenttext {
  padding-top: 22px;
}
#subpage .contentblock {
  padding-left: 0;
}

.quoteblock {
  border: 1px solid #cfcfcf;
  border-left: 0;
  border-right: 0;
  margin: 50px 0 42px 0;
  padding: 20px 0 30px;
}
.quoteblock .quotetext {
  background: url("../img/quote-small.png") no-repeat 0 10px transparent;
  padding: 10px 4px 6px 14px; 
  margin-left: -14px;
}
#homepage .quoteblock {
  padding-top: 0;
  padding-bottom: 0;
}
#homepage .quoteblock .quotetext {
  padding-top: 8px;
  padding-right: 0;
  padding-bottom: 10px;
  font-size: 21px;
  line-height: 36px;
  background-image: url("../img/quote-medium.png");
  background-position: 0 2px;
} 
.quoteblock .quotesource {
  text-align: right;
  padding-right: 4px;
}
#homepage #haaibalk {
  padding-bottom: 16px;
}
#subpage.notfound #intro .contenttext {
  padding-bottom: 165px;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}
  
/* ==========================================================================
   Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   
    Default-states source: stackoverflow.com/questions/18431939/the-min-max-width-media-query-doesnt-make-grammatical-sense

   ========================================================================== */

/* TEMP mini-dev-helper */ body:after{ position: fixed; bottom:0; left:0; z-index:9999; line-height:1em; width:100%; color:#fff; padding:10px; background:rgba(200, 54, 54, 0.5); pointer-events:none;}
 
.show-for-small { display: none; }
.hide-for-small { display: block; }

img.fleximg, .fleximg img {
  height: auto;
  max-width: 100%;
}

/*  digiDepot Defaults/Responsive overrides  */
#main {
  min-width: 0;
  max-width: none;
}
.fullwidth, 
.innercontent,
#haai .innercontent, 
#morefooter .innercontent, 
#testimonials .innercontent, 
#slider .innercontent {
  width: auto;
  min-width: 0;
  max-width: none;
  -webkit-box-sizing: content-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: content-box;    /* Firefox, other Gecko */
  box-sizing: content-box;         /* Opera/IE 8+ */
}
#haai .innercontent, 
#morefooter .innercontent, 
#testimonials .innercontent {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}
.fullwidth, #slider .innercontent {
  width: 100%;
}
#haai .innercontent, 
#morefooter .innercontent, 
#testimonials .innercontent, 
.innercontent {
  width: 1200px;
}


/* responsive icon styles */
#responsive_icon {
  position: absolute;
  z-index: 620;
  right: 0;
  top: 0;
  background: url("../img/responsive-menu.png") no-repeat center 44px transparent;
  border-left: 1px solid #fff;
  cursor: pointer;
  width: 98px;
  height: 100px; 
}
#responsive_icon {
  background-color: rgba(204, 255, 0, 0.5);
}
#responsive_icon:hover {
  background-color: rgba(222, 255, 44, 0.75);
}

/* responsive menu styles */
#menu.responsive ul#menubuttons {
  margin-left: 0;
  padding: 10px 10px 14px; 
} 
#subpage #menu.responsive ul#menubuttons, 
#menu.responsive ul#menubuttons, 
#menu.responsive ul#menubuttons li {
  float: none; 
}
#menu.responsive ul#menubuttons li a {
  display: block;
  width: 100%;
  padding: 10px 8px;
}
#menu.responsive ul#menubuttons li:first-child,
#menu.responsive ul#menubuttons li {
  padding-left: 0;
}
#menu.responsive {
  height: auto;
  position: static !important;
}  

/* MIN-width: 0 - default responsive css */
@media only screen and (min-width: 0) {

  body:after{ content:"MIN-width: 0 - default responsive css"; display:block;}

  #main {
    margin: 0;
    border: 0 none;
  }
}

/* MIN-width: 1220px - default responsive css */
@media only screen and (min-width: 1220px) {

  body:after{ content:"MIN-width: 1220px - possible fix for resizing bug??"; display:block;}

  #main {
    width: auto;
  }
}

/* max-width: 1220px - large desktop/design source */
@media only screen and (max-width: 1220px) {

  body:after{ content:"max-width: 1220px: large desktop/design source"; display:block;}
  
  .fullwidth, 
  .innercontent, 
  #slider .innercontent, 
  #haai .innercontent, 
  #morefooter .innercontent, 
  #testimonials .innercontent {
    width: auto;
    min-width: 1120px;
    max-width: 1200px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
  }
  .innercontent {
    margin-left: auto;
    margin-right: auto;
  }
  .contenttext {
    padding-left: 54px;
    padding-right: 20px;
  } 
  #subpage .contenttext {
    padding-left: 226px;
  }
  /* !keep this synchronized with the style rule for IE8 and lower */
   #slidedots, #slider .slidecontent {
    left: 220px;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }
  #slidedots {
    padding-left: 6px;
    padding-right: 0;
  }
  #menu {
    height: 76px;
  }  
  #slider .slidebutton {
    left: 605px;
  }
  #homepage .contentblock {
    padding-left: 0;
    padding-right: 0;
   }
  #logo {
    left: 30px;
  }
  .fixed #logo {
    left: 0;
  }
  #subpage ul#menubuttons, ul#menubuttons {
    float: left; 
    margin-right: 0;
    margin-left: 220px;
  }
  #what #cards {
    right: auto;
    left: 575px;
  }
  #who img#systems {
    margin-left: 30px;
  }
  #homepage #footer .contentblock, 
  #subpage #footer .contentblock, 
  #haai .innercontent, 
  #testimonials .innercontent {
    padding-left: 30px;
  }
  #main {
    margin: 0 auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }
  #slider .innercontent {
    width: auto;
    max-width: 1200px;
  }
  #who .contenttext {
    float: none;
    display: inline-block;
    padding-right: 0;
    padding-left: 14px;
  }  
  #subpage .contentimg img {
    margin-left: -100px;
  }
  #homepage #footer .linkblock:first-child,
  #subpage #footer .linkblock:first-child {
    padding-left: 0;
  }
  #homepage #footer .contentblock:first-child {
    padding-left: 60px;
  }
  #homepage #haai #rightblocks {
    left: 510px;
  }
} 

/* max-width: 990px -  MAX for elements with width 1200px and position fixed */
@media only screen and (max-width: 990px) {
  #menu {
    position: static !important;
  }
}

/*** REST = SEE responsive-backup.css ***/ body:after{ display: none !important;}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
