* {
  margin: 0 auto;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html, body {
	background: #FFF; color: #777;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
	font-size: 14px; line-height: 1.5;
	text-align: center;
}
a { color: #5A86CE; }
strong, h1, h2, h3, h4, .bold { font-weight: 500; }
.clear { clear: both; }

#wrapper {
	position: relative; max-width: 1280px; min-height: 100vh;
	text-align: left;
}

#mask {
	position: fixed; top: 0; left: 0;
	width: 100%; height: 100%;
	background-color: rgba(0,0,0,0.8);
	z-index: 60;
}

/* COLORS */
.blue { color: #0B479C; }
.turquoise {
	color: #00B3BA;
	margin-bottom: .5em;
}

/* SECTIONS */
#topRow {
	position: absolute;
	padding: 0 16px;
	width: 100%; height: 133px;
	background-color: #FFF; color: #555;
	font-size: 1.1em; text-align: center;
	z-index: 10;
	transition: all 1s ease;
}
#topRow.toTop { top: 0; cursor: pointer;  }
#topRowText {
	padding: 1em;
	line-height: 1.6;
	font-size: 1.1em;
	text-transform: uppercase;
}
#topRowTextMobile { display: none; text-transform: uppercase; }

/* LOGOS */
.topLogos {
	padding: 8px; height: 133px;
	background-color: #FFF;
	transition: all 0.5s;
}
#logo-tco { float: left; }
#logo-espaceSud,
#logo-odysseaBlueLabel,
#logo-odysseaProtect { float: right; }
#logo-espaceSud { margin-right: 1em; }


#mobileLogosDiv {
	display: none;
	margin-top: 1.5em;
	background-color: #FFF;
	text-align: center;
}
.mobileLogos { margin: 4px; max-height: 80px; }

/* PHOTOS */
#mainPhotoContainer {
	position: relative; height: 60vh; max-height: 787px; /*padding-top: 110px;*/
	background-color: #FFF;
	box-shadow: 0 10px 20px -10px rgba(0,0,0,0.4);
	overflow: hidden;
	transition: all 1s ease;
}
.topPhoto { position: absolute; bottom: 0; opacity: 0; }
#topPhoto-0 { top: 0; opacity: 1; }
#topPhoto-1 { top: 0; }
#topPhoto-2 { top: 50px; }
#topPhoto-3 { bottom: -30px; }
#topPhoto-4 { bottom: 0; }
#topPhoto-5 { top: 60px; }
/* MAIN MENU */
#mainMenu {
	position: absolute; left: 0; top: 133px;
	width: 100%;
	background-color: rgba(14, 65, 148, 0.8);
}
#mainMenu ul { list-style-type: none; display: flex; }
#mainMenu li {
	display: inline-block; width: 25%; padding: .8em 0;
	color: #FFF; font-size: 1.1em;
	text-align: center; text-transform: uppercase;
	letter-spacing: -0.4px;
	border-right: 1px solid rgba(255,255,255,0.1);
	cursor: pointer;
	transition: all 0.5s;
}
#mainMenu li:last-child { border-right: none; }
#mainMenu li:hover {
	background-color: rgba(0,0,0,0.3);
}

/* SIDE MENUS */
.sideMenu {
	display: inline-block; margin: 2em 0 0 2em;
	width: auto; max-width: 23%; min-width: 250px;
	vertical-align: top;
}
.sideMenu ul { list-style-type: none; margin-bottom: 2em; }
.sideMenu li {
	padding: 1em;
	background-color: rgba(0,0,0,0.2);
	margin-bottom: 1px;
	cursor: pointer;
	transition: all 0.5s;
}
.sideMenu li:last-child { border-bottom: none; }
.sideMenu li:hover {
	background-color: rgba(0,0,0,0.6);
}

#mainMenu li.current {
	cursor: default;
}
#mainMenuButton-1.current { background-color: #00B3BA !important; }
#mainMenuButton-2.current { background-color: #CCA700  !important; }
#mainMenuButton-5.current { background-color: #9CC31C !important; }
#mainMenuButton-3.current { background-color: #00B3BA !important; }
#mainMenuButton-4.current { background-color: #CCA700 !important; }

