/* *********************************************************************************************************************
	One% CSS Grid - 12 Columns Fluid CSS Grid System

	Why One% ? Let’s count ...
		we have 12 columns (magic number divided by 2, 3, 4, 6)

		for 12 columns we need 11 margins

		so if we count margin 3%, then 3% * 11 margins = 33%

		and if we count width of 1 column 5.5%, than 5.5% * 12 columns = 66%

		in the end we have 33% + 66% = 99% aaand ???

		1% is still here so that's the name - One%

	2 starting options ? Let’s count a bit more ...
		1200px - perfectly fits 1280 screens
			12 columns
			margin 3% / 36px (full-width)
			col1 5.5% / 66px (full-width)

		1000px - perfectly fits 1024 screens
			12 columns
			margin 3% / 30px (full-width)
			col1 5.5% / 55px (full-width)
*/





/* *********************************************************************************************************************
 * Main container for all
 */
.onepcssgrid-1000, .onepcssgrid-1200 {
	margin: 0 auto;
	padding: 0 0 0 1%; /* THAT'S THE NAME ;) */
}

.onepcssgrid-1200 {
	max-width: 1220px;
}

.onepcssgrid-1000 {
	max-width: 1020px;
}

.onerow {
	clear: both;
}





/* *********************************************************************************************************************
 * Common columns definitions
 */
.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12 {
	float: left;
	margin: 0 3% 0 0;
}

.col1.last, .col2.last, .col3.last, .col4.last, .col5.last, .col6.last, .col7.last, .col8.last, .col9.last, .col10.last, .col11.last, .col12 {
	margin: 0;
}

.col1 { width: 5.5%; }
.col2 { width: 14%; }
.col3 { width: 22.5%; }
.col4 { width: 31%; }
.col5 { width: 39.5%; }
.col6 { width: 48%; }
.col7 { width: 56.5%; }
.col8 { width: 65%; }
.col9 { width: 73.5%; }
.col10 { width: 82%; }
.col11 { width: 90.5%; }
.col12 { width: 99%; margin: 0; }

.col1 img, .col2 img, .col3 img, .col4 img, .col5 img, .col6 img, .col7 img, .col8 img, .col9 img, .col10 img, .col11 img, .col12 img {
	min-width: 10%;
	max-width: 100%;
	width: auto;
	height: auto;
	/*display: block;*/
}

.col1 img.fullsizeImg, .col2 img.fullsizeImg, .col3 img.fullsizeImg, .col4 img.fullsizeImg, .col5 img.fullsizeImg, .col6 img.fullsizeImg, .col7 img.fullsizeImg, .col8 img.fullsizeImg, .col9 img.fullsizeImg, .col10 img.fullsizeImg, .col11 img.fullsizeImg, .col12 img.fullsizeImg {
	min-width: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
}

/* Company logo */
.logo {
	margin-bottom: 2em;
	margin-left: 20px;
}

/* header logo (small) */
#miniLogo.switcher {
	display: none;
}

/* main menu */
.nav {
	display: block;
}
.nav:after {
	display: block;
	content: '';
	clear: both;
}
	.nav li {
		float: left;
		margin-right: 1.25em;
		font-size: 1em;
		margin-top: 0.5em;
		margin-bottom: -1px;
	}
		.nav li a {
			font-weight: bold;
			display: block;
			line-height: 1.8em;
			color: #999;
			text-decoration: none;
			position: relative;
			padding: 0.2em 0.5em;
			text-transform: uppercase;
			font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
		}
		.nav li a:hover {
			text-decoration: none;
			color: #666;
		}
		.nav li a.active {
			color: #FFF;
			background: #d12e3f;
			border-radius: 3px 3px 0 0;
			-webkit-box-shadow: inset 0px 0px 1px 1px rgba(0, 0, 0, 0.2);
			-moz-box-shadow:    inset 0px 0px 1px 1px rgba(0, 0, 0, 0.2);
			box-shadow:         inset 0px 0px 1px 1px rgba(0, 0, 0, 0.2);
		}
	.nav li.menu {
		display: none;
		border: none;
	}
	.nav li[hide=true] {
		display: block;
	}

	/*** ESSENTIAL STYLES: Superfish ***/
	.sf-menu, .sf-menu * {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.sf-menu li {
		position: relative;
	}
	.sf-menu ul {
		position: absolute;
		display: none;
		top: 100%;
		left: 0;
		z-index: 9999;
	}
	.sf-menu > li {
		float: left;
	}
	.sf-menu li:hover > ul,
	.sf-menu li.sfHover > ul {
		display: block;
	}
	
	.sf-menu a {
		display: block;
		position: relative;
	}
	.sf-menu ul ul {
		top: -1px;
		left: 100%;
	}
	.sf-menu > li > ul {
		background: #F9F9F9;
		margin: 0;
		-webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.45);
		-moz-box-shadow:    1px 1px 1px 1px rgba(0, 0, 0, 0.45);
		box-shadow:         1px 1px 1px 1px rgba(0, 0, 0, 0.45);
	}
	.sf-menu > li > a.active + ul {
		background: #D12E3F;
	}
	.sf-menu > li > ul > li {
		padding: 0;
		margin: 0;
		height: auto;
		float: none;
	}
	.sf-menu > li > ul > li > a {
		color: #999;
		line-height: 1.9em;
		border-left: 3px solid transparent;
		padding: 0.2em 0.5em;
		white-space: nowrap;
		display: block;
	}
	.sf-menu > li > a.active + ul > li > a {
		color: #FFF;
	}
	.sf-menu > li > ul > li > a.active {
		border-left: 3px solid #FFF;
		border-radius: 0 0 0 0;
		-webkit-box-shadow: none;
		-moz-box-shadow:    none;
		box-shadow:         none;
	}
	.sf-menu > li > a.active + ul > li > a.active {
		border-left: 3px solid #FFF;
	}
	.sf-menu > li > ul > li > a:hover {
		color: #666;
		border-left: 3px solid #d12e3f;
	}
	.sf-menu > li > a.active + ul > li > a:hover {
		color: #FFF;
		border-left: 3px solid #FFF;
	}
	.sf-menu > li > ul > li > a.active:hover {
		color: #FFF;
		border-left: 3px solid #FFF;
	}
	
