* {
    font-family: 'Titillium Web', sans-serif !important;
}

body {
    width: 100dvw;
    overflow-x: hidden;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    width: 100%;
    padding: 0 12px;
}

#logo {
    width: 160px;
    height: 160px;
    display: block;
    margin: 0 auto 32px;
}

.form-container {
    max-width: 760px !important;
    margin: 0 auto;
    padding: 16px;
    background: #f2f7fc;
}

@media (min-width: 992px) {
    .form-container {
        padding: 48px;
    }
}

fieldset {
    position: relative;
    margin-bottom: 3rem;
}

fieldset:first-of-type {
    margin-top: 16px; /* cause label is positioned absolute */
}

label {
    position: absolute;
    z-index: 1;
    top: 0;

    display: block;
    width: auto;
    max-width: 100%;
    padding: 0 .5rem;

    background-color: transparent;

    font-size: .875rem;
    font-weight: 600;
    line-height: calc(2.5rem - 1px);
    color: #1a1a1a;

    cursor: text;

    transform: translateY(-75%);
    transition: all .2s ease-out;
}

input {
    -webkit-appearance: none;

    display: block;
    width: 100%;
    min-height: 2.5rem;
    padding: .375rem .5rem;

    background-position: 100% !important;
    background-repeat: no-repeat !important;
    background-size: 45px 45% !important;
    background-clip: padding-box;
    background-color: #fff;

    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #5d7083;

    border: none;
    border-bottom: 1px solid #5d7083;
    border-radius: 0;
    -webkit-border-radius: 0;

    box-shadow: none;
    outline: 0;

    transition: none;
}

input:focus {
    color: #1a1a1a;
    border-color: #000 !important;
    box-shadow: unset !important;
    outline: unset !important;
    outline-offset: unset !important;
}

.password-icon {
    z-index: 8;
    position: absolute;
    top: 8px;
    right: 0;
    padding: 0 .5rem;
    background-color: #fff;
    cursor: pointer;
}

#password-visible,
#password-invisible {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    fill: #5d7083;
    pointer-events: none;
}

#password-invisible {
    display: none;
}

#password-icon {
    cursor: pointer;
}

.password-help {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: .25rem .5rem;
}

.password-help a {
    display: inline-block;
    text-decoration: none;
    font-size: .875rem;
    color: #144672;
    cursor: pointer;
}

.password-help a:hover {
    color: #06c;
    text-decoration: underline;
}

button[type="submit"] {
    -webkit-appearance: button;
    vertical-align: middle;

    display: inline-block;
    margin: 0;
    padding: 12px 24px;

    background-color: #144672;

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    white-space: normal;
    color: #fff;

    border-width: 0;
    border-color: transparent;
    border-radius: 4px;

    /*box-shadow: unset !important;*/
    box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, .15), 0 1px 1px rgba(0, 0, 0, .075);

    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;

    cursor: pointer;
    user-select: none;
}

button[type="submit"]:hover {
    background-color: #06c;
}

button[type="submit"]:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

button[type="submit"]:disabled {
    opacity: 0.65;
}
