* {
  box-sizing: border-box;
}

::-moz-selection {
  background: rgba(186, 26, 54, 0.5);
}

::selection {
  background: rgba(186, 26, 54, 0.5);
}

html,
body {
  margin:0;
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-family: "Open Sans";
}

a {
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
a:active, a:hover {
  border-color: #ba1a36;
  color: #ba1a36;
}

.login-page {
  background: #ffd1d9 url(https://images.unsplash.com/photo-1502603967048-89e58f595728?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=af125d7cb5dfc8b91ce0bab434c63c99&auto=format&fit=crop&w=1050&q=80) top left no-repeat;
  background-size: cover;
  height: calc(100vh);
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  overflow: hidden;
}

.login-panel-container {
  background: rgba(255, 255, 255, 0.9);
  height: 100%;
  width: 57.5%;
  padding: 0 8.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
@media screen and (max-width: 768px) {
  .login-panel-container {
    width: 100%;
    justify-content: flex-start;
  }
}
@media screen and (max-width: 1335px) {
  .login-panel-container {
    padding: 0 5%;
  }
}

.login-panel-options {
  position: fixed;
  margin: 1.25rem;
  top: 0;
  right: 0;
}

.aide-link {
  width: 60px;
  height: 60px;
  background: white;
  border: 1px solid #8f0921;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  font-size: 0.85rem;
  transition: border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.aide-link:before {
  content: "?";
  font-weight: bold;
  display: block;
  font-size: 1.6rem;
  line-height: 2.2rem;
}
.aide-link:active, .aide-link:hover {
  border-color: #ba1a36;
  color: #ba1a36;
}

.login-panel {
  display: flex;
  flex-direction: column;
  align-items: left;
  width: 100%;
  padding: 2rem 0;
}

.login-header {
  font-size: 26px;
  font-weight: 300;
  color: #5f5f5f;
}

.login-page-logo {
  margin-bottom: 1.4rem;
}

form {
  width: 100%;
}

.login-form-container {
  width: 100%;
  /* for Firefox */
}

.form-group label {
  width: 100%;
  display: block;
  font-size: 0.85rem;
  color: #5f5f5f;
  line-height: 1.4rem;
}
.form-group label a {
  float: right;
}

.form-control {
  width: 100%;
  display: block;
  line-height: 2rem;
  margin: 0.4rem 0 1.4rem;
  padding: 0.7rem 1rem;
  border: 1px solid #bababa;
  color: #8f0921;
  font-size: 1.125rem;
  font-weight: 400;
  transition: border-color 0.3s ease-in-out;
}
.form-control:focus {
  border-color: #8f0921;
  color: #8f0921;
  outline: none;
}

.login-button {
  background-color: #8f0921;
  width: 100%;
  color: white;
  font-size: 1rem;
  line-height: 2.4rem;
  padding: 0.5rem;
  border: 1px solid #8f0921;
  transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
  cursor: pointer;
  outline: none;
  margin: 0.8rem 0;
}
.login-button:active, .login-button:hover {
  border-color: #ba1a36;
  background-color: #ba1a36;
}
.check{
  display:none;
	position:relative;
	color:green;
}
.checkerror{
  display:none;
	position:relative;
	color:red;
}
