@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body
{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif
}

h1:focus
{
    outline: none;
}

a, .btn-link
{
    color: #0071c1;
}

.log-in-container
{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: -webkit-center;
    height: 100vh
}

.footer-copyright
{
    display: flex;
    font-size: larger;
    padding: .75rem 15px
}

.footer-copyright-container
{
    margin-top: 2.75rem
}

.footer-divider
{
    content: "";
    display: inline-block;
    width: 1px;
    height: 1rem;
    background-color: #696969;
    margin: 0 10px
}

.md-copyright-container
{
    text-align: center
}

.privacy-frame
{
    width: 100%;
    height: 99.25vh
}

.btn-primary
{
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus
{
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content
{
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox])
{
    outline: 1px solid #26b050;
}

.invalid
{
    outline: 1px solid red;
}

.validation-message
{
    color: red;
}

#blazor-error-ui
{
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss
    {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary
{
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0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IDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after
    {
        content: "An error has occurred."
    }

.expand-btn-horizontal
{
    display: grid
}

.expand-btn-width
{
    width: 100%
}

:root
{
    --delay-time: .5s
}

@keyframes drop
{
    0%
    {
        transform: translateY(-200px) scaleY(0.9);
        opacity: 0
    }

    5%
    {
        opacity: 0.7
    }

    50%
    {
        transform: translateY(0px) scaleY(1);
        opacity: 1
    }

    65%
    {
        transform: translateY(-17px) scaleY(0.9);
        opacity: 1
    }

    75%
    {
        transform: translateY(-22px) scaleY(0.9);
        opacity: 1
    }

    100%
    {
        transform: translateY(0px) scaleY(1);
        opacity: 1
    }
}

.drop
{
    animation: drop 0.3s linear forwards var(--delay-time)
}

.intro-name-stock
{
    position: absolute;
    width: max-content;
    font-weight: bolder;
    font-size: larger;
    font-family: inherit;
    top: 5px;
    right: calc(100%)
}

@keyframes start
{
    20%
    {
        transform: scale(2) rotate(3deg)
    }

    40%
    {
        transform: scale(1.2) rotate(-3deg)
    }

    60%
    {
        transform: scale(2) rotate(3deg)
    }

    80%
    {
        transform: scale(1.2) rotate(-3deg)
    }
}

@keyframes middle
{
    0%
    {
        transform: translateY(0);
        opacity: 0;
    }

    30%
    {
        transform: translateY(-25px) scale(1.7) rotate(-3deg)
    }

    70%
    {
        filter: blur(1px);
        transform: translateY(-25px) scale(1.7) rotate(3deg)
    }

    100%
    {
        transform: translateY(-13.5px) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes end
{
    0%
    {
        transform: translateY(0);
        opacity: 0;
    }

    30%
    {
        transform: translateY(-50px) scale(1.7) rotate(3deg)
    }

    70%
    {
        filter: blur(1px);
        transform: translateY(-50px) scale(1.7) rotate(-3deg)
    }

    100%
    {
        transform: translateY(-27.5px) scale(1) rotate(0deg);
        opacity: 1;
    }
}

.reaction-contents
{
    animation-name: start;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    position: absolute;
    font-weight: 900;
    font-style: oblique;
    font-family: 'Black Han Sans', sans-serif;
    align-items: center;
    justify-content: end;
    display: inline-flex;
    --set-before-content: 'Combo';
    --set-after-content: 'Critical';
    bottom: calc(100%)
}

    .reaction-contents::before
    {
        animation-name: middle;
        animation-duration: .5s;
        animation-delay: .25s;
        animation-fill-mode: forwards;
        position: absolute;
        align-items: center;
        justify-content: end;
        content: var(--set-before-content)
    }

    .reaction-contents::after
    {
        font-size: x-large;
        animation-name: end;
        animation-duration: .5s;
        animation-delay: .5s;
        animation-fill-mode: forwards;
        position: absolute;
        align-items: center;
        justify-content: end;
        top: calc(-85%);
        content: var(--set-after-content)
    }

.client-app-reaction-contents
{
    animation-name: start;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    position: absolute;
    font-weight: 900;
    font-family: 'Black Han Sans', sans-serif;
    align-items: center;
    justify-content: end;
    display: inline-flex;
    text-wrap: nowrap;
    --set-before-content: 'Combo';
    --set-after-content: 'Critical';
    bottom: calc(100%)
}

    .client-app-reaction-contents::before
    {
        animation-name: middle;
        animation-duration: .5s;
        animation-delay: .25s;
        animation-fill-mode: forwards;
        position: absolute;
        align-items: center;
        justify-content: end;
        top: calc(-15%);
        text-wrap: nowrap;
        content: var(--set-before-content)
    }

    .client-app-reaction-contents::after
    {
        font-size: medium;
        animation-name: end;
        animation-duration: .5s;
        animation-delay: .5s;
        animation-fill-mode: forwards;
        position: absolute;
        align-items: center;
        justify-content: end;
        top: calc(-40%);
        text-wrap: nowrap;
        content: var(--set-after-content)
    }

.marker-profile-container
{
    display: flex;
    align-items: center;
    justify-content: center
}

.marker-profile-picture
{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #430F0F
}

    .marker-profile-picture img
    {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.toastify
{
    padding: 12px 20px;
    color: #800000;
    font-weight: bolder;
    display: inline-block;
    background: -webkit-linear-gradient(315deg, transparent, #F0E68C);
    background: linear-gradient(135deg, transparent, #F0E68C);
    position: fixed;
    opacity: 0;
    transition: all .4s cubic-bezier(.215, .61, .355, 1);
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    max-width: calc(50% - 20px);
    z-index: 3317
}

    .toastify.on
    {
        opacity: 1
    }

.toast-close
{
    background: 0 0;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    opacity: .4;
    padding: 0 5px
}

.toastify-right
{
    right: 15px
}

.toastify-left
{
    left: 15px
}

.toastify-top
{
    top: -150px
}

.toastify-bottom
{
    bottom: 75px
}

.toastify-rounded
{
    border-radius: 25px
}

.toastify-avatar
{
    width: 1.5em;
    height: 1.5em;
    margin: -7px 5px;
    border-radius: 2px
}

.toastify-center
{
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: fit-content;
    max-width: -moz-fit-content
}

@media only screen and (max-width:360px)
{
    .toastify-left, .toastify-right
    {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        max-width: fit-content
    }
}

#google-signin-btn
{
    display: inline-flex;
    color: #444;
    width: 300px;
    border-radius: 5px;
    vertical-align: middle;
    background-color: #F2F2F2
}

    #google-signin-btn:hover
    {
        cursor: pointer
    }

.login-btn
{
    margin: 0 0 1rem 0;
    box-shadow: 1px 1px 1px grey
}

.kakao-login-btn
{
    background-color: #F9E000;
    padding: .15rem .75rem
}

.google-login-btn
{
    background-color: #F2F2F2;
    padding: .15rem .75rem
}

.floating-lightweight-chart-tooltip
{
    position: absolute;
    display: none;
    padding: 12px;
    text-align: center;
    z-index: 915;
    background-color: transparent;
    box-sizing: border-box;
    font-size: 12px;
    color: #131722;
    pointer-events: none;
    border-radius: 4px;
    border: 2px solid rgba(255, 70, 70, 1)
}

.draggable-balance-certificate
{
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    position: absolute;
    font-size: smaller;
    background-color: transparent;
    cursor: grab;
    margin: 1rem;
    color: dimgray;
    z-index: 83;
    overflow-y: auto;
    max-height: calc(7 * 1fr + 3px);
    border: 2px solid #808080
}

.draggable-balance-fixed-row
{
    padding: .35rem .5rem .25rem .5rem;
    text-align: center;
    grid-row: 1;
    grid-column: span 8;
    border-bottom: 1px solid #A9A9A9
}

.strategics-chart-container
{
}

@media (prefers-color-scheme: dark)
{
    .strategics-chart-container
    {
        background-color: #131722
    }

    .draggable-balance-certificate
    {
        color: snow;
        border: 2px solid #DCDCDC
    }

    .draggable-balance-fixed-row
    {
        border-bottom: 1px solid #CCC
    }

    .floating-lightweight-chart-tooltip
    {
        color: #FFF;
        border: 2px solid #800000
    }
}

.draggable-balance-dynamic-row
{
    text-align: end;
    grid-column: span 8;
    padding: .25rem .5rem .125rem .5rem
}

.trading-chart-high-price-container
{
    margin-left: 4px
}

.trading-chart-low-price-container
{
    margin-right: 4px
}

.trading-chart-price-container
{
    font-size: 12px;
    color: #808080
}

span.label
{
    font-family: serif;
    font-weight: normal
}

span.icon
{
    background: url('../images/buttons/google_login_round_neutral.svg') transparent 5px 50% no-repeat;
    display: inline-block;
    vertical-align: middle;
    width: 3.925rem;
    height: 45px
}

span.btn-text
{
    display: inline-block;
    vertical-align: middle;
    line-height: 2.75rem;
    padding-left: 42px;
    padding-right: 42px;
    font-size: 14px;
    font-weight: bolder;
    font-family: 'Roboto', sans-serif
}

.loading-progress
{
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle
    {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child
        {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text
{
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after
    {
        content: var(--blazor-load-percentage-text, "Loading");
        cursor: pointer
    }

.kanit-thin
{
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.kanit-extralight
{
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.kanit-light
{
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.kanit-regular
{
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.kanit-medium
{
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.kanit-semibold
{
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.kanit-bold
{
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.kanit-extrabold
{
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.kanit-black
{
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.kanit-thin-italic
{
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.kanit-extralight-italic
{
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.kanit-light-italic
{
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.kanit-regular-italic
{
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.kanit-medium-italic
{
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.kanit-semibold-italic
{
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.kanit-bold-italic
{
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.kanit-extrabold-italic
{
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.kanit-black-italic
{
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: italic;
}
