/*------Constants------*/

/*-----Media Query-----*/
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../img/iconfont/Material-Icons.woff2) format('woff2');
}

/*-------Element-------*/
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    font-family: Arial;
}

html {
    min-width: 400px;
    height: 100%;
    font-size: 100%;
}
/*--------Class--------*/

.uploadLogo {
    width: 129px;
    height: 100%;
}

.logo24 {
    font-weight: bold;
    font-size: 24px;
}

.logoName {
    color: grey;
}

.logoNumber {
    color: #328EFE;
}

.loginLine {
    display: flex;
    margin-bottom: 3px;
}

.loginLine > input {
    flex-grow: 8;
    height: 30px;
    background-color: white;
    border: 1px solid var(--config-border-light-shade-two);
    padding-left: 4px;
    font-size: 14px;
}

.loginLine > input:focus {
    border: 1px solid var(--global-border);
    outline: none;
}

.loginLine > label {
    flex-grow: 1;
    width: 50%;
    max-width: 120px;
    border-bottom: 1px solid var(--config-border-light-shade-two);
    /*border-radius: 5px 0 0 5px;*/
    padding-left: 5px;
    font-size: 14px;
    color: var(--workflow-font-general);
}

.loginErrorBody {
    background-color: #ffd280;
    padding: 10px 10px 5px;
}

.loginErrorBody > p {
    margin-top: 0;
    color: black;
}

.loginErrorBody > p:last-child {
    margin-bottom: 0;
}

.loginErrorFooter {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: white;
    margin-top: 5px;
}

.loginErrorHeader {
    width: 100%;
    background-color: red;
    font-size: 22px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.loginLink {
    flex-grow: 1;
    width: 50%;
    max-width: 120px;
    border: 1px solid rgba(0,0,0,0);
    text-decoration: none;
    font-size: 12px;
    color: #328efe;
}

.loginLink:focus, .loginLink:hover {
    color: orange !important;
    outline: none;
    text-decoration: underline !important;
}

.loginLink:visited {
    text-decoration: none;
    color: #328efe;
}

.definitely-not-a-class{
    width: 10px;
    height: 10px;
    margin-top: 1px;
    margin-left: 1px;
    top: 35%;
    left: 68%;
    position: absolute;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

.version {
    font-size: 12px;
}

.verticalTextCenter {
    display: flex;
    align-items: center;
    padding-left: 5px;
}

#loginFooter .verticalTextCenter {
    padding-left: 0;
}

/*----------ID---------*/
#loginActions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 5px;
}

#loginBody {
    background-color: var(--config-background-shade-one);
    padding: 10px 10px 5px;
    border: 1px solid var(--config-border-light-shade-two);
    border-top: 0;
}

#loginButton {
    height: 30px;
    flex-grow: 8;
    background-color: #328efe;
    border: none;
    padding: 2px;
    font-size: 14px;
    color: white;
    cursor: pointer;
}

#loginButton:active, #loginButton:focus {
    background-color: orange;
    color: white !important;
    outline: none;
}

#loginButton:hover {
    background-color: var(--config-highlight-blue-two);
    outline: none;
}

#loginContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#loginErrorsAndMessages {
    display: flex;
    flex-direction: row;
    width: 20%;
    min-width: 350px;
    border-top: 2px solid #328efe;
    margin-top: 15px;
    padding-top: 2px;
    font-size: 12px;
    color: var(--workflow-font-general);
}

#loginErrorsAndMessages > div:last-child {
    margin: 5px;
}

#loginErrorsAndMessages > div > span {
    font-weight: bold;
}

#loginErrorsAndMessages > div > p {
    margin-top: 0;
    padding-top: 0;
}

#loginFooter {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    color: var(--workflow-font-general);
}

#loginForm {
    display: flex;
    justify-content: center;
    align-items: center;
}

#loginForm > div {
    display: flex;
    flex-direction: column;
    min-width: 350px;
    width: 20%;
}

#loginHeader {
    width: 100%;
    background-color: #328efe;
    text-align: center;
    font-size: 20px;
    color: #fff;
    padding: 5px 0;
}

#noscript {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#noscriptContent{
    width: 20%;
    min-width: 350px;
}

#logo {
    height: 20px;
    margin-top: 4px;
}

.errorMsg {
    border-top: 2px solid #f44336 !important;
}

.errorMsg > div > .material-icons {
    color: #f44336;
}

.infoMsg {
    border-top: 2px solid #328efe !important;
}

.infoMsg > div > .material-icons {
    margin-top: 3px;
    color: #328efe;
}


/** custom warning **/
.warning {
    display: flex;
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    background-color: #ffc64d;
    border: 1px solid #c5c5c5;
}

.warning .material-icons {
    margin: 6px 5px 0 0;
    font-size: 22px;
    color: #328efe;
}

.warning-description {
    font-size: 12px;
    color: #292929;
}

/** Custom Warning **/
.warning {
    display: flex;
    width: 100%;
    padding: 10px 10px 10px 9px;
    margin-bottom: 5px;
    background-color: #ffc64d;
    border: 1px solid #c5c5c5;
}

.warning .material-icons {
    margin: 6px 7px 0 0;
    font-size: 22px;
    color: #3e3e3e;
}

.warning-description {
    font-size: 12px;
    color: #3e3e3e;
}

/** DropDown-Menu **/
.loginDropDown {
    position: relative;
    display: inline-block;
}

.loginDropDownButton {
    top: 2px;
    position: relative;
    color: var(--global-blue-light);
    padding: 2px;
    font-size: 15px !important;
    border: none;
    /**cursor: pointer;**/
}

.loginDropDownButton:hover {
    color: var(--global-blue-light-highlight);
}

.loginDropDown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    height: auto;
}

.loginDropDown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.loginDropDown a:hover {
    background-color: #ddd;
}
.show {
    display: flex;
    justify-content: space-evenly;
    width: 430px;
    min-height: 35px;
    padding: 8px;
    background-color: #f1f1f1;
    border: 1px solid lightgray;
}

.loginDropDown-container {
    position: absolute;
    left: -40px;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

/** Clear Cache Button**/
.clearCacheContainer {
    max-width: 65%
}

.clearCache {
    max-width: 100%;
    max-height: 30px;
    font-size: 12px;
    white-space: nowrap;
    text-align: left;
    padding: 5px;
    background-color: var(--global-grey-shade-three);
    border: 1px solid var(--global-border-grey-shade-three);
}

.clearCache:hover {
    background-color: var(--global-grey-shade-one);
}

.clearCache .material-icons{
    color: var(--global-blue-light);
    font-size: 12px;
}

.clearCache .material-icons:hover {
    color: var(--global-blue-light-highlight);
}

.clearCacheText {
    font-size: 12px;
}

.clearCacheIcon {
    font-size: 12px;
}

.clearCacheDesc {
    font-size: 11px;
    margin-left: 20px;
    width: 100%;
    color: var(--global-border-darker);
}