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

@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamBook.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Ultra.otf') format('opentype');
    font-weight: bolder;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamBook.ttf') format('truetype'), url('fonts/GothamBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

page-background-class {
    background-image: url(../resources/images/river_of_thames.jpg)
}

html, body {
    font-family: Gotham;
    height: 100%;
}

h1:focus {
    outline: none;
}

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

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

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzN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Y2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

/* TDX Styles below */

/* To override a MudBlazor CSS constraint on NavMenuGroup */
/*.mud-nav-group > .mud-nav-link > .mud-nav-link-text {
    font-weight: bold !important;
    font-weight: normal;
    font-size: 12px;
}*/

.navmenu-item {
    font-weight: normal;
    margin-left: 3px;
    font-size: 15px;
}

.navmenu-item-group :where(.mud-nav-group > .mud-nav-link > .mud-nav-link-text) {
    font-weight: bold !important;
    font-size: 15px !important;
}

.navmenu-item-nogroup {
    font-weight: bold !important;
    font-size: 15px;
}

.qrcode {
    width: 150px;
    height: 150px;
}

.paper-standard {
    padding: 30px;
    padding-top: 30px;
    margin: 0px;
}

.paper-standard-no-padding-top {
    padding: 30px;
    padding-top: 0px;
    margin: 0px;
}

.paper-standard-title {
    font-family: Arial;
    font-weight: bold;
    font-size: 18px;
}

.paper-standard-title-client {
    font-family: Arial;
    font-weight: bold;
    font-size: 18px;
}

.tbl-header {
    font-weight: bold;
    font-size: x-large;
    border-bottom-width: 5px;
    text-align: center;
}

.horizontal_dotted_line {
    border-bottom: 1px dotted;
    width: 2px;
}

.tdx-normal-text {
    font-size: xx-large;
    font-weight: bold;
}

.text-bold{
    font-family: Gotham !important;
}

.text-xs {
    font-size: 0.75rem !important;
    line-height: 1rem !important;
}
.text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}
.text-base {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
}
.text-lg {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
}
.text-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
}
.text-2xl {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
}
.text-3xl {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
}
.font-bold {
    font-weight:bold !important;
}

:root {
    --landingfooterheight: 50px;
    --landingfooterheightInv: -50px;
}

@media screen and (max-width: 960px) {
    :root {
        --landingfooterheight: 50px;
        --landingfooterheightInv: -50px;
    }
    
}

@media screen and (max-width: 600px) {
    :root {
        --landingfooterheight: 50px;
        --landingfooterheightInv: -50px;
    }
}

.i-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.i-text-white-light {
    color: var(--mud-palette-gray-light);
}

.i-h-full {
    height: 100% !important;
}

.zoom {
    transition: transform .2s ease;
}

    .zoom:hover {
        transform: scale(1.02); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    }

#screen-middle {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
}

.main_button {
    display: flex;
    justify-content: center;
    border-radius: 8px;
    border-color: transparent;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.main_button:hover {
    display: flex;
    justify-content: center;
    border-radius: 8px;
    border-color: darkblue;
    border-width: 1px;
    transition: border-color 0.5s ease-in-out;
}

.amount {
    font-family: Open Sans;
}


.arrow_box {
    position: relative;
    background: #555;
    border: 2px solid #000000;
}

    .arrow_box:after, .arrow_box:before {
        right: 100%;
        top: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .arrow_box:after {
        border-color: rgba(85, 85, 85, 0);
        border-right-color: #555;
        border-width: 10px;
        margin-top: -10px;
    }

    .arrow_box:before {
        border-color: rgba(0, 0, 0, 0);
        border-right-color: #000000;
        border-width: 13px;
        margin-top: -13px;
    }

#chart .tokenDistributionChart-tooltip {
    color: #fff;
    transform: translateX(10px) translateY(10px);
    overflow: visible !important;
    white-space: normal !important;
}

    #chart .tokenDistributionChart-tooltip span {
        padding: 5px 10px;
        display: inline-block;
    }

