@import "bootstrap/_critical.less";
@import "bratpack/_bratpack.less";

@import "_variables.less";
@import "_mixins.less";
@import "_icons.less";
@import "slick.less";

// Extra small devices (phones, less than 768px)

// basic adds:
::-moz-selection { background-color: @tpl-default; color: #fff; }
::selection { background-color: @tpl-default; color: #fff; }

section{
	margin-bottom:@grid-gutter-width;
	p {line-height: 34px;}
	ul, ol {line-height: 34px; margin-left: 30px;}
	img{ max-width: 100%;height:auto; }
	iframe{ max-width: 100%; }
	table{max-width:100%;}
}

.btn{
	line-height: @font-size;
	text-transform: uppercase;
	transition: all 0.6s;

	&.btn-primary, &.btn-default {
		position: relative;
		padding-right: 34px;
		&:after{
			content:'';
			display: block;
			width: 12px; //21px;
			height: 18px; //32px;
			position: absolute;
			background: transparent url("/@{img-url}/icons/angle_right.svg") center center no-repeat;
			background-size: contain;
			right: 6px;
			.center-y(absolute);
		}
	}

	@media(max-width:@screen-xs-min){ white-space: normal; }
}
.btn-link {
	text-transform: uppercase; font-weight: bold;
}
form{
	font-size:16px;
}
.form-control{
	box-shadow: none;
	font-size:16px;
}
label{
	font-weight: normal;
	&.control-label {margin-top:10px;}
}
.txt-required {
	font-size:15px;
}

.heading{
	font-family: @heading-font-family;
	font-weight: normal;
}


// Header
header{
	#header-in{ padding-top: 15px;}
	#logo{
		width: 160px;
		position:absolute;
		top: -@mobile-nav-height; left: 0;
		z-index: 1201;
		background-color: #fff;
		padding: 0 15px 0px;
		a {
			display: inline-block;
			max-width: 100%;
			img { max-width: 100%;height:auto; }
		}
	}
	.contact-list {
		margin-top: 20px;
		ul{
			float: right;
		}
		li{
			float:left;
			margin-right: 20px; margin-left: 10px;
			font-size: 16px;
			text-transform: uppercase; color:@tpl-default;
			a{
				color:@tpl-default;
			}
			.icon {
				&.icon-phone {
					width: 17px; height: 17px;
				}
				&.icon-envelope {
					width: 21px; height: 17px;
				}
			}
		}
	}
	#quickSearchForm {
		display: none;
		position: absolute;
		width: 100%;//400px;
		z-index: 102;
		right: 0;
		top: 80px;//40px;
		background-color: #fff;
		padding: 15px 15px 0;
		#quickSearch {
			line-height: 22px;
			height: 34px;
		}
	}
}
// Nav
nav{
	.nav-in{}
	ul {
		float: right; width: auto;
		li {
			a {
				padding: 10px 20px;
				font-size: 22px; line-height: 28px;
			}
			&:hover, &:active, &:focus, a.active {
				color: @tpl-default;
			}
			ul{
				padding-bottom: 10px;
				li{
					a {
						padding: 7px 20px;
						font-size: 19px; line-height: 24px;
					}
					&:hover, &:active, &:focus, a.active {
						color: @tpl-default;
					}

				}
			}
		}
	}
}
// Slideshow
#slideshow{
	margin-bottom:@grid-gutter-width*2.5;
	#slideshow-in{
		.slide{
			.slide-text {
				.slide-text-in{
					background: transparent;
					padding: 10px 40px;
					.slide-title {
						background-color:#fff;
						display: inline-block;
						padding: @grid-gutter-width/2 @grid-gutter-width;
						font-size: 30px; line-height: normal;
						font-weight: normal;
					}
					.btn-primary{
						//margin-left: 20px;
						padding:@grid-gutter-width/2 @grid-gutter-width*1.5 @grid-gutter-width/2 @grid-gutter-width/2;
						font-size: 16px;
						&:after{
							right: 15px;
						}
					}
				}
			}
		}
	}
}

