﻿@font-face {
    font-family: "Germania One";
    src: local("germania_one"),
    url("/../Germania_One/GermaniaOne-Regular.ttf") format("truetype");
}

body {
    font-family: 'Germania One', cursive;
}

.title-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #bcb3b3;
    margin: auto;
    left: 0;
    right: 0;
    top: -130px;
}

.login-error-msg {
    font-size: 25px;
    color: white;
    text-align: center;
}

.title {
    font-size: 70px;
    margin-bottom: -25px;
}

.subtitle {
    font-size: 50px;
}

.login-page {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.login-background {
    display: flex;
    background-image: url("/../login_background_no_transparency.jpeg");
    background-position: center;
    background-size: cover;
    position: fixed;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    z-index: -1;
    filter: brightness(0.7);
}

.btn-login {
    background-size: 100% 100%;
    width: 70%;
    height: 50px;
    margin-left: 15%;
    color: #b3a099;
    font-size: 20px;
    background: #444444b5;
    border: 1px solid #333333;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #b1b1b1 !important;
}

.input-container {
    padding: 7px 14px;
    position: relative;
}

.input-container-bg {
    background-image: url(/../input_background.png);
    background-size: calc(100% - 10px) calc(100% - 10px);
    background-position-x: 5px;
    background-position-y: 5px;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0.5;
}

.custom-form-control {
    background: transparent !important;
    color: #d2d1d1 !important;
    border-image: url(/../input_border.png) 30 round;
    border-image-width: 4px;
    height: 50px;
}

.custom-form-control:focus {
    box-shadow: none !important;
}

.alert-custom {
    /*background-image: url(/../warning_background.jpg);*/
    background: linear-gradient(90deg, rgb(2 0 36 / 0%) 0%, rgb(16 11 17) 35%, rgb(0 212 255 / 0%) 100%);
    border-color: transparent;
    padding-bottom: 0 !important;
}

.alert-custom ul {
    list-style: none !important;
    padding: 0 !important;
}

.btn-login:hover {
    filter: brightness(1.1) !important;
    color: #b3a099 !important;
}

.login-body {
    width: 440px;
    max-width: 85%;
    margin: auto;
    border-radius: 5px;
    padding: 40px;
    background-size: calc(100% + 4px) calc(100% + 4px);
    background-position-x: -2px;
    background-position-y: -2px;
    position: relative;
}

.login-body form {
    display: flex;
    flex-direction: column;
}

.login-body label {
    color: #ebcd87;
}

.login-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: #171717f5;
    display: flex;
    max-height: 10%;
    min-height: 50px;
    border-top: 1px solid #4a4a4a66;
    border-image: url(/../input_border.png) 30 round;
    border-image-width: 4px;
}

.login-footer-body {
    width: 450px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    color: #94773a;
}

.login-footer-body button {
    margin: auto 0;
}

.custom-btn-link {
    color: #6b6b6b;
}

.btn-link:hover {
    text-decoration: none !important;
    filter: brightness(1.2) !important;
    color: inherit !important;
}

.custom-btn-link-important {
    color: #94773a;
    font-weight: bold;
}

.custom-checkbox {
    width: 20px;
    position: relative;
}

.custom-checkbox label {
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(top, #222 0%, #45484d 100%);
    border-radius: 4px;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, .4);
}

.forgot-password-container {
    display: flex;
    flex-direction: row;
    margin: auto;
    padding: 10px 0;
}

.forgot-password-container label {
    padding-left: 10px;
}

.custom-checkbox label::after {
    content: '';
    width: 12px;
    height: 7px;
    position: absolute;
    top: 5px;
    left: 4px;
    border: 3px solid #aa8838;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    transform: rotate(-45deg);
}

.custom-checkbox label:hover::after {
    opacity: 0.3;
}

input[type=checkbox] {
    visibility: hidden;
}

input[type=checkbox]:checked + label:after {
    opacity: 1;
}

.body-container {
    margin-top: 60px;
    padding-bottom: 40px;
}

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

.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;
}

@media (max-width: 576px) {
    .login-body {
        width: 350px;
        max-width: 85%;
        margin: auto;
        border: none;
        padding: 0;
        background: none;
    }
}
