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

/*-----------------------------------------------
[Master sheet]
Project: SEL repsonsive website
URL: http://www.sintelooilourdes.be
Version: 1.0
Creator: Kristof Boxstaele
Last changed: 05/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. Typography + 3.Basic layout */
body {
	background-color: #FFF;
	font-family: "trebuchet ms", helvetica, sans-serif;
	font-size: 100%;
	line-height: 1.2em;
}

a:link, a:visited {
	color: #333;
	text-decoration: underline;	
}

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

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;	
}

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;	
}

body>main {
	display: block;
	width: 100%;
}

section {
	padding: 0;
	margin: 0 auto 50px;
	min-width: 300px;
	max-width: 920px;
	height: auto;
	font-size: 1em;
  	display: -webkit-flex;
  	/*display: -ms-flexbox;*/
  	display: flex; 
  	
  	-webkit-flex-flow: row wrap;
	flex-wrap: wrap;
	flex-flow: row wrap;
}

section > *{
	padding: 10px;
	-webkit-flex: 1 100%;
	flex: 1 100%;
}

section>header>h1 {
	display: inline-block;
	float: left;
	margin: 0.2em 0.6em;
	color: #999;
	text-transform: capitalize;
	font-size: 2em;
}

section>header>nav {
	margin: 0 auto;
	display: inline-block;
	float: right;
	height: auto;
}

nav ul {
	text-align: center;	
}

nav li {
	display: inline-block;
	padding: 0.5em;	
}

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

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

section>footer {
	text-align: center;
	font-size: 0.8em;
	order: 100;
	background: inherit;
}

section>article {
	position: relative;
	display: inline-block;
	height: auto;
	margin: 5px;
	background: url(../images/article.gif) repeat-x;
	box-shadow: 0.1em 0.1em 0.1em #666666;
}

.green {
	color: #85AC1E;	
}

article>p:first-of-type, article>h1+p {
	margin-top: 1.0em;	
}

.wedstrijd_one {
	min-width: 300px;
	-webkit-flex: 2;
	flex: 2;
	order: 1;
}

.wedstrijd_one>p {
	text-align: justify;
}

.wedstrijd_two {
	min-width: 300px;
	-webkit-flex: 1;
	flex: 1;
	order: 2;
}

.wedstrijd_two>h1 {
	text-align: center;
	border-bottom: 1px dashed #333;
	padding-bottom: 1em;
}

.wedstrijd_three {
	min-width: 300px;
	-webkit-flex: 1;
	flex: 1;
	order: 3;
}

.wedstrijd_four {
	min-width: 300px;
	-webkit-flex: 1;
	flex: 1;
	order: 4;
}

.volgende_one {
	min-width: 300px;
	-webkit-flex: 1 100%;
	flex: 1 100%;
	order: 1;
}

.volgende_two {
	min-width: 300px;
	-webkit-flex: 1;
	flex: 1;
	order: 2;
}

.volgende_three {
	min-width: 300px;
	-webkit-flex: 1;
	flex: 1;
	order: 3;
}

.volgende_one a:link, .volgende_one a:visited {
	color: #85AC1E;
	text-decoration: underline;
}

.volgende_one a:hover, .volgende_one a:active {
	color: #333;
	text-decoration: none;
}

.volgende_one>p {
	display: block;
	width: 100%;
	height: auto;
	text-align: left;
}

.opkomst {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	padding: 5px;
	font-size: 0.8em;
	text-align: left;
	list-style: none;
}

.opkomst li {
	width: 100%;	
}

li span {
	display: inline-block;
	width: auto;	
	text-align: left;
}

li span:first-child {
	display: inline-block;
	width: 70%;
	text-align: left;
}

.competitie_one {
	min-width: 300px;
	-webkit-flex: 1;
	flex: 1;
	order: 1;
}

.competitie_two {
	min-width: 300px;
	-webkit-flex: 2 ;
	flex: 2;
	order: 2;
}

.competitie_three {
	min-width: 300px;
	-webkit-flex: 1;
	flex: 1;
	order: 3;
	box-shadow: none;
	background: inherit;
}

.competitie_four {
	min-width: 300px;
	-webkit-flex: 2;
	flex: 2;
	order: 4;
}

.kalender_one {
	min-width: 300px;
	-webkit-flex: 1 auto;
	flex: 1 auto;
	order: 1;
}

article.nieuws_post {
	position: relative;
	display: block;
	width: 100%;
}

article.nieuws_post>header {
	position: relative;
	display: block;
	width: 100%;
	font-weight: bold;	
	padding: 0;
	margin: 0;
}

article.nieuws_post h3 {
	position: relative;
	display: inline;
	width: auto;
	font-weight: bold;
	font-size: 0.8em;
}

article.nieuws_post>p {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	line-height: auto;
}

article.nieuws_post>footer {
	position: relative;
	display: block;
	width: 100%;
	text-align: right;
	font-weight: bold;
	font-style: italic;
	padding: 0;
	margin: 0;
}

.nieuws {
	position: relative;
	display: inline;
	float: left;
	padding: 2px;
		
}

article h1 {
	padding: 0;
	color: #333;
	font-size: 1em;
	text-align: left;
}

article h2 {
	padding: 0;
	color: #333;
	font-size: 0.6em;
	text-align: left;
}

article p {
	position: relative;
	padding: 0px;
	margin-bottom: 2em;
	height: auto;
	display: block;
	text-align: left;
	font-size: 0.8em;
	overflow: hidden;
}

article table {
	font-size: 0.8em;
}

article td {
	padding: 0.2em 0.5em;
}

article>footer {
	position: absolute;
	bottom: 0;
	right: 0;
	display: block;
	width: auto;
	height: auto;
	padding: 1em;
	font-size: 0.7em;
}

article>footer img {
	display: inline-block;
	margin-left: 0.5em;
	vertical-align: text-bottom;
}

.sponsoring {
	margin: 5em auto;	
}

table.klassement {
	width: 100%;	
}

table.uitslagen {
	width: 100%;
}

table.kalender {
	width: 100%;
	border-collapse: collapse;
}

table.kalender th.datum {
	width: 7em;	
}

table.kalender tr:nth-of-type(odd){
	background-color: #EEE;
}

tr.toekomst {
	background-color: #EEE;	
}

a.kalender_print:link, a.kalender_print:visited {
	color: #333;
	text-decoration: underline;	
}

a.kalender_print:active, a.kalender_print:hover {
	color: #85AC1E;
	text-decoration: none;	
}

/* 7.Mediaqueries */
 @media only screen and (max-width:400px){
	article table.klassement td {
		padding: 0.2em 0.2em;
	}
}
 
@media only screen and (max-width:500px){
	header>nav {
		float: left;
	}
}

@media only screen and (max-width:530px){
	.type, .uitslag {
		display: none;
	}
}

@media only screen and (max-width:640px){
	table.kalender {
		font-size: 0.5em;
	}
}