@font-face {
    font-family: 'Roboto';
url('../fonts/Roboto.woff') format('woff');
}

html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: url(../images/ois-pattern.svg) left 20vw top -10vw no-repeat,
    url(../images/ois-pattern.svg) left -9% top 100% no-repeat,
    url(../images/ois-pattern.svg) left 120% bottom -17vw no-repeat;
    background-size: 20vw, 15vw, 35vw;
    background-color: #f4f8fb;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.ois-circle {
    position: absolute;
    background-image: url(../images/ois-pattern.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
}

.ois-logo {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, -50%);
}

.ois-logo span[role=footer] {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    margin-top: 5px;
    color: #737373;
}

.ois-logo-icon {
    height: 20px;
    padding: 1px;
    display: flex;
    justify-content: center;
}

.placeholder-text {
    color: #757575
}

.contexts-form-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-height: 430px;
    max-width: 95%;
    min-width: 400px;
}


.auth-form-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-height: 430px;
    width: 25%;
    min-width: 400px;
}

.auth-form {
    /* Auto Layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    background: #FFFFFF;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.14), 0 1px 4px rgba(0, 0, 0, 0.12), 0 1px 8px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    /* Inside Auto Layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 12px;
}

.auth-form .auth-form-icon-wrapper {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
}

.auth-form .auth-form-icon {
    display: inline-block;
    width: 50%;
}

.form-title {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 28px;
    width: 100%;
    /* or 100% */
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
    color: #1A1A1A;
}

.field-wrapper {
    width: 100%;
    margin-top: 15px;
    display: flex;
}

.auth-form .input-wrapper.invalid {
    border-color: crimson;
}

.auth-form .input-wrapper {
    background: #FFFFFF;
    /* border-color/border-color */
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
    border-radius: 4px;
    line-height: 20px;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.auth-form .input-wrapper:hover {
    border: 1px solid #0A6ED1;
}

.auth-form .input-wrapper.invalid:hover {
    border-color: crimson;
}

.auth-form .input-wrapper.focused {
    border: 1px solid #0A6ED1;
    box-shadow: 0 0 2px #0A6ED1;
}
.auth-form .input-wrapper.invalid.focused {
    border-color: crimson;
    box-shadow: 0 0 2px crimson;
}


.auth-form .input-wrapper span[role=icon] {
    display: inline-block;
    width: 12px;
    padding-left: 10px;
    padding-right: 3px;
}

.auth-form input:focus, textarea:focus, select:focus {
    outline: none;
}

.auth-form .input-wrapper input {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    border-collapse: separate;
    border: none;
    width: 100%;
    margin-right: 5px;
}

.auth-form .btn {
    text-decoration: none;
    background: #0A6ED1;
    border-radius: 4px;
    border: none;
    height: 36px;
    color: white;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 36px;
    width: 100%;
    margin-top: 30px;
}

.auth-form .btn[disabled] {
    background: rgb(245, 245, 245) !important;
    color: #AAAAAA !important;
}

.auth-form .btn:hover {
    background: #2185E8;
    color: white;
}

.auth-form .btn:active {
    background-color: #005BB6;
}

.auth-form .registration-btn {
    background: aliceblue;
    color: #0A6ED1;
    margin-top: 10px;
}

.user-field {
    background-image: url(../images/user.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}

.password-field {
    background-image: url(../images/password.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}

.email-field {
    background-image: url(../images/envelope.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}

.login-footer {
    padding: 6px 45px 6px 45px;
    background-color: transparent;
    display: flex;
    flex-flow: row;
    align-items: center;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: #737373;
}

.login-footer > .left-item {
    flex: auto;
}

.login-footer > .right-item {
    flex: auto;
    display: flex;
    align-items: center;
    flex-flow: row;
    justify-content: flex-end;
}

.login-footer > .right-item input[type=checkbox] {
    margin: 0 10px;
}

.login-footer > .right-item span.input-label {
    line-height: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

select {
    appearance: none;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    color: inherit;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    overflow-y: auto;
}

select:not([size]) {
    background: transparent url(../images/expand.svg) no-repeat 95% 50%;
}

select[name='context'] {
    padding-left: 15px;
}

select::-ms-value {
    color: inherit;
    background: transparent;
}

select::-ms-expand {
    display: none;
}

.select {
    display: block;
}

.auth-extra-params {
    display: none;
}

.radio-wrapper {
    width: 100%;
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    padding-top: 20px;
}

.radio-group-wrapper {
    width: 100%;
}

input[type='radio'] {
    width: 15px;
    height: 15px;
    position: relative;
}

.message-container {
    margin: 0 auto;
    max-width: 450px;
    padding-top: 10%;
    text-align: center;
}

.message-container .error {
    font-weight: bold;
    color: crimson;
}

.refresh-btn {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: bold;
    transition: .2s ease-in-out;
    color: #7cb5ec;
    border: none;
    background: transparent;
}

.refresh-btn:hover {
    color: #6aa2ec;
}

.message-container .auth-form-form {
    display: flex;
    justify-content: center;
}

.auth-form .button-separator {
    vertical-align: middle;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-top: 10px;
}

.auth-form .line-separator {
    position: relative;
    height: 1px;
    flex: 1;
    top: 10px;
    background-color: #B7B7B7;
}

.auth-form .text-separator {
    padding: 2px 16px;
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 15px;
    /* identical to box height, or 125% */
    text-align: center;
    color: #A0A0A0;
}

img.captcha {
    width: 150px;
    height: 40px;
    display: inline-block;
    margin-right: 10px;
}

.auth-form-error {
    width: 100%;
    text-align: center;
    color: brown;
}

.message-container .message {
    font-family: Roboto, sans-serif;
    font-size: xx-large;
}

.loginform-password-recovery {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: #0A6ED1;
}
