@charset "UTF-8";
/*!
 *	(c) Duracom.nl
 *	@author: Wout Kramer - @woutk88
 */

html {
	font-family: Arial, Verdana, sans-serif;
	font-size: 14px;
	line-height: 1.25;
}

html,
body { height: 100%; }

#map-container { 
	position: relative;
	overflow: hidden;
	height: 100vh;
}
	#map-container:before {
		display: block;
		content: '';
		width: 100%;
		height: 0;
		padding-top: 75%;
	}
	#map {
		position: absolute;
		height: 100%;
		top: 0;
		left: 0;
		width: 100%;
	}

.locations-list { list-style: none; }
	.locations-list li { overflow: hidden; }
	.locations-list li:not(:first-child) { border-top: 1px solid #e6e6e6; }
	.locations-list a { 
		display: block;
		text-decoration: none;
		padding: 12px 12px 12px 18px;
		font-size: 15px;
		outline: 0;
		color: #8c8c8c;
		overflow: hidden;
	}
	.locations-list .hover:not(.active) { background: #4285F4; color: #fff; }
		.locations-list .hover:not(.active) h3 { color: #fff; }
		.locations-list .hover:not(.active) a,
		.locations-list .hover:not(.active) .distance { color: #fafafa; }

	.locations-list .active { background: #fafafa; }
	.locations-list .active {
		/*
		position: relative;
		padding-top: 11px;
		padding-bottom: 11px;
		margin: -1px 0;
		background: #fc0;
		*/
		box-shadow: 0 1px 3px rgba(100,100,100,0.15) inset;
		border-left: 5px #fc0 solid;
		}
		.locations-list .active a { 
			padding-left: 13px;
			cursor: default;
		}

	.locations-list h3 {
		color: #000;
		margin-bottom: 5px;
		}
		.locations-list h3 i {
			font-weight: normal;
			font-style: normal;
			font-size: .85em;
			margin-right: 2px;
		}
	.locations-list .distance {
		font-size: .75em;
		color: #8c8c8c;
		margin: 5px 0 0;
	}
	.locations-list img {
		display: none;
		float: right;
		max-width: 85px;
		margin-left: 15px;
	}

	button { 
		border: 0;
		outline: 0;
		font: inherit;
		vertical-align: baseline;
		list-style: none;
		overflow: visible;
		text-transform: uppercase;
		font-weight: bold;
		font-size: 12px;
		padding: 5px 10px 3px;
		background-color: #4285F4;
		color: #fff;
		border-radius: 2px;
	}
	button:hover,
	button:focus { background-color: #3367d6; }

	.chosen-for {
		/*display: none;*/
		font-size: 12px;
		font-weight: bold;
		color: #5a9d00;
	}

	.locations-list button { margin: 0 0 14px 13px; }
	.locations-list .chosen-for { margin: 16px 12px 0 13px; }

	.locations-list button,
	.locations-list .chosen-for { display: none; }
	.locations-list .active .chosen-for,
	.locations-list .active button { display: block; }



table {
	margin: 0;
	clear: both;
	width: 100%;
	}
	td,
	th {
		font-size: inherit !important;
		color: inherit !important;
		font-family: inherit !important;
		padding: 2px 0;
	}

.selected-location {
	position: fixed;
	overflow: auto;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	background: rgba(0,0,0,0.85);
	padding: 12px;
	display: flex;

	visibility: hidden;
	opacity: 0;

	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	}
	.selected-location.js-active { 
		visibility: visible;
		opacity: 1;
	}

.selected-location .inner {
	margin: auto;
	width: 100%;
	max-width: 600px;
	padding: 20px;
	background: #fff;
	border-radius: 4px;
	}
	.selected-location img {
		float: right;
		width: 40%;
		max-width: 160px;
		margin: 0 0 12px 12px;
	}
	.selected-location .chosen-for { 
		border-bottom: 1px #eee solid;
		padding: 5px 0 12px;
		margin-bottom: 16px;
	}

.selected-location-details h3 {
	color: #000;
	margin-bottom: 5px;
}


.openingstijden {
	overflow: hidden;
	clear: both;
	font-size: .85em;
	margin-top: 12px;
	}
	.openingstijden h4 { margin-bottom: 6px; }

.buttons {
	overflow: hidden;
	margin: 16px -5px -2px;
	list-style: none;
	}
	.buttons li {
		float: left;
		width: 50%;
		padding: 0 5px;
	}
	.buttons button {
		width: 100%;
		padding: 8px 6px 6px;
	}
	button.js-cancel-selection { background-color: #a0a0a0; }
	button.js-cancel-selection:hover,
	button.js-cancel-selection:focus { background-color: #909090; }


#search-form {
	position: absolute;
	z-index: 4;
	top: 0;
	left: 0;
	width: 30%;
	}
	#search-form div {
		position: relative;
		margin: 12px 12px 0;
	}
	#search-form label { display: none; }
	#search-form input {
		border: 1px solid transparent;
		border-radius: 2px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		height: 36px;
		outline: none;
		/*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);*/
		box-shadow: 0 2px 4px rgba(0,0,0,0.2),0 -1px 0px rgba(0,0,0,0.02);

		background-color: #fff;
		/*font-family: Roboto;*/
		font-size: 16px;
		font-weight: 400;
		padding: 0 60px 0 13px;
		text-overflow: ellipsis;
		width: 100%;
	}

	#search-form input:focus { border-color: #4d90fe; }	

	#search-form button {
		position: absolute;
		right: 0;
		top: 0;
		height: 100%;
		border-radius: 0 2px 2px 0;
	}



#sidebar {
	/*position: absolute;
	top: 0;
	left: 0;
	*/
	position: relative;
	float: left;
	background: #fff;
	z-index: 3;
	min-height: 100%;
	height: 100%;
	overflow: hidden;

	opacity: 0;
	visibility: hidden;
	width: 30%;
	margin-left: -30%;
	-webkit-transition: 0.25s ease-in-out;
	-moz-transition: 0.25s ease-in-out;
	transition: 0.25s ease-in-out;

	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 20px rgba(0,0,0,0.3);
	box-shadow: 0 0 20px rgba(0,0,0,0.3);
	}
	#sidebar.js-active {
		margin-left: 0;
		visibility: visible;
		opacity: 1;
	}

	#sidebar:before {
		content: '';
		height: 64px;
		display: block;
		background: #ED8C00;
	}

	#sidebar > div {
		position: absolute;
		top: 64px;
		left: 0;
		width: 100%;
		bottom: 0;
		overflow: auto;
	}

	#sidebar > div::-webkit-scrollbar { width: 6px; height: 6px; }
	#sidebar > div::-webkit-scrollbar-button { width: 0px; height: 0px; }
	#sidebar > div::-webkit-scrollbar-thumb { background-color: #888; }
	#sidebar > div::-webkit-scrollbar-track { background-color: #f0f0f0; }


