﻿/* --------- theme ---------- */
:root {
    --base-text: #212529;
    --link: #ff000f;
    --link-hover: #c00;
    --primary: #ff000f;
    --primary-hover: #BF1919;
    --dark: #444444;
    --mud-palette-surface: #444444;
}

* {
    font-family: 'Montserrat', sans-serif;
}

.relative-wrapper {
    position: relative;
}

.overlay-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mud-overlay-content {
    display: flex;
    flex-direction: column !important;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

input[type="checkbox"] {
    accent-color: var(--primary) !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff !important;
    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 #ff000f;
}

.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;
	color: red;
}

#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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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: var(--dark) !important;
    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;
}

/* GENERAL */

body {
    color: var(--base-text)
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    /*color: white;*/
    font-weight: bold;
}

.text-primary {
    color: var(--primary) !important
}

a {
    color: var(--base-text);
    transition: all .5s;
}

a:hover {
    color: var(--link-hover);
    text-decoration: none;
    transition: all .3s;
}

.btn-link {
    color: var(--base-text);
    transition: all .5s;
    opacity: .85
}

.btn-link:hover {
    color: var(--link);
    text-decoration: none;
    transition: all .3s;
    opacity: 1
}

.page-item.active .page-link, .list-group-item.active {
    border-color: var(--primary)
}

.btn-primary, .btn-primary:active, .btn-outline-primary:hover, .page-item.active .page-link, .dropdown-item.active, .dropdown-item:active, .custom-control-input:checked ~ .custom-control-label::before {
    font-weight: bold;
    background: var(--primary) !important;
    border-color: transparent !important;
    color: #fff
}

.page-item.active .page-link {
    background: #fff !important;
    color: var(--primary) !important
}

.btn-primary:hover {
    background: var(--primary-hover) !important;
    border-color: transparent !important;
    color: #fff
}

.bg-primary {
    background-color: var(--primary) !important
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link, .badge-primary, .list-group-item.active {
    background-color: var(--primary)
}

.bg-dark, .table .thead-dark th {
    background-color: var(--dark) !important
}

.btn-white {
    background-color: #fff;
    border: 0;
    color: var(--primary) !important
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, .95);
    border: 0;
    color: var(--primary) !important
}

.btn-white.shadow:hover {
    box-shadow: 0 .2rem .4rem rgba(0, 0, 0, .1) !important
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.input-group-text {
    background-color: #eee
}

.table td, .table th {
    padding: .9rem .8rem
}

.table .thead-dark th {
    border-color: transparent;
    border-radius: 5px 5px 0 0;
}

.table th {
    line-height: 1.15em;
    font-size: .785rem;
    padding: 1rem .8rem
}

.td-sm {
    width: 1%
}

.table {
    font-size: .875rem
}

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: rgba(0, 0, 0, .008);
}

.table-striped tbody tr:hover {
    background-color: rgba(0, 0, 0, .05);
}

.icon-lg {
    font-size: 1.5em
}

.icon-bg {
    position: absolute;
    display: block;
    bottom: .15em;
    right: .15em;
    font-size: 5rem !important;
    opacity: 0.5;
}

.fa-icon-bg {
    position: absolute;
    display: block;
    bottom: .15em;
    right: .15em;
    font-size: 4rem !important;
    opacity: 0.5;
}

.check-lg {
    padding-left: 1.9rem;
}

.check-lg .form-check-input {
    width: 1.45rem;
    height: 1.45rem;
    margin-top: 0;
    margin-left: -1.9rem;
    cursor: pointer;
}

.check-lg, .check-lg .form-check-input, .check-lg .form-check-label {
    cursor: pointer;
}

.form-number-sm {
    width: 80px;
    height: 1.8rem;
    padding: .25rem .5rem;
    text-align: center
}

.stato-wrp {
    position: relative;
    padding-left: 16px
}

.stato-spot {
    margin-top: -2px;
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(255, 255, 255, 0.25) inset;
    background: #999
}

.stato-wrp .stato-spot {
    position: absolute;
    left: 0;
    top: .4em;
}

