
html {
	margin: 0;
	padding: 0;
	background: url(../images/index/back.jpg) no-repeat top fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

a {
	color: #2d9cbc;
}
a:visited {
	color: #266f82;
}

body {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;

	margin: 0;
	padding: 0;
}


#main {
	margin: 100px auto 0 auto;
	padding: 0;
	width: 100%;
	max-width: 940px;
	min-height: 480px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

#main .title {
	position: relative;
	width: auto;
	margin: 0;
	padding: 1em;
	background-color: #2f4b5e;
}


#main .title h1 {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: normal;
	font-size: 1.70em;
	line-height: 2.5em;
	margin: 0;
	color: #fff;
	padding-left: 360px;
	text-align: left;
	line-height: 2.8em;
}


#main .title img {
	margin: 0 auto;
	width: 140px;
	height: 140px;
	position: absolute;
	left: 80px;
	top: -60px;
}



#main .etablissement {
	height: 198px; /* -40 de padding */
	overflow: auto;
	padding-top: 40px;
	position: relative;
}

#main .etablissement img {
	width: 140px;
	height: 140px;
	position: absolute;
	top: 40px;
	left: 60px;
}

#main .etablissement p {
	padding-left: 220px;
	padding-right: 60px;
	color: #8a8b8c;
	margin: 0 0 10px 0;
	text-align: justify;
}





#footer {
	width: 940px;
	height: 30px;
	margin: 15px auto 10px auto;
	background: transparent url('../images/index/edulog-right.png') right top no-repeat;
	position: relative;
}

#footer p {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1em;
	color: #5c6e80;
	text-shadow: 0 1px 0 #fff;
	line-height: 28px;
	margin: 0 120px 0 0;
	text-align: left;
	padding-left: 65px;
}

#footer div.social {
	position: absolute;
	width: 190px; height: 30px;
	top: 3px; right: 150px;
}

#footer div.social div {
	display: inline-block;
	float: left;
	margin-right: 5px;
}


#footer a {
	color: #5c6e80;
	text-decoration: none;
	margin-right: 15px;
}
#footer a:hover {
	text-decoration: underline;
}



#connexion {
	width: 100%;
	min-height: 150px;
	margin: auto;
	overflow: hidden;
	text-align: right;
	border-top: 1px solid #dfdfdf;
	background-color: #fdfdfd;
}



#connexion form {
	margin: 50px 0 0 0;
	padding: 0 80px 0 0;
}

#connexion form label {
	display: inline-block;
	width: 335px;
	text-align: right;

	font-family: 'Source Sans Pro', sans-serif;
	font-weight: normal;
	font-size: 1.3em;
	color: #999;
	text-shadow: 0 1px 0 #fff;
	padding-right: 20px;
}



input[type=text], input[type=password] {
	border: 1px solid #d7d7d7;
	border-radius: 5px;
	padding: 2px 8px 2px 8px;
	margin-left: 10px;
	font-family: Arial, sans-serif;
	font-size: 20px;
	color: #666;
	width: 150px;
	height: 38px;
}

/* HACK IE 8 */
input[type=password] {
	letter-spacing: 3px;
	font-family: Arial, sans-serif;
}

input[type=text]:focus, input[type=password]:focus {
	border: 1px solid #2f82b7;
	box-shadow: inset 0 1px 5px #bae3ef;
	outline: 0 none;
}

input[type=submit] {
	min-width: 100px;
	height: 42px;
	margin-left: 30px;
	border: none;
	background-color: #3993cf;
	border-radius: 5px;
	font-family: Arial, sans-serif;
	font-size: 20px;
	line-height: 20px;
	font-weight: normal;
	color: #fff;
	cursor: pointer;
}
input[type=submit]:hover {
	background-color: #3483b5;
}
input[type=submit]:active {
	background-color: #3483b5;
}


a.btn, a.btn-cancel {
	display: inline-block;
	min-width: 100px;
	padding: 10px 10px 12px 10px;
	text-decoration: none;
	background-color: #3993cf;
	border-radius: 5px;
	font-family: Arial, sans-serif;
	font-size: 20px;
	line-height: 20px;
	font-weight: normal;
	color: #fff;
	cursor: pointer;
}

a.btn:hover, a.btn:active {
	background-color: #3483b5;
}


a.btn-cancel {
	background-color: #FFF;
	color: #999;
	border: 1px solid #BBB;
}
a.btn-cancel:hover, a.btn-cancel:active {
	background-color: #F3F3F3;
}


#passwd label.passwd-change {
	display: block;
	width: 550px;
	text-align: right;
	margin: 0 auto 20px auto;
}




#messages {
	width: 100%;
	margin: auto;
	text-align: center;
	margin-bottom: 20px;
}

