@font-face {
    font-family: 'gabriola';
    src: url('/font/gabriola_font.ttf');
}
@font-face {
    font-family: 'pt_font';
    src: url('/font/PTSerif-Regular.ttf');
}

body{

	background-color: #1873d2;
	background-image: url('/img/background/background_admin_form.svg');
	background-repeat: no-repeat;
	background-position: center;
    background-size: cover; /* version standardisée */
    -moz-background-size: cover;
	-o-background-size: cover;
	-webkit-background-size: cover;

	min-height: 100vh;

	display: flex;
	align-items: flex-start;
	justify-content: center;
	
}
.section_form{
	width: 60%;

	margin-top: 15vh;
	margin-bottom: 15vh;

	border-radius: 20px;
	background-color: white;

	display: flex;
	justify-content: center;
	align-items: center;
}

/*START OF IMG_PART*/
.img_part{
	width: 55%;
	border-radius: 0px 20px 20px 0px;

	display: flex;
	justify-content: center;
	align-items: center;
}
.img_part img{
	width: 80%;
}
/*END OF IMG_PART*/



/*START OF FORM_PART*/
.form_part{
	width: 45%;
	border-radius: 20px 0px 0px 20px;
	padding-top: 5%;
	padding-bottom: 20px;

	display: flex;
	flex-direction: column;
	align-items: center;
}

.form{
	width: 60%;
}

.logo_box{

	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.logo{
	width: 60px;
}


.form_part h1{
    font-family: 'pt_font';
	color:  #023E8A;
	margin-top: 20px;
	margin-bottom: 30px;
	text-align: center;
}

.input{
	background-color: white;
	border-style: solid;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	font-size: 16px;
	color: #202124;
	width: 100%;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 4px;
}
.label_width{
	width: 100%;
}
.password_input_box{
	position: relative;
	align-items: center; 
	width: 100%;
	margin-top: 21px;
	margin-bottom: 10px;
}
.password_input_box input{
	margin-top: 0px!important;
	margin-bottom: 0px!important;
}
.email_input_box{
	margin-bottom: 15px;
}
.connexion_div{
	width: 100%;

	margin-top: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.connexion_submit_button{
	cursor: pointer;
	color: white;
	font-weight: bold;
	font-size: 15px;
	background: #023E8A;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
	border-radius: 20px;
	border-style: none;
	margin: auto;
}

.recover_password_form{
	width: 70%;
	margin-top: 15px;
	margin-bottom: 10px;

	display: flex;
	justify-content: center;
	align-items: center;
}

.recover_password_request_button{
	cursor: pointer;
	border-style: none;
	background-color: white;
	color: #4d5156;
	font-size: 14px;
}


/*END OF FORM_PART*/

.get_app_button{
	text-decoration: none;
    color: white!important;
    border-width: 0px!important;
    border-color: rgba(0,0,0,0);
    border-radius: 5px;
    letter-spacing: 1px;
    font-size: 12px;
    font-family: 'Rubik',Helvetica,Arial,Lucida,sans-serif!important;
    text-transform: uppercase!important;
    background-color: #263547;
    padding: 6px 10px 6px 10px;
    border-radius: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
}

/*RESPONSIVE*/

@media screen and (max-width: 1500px) {
    .section_form{
		width: 70%;
	}
}
@media screen and (max-width: 1200px) {
    .section_form{
		width: 90%;
	}
}
@media screen and (max-width: 810px) {
	body{
		align-items: center;
		background-image: url('/img/background/background_mobile_admin_form.svg');
	}
   .section_form{
		width: 60%;
		margin-top: 10vh;
		margin-bottom: 10vh;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.form_part{
		padding-top: 30px;
		width: 85%;
	}
	.form{
		width: 70%;
	}
	.connexion_submit_button{
		font-size: 14px;
	}
	.recover_password_form{
		margin-top: 8px;
		margin-bottom: 0px;
	}
	.get_app_button{
		margin-top: 30px;
		margin-bottom: 10px;
		font-size: 12px;
	}
	.img_part{
		margin-bottom: 10px;
	}
}


@media screen and (max-width: 730px) {
  .section_form{
		width: 70%;
	}
}

@media screen and (max-width: 600px) {
	
	.section_form{
		width: 80%;
	}

	.form_part{
		width: 100%;
	}
	.img_part{
		display: none;
		width: 65%;
	}	
	.connexion_submit_button{
		font-size: 13px;
	}
}
@media screen and (max-width: 450px) {
	.section_form{
		margin-top: 8vh;
		margin-bottom: 8vh;
	}
	.form_part{
		width: 100%;
	}
	.form_part h1{
		font-size: 28px;
	}
	.logo{
		width: 50px;
	}
	.input{
		font-size: 15px;
	}
	.img_part{
		display: none;
	}
	.get_app_button{
		font-size: 11px;
	}
}

@media screen and (max-width: 320px) {
	.form_part h1{
		font-size: 8.5vw;
	}
}


/*INPUT ANIMATION*/

input:focus {
  outline: 0;
}
/* Question */

/*The input*/
.input_animation{
  font-weight: 300;
  border-radius: 2px;
  border: none;
  background: rgba(0, 0, 0, 0);
  transition: padding-top 0.2s ease, margin-top 0.2s ease;
  overflow-x: hidden; /* Hack to make "rows" attribute apply in Firefox. */
}
/* Underline and Placeholder */

/*The label with input.question*/
input.input_animation + label{
  display: block;
  position: relative;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  border-top: 1px solid #455a64;
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
  height: 0px;
}

/*Input when he is focus */
input.input_animation:focus,
input.input_animation:not(:placeholder-shown) {
  padding-top: 28px;
}


input.input_animation + label > span{
  font-weight: normal;
  position: absolute;
  color: #8F8F8F;
  font-size: 16px;
  top: -28px;
  left: 0px;
  -webkit-transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  cursor: text;
}

input.input_animation:focus + label > span,
input.input_animation:not(:placeholder-shown) + label > span {
  	top: -53px;
  	/*font-size: 22px;*/
  	color: #333;
  	font-weight: bold;
	cursor: pointer;
}


input.input_animation:not(:placeholder-shown) + label{
  /*border-color: green;*/
}

input.input_animation:placeholder-shown{
  box-shadow: none;
}
