﻿/* JQuery Dialog Overrides */

.ui-widget-header {
    background: none;
    background-color: #657787;
    color: white;
    font-weight: bold;
    border-radius: 0px;
}

.ui-dialog .ui-dialog-titlebar {
    border-radius: 4px 4px 0 0;
    box-sizing: unset;
}

.ui-dialog {
    padding: 0px;
}

.ui-widget-content {
    border: none;   
}

.ui-widget {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    background: white;
}

.ui-dialog .ui-dialog-content {
    width: auto !important;
    padding: 0em 0em;
}

.ui-dialog-title {
    line-height: 22px;
    margin-top: 6px !important;
    margin-left: 5px !important;
    font-weight: normal;
    font-size: 20px;
}

div.ui-dialog-titlebar button {
    display:none;
}

.ui-dialog-do-something {
    background-color: #F4F7FA !important;
    color: #008AC4 !important;
    width: 80px;
    height: 30px;
    border: 1px solid #008AC4 !important;
    font-size: 12px !important;
    border-radius: 4px;
    font-weight: normal !important;
    overflow-wrap: break-word !important;
    font-family: m-medium !important;
}

.ui-dialog-do-something:hover, .ui-dialog-do-something span:hover {
    background-color: #008AC4 !important;
    color: #fff !important;
    border: 0px solid #008AC4;
}

.DisplayContentDialog {
    padding-top: 1em;
    width:auto;
}

.DisplayContentDialog p, .NavigateWarning div.document {
    margin-left: 10px !important;
}

/* Global styling for scroll bars */
/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #0999d6 white;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: white;
}

*::-webkit-scrollbar-thumb {
    background-color: #0999d6;
    border-radius: 20px;
    border: 3px solid white;
}

input[type=text],
input[type=password],
input[type=button], button {
    box-sizing: border-box;
    height: 45px;
}

input[type=button], button {
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
}


input[type=text],
input[type=password] {
    background-color: white;
    padding-left: 15px;
    padding-right: 35px;
    border: 1px solid #B8B8B8;
}

input[type=text]:focus,
input[type=password]:focus {
    background-color: white;
}

input::placeholder {
    padding-right: 15px;
    color: #B8B8B8;
    font-size: 1em;
}

input[type=checkbox] {
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
    position: relative;
}

select {
    transition: filter 0.3s;
}

select.blur {
    filter: blur(2px);
}

label {
    font-weight: bold;
}

* {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    font-weight: bold;
    color: #0999d6
}

body {
    align-content: stretch;
    align-items: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100vh;
    justify-content: flex-start;
    margin: 0;
    width: 100vw;
}

.login-background {
    background-position: right bottom;
    background-size: cover;
    flex-basis: auto;
    flex-grow: 1;
}

.login-button {
    border: 1px solid #0999d6;
    background-color: #0999d6;
    color: white;

    box-sizing: border-box;
    display: block;
    flex-grow: 1;
    flex-shrink: 0;
    font-size: 1em;
    padding: 12px 20px;
}

.cancel-button {
    border: 1px solid #0999d6;
    background-color: white;
    color: #0999d6;

    box-sizing: border-box;
    display: block;
    flex-grow: 1;
    flex-shrink: 0;
    font-size: 1em;
    padding: 12px 20px;
}

.login-button-image {
    border: none;
    box-sizing: border-box;
    flex-shrink: 0;
    height: 45px;
    padding: 0;
}

.login-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.login-error {
    color: red;
    font-size: .85em;
}

.login-footer {
    bottom: 0;
    font-size: .85em;
}

.login-footer-powered {
    height: 1.5em;
}

.login-forget {
    font-size: .85em;
}

.login-username {
    font-weight: bold;
}

.login-input-text {
    border: 1px solid #ccc;
    box-sizing: border-box;
    display: block;
    font-size: 1em;
    margin: 8px 0;
    padding: 12px 20px;
    width: 100%;
}

.login-input-text-button {
    bottom: 0;
    cursor: pointer;
    font-size: 1.5em;
    height: 45px;
    line-height: 45px;
    position: absolute;
    right: 10px;
    background: none;
    border: none;
}

.login-input-text-button.strikethrough {
    text-decoration: line-through;
}

.login-logo > img {
    height: 5em;
}

.login-logo {
    text-align: left;
}

.login-message {
    background-color: #FFF;
    border: 1px solid #000;
    box-sizing: border-box;
    padding: 10px;
    width: 35em;
    max-width: 60vw;
}

.login-message-header > button {
    background-color: #0999d6;
    border: 1px solid #0999d6;
    box-sizing: border-box;
    color: #FFF;
    font-size: 1em;
    font-weight: 700;
    height: 25px;
    width: 25px;
}

.login-message-header {
    display: flex;
    height: 25px;
    justify-content: space-between;
}

.login-message-list {
    align-items: center;
    display: flex;
    flex-direction: column;
    font-size: .8em;
    gap: 10px;
}

.login-message.error {
    border-color: red;
    color: red;
}

.login-panel {
    position: relative;
    background-color: #FFF;
    max-height: 100vh;
    max-width: 100vw;
    min-width: 40vw;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-panel p {
    min-width: 100%;
    width: 20vw;
}

.login-panel-column {
    display: flex;
    flex-basis: content;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    padding: 3vw;
}

.login-panel-required {
    color: red;
    font-size: 1.3em;
}

.login-section {
    margin: 0 0 15px;
    position: relative;
}

.dropdown-grid {
    display: inline-grid;
    grid-gap: 15px;
}

.dropdown-grid > label {
    grid-column: 1;
}

.dropdown-grid > select {
    grid-column: 2;
}

.login-section-padding {
    padding: 15px 15px 0;
}

.login-button-image > img, .login-footer-powered > img {
    height: 100%;
}

.weglot-container {
    display: block;
    padding: 0 3vw;
    align-self: flex-end;
    z-index: inherit !important;
}

.login-stages {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.login-stage {
    visibility: hidden;
    grid-column: 1;
    grid-row: 1;
}