//font 
@font-face {
    font-family: 'ralewaybold';
    src: url('../fonts/raleway/bold/raleway-bold-webfont.eot');
    src: url('../fonts/raleway/bold/raleway-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway/bold/raleway-bold-webfont.woff2') format('woff2'),
         url('../fonts/raleway/bold/raleway-bold-webfont.woff') format('woff'),
         url('../fonts/raleway/bold/raleway-bold-webfont.ttf') format('truetype'),
         url('../fonts/raleway/bold/raleway-bold-webfont.svg#ralewaybold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ralewayregular';
    src: url('../fonts/raleway/regular/raleway-regular-webfont.eot');
    src: url('../fonts/raleway/regular/raleway-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway/regular/raleway-regular-webfont.woff2') format('woff2'),
         url('../fonts/raleway/regular/raleway-regular-webfont.woff') format('woff'),
         url('../fonts/raleway/regular/raleway-regular-webfont.ttf') format('truetype'),
         url('../fonts/raleway/regular/raleway-regular-webfont.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body{
	margin: 0;
    background: #E8EAF6 url('../img/arriere-plan/bg-global-reversed.png') no-repeat center center fixed;
	background-size: cover;
    font-family: 'ralewayregular';
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 50px);
}

/* Permet de cacher les barres de scrolling */
body, html { 
    overflow-x: hidden; 
}

div.header {
	position: fixed;
	left: 0;
	top: 0;
    height: 81px;
    width: 81px;
}


div.main-zone {
	min-width: 381px;
	width: 30vw;
	color: #fff;
	margin: 10px;
	margin-bottom: 5vh;
}
.main-zone .text{
	 font-family: 'ralewaybold';
}

.main-zone h1{
	font-size: 2.250em;
	margin: 0;
    text-align: center;
}
.main-zone h2{
	font-size: 1.063em;	
	font-family: 'ralewaybold';
	margin: 0;
    text-align: center;
}

div.main-zone pre{
	background-color: #BECFE7;
    padding: 10px;
    margin-left: 10px;
}

div.wrapper {
    display: flex;
	flex-direction: column;
    align-items: center;
}

div.wrapper div.content {
	background-color: rgba(220,221,224, 0.75);
	border-radius: 2px;
	font-family: 'ralewaybold';
	height: 100%;
	border-top-width: 30vh;
	width: 510px;
}

div.wrapper div.content .title {
	padding: 16px;
	font-weight: bold;
}

div.wrapper.login div.content .form {
	padding: 15px 80px;
	text-align: center;
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

div.wrapper.forget div.content .form {
	padding: 15px 40px;
	text-align: justify;
}

div.wrapper.password div.content .form {
	padding: 15px 40px;
	text-align: center;
}

div.wrapper.success div.content .form {
	padding: 15px 80px;
	text-align: center;
	display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

div.wrapper div.content .form .input-container {
}

div.wrapper div.content .form .input-container div {
	padding: 10px 0;
	margin-right: 22px;
}

div.wrapper div.content .form .input-container div input {
	background-color: #FAFAFA;
	border: 1px solid #CFCFCF;
	padding: 5px 10px;
	width: 100%;
}

div.wrapper div.content .form .input-container div span.label {
	display: inline-block;
	text-align: right;
	width: 40%;
	height: 20px;
	padding: 5px 10px;
}

div.wrapper div.content .form .input-container div input.with-label {
	width: 50%;
	float: right;
}

div.wrapper div.content .form .input-container div.forget {
	margin: 25px 0 0 0;
}

div.wrapper div.content .form .input-container div.forget input {
	width:58%;
}

div.wrapper div.content .form .input-container div.forget .bouton {
	float:right;
	padding: 0;
}

div.wrapper div.content .form .bouton {
	text-align: right;
	padding: 10px 0;	
}

div.wrapper div.content .form .bouton-formation {
	text-align: center;
	padding: 10px 0;	
}

div.wrapper.password div.content .form .bouton {
	text-align: center;
}

div.wrapper div.content .form .bouton button {
	background-color: #0253A4;
	border: 2px none;
	border-radius: 5px;
	padding: 5px 25px;
	color: #FFF;
	margin-bottom: 5px;
}

div.wrapper div.content .form .bouton-formation button {
	background-color: #0253A4;
	border: 2px none;
	border-radius: 5px;
	padding: 5px 25px;
	color: #FFF;
	margin-bottom: 5px;
}

div.wrapper div.content .error {
	border: #d14949 1px solid;
	background-color: #efd2d2;
	color: #d14949;
	margin: 5px 70px 25px 70px;
	padding: 5px 10px;
	border-radius: 2px;
}

div.wrapper.login div.content .error {
	margin: 5px 30px;
}

div.wrapper.login div.content .info {
	margin: 5px 30px;
}

div.wrapper div.content .info {
	border: #49d149 1px solid;
	background-color: #d2efd2;
	color: #49d149;
	margin: 5px 70px 25px 70px;
	padding: 5px 10px;
	border-radius: 2px;
}

div.wrapper div.content .forget-link {
	text-align: right;
	margin: 10px;
}

div.wrapper div.content .forget-link a:link,
div.wrapper div.content .forget-link a:visited {
	color: #000;
	text-decoration: none;
}

div.wrapper div.content .forget-link a:hover,
div.wrapper div.content .forget-link a:active {
	color: #000;
	text-decoration: underline;
}

div.logo-rf {
	background-image: url('../img/logo/nouveau_logo.jpg');
/* 	background-image: url('../img/logo/logo_mss_mini.jpg'); */
	background-repeat: no-repeat;
	background-size: 105px;
	height: 81px;
	width: 105px;
}

div.img-carte {
	background-image: url('../img/page-accueil/CarteCPSPetite.PNG');	
    background-size: contain;
	background-repeat: no-repeat;
	height: 50px;
	width: 80px;
}

div.logo-vadim {
 	background-image: url('../img/page-accueil/logo_vadim.png');	 
    background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: 180px;
    width: 30vw;
    margin: 10px;
    margin-top: 5vh;
}

#button-login, #button-back-to-home{
	background: #ed145b;
	border-radius: 25px;
	color: #FFFFFF;
	font-family: 'ralewaybold';
	text-transform: uppercase;
	box-shadow: none;
	transition: none;
	font-size: 0.875em;
	padding: 10px;
	text-decoration: none;
	font-weight: normal;
	cursor: pointer;
}

#button-login:hover, #button-back-to-home:hover {
	background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), #ed145b;
}

div.login-area{
	display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2%;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	div.AccueilText{
			width: 100%;
			text-align: center;
	}
}

a.link{
    padding-top: 10px;
	display: flex;	
    justify-content: center;
    color: white;
    text-shadow: 2px 2px black;
    width: 150px;
    margin: auto;
    padding-right: 260px;
}

div.login-area-error{
	padding: 15px;
}

div.wrapper-login-error{
	//margin-top: calc(50vh - 212px);
	display: flex;
    flex-direction: column;
    align-items: center;
}

div.content-error{
    background-color: rgba(205,8,8, 0.45);
    border-radius: 2px;
    font-family: 'ralewaybold';
    height: 100%;
    border-top-width: 30vh;
    width: 379px;
    margin: 0 auto;
    color: white;
}

div.title-error{
	font-weight: bold;
}