/*
###########################################################
#
# Filename:			body.css
#
# Copyright:		S-Inside
# Project:			Crystal Lab
# Platform:			CSS
# Date created: 	28-03-2019
#
    used colours for this website:
    #94ba8c			green
    #7d7e7f			grey
    #000			black
    #f1f5e6
        
    #fff			white
    #eaeaea			grey
    #000			black
#
###########################################################
*/

body {       
    margin: 0px;
    padding: 0px;
    background-color: #fff;
  	color: #000;
}

img {border: 0px;}

body,table,td,th,div,input,select,textarea,a,span,h1,h2,h3,h4,h5,h6 {
	font-family: 'PT Sans', sans-serif;
	font-size: 11pt;
}
h1 {
	font-family: 'Montserrat Alternates', sans-serif;
	font-size: 18pt;
	color: #94ba8c;
}
h2 {
	font-size: 13pt;
	color: #000;
	margin-bottom: 0px;
	font-weight: 700;
}
h3 {
	font-size: 11pt;
	color: #000;
	margin-bottom: 0px;
	font-weight: 700;
}

header {
	position: relative;
	width: 100%;
	height: 60px;
	background: #fff;
	color: #000;
}
main {
	/* main div that contains all content */
	position: relative;
	width: 100%;
	height: 1000px;
	background: #f1f5e6;
	color: #000;
}
footer {
	position: relative;
	width: 100%;
	height: 80px;
	padding-bottom: 40px;
}
div.mobile_logo {
	display: none;
}

div.content {
	position: relative;
	width: 1176px;
	min-height: 100%;
	margin: auto;
	background-color: #f1f5e6;
	background-image: url("../img/bg_content800.jpg");
	background-repeat: no-repeat;
	/*background-size: cover;*/
	background-position: 330px 40px;
}
div.logo {
	position: relative;
	left: 0px;
	top: 0px;
	height: 100%;
	width: 100%;
	margin: auto;
}
img.logo {
	position: relative;
	top: 0px;
	left: -50px;
}
div.inhoud, div.inhoud_smal {
	position: absolute;
	top: 146px;
	left: 200px;
	width: 860px;
	line-height: 24px;
	padding: 10px;
  	background: transparent;
	z-index: 12;
	overflow-y: auto;
	max-height: 1000px;
	height: auto;
	overflow-y: auto;
}
body.textonly div.inhoud, body.textonly div.inhoud_smal {
	padding: 20px;
	width: 900px;
	height: 800px;
	overflow-y: auto;
}
body.slider main, body.slider main {
	height: 1400px;
}
body.slider div.inhoud, body.slider div.inhoud_smal {
	position: relative;
	top: 10px;
}

div.inhoud a:hover, div.inhoud_smal a:hover {color: #000;}
div.inhoud a, div.inhoud_smal a {
  	text-decoration: underline;
  	color: #8fa875;
}


div.footer {
	width: 1176px;
	margin: auto;
}
span.copy {
	margin-top: -20px;
	font-size: 8pt;	
}
span.copy a {
	font-size: 8pt;	
  	color: #8fa875;
}
/* portfolio grid */
div.portfolio_grid {
	width: 100%;
	height: 840px;
	overflow: hidden;
	/*box-shadow: 3px 3px 5px #b7b7b7;*/
	margin-bottom: 40px;
	padding-bottom: -40px;
}
table.portfolio_grid {
	width: 100%;
	position: relative;
	top: -50px;
}
td.gridcell {
	/*height: 100px;
	width: 100px;
	--gridcell-width7: 100px;
	--gridcell-height: 100px;*/
}
div.griditem, div.gridvideo {
	position: absolute;
	cursor: pointer;
	text-align: center;
	margin-right: 3px;
	margin-bottom: 3px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
div.gridtext {
	display: none;
}
div.gridtextonly {
	
}
/* form items */
div.cms_form {
	width: 450px;
	float: left !important;
}
#foutmelding {
	display: none;
	font-size: 10pt;
	position: absolute;
	padding: 20px;
	top: 180px;
	left: 30%;
	width: 400px;
	height: 300px;
	z-index: 200;
	border: 2px solid #b9b1ab;
	background: #f1f1f1;
	color: #000;
}

.textbox, .textbox_pc, .textbox_klein, .textbox_groot, select.dropbox, textarea.areabox, input.box {
	width: 340px;
    height: 20px;
    line-height: 20px;
    border: 1px solid #000000;
	font-size: 8pt;
    font-weight: bold;
	background-color: #d2d4d8;    
	color: #000000; 
}
.textbox_pc {width: 60px;}
.textbox_klein {width: 270px;}
.textbox_groot {width: 400px;}
textarea.areabox {height: 80px;}
select.dropbox {width: 344px; height: 20px;}

.knop, .knop_klein {
	font-weight: bold;
	width: 120px;
	height: 30px;
	line-height: 24px;
	cursor: pointer;
  	border-top: 2px solid #ccc;
  	border-left: 2px solid #ccc;
  	border-right: 2px solid #555;
  	border-bottom: 2px solid #555;
  	background-color: #000;
  	color: #fff;
}
.knop_klein {width: 80px;}

span.captcha_field {
	text-transform: lowercase;
}
.kleintekst, .captcha_explain {
	font-size: 8pt;
}

.redtext {
	font-size: 10pt;
  	font-weight: bold;
  	background-color: inherit;
  	color: #c80202;
}

.greentext {
	font-size: 10pt;
  	font-weight: bold;
  	background-color: inherit;
  	color: #0e6e0e;
}

/* lightbox */
#lightbox-image-details-caption {
	font-size: 1.4em;
}
#lightbox-container-image-box, #lightbox-container-image-data-box, #lightbox-container-image-data {
	line-height: 22px;
	background: #000;
	color: #fff !important;
}
#lightbox-container-image-data aHover {
	color: #fff !important;
}
#lightbox-container-image-data a {
	color: #7d7e7f !important;
}
#lightbox-image-details-currentNumber {
	font-size: 8pt;
}
#lightbox-secNav-btnClose {
	position: absolute;
	bottom: 0px;
	margin-left: 100px;
}
#lightbox-secNav-btnClose img {
	width: 22px;
	height: 22px;
	background-image: url("../img/close_wit.png");
	background-repeat: no-repeat;
	background-position: center right;
}