.text-success .stato-spot {
    background: #63b80f
}

.text-warning .stato-spot {
    background: #ffcc33
}

.text-danger .stato-spot {
    background: #ee3b33
}

.text-info .stato-spot {
    background: #17a2b8
}

* {
    font-family: 'Montserrat', sans-serif;
}

body {
    min-height: 100vh
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: inherit
}

.modal-backdrop {
    background: var(--base-text)
}

.modal-backdrop.show {
    opacity: .5
}

.text-white .text-muted, .footer-wrp .text-muted, .alert .text-muted {
    color: inherit !important;
    opacity: .5 !important
}

.bg-xlight {
    background-color: #fafbfd !important
}

.modal-content {
    border-radius: .3rem
}

.modal-title {
    line-height: 1.1em
}

.modal-content.shadow-lg {
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .3) !important;
}

.h-u {
    border-bottom: 1px solid #EBEDF2;
    padding-bottom: 0.35em;
}

hr.hb {
    width: 3.5rem;
    margin: 1rem 0;
    border-width: .35rem;
    height: .275rem;
    display: inline-block;
    clear: both;
    border-color: var(--primary)
}

hr.section-divider {
    margin-bottom: 1.5rem;
    border-top: 1px dashed rgba(0, 0, 0, .5)
}

.flip-x {
    transform: scaleX(-1);
}

.flip-y {
    transform: scaleY(-1);
}

.main-section {
    /*min-height: calc(100vh - 325px);*/
    min-height: 100vh !important;
    z-index: 1;
    position: relative;
}

.main-section.login-section {
    min-height: calc(100vh - 190px);
}

@media (min-width: 1440px) {
    .container {
        max-width: 1420px
    }
}

@media (min-width: 1640px) {
    .container {
        max-width: 1600px
    }
}

textarea.form-control {
    height: 110px
}

.accordion > .card > .card-header {
    background: #fff linear-gradient(0deg, rgba(0, 0, 0, .035) 0%, rgba(0, 0, 0, 0.01) 100%);
    padding: 0
}

.accordion .accordion-toggle {
    cursor: pointer;
    padding: .85rem 1.2rem
}

.accordion .accordion-toggle:before {
    position: absolute;
    right: .5em;
    font-family: "Font Awesome 5 Free";
    content: "\f106";
    display: block;
    color: rgba(0, 0, 0, 0.2)
}

.accordion .accordion-toggle.collapsed:before {
    content: "\f107";
}

.tabs-section {
    padding-top: .5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, .03) 0%, rgba(0, 0, 0, 0) 100%);
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    box-shadow: 5px -5px 5px rgba(0, 0, 0, .01);
}

/* VALIDAZIONE CUSTOM */

