html {
    scroll-behavior: smooth;
    overflow-x: hidden;

}


body {
    padding-right: 0px !important;
    font-size: 16px;
    font-family: 'inter', sans-serif;
    letter-spacing: 1.5px;
    position: relative;
}

@media (max-width: 578px) {
    body {
        font-size: 15px;
    }
}

@font-face {
    font-family: 'inter';
    src: url('../fonts/inter.woff') format("woff"),
        url('../fonts/inter.ttf') format("truetype"),
        url('../fonts/inter.eot') format("embedded-opentype");
}

@font-face {
    font-family: 'inter-b';
    src: url('../fonts/Inter-ExtraBold.woff') format("woff"),
        url('../fonts/Inter-ExtraBold.ttf') format("truetype"),
        url('../fonts/Inter-ExtraBold.eot') format("embedded-opentype");
}

@font-face {
    font-family: 'inter-l';
    src: url('../fonts/Inter-Light.woff') format("woff"),
        url('../fonts/Inter-Light.ttf') format("truetype"),
        url('../fonts/Inter-Light.eot') format("embedded-opentype");
}
@font-face {
    font-family: 'inter-t';
    src: url('../fonts/Inter-Thin.woff') format("woff"),
        url('../fonts/Inter-Thin.ttf') format("truetype"),
        url('../fonts/Inter-Thin.eot') format("embedded-opentype");
}
/* ---- basic setting ----- */

:root {
    --main-color: #34654c;
    --dark-color: #2a4638;
    --light-color: #edf0e9;
    --pink-color: #f4a6a4;
    --green-color: #47634d;
}

a {
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;

}

a:focus,
a:hover {
    text-decoration: none;
    outline: 0;
    color: var(--main-color);
    cursor: pointer;
}

img {
    border: 0;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
label,
input,
select,
option,
textarea {
    margin: 0;
    padding: 0;
}

.modal {
    padding-right: 0px !important;
}

input {
    outline: none;
    border: 1px solid var(--light-color);
    padding: 5px 8px;
    font-size: 15px;
    border-radius: 5px;
    color: #666;
}

select {
    border: 1px solid var(--light-color);
    outline: none;
    padding: 5px 8px;
    font-size: 15px;
    border-radius: 5px;
    color: #666;
}
input[type=checkbox] {
    width: 25px !important;
    height: 25px;
    -webkit-appearance:none;
    background-color: #fff;
    display: inline-block;
    position: relative;
    border: 1px solid #eee;
}
input[type=checkbox]::after {
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    content: "\f00c";
    display: block;
    font-size: 20px;
    top: -2px;
    left: 2px;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    color: #008ED3;
    z-index: 1;
    transition: .3s ease;
    transform: scale(0);
}
input[type=checkbox]:checked:after {
    transform: scale(1);
}
button {
    outline: none;
    border: none;
    background-color: var(--main-color);
    color: #fff;
    padding: 5px 10px;
    letter-spacing: 2px;
    border-radius: 5px;
    font-size: 15px;
    transition: .3s ease;
}

button.vice {
    background-color: var(--light-color);
    font-size: 13px;
    color: var(--main-color);
}
button.vice:hover {
    background-color: #d8e0cc
}
button:hover {
    background-color: rgba(52, 101, 76, 0.8);
}
button:focus {
    outline: none;
}

/* ---- basic setting end ----- */



.login-bg {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-image: url(../img/login-bg.jpg);
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.login-main {
    position: relative;
    width: 100%;
    height: 100vh;
}
.login-main .container-fluid,
.login-main .container-fluid .row,
.login-main .container-fluid .row .col-lg-12 {
    height: 100%;
}
.login-main .login-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.login-main .login-wrap {
    width: 450px;
}
@media (max-width: 480px) {
    .login-main .login-wrap {
        width: 95%;
        padding: 35px 0;
    }
}
.login-main .logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.login-main .logo-img img {
    width: 200px;
    margin-bottom: 10px;
}
.login-main .logo-text {
    width: 100%;
    font-size: 25px;
    text-align: center;
    color: var(--dark-color);
    font-weight: 900;
}

.login-main .login-box {
    width: 100%;
    min-height: 345px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 5px;
    overflow: hidden;
    padding: 20px 65px 55px 65px;
    position: relative;
}

@media (max-width: 450px) {
    .login-main .login-box {
        padding: 25px 40px 35px 40px;
    }
}

.login-box .login-title {
    line-height: 50px;
    margin: 15px 0 20px 0;
    font-weight: 900;
    font-family: 'inter-b';
    text-align: center;
    font-size: 25px;
    color: var(--main-color);
}

@media (max-width: 576px) {
    .login-box .login-title {
        line-height: 30px;
    }
}

.login-box .login-notice {
    font-size: 14px;
    text-align: center;
    color: #666;
    margin: 20px 0;
}


.login-box .login-input {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.login-box .login-input label {
    width: 100%;
    font-size: 14px;
    color: var(--main-color);
    margin-bottom: 2px;
}
.login-box .login-input.check {
    flex-wrap: nowrap;
    align-items: center;
    margin: 20px 0;
}
.login-box .login-input label.check-label {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
    line-height: 16px;
}

.login-box .login-input label.check-label a {
    color: var(--main-color);
    text-decoration: underline;
}

.login-box .login-input input {
    width: 100%;
}

.login-box .login-input select {
    width: 100%;
}

.login-box button {
    width: 100%;
}
.login-box button i {
    font-size: 16px;
}
.login-box .login-divide span {
    display: flex;
    font-size: 15px;
    flex-direction: row;
    color: var(--main-color);
}
.login-box .login-divide span::after {
    content: '';
    flex: 1 1;
    border-bottom: 1px solid var(--light-color);
    margin: auto;
    margin-left: 10px;
}
.login-box .login-divide span::before {
    content: '';
    flex: 1 1;
    border-bottom: 1px solid var(--light-color);
    margin: auto;
    margin-right: 10px;
}

.login-link {
    margin: 25px 0 15px 0;
    display: flex;
    font-size: 13px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.login-link a {
    white-space: nowrap;
    font-size: 13px;
    text-align: center;
    color:var(--main-color);
    text-decoration: underline;
}


@media (max-width: 480px) {
    .login-link {
        flex-wrap: wrap;
        justify-content: center;
    }
    .login-link span {
        display: block;
        margin: 0 5px;
    }
    .login-link a {
        margin-bottom: 5px;
    }
    .login-link a::after {
        content: none !important;
    }
}

.login-bottom-link {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.login-bottom-link a {
    color: #999;
    letter-spacing: 0px;
}

.account-copyright {
    font-size: 13px;
    text-align: center;
    color: var(--green-color);
    margin: 15px 0;
}

.account-copyright a {
    color: var(--green-color);
    text-decoration: underline;
}