/**
 * Common styles
 *
 * @author Wouter Van den Heede
 *
 */

/* ===========================================
   Common
   =========================================== */
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

.wrapper {
	max-width: 96rem;
	min-width: 32rem;
	margin: 0 auto;
	position: relative;
	padding: 0 1rem;
}

body > * {
	font-size: 1.3rem; /* placed here instead of in body -> fix for Chrome bug */
	line-height: 1.5;
}

body {
	font-family: verdana, Arial, Helvetica, sans-serif;
	background-color: #DCDCDC;
}

a {
	text-decoration: none;
}

p, address, tr {
	font-family: "Times New Roman";
	line-height: 1.5em;
	font-size: 1.6rem;
	color: #27223E;
	margin-bottom: 1.5rem;
}

ul {
	list-style: none;
}

h1, h2, h3, h4 {
	font-weight: normal;
	font-family: Helvetica, "Times New Roman", sans-serif;
	color: #27223E;
}

h2 {
	font-size: 2.4rem;
	text-transform: uppercase;
}

/* ===========================================
   Header
   =========================================== */
/* banner */
#banner {
	padding-bottom: 5rem;
}

#banner h1 {
	font-style: italic;
	font-family: "Times New Roman";
}

#banner h1 a {
	color: #FFFFFF;
	font-size: 4.5rem;
	position: absolute;
}

#banner p {
	font-family: "Helvetica";
	text-transform: uppercase;
	padding-top: 5rem;
}

#banner p a {
	color: #FFFFFF;
	font-size: 1.4rem;
	position: absolute;
	margin-top: 2rem;
}

/* header */
header {
	background-color: #352D45;
	padding-bottom: 0.8rem;
}

/* main menu */

#mainmenu {
	margin-top: 0.7rem;
	list-style: none;
	font-size: 1.4rem;
	font-weight: bold;
}

#mainmenu ul li {
	margin: 0.5rem 0;
}

#mainmenu ul li a {
	color: #FFFFFF;
	background-color: #27223E;
	clear: both;
	display: block;
	padding: 1rem 2rem;
}

#mainmenu a:hover, #mainmenu a.selected {
	color: #27223E;
	background-color: #FFFFFF;
	-webkit-transition: background 0.4s ease-in-out; 
	-moz-transition: background 0.4s ease-in-out;
	-ms-transition: background 0.4s ease-in-out;
	-o-transition: background 0.4s ease-in-out;
	transition: background 0.4s ease-in-out;
}

/* ===========================================
   Buttons
   =========================================== */
.more {
	color: #27223E;
	text-transform: uppercase;
	font-size: 1.4rem;
	font-family: helvetica;
	border-width: 0.2rem; 
	border-style: solid;
	padding: 1rem 2.5rem;
}

.more:hover {
	color: #FFFFFF;
	border-color: #FFFFFF;
	-webkit-transition: 0.4s ease-in-out; 
	-moz-transition: 0.4s ease-in-out;
	-ms-transition: 0.4s ease-in-out;
	-o-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
}

/* ===========================================
   Footer
   =========================================== */
footer {
	clear: both;
	overflow: hidden;
	background-color: #27223E;
	padding-bottom: 1rem;
	padding-top: 1rem;
}

footer p {
	font-size: 1.4rem;
}

footer .logo {
	background-image: url(../images/logo.jpg);
	background-position: center;
	background-repeat: no-repeat;
	margin-top: 0.3rem;
}

footer .logo a {
	font-size: 0;
	padding-bottom: 7rem;
	padding-right: 19rem;
	display: block;
}

footer div p {
	text-align: center;
	color: #FFFFFF;
	margin-top: 2rem;
	margin-bottom: 0rem;
}

/*socialmedia*/
.socialmedia {
	width: 11.5rem;
	margin: 0 auto;
}

.socialmedia a {
	border: solid 0rem;
}

.socialmedia li {
	display: inline-block;
	list-style: none;
	font-size: 0;
}

/* hover section */
.socialmedia a {
	width: 3.5rem;
	padding-top: 3.5rem;
	padding-left: 3.5rem;
	margin-top: 2rem;
	background-image: url(../images/sprites.png);
	background-repeat: no-repeat;
	background-size: 38.5rem 13.5rem;	
}

.facebook {background-position: -0.1rem -5.1rem;}
.twitter {background-position: -28.1rem -5.1rem;}
.youtube {background-position: -35.2rem -5.1rem;}

.facebook:hover {background-position: -0.1rem -4.8rem;}
.twitter:hover {background-position: -28.1rem -4.8rem;}
.youtube:hover {background-position: -35.2rem -4.8rem;}

/* ===============
   Media queries
   =============== */
@media (min-width: 10em) and (max-width: 20em) { /* your breakpoint in em here */
	#banner h1 a {
		font-size: 3.5rem;
	}
}

@media (min-width: 45em) { /* your breakpoint in em here */
	/* ===========================================
	   Header
	   =========================================== */
	header .wrapper {
		max-width: 100%;
		padding: 0rem;
	}

	/* banner */
	#banner {
		margin-top: -1.5rem;
		margin-bottom: 1.5rem;
		background-color: #352D45;
		background-image: url(../images/banner.jpg);
		background-repeat: no-repeat;
		background-position: center;
		height: 26.5rem;
	}

	#banner h1 {
		padding-right: 30rem;
		width: 100px;
		margin: 0 auto;
	}

	#banner p {
		padding-top: 21rem;
		padding-right: 20rem;
		width: 100px;
		margin: 0 auto;
	}

	#banner p a {
		margin-top: 0rem;
	}

	/* header */
	header {
		background-color: #27223E;
		padding: 1.5rem 0;
		width: 100%;
	}

	/* main menu */
	#mainmenu > ul {
		text-align: center;
		list-style: none;
	}

	#mainmenu ul li {
		margin: 0;
		clear: both;
		display: inline;
	}

	#mainmenu ul li a {
		padding: 0 3rem;
		font-family: "Times New Roman";
		font-size: 1.8rem;
		font-weight: normal;
		clear: both;
		display: inline;
	}

	#mainmenu a:hover, #mainmenu a.selected {
		padding-top: 1.8rem;
		padding-bottom: 1.9rem;
		font-family: "Times New Roman";
	}

	footer {
		height: 10rem;
	}

	footer .logo {
		float: left;
	}

	footer div p {
		width: 40%;
		float: left;
		margin-top: 5rem;
		margin-left: 11%;
	}

	/*socialmedia*/
	.socialmedia {
		float: right;
		margin-top: 2rem;
	}
}

