﻿@font-face {
    font-family: 'Formular';
    src: url('Formular.ttf');
}

body {
    margin: 0;
    color: rgba(0, 0, 0, 0.87);
    font-family: "Formular";
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
    background-color: #fff;
}

h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -32px;
    height: 100vh;
}

.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 500px;
}

.login-form {
    display: flex;
    flex-direction: column;
    width: 500px;
}

.email,
.new-password {
    position: relative;
    margin-top: 16px;
    margin-bottom: 8px;
}

.new-password2 {
    position: relative;
    margin-top: 8px;
    margin-bottom: 16px;
}

.label {
    color: #808080;
    line-height: 1.5em;
    transform-origin: top left;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(14px, 16px) scale(1);
    transition: color 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms,transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms,max-width 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
    z-index: 1;
    pointer-events: none;
}

.label.focused {
    color: #1976d2;
    transform: translate(14px, -9px) scale(0.75);
}

.label.filled {
    color: rgba(0, 0, 0, 0.6);
    transform: translate(14px, -9px) scale(0.75);
}

.input-block {
    color: rgba(0, 0, 0, 0.87);
    display: inline-flex;
    width: 100%;
    border-radius: 4px;
}

.input {
    font: inherit;
    letter-spacing: inherit;
    border: 0;
    height: 1.5em;
    width: 100%;
    padding: 16.5px 14px;
}

.input:focus {
    outline: 0;
}

.fieldset {
    position: absolute;
    bottom: 0;
    right: 0;
    top: -5px;
    left: 0;
    margin: 0;
    padding: 0 8px;
    pointer-events: none;
    border-radius: inherit;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 0, 0, 0.23);
}

.input-block:hover .fieldset {
    border-color: rgba(0, 0, 0, 0.87);
}

.input-block.focused .fieldset {
    border-color: #2A4DFF;
    border-width: 2px;
}

.input-block .fieldset.error,
.input-block:hover .fieldset.error {
    border-color: #d32f2f;
}

.legend {
    padding: 0;
    height: 11px;
    font-size: 0.75em;
    visibility: hidden;
    max-width: 0.01px;
    transition: max-width 50ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
    margin-bottom: 0.5rem;
}

.legend > span {
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
}

.input-block.focused .legend,
.input-block.filled .legend {
    max-width: 100%;
    transition: max-width 100ms cubic-bezier(0.0, 0, 0.2, 1) 50ms;
}

.hbox {
    display: flex;
    margin-top: 8px;
    margin-bottom: 16px;
    width: 500px;
}

.password {
    position: relative;
    flex-grow: 1;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    vertical-align: middle;
    margin: 0 0 0 16px;
    flex-grow: 1;
}

.checkbox-input-block {
    display: inline-flex;
    user-select: none;
    padding: 9px;
    color: rgba(0, 0, 0, 0.6);
}

.checkbox-input-block.checked {
    color: #2A4DFF;
}

.checkbox-input {
    font: inherit;
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
}

.checkbox-svg,
.checkbox-svg-checked {
    user-select: none;
    width: 1em;
    height: 1em;
    display: inline-block;
    fill: currentColor;
    flex-shrink: 0;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    font-size: 1.5rem;
}

.checkbox-input-block.checked .checkbox-svg {
    display: none;
}

.checkbox-svg-checked {
    display: none;
}

.checkbox-input-block.checked .checkbox-svg-checked {
    display: inline-block;
}

.checkbox-legend {
    user-select: none;
    color: #808080;
}

.button {
    border: 0;
    user-select: none;
    line-height: 1.75;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    min-width: 64px;
    padding: 6px 16px;
    border-radius: 4px;
    color: #fff;
    box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%);
    background-color: #2A4DFF;
}

.button:hover {
    text-decoration: none;
    background-color: #5F79FF;
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
}

[type="submit"]:not(:disabled) {
    cursor: pointer;
}

[type="submit"]:disabled {
    color: rgba(0, 0, 0, 0.26);
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.12);
}

.message {
    display: none;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background-color: rgb(255, 255, 255);
    border: 2px solid #1976d2;
    box-shadow: rgb(0 0 0 / 20%) 0px 11px 15px -7px, rgb(0 0 0 / 14%) 0px 24px 38px 3px, rgb(0 0 0 / 12%) 0px 9px 46px 8px;
    padding: 32px;
    z-index: 100;
}

.message-title {
    margin: 0px;
    font-family: 'Formular';
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.6;
    letter-spacing: 0.0075em;
}

.message-text {
    margin: 16px 0px 0px;
    font-family: 'Formular';
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
}

.mask {
    background-image: none;
    background-color: rgba(204, 204, 204, 0.5);
    cursor: default;
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none !important;
    display: none;
}

.old-browser {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(42, 77, 255, 0.25);
    font-family: "Formular";
    font-size: 12pt;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 11px 50px 10px 50px;
}

.old-browser .info-icon {
    width: 50px;
    height: 24px;
    background-image: url(../images/info.png);
    background-repeat: no-repeat;
    background-position-x: 24px;
    background-position-y: -1px;
    display: inline-block;
    vertical-align: middle;
}

.old-browser a {
    color: #2A4DFF;
    text-decoration: none;
}

.requirements {
    font-size: 12px;
    color: #757575;
}