/* MOBILE MENU */
#mobileMenuButton {
	display: none; position: fixed; top: 0.8em; right: 0.8em;
	z-index: 1000;
	cursor: pointer;
}
#mobileMenuButton img {
	padding: 0.2em; width: 44px;
	background-color: rgba(35, 34, 34, 0.6);
	border-radius: 50px;
	cursor: pointer;
}
#mobileMenuDiv {
	display: none;
	width: 100vw; height: 100vh; left: 0;
	position: fixed; top: 0;
	overflow: auto; z-index: 100;
}
#mobileMenu {
	position: relative; width: 100%; height: auto;
}
#mobileMenu { list-style-type: none; }
#mobileMenu li {
	padding: 0.4em 1em;
	background-color: rgba(0,0,0,0.5); color: #FFF;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	cursor: pointer;

}
#mobileMenu .group {
	padding: 0.4em 0.8em;
	background-color: #555; color: #FFF; border: none;
	text-transform: uppercase;
	cursor: default;
}
#mobileMenu .separator {
	height: 1em; padding: 0;
	background-color: #232323;
	border-bottom: none;
}
#mobileMenu li:hover {
	background-color: rgba(0,0,0,0.95);
}
#mobileMenu li:last-child { border-bottom: none; }

/* PAGES */
.page {
	padding-bottom: 180px;
	color: #333; background-color: #FFF;
	box-shadow: 0 10px 20px -10px rgba(0,0,0,0.4);
}
.page:not(#page-0) { display:none; }
.formPage, .contactPage { padding: 2em; padding-bottom: 180px; }

/* CONTENT */
.content { display: none; padding: 2em; width: 74%; opacity: 0; }
.fullContent { display: block; margin:auto;}
.content h2 {
	padding-bottom: 0.5em;
	font-size: 1.5em; font-weight: 500;
	line-height: 1.2;
	border-bottom: 1px solid rgba(255,255,255,0.5);
}
.content h4 {
	margin-bottom: 1em;
	padding: .3em 0.7em;
	background-color: #2D5595; color: #FFF;
	font-weight: normal;
}
.content ul { margin: 1em 2em; }
.content ol { margin: 1em 2em; }

/*#page-1 { display: block; }*/
.content-a { display: block; opacity: 1; }

/* FORMS */
.uploadForm {
	padding: 1em;
	border: 1px solid #DDD;
}
.uploadedDocInput {
	display: none;
}
.box {
	display: inline-block;
	width: 60px;
	height: 60px;
	background-color: #FFF;
	border: 1px dashed #B5B5B5;
	color: #B5B5B5;
	font-size: 42px;
	text-align: center;
	line-height: 52px;
}
.uploadProgress {
	margin: .5em 1em 1em;
}
.content ul.docsList {
	margin: 0;
}
.docsList li {
	list-style: none;
	padding: .5em 1em;
	background-color: #F5F5F6;
	border-bottom: 1px solid #FFF;
}
.deleteFileButton {
	float: right;
	width: 20px; height: 20px;
	background-color: #AA4F13; color: #FFF;
	margin-top: 0.2em;
	display: inline-block;
	text-align: center;
	line-height: 18px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	cursor: pointer;
}
.deleteFileButton:hover {
	box-shadow: none;
}
.warning {
	margin: 0 1em;
	background-color: #AA4F13;
}
#gouvernanceProgressBar,
#actionProgressBar {
	display: none;
	background-color: #3E6FAD;
	width: 0px;
	height: 30px;
	margin-top: 10px;
	margin-bottom: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	-moz-transition: .25s ease-out;
	-webkit-transition: .25s ease-out;
	-o-transition: .25s ease-out;
	transition: .25s ease-out;
}
.existingDocuments { line-height: 1.9; }

