@font-face {
    font-display: swap;
    font-family: 'Nunito Regular';
    font-style: normal;
    font-weight: 400;
    src: url('/template/general/fonts/Nunito-Regular.woff2') format('woff2');
}

* {
    padding: 0;
    margin: 0;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a, a:link, a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

body {
    font-family: 'Nunito Regular', sans-serif;
    font-size: 15px;
    background: url('/template/general/images/bg-auth.jpg') -15% -22% no-repeat, url('/template/general/images/bg-auth2.jpg') 115% 122% no-repeat #F5F5F7;
    color: #575757;
}

.auth-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.auth-box{
    position: relative;
    width: 360px;
    height: 490px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    padding-bottom: 32px;
}

.auth-logo-box{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.auth-logo{
    background: url(/template/general/svg/logo-v.svg) 0 0 no-repeat;
    background-size: cover;
    width: 160px;
    height: 96px;
}

.auth-form input[type=text],
.auth-form input[type=password]{
    font-family: 'Nunito Regular', serif;
    font-size: .9rem;
    background: #F5F5F7;
    display: block;
    height: 40px;
    width: 250px;
    box-sizing: border-box;
    border-radius: 8px;
    padding: 0 16px;
    border: 1px solid #DDDDDD;
    margin: 0 auto 12px auto;
}

.auth-form input[type=submit]{
    font-family: 'Nunito Regular', serif;
    font-size: .9rem;
    display: block;
    height: 40px;
    line-height: 40px;
    width: 140px;
    background: #7F67E1;
    color: #FFFFFF;
    border-radius: 10px;
    margin: 24px auto 12px auto;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.auth-form input[type=submit]:hover{
    background: #9E8BE9;
}

.auth-footer{
    position: absolute;
    bottom: -32px;
    color: rgba(87, 87, 87, .35);
    width: 360px;
    text-align: center;
    font-size: .9rem;
}

@media all and (max-width: 992px) {
    body {
        background: url('/template/general/images/bg-auth.jpg') -15% -22% no-repeat #F5F5F7;
    }
}

@media all and (max-width: 556px) {
    body {
        background: #FFFFFF;
    }

    .auth-wrapper{
        overflow: hidden;
    }

    .auth-box{
        position: relative;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-logo-box{
        padding-top: 64px;
    }

    .auth-footer{
        position: fixed;
        bottom: 24px;
        width: 100%;
    }
}