// Page header
#pageheader{
	width:100%; .min-height; float:left;
	margin-bottom:@grid-gutter-width/2;
	#pageheader-in{
		.div-in();
		position: relative;
		height: 120px;
		@media(min-width:@screen-md-min){ padding:0;}
	}
	&.page-img {
		background-color:#fff; background-position:50% 50%; background-repeat:no-repeat; background-size:cover; width:100%; height:100%; float:left; overflow:hidden;
		img{ display:none !important;}
	}
	.header-title {
		.center-y(absolute);
		h1 {
			background-color: #fff;
			padding: @column-spacing/2 @column-spacing;
		}
	}
}

// Breads
#breadcrumbs{
	#breadcrumbs-in{
		margin-bottom:@grid-gutter-width/2;
	}
}
// Content
main{
	.contact-information{
		width: 100%; float: left; .min-height;
		background: #f7f1d3 url("/@{img-url}/bg_left.png") right top no-repeat;
		padding: @grid-gutter-width;
		margin-bottom: @grid-gutter-width;

		.fa-ul {
			margin-left: 40px;
		}
		ul {
			li {
				font-size: 16px; line-height: 27px;
				.icon {
					&.icon-marker {
						width: 17px; height: 24px;
					}
					&.icon-phone {
						width: 17px; height: 17px;
					}
					&.icon-envelope {
						width: 21px; height: 17px;
					}
					&.icon-kiem {
						width: 17px; height: 17px;
					}
				}

			}
		}
	}
}

#quote {
	width: 100%; float: left; .min-height;
	border-top: 1px solid @tpl-default;
	&.quote-noborder{border-top: 0;}
	#quote-in{
		.div-in();
		padding-top: @grid-gutter-width;
		padding-bottom: @grid-gutter-width;
		&:not(.slick-initialized) .quote-data:not(:first-child) {
			display: none;
		}
		.quote-data, #quote-data{
			max-width: 100%;
			display: inline-block; margin: 0 auto;
		}
		.heading;
		text-align:center;
		font-size: 24px; line-height:32px;
		color:@tpl-default;

	}
}

#pre-footer {
	width: 100%; float: left; height:320px;
	background: #e0f37f url("/@{img-url}/bg_pre_footer.jpg") center center no-repeat;
	#pre-footer-in{
		.div-in();
		padding-left: 0; padding-right: 0;
		#pre-footer-content{
			padding: @column-spacing;
			background-color: rgba(242,254,184,0.6);
			.pre-footer-title{.heading; margin-bottom: 20px;font-size: 22px;}
			p{font-size: 16px;}
		}
	}
}
// Footer
footer{
	background-color: @tpl-primary; color: #fff; padding-top: @grid-gutter-width; padding-bottom: @grid-gutter-width;
	#footer-in{
		@media(max-width:@screen-xs-min){padding: 0 @grid-gutter-width/2; }
	}
	a{
		.heading; color:#fff;
	}
	#copyright{.heading; font-size: 18px;}
	.contact-list {
		ul {float:left;}
		li {
			width:100%; float:left;margin-right: 30px; .heading; text-transform: uppercase;font-size:20px;
			.icon {
				&.icon-phone {
					width: 17px; height: 17px;
				}
				&.icon-envelope {
					width: 21px; height: 17px;
				}
			}
		}
	}

	#footer-right {
		//float: right;
		width: 100%;//floor((4/12)*100%);
	}
	#footer-left {
		//float: left;
		width: 100%; //floor((8/12)*100%);
	}

	// Nav
	nav{
		.nav-in{}
		ul {
			float: left; width: auto; margin-bottom: @column-spacing;
			li {
				a {
					padding: 4px 30px 4px 0;
					font-size: 20px; line-height: normal;
				}
				&:hover, &:active, &:focus, a.active {
					color: @tpl-default;
				}
				//ul{
				//	padding-bottom: 10px;
				//	li{
				//		a {
				//			padding: 7px 20px;
				//			font-size: 19px; line-height: 24px;
				//		}
				//		&:hover, &:active, &:focus, a.active {
				//			color: @tpl-default;
				//		}
				//
				//	}
				//}
			}
		}
	}
}

// Home
#usp-bar {
	//padding-top: @grid-gutter-width;
	ul {
		margin-left: 0px;
		list-style: none;
		color: @tpl-default;
		li {
			position:relative;
			font-size: 20px; line-height: 25px;
			margin-bottom: @grid-gutter-width/2;
			padding-left: 30px;
			i {
				position: absolute; top: 3px; left: 0;
				&.icon.icon-angle-right{
					width: 13px;
					height: 20px;
				}
			}
		}
	}
}