.datafield {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.datafield_token {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 120px;
}

.dataviewer_fieldname {
    font-weight: bold;
}

.dataviewer_fieldvalue {    
}

.dataviewer_fieldname_highlight {
    font-weight: bold;
}

.dataviewer_fieldvalue_highlight {
    font-weight: bold;
}

.balancetable_header {
    font-weight: bold;
    font-size: 20px;
    white-space: nowrap;
}

.balancetable_value {
    font-size: 10px;
    white-space: nowrap;
}

.simple_field_name {
    font-size: 12px;
    color: gray;
}

.superscript {
    font-size: 10px;
    vertical-align: super;
}

.button_quote_buy {
    padding-left: 20px;
    padding-right: 20px;
    color: red;
}

.subscription_period_items {
    color: #6797FF;
}

.product-card {
    min-height: 420px;
    height: 100%;
}

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

.risk-label-text {
    background-color: #DADADA;
    border-radius: 5px;
    padding: 2px 5px 1px 5px;
}

.risk-label-text-dark {
    background-color: #565665;
    border-radius: 5px;
    padding: 2px 5px 1px 5px;
}

.withdrawal-guideline-items {
    background-color: #EFF0FC;
    padding: 20px;
}

.withdrawal-guideline-items-dark {
    background-color: #42424C;
    padding: 20px;
}

.help-icon {
    position: fixed;
    bottom: 15px;
    right: 16px;
    z-index: 20;
}

.help-icon-item {
    position: fixed !important;
    right: 16px;
    bottom: 80px;
    right: 16px;
    z-index: 20;
}

.definition-wrapper.collapse {
    max-height: 100px;
    overflow: hidden;
    background: linear-gradient(to bottom, currentColor, var(--mud-palette-surface));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.definition-wrapper {
    width: 100%;
    max-height: 500px;
    padding: 10px 5px;
    transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.clickable-row {
    cursor: pointer;
}

.clickable-row td {
    cursor: pointer;
}

.information-icon-15 {
    width: 15px !important;
    height: 15px !important;
}

.information-icon-16 {
    width: 16px !important;
    height: 16px !important;
}

.overview-action-button {
    background-color: var(--mud-palette-primary-hover) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 10px 20px !important;
    min-width: 150px !important;
    height: 50px !important;
    font-size: 0.9rem !important;
}

/*============= Deposit/Withdrawal ===============*/
.step-container .mud-collapse-container {
    height: auto !important;
}

.customized-icon-button .mud-icon-button {
    padding: 3px !important;
}

.customized-step .mud-step-label-content-title {
    font-size: 1.1rem !important;
}

.customized-step .mud-step-completed .mud-step-label-content-title,
.customized-step .mud-step-label-active .mud-step-label-content-title {
    font-size: 1.1rem !important;
    font-weight: bold !important;
}

.withdrawal-amount-field {
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
}

/*============= Wire Instructions ===============*/
.currency-button-selected {
    background-color: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
    margin: 0px 10px 0px 0px !important;
    height: 40px;
    width: 100px;
}

.currency-button-not-selected {
    background-color: var(--mud-palette-primary-hover) !important;
    color: var(--mud-palette-primary) !important;
    margin: 0px 10px 0px 0px !important;
    height: 40px;
    width: 100px;
}

.generic-button-selected {
    background-color: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
    height: 40px;
    width: 120px;
}

.generic-button-not-selected {
    background-color: var(--mud-palette-primary-hover) !important;
    color: var(--mud-palette-primary) !important;
    height: 40px;
    width: 120px;
}

.mud-button-root.generic-button-selected:disabled {
    background-color: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
    opacity: 0.5;
}

.period-option-button {
    border-radius: 0.75rem !important;
    padding: 0.35rem 0.5rem !important;
    background-color: var(--mud-palette-primary-hover) !important;
}

.period-option-selected-button {
    border-radius: 0.75rem !important;
    padding: 0.35rem 0.6rem !important;
    background-color: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
}

.mud-button-root.period-option-selected-button:disabled {
    opacity: .5 !important;
    color: var(--mud-palette-primary-text) !important;
}

/*============= Quote List Screens ===============*/
.button-selected {
    background-color: var(--mud-palette-primary-hover) !important;
    border: 1px solid var(--mud-palette-gray-lighter) !important;
    min-width: 140px !important;
    height: 70px;
}

.button-not-selected {
    color: var(--mud-palette-gray-dark) !important;
    border: 1px solid var(--mud-palette-gray-lighter) !important;
    min-width: 140px !important;
    height: 70px;
}

.maturity-button-selected {
    background-color: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
    /*margin: 5px !important;*/
    height: 40px;
    width: 120px;
}

.mud-button-root.maturity-button-selected:disabled {
    background-color: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
    opacity: 0.5;
}

.maturity-button-not-selected {
    background-color: var(--mud-palette-primary-hover) !important;
    color: var(--mud-palette-primary) !important;
    /*margin: 5px !important;*/
    height: 40px;
    width: 120px;
}

.export-btn {
    background-color: var(--mud-palette-action-default-hover) !important;
    color: var(--mud-palette-action-default) !important;
    margin: 5px !important;
    height: 40px;
    width: 150px;
}

.grouped-btn {
    background-color: var(--mud-palette-success-hover) !important;
    color: var(--mud-palette-success-darken) !important;
    margin: 5px !important;
    height: 40px;
    width: 240px;
}

.ungrouped-btn {
    background-color: var(--mud-palette-primary-hover) !important;
    color: var(--mud-palette-primary) !important;
    margin: 5px !important;
    height: 40px;
    width: 240px;
}

.refresh-button {
    height: 50px;
    width: 150px;
}

.button-text {
    line-height: 20px !important;
}

.button-header-text {
    font-size: 18px !important;
    font-weight: bold !important;
}

.expiry-divider {
    background-color: var(--mud-palette-action-default-hover);
}

.learn-more-btn {
    margin-right: 30px !important;
    background-color: var(--mud-palette-white) !important;
    color: black !important;
    margin-top: 10px !important;
    height: 30px;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
}

.product-banner {
    width: 100%;
    height: 180px;
    object-fit: cover !important;
}

.grid-container {
    width: 100% !important;
    margin: 0px !important;
}

.grid-item {
    padding: 0px !important;
}

.table-container {
    overflow-x: auto;
    max-width: 100%;
}

.customized-table {
    width: 100%;
    border-collapse: collapse;
}

.customized-row {
    height: 55px;
}

.customized-row:hover {
    padding: 10px;
    background-color: var(--mud-palette-action-default-hover);
}

.table-row-padding td {
    padding: 10px !important;
}

.label-chip {
    height: auto !important;
    padding: 2px 12px !important;
    margin: 0px !important;
}

@media (max-width: 685px) {
    .product-banner {
        width: 100%;
        height: 250px;
        object-fit: cover !important;
    }
}

@media (max-width: 526px) {
    .product-banner {
        width: 100%;
        height: 300px;
        object-fit: cover !important;
    }
}

.error-text {
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1.66 !important;
}

/*============= Start - Others ===============*/
.menu-arrow::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--mud-palette-surface);
}
/*============= End - Others ===============*/


/*============= Start - Login ===============*/
.login-parent-container {
    min-height: calc(-400px + 100vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-child-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px 10px;
}

.announcement-container {
    width: 100%;
    max-width: 556px;
}

.customized-login-tab .mud-tabs-tabbar {
    border-bottom: 1px solid var(--mud-palette-action-default-hover);
}

.customized-login-tab .mud-tab {
    text-transform: none !important;
}

.code {
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    width: 200px;
    height: 200px;
}

.code-img {
    width: 100%;
    height: 100%;
}

.blur {
    opacity: 0.2;
    filter: blur(5px);
}

.refresh-btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
}

.qrcode-text-grp {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}
/*============= End - Login ===============*/
