html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* ------------------------------------------------------------------------------- */

/* @layout */

body {
    font: 14px/15px 'Poppins', Arial, sans-serif;
    font-weight: 200;
    color: #333;
    background-color: #fff;
    position: relative;

    min-height: 737px;
    padding-bottom: 150px;
    overflow: auto;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(94, 93, 90, 0.5);
    border-radius: 10px;
    background-clip: padding-box;
    border: 2px solid rgba(0, 0, 0, 0);
}
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background-color: rgba(94, 93, 90, 0.5);
}

/* ------------------------------------------------------------------------------- */

/* @helpers */

.hidden {
    display: none;
}

.unstyled {
    list-style: none;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-accent {
    color: #fe400e;
}

/* ------------------------------------------------------------------------------- */

/* @forms */

fieldset {
    border: none;
}

label {
    display: inline-block;
    margin-bottom: 9px;
    font-size: 24px;
    color: #000;
}

fieldset div {
    padding-bottom: 15px;
}

fieldset input {
    margin-right: 5px;
    vertical-align: middle;
}

fieldset label {
    display: inline;
    vertical-align: middle;
    font-size: 18px;
}

label sup {
    color: #fe400e;
}

input[type='text'],
input[type='password'],
input[type='email'],
select,
textarea {
    border: 1px solid #bebebe;
    background-color: #fff;
    color: #333;
    width: 100%;
    height: 56px;
    line-height: 18px;
    font-size: 14px;
    font-weight: 200;
    outline: none;
    padding: 0 20px 0;
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 15px;
    box-sizing: border-box;
    border-radius: 3px;
    -webkit-appearance: none;
}

input[type='text']:-webkit-autofill,
input[type='text']:-webkit-autofill:hover,
input[type='text']:-webkit-autofill:focus {
    -webkit-text-fill-color: #333;
}

select {
    padding-right: 30px;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -moz-appearance: none;
    -moz-border-radius: 0;
    line-height: 18px;
    background: #fff
        url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAWCAMAAAAGlBe5AAAAD1BMVEUAAAD///8zMzMzMzMzMzPseXrlAAAABXRSTlMAABCAz+4V4qsAAAA6SURBVHgB3dGxDQAwCANBB9h/5ihPh5UF+AIkrkTn3x7LClFUTotqfHuaGplmnCE3EHIDITcQ0q4/XAWKAn0407zGAAAAAElFTkSuQmCC)
        100% 50% no-repeat;
}

input[type='submit'],
input[type='button'],
button,
.btn {
    box-sizing: border-box;
    display: block;
    width: 200px;
    height: 49px;
    line-height: 49px;
    padding: 0 25px;
    margin: 25px auto 11px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    font-weight: 400;
    border-radius: 24.5px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    outline: none;
    position: relative;
    overflow: hidden;
    -webkit-background-clip: padding-box;
    /*noinspection CssInvalidPropertyValue*/
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-appearance: none;
    animation: rollout 0.15s;
    --x: 100%;
    --c1: rgb(184 26 209);
    --c2: rgb(48 150 255);
    background-color: rgb(184 26 209);
    background: linear-gradient(
            90deg,
            var(--c2, #f6d365),
            var(--c1, #fda085) 49%,
            var(--c1, #f6d365)
        )
        var(--x, 0) / 200%;
    color: #fff;
    transition: all 0.5s ease;
}

input[type='submit'].btn-alt,
input[type='button'].btn-alt,
button.btn-alt,
.btn.btn-alt {
    background-color: #bebebe;
}

input[type='submit'].btn-alt:hover,
input[type='submit'].btn-alt:active,
input[type='submit'].btn-alt:focus,
input[type='button'].btn-alt:hover,
input[type='button'].btn-alt:active,
input[type='button'].btn-alt:focus,
button.btn-alt:hover,
button.btn-alt:active,
button.btn-alt:focus,
.btn.btn-alt:hover,
.btn.btn-alt:active,
.btn.btn-alt:focus {
    background-color: #979797;
}

input[type='submit']:active,
input[type='button']:active,
button:active,
.btn:active {
    background-color: rgb(89 14 102);
    color: rgb(255 255 255);
}

input[type='submit']:hover,
input[type='submit']:focus,
input[type='button']:hover,
input[type='button']:focus,
button:hover,
button:focus,
.btn:hover,
.btn:focus {
    --x: 0%;
    box-shadow: 0 3px 14px 6px rgba(184, 26, 209, 0.2);
    color: #fff;
}

input[type='submit'][disabled],
input[type='button'][disabled],
button[disabled],
.btn.disabled {
    background: #bbb;
    box-shadow: none;
    cursor: default;
}

input[type='submit'].busy,
input[type='button'].busy,
button.busy,
.btn.busy {
    cursor: wait !important;
}

.btn-group {
    display: block;
    margin: 12px auto 31px;
    text-align: center;
}

.btn-group input[type='submit'],
.btn-group button,
.btn-group .btn {
    display: inline-block;
    margin: 0 10px;
    width: auto;
    min-width: 130px;
}

textarea {
    padding-top: 13px;
    min-height: 138px;
    line-height: 16px;
}

.form-title {
    font-size: 26px;
    text-align: center;
    margin: 37px 0 0;
    line-height: 1.2;
}

.form-accent {
    font-size: 18px;
    font-weight: 200;
    line-height: 1;
    margin: 25px 0 15px;
}

.block-description {
    line-height: 1.5;
    padding-bottom: 20px;
    margin: 0;
}

/* ------------------------------------------------------------------------------- */

/* @custom */
.page-error-body {
    min-height: 735px;
}

.main-content {
    width: 448px;
    margin: 0 auto;
    position: absolute;
    /* top: min(20vh, 200px); */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;

    box-shadow: 0 1px 15px 0px rgba(32, 33, 36, 0.1);
    background-color: #fff;
}

main,
.page-error {
    position: relative;
    min-height: 100%;
}

.user-switch-body {
    min-height: 757px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

article {
    position: relative;
    padding: 40px 40px 52px;
}

.greeting {
    text-align: center;
    position: absolute;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    margin: 0 0 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    height: 50px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.article_acu {
    padding-left: 30px;
    padding-right: 30px;
}

footer {
    margin: 50px 0 0;
    color: #222;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 15vw;
}

footer a,
.link {
    color: #4e8dbd;
    text-decoration: none;
}

.notification {
    color: #fe400e;
    text-align: center;
    padding: 3px 20px;
}

.notification .title {
    font-weight: normal;
    font-size: 23px;
    margin-bottom: 10px;
    line-height: normal;
}

.notification .description {
    font-size: 16px;
    line-height: 1.2;
}

.messages {
    width: 100%;
}

.errorbox,
.successbox,
.infobox {
    color: #fff;
    font-family: Arial;
    font-size: 14px;
    padding: 12px;
    box-sizing: border-box;
    text-align: center;
    white-space: pre-wrap;
    border-radius: 3px;
    line-height: 18px;
}

.errorbox:empty,
.successbox:empty,
.infobox:empty {
    display: none;
}

.infobox {
    background-color: #5e5e5e;
}

.errorbox {
    background-color: #fe400e;
}

.successbox {
    background-color: #25a925;
}

.logo {
    margin: 0 0 30px;
}

.logo-img {
    display: block;
    width: 188px;
    height: 32px;
    text-indent: -2000em;
    overflow: hidden;
    background-image: url('https://cdn.revjet.com/s3/csp/1678453085654/logo_colorNoTag.png');
    background-repeat: no-repeat;
    background-size: 188px 32px;
}

.subheading {
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 25px;
    line-height: 1.2em;
}

.subheading_center {
    text-align: center;
}

.step-heading {
    min-height: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.subaction {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 400;
}

#back {
    position: absolute;
    bottom: 13px;
}

.acu-selector-wrapper {
    margin-bottom: 40px;
}

.account-selection-form__footer {
    text-align: center;
}

/* ------------------------------------------------------------------------------- */

/* @error, maintenance page */

.page-symbol {
    margin: 37px 0 43px;
}

.style-solid {
    width: 488px;
}

.style-solid article {
    padding: 51px 50px 32px;
    background-color: transparent;
}

.message-title {
    font: 14px/15px 'Poppins', Arial, sans-serif;
    font-weight: 200;
    font-size: 25px;
}

.message-body {
    padding: 12px 0 5px;
}

.message-body p {
    font-size: 17px;
    line-height: 24px;
}

.page-maintenance article {
    padding: 55px 40px 32px;
}

.page-maintenance .page-symbol {
    margin-bottom: 35px;
}

.page-maintenance .message-body {
    padding-bottom: 29px;
}

/* ------------------------------------------------------------------------------- */

/* @user, avatar */

.user-selector {
    position: relative;
}

.user-selector input {
    position: absolute;
    top: 50%;
    left: 15px;
    margin-top: -0.5em;
}

.user-info {
    box-sizing: border-box;
    display: table;
    width: 100%;
    padding: 10px 0 10px 35px;
    padding-left: 40px;
    margin: 0 0 20px;
}

.user-info > span {
    display: table-cell;
    vertical-align: middle;
}

.user-selector .user-info {
    border: 3px solid #ccc;
}

.user-selector input:checked + .user-info {
    border-color: #fe400e;
}

.user-info .user-name {
    padding: 0 10px;
    line-height: 1em;
    font-size: 18px;
    font-weight: 400;
}

.user-info .user-picture {
    width: 5%;
}

.user-picture img {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    border: 2px solid #fff;
    background: #fff;
}

.forgot-password-text {
    margin-top: 15px;
    display: block;
    color: #4e8dbd;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 200;
    font-size: 14px;
    margin-top: 8px;
    text-decoration: none;
}

/* ------------------------------------------------------------------------------- */

/* iPhone X landscape fix */

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
    main,
    .style-solid,
    .user-switch {
        width: auto;
        position: relative;
        top: auto;
        left: auto;
        transform: translate(0, 0);
        margin: 0;
    }
    article {
        margin-left: 10px;
        margin-right: 10px;
    }
    footer {
        padding-bottom: 20px;
    }
}

/* @responsive support */

@media only screen and (min-width: 320px) and (max-width: 568px) {
    html {
        border-width: 15px;
    }
    body {
        padding: 10px;
    }
    header {
        margin: 30px 0;
    }
    footer {
        padding: 0 10px 20px;
        position: static;
    }
    main,
    .style-solid,
    .user-switch,
    .main-content {
        width: auto;
        position: relative;
        top: auto;
        left: auto;
        transform: translate(0, 0);
        margin: 0;
        min-height: auto;
    }
    article {
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .messages {
        margin: -20px -10px 0;
    }
    .textarea {
        min-height: 80px;
    }
    .btn-group {
        display: flex;
        flex-direction: row;
    }
    .btn-group input[type='submit'],
    .btn-group button,
    .btn-group .btn {
        margin: 0 5px;
        padding-left: 10px;
        padding-right: 10px;
        min-width: 0;
        flex: 1;
    }
}

.slide-out {
    display: none;
}

@keyframes slide-out {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100px);
        opacity: 0;
    }
}

.slide-in {
    position: relative;
    animation: slide-in 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slide-in {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