@media screen and (max-width: 767px) {
	#search-form {
		width: 100%;
		overflow: hidden;
		background-color: #fc0;
	}

	#search-form div { margin: 8px; }

	#map {
		height: auto;
		top: 52px;
		bottom: 0;
	}

	#sidebar:before { display: none; }
	#sidebar {
		position: absolute;
		left: 0;
		bottom: 0;
		min-height: 0;
		height: auto;
		width: 100%;
		float: none;
		margin: 0;
		
		-webkit-transform: translateY(100%);
		-moz-transform: translateY(100%);
		transform: translateY(100%);
		}
	#sidebar.js-active {
		margin-bottom: 0;
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		transform: translateY(0);
	}
		#sidebar > div { 
			position: static;
			width: auto;
		}
		.locations-list {
			display: table;
			padding: 0;
			margin-bottom: 0;

			-webkit-touch-callout: none;
			-webkit-user-select: none;
			-khtml-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
			}
			.locations-list li {
				padding: 0;
				margin: 0;
				width: 250px;
				position: relative;
				z-index: 2;
				display: table-cell;
				min-width: 250px;
				max-width: 250px;
				max-width: 92.5vw;
			}
			.locations-list h3 { 
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
			}

	.selected-location .inner { padding: 12px; }

} /* @media */

@media screen and (min-width: 992px) {
	.locations-list img { display: block; }
	.locations-list a { font-size: 15px; }
	.locations-list button { margin-bottom: 22px; }

	.locations-list .chosen-for {
		margin: 20px 19px 0 13px;
	}

	#sidebar,
	#search-form { width: 340px; }

	#sidebar:not(.js-active) { margin-left: -340px; }
} /* @media */


@media screen and (min-width: 1200px) {
	#sidebar,
	#search-form { width: 400px; }

	#sidebar:not(.js-active) { margin-left: -400px; }

	.locations-list a { padding: 12px 18px 12px 24px; }
	.locations-list .active a { padding-left: 19px; }

	.locations-list button,
	.locations-list .chosen-for { margin-left: 19px; }
} /* @media */




@-webkit-keyframes ajax-spinner {
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes ajax-spinner {
	to { 
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}


.js-loading #search-form div:before {
	content: 'Laden...';
	position: absolute;
	top: 50%;
	/*left: 50%;*/
	right: 77px;
	z-index: 10;
	-webkit-transform: translate(-50%,0);
	-moz-transform: translate(-50%,0);
	transform: translate(-50%,0);
	
	font-size: 0.85em;
	height: 24px;
	line-height: 24px;
	margin-top: -12px;
}

.js-loading #search-form div:not(:required):before {
	content: '';
	border-radius: 50%;
	border: 2px solid #ccc;
	border-top-color: #4285F4;
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;

	width: 24px;
	/*margin-left: -12px;*/

	-webkit-animation: ajax-spinner .6s linear infinite;
	animation: ajax-spinner .6s linear infinite;
}

#snackbar {
	visibility: hidden;
	width: 250px;
	margin-left: -125px;
	background-color: #b04040;
	border-color: #461919;
	color: #fff;
	text-align: center;
	border-radius: 2px;
	padding: 16px;
	position: fixed;
	z-index: 1;
	left: 50%;
	top: 30px;
	font-size: 17px;
}

#snackbar.show {
	visibility: visible;
	-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
	animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
	from {top: 0; opacity: 0;}
	to {top: 30px; opacity: 1;}
}

@keyframes fadein {
	from {top: 0; opacity: 0;}
	to {top: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
	from {top: 30px; opacity: 1;}
	to {top: 0; opacity: 0;}
}

@keyframes fadeout {
	from {top: 30px; opacity: 1;}
	to {top: 0; opacity: 0;}
}
