/* RESET CSS */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* BOX SIZING */

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*, *:before, *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

/* HTML & BODY */

html, body {
	font-family: 'Open Sans';
}

/* HEADER */

#header {
	width: 100%;
	background: #fff;
	text-align: center;
	padding: 23px;
}

h1 {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 10px 0;
}

p {
	font-size: 16px;
	line-height: 18px;
}

.red {
	color: #EC0000;
	font-weight: 700;
}

/* MAP */

.map-container {
	position: relative;
	display: inline-block;
	width: calc(50% - 45px);
	height: calc(100vh - 130px);
	text-align: center;
	background-position: center center;
}

.map-container:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.1);
	z-index: 1;
}

#trollhattan {
	background-image: url("googlemaps-trollhattan.png");
	margin: 0 15px 30px 30px;
}

#uddevalla {
	background-image: url("googlemaps-uddevalla.png");
	margin: 0 30px 30px 15px;
}

.map-content {
	position: absolute;
	left: 0;
	bottom: 0;
	width: calc(100% - 60px);
	background: #fff;
	z-index: 2;
	padding: 30px;
	margin: 30px;
}

h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 10px 0;
}

.button {
	display: inline-block;
	width: 250px;
	height: 50px;
	background: linear-gradient(to bottom, #E10000, #B60000);
	line-height: 50px;
	color: #fff;
	text-decoration: none;
	margin: 20px 0 0 0;
}

.button:hover {
	background: linear-gradient(to bottom, #B60000, #E10000);
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

	.map-container {
		width: calc(50% - 15px);
		height: calc(100vh - 136px);
	}

	#trollhattan {
		margin: 0 5px 10px 10px;
	}

	#uddevalla {
		margin: 0 10px 10px 5px;
	}

	.map-content {
		width: calc(100% - 20px);
		padding: 20px;
		margin: 10px;
	}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	.map-container {
		width: calc(100% - 20px);
		height: calc(50vh - 76px);
	}

	#trollhattan, #uddevalla {
		margin: 0 10px 10px 10px;
	}

	.map-content {
		width: calc(100% - 20px);
		padding: 20px;
		margin: 10px;
	}
}

@media only screen and (min-device-width : 320px) and (max-device-width : 768px) and (orientation : landscape ) {
	.map-container {
		width: calc(50% - 15px);
		height: 220px;
	}

	#trollhattan {
		margin: 0 5px 10px 10px;
	}

	#uddevalla {
		margin: 0 10px 10px 5px;
	}

	.map-content {
		width: calc(100% - 20px);
		height: 200px;
		padding: 20px;
		margin: 10px;
	}

	h2 {
		min-height: 35px;
		font-size: 18px;
	}
}

@media only screen and (min-device-width : 320px) and (max-device-width : 768px) and (orientation : portrait ) {
	h1 {
		font-size: 22px;
	}

	h2 {
		font-size: 18px;
	}

	p {
		font-size: 14px;
	}

	#header {
		padding: 20px;
	}

	.map-container {
		width: calc(100% - 20px);
		height: calc(50vh - 93px);
	}

	#trollhattan, #uddevalla {
		margin: 0 10px 10px 10px;
	}

	.map-content {
		top: calc(50% - 10px);
		transform: translateY(-50%);
		bottom: auto;
		width: calc(100% - 20px);
		padding: 20px;
		margin: 10px;
	}
}