﻿.mud-radio > .mud-radio-content {
    width: 100%;
}

.mud-icon-button-size-small.mud-icon-button-edge-end {
    margin-right: 10px;
}

.mud-grid-spacing-xs-3 > .mud-grid-item {
    padding: .5rem 1rem;
}

.ql-editor {
    min-height: 200px;
    max-height: 200px;
}

.vspacer {
    width: 100%;
    height: 1px;
}

/* Policy */

.policy {
    height: calc(100vh - 300px);
    overflow-y: scroll;
    margin-bottom: 2rem;
    margin-top: 0rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    word-break: break-all;
}

.policy-sticky-header {
    font-weight: bold;
    margin-bottom: 1rem;
    position: sticky;
    background-color: var(--mud-palette-surface);
    top: 0;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: .5rem;
}

ol {
    text-indent: .5rem;
    margin-left: 1rem;
    margin-top: 1rem;
}

    ol:not([type="a"]) li {
        padding-top: 1rem;
    }

    ol[type="a"] li, ul li {
        padding-top: 0rem !important;
    }

/* end Policy */

.tox-fullscreen {
    z-index: 1301 !important;
}

.border-has-errors {
    border-right-width: 4px !important;
    border-right-color: red;
    border-right-style: double;
}

.mud-table-dense * .mud-table-row .mud-table-cell {
    /* padding: 6px 24px 6px 16px; */
    /* padding-inline-start: 24px !important; */
    /* padding-inline-end: 1rem !important; */
}

.w-100 {
    width: 100%;
}

.mud-list .mud-list-item {
    /* min-width: 10rem; */
    padding-bottom: 4px !important;
    padding-top: 4px !important;
}

.mud-list-item .mud-chip {
    width: 100%;
}

/* EMANUELE BAMBINI */
.mud-table-cell-custom-group {
    /*font-weight: 500;*/
}

tr.mud-table-row-group-indented-1 td:first-child, tr.mud-table-row-group-indented-1 th:nth-child(2) {
    padding-left: calc(12px + 1.5rem) !important;
    padding-right: 0px !important;
    padding-inline-end: 0px !important;
}

tr.mud-table-row-group-indented-2 td:first-child, tr.mud-table-row-group-indented-2 th:nth-child(2) {
    padding-left: calc(12px + 3rem) !important;
    padding-right: 0px !important;
    padding-inline-end: 0px !important;
}

tr.mud-table-row-group-indented-2 td:nth-child(2) {
    padding-left: calc(12px + 4.5rem) !important;
    padding-right: 0px !important;
    padding-inline-end: 0px !important;
}

.mud-table-row th:first-child {
    width: 24px !important;
}

.mud-table-dense * .mud-table-row .mud-table-cell .mud-table-row-expander {
    padding: 4px;
    padding-right: 0.5rem;
}

/*.mud-input input {
    flex-grow: 1;
}*/

.fixed-table table {
    table-layout: fixed;
    height: 300px !important;
}

.tox-tinymce-aux {
    z-index: 1450 !important;
}

/*.campaign-description p:last-child br:nth-last-child(-n+2) {
    display: none;
}​*/

.campaign-description {
    margin-top: 1rem;
}

    .campaign-description p {
        margin-top: .5rem;
    }



.fade-in.monthly-day.noselect {
    cursor: copy;
}


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

.progressbar {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 30px auto 0;
    height: 30px;
    background: #274545;
    overflow: hidden;
}

    .progressbar h3 {
        font-family: 'Roboto','Helvetica','Arial','sans-serif';
        position: absolute;
        text-transform: uppercase;
        top: 3px;
        left: 50%;
        width: 200px;
        transform: translateX(-100px);
    }

span.progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #46C258;
    transition: all .3s;
}

.etlogo {
    object-fit: contain;
    height: 25px;
}

.etlogotype {
    object-fit: contain;
    height: 256px;
}

.prevent-scrolling canvas {
    cursor: move;
}