.is-invalid .form-control {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.is-invalid select.form-control {
    background-position: right calc(1.2em) center;
    padding-right: 2.3em;
}

.is-invalid .custom-control-label::before {
    border-color: var(--danger)
}

.is-invalid .invalid-feedback, .is-invalid .invalid-tooltip {
    display: block;
}

.form-group > label {
    color: rgba(0, 0, 0, .7);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.15em
}

input.form-control {
    color: #212529
}

.form-group {
    margin-bottom: 1.25rem
}

.toolbar-wrp {
    border-radius: .25rem
}

.form-row {
    margin-right: -15px;
    margin-left: -15px
}

.form-row > .col, .form-row > [class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

.form-compact .form-group {
    margin-bottom: .5rem !important
}

.form-compact .form-group > label {
    font-size: 1rem;
    margin-bottom: 0;
    padding-top: .5rem;
}

.nav-tabs .nav-link {
    font-size: .8rem
}

iframe.html-preview {
    width: 100%;
    overflow: auto;
    height: 350px
}

@media (min-width: 990px) {
    .form-compact .form-group > label {
        padding-left: 1.5rem;
    }

    .form-compact .form-group > .check-group, .form-compact .form-group > .radio-group {
        padding-top: .5rem;
    }

    .nav-tabs .nav-link {
        font-size: 1.1rem
    }
}

/* NAV */
.navbar-main {
    z-index: 3
}

.navbar-main .navbar-toggler {
    border: transparent
}

.navbar-main .navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-main .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' width='28'%0A%3E%3Cg transform='translate(3.9661017,3.5677966)' id='imagebot_2' label='Layer 1'%3E%3Cpath d='M -2.5783352e-4,-0.00146808 17.435473,18.212367' id='imagebot_5' style='opacity:1;fill:%23000000;stroke:%23000000;stroke-width:2.23161912;stroke-linecap:round;stroke-miterlimit:4;fill-opacity:1;stroke-opacity:1' /%3E%3Cpath d='M -2.5783352e-4,18.212367 17.435473,-0.00146808' id='imagebot_4' style='opacity:1;fill:%23000000;stroke:%23000000;stroke-width:2.23161912;stroke-linecap:round;stroke-miterlimit:4;fill-opacity:1;stroke-opacity:1' /%3E%3C/g%3E%3C/svg%3E%0A");
}

.nav-user .nav-link {
    max-width: 470px;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    text-overflow: ellipsis;
}

.navbar-main .navbar-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

.navbar-main .navbar-nav li.active {
    border-left: 3px solid var(--primary);
    padding-left: 1rem
}

.navbar-main, .navbar-main .navbar-collapse {
    align-items: stretch;
}

.navbar-main .navbar-nav .nav-link {
    padding: .75rem 0;
    line-height: 1em;
}

.navbar-main .navbar-nav .nav-link:hover {
    color: var(--primary) !important
}

.navbar-main .navbar-nav > li {
    border-bottom: none;
}

.navbar-main hr.hb {
    margin: .5rem 0 0 0
}

.navbar-main .navbar-collapse {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9;
    background: #fff
}

@media (max-width: 767px) {
    .navbar-main .navbar-brand img {
        max-height: 35px
    }

    .nav-user .nav-link {
        max-width: 170px;
        font-size: .8rem;
    }

    .navbar-main .navbar-collapse {
        top: 67px;
    }
}

/* dropdown multilevel nav */
.navbar-nav > .dropdown > .dropdown-menu {
    margin-top: -5px;
    border: none
}

.navbar-nav .dropdown-toggle, .navbar-nav .dropdown-menu a {
    cursor: pointer;
}

.navbar-nav .dropdown-item.active, .navbar-nav .dropdown-item:active {
    color: inherit;
    text-decoration: none;
    background-color: inherit;
}

.navbar-nav .dropdown-item:focus, .navbar-nav .dropdown-item:hover {
    text-decoration: none;
}

.navbar-nav .dropdown-menu li {
    background: transparent !important
}

.navbar-nav .dropdown-menu li a {
    display: block;
}

.navbar-nav .dropdown-menu li:hover {
    background: rgba(0, 0, 0, 0.05) !important
}

.navbar-main .navbar-nav li li.dropdown {
    display: block
}

.navbar-main .navbar-nav li li.dropdown.show:hover {
    background: #fff !important
}

.navbar-nav .dropdown-menu .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    font-size: .9rem;
}

.navbar-nav .dropdown-menu .dropdown-menu a {
    opacity: .85
}

.navbar-nav .dropdown-menu .dropdown-menu a:hover {
    opacity: 1
}

@media (min-width: 768px) {
    .navbar-nav .dropdown-toggle:not(.nav-link)::after {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: .5em;
        vertical-align: 0;
        border-bottom: .3em solid transparent;
        border-top: .3em solid transparent;
        border-left: .3em solid;
    }
}

/* HEAD */
.jumbotron {
    align-items: center;
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    padding: 0;
    background: #f8f8f8 linear-gradient(-70deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, 0) 100%)
}

.jumbotron-heading {
    margin: 0;
    line-height: 1;
    color: var(--base-text);
    font-weight: bold
}

.jumbotron-heading:after {
    display: block;
    content: '';
    width: 3.5rem;
    margin: 1rem 0;
    height: .275rem;
    clear: both;
    border: .2rem solid var(--primary);
    position: absolute
}

