﻿.d-inline {
    display: inline !important;
}

.d-block {
    display: block !important;
}

.d-none {
    display: none !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-grid {
    display: grid !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.d-table {
    display: table !important;
}

.d-table-cell {
    display: table-cell !important;
}

.d-ruby {
    display: ruby !important;
}

.spinner-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.spinner-big {
    width: 200px !important;
    height: 200px !important;
    border-width: thick;
    color: rgba(var(--falcon-default-rgb), 1) !important;
}

.albero-documenti.treeview [data-bs-toggle=collapse]:after {
    width: 0.6rem !important;
    height: 0.6rem !important;
}


.grp-docs-toggle:after {
    margin-left: -1rem !important;
}

.campo-data {
    max-width: 140px !important;
}


.row-gruppo .treeview-row {
    height: -webkit-fill-available !important;
}

.row-gruppo p {
    font-size: 1.05rem !important;
    font-weight: 700;
}

.row-documento .treeview-row {
    height: -webkit-fill-available !important;
}


.treeview-item button {
    box-shadow: none !important;
}


/*.row-documento .list-item-leaf {
    font-size: 1.05rem !important;
}*/


.clr-danger {
    color: red !important;
}

.v-align-middle {
    vertical-align: middle;
}

.p-relative {
    position: relative;
}


.w-5 {
    width: 5% !important;
}

.w-6 {
    width: 6% !important;
}

.w-7 {
    width: 7% !important;
}

.w-8 {
    width: 8% !important;
}

.w-9 {
    width: 9% !important;
}

.w-10 {
    width: 10% !important;
}

.w-12 {
    width: 12% !important;
}

.w-13 {
    width: 13% !important;
}

.w-14 {
    width: 14% !important;
}

.w-15 {
    width: 15% !important;
}

.w-16 {
    width: 16% !important;
}

.w-20 {
    width: 20% !important;
}

.w-21 {
    width: 21% !important;
}

.w-25 {
    width: 25% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-38 {
    width: 38% !important;
}


.w-40 {
    width: 40% !important;
}

.w-45 {
    width: 45% !important;
}

.w-50 {
    width: 50% !important;
}

.w-55 {
    width: 55% !important;
}

.w-60 {
    width: 60% !important;
}

.w-65 {
    width: 65% !important;
}

.w-70 {
    width: 70% !important;
}

.w-75 {
    width: 75% !important;
}

.w-80 {
    width: 80% !important;
}

.w-85 {
    width: 85% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.w-100 {
    width: 100% !important;
}


.mw-130 {
    max-width: 130px !important;
}


.h-30 {
    height: 30% !important;
}

.h-70 {
    height: 70% !important;
}



.ml-15 {
    margin-left: 15px !important;
}

.ml-4n {
    margin-left: -4px !important;
}

.ml-15n {
    margin-left: -15px !important;
}

.mr-3 {
    margin-right: 3px !important;
}

.mr-10 {
    margin-right: 10px !important;
}

.br-2 {
    border-right: 2px solid dimgray;
}

.pl-0 {
    padding-left: 0px !important;
}

.pr-10 {
    padding-right: 10px !important;
}


span[data-bs-toggle='tooltip'] {
    width: 20px;
    height: 20px;
}


.btn-visibilita {
    -webkit-box-shadow: none;
    box-shadow: none;
}


.btn-xs {
    padding: 0.10rem 0.5rem 0.10rem 0.5rem;
    font-size: 0.600rem;
    border-radius: 0.25rem;
    height: 22px;
    min-width: 32px;
}

.primo-piano {
    z-index: 99999;
}

.navbar-bottom {
    font-size: 0.8333333333rem;
    font-weight: 600;
    margin-left: -1rem;
    margin-right: -1rem;
    z-index: 1020;
    background-image: none;
    min-height: var(--falcon-top-nav-height);
}

.navbar-glass-shadow-upper {
    -webkit-box-shadow: 0 -0.5rem 0.8rem -0.7rem rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 -0.5rem 0.8rem -0.7rem rgba(0, 0, 0, 0.2) !important;
}

.round-btn-30 {
    padding: 5px !important;
    text-align: center !important;
    height: 30px !important;
    width: 30px !important;
    border-radius: 50% !important;
}

    .round-btn-30 svg {
        vertical-align: unset !important;
        margin-top: 2px !important;
    }



.round-btn-24 {
    text-align: center !important;
    height: 24px !important;
    width: 24px !important;
    border-radius: 50% !important;
}

    .round-btn-24 svg {
        vertical-align: unset !important;
        text-align: center;
        margin-left: -6px;
    }


.row-contenuto-elemento-funzionale, .row-classe-rischio, .row-durata-uso,
.row-invasivita, .row-attivita, .row-area-intervento, .row-presenza-software {
    vertical-align: middle !important;
}



div.btn-circle {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    background-color: #edf2f9;
    text-shadow: none;
    border-radius: 50%;
    -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    opacity: 0.5;
}

.tooltip-inner {
    max-width: 600px !important;
    text-align: left !important;
    font-size: 16px !important;
}

h5 span {
    font-size: smaller;
    color: darkgray;
    position: absolute;
    margin-top: -4px;
    margin-left: 2px;
}




label span {
    font-size: smaller;
    color: darkgray;
    position: absolute;
    margin-top: -4px;
    margin-left: 2px;
}


.info-span {
    font-size: xx-small;
    color: darkgray;
    position: relative;
    /*margin-top: -2px;*/
    margin-left: 2px;
    vertical-align: super;
}


.dropdown-item.danger {
    color: var(--falcon-danger-text-emphasis);
    background-color: var(--falcon-danger-bg-subtle);
}

.dropdown-item.warning {
    color: var(--falcon-warning-text-emphasis);
    background-color: var(--falcon-warning-bg-subtle);
}

.dropdown-item.success {
    color: var(--falcon-success-text-emphasis);
    background-color: var(--falcon-success-bg-subtle);
}

.dropdown-item.secondary {
    color: var(--falcon-secondary-text-emphasis);
    background-color: var(--falcon-secondary-bg-subtle);
}


.dropdown-item.danger.active {
    color: white;
    font-weight: 600;
    background-color: var(--falcon-danger);
}

.dropdown-item.warning.active {
    color: white;
    font-weight: 600;
    background-color: var(--falcon-warning);
}

.dropdown-item.success.active {
    color: white;
    font-weight: 600;
    background-color: var(--falcon-success);
}

.dropdown-item.secondary.active {
    color: white;
    font-weight: 600;
    background-color: var(--falcon-secondary);
}


.accordion-button::after {
    margin-left: 5px !important;
}

.accordion-casi .accordion-button::after {
    margin-left: auto !important;
}

.accordion-comunicazioni-revisione .accordion-button::after {
    margin-left: auto !important;
}

.pulse {
    animation: pulse-animation 1s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

.pulse-3 {
    animation: pulse-3-animation 1s 3;
}

@keyframes pulse-3-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 255, 0, 0.5);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

.validation-badge {
    min-width: 120px;
}

.accordion-actions-container {
    position: absolute;
    display: flex;
    z-index: 999;
    margin-top: -37px;
}


    /*.accordion-dati-versione-container {
    position: absolute;
    display: flex;
    z-index: 999;
    margin-top: -36px;
}*/


    .accordion-actions-container .container-dati-versione {
        margin-top: -1px;
    }


.btn-check + .btn-danger {
    color: var(--falcon-danger-text-emphasis);
    background-color: var(--falcon-danger-bg-subtle);
}

.btn-check + .btn-warning {
    color: var(--falcon-warning-text-emphasis);
    background-color: var(--falcon-warning-bg-subtle);
}

.btn-check + .btn-success {
    color: var(--falcon-success-text-emphasis);
    background-color: var(--falcon-success-bg-subtle);
}

.btn-check + .btn-secondary {
    color: var(--falcon-secondary-text-emphasis);
    background-color: var(--falcon-secondary-bg-subtle);
}


.btn-check:checked + .btn-danger {
    color: white;
    font-weight: 600;
    background-color: var(--falcon-danger);
}

.btn-check:checked + .btn-warning {
    color: white;
    font-weight: 600;
    background-color: var(--falcon-warning);
}

.btn-check:checked + .btn-success {
    color: white;
    font-weight: 600;
    background-color: var(--falcon-success);
}

.btn-check:checked + .btn-secondary {
    color: white;
    font-weight: 600;
    background-color: var(--falcon-secondary);
}

.bg-danger {
    --falcon-bg-opacity: 0.5;
    background-color: rgba(var(--falcon-danger-rgb), var(--falcon-bg-opacity)) !important;
}

.bg-warning {
    --falcon-bg-opacity: 0.5;
    background-color: rgba(var(--falcon-warning-rgb), var(--falcon-bg-opacity)) !important;
}

.bg-success {
    --falcon-bg-opacity: 0.5;
    background-color: rgba(var(--falcon-success-rgb), var(--falcon-bg-opacity)) !important;
}

.bg-secondary {
    --falcon-bg-opacity: 0.5;
    background-color: rgba(var(--falcon-secondary-rgb), var(--falcon-bg-opacity)) !important;
}

.bg-danger-solid {
    background-color: rgba(var(--falcon-danger-rgb), var(--falcon-bg-opacity)) !important;
}

.dot {
    margin-left: 0.5rem;
}




.note-statusbar {
    height: 39px;
}

.note-editor.note-frame .note-editing-area .note-editable[contenteditable=false], .note-editor.note-airframe .note-editing-area .note-editable[contenteditable=false] {
    background-color: rgba(128, 128, 128, 0) !important;
}

.input-group-text {
    padding: 5px !important;
}

.input-group input.form-control {
    background-color: white !important;
}

.select2-container .select2-selection__rendered {
    background-color: transparent !important;
}

.select2-container--default .select2-selection--single {
    height: 36px !important;
}

.select2 {
    font-family: var(--falcon-font-sans-serif);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 500px;
}

.list-item-leaf {
    font-weight: 600;
    font-size: 0.8333333333rem;
    color: var(--falcon-gray-600);
    padding: 0.25rem 0;
    width: 100%;
}


.treeview [data-bs-toggle=collapse] .treeview-text::before {
    display: none !important;
    width: 0px !important;
    position: unset !important;
    left: 0px !important;
    content: unset !important;
}


.treeview [data-bs-toggle=collapse] .treeview-text {
    padding-left: 0.5rem;
    margin-left: 0.5rem;
}

.card-blocco {
    max-width: 150px !important;
}

    .card-blocco .card-title {
        font-size: 0.6rem !important;
        padding: 0px !important;
    }


.card-group-blocco .card-header {
    padding: 10px !important;
}

.card-group-blocco .card-body {
    padding: 10px !important;
}


.card-blocco .card-body {
    padding: 5px 5px !important;
}

.card-blocco button {
    padding: 0px !important;
    margin-right: 5px !important;
}


#appCalendar {
    height: auto !important;
    max-height: 725px !important;
}


.accordion-casi .accordion-button.badge-subtle-danger::after {
    display: none;
}


.select2-dropdown {
    z-index: 99999 !important;
}

.select2-selection__rendered {
    width: 100% !important;
}

.select2-search--inline {
    width: 100% !important;
}

.select2-search__field {
    width: 100% !important;
}

.note-icon-bar {
    width: 20px;
    margin: 1px auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1960784314);
}


.bg-card-gradient-backend {
    background-image: linear-gradient(-45deg, #000000, #f7f7f7);
    background-position: center;
}

.carousel-image {
    max-height: 250px;
    border: 2px solid dimgray;
    border-radius: 15px;
}

.modello-carousel-wrapper {
    width: 100%;
    margin: 15px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f8f9fa;
}

#carouselModello .carousel-item {
    text-align: center;
}

.modello-carousel-image-box {
    background: lightgray;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    padding: 10px;
}

    .modello-carousel-image-box img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        border-radius: 15px;
    }

.modello-carousel-actions {
    margin-top: 12px;
    text-align: center;
}

.modello-carousel-control {
    width: 45px;
    opacity: 1;
}

    .modello-carousel-control .carousel-control-prev-icon,
    .modello-carousel-control .carousel-control-next-icon {
        background-color: #333;
        border-radius: 50%;
        padding: 18px;
        background-size: 55%;
    }

.modello-carousel-index {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}


.krajee-default .file-caption-info, .krajee-default .file-size-info {
    height: initial !important;
}

.griglia-stampa {
    display: grid;
    gap: 8px;
    max-width: 520px;
}

.griglia-2x5 {
    grid-template-columns: repeat(2, 1fr);
}

.griglia-3x9 {
    grid-template-columns: repeat(3, 1fr);
}

.cella-stampa {
    border: 1px solid #ced4da;
    border-radius: 6px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    background: #fff;
}

    .cella-stampa.selected {
        background: #0d6efd;
        color: #fff;
        border-color: #0d6efd;
        font-weight: 600;
    }



.atum-device-carousel {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

.atum-device-image-frame {
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    border-radius: 28px;
    background: radial-gradient(circle at center, rgba(196, 154, 83, .18), transparent 55%), linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    border: 1px solid rgba(212, 175, 55, .28);
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
}

.atum-device-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 22px 28px rgba(0,0,0,.6));
}

.atum-device-carousel .carousel-control-prev,
.atum-device-carousel .carousel-control-next {
    width: 48px;
    opacity: 1;
}

.atum-device-carousel .carousel-control-prev-icon,
.atum-device-carousel .carousel-control-next-icon {
    background-color: rgba(0,0,0,.72);
    border: 1px solid rgba(212,175,55,.45);
    border-radius: 50%;
    padding: 22px;
    background-size: 48%;
}

@media (max-width: 768px) {
    .atum-device-carousel {
        max-width: 100%;
    }

    .atum-device-image-frame {
        height: 360px;
        padding: 18px;
        border-radius: 22px;
    }

    .atum-device-carousel .carousel-control-prev,
    .atum-device-carousel .carousel-control-next {
        width: 42px;
    }

    .atum-device-carousel .carousel-control-prev-icon,
    .atum-device-carousel .carousel-control-next-icon {
        padding: 18px;
    }
}


.btn-gold {
    background-color: #e0bf2d;
}

.btn-gold:hover{
    background-color: black;
}