/* FOOTER */
#footer {
	position: absolute; bottom: 0; left: 0;
	width: 100%; padding: 12px;
	background-color: #FFF;
	text-align: center;
}
.footerLogos { display: inline-block; margin: 0 1%; max-height: 70px; }
#mentionsLegalesLink {
	padding: 2em;
}

/* FORM */
#mainForm { margin: 2em 0; }

.rowDiv {
	padding: 1em;
	line-height: 2;
}
.rowDiv:last-child { border: none; }
.rowDiv.intro { border-bottom: none; line-height: 1.5; }
.rowDiv.heading {
	padding: 0.5em 1em;
	background: #2d5595; color: #EEE;
	border-bottom: none;
}

label {
	margin-right: 1em;
	vertical-align: top;
	cursor: pointer;
}
input, textarea {
	padding: 0.2em 0.4em;
}
#buttonDiv { text-align: center; }
input[type=text], input[type=password] { width: 300px; }
textarea {
	width: 100%; max-width: 460px; min-width: 280px;
	height: 130px;
}
.label { display: inline-block; width: 210px; vertical-align: top; }
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #AAA;
}
::-moz-placeholder { /* Firefox 19+ */
	color: #AAA;
}
:-ms-input-placeholder { /* IE 10+ */
	color: #AAA;
}
:-moz-placeholder { /* Firefox 18- */
	color: #AAA;
}
button {
	padding: 0.5em 1em;
	border: 0; background-color: rgba(31, 104, 168, 0.8); color: #FFF;
	font-size: 1em;
	box-shadow: 2px 2px 2px -2px rgba(0,0,0,0.8);
	cursor: pointer;
}
button:hover { background-color: rgba(0,0,0,0.6); box-shadow: none; }

/* MESSAGE POP-UP */
#messagePopup {
	display: none;
	position: fixed; top: 0; left: 0; right: 0; bottom: 0;
	margin: auto; padding: 2em;
	width: 100%; height: 160px;
	background: #444; color: #FFF;
	font-size: 1.2em; text-align: center;
	box-shadow: 0px 0px 1px 10000px rgba(0, 0, 0, 0.9);
	cursor: pointer; z-index: 1000;
}

/********************** MEDIA QUERIES *************************/
@media screen and (max-width: 1080px){
	.topPhoto { top: 110px; }
	.topLogos { display: none; }
	#mainMenu li { font-size: 1em; }
	.page { padding-bottom: 1em; }
	#mobileLogosDiv { display: block; }
	#footer { position: relative; }
	.footerLogos { max-height: 40px; }
	.sideMenu {
		display: block;
		margin: 2em 0 0;
		width: auto; max-width: initial;
	}
	.sideMenu ul { margin-bottom: 0; }
	.sideMenu li {
		display: inline-block;
		margin-right: 1px; min-width: 14.15%;
		text-align: center;
	}
	.content { width: 100%; }
}
@media screen and (max-width: 779px){
	#topRowText { display: none; }
	#topRowTextMobile {
		display: block; padding: 1em;
		text-align: left;
		font-size: 1.1em;
	}
	#mainMenu, .sideMenu { display: none; }
	#mainMenu li { letter-spacing: -1.2px; }
	#mobileMenuButton { display: block; }
	.formPage, .contactPage { padding: 0; }
	.content h2 { font-size: 1.3em; }
	#topPhoto-5 { left: initial; right: -230px; }
	.footerLogos { max-height: 40px; }
}

@media screen and (max-width: 639px){
	#topRowTextMobile { padding-left: 0 }
	.topPhoto { left: -50%; }
	#topPhoto-2 { left: -110px; }
	#topPhoto-4 { top: -160px; right: 0; }
	.footerLogos { max-height: 35px; }
}

@media screen and (max-width: 600px){
	.rowDiv { padding: 1em 1em 0; }
}



@media screen and (max-width: 360px){
	#topPhoto-0 { left: -50%; height: 80vh; }
	.content { padding: 2em 1.3em; }
	input[type=text] { width: 100%; }
}