.jumbotron .container-fluid, .jumbotron .container {
    z-index: 2;
}

.jumbo-bg {
    position: absolute;
    left: 0;
    height: 100%;
}

.jumbo-bg .embed-responsive-item {
    object-fit: cover;
    opacity: 0.15;
}

@media (max-width: 1023.99px) {
    .jumbotron-heading {
        font-size: 1.85rem
    }

    .jumbotron .btn-lg {
        margin: -.5rem 0;
        padding: .4rem .75rem
    }
}

/* DASHBOARD */
.dashboard-section .card-title::after {
    display: block;
    content: '';
    width: 3.5rem;
    margin: .5rem 0 1rem 0;
    height: .275rem;
    clear: both;
    border: .2rem solid #dadada;
}

.dashboard-section .card:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1) !important;
}

.dashboard-section .card, .dashboard-section .card:hover {
    transition: all .4s;
}

/* FOOTER */
section.footer-wrp {
    border-top: 3px solid var(--primary)
}

section.footer-wrp p.text-white {
    color: rgba(255, 255, 255, .66) !important
}

section.footer-wrp a {
    color: #fff
}

section.footer-wrp a:hover {
    color: var(--primary)
}

/* show more */
.page-wrp {
    overflow: hidden;
    height: 100%
}

.btn-more-filters {
    order: 99;
    min-width: 260px;
    padding: .75rem 1.25rem .75rem 2.75rem;
    border-radius: 0 0 .75rem .75rem;
    cursor: pointer;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, .075);
    display: none;
}

.btn-more-filters:before {
    content: "\f055";
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    position: absolute;
    left: 20px;
    font-weight: 900;
}

.dropFilter .btn-more-filters {
    display: block
}

.show .btn-more-filters:before {
    transform: rotate(45deg);
}

@media (max-width: 1023.99px) {
    .page-wrp {
        max-width: 100vw
    }
}

.btn-toggle.collapsed .fa-search-minus:before {
    content: "\f002"
}

.btn-toggle.collapsed .fa-times-circle::before {
    content: "\f002";
}

/* PAGINATION */

.table-fixed-height {
    overflow: auto;
    height: 556px;
}

.page-link {
    padding: .65rem .9rem;
    border: none !important;
    background-color: rgba(255, 255, 255, .2);
    min-width: 2.45em;
    font-weight: 700;
    margin: 1px;
    color: #fff;
    text-align: center
}

.page-link:hover {
    color: var(--primary);
}

.page-item.disabled .page-link {
    background-color: rgba(255, 255, 255, .15);
}

.page-link {
    padding: .65rem .9rem;
    border: none !important;
    background-color: rgba(255, 255, 255, .2);
    min-width: 2.45em;
    font-weight: 700;
    margin: 1px;
    color: #fff;
}

.mud-input.mud-input-underline:hover:not(.mud-disabled):before {
    border-bottom: 1px solid var(--primary) !important;
}

.mud-input.mud-input-underline:hover:not(.mud-disabled) {
    border-bottom: 1px solid var(--primary) !important;
}

.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
    min-width: 0;
    background: none;
    position: relative;
    box-sizing: content-box;
    letter-spacing: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    padding: 0.375rem 0.75rem !important;
    display: block;
    width: 100%;
    height: calc(1em + 0.75rem + 2px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.mud-button-root:disabled {
    color: grey !important;
    cursor: default !important;
    pointer-events: none !important
}

.mud-input:hover {
    border-collapse: var(--primary) !important;
}

.icon-bg-main {
    position: absolute;
    display: block;
    bottom: .15em;
    right: .15em;
    font-size: 4rem !important;
    opacity: 0.5;
}

.hr-sect {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    color: rgba(0, 0, 0, 0.35);
    font-size: 12px;
    margin: 8px 0px;
}

.hr-sect::before,
.hr-sect::after {
    content: "";
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.35);
    height: 1px;
    font-size: 0px;
    line-height: 0px;
    margin: 0px 16px;
}

.form-group {
    position: relative;
}

.mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled) {
    color: var(--mud-palette-primary);
    background-color: white !important;
}
.mud-drawer {
    z-index: 1 !important;
}

.card-body-scrollable {
    height: calc(100vh - 300px);
    overflow-y: auto;
}

.data-container {
    display: flex;
    flex-direction: column;
    padding: 20px; /* Padding di 3px intorno al contenitore */
    height: calc(100vh - 200px); /* Altezza calcolata */
}

/* Custom checkbox begin*/
/* Nascondi l'input checkbox originale */
.custom-checkbox input[type="checkbox"] {
    display: none;
}

/* Stile per l'icona che funge da checkmark */
.custom-checkbox i {
    border: 2px solid #AFB1B3;
    border-radius: 3px;
    padding: 3px;
    color: transparent; /* Nasconde il checkmark di default */
    font-size: 14px;
    display: inline-block;
    width: 23px;
    height: 23px;
    text-align: center;
    vertical-align: middle;
}

/* Stile quando la checkbox è checked */
.custom-checkbox input[type="checkbox"]:checked + i {
    color: #fff; /* Il checkmark è bianco di default */
    background-color: #E9ECEF; /* Cambia colore di sfondo per la checkbox selezionata */
}

/* Stile quando la checkbox è checked e disabled */
.custom-checkbox input[type="checkbox"]:checked:disabled + i {
    color: #000; /* Cambia il checkmark a nero */
    background-color: #E9ECEF; /* Cambia colore di sfondo per indicare che è disabilitato */
}

.custom-checkbox input[type="checkbox"]:disabled + i {
    background-color: #E9ECEF; /* Cambia colore di sfondo per indicare che è disabilitato */
}

/* Custom checkbox end*/

/*Begin Override style for mudtable for PO Recipts*/

#table-po-receipts h4{
    font-size:20px;
}

#table-po-receipts .mud-table-cell.mud-table-cell {
    font-size: 12px !important;
    /*
        padding-bottom: 6px !important;
        padding-inline-end: 24px !important;       
        padding-inline-start: 16px !important;        ;
        padding-left: 16px !important;       ;
        padding-right: 24px !important;        
        padding-top: 6px !important;
            */
    padding-bottom: 6px !important;
    padding-inline-end: 20px !important;
    padding-inline-start: 12px !important;
    padding-left: 12px !important;
    padding-right: 20px !important;
    padding-top: 6px !important;
}
/*End Begin Override style for mudtable for PO Recipts*/

#table-data h4 {
    font-size: 18px !important;
}

#table-data .mud-table-cell.mud-table-cell {
    font-size: 12px !important;
    /*
        padding-bottom: 6px !important;
        padding-inline-end: 24px !important;       
        padding-inline-start: 16px !important;        ;
        padding-left: 16px !important;       ;
        padding-right: 24px !important;        
        padding-top: 6px !important;
            */
    padding-bottom: 6px !important;
    padding-inline-end: 22px !important;
    padding-inline-start: 14px !important;
    padding-left: 10px !important;
    padding-right: 18px !important;
    padding-top: 6px !important;
}

/* MailTemplates */ 
.editor-left .ql-editor,
.editor-right .ql-editor {
    min-height: 430px;
    max-height: 430px;
    overflow-y: auto;
}

.editor-left .ql-container,
.editor-right .ql-container {
    min-height: 430px;
}

.editor-right .ql-toolbar {
    pointer-events: none;
    opacity: 0.6;
}

.editor-right .ql-container {
    background: #e9ecef;
}

.exception-dialog-content {
    max-height: 70vh;
    overflow-y: auto;
}

.stacktrace {
    white-space: pre-wrap;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.85rem;
    background: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
}

.text-smallcaps {
    font-variant: small-caps;
    letter-spacing: 0.04em;
}

.exception-dialog .mud-dialog-title {
    background-color: #f5f5f5 !important;
    border-bottom: 1px solid #a6a6a6;
}

div.aligned-group {
    display: flex;
    gap: 0.5em;
}

div.aligned-group > button {
    height: 2.5em;
    margin-top: 6px;
}
