/* reset browser styles: Copyright (c) 2006, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 0.10.0 */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td { margin: 0; padding: 0; }
table { border-collapse:collapse; border-spacing:0; }
fieldset, img { border:0; }
address,caption,cite,code,dfn,th,var { font-style:normal; font-weight:normal; }
ol,ul { list-style:none; }
caption,th { text-align:left; }
h1,h2,h3,h4,h5,h6 { font-size:100%; }
q:before,q:after { content:''; }

/* http://kilianvalkhof.com/2009/css-xhtml/combining-cufon-and-font-face/ en http://davidwalsh.name/font-check-plugin */
@font-face {
  font-family: "Diavlo";
  src: url("/fonts/diavlo.otf") format("opentype");
}

/* algemeen html */
body { font-family: Verdana; line-height: 150%; background: #eaeae9 url("/images/bg.pattern.gif"); }
h1 { font-weight: bold; }
a { color: inherit; }
p { margin-bottom: 8px; }

	/* vary font-sizes on various screens */
	@media screen and (max-width:767px) {
		body { font-size: 13px; }
		h1 { font-size: 22px; }
		h2 { font-size: 20px; }
		#page address span.company { font-size: 20px; }
	}
	@media screen and (min-width:768px) and (max-width:1399px) {
		body { font-size: 14px; }
		h1 { font-size: 28px; }
		h2 { font-size: 22px; }
		#page address span.company { font-size: 22px; }
	}
	@media screen and (min-width:1400px) {
		body { font-size: 15px; }
		h1 { font-size: 32px; }
		h2 { font-size: 23px; }
		#page address span.company { font-size: 23px; }
	}

/* HOME PAGE - SPECIAL LAYOUT */
	/* HEADER - LOGO */
	#home h1#logo { background: transparent url("/images/bg.aurealis.svg") no-repeat; background-size: 100% auto; overflow: hidden; }
	#home h1#logo a { display: block; text-indent: -2500px; }
	#home h1#logo img { width: 100%; }

	/* BODY - WEBDEVELOPMENT & WEBDESIGN */
	#home a.homeblock { display: block; text-decoration: none; }
	#home a.homeblock ul { display: block; overflow: hidden; }
	#home a.homeblock ul li { float: left; border: 1px solid #696d69; }
	#home a.homeblock ul li img { display: block; width: 146px; height: 92px; }
	#home a.homeblock span.tagcloud { display: block; font-size: 80%; margin-top: 5px; }
	#home a.homeblock span.readMore { display: block; text-decoration: underline; margin-right: 8px; }
	#home a.homeblock span.readMore:after { content: ' »'; }

	#home a#webdevelopment ul { width: 171px; height: 116px !important; background: transparent url("/images/bg.noMacbook.png") no-repeat; }
	#home a#webdevelopment ul li { margin: 7px 0 45px 11px; }

	#home a#webdesign ul { width: 162px; height: 126px !important; background: transparent url("/images/bg.noImac.png") no-repeat; }
	#home a#webdesign ul li { margin: 7px 0 45px 7px; }

	/* BODY - QUOTES */
	#home ul#quote { width: 400px; height: 150px !important; overflow: hidden; }
	#home ul#quote li { display: block; padding: 8px 30px; margin-bottom: 100px; background: transparent url("/images/blockquote.png") no-repeat top; }
	#home ul#quote li p { display: block; width: 100%; font-style: italic; }
	#home ul#quote li a { display: block; text-align: right; text-decoration: none; }
	#home ul#quote li a:hover { text-decoration: underline; }

	/* FOOTER - CONTACT */
	#home footer .hidden { display: none; }
	#home footer h1.company { display: none; }
	#home footer address { margin-bottom: 12px; }

/* REST OF THE PAGES */
	/* Width & margin */
	#page header, #page footer, #page #content { width: 960px; margin: 0 auto; clear: both; overflow: hidden; }

		@media screen and (min-width:1400px) {
			/* for wider screens: 15% - 70% - 15% */
			#page header, #page footer, #page #content { width: 70%; }
		}
		@media screen and (max-width:1000px) {
			/* for smaller screens: 5% - 90% - 5% */
			#page header, #page footer, #page #content { width: 90%; }
		}

	/* General definitions */
	#page h2 { margin: 0.286em 0 0.572em 0; }

		/* due to the varying font-sizes the line should be lowered as well */
		@media screen and (max-width:767px) {
			#page h2 { background: transparent url("/images/bg.line.png") no-repeat left 20px; }
		}
		@media screen and (min-width:768px) and (max-width:1399px) {
			#page h2 { background: transparent url("/images/bg.line.png") no-repeat left 22px; }
		}
		@media screen and (min-width:1400px) {
			#page h2 { background: transparent url("/images/bg.line.png") no-repeat left 23px; }
		}

	/* HEADER - LOGO & NAVIGATION */
	#page header { margin-bottom: 1.5em; }

		@media screen and (max-width:400px) {
			/* no line */
			#page h1#logo { background: none; }
		}
		@media screen and (min-width:401px) and (max-width:579px) {
			/* higher (line through #page h1#logo, which is smaller) */
			#page header { background: transparent url("/images/line.svg") no-repeat center 101px; background-size: 100% auto; }
		}
		@media screen and (min-width:580px) and (max-width:767px) {
			/* higher (line through #page h1#logo, which is smaller) */
			#page header { background: transparent url("/images/line.svg") no-repeat center 132px; background-size: 100% auto; }
		}
		@media screen and (min-width:768px) and (max-width:1399px) {
			/* normal position (line through #page h1#logo) */
			#page header { background: transparent url("/images/line.svg") no-repeat center 139px; background-size: 100% auto; }
		}
		@media screen and (min-width:1400px) {
			/* lower (line through #page h1#logo, which is bigger) */
			#page header { background: transparent url("/images/line.svg") no-repeat center 151px; background-size: 100% auto; }
		}

	#page h1#logo { float: left; background: transparent url("/images/aurealis.svg") no-repeat; background-size: 100% auto; }
	#page h1#logo a { display: block; text-indent: -2500px; }
	#page h1#logo img { width: 100%; }

		@media screen and (max-width:400px) {
			/* inie-tiny */
			#page h1#logo { width: 100%; }
		}
		@media screen and (min-width:401px) and (max-width:579px) {
			/* tiny */
			#page h1#logo { width: 230px; }
		}
		@media screen and (min-width:580px) and (max-width:767px) {
			/* smaller */
			#page h1#logo { width: 300px; }
		}
		@media screen and (min-width:768px) and (max-width:1399px) {
			/* normal size */
			#page h1#logo { width: 320px; }
		}
		@media screen and (min-width:1400px) {
			/* bigger */
			#page h1#logo { width: 350px; }
		}

	#page header nav { float: right; }
	#page header nav ol { float: right; }
	#page header nav a { text-decoration: none; color: #696d69; }
	#page header nav a:hover { text-decoration: none; color: #000; }
	#page header nav a.active { color: #ad4895; }
	#page header nav a[rel~="external"] { background: transparent url("/images/newWindow.png") no-repeat right top; padding-right: 12px; }
	#page header nav a[rel~="external"]:hover { background: transparent url("/images/newWindow.png") no-repeat right bottom; }

	#page header nav li.webapp a.active { color: #ceb75c; }
	#page header nav li.webdesign a.active { color: #d17e27; }
	#page header nav li.labs a.active { color: #ad4895; }
	#page header nav li.portfolio a.active { color: #acea79; }
	#page header nav li.contact a.active { color: #8c60b9; }

		@media screen and (max-width:400px) {
			/* for inie-tiny screens: floating next to each other */
			#page header nav { margin: 23px 0; }
			#page header nav li { float: left; margin: 0 15px; }
			#page header nav a { text-decoration: underline; }
		}
		@media screen and (min-width:401px) and (max-width:579px) {
			/* for tiny screens: top right, items below each other */
			#page header nav { margin-top: 23px; }
			#page header nav li { display: block; clear: both; margin: 6px; text-align: right; }
		}
		@media screen and (min-width:580px) and (max-width:767px) {
			/* for narrow screens: top right, items below each other */
			#page header nav { margin-top: 54px; }
			#page header nav li { display: block; clear: both; margin: 6px; text-align: right; }
		}
		@media screen and (min-width:768px) and (max-width:959px) {
			/* for narrow screens: top right, items below each other */
			#page header nav { margin-top: 56px; }
			#page header nav li { display: block; clear: both; margin: 6px; text-align: right; }
		}
		@media screen and (min-width:960px) and (max-width:1399px) {
			/* normal position, floating horizontally next to the logo */
			#page header nav { width: 60%; margin-top: 120px; }
			#page header nav li { float: left; margin: 0 15px; }
		}
		@media screen and (min-width:1400px) {
			/* a little lower due to bigger logo, still floating */
			#page header nav { width: 60%; margin-top: 132px; }
			#page header nav li { float: left; margin: 0 15px; }
		}

	/* CONTENT */
	#page #content h1 { margin-top: 0.4em; padding: 0.5em 0 0.3em 0; text-align: center; background: transparent url("/images/bg.line.png") no-repeat center bottom; }
	#page #content span.tagcloud { display: block; clear: both; width: 300px; margin: 0 auto 0.7em auto; padding: 0.3em 0 0.5em 0; font-size: 0.8em; text-align: center; }

	#page section { padding: 3em 0; overflow: hidden; }
	#page section.last { padding-bottom: 0; }
	#page section.smallrow { padding: 1em 0; }
	#page ul#quote { padding: 3em 0; overflow: hidden; }
	#page ul#portfolio { padding: 2em 0; overflow: hidden; }

	#page section h2 { font-size: 1.4em; }

		/* different min-height depending on font size */
		@media screen and (max-width:767px) {
			#page section h2 { min-height: 22px;  }
		}
		@media screen and (min-width:768px) and (max-width:1399px) {
			#page section h2 { min-height: 24px; }
		}
		@media screen and (min-width:1400px) {
			#page section h2 { min-height: 26px; }
		}

	#page section img { float: right; width: 350px; margin-top: -2em; }

		@media screen and (min-width: 1900px) {
			/* bigger image on big screens */
			#page section img { width: 480px; }
		}
		@media screen and (max-width: 959px) {
			/* bigger image on big screens */
			#page section img { width: 270px; }
		}

	#page ul#quote { width: 650px; height: 150px !important; padding-bottom: 0; overflow: hidden; margin: 0 auto; }
	#page ul#quote li { display: block; padding: 8px 30px; margin-bottom: 100px; overflow: hidden; background: transparent url("/images/blockquote.png") no-repeat right top; }
	#page ul#quote li img { float: left; width: 148px; height: 94px; border: 1px solid #696d69; }
	#page ul#quote li blockquote { float: left; width: 340px; margin-left: 89px; }
	#page ul#quote li p { display: block; width: 100%; font-style: italic; }
	#page ul#quote li a { display: block; text-align: right; text-decoration: none; }
	#page ul#quote li a:hover { text-decoration: underline; }

		@media screen and (max-width: 450px) {
			/* no quotes */
			#page ul#quote { display: none; }
		}
		@media screen and (min-width: 451px) and (max-width: 650px) {
			/* quotes taking less space on small devices */
			#page ul#quote { width: 420px; margin: 3em auto; padding: 0; }
			#page ul#quote li { background: transparent url("/images/blockquote.png") no-repeat center top; }
			#page ul#quote li blockquote { float: none; margin: 0; padding: 0 auto; }
			#page ul#quote li img { display: none; }
		}

	#page ul#portfolio { overflow: hidden; height: 150px !important; margin: 0 auto; }
	#page ul#portfolio li { float: left; margin: 23px; }
	#page ul#portfolio a { display: block; overflow: hidden; text-align: center; text-decoration: none; font-size: 0.9em; }
	#page ul#portfolio img { width: 148px; margin-bottom: 0.2em; border: 1px solid #696d69; }

	/* FOOTER */
	#page footer { margin-top: 1.5em; }

	#page footer form { float: left; width: 64%; margin: 0.3em 0 1em 1%; }

		@media screen and (max-width: 650px) {
			/* address details below form on small devices */
			#page footer form { float: left; width: 100%; clear: both; margin-bottom: 0; }
		}

	#page footer address { float: left; width: 200px; margin: 0.3em auto 1em auto; }
	#page footer address span.company { display: block; width: 100%; height: 115px; margin: 125px 0 45px 0; background: transparent url("/images/aurealis.svg") no-repeat center top; background-size: 200px auto; text-indent: 2500px; }
	#page footer address div { margin-bottom: 1.143em; padding-left: 2.05em; }
	#page footer address div.contactus span, #page footer address div.contactus a { display: block; }
	#page footer address span.hidden { display: none; }
	#page footer address div.contactus { margin-bottom: 3em; }

		@media screen and (max-width: 650px) {
			/* address details below form on small devices */
			#page footer address { width: 100%; clear: both; }
			#page footer address span.company { margin: 15px 0 30px 0; }
			#page footer address div { float: left; width: 50%; }
			#page footer fb_iframe_widget { float: right; }
		}

/* CONTACT PAGE */
	#leftCol { float: left; width: 57%; margin-right: 3%; overflow: hidden; }
	#leftCol textarea { height: 640px; }

		@media screen and (max-width: 960px) {
			/* contact details below form on small devices */
			#leftCol { width: 100%; margin-right: 0; clear: both; }
		}
		@media screen and (max-width: 960px) and (max-height: 599px) {
			/* do not make the form to large on small & not so high small devices */
			#leftCol textarea { height: 420px; }
		}

	#rightCol { float: left; width: 37%; margin-left: 3%; overflow: hidden; }
	#rightCol address span.hidden { display: none; }
	#rightCol address span.company { display: block; width: 100%; height: 115px; margin-bottom: 45px; background: transparent url("/images/aurealis.svg") no-repeat center top; background-size: 200px auto; text-indent: 2500px; }
	#rightCol address div.address { margin-bottom: 1.143em; padding-left: 12px; text-align: center; }
	#rightCol address a.url { display: block; margin-bottom: 1.143em; padding-left: 12px; text-align: center; }
	/*#rightCol address a.facebookurl { display: block; height: 26px; line-height: 26px; margin-bottom: 1.143em; padding-left: 12px; text-align: center; background: transparent url("/images/img.facebook.png") no-repeat 60px center; }*/
	#rightCol address div.contactus { margin-bottom: 1.143em; overflow: hidden; }
	#rightCol address div.contactus span, #rightCol address div.contactus a { display: block; }
	#rightCol address div.contactus div { float: left; width: 48%; padding: 0; text-align: center; overflow: hidden; }
	#rightCol address div.contactus div.els { margin-right: 2%; }
	#rightCol address div.contactus div img { width: 160px; height: 160px; margin: 0; float: none; }
	#rightCol address div.legal { margin-bottom: 3em; padding-left: 12px; text-align: center; font-size: 0.8em; }
	#rightCol address div.legal span { display: block; clear: both; }

		@media screen and (max-width: 960px) {
			/* contact details below form on small devices */
			#rightCol { width: 100%; margin-left: 0; clear: both; }
		}

/* TEXT */
	section ul { list-style-type: disc; }
	section ul li { margin: 0 0 4px 20px; }

	section ol { list-style-type: decimal; }
	section ol li { margin: 0 0 4px 30px; }

	section ul#technologies { list-style-type: none; }
	section ul#technologies li { margin: 0 0 0 35px; float: left; height: 80px; padding-top: 66px; text-align: center; background-repeat: no-repeat; }
	section ul#technologies li.tux { margin-left: 0; width: 54px; background-image: url("/images/technologies/tux.png"); }
	section ul#technologies li.httpd { width: 139px; background: transparent url("/images/technologies/apache.png") no-repeat 0 20px; }
	section ul#technologies li.mysql { width: 124px; background-image: url("/images/technologies/mysql.png"); }
	section ul#technologies li.php { width: 122px; background-image: url("/images/technologies/php.png"); }
	section ul#technologies li.html { width: 165px; background-image: url("/images/technologies/html5-css3.png"); }
	section ul#technologies li.jquery { width: 171px; background: transparent url("/images/technologies/jquery.png") no-repeat 0 20px; }


/* from mysite! * /
#main h1 { font-size: 150%; color: #f00; font-weight: normal; border-bottom: 1px solid #f00; margin: 10px 0; letter-spacing: 1px; width: 100%; clear: both; }
#main h2 { font-size: 120%; color: #f00; font-weight: normal; border-bottom: 1px dotted #f00; margin: 5px 0; width: 100%; clear: both; }
#main h3 { font-weight: bold; margin: 5px 0; width: 100%; clear: both; }
#main address { display: block; width: 100%; font-style: italic; clear: both; }
#main p { display: block; width: 100%; margin-bottom: 8px; width: 100%; clear: both; }
#main strong { font-weight: bold; }
#main em { font-style: italic; }
#main strike { text-decoration: line-through; }
#main u { text-decoration: underline; }
#main a { text-decoration: underline; }
#main ul { list-style-image: url("/images/userstyles/li.gif"); list-style-position: outside; margin-bottom: 5px; width: 100%; clear: both; }
#main ul li { margin-left: 22px; }
#main ol { list-style-type: decimal; list-style-position: outside; margin-bottom: 5px; width: 100%; clear: both; }
#main ol li { margin-left: 22px; }
#main blockquote { width: 100%; padding: 5px 40px; background: #f00 url("/images/userstyles/blockquote.png") no-repeat left top; box-sizing: border-box; }
#main blockquote { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
#main table { margin-bottom: 5px; width: 100%; clear: both; }
#main thead {  }
#main thead tr {  }
#main thead tr th { font-weight: bold; }
#main tbody {  }
#main tbody tr {  }
#main tbody tr th { font-weight: bold; }
#main tbody tr td {  }
#main table caption { font-style: italic; }

/* Form klasse - algemene structuur */
form.niceform { margin: 15px 0 0 0; width: 100%; overflow: auto; clear: both; }
form.niceform div.niceentry { margin-bottom: 15px; float: left; clear: both; width: 100%; }
form.niceform div.niceentry label { display: block; float: left; font-weight: normal; }
form.niceform div.niceentry input { display: block; width: 85%; float: left; clear: both; }
form.niceform div.niceentry textarea { display: block; width: 85%; float: left; clear: both; }
form.niceform div.niceentry select { display: block; width: 85%; float: left; clear: both; }
form.niceform div.niceentry span.pseudolabel { display: block; width: 85%; float: left; font-weight: bold; }
form.niceform div.niceentry span.niceinfo { display: none; float: left; width: 90%; padding-bottom: 5px; font-style: italic; color: #884f22; clear: both; }
form.niceform div.niceentry img { float: right; display: none; clear: right; }
form.niceform div.checkbox input { width: auto; clear: left; float: left; margin-bottom: 3px;}
form.niceform div.checkbox label { /*width: 288px;*/ float: left; /*clear: right;*/ margin: 0 0 3px 5px; font-weight: normal; }
form.niceform div.nicebutton { margin: 10px 0; float: left; clear: both; width: 100%; }
form.niceform div.nicebutton button { }
form.niceform div.niceerror label { color: #e11615; }
form.niceform div.niceerror input { color: #e11615 !important; }
form.niceform div.niceerror textarea { color: #e11615 !important; }
form.niceform div.niceerror select { color: #e11615 !important; }
form.niceform div.niceerror span.niceerrormessage { display: block; clear: both; float: left; width: 90%; font-size: 100%; color: #e11615; padding-left: 21px; background: transparent url("/images/icon.error.png") no-repeat; min-height: 16px; }
form.niceform div.niceerror span.niceinfo { color: #e11615; }

/* Form klasse - specifieke layout */
form.niceform div.niceentry label { display: none; }
form.niceform div.niceentry input { border: 0; border-bottom: 1px dashed #696d69; padding: 11px 0 0 30px; font-size: 14px; color: #696d69; }
form.niceform div.niceentry textarea { line-height: 150%; height: 420px; border: 0; padding: 11px 0 0 30px; font-size: 14px; color: #696d69; }
textarea#txtMessage { background: transparent url("/images/bg.textarea.png") no-repeat left 9px; }
input#txtName { background: transparent url("/images/name.png") no-repeat left 9px; }
input#txtEmail { background: transparent url("/images/email.png") no-repeat left 11px; }
input#txtTelephone { background: transparent url("/images/telephone.png") no-repeat left 9px; }
form .approved { color: #1fd31f !important; }
form.niceform div.nicebutton button { float: right; padding: 5px 15px; margin-right: 10%; }

/* contact */
p#confirmbot { color: #800; border: 1px solid #800; padding: 5px 5px 5px 40px; background: url('/images/icon.error.png') no-repeat 10px 7px; width: 80%; font-style: italic; }

/* flashMessage */
div#flashMessage { clear: both; width: 400px; margin: 25px auto 0 auto; border: 1px solid #baba45; background: #fbfba9 url("/images/icon.tick.png") no-repeat 10px 10px; box-sizing: border-box; }
div#flashMessage span { display: block; margin: 8px 14px 8px 33px; }
div#flashMessage { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }




/* Aurealis Picture Viewer * /
div#apv { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; opacity: 0.4; z-index: 8; }

div#apvHeader { display: none; position: fixed; left: 0; bottom: 4%; width: 100%; border: 2px solid #fff; border-left: 0px; border-right: 0px; height: 30px; background-color: #333; z-index: 10; }
	div#apvNavigation { position: absolute; top: 0; left: 50%; height: 100%; width: 300px; margin-left: -150px; overflow: hidden; }
	div#apvNavigation a { display: block; width: 30px; height: 20px; margin: 5px 10px; text-indent: -9000px; overflow: hidden; }
	div#apvNavigation a.inactive { opacity: 0.2; cursor: default; }
	div#apvNavigation span { display: block; float: left; width: 180px; margin: 0 10px; color: #fff; font-size: 15px; text-align: center; padding-top: 4px; }
	a#apvPrev {float: left; background: transparent url("/images/apv/navigation.png") no-repeat center -60px; }
	a#apvNext { float: right; background: transparent url("/images/apv/navigation.png") no-repeat center -30px; }
	div#apvClose { position: absolute; top: 0; right: 50px; width: 30px; height: 100%; }
	a#apvCloseLink { display: block; width: 30px; height: 30px; margin: 0; text-indent: -9000px; background: transparent url("/images/apv/navigation.png") no-repeat center 4px; }
div#apvImage { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; text-align: center; z-index: 9; }
	img#apvActiveImage { border: 9px solid #fff; margin-top: 1%; border-bottom: 35px solid #fff; background: #fff; }
	div#apvImage span { color: #000; margin-top: -30px; }

/* Aurealis Google Maps Viewer */
a.aurealisgooglemapsviewer { display: block; width: 99%; height: 450px; border: 1px solid #000; margin-bottom: 1.143em; }

div#agv { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; opacity: 0.4; z-index: 8; }

div#agvHeader { display: none; position: fixed; left: 0; bottom: 4%; width: 100%; border: 2px solid #fff; border-left: 0px; border-right: 0px; height: 30px; background-color: #333; z-index: 10; }
	div#agvClose { position: absolute; top: 0; right: 50px; width: 30px; height: 100%; }
	a#agvCloseLink { display: block; width: 30px; height: 30px; margin: 0; text-indent: -9000px; background: transparent url("/images/apv/navigation.png") no-repeat center 4px; }
div#agvMaps { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9; }
	div#agvMap { border: 9px solid #fff; margin: 1% 75px; background: #fff; }*/