﻿body {
    min-height: 100vh;
    font-family: Roboto, "Helvetica Neue", sans-serif;
    background-color: #FCFFFF;
    overflow-y: scroll;
    margin: 0;
}

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


.transition {
    --transition: 0.3s ease;
}

.hide-on-collapsed {
    height: 10px;
    width: 214px;
    flex: 0 0 214px;
    opacity: 0;
    transition: 0s;
}

hr {
    pointer-events: none;
    transition: 0.3s ease;
    height: 1px;
    margin: 30px 22px;
    border-top: 1px solid #d1cfdc;
    opacity: 0;

    @media (max-height: 900px) {
        margin: 10px 16px;
    }
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
    li {
        transition: 0.3s ease;
        &:not(:last-child) {
            margin-bottom: 8px;

            @media (max-height: 900px) {
                margin-bottom: 10px;
            }
        }
    }
}

li.has-dropdown {
    position: relative;
    ul .dropdown {
        pointer-events: none;
        position: absolute;
        top: 0;
        left: 100%;
        width: 274px;
        box-shadow: -2px 0 12px 0 rgba(0, 96, 103, 0.18);
        background-color: #fff;
        transition: 0.15s;
        will-change: opacity;
        opacity: 0;
        visibility: hidden;

        li {
            margin-bottom: 0;
            .hide-on-collapsed {
                opacity: 1;
                height: auto;
            }
        }

        &.dropdown-wide {
            width: 364px;
            .hide-on-collapsed {
                width: 300px;
                flex: 0 0 300px;
            }
        }
    }

    &:hover {
        ul .dropdown {
            pointer-events: auto;
            opacity: 1;
            visibility: visible;
        }

    }
}

