html,
body {
  height: 100%;
}

.signin {
  height: 100%;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .checkbox {
  font-weight: 300;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: rgb(200,16,46);
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(200, 16, 46, .25)
}

/*
CHECKBOX
*/
.form-signin .custom-control-label:before{
    background-color:rgba(0, 0, 0, .2);
}
.form-signin .custom-checkbox .custom-control-input:checked~.custom-control-label::before{
    background-color:rgb(200, 16, 46);
    
}