/* user menu quick button */
div.login {
	position: relative;
	text-align: right;
}

/* Call to action header button */
.headerCta {
	float: right;
	margin-right: -15px;
}

/* Evenementen blokken / widgets */
.widgetWindow.eventWidget form {
	margin-bottom: 0;
}
.widgetWindow.eventWidget.small {
	padding-bottom: 20px;
}
.widgetWindow.eventWidget a.button {
	position: absolute;
	bottom: 20px;
	left: 20px;
}

/* lightbox popup (default center position) */
#lightbox-container {
	width: 640px;		
	margin-left: -320px;
}

#twitter {
	min-height: 310px;
}

#subFooter {
	color: #FFF;
	font-size: 0.8em;
	height: 50px;
	line-height: 30px;
	background-color: #D12E3F;
}



/* *********************************************************************************************************************
 * Disable padding left/right 10px if I'm 1024 or gibber - correct percentage math
 */
@media all and (min-width: 1024px) {
	
	.onepcssgrid-1000 {
		max-width: 1000px;
	}

	.onepcssgrid-1000 .onerow {
		padding: 0;
	}
	
}





/* *********************************************************************************************************************
 * Small devices
 */
@media all and (max-width: 768px) {
	body {
		overflow-x: hidden;
	}
	.onerow {
	}

	.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11 {
		float: none;
		width: 99%;
	}
	
	#header {
		padding: 0 0 0 0 !important;
	}
	
	#menuButton {
		display: block !important;
	}
	
	.headerCta {
		margin: 0;
		margin-top: 0.5em;
		margin-bottom: 0.5em;
	}
	.headerCta a:before {
		border: none;
	}
	
	/* header logo (small) */
	#miniLogo.switcher {
		display: block;
	}
	
	/* Company logo */
	.logo {
		display: none;
	}
	
	/* main navigation (full width buttons) */
	.nav {
		margin-top: 0;
		margin-bottom: 0;
	}
	.nav li {
		display: block;
		text-indent: 0.5em;
		float: none;
		margin: 0;
		padding: 0;
		border-top: none;
		height: auto;
		-webkit-transition: all 0.3s ease;
		-moz-transition: all 0.3s ease;
		-ms-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}
	.nav li.hide {
		opacity:0;
		height: 0;
		display: none;
	}
	.nav li a {
		padding: 2px 10px;
		line-height: 1.9em;
		margin: 0;
		height: auto;
		border-left: none;
		border-bottom: none;
	}
	.nav li a.active {
		border-left: none;
		border-bottom: none;
		border-radius: 0;
		-webkit-box-shadow: none;
		-moz-box-shadow:    none;
		box-shadow:         none;
	}
	.nav li a:hover {
		border-left: none;
		border-bottom: none;
	}
	.nav li.menu {
		display: block;
	}
	
	.sf-menu ul {
		position: relative;
		display: block;
		top: auto;
		left: auto;
		z-index: auto;
		margin-left: 10px;
	}
	.sf-menu > li {
		float: none;
	}	
	.sf-menu > li > ul > li > a {
		border-left: none !important;
	}
	.sf-menu > li > ul > li > a.active {
		border-left: none !important;
	}
	.sf-menu > li > a.active + ul > li > a.active {
		border-left: none !important;
	}
	.sf-menu > li > ul > li > a:hover {
		border-left: none;
	}
	.sf-menu > li > ul > li > a:before {
		content: "- ";
	}
	.sf-menu > li > ul {
		-moz-box-shadow: none;		/* Safari/Chrome, other WebKit */
		-webkit-box-shadow: none;	/* Firefox, other Gecko */
		box-shadow: none;			/* Default */	
	}
	/* lightbox popup (medium) */
	#lightbox-container {
		width: 480px;		
		margin-left: -240px;
	}
	
	/* lightbox popup (medium) */
	#lightbox-container {
		width: 480px;		
		margin-left: -240px;
	}
	
	#twitter {
		min-height: auto;
	}
	
	.widgetWindow.eventWidget {
		padding-bottom: 20px;
	}
	.widgetWindow.eventWidget a.button {
		position: relative;
		bottom: auto;
		left: auto;
		right: auto;
	}
	#subFooter { 
		height: 100px;
	}
}




/* *********************************************************************************************************************
 * Small devices
 */
@media all and (max-width: 999px) {
		
}





/* *********************************************************************************************************************
 * Small devices <640 width
 */
@media all and (max-width: 640px) {		
}

/* *********************************************************************************************************************
 * Small devices <480 width
 */
@media all and (max-width: 480px) {
	
	.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11 {
		float: none;
		width: 99%;
	}
	
	/* lightbox popup (small) */
	#lightbox-container {
		width: 320px;		
		margin-left: -160px;
	}
}





/* *********************************************************************************************************************
 * iPad (extra queries & tests)
 */
@media only screen and (device-width: 768px) {
	
	/* For general iPad layouts */
	/*.nav li {
		float: none;
		margin-right: 0;
	}
		.nav li a {
			display: inline-block;
		}
	*/
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
	
	/* For portrait layouts only */
		
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
	
	/* For landscape layouts only */

}