#educations {
	width: 100%; float: left; .min-height;
	background: #32786d url("/@{img-url}/bg_themes.png") center center no-repeat;
	#educations-in{
		.div-in();
		padding-top: @grid-gutter-width;
		padding-bottom: @grid-gutter-width;
		.block-title{.heading;color:#fff;text-align:center;}
		#education-themes{
			padding-top:@grid-gutter-width;
			padding-bottom:@grid-gutter-width;
			.item {
				width: 100%; float: left; .min-height;
				padding: 0 10px;
				> .in, > a {
					background-color:#fff;
					&:hover .item-overlay {
						height: 100%;
					}
					.item-img{
						position: relative;
					}
					.item-overlay{
						position: absolute;
						bottom: 0;
						left: 0;
						right: 0;
						background-color: rgba(192,192,192,0.7);
						overflow: hidden;
						width: 100%;
						height: 0;//100%;
						transition: .5s ease;
					}
					.item-text {
						font-size: 18px;
						padding: 18px 18px;

						width: 100%;
						position: absolute;
						height: 100%;

						top: 50%;
						left: 50%;
						-webkit-transform: translate(-50%, -50%);
						-ms-transform: translate(-50%, -50%);
						transform: translate(-50%, -50%);
					}
					.item-title{
						.heading;
						text-align:center;
						color:@tpl-primary;
						font-size: 20px;
						padding: 6px 18px;
					}
				}
			}
		}
	}
}
#courses {
	width: 100%; float: left; .min-height;
	#courses-in{
		.div-in();
		padding-top: @grid-gutter-width;
		padding-bottom: @grid-gutter-width;
		.block-title{.heading; margin-bottom:@grid-gutter-width;}
		#courses-left{
			width: 100%; float: left; .min-height;

			.item{
				padding: 0 0 @column-spacing 0;
				border-bottom: 1px solid @tpl-default;
				margin-bottom: @column-spacing;
				.item-content {
					margin-bottom: 10px;
				}
			}
		}
		#courses-right{
			width: 100%; float: left; .min-height;

			.item{
				width: 100%; float: left; .min-height;
				padding: 0 0 @column-spacing 0;
				border-bottom: 1px solid @tpl-default;
				margin-bottom: @column-spacing;
				> a, > .in {
					width: 100%; float: left; .min-height;
				}

				.item-content{
					width: 100%; float: left; .min-height;
					margin-bottom: 10px;
					padding-right: 0;
				}
				.item-cta{
					width: 100%; float: left; .min-height;
					padding-left: 0;
				}
			}
		}
		.item {
			.item-title{
				margin-bottom: 15px;
			}
			.item-text, .item-more {
				font-size: 16px;
			}
		}
		.courses-cta {
			width: 100%; float: left; .min-height;
			text-align:center;
			margin: @grid-gutter-width 0;

		}
	}
}
#latest-news {
	width: 100%; float: left; .min-height;
	background: #faf5da url("/@{img-url}/bg_latest_news.png") center center no-repeat;
	#latest-news-in{
		.div-in();
		padding-top: @grid-gutter-width;
		padding-bottom: @grid-gutter-width;
	}
	#latest-news-title{.heading; margin-bottom:@grid-gutter-width;}
	#latest-news-cta{
		text-align:center;
	}
}
#news-overview{
	&.overview{
		.item {
			> a, > .in {
				.item-img{
					width:100%;
					//padding: 0 0 10px 0;
					margin: 0 0 10px 0;
				}
				.item-content {
					width:100%;
					padding: 0 0 10px 0;
					//padding: 0 0 10px @column-spacing;
					.item-title{
						font-size: 22px;
						margin-bottom: 4px;
					}
					.item-date{
						font-size: 22px;
						margin-bottom: 8px;
					}
					.item-text{
						font-size: 16px;
						margin-bottom: 8px;
					}
					.item-more{
						font-size: 16px;
					}
				}
			}
		}
	}
}

