﻿body {
    font-family: "Open Sans", sans-serif;
    background-color: #f0f2f5;
    font-size: 14px;    
}

textarea:focus, input:focus, button:focus {
    outline: none;
}

.login-main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

.login-main div {
    box-sizing: border-box;
}

.login-dialog {
    width: 480px;
    max-width: 480px;
    height: 530px;
    min-height: 530px;
    background-color: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 60px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12);
}

.login-body {
    margin-top: 36px;
    height: 200px;
}

.login-logo, .login-text {
    text-align: center;
    line-height: 20px;
}

.login-title {
    text-align: center;
    line-height: 32px;
    font-size: 18px;
}

.login-logo img {
    width: 80px;
}

.login-header {
    text-align: center;
    color: #007ACA;
    font-size: 23px;
    font-weight: 300;
}

.login-subheader {
    text-align: center;
    color: #252626;
    font-size: 16px;
    font-weight: 700;
}

.login-button {

    height: 36px;
    box-sizing: border-box;
    border-radius: 4px;
    width: 100%;
    background-color: #4D8400;
    color: #FFFFFF;
    font-weight: 600;
    border: none;
    cursor: pointer;
    user-select: none;
    line-height: 36px;

    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

.login-button:disabled,
.login-button[disabled] {
    cursor: default;
    color: #CFE5AE;
    background-color: #99C35D;
}

.login-default-hor-space {
    height: 20px;
}
.login-default-busy-space {
    height: 36px;
}

.login-code {
    text-align: center;
}

.login-callme {
    text-decoration: underline;
    text-align: center;
    font-size: 12px;
    color: #383f83;
    margin-top: 3px;
    cursor: pointer;
}

.login-code input {
    font-size: 32px;
    width: 260px;
    color: #555;
    letter-spacing: 18px;
    text-align: center;
    border: solid 1px #DDD;
    border-radius: 5px;
    -webkit-appearance: none;
}

.login-code input::-webkit-outer-spin-button,
.login-code input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.login-code input[type=number] {
    -moz-appearance: textfield;
}

.login-error-message {
    text-align: center;
    color: #ff5722;
    font-weight: bold;
    margin-top: 6px;
}

.login-error-submessage {
    text-align: center;
    color: #555;
    font-size: 12px;
    margin-top: 4px;
}

.message-box {
    position: relative;    
    height: 64px;
    width: 360px;    
    border-radius: 10px;
}

.message-box.xl {
    height: 80px;
}

.message-box.xl .message {
    height: 80px;
}

.message-box:before {
    content: "";
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    top: calc(50% - 12px);
    left: 18px;
}

.message-box .message {
    display: table;
    padding: 8px 8px 8px 54px;
    width: 100%;     
    height: 64px;
}

.message-box .message p {
    display: table-cell;
    vertical-align: middle;
}

.message-error-box:before {
    background: url(./images/24_informative_icons.svg) transparent -29px 0 no-repeat
}

.message-error-box {
    background-color: #FFF2F3;
    border: solid 1px #FEB0B7;
    color: #D93644;
    box-shadow: 0 5px 10px 0 rgba(217,54,68,.12);    
}

.message-info-box:before {
    background: url(./images/24_informative_icons.svg) transparent -87px 0 no-repeat
}

.message-info-box {
    background-color: #ebf7ff;
    border: solid 1px #96d2fa;
    color: #0071bd;
    box-shadow: 0 5px 10px 0 rgba(0,135,224,.12)
}

.message-warning-box:before {
    background: url(./images/24_informative_icons.svg) transparent -58px 0 no-repeat
}

.message-warning-box {
    background-color: #fff4e5;
    border: solid 1px #ffc46f;
    color: #b35300;
    box-shadow: 0 5px 10px 0 rgba(242,141,0,.12)
}

.login-label {    
    color: #555;
    font-size: 12px;
    margin-bottom: 6px;
}

.centered-container {
    width: 260px;
    margin-left: auto;
    margin-right: auto;
}

.busy-overlay {
    text-align: center;
}

.company-logo {
    text-align: center;
    margin-top: 72px;
}

.copyright-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;  
    z-index: -1;
}

.copyright-footer .center {
   text-align: center;
    line-height: 48px;
    vertical-align:middle;
}

/*Mobile devices*/
@media (max-width: 599px) {
    .login-dialog {
    width: auto;
    max-width: initial;
    height: auto;
    box-shadow: none;
    border-radius: 0;
}
}