@-webkit-keyframes AnimationName {
    0% {
        background-size: 150% 120%;
    }

    50% {
        background-size: 100% 100%;
    }

    100% {
        background-size: 150% 120%;
    }
}

@-moz-keyframes AnimationName {
    0% {
        background-size: 150% 120%;
    }

    50% {
        background-size: 100% 100%;
    }

    100% {
        background-size: 150% 120%;
    }
}

@keyframes AnimationName {
    0% {
        background-size: 150% 120%;
    }

    50% {
        background-size: 100% 100%;
    }

    100% {
        background-size: 150% 120%;
    }
}

html,
body {
    margin: 0px;
    padding: 0px;
    font-family: Roboto;
    font-size: 16px;
    border-color: #3c444d;
    color: #3c444d;
    height: 100vh;
    background: linear-gradient(55deg, #005b96 0%, #014a79 10%, #482a13 85%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* -webkit-animation: AnimationName 5s ease infinite;
    -moz-animation: AnimationName 5s ease infinite;
    animation: AnimationName 5s ease infinite; */
}

header>div>div {
    padding: 10px;
}

header>#toolbar {
    height: 3rem;
    display: flex;
    background-color: #171d21;
    color: #C3CBD4;
    align-items: center;
}

header>#banner {
    background-color: #66cc66;
    min-height: 20px;
    border-bottom: 2px solid #7e858c;
    padding: 1px 20px;
}

header>#banner.error {
    background-color: #d6563c;
    font-weight: bold;
    color: whitesmoke;
}

header>#banner.unknown {
    background-color: lightgray;
    font-weight: bold;
    color: #222;
}

#menu_user {
    height: 100%;
    padding: 0px;
    margin-right: 10px;
    z-index: 50;
}

#menu_user a {
    text-decoration: none;
    color: inherit;
}

#menu_user>* {
    display: flex;
    align-items: center;
    background-color: #171d21;
}

#menu_user>*:first-child {
    height: 100%;
}

#menu_user:not(:hover)>*:not(:first-child) {
    display: none;
}

#menu_user>*:last-child:not(:first-child) {
    border-radius: 0px 0px 5px 5px;
}

#menu_user>*:hover {
    filter: brightness(1.25)
}

#menu_user>*>span:first-child {
    min-width: 40px;
    text-align: center;
}

#menu_user>*>span::first-letter {
    text-transform: capitalize;
}

#menu_user>*>span:not(:first-child) {
    padding: 5px 20px;
}

/* Add styles for the home button */
#home_button {
    height: 100%;
    padding: 0px;
    margin-right: 10px;
    z-index: 50;
}

#home_button a {
    text-decoration: none;
    color: inherit;
}

#home_button > * {
    display: flex;
    align-items: center;
    background-color: #171d21;
}

#home_button > *:first-child {
    height: 100%;
}

#home_button:not(:hover) > *:not(:first-child) {
    display: none;
}

#home_button > *:last-child:not(:first-child) {
    border-radius: 0px 0px 5px 5px;
}

#home_button > *:hover {
    filter: brightness(1.25)
}

/* GENERIC */
.flex-h {
    display: flex;
}

.flex-spacer {
    flex-grow: 10;
}

#login_screen {
    display: flex;
}

#login_screen>form {
    margin: auto;
    display: inline-block;
    padding: 20px 30px;
    align-items: center;
}

#login_screen>form>#logo {
    font-family: Helvetica;
    color: #bfcedc;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 10px;
    background-color: #ef8634;
    background-image: linear-gradient(90deg, #006eb7, #ef8634);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

#login_screen>form .form-row {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
}

#login_screen>form .form-row input {
    padding-left: 1.5rem;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.4s;
    width: 20rem;
    height: 3rem;
    box-sizing: border-box;
    font-size: 1rem;
}

#login_screen>form .form-row input:focus {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
}

#login_screen>form .form-row input::placeholder {
    color: lightgray;
}

#login_screen #form_submit {
    position: relative;
    left: -2.5rem;
    color: darkgrey;
    width: 0px;
    display: inline-block;
    height: 100%;
    transition: all 0.4s;
}

#login_screen #form_submit:hover {
    color: lightgray;
}

#login_screen #form_submit input {
    display: none;
}

#login_screen #form_submit>div {
    display: flex;
    height: 100%;
    align-items: center;
}

#login_screen #form_submit>div>i {
    font-size: 2rem
}

.errorlist {
    display: inline-block;
    color: #d40000;
    list-style: none;
    padding: 0px 5px;
}

.field-error {
    border: 1px solid #aa7f59 !important;
}

.alert-box {
    background-color: #aa7f59;
    color: #402527;
    border: 1px solid #aa7f59;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    max-width: 320px;
    font-size: 14px;
}

.alert-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alert-box li {
    margin: 5px 0;
    word-wrap: break-word;
}

.waiter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.pointer{
    cursor: pointer;
}

#welcome_page .card-menu{
    height: 100%;
}

#appTitle{
    display: flex;
    justify-content: center;
}
#menuList{
    margin-top: 30px;
}

#cardTitle{
    text-decoration: none;
    color: black;
}
#rowMenu{
    display: flex;
    justify-content: center;
}