/* ---------- FONTAWESOME ---------- */
/* ---------- http://fortawesome.github.com/Font-Awesome/ ---------- */
/* ---------- http://weloveiconfonts.com/ ---------- */

[class*="fontawesome-"]:before {
  font-family: 'FontAwesome', sans-serif;
}

/* ---------- GENERAL ---------- */

#formContainer {
  color: #000;
  font: 100%/1.5em "Varela Round", sans-serif;
  margin: 0;
  text-align: left;
}

#formContainer input {
  background-image: none;
  border: none;
  font: 100%/1.5em "Varela Round", sans-serif;
  margin: 0;
  padding: 0;
  -webkit-transition: all .3s;
          transition: all .3s;
}

/* ---------- LOGIN ---------- */

#loginFrame h2 {
  background: #9EA9A4;
  border-radius: 20px 20px 0 0;
  color: #fff;
  font-size: 28px;
  padding: 20px 26px;
  margin-bottom: 0px;
}

#loginFrame h2 span[class*="fontawesome-"] {
  margin-right: 14px;
}

#loginFrame .fieldset {
  background: #fcfcfc;
  border-radius: 0 0 20px 20px;
  padding: 20px 26px;
  border: 5px solid #9EA9A4;
  border-top: none;
}


#login #loginFrame .fieldset, #recover #loginFrame .fieldset {
  height: 475px;
}

#changePw #loginFrame .fieldset {
  height: 435px;
}


@media (max-height:700px) {
    #login #loginFrame .fieldset, #changePw #loginFrame .fieldset, #recover #loginFrame .fieldset {
	  height: 270px;
	}
	
    #login #loginFrame .gwt-Image, #changePw #loginFrame .gwt-Image, #recover #loginFrame .gwt-Image {
	  display:none;
	}
	
}

#loginFrame .fieldset p {
  color: #777;
  margin-bottom: 14px;
}

#loginFrame .fieldset p:last-child {
  margin-bottom: 0;
}

#loginFrame .fieldset input {
  border-radius: 8px;
}

#loginFrame .fieldset input[type="text"], #loginFrame .fieldset input[type="password"] {
  color: #777;
  background-color: #eee;
  padding: 4px 10px;
  width: 100%;
  height: 40px;
  border:none;
  outline: none;
  font-size: 14px;
}

#loginFrame .fieldset a, #loginFrame .fieldset a:visited, #loginFrame .fieldset a:hover{
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease-out;
}

#loginFrame .fieldset .erreur {
  color: #E55451;
}

#loginFrame .fieldset .succes {
  color: #4E9258;
}

#loginFrame .fieldset .erreur:before, #loginFrame .fieldset .succes:before {
  margin-right: 8px;
}


/* Bouton */

#formContainer .fieldset button {
/*   background: #9EA9A4; */
  color: #fff;
  display: block;
  margin: 0 auto;
  padding: 4px 0;
  width: 100%;
  height: 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 7px;
  transition: all 0.3s ease-out;
}

/* General button style (reset) */
#formContainer .btn {
	border: none;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background: none;
	cursor: pointer;
	padding: 25px 80px;
	display: inline-block;
	margin: 15px 30px;
	font-weight: 700;
	outline: none;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}


/* Button 3 */
#formContainer .btn-3 {
	background: #9ea9a4;
}

#formContainer .btn-3:hover {
	background: #7e8783;
}

#formContainer .btn-3:active {
	background: #646c68;
	top: 1px;
}

#formContainer .btn-3:before {
	position: absolute;
	height: 100%;
	left: 0;
	top: 0;
	line-height: 1.6;
	font-size: 140%;
	width: 60px;
}

/* Button 3e */
#formContainer .btn-3e {
	padding: 25px 120px 25px 60px;
	overflow: hidden;
}

#formContainer .btn-3e:before {
	left: auto;
	right: 0px;
	z-index: 2;
}

#formContainer .btn-3.wait {
  background: #646c68;
  top: 1px;
}


#formContainer .icon-arrow-right:before {
 	font-family: 'FontAwesome', sans-serif;
	content: "\f061";
}

/* Spinner */
#formContainer .icon-arrow-right.wait:before {
 	font-family: 'FontAwesome', sans-serif;
	content: "\f021";
    -webkit-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}



/*----------------------------
	  Effet flip flap
-----------------------------*/


#formContainer{
	width: 400px;
	height:900px;
	margin:auto;
	position:relative;
	z-index:1;
	
	-moz-perspective: 900px;
	-webkit-perspective: 900px;
	perspective: 900px;
}

#formContainer .form{
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	
	/* Enabling 3d space for the transforms */
	-moz-transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	
	/* When the forms are flipped, they will be hidden */
	-moz-backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	
	/* Enabling a smooth animated transition */
	-moz-transition:0.8s;
	-webkit-transition:0.8s;
	transition:0.8s;
	
	/* Configure a keyframe animation for Firefox */
	-moz-animation: pulse 2s infinite;
	
	/* Configure it for Chrome and Safari */
	-webkit-animation: pulse 2s infinite;
}



#formContainer #login{
	z-index:100;
}

#formContainer #recover{
	z-index:1;
	opacity:0;
	
	/* Rotating the recover password form by default */
	-moz-transform:rotateY(180deg);
	-webkit-transform:rotateY(180deg);
	transform:rotateY(180deg);
}

#formContainer.flipped #login{
	
	opacity:0;
	
	/**
	 * Rotating the login form when the
	 * flipped class is added to the container
	 */
	
	-moz-transform:rotateY(-180deg);
	-webkit-transform:rotateY(-180deg);
	transform:rotateY(-180deg);
}

#formContainer.flipped #recover{
	
	opacity:1;
	
	/* Rotating the recover div into view */
	-moz-transform:rotateY(0deg);
	-webkit-transform:rotateY(0deg);
	transform:rotateY(0deg);
}


@media (max-height:490px) {
    /* body {
	  overflow-y: scroll;
	} */
	
	#formContainer.formContainerChangePw{
		height: 375px;
	}
	
	.templatemo-identification {
	  height: 375px;
	}
}

div#langue{
	float: right;
	margin-top: 3em
}

div#langue > span{
	margin: 0.5em;
	cursor: pointer;
	color: rgb(12,12,170);
}

#captcha {
	margin: auto;
	width: 304px;
}