.wrapper {
    margin: auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.logo {
    max-height: 45px;
    max-width: 100px;
    &-wrapper {
        padding: 3px;
        display: inline-block;
        border-radius: 3px;
    }
}

.info {
    display: inline-block;
    color: #453F72;
    font-weight: bold;
    font-size: 14px;
    .title {
        display: block;
        font-size: 12px;
        font-weight: 300;
    }

    .subtitle {
        display: block;
        font-size: 14px;
    }
}

.icons {
    display: flex;
    text-align: right;
    & > *:not(:last-child) {
        margin-right: 24px;
    }
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    &.transition {
        transition: padding 0.3s ease;
    }

    &.no-side-bar {
        padding-left: 0;
    }
}

.main-page {
    margin: 0;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    z-index: 3;
    border-bottom: 1px solid #D1CFDC;
}

.page-title,
.container {
    max-width: 832px;
    width: 90%;
    margin: auto;
    padding: 0;
}

.page-title {
    margin-top: 118px;
    margin-bottom: 35px;
    h1 {
        font-size: 56px;
        font-weight: 700;
        color: #453F72;
        line-height: 1.18;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 32px;
        font-weight: 400;
        color: #746F95;
        line-height: 1.56;
    }

    .title-details {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 25px;
        .detail-item {
            width: 25%;
            padding-right: 1em;
            margin-top: 24px;
            &:nth-child(4n) {
                padding-right: 0;
            }

            .detail-title {
                color: #746F95;
                font-size: 14px;
                margin-bottom: -2px;
            }

            .detail-value {
                color: #170F4F;
                a {
                    cursor: pointer;
                    color: #00BAC7;
                    text-decoration: none;
                    font-weight: 700;
                    &:hover {
                        color: #170F4F;
                        text-decoration: underline;
                    }
                    &:active,
                    &:hover:active {
                        text-decoration: none;
                        opacity: 0.85;
                    }

                }
            }
        }
    }
}

.next-button {
    margin-top: 24px;
    i.icon-next, i.icon-back, i.icon-refresh {
        display: inline-block;
        margin-left: 4px;
        vertical-align: middle;
        margin-top: -5px;
        width: 20px;
        height: 14px;
        background: url("../../../Images/ThemeV2/arrow-right-navy.svg") center center no-repeat;
    }

    i.icon-refresh {
        height: 20px;
        background-image: url("../../../Images/ThemeV2/refresh-navy.svg");
    }

    &[disabled] {
        i.icon-next
        {
            background-image: url("../../../Images/ThemeV2/arrow-right-white.svg");
        }

        i.icon-refresh {
            background-image: url("../../../Images/ThemeV2/refresh-cyan.svg");
        }
    }

    &:hover,
    &:focus {
        i.icon-next {
            background-image: url("../../../Images/ThemeV2/arrow-right-cyan.svg");
        }

        i.icon-refresh {
            background-image: url("../../../Images/ThemeV2/refresh-cyan.svg");
        }

    }
}

i.tooltip-icon {
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
    margin-top: -5px;
    width: 20px;
    height: 20px;
    background-image: url("../../../Images/ThemeV2/icon-tooltip.svg");
}

i.icon-back {
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
    margin-top: -5px;
    width: 20px;
    height: 14px;
    background: url("../../../Images/ThemeV2/arrow-left-cyan.svg");
}

.btn {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    color: #00BAC7;
    border: none;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.btn-primary {
    background-color: #00BAC7;
    color: #170F4F;
    &:hover {
        color: #00BAC7;
        background-color: #170F4F;
    }

    &:not(:disabled):not(.disabled):active {
        opacity: 0.85;
        background-color: #170F4F;
    }

    &.disabled,
    &:disabled {
        color: #FFFFFF;
        background-color: #170F4F;
        opacity: 0.5;
        cursor: not-allowed;
    }
}

.link-item a {
    color: #00BAC7;
}

.btn-bordered {
    border: solid 1px;
    background-color: transparent;
    background-size: 200%;
    color: #170F4F;
    .material-icons {
        color: #170F4F;
    }

    &:hover:not(:disabled) {
        background-color: #170F4F;
        border-color: #170F4F;
        color: #FFFFFF;
        .material-icons {
            color: #FFFFFF;
        }
    }
}

label {
    color: #746F95;
    font-size: 14px;
    .form-control {
        margin-top: 5px;
    }
}

.form-container {
    background: linear-gradient( 0deg, rgba(255, 255, 255, 0) 0%, rgba(252, 255, 255, 1) 40% );
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    transition: border-color .15s;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.form-container .col {
    margin-bottom: 16px;
}

.col {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

label {
    color: #746F95;
    font-size: 14px;
    display: inline-block;
}

label .form-control {
    margin-top: 5px;
}

input {
    margin: 0;
    font-family: inherit;
    overflow: visible;
}

.form-control {
    border: 1px solid #D1CFDC;
    color: #170F4F;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    height: calc(1.5em + 0.75rem);
}

.form-item-sub {
    font-size: 12px;
    color: #df2a2a;
    margin-top: 3px;
    .material-icons.material-icons-outlined {
        font-size: 14px;
        display: inline-block;
        vertical-align: middle;
        margin-top: -3px;
        margin-right: 2px;
    }

    .soft-warning {
        color: #c16a2b;
    }
}

.link-item {
    margin-top: 40px;
    font-weight: bold;
}

.link-item a {
    text-transform: uppercase;
}

h2.thank-you-message {
    line-height: 1.2;
}

.app-footer {
    margin: 0px 0 137px;
    min-height: 137px;
    z-index: -1;
}

.footer-image {
    margin-left: auto;
}

img {
    vertical-align: middle;
    border-style: none;
}

.app-footer .container {
    position: relative;
    display: flex;
}

.password-container {
    position: relative;
}

.eye-icon {
    display: inline-block;
    position: relative;
}

.eye-icon-button {
    position: absolute;
    display: inline-block;
    top: 40%;
    right: 2%;
    cursor: pointer;
}

.tooltip-popup {
    width: 400px;
    color: black;
    z-index: 10000;
    opacity: 0.8;
}