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

@font-face {
    font-family: 'Mardoto';
    src: url('Mardoto-Regular.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Mardoto-Medium';
    src: url('Mardoto-Medium.woff2') format('woff2');
    font-weight: 500;
}

@font-face {
    font-family: 'Mardoto-Bold';
    src: url('/fonts/Mardoto-Bold.woff2') format('woff2');
    font-weight: 700;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
}

html, body {
    --mud-palette-action-default-hover: var(--mud-palette-gray-light);
    --primary-bg: var(--mud-palette-primary);
    --main-bg: linear-gradient(0deg, rgba(240, 240, 240, 0.20) 0%, rgba(240, 240, 240, 0.20) 100%), linear-gradient(252deg, #E1ECF2 -42.7%, #EDF8FF 7.37%, #F3FAFE 43.62%, #F2FAFF 102.74%, #EDF6FC 129.93%);
    --mud-default-borderradius: 12px;
    --default-overlay-color: #00000033;
    --rounded-image-color: #7CB4E8;
}

h1:focus {
    outline: none;
}

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

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

.cardShadow {
    box-shadow: 0px 0px 4px 0px #001C111A !important;
}

.cardShadow2 {
    box-shadow: 0px 0px 15px 0px #1018280D !important;
}

.actionShadow {
    box-shadow: 0px 0px 10px 0px #0000001A;
}

.buttonShadow {
    box-shadow: 0px 0px 5px 0px rgba(16, 24, 40, 0.1) !important;
}

.appbarShadow {
    box-shadow: 0px 0px 5px #0000000d;
}

.documentStateConfirmed {
    color: var(--mud-palette-success) !important;
}

.documentStateAccepted {
    color: var(--mud-palette-warning) !important;
}

.documentStateCanceled {
    color: var(--mud-palette-error) !important;
}

.documentStateDefault {
    color: #42A5F5 !important;
}

.commission {
    color: var(--mud-palette-primary) !important;
}

.transactionAmountCredit {
    color: var(--mud-palette-primary);
}

.transactionAmountDebit {
    color: var(--mud-palette-text-primary);
}

.receiver-account-list > div.mud-list-item-disabled {
    color: unset !important;
    padding-bottom: 0px !important;
    border-bottom: 1px solid #d5d5d5;
}

.menu-popover-list-icon > div.mud-list-item-icon {
    min-width: auto !important;
    margin-right: 12px !important;
}

    .menu-popover-list-icon > div.mud-list-item-icon > svg > svg > path {
        fill: var(--mud-palette-text-primary);
        color: var(--mud-palette-text-primary);
    }

    .menu-popover-list-icon > div.mud-list-item-icon > svg > path {
        color: var(--mud-palette-text-primary);
    }

.data-grid .mud-table-root {
    min-width: max-content !important;
}

    .data-grid .mud-table-root .mud-table-body tr td:last-child {
        padding-right: 16px !important;
    }

.data-grid .mud-table-container {
    width: unset !important;
}

.data-grid td, .data-grid th {
    border: 0px;
}

.data-grid .mud-table-toolbar {
    padding: 0px;
    height: unset;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: unset;
    border-bottom: 1px solid #e5e5e5;
}

.data-grid .grid-row-bold > td {
    font-weight: bold;
}

.data-grid .mud-table-root .mud-table-body .mud-table-cell {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*.data-grid .mud-table-container {
    min-height: calc(100vh - 425px);
}*/

.grid-column-dialog .mud-dialog-title {
    padding-bottom: 0px !important;
}

.custom-date-filter .mud-input.mud-input-outlined.mud-input-adorned-end {
    padding-right: 0px !important;
    padding-inline-end: 0px !important;
}

.custom-date-filter .mud-input > input.mud-input-root-outlined.mud-input-root-adorned-end, div.mud-input-slot.mud-input-root-outlined.mud-input-root-adorned-end {
    padding-inline-start: 12px;
    padding-inline-End: 10px;
}

.custom-date-filter .mud-input-adornment-end {
    margin-left: 0px !important;
    margin-inline-start: 0px !important;
    margin-inline-end: unset;
}

.custom-date-filter .mud-icon-button-edge-end {
    margin-right: 0px !important;
    margin-inline-end: 0px !important;
    margin-inline-start: unset;
}

.custom-date-filter .mud-input-control-helper-container {
    display: none;
}

.border-t-1 {
    border-top: 1px solid #e5e5e5;
}

.border-b-1 {
    border-bottom: 1px solid #e5e5e5 !important;
}

.selected {
    background-color: var(--mud-palette-action-default-hover) !important;
}

.contract-details {
    height: calc(100vh - 204px) !important;
}

.acc-card-transactions {
    border-radius: 20px 20px 0px 0px !important;
}

.contract-details-background {
    background: white;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
}

.contract-info-card {
    max-width: 560px;
    height: 232px !important;
    background-size: cover;
    background-repeat: no-repeat;
}

.iconPrimaryColor > svg > path,
.iconPrimaryColor > svg > svg > path,
.iconPrimaryColor > svg g > path,
.iconPrimaryColor > span > svg > svg > g > path {
    fill: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

.iconWhiteColor > svg > path,
.iconWhiteColor > svg > svg > path,
.iconWhiteColor > svg g > path,
.iconWhiteColor > span > svg > svg > g > path,
.iconWhiteColor > span > svg > svg > path {
    fill: var(--mud-palette-white);
    color: var(--mud-palette-white);
}

.iconSecondaryColor > svg > path,
.iconSecondaryColor > svg > svg > path,
.iconSecondaryColor > svg g > path,
.iconSecondaryColor > span > svg > svg > g > path {
    fill: var(--mud-palette-gray-dark);
    color: var(--mud-palette-gray-dark);
}

.primaryIconHover:hover > svg > path:nth-of-type(2),
.primaryIconHover:hover .iconSecondaryColor > svg > path,
.primaryIconHover:hover .iconSecondaryColor > svg > svg > path,
.primaryIconHover:hover .iconSecondaryColor > svg g > path,
.primaryIconHover:hover .iconSecondaryColor > span > svg > svg > g > path {
    fill: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

.iconPrimaryTint > svg > path,
.iconPrimaryTint > svg > svg > path,
.iconPrimaryTint > svg g > path,
.iconPrimaryTint > span > svg > path:nth-of-type(2),
.iconPrimaryTint > span > svg > svg > g > path {
    fill: var(--mud-palette-tertiary);
    color: var(--mud-palette-tertiary);
}

.textPrimaryColor > svg > path,
.textPrimaryColor > svg > svg > path,
.textPrimaryColor > svg g > path,
.textPrimaryColor > span > svg > svg > g > path {
    fill: var(--mud-palette-text-primary);
    color: var(--mud-palette-text-primary);
}

.iconWhiteColor > svg > path,
.iconWhiteColor > svg > svg > path,
.iconWhiteColor > svg g > path,
.iconWhiteColor > span > svg > svg > g > path {
    fill: var(--mud-palette-white);
    color: var(--mud-palette-white);
}

.donut-inner-text {
    text-anchor: middle;
    fill: var(--mud-palette-text-primary);
    font-size: 8px;
    font-weight: 500;
}

.mud-chart-donut .mud-donut-segment {
    stroke-width: 3px !important;
}

.custom-tooltip {
    /*min-height: 40px !important;*/
    max-width: 400px !important;
    text-align: left !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--mud-palette-text-primary) !important;
    border-radius: 8px !important;
    background: var(--White, rgba(255, 255, 255, 0.80)) !important;
    box-shadow: 0px 0px 15px 0px rgba(16, 24, 40, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    border: 0.5px solid var(--mud-palette-primary);
    padding: unset !important;
}

.striped,
.striped-list > div:nth-of-type(odd) {
    background-color: var(--mud-palette-table-striped);
}

.custom-field {
    margin-top: 4px !important;
}

    .custom-field .mud-input.mud-input-outlined {
        height: 56px;
    }

.payer-acc-field .mud-input > input.mud-input-root-outlined {
    padding-left: 0px !important;
}

.custom-select-field div.mud-input-slot {
    height: 42px !important;
}

.rounded-large {
    border-radius: 20px !important;
}

.rounded-medium {
    border-radius: 16px !important;
}

.rounded-medium-top {
    border-radius: 16px 16px 0 0 !important;
}

.rounded-small {
    border-radius: 12px !important;
}

.mud-range-container {
    align-items: center;
    margin: 20px 0;
}

    .mud-range-container input::-webkit-slider-thumb {
        pointer-events: all;
        position: relative;
        z-index: 1;
    }

    .mud-range-container input::-moz-range-thumb {
        pointer-events: all;
        position: relative;
        z-index: 10;
    }

    .mud-range-container input::-moz-range-track {
        position: relative;
        z-index: -1;
    }

    .mud-range-container input:last-of-type::-moz-range-track {
        -moz-appearance: none;
    }

    .mud-range-container .mud-slider-input:last-of-type {
        position: absolute;
        pointer-events: none;
        top: 0;
    }

    .mud-range-container input[type=range]::-webkit-slider-thumb {
        pointer-events: all;
    }

.mud-range-display {
    text-align: center;
}

.contract-actions-more {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.cardItem {
    min-width: 352px;
    max-width: 352px;
    height: 216px;
    border: none;
}

.cardDesignItem {
    min-width: 352px;
    max-width: 352px;
    height: 216px;
    border: none;
}

.custom-border {
    border: 1px solid #04878F1A;
}

.main-background {
    background: var(--main-bg);
}

.account-card-icon {
    width: 40px !important;
    height: 30px !important;
    background: var(--mud-palette-primary);
}

.loanOpenApplicationAmount .mud-input.mud-disabled {
    color: var(--mud-palette-dark) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.figure {
    padding: 10px;
    background: var(--main-bg);
    background-attachment: fixed;
    border-radius: 0 0 50px 50px;
    width: 90px;
    height: 60px;
    margin-top: -10px;
    display: flex;
    align-items: end;
}

/*    .figure::before {
        content: "";
        position: absolute;
        background: var(--main-bg);
        background-attachment: fixed;
        top: 10px;
        height: 100px;
        left: -25px;
        width: 25px;
        border-top-right-radius: 10px;
        box-shadow: -25px 0 0 0 #292626;
    }

    .figure::after {
        content: "";
        position: absolute;
        top: 10px;
        height: 100px;
        right: -25px;
        width: 25px;
        border-top-left-radius: 10px;
        box-shadow: 0 -25px 0 0 #fafafa;
    }*/

a, .btn-link {
    color: var(--mud-palette-primary);
}

    .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 var(--mud-palette-primary);
    }


.login-form {
    backdrop-filter: blur(15px); /*not supported for browsers lower versions*/
}

.bg-blur {
    backdrop-filter: blur(5px);
}

.mud-list.mud-list-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.bordered-1 {
    border: 1px solid var(--mud-palette-lines-default) !important;
}

.border-primary {
    border: 1px solid var(--mud-palette-primary) !important;
}

.custom-dashed-border {
    border: 1px dashed var(--mud-palette-lines-default);
}

.custom-divider-border {
    border: 1px solid var(--mud-palette-divider);
}

.border-b-between > *:not(:last-child) {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.custom-divider {
    color: rgba(var(--mud-palette-lines-default-rgb), .7);
    opacity: unset;
}

.shadow-1 {
    box-shadow: 0px 0px 4px 0px #0719211A !important;
}

.shadow-2 {
    box-shadow: 0px 0px 4px 0px #001C111A !important;
}

.shadow-3 {
    box-shadow: 0px 1.12px 7.66px 0px #8D8D8D40 !important;
}

.custom-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-none {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.mud-input > input.mud-input-root-outlined.mud-input-root:-webkit-autofill {
    border-radius: var(--mud-default-borderradius) !important;
}

.tab-no-hover .mud-tab:hover,
.mud-switch-base:hover,
.mud-snackbar .mud-icon-button:hover,
.back-button .mud-icon-button:hover,
.mud-picker-datepicker-toolbar .mud-button-year,
.mud-picker-datepicker-toolbar .mud-button-date,
.password-field .mud-icon-button:hover {
    background-color: unset !important;
}

.password-field .mud-icon-button:after {
    background: unset !important;
}

.mud-list-item-clickable:hover {
    background-color: var(--mud-palette-action-default-hover) !important;
}

.menu-shadow {
    box-shadow: 0px 16px 32px -4px #0C0C0D1A;
}

.custom-hover-main:hover {
    background-color: var(--mud-palette-action-default-hover) !important;
    cursor: pointer;
}

.custom-hover-primary:hover {
    background-color: #6D8EE8 !important;
    cursor: pointer;
}

.custom-hover-secondary:hover {
    background-color: var(--mud-palette-secondary) !important;
    cursor: pointer;
}

.contract-card-background {
    background-color: #EEF1F8 !important;
}

.login-container {
    background: linear-gradient(0deg, rgba(240, 240, 240, 0.40) 0%, rgba(240, 240, 240, 0.40) 100%), linear-gradient(252deg, #E1ECF2 -42.7%, #F2F9FC 7.37%, #F0F4F7 43.62%, #F2FAFF 102.74%, #EDF6FC 129.93%);
}

.white-space-pre-line {
    white-space: pre-line !important;
}

.beneficiaries-custom-list-item {
    background-color: var(--mud-palette-white) !important;
    border: 1px solid var(--mud-palette-lines-default) !important;
}

.beneficiaries-custom-list-item-selected {
    background-color: var(--mud-palette-gray-light) !important;
}

.statement-custom-filter {
    background-color: var(--mud-palette-white) !important;
    border: 1px solid var(--mud-palette-primary) !important;
}

.back-button {
    padding: 0 !important;
    height: 24px;
}

.dialog-image {
    width: 32px;
    margin-right: 8px;
}

.custom-text-secondary {
    color: var(--mud-palette-text-secondary);
}

.mud-tab-slider {
    height: 3px !important;
    width: 40px !important;
    margin-left: 60px !important;
    border-radius: 100px 100px 0 0 !important;
}

.mud-tabs-tabbar {
    border-bottom: 1px solid var(--mud-palette-divider);
    border-radius: 0px !important;
}

.mud-snackbar {
    min-width: 450px;
    max-width: 800px !important;
    color: #000 !important;
    font-size: 14px;
    font-weight: 600;
}

    .mud-snackbar .mud-button-root {
        color: var(--mud-palette-text-disabled) !important;
    }

.mud-alert-filled-info {
    background-color: #C6E4FC !important;
}

.mud-alert-filled-error {
    background-color: #F7CCCC !important;
}

.mud-alert-filled-success {
    background-color: #BFE9D5 !important;
}

.mud-alert-filled-warning {
    background-color: #F9E5C8 !important;
}

.custom-progress-linear.mud-progress-linear.mud-progress-linear-color-success:not(.mud-progress-linear-buffer)::before {
    background-color: var(--mud-palette-lines-inputs) !important;
}

.custom-expansion-panel .mud-expand-panel .mud-expand-panel-content.mud-expand-panel-gutters {
    padding-left: 16px;
    padding-right: 16px;
}

.custom-expansion-panel.mud-disabled > .mud-expand-panel-header {
    color: unset;
}

.contract-item-icon {
    display: none;
}

.contract-list-item-icon {
    min-width: 80px;
    max-width: 80px;
    max-height: 50px;
    display: flex;
}

@media (max-width: 600px) {
    .data-grid .mud-table-root .mud-table-body .mud-table-cell {
        max-width: 100%;
        white-space: normal;
        padding-right: 16px !important;
    }

    .data-grid .mud-table-root {
        min-width: 100% !important;
    }

    .contract-list-item-icon {
        min-width: 40px;
        max-width: 40px;
        max-height: 40px;
        display: flex;
    }
}

@media (min-width: 1130px) and (max-width: 1279px), (min-width: 1500px) {
    .contract-item-icon {
        min-width: 80px;
        max-width: 80px;
        max-height: 50px;
        display: flex;
    }
}

@media (min-width: 1050px) and (max-width: 1130px), (min-width: 1400px) and (max-width:1500px) {
    .contract-item-icon {
        min-width: 40px;
        max-width: 40px;
        max-height: 40px;
        display: flex;
    }
}

@media (min-width: 1920px) {
    .contract-details {
        height: calc(100vh - 128px) !important;
    }

    .acc-card-transactions {
        border-radius: 20px !important;
    }
}

@media (max-width: 715px) {
    .cardDesignItem {
        min-width: 273px;
        max-width: 273px;
        height: 187px;
        border: none;
    }
}

@media (max-width: 1280px) {
    .data-grid .mud-toolbar .secondary-button {
        min-width: unset;
        padding-left: 8px;
        padding-right: 8px;
    }

        .data-grid .mud-toolbar .secondary-button .mud-typography {
            display: none !important;
        }

        .data-grid .mud-toolbar .secondary-button svg {
            margin: 0 !important;
        }
}

.align-sm-normal {
    align-items: normal !important;
}

.notification-popover {
    z-index: var(--mud-zindex-popover) !important;
    max-height: 80vh;
}

.overlay {
    z-index: 100 !important;
}

@media (min-width: 800px) {
    .notification-popover {
        width: 720px;
    }

    .notification-content {
        width: 100%;
    }
}

@media (max-width: 850px) {
    .notification-popover {
        right: 16px !important;
        left: 16px !important;
    }
}

@media (max-width: 600px) {
    .notification-popover .mud-menu-list {
        width: calc(100vw - 32px);
    }
}

.gmnoprint, .gm-style-cc {
    display: none !important;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
}

.gm-style .gm-style-iw-c {
    border-radius: 16px !important;
}

@media (min-width: 500px) {
    .utilitySearch {
        flex-direction: row !important;
    }
}

.utilitySearch {
    flex-direction: column;
}

.mud-alert-icon.mud-alert-icon-left {
    align-self: center;
}

.menu-group {
    display: flex !important;
    align-items: center !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.culture-menu {
    min-width: unset !important;
}

.mud-avatar > .mud-image {
    object-fit: cover !important; /* crop & fill */
    object-position: center !important;
    display: block;
}
