#logo{
    height:89px;
    display:block;
    margin:auto;
}
body{
    background-color:var(--main-color);
}
.login-text{
    margin-top:0;
    margin-bottom:30px;
}
#login-container{
    position:absolute;
    top:calc(50% - 30px);
    left:50%;
    transform:translate(-50%,-50%);
    width:100%;
    max-width:500px;
    margin:35px auto;
    text-align:center;
    padding:50px;
    box-sizing:border-box;
    background-color:#fff;
    border-radius:4px;
    box-shadow:0 5px 10px rgba(0,0,0,.2);
}

.login-text{
    font-size:18px;
    color: rgba(77,79,92, 0.5);
}


input[type=text],
input[type=password]{
    width:100%;
    padding:10px 0px 20px 0px;
    margin-bottom:30px;
    box-sizing: border-box;
    box-shadow:none;
    outline:none;
    border:none;
    border-bottom:2px solid #E9E9F0;
}

.login-field{
    position:relative;
}

.login-field label{
    position: absolute;
    top:10px;
    left:0;
    transition:.5s;
    pointer-events:none;
}

input[type=text]:focus ~ label,
input[type=password]:focus ~ label,
input[type=text]:valid ~ label,
input[type=password]:valid ~ label{
    top:-12px;
    left:0;
    font-weight:bold;
    color:var(--main-color);
}

input[type=text]:focus,
input[type=password]:focus,
input[type=text]:valid,
input[type=password]:valid{
    border-bottom: 2px solid var(--main-color);
    padding:20px 0px 10px 0px;
}

button[type=submit]{
    min-width:150px;
}
.login-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    margin-bottom:30px;
}
.login-actions a{
    text-decoration: none;
}

/* custom checkbox */
/* The container */
.form-check-label {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color:var(--main-color);
  text-align:left;
}

/* Hide the browser's default checkbox */
.form-check-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #fff;
  border:1px solid #808495;
  border-radius:4px;
}


/* When the checkbox is checked, add a blue background */
.form-check-label input:checked ~ .checkmark {
  border-color:var(--main-color);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.form-check-label input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.form-check-label .checkmark:after {
  left: 7px;
  top: -7px;
  width: 8px;
  height: 20px;
  border: solid var(--main-color);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media print, screen and (max-width:530px){
    #login-container{
        max-width:calc(100% - 30px);
        top: 50%;
    }
}