// Aanbod: trainingen, workshops, etc.
#training-intro{
	padding-bottom: @column-spacing;
	border-bottom: 1px solid @tpl-default;
	margin-bottom: @column-spacing;
}
#training-overview {
	margin-bottom: @grid-gutter-width*2;
	&.overview{
		.item {
			padding-bottom: @column-spacing;
			border-bottom: 1px solid @tpl-default;
			margin-bottom: @column-spacing;
			>a , >.in {
				.item-img{
					width:100%; float:left;
					margin-bottom: @column-spacing/2;
				}
				.item-props {
					font-size: 11px;
					span { display: inline-block; padding: 4px 5px; background: #f7f7f7; margin-right: 4px; }
				}
				.item-content {
					width:100%; float:left;
					padding: 0 0 10px 0px;
					.item-title {
						.item-date{width: auto; display: inline-block;}
					}
					.item-text{
						padding-bottom: 10px;
						font-size: 16px;
					}
				}
				.item-meta{
					font-size:16px;
					padding-top: @column-spacing/2;
				}
				.item-cta{
					width:100%; float:left;
					padding: 0 0 10px 0;

					.btn{margin-bottom: 10px;}
				}
			}
		}
	}
}
.training-filters{
	background: #faf5da url("/@{img-url}/bg_left.png") right top no-repeat;
	font-size: 16px;

	padding:@column-spacing;
	.option-box {
		padding-bottom: @column-spacing;
		.box-name { font-weight: bold; font-size: 20px; }
		ul { list-style: none; padding: 0; margin: 0; }
		label { margin: 0; display: block; line-height: normal; font-weight: normal; }
	}

}
.location-information{
	background: #faf5da url("/@{img-url}/bg_left.png") right top no-repeat;
	font-size: 16px;
	margin-bottom: @grid-gutter-width;
	padding:@column-spacing 30px;
	h2 { font-size: 18px; line-height: 26px; }
	.fa-li {
		left: 0; text-align: left;
	}
	.fa-ul {
		padding-left: 26px; position: relative; margin: 0;
		> li { position: static; }
	}
	ul {
		li {
			font-size: 16px; line-height: 27px;
			.icon {
				margin-top: 4px;
				&.icon-marker {
					width: 17px; height: 24px;
				}
				&.icon-phone {
					width: 17px; height: 17px;
				}
				&.icon-envelope {
					width: 21px; height: 17px;
				}
				&.icon-angle-right {
					width: 14px; height: 21px;
				}
				&.icon-kiem {
					width: 17px; height: 17px;
				}
			}

		}
	}

}
#training-details{
	width:100%; .min-height; float:left;
	margin-bottom: @grid-gutter-width;
	#training-heading{
		width:100%; .min-height; float:left;
		h1{
			margin-bottom: @column-spacing/2;
		}
		.training-info{
			font-size: 16px; font-weight:bold;
			margin-bottom: @column-spacing;
		}
	}
	#training-content{
		width:100%; .min-height; float:left;
		font-size: 16px;
		p { line-height: 27px;}
		#training-image{
			padding:0 0 floor((@grid-gutter-width / 2)) floor((@grid-gutter-width / 2)); float:right;
			max-width:@news-image-width;
			img{ width:100%;}
		}
	}
}
#registration-details {
	.generic-error { background: #ff5d6a; font-size: 11px; color: #fff; padding: 4px;  }
	.has-generic-error { border: 1px solid #ff5d6a; }
	.bootstrap-select .dropdown-toggle {
		border: none; height: 45px; line-height: 45px; padding: 0 10px;
		font-size: 16px;
		&:before, &:after { display: none; }
	}
	.filter-option { text-transform: none; }
	.radio-inline + .radio-inline {
		margin-top:6px;
	}
}
#registration-details{
	width: 100%; float: left; .min-height;
	background: #32786d url("/@{img-url}/bg_registration_form.png") center center no-repeat;
	#registration-details-in{
		.div-in();
		padding-top: @grid-gutter-width;
		padding-bottom: @grid-gutter-width;
		color: #fff;
		#registration-title{
			text-align: center;
			margin-bottom: @grid-gutter-width;
			h3 {
				.heading;
				color: #fff;
				font-size: 34px;
			}
		}
	}
}

