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

@font-face {
    /*font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf');*/
}


html, body {
    font-family: 'Roboto', sans-serif !important;
}

h1:focus {
    outline: none;
}

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

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNi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AyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.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");
    }

code {
    color: #c02d76;
}

.custom-text-welcomepage {
    text-transform: none;
    font-weight: 400;
    font-size: 28px;
    line-height: 39.45px;
    letter-spacing: 0%;
    vertical-align: middle;
}

.modal-content {
    margin-top: 100px;
}

.poppins {
    /*font-family: 'Poppins', sans-serif !important;*/
}

.card-button {
    border-radius: 10px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer;
    transition: transform 0.2s !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 20px !important;
}

    .card-button:hover {
        transform: scale(1.05);
    }

.mud-table-container {
    border: none !important;
    box-shadow: none !important;
    background-color: inherit !important;
}

.mud-table {
    border: none !important;
    box-shadow: none !important;
}

.mud-table-cell {
    border-bottom: none !important;
}

.custom-mainboard {
    margin-top: -40px !important; /* o qualsiasi valore tu preferisca */
    margin-bottom: -33px !important;
    padding-bottom: 5px; /* o qualsiasi valore tu preferisca */
    background: #F2F2F2;
}

.custom-mainboard-anagraphics {
    background-color: #f5f5f5;
    padding: 0px 20px;
    height: 86px;
}

.sticky-appbar-anagraphics {
    position: sticky;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    top: 64px;
}

.custom-padding-main-item {
    padding-top: 0px !important;
}


/* Start Handling Border radius of DataGrids */
.mud-table-row:first-child .mud-table-cell:first-child {
    border-top-left-radius: 13px;
}

.mud-table-row:first-child .mud-table-cell:last-child {
    border-top-right-radius: 13px;
}

.mud-table-row:last-child .mud-table-cell:first-child {
    border-bottom-left-radius: 13px;
}

.mud-table-row:last-child .mud-table-cell:last-child {
    border-bottom-right-radius: 13px;
}

.mud-table-row .mud-table-cell:first-child {
    border-top-left-radius: 13px;
    border-bottom-left-radius: 13px;
}

.mud-table-row .mud-table-cell:last-child {
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
}

/* End Handling Border Radius of DataGrids*/
}

.input-form p {
    /*font-family: 'Poppins', sans-serif !important;*/
}

.input-form span {
    /*font-family: 'Poppins', sans-serif !important;*/
}

.custom-divider {
    border-top: 2.28px solid #1E2772 !important;
    margin-left: 30px !important;
    width: 800px !important;
}

.custom-main-divider {
    width: auto;
    border-top: 5px solid #D5D7D7 !important;
    padding: 0 20px !important; /* Adjust margin as needed to keep it away from the edges */
}

.border-tabs-vertical > .mud-tabs-panels {
    border-left: 2px solid #2A5780 !important;
    height: 100%
}

.mud-tabs.mud-tabs-rounded .mud-tabs-panels {
    border-radius: 0px !important;
}

.main-action-bar {
    margin-top: 18px !important;
    margin-bottom: 18px!important;
}

.mud-tab-active {
    color: #0162DD;
    border-right: 0px !important;
    width: 353px !important;
    white-space: nowrap !important;
}

.mud-tab-slider.mud-tab-slider-vertical {
    width: 0px !important;
}

.mud-table-pagination-toolbar {
    border-top: 0px !important;
}

.full-size {
    height: 100vh !important;
    width: 100% !important;
}

.min-size {
    min-height: 500px;
}

.custom-tab-panel {
    /*font-family: Poppins !important;*/
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 25.5px !important;
    text-align: left !important;
    color: #2A5780 !important;
    width: 353px !important;
    white-space: nowrap !important;
}

.selected-tab-panel {
    /*font-family: Poppins !important;*/
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 25.5px !important;
    text-align: left !important;
    color: #0162DD !important;
}

.divider-tab {
    pointer-events: none !important;
    display: flex !important;
    height: 28px !important;
}

.divider-bar {
    border-left: 0.84px solid #2A5780 !important;
    height: 100% !important;
}

.mud-tabs-toolbar-content {
    overflow-x: scroll;
}

.mud-tabs-scroll-button {
    display: none;
}

.no-hover:hover {
    background-color: transparent !important;
}

.custom-main-vertical-divider {
    border-left: 0.84px solid #2A5780 !important;
    height: 19px !important;
    width: 1px !important;
    margin-left: 29px !important;
}

.custom-main-horizontal-divider {
    margin: 8px 0;
    border-bottom: 1.5px solid;
    width: 100%;
}

.icon-margin {
    margin-right: 8px;
}

.mud-input-control-input-container > .mud-input.mud-input-outlined > input:focus ~ .mud-input-outlined-border {
    border-color: #2A5780;
}

/*ManageMemberModal soggetto abilitato alla firma*/
.custom-mt {
    margin-top: 26px !important;
}
/* */

.titlefont-denomination,
.titlefont-variable {
    white-space: nowrap; /* Impedisce al testo di andare a capo */
    overflow: hidden; /* Nasconde il testo che va oltre i limiti dell'elemento */
    text-overflow: ellipsis; /* Mostra "..." se il testo è troppo lungo */
    display: flex; /* Usa il layout flex per assicurare l'allineamento */
    align-items: center; /* Allinea verticalmente al centro */
}

.single-line {
    display: flex;
    align-items: center;
}

.custom-modal-content {
    width: 734px;
    max-width: 100%;
    border: 2px solid #33587F; /* Colore del bordo */
    border-radius: 0px; /* Angoli a punta */
    padding: 0 !important;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    border-top-left-radius: 0px; /* Angoli a punta */
    border-top-right-radius: 0px; /* Angoli a punta */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.custom-fontsize-30 {
    font-size: 30px !important;
}

.custom-modal-body {
    padding: 1rem;
    text-align: center;
}

.custom-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    border-bottom-left-radius: 0px; /* Angoli a punta */
    border-bottom-right-radius: 0px; /* Angoli a punta */
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}


.mud-button-icon-size-large {
    width: 36px !important;
    height: 36px !important;
}

.no-wrap {
    white-space: nowrap;
}

.hide-dropdown-arrow .mud-popover .mud-popover-content {
    background: none !important;
    box-shadow: none !important;
}

.hide-dropdown-arrow .mud-input-adornment.mud-input-adornment-end {
    display: none !important;
}

.mud-input-slot {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-transform: uppercase;
}

.fixed-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #F2F2F2;
    padding: 16px;
    margin-left: -16px;
    margin-right: -16px;
}

.modal-body-scroll {
    max-height: 70vh;
    overflow-y: auto;
    padding: 16px;
}

.full-height {
    height: 100vh
}

.text-area-field textarea {
    overflow-wrap: break-word;
    white-space: normal;
    width: 100%;
}

.nospace-betweentextboxes {
    margin-left: -55px;
}

.mud-tabs-tabbar-wrapper {
    transform: translateY(0) !important;
}

.me-7px {
    margin-right: 7px !important;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + label::before {
    opacity: 1;
}

.mud-input.mud-disabled {
    background: #EEEEEE;
}

.mud-input-control.mud-input-control-margin-dense {
    margin: 4px 0 4px;
}

.custom-tooltip-width .mud-tooltip-root {
    width: 100%;
}

