body,
html {
    margin: 0;
    padding: 0;
    color: #585858;
    height: 100%;
}

* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/*  wrapper */
.wrapper {
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .wrapper {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .wrapper {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .wrapper {
        max-width: 960px;
    }
    .val-login-form #form-section{
        min-height: 10vh;
    }
    
}

@media (min-width: 1200px) {
    .wrapper {
        max-width: 1140px;
    }
    .val-login-form #form-section{
        min-height: 10vh;
    }
}

/*  /wrapper */

.d-grid {
    display: grid;
}

button,
input,
select {
    -webkit-appearance: none;
    outline: none;
}

button,
.btn,
select {
    cursor: pointer;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
    margin: 0;
    padding: 0;
}

.val-login-form #form-section {
    background: url(../img/bg7.jpg) no-repeat center;
    background-size: auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    position: relative;
    display: grid;
    align-items: center;
    min-height: 100vh;
    z-index: 0;
}

.form-fields {
    grid-template-columns: 1fr 1fr;
}

.val-login-form #form-section:before {
    content: "";
    background: rgba(0, 0, 0, 0.65);
    position: absolute;
    top: 0;
    min-height: 100%;
    left: 0;
    right: 0;
    z-index: -1;
}

.val-login-form .logo {
    text-align: center;
    margin-bottom: 20px;
}

.val-login-form .logo a {
    font-size: 36px;
    color: #fff;
    line-height: 40px;
    font-weight: normal;
}

.val-login-form .login-form {
    background: #fff;
    max-width: 600px;
    margin: 0px auto;
    box-shadow: 0px 9px 24px 5px rgba(0, 0, 0, 0.04);
}

.val-login-form .login-form form input[type="text"],
.val-login-form .login-form form input[type="email"],
.val-login-form .login-form form input[type="password"] {
    -webkit-appearance: none;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: #777777;
    border: none;
    width: 100%;
    background-color: rgba(88, 83, 152, 0.03);
    padding: 24px;
}

.val-login-form .login-form form input[type="text"] {
    border-right: 1px solid #e8e8e8;
}

.val-login-form .login-form form input[type="text"]:focus,
.val-login-form .login-form form input[type="email"]:focus,
.val-login-form .login-form form input[type="password"]:focus {
    outline: none;
    background-color: rgba(151, 188, 218, 0.521);
    box-shadow: none;
}

.val-login-form .login-form form button {
    -webkit-appearance: none;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
    color: #ffffff;
    background: #2a51bd;
    height: 55px;
    border: none;
    display: block;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0.8;
    transition: 0.3s ease-in-out;
}

.val-login-form .login-form form button:hover {
    background: #1fa0eb;
    transition: 0.3s ease-in-out;
    opacity: 1;
}

.val-login-form .login-form form button:focus {
    outline: none;
}

@media (max-width: 500px) {
    .form-fields {
        grid-template-columns: 1fr;
    }

    .val-login-form .login-form form input[type="text"] {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }
    .val-login-form #form-section{
        min-height: 91.8vh;
    }
}

.new-signup {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 10px auto 0;
    flex-wrap: wrap;
    color: #ffffff;
}

p.signup {
    font-size: 15px;
    text-align: center;
    color: #ff0000;
}

.rounded {
    border-radius: 0.25rem !important;
  }


.mx-auto {
  margin-right: auto !important;
}


.my-auto {
  margin-bottom: auto !important;
}


.mx-auto {
  margin-left: auto !important;
}

.d-block {
    display: block !important;
  }