/* homepage slider and design photo */
#contentblock1 {
	position: relative;
	width: 100%;
	height: 600px;
	background-color: #f1f5e6;
}
div.contentblock_slider {
	display: block;
	width: 100%;
	height: 600px;
	text-decoration: none;
}
a.slider {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	text-decoration: none;
	background-image: url("../../../img/blank.gif");
	/*background-repeat: no-repeat;*/
	background-size: cover;
	z-index: 10;
}
a.slider h1 {
	display: none;
	position: absolute;
	right: 26px;
	bottom: 10px;
	font-size: 34pt;
	font-weight: bold;
	margin-top: -2px;
	margin-bottom: 10px;
	color: #fff;
}
a.slider p {
	display: none;
	position: relative;
	left: 26px;
	top: 20px;
    font-size: 14pt;	
	font-weight: bold;
	letter-spacing: 1px;
	background: transparent;
	color: #fff !important;
}
div.slider_leftarrow, div.slider_rightarrow {
	display: none;
}
div.slider_rightarrow {left: 940px; background-image: url("../img/arrow_right.png");}

#slider_counter {
	display: none;
	position: relative;
	top: 620px;
	text-align: center;
	z-index: 100;
}
#slider_counter img {
	display: none;
	margin: 0px 2px;
}
/* einde homepage slider */
@media screen and (min-width: 1024px) {
	nav {
		position: fixed;
		width: 100%;
		margin: auto;
		height: 60px;
		background: #fff;
		z-index: 1000;
	}
}
@media screen and (max-width: 1023px) {
	header{
		height: auto;
	}
	footer {
		max-width: 100%;
	}
	nav{
		left: auto;
		width: 100%;
		top: 20px;
	}
	#menu1 {
		display: none;
	}
	div.logo {
		display: none;
	}
	div.mobile_logo {
		display: block;
		top: 10px;
		position: relative;
	}
	img.logo {
		left: 0px;
	}
	div.mobile_menu_container {
		position: absolute;
		top: -20px;
		left: 10px;
		width: 100%;
		height: 300px;
		z-index: 201;
	}
	div.mobile_menu_container div.mobile_menu_hamburger {
		display: block !important;
		height: 40px;
		line-height: 40px;
		color: #fff;
		position: absolute;
		right: 0px;
	}
	div.mobile_menu_container div.mobile_menu {
		display: none;
		background: #fff;
		position: absolute;
		left: -20px;
		top: 60px;
		width: 100%;
		padding: 20px;
		z-index: 202;
		height: auto;
		overflow-y: scroll;
	}
	div.mobile_menu_container div.mobile_menu div.menuitem {
		padding: 4px;
		margin-top: 20px;
	}
	div.mobile_menu_container div.mobile_menu div.menuitem a {
		font-size: 20px !important;
		font-weight: bold;
		line-height: 24px;
		text-decoration: none;
		color: #000;
	}
	div.mobile_menu_container div.mobile_menu div.menuitem a.current {color: #000;}
	div.mobile_menu_container div.mobile_menu div.menuitem a.vacature {
		font-weight: 700;
		background-color: #000;
		color: #485769;
	}
	div.mobile_menu_container div.mobile_menu div.mobile_submenu div.submenuitem {
		font-size: 20px !important;
		font-weight: normal;
		line-height: 24px;
		width: 100%;
		margin: 0;
		padding: 4px;
	}
	
	main div.container div.content {
		max-width: 100%;
	}
	div.inhoud, div.inhoud_smal {
		position: relative;
		left: 0px;
		top: 40px;
		max-width: 100%;
	}
	
	
	/*div.grid_container {
		max-width: 100%;
	}
	#contentblock1 {
		left: 38px;
	}
	div.griditem {
		width: 48% !important;
	}
	#contentblock2 {
		width: 80%;
		margin: auto;
	}
    .headermenu.open #menu1{
        opacity: 1;
        right: -20px;
        top: -40px;
        visibility: visible;
    }
    .headermenu.open:before{
        opacity: 0.2;
    }*/
    .menubutton{
        cursor: pointer;
        right: 70px;
    } 
    div.headermenu{
        right: 0px;
    } 
	span.copy {
		margin-top: 10px;
		font-size: 8pt;
		max-width: 80%;
		display: block;
	}
/*
    iframe.google_map {
        width: 100%;
    }*/
}
@media screen and (max-width: 820px) { 
	
    .menubutton{
        cursor: pointer;
        right: 30px;
    } 
	.menubutton:before{
		top: -10px;
	}
	div.cms_form {
		width: 100%;
	}
	div.inhoud {
		font-size: 1.1em;
	}
}
@media screen and (max-width: 420px) {   
    #menu1 > ul{
        /*margin-left: 94px;*/
    }
	/*#contentblock1 {
		width: calc(100% - 25px);
		left: 10px;
	}  */
	.menubutton:before {
		top: 0px !important;
		height: 30px;
		width: 40px;
		background-size: contain;
	}
}


