@charset "utf-8";
/* CSS Document */

/*-----------------------------------------------
[Master sheet]
Project: SEL repsonsive website
URL: http://www.sintelooilourdes.be
Version: 2.0
Creator: Kristof Boxstaele
Last changed: 13/03/14
Last Updated: Kristof Boxstaele
Primary use: Sint-Elooi Lourdes website
-------------------------------------------------*/
/*-----------------------------------------------
Table of contents
1. Reset
2. Typography
3. Basic layout
4. Widgets
5. Media items
6. Forms
7. Media queries
8. IE specific styles
-------------------------------------------------*/
/*-----------------------------------------------
Color reference sheet
Background: #EEE (light grey)
Body text: #000 (black)
Body headings: #FFF (white) #999 (grey)
:link #0090D2 (blue)
:hover,
:active,
:focus #0063A6 (dark blue)
-------------------------------------------------*/
/*-----------------------------------------------
Typography reference sheet
Body: 0.8em/Verdana, Geneva, sans-serif;
Headers: 1em/Verdana, Geneva, sans-serif;
Input, textarea: 1.1em Helvetica, Verdana, Geneva, Arial, sans-serif;
Buttons: 1.2em Georgia, serif;
Notes: reduce heading by 0.4em with every lower heading level
-------------------------------------------------*/

/*1. Reset */
* {
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/*2. Body */
body {
	width: 100%;
	min-width: 300px;
	background-color: #FFF;
	font-family: "trebuchet ms", helvetica, sans-serif;
	font-size: 100%;
	line-height: 1.2em;
}

/*3. Header */
body>header {
	display: inline-block;
	width: 100%;
	height: 104px;
	background: url(../images/banner.gif) repeat-x;
	color: #FFF;
	font-size: 0.8em;
	padding: 0.2em 3%;
}

body>header>hgroup {
	margin: 1em auto;
	display: inline-block;
	float: left;
	height: auto;
	width: auto;
	background-color: inherit;
}

hgroup>h1 {
	padding: 0.2em;
	display: inline-block;
}

hgroup>h2 {
	padding: 0.2em;	
}

/*4. Navigation */
nav {
	display: block;
	margin: 0 auto;
	width: 100%;	
}

nav a:link, nav a:visited {
	color: #444;
	text-decoration: none;
}

nav a:active, nav a:hover {
	color: #85AC1E;
	text-decoration: underline;
}


ul {
	padding: 0;
	margin: 0 auto;
	min-width: 300px;
	max-width: 720px;
	height: auto;
	font-size: 1em;
	list-style-type: none;
	
	display: -webkit-box;
	display: -webkit-flexbox;
	display: -webkit-flex;
  	display: flex; 
  	
  	/*-webkit-flex-flow: row wrap;*/
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	/*-webkit-box-pack: end;
	-webkit-flex-pack: end;
	-webkit-justify-content: flex-end;*/
	/*-webkit-flex-flow: row wrap;
	-webkit-justify-content: flex-start;
	-webkit-align-items: flex-start;
	-webkit-align-content: flex-start;*/
	flex-wrap: wrap;
	flex-flow: row wrap;
	flex-direction: center;
	align-items: flex-start;
	align-content: flex-start;
}

li {
	width: 145px;
	height: 160px;
	padding: 2px;
	text-align: center;
	-webkit-flex: 1 145px;
	flex: 1 145px;
}

li > img {
	padding:0;
	margin: 0;	
}

/*5. Horizontal line */
hr {
	width: 85%;
	max-width: 940px;
	margin: 3em auto;	
}

/*8. Main */

main {
	padding: 0;
	margin: 10px auto 30px;
	min-width: 300px;
	max-width: 940px;
	height: auto;
	font-size: 1em;
	text-align: center;
}

/*7. Footer */
body>footer {
	width: 100%;
	margin:0 auto;
	clear: both;
	display: block;
	text-align: center;
	color: #FFF;
	background-color: #666;
	font-size: 0.8em;
}

body>footer a:link, body>footer a:visited{
	text-decoration: underline;
	color: #FFF;	
}

body>footer a:active, body>footer a:hover{
	text-decoration: none;
	color: #85AC1E;	
}

