:root {
    --color-1: #4682B4;
    --color-2: #FFFFFF;
    --color-3: #D9D9D9;
}

* {
    padding: 0;
    margin: 0;
    font-family: calibri;
}

html, body, form, .content, .container {
    height: 100%;
  }

body {
    background-color: var(--color-2);
    font-size: 12px;
    color: #555;
}

input::-ms-reveal,
input::-ms-clear {
	display: none;
}

select:focus {
	outline: 2px solid --color-1;
}

.background-div {
    background-color: var(--color-1);
    background: linear-gradient(180deg, #4682B4 20%, #86C2F4 100%);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.background-div::before {
    content: '';
    position: absolute;
    height: 250px;
    bottom: -50px;
    right: 0px;
    left: 0px;
    background-color: var(--color-2);
    transform: skewY(8deg);
    z-index: 1;
}

.background-div::after {
    content: '';
    position: absolute;
    height: 250px;
    bottom: -50px;
    right: 0px;
    left: 0px;
    background-color: var(--color-2);
    transform: skewY(-8deg);
    z-index: 2;
}

.login-header {
    position: fixed;
    max-height: 50px;
    width: 100%;
}

.logo {
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 25px;
}

.logo .icon-image {
    max-width: 40px;
    max-height: 40px;
}

.logo .icon-label {
    color: var(--color-2);
    font-size: 32px;
    font-weight: bold;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.img {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.img img {
	width: 500px;
}

.login-content {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
}

.card {
    max-width: 400px;
    background-color: var(--color-2);
    border-radius: 3px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    padding: 75px;
	margin: 10px 0px;
    display: flex;
    flex-direction: column;
}

.card div.label {
    margin-bottom: 0;
}

.card .label {
    text-align: left;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    color: #555;
    padding: 10px 0px;
}

.card .input {
    min-height: 30px;
    display: grid;
    grid-template-columns: 1fr 10fr 1fr;
    grid-auto-flow: row;
    grid-gap: 5px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.username {
    margin-top: 5px;
}

.name {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.form-control:has(input) {
    border-radius: 2px;
    border: 1px solid #AAAAAA;
    padding: 10px;
}

.form-control:has(input):hover {
    border-color: var(--color-1);
    border-width: 1px;
    transition: 0ms;
}

.form-control i {
    font-size: 16px;
}

.form-control input {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    outline: none;
    vertical-align: top;
    border: 0;
    flex-grow: 2;
    padding-right: 0px 10px;
}

.redirects {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    column-gap: 10px;
    align-content: stretch;
    flex-wrap: wrap;
}

.redirects input {
    padding: 12px 10px;
    margin: 5px 0px;
    color: var(--color-2);
    border: 0px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}

.btn {
    margin-top: 15px;
	display: block;
	width: 100%;
	border-radius: 2px;
	outline: none;
	border: none;
	text-transform: uppercase;
    font-weight: bold;
	cursor: pointer;
	transition: .5s;
}

.gap-xs {
	content: '';
	margin: 5px;
}

.gap-s {
	content: '';
	margin: 10px;
}

.bg-primary {
    background-color: var(--color-1);
}

input.bg-primary:hover, 
input.bg-primary:focus {
    filter: brightness(115%);
}

.bg-dark {
	background-color: #232F3E;
}

input.bg-dark:hover, 
input.bg-dark:focus {
	filter: brightness(115%);
}

.warning {
    color: #D00;
}

.no-display {
	display: none;
}

.btn:focus, 
.btn:hover {
    outline: 1px solid --color-1;
    transform: scale(1.01);
}

.loading {
	margin: 10px 0px;
}

.error-dialog {
	display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    padding: 0px 0px 0px 5px;
    margin: 5px 0px;
    border: 1px solid #F00;
    border-radius: 2px;
    background-color: #FFF5F5;
    text-align: justify;
    font-size: 12px;
}

.error-dialog * {
    padding: 5px 0px;
}

.error-dialog i {
	padding-right: 5px;
	border-width: 0px 1px 0px 0px;
	border-style: solid;
	border-image: linear-gradient(to bottom, #FFF, #F00, #FFF) 1 100%;
}

.error-dialog p {
    margin-left: 5px;
    font-size: 12px;
}

.footer {
    background-color: #232F3E;
    border-top: 1px solid #545B64;
    width: 100%;
    text-transform: capitalize;
    font-weight: bold;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-content: stretch;
    flex-wrap: wrap;
    bottom: 0;
    z-index: 3;
}

.footer div:first-child {
    padding-left: 10px;
    text-decoration: none;
}

.footer div:last-child {
    text-align: right;
    padding-right: 12px;
}

.footer select,
.footer p {
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    padding: 3px 0px 3px 0px;
    border: 0;
    outline: none;
    background-color: inherit;
}

@media screen and (max-width: 900px) {
	.logo {
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 5px;
    }
}

@media screen and (max-height: 500px) {
    .login-header {
        align-self: self-start;
    }

    .logo {
        padding: 5px 25px;
        margin: 0;
    }

	.container {
		align-items: flex-start;
	}
}