// Training material
#material {
	width: 100%; float: left; .min-height;
	margin-bottom: @grid-gutter-width*2;
	.item {
		width: 100%; float: left; .min-height;
		margin-bottom: @column-spacing;
		font-size: 16px;
		.item-in{
			width: 100%; float: left; .min-height;
			padding-bottom: @column-spacing;
			border-bottom: 1px solid @tpl-default;
		}
		.item-title {
			width: 100%; float: left; .min-height;
			font-weight: bold;
		}
		.item-content {
			width: 100%; float: left; .min-height;
		}
		.item-text {
			width: 65%; float: left; .min-height;
		}
		.item-actions {
			width: 35%; float: left; .min-height;
			text-align: right;
			a{
				font-weight: bold;
			}
		}
	}
}

// Account, login, etc.
#login-intro {
	text-align:center;
}
#account-container {
	width: 100%; float: left; .min-height;
	background: #32786d url("/@{img-url}/bg_themes.png") center center no-repeat;
	#account-container-in{
		.div-in();
		padding-top: @grid-gutter-width;
		padding-bottom: @grid-gutter-width;

		.account-box { color:#fff; font-size: 18px;}
		a { color:#fff; font-size: 16px; text-decoration: underline;}
	}
}



.content-blocks {
	width: 100%; float: left; .min-height;
	margin-bottom: @grid-gutter-width;
	.content-block {
		padding-bottom: @column-spacing;
		border-bottom: 1px solid @tpl-default;
		margin-bottom: @column-spacing;
		.item-title {
			margin-bottom: @column-spacing/2;
			font-weight: bold;
		}
		.item-text {
			font-size: 16px;
		}
	}
}

#searchForm {
	#searchSubmit{
		height: 45px;
		padding-top: 12px;
	}
}
.search-results {
	.overview{
		.item {
			> a, > .in {
				.item-content {
					.item-title{
						font-size: 20px;
					}
				}
			}
		}
	}
}


// Small devices (tablets, 768px and up)
@media (min-width:@screen-sm-min){
	body{
		font-size:22px;
	}
	h1{font-size:35px;line-height:normal; margin-bottom: @grid-gutter-width;}
	section {
		p, ul, ol {
			line-height: 37px;
		}
	}

	#pre-footer {
		height: 450px;
	}

	footer {
		.contact-list {
			ul {float:right;}
			li {width:auto; }
		}
		#footer-right {
			float: right;
			width: floor((4/12)*100%);
		}
		#footer-left {
			float: left;
			width: floor((8/12)*100%);
		}
	}

	// Slideshow
	#slideshow{
		#slideshow-in{
			height: 566px;
			.slide {
				.slide-text {
					.slide-text-in {
						padding: 100px 20px 0;
						.slide-title {
							font-size: 60px;
						}
						.btn-primary {
							margin-left: 90px;
							font-size: 22px;
						}
					}
				}
			}
		}
	}

	// Home
	#usp-bar {
		padding-top: @grid-gutter-width*2.5;
		ul {
			margin-left: 30px;
			li{
				padding-left:40px;
				margin-bottom: @grid-gutter-width;
				font-size: 22px; line-height: 32px;
				i {
					&.icon.icon-angle-right{
						width: 17px;
						height: 26px;
					}
				}
			}
		}
	}


	// Page header
	#pageheader{
		#pageheader-in{
			height: 365px;
		}
	}

	#quote {
		#quote-in {
			padding-top: @grid-gutter-width*2;
			padding-bottom: @grid-gutter-width*2;
			.quote-data, #quote-data {
				max-width: 50%;
			}
			font-size: 39px; line-height: 53px;
		}
	}


	#educations {
		#educations-in {
			padding-top: @grid-gutter-width*2;
			padding-bottom: @grid-gutter-width*2;

			#education-themes {
				.item {
					width: 33.333%;
					padding: 0 10px;
				}
			}
		}
	}


	#courses {
		#courses-in{
			padding-top: @grid-gutter-width*2;
			padding-bottom: @grid-gutter-width*2;
			#courses-left{
				.item{
					width: 50%; float:left; .min-height;
					margin-bottom: 0;
					&:nth-child(4n){
						border-right: 1px solid @tpl-default;
						padding-left: 0;
						border-bottom:0;
					}
					&:nth-child(4n+1){
						padding-right: 0;
						border-bottom:0;
					}
					&:nth-child(4n+2){
						border-right: 1px solid @tpl-default;
						padding-left: 0;

					}
					&:nth-child(4n+3){
						padding-right: 0;
					}
					.in {
						padding: @grid-gutter-width;
					}
				}
			}
			#courses-right{
				.item{
					.item-content{
						width: 60%;
						padding-right: 10px;
						margin-bottom: 0px;
					}
					.item-cta{
						width: 40%;
						padding-left: 10px;
					}
				}
			}


		}
	}
	#latest-news {
		#latest-news-in{
			padding-top: @grid-gutter-width*2;
			padding-bottom: @grid-gutter-width*2;
		}
	}

	#news-overview {
		&.overview {
			.item {
				> a, > .in {
					.item-img {
						width: 50%;
					}

					.item-content {
						width: 50%;
						padding: 0 0 10px @column-spacing;
					}
				}
			}
		}
	}


	// Aanbod: trainingen, workshops, etc.
	#training-overview {
		&.overview{
			.item {
				>a , >.in {
					.item-img{
						width:25%; //25
					}
					.item-title {
					}
					.item-content {
						width:75%;
						padding: 0 0 10px 20px;
						.item-text{
							//width:72%;
							//padding-right: 10px;
							//padding-bottom: 0;
						}
					}
					.item-cta{
						//width:28%;
						//padding: 0 0 10px 10px;
						.btn {width: 100%;}
					}
				}
			}
		}
	}
	#registration-details {
		#registration-details-in {
			padding-top: @grid-gutter-width*2;
			padding-bottom: @grid-gutter-width*2;
		}
	}

	#account-container {
		#account-container-in{
			padding-top: @grid-gutter-width*2;
			padding-bottom: @grid-gutter-width*2;
		}
	}

	// Training material
	#material {
		.item {
			width: 50%;
			&:nth-child(2n) {
				padding-right: 20px;
			}
			&:nth-child(2n+1) {
				padding-right: 20px;
			}
		}
	}
}