#messages p {
	width: auto;
	margin: 40px 60px auto 60px;
	padding: 6px 20px 6px 20px;
	border: 1px solid #fff;
	border-radius: 4px;
	font-style: italic;
	font-size: 16px;
}

#messages p.msg_info {
	border-color: #2dae65;
	color: #ffffff;
	text-shadow: 0 1px 0 #2dae65;
	background-color: #35cc77;
}

#messages p.msg_error {
	border-color: #bf3730;
	color: #ffffff;
	text-shadow: 0 1px 0 #bf3730;
	background-color: #e64a41;
}




/* Gestion du mot de passe */

#passwd .workzone {
	text-align: center;
	background-color: #fdfdfd;
	border-top: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
	padding: 20px;
}


#passwd label {
	display: inline-block;
}

#passwd p {
	padding: 0 30px 0 30px;
}

#passwd p, #passwd label {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: normal;
	font-size: 1.3em;
	color: #999;
}

#passwd input[type=submit] {
	min-width: 120px;
}






@media only screen and (max-width: 940px) {

	#header {
		display: none;
	}

	#main {
		width: auto;
		height: auto;
		margin: 3.5em 1em 1em 1em;
		background: #fff;
		box-shadow: 0 1px 2px rgba(0,0,0,0.25);
	}

	#main .title {
		background-color: #2f4b5e;
		text-align: center;
		border-bottom: 1px solid #1f3343;
		padding: 0 0.5em;
	}

	#main .title h1 {
		font-size: 1.5em;
		text-align: center;
		padding: 1em 1em;
		line-height: normal;
	}

	#main .title img {
		position: relative;
		left: auto;
		top: auto;
		height: 5em;
		width: 5em;
		margin-top: -2.5em;
	}




	#main .etablissement {
		width: auto;
		height: 10em;
		text-align: center;
		padding: 0.5em;
		border-bottom: 1px solid #dfdfdf;

		overflow: auto;
		background: -webkit-linear-gradient(white 30%, rgba(255, 255, 255, 0)),
		-webkit-linear-gradient(rgba(255, 255, 255, 0), white 70%) 0 100%,
		-webkit-radial-gradient(50% 0, farthest-side, rgba(0, 0, 0, .2), transparent),
		-webkit-radial-gradient(50% 100%,farthest-side, rgba(0, 0, 0, .2), transparent) 0 100%;
		background-repeat: no-repeat;
		background-color: white;
		background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
		background-attachment: local, local, scroll, scroll;
	}

	#main .etablissement img {
		width: 5em;
		height: 5em;
		position: relative;
		top: auto;
		left: auto;
	}

	#main .etablissement p {
		text-align: justify;
		margin: 0;
		padding: 0;
	}


	#connexion {
		width: auto;
		height: auto;
		background-color: #fdfdfd;
		padding: 1em;
	}

	#connexion form {
		margin: 0;
		padding: 0;
	}

	#connexion form label {
		display: block;
		width: 100%;
		text-align: left;
		color: #999;
		text-shadow: 0 1px 0 #fff;
		font-size: 1.1em;
		margin-bottom: 0.5em;
	}

	input[type=text], input[type=password] {
		display: block;
		padding: 0.3em 0.4em 0.3em 0.4em ;
		margin: 0;
		font-size: 1em;
		width: 100%;
		height: auto;
		box-sizing: border-box;
	}


	input[type=submit] {
		width: 100%;
		height: auto;
		margin: 0.5em 0 0 0;
		padding: 0.3em 0.4em 0.3em 0.4em ;
		-webkit-appearance: none;

		box-sizing: border-box;

		font-size: 1.4em;
		line-height: normal;

		background-color: #0098d0;
		background-image: none;
		border-radius: 5px;
	}

	input[type=submit]:hover, input[type=submit]:active {
		background-color: #0086b8;
	}


	#messages p {
		margin: 1em 0 0 0;
		padding: 0.5em 1em 0.5em 1em;
		font-size: 1em;
	}




	#footer {
		background: transparent url('../images/index/edulog.png') center top no-repeat;
		width: auto;
		margin: 1em 1em;
		padding: 30px 0 0 0;
		height: auto;
		min-height: 30px;
		text-align: center;
	}

	#footer p {
		text-align: center;
		line-height: normal;
		font-size: 0.9em;
		margin: 0;
		padding: 0;
		text-shadow: none;
		clear: both;
	}

	#footer p a {
		color: #5c6e80;
		display: inline-block;
		border-radius: 4px;
		background-color: rgba(0,0,0,0.10);
		padding: 0.3em 0.75em;
		text-decoration: none;
		margin-right: 2em;
		margin-bottom: 0.5em;
	}
	#footer p a:hover {
		background-color: rgba(0,0,0,0.15);
		text-decoration: none;
	}

	#footer div.social {
		display: none;
	}



}






