﻿
@font-face {
    font-family: 'Albert Sans';
    src: url('fonts/AlbertSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('fonts/AlbertSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('fonts/AlbertSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('fonts/AlbertSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('fonts/AlbertSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('fonts/AlbertSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --white: #fff;
    --primary: #330066;
    --primary-hv: #5501aa;
    --gray-300-2: #EBEBEB;
    --base-text: #404040;
    --bg-color: #FEFEFE;
    --error: #DC3545;
}

html, body {
    min-height: 100vh;
}
body {
    display: flex;
    background: var(--primary);
    font-family: "Albert Sans", serif;
}
h1 {
    margin-bottom: 28px;
    color: var(--primary);
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
}
h2 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 22px;
    font-weight: 400;
    line-height: 26px;
}
.text-danger {
    color: var(--error) !important;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}
.mt-46 {
    margin-top: 46px;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}
.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none;
}
.btn.btn-full {
    width: 100%;
}
.btn.btn-icon {
    width: 36px;
    padding: 0;
}
.btn.btn-link {
    padding: 0 20px;
    color: var(--primary);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-decoration: underline;
}
.btn.btn-primary {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}
.btn-primary:not(:disabled):not(.disabled):active,
.btn.btn-primary:hover {
    border-color: var(--primary-hv);
    background: var(--primary-hv);
}

.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 .25rem rgba(51, 0, 102, .5019607843);
}
    .btn.btn-outline {
        border-color: var(--base-text);
        color: var(--base-text);
    }
label {
    margin-bottom: 4px;
    display: flex;
    flex-flow: row nowrap;
    color: var(--base-text);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
}
label em {
    display: inline-block;
    margin-left: 3px;
    font-size: 12px;
}
.alert {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
}
.alert ul {
    margin-bottom: 0;
}
.alert.alert-danger {
    border-color: #DC354580;
    background: #DC35453D;
    color: var(--error);
}
.form-control {
    width: 100%;
    height: 36px;
    outline: 0;
    border-radius: 8px;
    border: 1px solid var(--gray-300-2);
    background-color: var(--bg-color);
    color: var(--base-text);
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-appearance: none;
}
.form-control.input-validation-error {
    border-color: var(--error);
}
.form-control:focus {
    border-color: rgba(51, 0, 102, .5019607843);
    box-shadow: 0 0 0 .25rem rgba(51, 0, 102, .5019607843);
}
.form-control-wrap {
    position: relative;
}
.form-control-wrap::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    width: 16px;
    height: 17px;
    background-repeat: no-repeat;
    background-size: cover;
}
.form-control-wrap.user::after {
    background-image: url('../user.svg');
}
.form-control-wrap.password::after {
    background-image: url('../lock.svg');
}
.form-control-wrap.email::after {
    background-image: url('../email.svg');
}

.form-control-wrap.password .btn-show {
    position: absolute;
    right: -2px;
    top: 0;
}
.form-control-wrap .form-control {
    padding-left: 36px;
}

.icon {
    display: block;
    width: 16px;
    height: 17px;
    background-repeat: no-repeat;
    background-size: cover;
}
.icon-close {
    background-image: url('../close.svg');
}
.icon-eye {
    width: 20px;
    background-image: url('../eye.svg');
}
.icon-eye-slash {
    width: 20px;
    background-image: url('../eye-slash.svg');
}
.icon-email {
    background-image: url('../email.svg');
}
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding: 0;
}

.form-check input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.form-check label {
    position: relative;
    cursor: pointer;
}

.form-check label:before {
    content: '';
    position: relative;
    top: 2px;
    display: inline-block;
    height: 16px;
    margin-right: 8px;
    padding: 4px 6px;
    border-radius: 4px;
    border: 2px solid #DDDDDD;
    box-shadow: none;
    background-color: var(--bg-color);
    vertical-align: middle;
    cursor: pointer;
    -webkit-appearance: none;
}

.form-check input:focus + label:before {
    box-shadow: 0 0 0 .25rem rgba(51, 0, 102, .5019607843);
}

.form-check input:checked + label:before {
    background-color:var(--primary)6;
    border-color: var(--primary);
}
.form-check input:checked + label:after {
    content: '';
    display: block;
    position: absolute;
    top: 3px;
    left: 5px;
    width: 6px;
    height: 12px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.welcome-page {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
}

.welcome-page .logo {
    width: 45px;
}

.welcome-page li {
    list-style: none;
    padding: 4px;
}

.icon-banner {
    width: 64px;
}

.body-container {
    margin: auto;
    padding: 40px 20px;
}

.logged-out-page iframe {
    display: none;
    width: 0;
    height: 0;
}

.grants-page .card {
    margin-top: 20px;
    border-bottom: 1px solid lightgray;
}

.grants-page .card .card-title {
    font-size: 120%;
    font-weight: bold;
}

.grants-page .card .card-title img {
    width: 100px;
    height: 100px;
}

.grants-page .card label {
    font-weight: bold;
}

form {
    width: 100%;
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.login-page .logo {
    width: 171px;
    margin-bottom: 16px;
}
.login-page .logo img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.login-page .card {
    width: 100%;
    max-width: 636px;
    border: 0;
    border-radius: 8px;
    background: var(--white);
    padding: 20px 40px 60px 40px;
}

.login-page .card .card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
    padding: 0;
    border: 0;
    background: none;
}
.login-page .card .card-header .btn.btn-icon {
    position: relative;
    right: -20px;
}

.login-page .card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 384px;
    margin: 0 auto;
    padding: 0;
}

.reset-password-page .card .card-header form {
    display: flex;
    flex-direction: row;
    justify-content: right;
}

.form-group {
    margin-bottom: 32px;
}
.form-group-flex {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-top: 6px;
}
.form-check-forgot {
    display: flex;
    justify-content: space-between;
}
.another-server {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-300-2);
    text-align: center;
}

.another-server-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}