/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.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 { color: #000; font-size:24px; line-height:30px; width:100%; overflow-x: hidden; }

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

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

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

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

textarea { resize: vertical;}

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

h1{ font-weight:100; text-align:center; margin:0px;}

a{ text-decoration:none; font-weight:bold; color:#000;}
p{ margin:0px; padding:7px 0px;}

fieldset{ border:0px;}

.moreinfo { 
	display: none; 
}

.justifyright{ text-align:right;}

@font-face {   font-family: RaphLanokFuture;  src: url(RaphLanokFuture.ttf);}
@font-face {   font-family: Memories;  src: url(Memories.ttf);}

/* ==========================================================================
   ALG
   ========================================================================== */

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Open Sans Condensed', sans-serif;
  max-width:100%;
}


/* ==========================================================================
   NAV
   ========================================================================== */
   
.menu-link { display: none;}
.main-nav,
.main {
  position: relative; 
}
.main-nav {
  background: #59725e;
  height: 45px;
  z-index: 150;
  width:100%;
}
.main-nav ul{ display:block; float:right; width:auto; margin-right:100px;}

.main-nav li{
	list-style:none;
	margin-left:25px;
	display:block;
	float:left;
	padding-top:7px;
}
.main-nav li a{
	color:#e9feff;
	font-weight:100;
	font-size:23px;
}


.main-nav,
.main-nav-scrolled {
  position: fixed;
  width: 100%;
  top: 0;
}
.wi{ position:relative; width:1400px; overflow:visible; margin:0 auto; }


/* ==========================================================================
   HEADER
   ========================================================================== */
header { 
	background: url(../img/IMG_0597_1.jpg) no-repeat ;
  	background-position: center bottom;
  	background-repeat: no-repeat;
  	background-size: cover;/*
	background-size: clamp(1000px, 100%, 1600px) auto;*/
	background-color:#59725e;
	position:relative;
  	text-align:center;
	height:750px;
}


header #logo{ margin-top:60px; margin-left:0px; width:300px; height:300px;}
header #logo img{ max-width:500px;}
header #blok{ margin-top:320px; }
header #blok a{background-color:rgba(220, 221, 216, 0.3); display:block; float:right; margin-left:20px; padding:14px 20px; color:#dcddd8; font-size:36px; font-weight:100;}

/* ==========================================================================
   MAIN
   ========================================================================== */

.main {  background:#fff;}

.w{ position:relative; width:1400px; overflow:hidden; margin:0 auto; }
p{ padding:0px 0px 60px 0px;}


/* ==========================   INTRO    ====================== */


#intro{ background:#dcddd8; text-align:center;}
#intro h1{  font-family: RaphLanokFuture; color:#f9fafc; font-size:60px; line-height:160px;}


/* ==========================   HUIS FAES   ====================== */
#huisfaes{ background:#91a995; padding-top:50px; }
#huisfaes #titel{ position:relative; overflow:hidden; text-align:center; margin-top:-30px;}
#huisfaes h2{ display:block; float:left; color:#59655c; margin-left:30%; margin-right:40px; font-size:24px; font-weight:100; line-height:120px;}
#huisfaes h1{ display:block; float:left; font-family: Memories; color:#f9fafc; font-size:60px; line-height:160px; margin-top:10px;}

#huisfaes h3{ font-size:30px; color:#dfe8e0; font-style:italic; font-weight:100; text-align:center;}
#huisfaes h4{ color:#1a181b; font-family:RaphLanokFuture; font-size:48px; font-weight:100;}

#huisfaes .left{ margin-left:300px;}

#huisfaes p{ text-align:center; }


/* ---------- FOTOGALERIJ ---------- */
#fotos{ margin:0px 0px 100px 0px;}

div.foto{  border: 1px solid #91a995;}
div.foto:hover {  border: 1px solid #777;}
div.foto img { width: 100%; height: auto;}

* {   box-sizing: border-box;}

.resp{  padding: 6px;  float: left;  width: 24.99999%;}

@media only screen and (max-width: 700px) {
  .resp{    width: 49.99999%;    margin: 6px 0;  }
}

@media only screen and (max-width: 500px) {
  .resp{    width: 100%;  }
}

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



/* ==========================   LIGGING   ====================== */
#ligging{ text-align:center; background:#dcddd8; padding-top:50px;}
h1{ font-family: Memories; color:#59725e; font-size:72px; line-height:160px; margin-top:-20px; }
h2{ font-size:30px; margin-top:50px;}


#activiteiten{ position:relative; overflow:hidden; margin:50px 0px;}
.act{ width:319px; height:256px; display:block; float:left; position:relative; margin:0px 0px 31px 31px;}
.act h2{ background-color:rgba(220, 221, 216, 0.8); width:100%; text-align:center; position:absolute; top:100px; z-index:149; font-size:24px; font-weight:100; height:80px; padding-top:20px; line-height:18px;}


/* ==========================   OP MAAT   ====================== */

#op-maat{ background:#91a995; padding-top:50px; padding-bottom:50px;}
#op-maat h1{color:#f9fafc;}

#op-maat #foto{ display:block; float:left; width:15%;}
#op-maat #tekst{ display:block; float:left; margin-left:100px; text-align:center; width:75%;}



/* ==========================   TARIEVEN   ====================== */
#tarieven{ background:#dcddd8 url(../img/hek.png) no-repeat bottom right; text-align:center;padding-top:40px;}
#tarieven h1{ color:#fff; font-weight:normal; margin-top:0px;}
#tarieven .blok{ display:block; float:left; width:25%; font-size:18px; padding:0px; line-height:24px; margin:50px 0px;}
#tarieven #incl{ margin-left:25%;}
#tarieven h2{  font-weight:bold; margin:10px 0px; font-size:20px;}



/* ==========================   CONTACT    ============================== */
#contact{ background:#59725e; margin:0px 0px; text-align:center;}
#contact h1{ color:#fff; font-weight:normal; margin-top:10px;}
#contact a{ color:#fff; font-weight:100; font-size:30px; margin-left:30px;}

#contact table{ }
#contact label{ color:#a6c0ab; margin-right:30px;padding-left:60px;}
#contact input{ background:#dcddd8; width:288px; border:0px; margin:2px 0px;}
#contact input.button{ background:#86a18b; color:#fff; width:180px; display:block; float:left;}


#toerlimb{ position:absolute; top:-100px; right:30px;}
#toerlimb img{ width:100px;}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer{ background:#dcddd8; text-align:center; font-size:24px; min-height:50px; color:#59725e; padding-top:10px; position:relative;}
footer a{ font-weight:normal; color:#59725e; text-decoration:underline;}


/* ==========================================================================
   Message pop
   ========================================================================== */
   a.selected {
  background-color:#1F75CC;
  color:white;
  z-index:100;
}

.messagepop {
  background-color:#FFFFFF;
  border:1px solid #999999;
  cursor:default;
  display:none;
  margin-top: 15px;
  position:absolute;
  text-align:left;
  width:394px;
  z-index:50;
  padding: 25px 25px 20px;
}

label {
  display: block;
  margin-bottom: 3px;
  padding-left: 15px;
  text-indent: -15px;
}

.messagepop p, .messagepop.div {
  border-bottom: 1px solid #EFEFEF;
  margin: 8px 0;
  padding-bottom: 8px;
}



/* ==========================================================================
   image pop
   ========================================================================== */
.row > .column {
  padding: 5px 5px;
}
.row > .column25 {
  padding: 8px 8px;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 20%;
}
.column25 {
  float: left;
  width: 25%;
}
/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}




/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}






/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * 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;
}



/* ==========================================================================
   --------------------     SMARTPHONE     ----------------------------------
   ========================================================================== */

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

html { color: #000; font-size:18px; line-height:22px; width:100%; overflow-x: hidden; }
.w{ width:90%; margin:0 auto;}

p{ margin:0px; padding:7px 5px;}


header{ height:auto; padding-top: 5px;  }
header img{ max-width:90%; max-height:auto;}
header #logo img{ max-width:300px;}
header #logo{ margin-top:70px; margin-bottom:50px;  position:relative; height:auto; display:block; left:50%; margin-left:-150px;}
header #blok{ margin-top:5px;   }
header #blok a{margin-left:20px; margin-bottom:4px; padding:12px 20px; font-size:26px; }

#intro h1{  font-size:36px; line-height:160px; margin-bottom:-30px;}
#intro{ padding-bottom:40px;}

#huisfaes .left{ margin-left:10%;}
#huisfaes h2{ line-height:20px;}
#huisfaes h1{ line-height:60px; margin-left:25%;}

#ligging img{ max-width:100%; margin-top:20px;}

#activiteiten{ position:relative; overflow:hidden; margin:50px 0px;}
.act{ width:180px; height:auto; display:block; float:left; position:relative; margin:0px 0px -5px 10px;}
.act h2{ background-color:rgba(220, 221, 216, 0.8); width:100%; text-align:center; position:absolute; top:30px; z-index:999; font-size:12px; font-weight:100; height:50px; padding-top:10px; line-height:18px;}


#op-maat #foto{ display:inline; float:none; text-align:center;}
#op-maat #foto img{ max-width:200px; margin-left:30%; margin-top:20px; margin-bottom:20px;}
#op-maat #tekst{ display:inline; float:none; margin-left:-30px;}


#tarieven .blok{ display:block; float:left; width:45%; font-size:18px; padding:10px; line-height:24px; margin:50px 0px 300px 0px;}
#tarieven #incl{ margin-left:5%;}



#menu{ min-height:88px;  position:absolute; top:0px;  z-index:9999;}
#menubg{background:none; }


a.menu-link { display: block; color: #fff; background-color:#87888a; float: left; text-decoration: none; padding: 10px 10px; z-index:999; position:fixed;}
.main-nav { clear: both; min-width: inherit; float: none; z-index:9999; padding:0px; background:none; margin-top:40px;}
.main-nav, .main-nav > ul ul { overflow: hidden; max-height: 0; background-color: #fff; padding:0px; }
.main-nav > li > ul.sub-menu { padding: 0px; border: none; }
.main-nav.active, .main-nav > ul ul.active { max-height: 500px; height:auto;border:2px solid #ccc;  }
.main-nav ul { display: inline; }
.main-nav > ul {}
.main-nav li, .main-nav > ul > li { display: block;  width:100%; float:left; border:none; padding:0px;}
.main-nav ul li a { color: #000; display: block; position: relative; font-size:18px; width:100%; float:none;  padding:5px 0px;}
.main-nav ul li a:hover, .main-nav ul li.active a{ color:#ccc; border-bottom:none;}
.main-nav ul li > a { line-height:14px; padding: 2px 0px; margin:5px 10px; }
.main-nav li.has-submenu > a:after {
content: '+';
position: absolute;
top: 0;
right: 0;
display: block;
font-size: 1.5em;
padding: 0.55em 0.5em;
}
.main-nav li.has-submenu > a.active:after {content: "-";}
.main-nav ul ul{ display:none;}
.main-nav ul ul > li a { background-color: #e4e4e4; height:58px; padding: 19px 18px 19px 30px; }
.main-nav ul ul, .main-nav ul ul ul { display: inherit; position: relative; left: auto; top:auto; border:none; }

#foto{ 	margin-top:-50px;}

#tarieven{ background-size: 200px auto;}


footer{ font-size:18px; min-height:50px;}
#toerlimb{ position:absolute; top:0px; right:30px;}
#toerlimb img{ width:30px;}
}







/* ==========================================================================
   --------------------     TABLET     ----------------------------------
   ========================================================================== */
	
@media only screen and (min-width: 768px) and (max-width: 1399px){	
html { color: #000; font-size:20px; line-height:22px; width:100%; overflow-x: hidden; }
.w{ width:90%; margin:0 auto;}
h1{font-size:40px;}
p{ margin:0px; padding:7px 5px;}

header{ height:auto; padding-top: 5px;  }
header img{ max-width:90%; max-height:auto;}
header #logo img{ max-width:300px;}
header #logo{ margin-top:70px; margin-bottom:50px; position:relative; height:auto; display:block; left:50%; margin-left:-150px;}
header #blok{ margin-top:10px;   }
header #blok a{margin-left:20px; margin-bottom:4px; padding:12px 20px; font-size:26px; }


#huisfaes .left{ margin-left:10%;}
#op-maat #foto{ display:inline; float:none; text-align:center;}
#op-maat #foto img{ width:200px; margin-top:20px; margin-bottom:20px; margin-left:45%;}
#op-maat #tekst{ display:inline; float:none; margin-left:-30px;}


#menu{ min-height:88px;  position:absolute; top:0px;  z-index:9999;}
#menubg{background:none; }

a.menu-link { display: block; color: #fff; background-color:#87888a; float: left; text-decoration: none; padding: 10px 10px; z-index:999; position:fixed;}
.main-nav { clear: both; min-width: inherit; float: none; z-index:9999; padding:0px; background:none; margin-top:40px;}
.main-nav, .main-nav > ul ul { overflow: hidden; max-height: 0; background-color: #fff; padding:0px; }
.main-nav > li > ul.sub-menu { padding: 0px; border: none; }
.main-nav.active, .main-nav > ul ul.active { max-height: 500px; height:auto;border:2px solid #ccc;  }
.main-nav ul { display: inline; }
.main-nav > ul {}
.main-nav li, .main-nav > ul > li { display: block;  width:100%; float:left; border:none; padding:0px;}
.main-nav ul li a { color: #000; display: block; position: relative; font-size:18px; width:100%; float:none;  padding:5px 0px;}
.main-nav ul li a:hover, .main-nav ul li.active a{ color:#ccc; border-bottom:none;}
.main-nav ul li > a { line-height:14px; padding: 2px 0px; margin:5px 10px; }
.main-nav li.has-submenu > a:after {
content: '+';
position: absolute;
top: 0;
right: 0;
display: block;
font-size: 1.5em;
padding: 0.55em 0.5em;
}
.main-nav li.has-submenu > a.active:after {content: "-";}
.main-nav ul ul{ display:none;}
.main-nav ul ul > li a { background-color: #e4e4e4; height:58px; padding: 19px 18px 19px 30px; }
.main-nav ul ul, .main-nav ul ul ul { display: inherit; position: relative; left: auto; top:auto; border:none; }

#foto{ 	margin-top:-50px;}



#tarieven{ background-size: 200px auto;}


footer{ font-size:18px; min-height:50px;}
}














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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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