@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700italic,800,700,600);

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	background: url("../images/background.jpg") no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	font-family: "Open Sans", sans-serif;
}

a {
	color: #FFF;
	text-decoration: none;
}

div#wrapper {
	width: 100%;
	max-width: 1000px;
	height: 100%;
	margin: 100px auto;
	color: #FFF;
	background: #FFF;
}

#mobile-menu {
	display: none;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown.side {
	width: 100%;
}

.dropdown .dropdown-content {
	display: none;
	position: absolute;
	background-color: #000;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.dropdown.down .dropdown-content.down {
	left: 0;
}

.dropdown.side .dropdown-content.side {
	right: -120%;
	left: 100%;
	top: 0;
}

.dropdown .dropdown-content li {
	color: #FFF;
	width: 100%;
	padding: 12px 16px !important;
	text-decoration: none;
	display: block;
	text-align: left;
}

.dropdown.down .dropdown-content.down li span {
	float: right;
}

.dropdown .dropdown-content li:hover {
	background: #2B2B2B;
	cursor: pointer;
}

.dropdown.down:hover .dropdown-content.down, .dropdown.side:hover .dropdown-content.side {
	display: block;
}

nav.navigation {
	background: #000;
}

nav.navigation ul {
	text-align: center;
}

nav.navigation ul li {
	list-style: none;
	display: inline-block;
	padding: 20px;
	background: #000;
}

nav.navigation ul li:hover, nav.navigation ul li.current {
	background: #2B2B2B;
	cursor: pointer;
}

nav.navigation li.active {
	background: #2B2B2B;
}

div.banner {
	width: 100%;
	height: 200px;
	display: inline-block;
	background-image: url("../images/slider/slider.png");
	background-size: cover;
	background-position: 0px -300px;
}

section {
	position: relative;
	background: #FFF;
	padding-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
}

div#header {
	width: 100%;
	border-bottom: 1px solid #DEDEDE;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

div#header .item {
	width: 33%;
	display: inline-block;
	vertical-align: top;
}

div#header .item:last-child {
	margin-right: 0px !important;
}

div#header span {
	font-size: 16px;
	font-weight: bold;
	padding-bottom: 15px;
	display: block;
	color: #635D5D;
	text-align: center;
}

#agenda {
	width: 250px;
	margin: 0 auto;
}

.evenement.last-of-type {
	padding-top: 12px;
}

.evenement a {
	display: block;
	font-size: 14px;
	color: #635D5D;
	font-weight: bold;
	text-decoration: none;
}

.evenement p {
	display: block;
	font-size: 11px;
	color: #635D5D;
	font-weight: normal;
}

.date {
	background: url('../images/calendar.png') no-repeat top right;
	width: 57px;
	height: 61px;
	overflow: hidden;
	float: left;
	margin-right: 10px;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.date span {
	display: block;
}

.date span.month {
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	color: #FFF !important;
	line-height: 24px;
	font-size: 12px;
	margin-top: 10px;
    margin-left: 17px;
	transform: rotate(90deg);
	transform-origin: left top 10;
}

.date span.day {
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	color: #BFBFBF !important;
	margin-top: -30px;
    margin-left: -15px;
	font-size: 20px;
}

.clear {
	clear: both;
	display: block;
}

::-webkit-input-placeholder {
	color: #5F5F5F;
}

:-ms-input-placeholder {
	color: #5F5F5F;
}

::-moz-placeholder {
	color: #5F5F5F;
	opacity: 1;
}

:-moz-placeholder {
	color: #5F5F5F;
	opacity: 1;
}

div#mid {
	color: #000;
	display: inline-block;
	width: 100%;
}

div#mid h2 {
	padding-bottom: 15px;
}

div#mid p a {
	color: #000 !important;
}

div#mid p a:hover {
	text-decoration: underline;
}

table td img {
	width: 80px;
	height: 80px;
}

#contact {
	border-top: 1px solid #DEDEDE;
	margin-top: 20px;
	padding-top: 20px;
	text-align: center;
	width: 100%;
}

#contact p {
	color: #000;
	font-size: 26px;
	line-height: 26px;
	word-break: break-all;
}

#contact p a {
	color: #000 !important;
}

#contact p a:hover {
	text-decoration: underline;
}

video {
	width: 560px;
	height: 315px;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

input, textarea, select {
	width: 100%;
	box-sizing: border-box;
	background: #FFF;
	border: 1px solid #C0C0C0;
	padding: 10px;
	display: block;
	resize: none;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
}

input[type=text], textarea, select {
	margin-bottom: 15px;
}

input[type=submit] {
	background: #000;
	border: 0px !important;
	color: #FFF;
}

input[type=submit]:hover {
	cursor: pointer;
}

.row:after {
    content: "";
    clear: both;
    display: block;
}

.row .picture-cell {
    background: #FFF;
    color: #000;
    text-align: center;
    float: left;
    border: 5px solid #FFF;
    padding: 5px 0;
    box-sizing: border-box;
    width: 25%;
}

.row .picture-cell img {
    width: 100%;
	height: auto;
}

footer {
	width: 100%;
	padding: 20px;
	text-align: center;
	background: #A6DA00;
}

footer a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 1250px) {
	main.wrapper {
		width: 100%;
	}
	
	section {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	div.left {
		width: 100%;
		float: inherit;
		border-bottom: 1px solid #DEDEDE;
		padding-bottom: 15px;
		margin-bottom: 15px;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	div.left .item {
		width: 24%;
		display: inline-block;
		vertical-align: top;
		border-bottom: 0px;
		padding-bottom: 0px;
		margin-bottom: 0px;
	}
	
	div.left .item:last-child {
		margin-right: 0px !important;
	}
	
	div.right {
		width: 100%;
		float: inherit;
		border-left: 0px;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	#sponsors {
		width: 100%;
		float: inherit;
	}
}

@media screen and (max-width: 522px) {
	nav.navigation {
		display: none;
	}
	
	nav.navigation ul li {
		width: 100%;
		border-top: 1px #FFF solid;
		text-align: left;
		padding-left: 70px;
	}
	
	#mobile-menu {
		background: #000;
		display: block !important;
		width: 100%;
	}
	
	#mobile-menu img:hover {
		cursor: pointer;
	}
	
	.dropdown-content.down li {
		padding-left: 90px !important;
	}
	
	.dropdown-content.side li {
		padding-left: 110px !important;
	}
	
	.dropdown {
		display: block;
	}
	
	.dropdown .dropdown-content {
		position: relative;
	}
	
	.dropdown.side .dropdown-content.side {
		right: 0;
		left: 0;
		top: 0;
	}
	
	.dropdown.down .dropdown-content.down li span {
		display: none;
	}
	
	.dropdown .dropdown-content.active {
		display: block;
	}

	.dropdown.down .active .dropdown-content.down, .dropdown.side .active .dropdown-content.side {
		display: block;
	}
}

@media screen and (max-width: 882px) {
	div.left {
		border-bottom: 0px;
		padding-bottom: 0px;
		margin-bottom: 0px;
	}
	
	div.left .item {
		width: 100% !important;
		display: inline-block;
		vertical-align: top;
		margin-right: 0px !important;
		border-bottom: 1px solid #DEDEDE;
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
	
	div#wrapper {
		margin: 0px auto !important;
	}
	
	div#header .item {
		width: 100% !important;
	}
	
	input[type=text], input[type=submit], textarea, select {
		width: 100% !important;
	}
	
	video {
		width: 100% !important;
		height: auto !important;
	}
}