// Medium devices (desktops, 992px and up)
@media (min-width:@screen-md-min){
	header {
		.contact-list {
			margin-top: 0px;
			li{
				font-size: 17px;
			}
		}
		#logo{
			width: auto;
			top: 0;
			padding: 0 15px 15px;
		}
		#quickSearchForm {
			width: 400px;
			top: 38px;
		}
	}

	#educations {
		#educations-in {
			//padding-top: @grid-gutter-width*2;
			//padding-bottom: @grid-gutter-width*2;

			#education-themes {
				.item {
					width: 20%;
					padding: 0 10px;
				}
			}
		}
	}

	#courses {
		#courses-in{
			padding-top: @grid-gutter-width*2;
			padding-bottom: @grid-gutter-width*2;
			#courses-left{
				width: 45%;
				padding-right: @grid-gutter-width*2;
				.item{
					width: 50%; float:left; .min-height;
					margin-bottom: 0;
					&:nth-child(4n){
						border-right: 1px solid @tpl-default;
						padding-left: 0;
						border-bottom:0;
					}
					&:nth-child(4n+1){
						padding-right: 0;
						border-bottom:0;
					}
					&:nth-child(4n+2){
						border-right: 1px solid @tpl-default;
						padding-left: 0;

					}
					&:nth-child(4n+3){
						padding-right: 0;
					}
					.in {
						padding: @grid-gutter-width;
					}
				}
			}
			#courses-right{
				width: 55%;
				padding-left: @grid-gutter-width*2;

				.item{
					.item-content{
						width: 60%;
						padding-right: 10px;
					}
					.item-cta{
						width: 40%;
						padding-left: 10px;
					}
				}
			}
		}
	}
	// Aanbod: trainingen, workshops, etc.
	#training-overview {
		&.overview {
			.item {
				> a, > .in {

					.item-img{
						width:19%; //25
					}
					.item-title {
					}
					.item-content {
						width:81%;
						padding: 0 0 10px 20px;
						.item-text{
							width:72%;
							padding-right: 10px;
							padding-bottom: 0;
						}
					}
					.item-cta{
						width:28%;
						padding: 0 0 10px 10px;
					}

				}
			}
		}
	}
}

// Large devices (large desktops, 1200px and up)
@media (min-width:@screen-lg-min){}