﻿@import "_table_styles.css";

.loader {
    position: fixed;
    top: 0;
    left: 0;
}

.card.custom-card {
    /*background-color: #f8f9fa87 !important;*/
    background-color: white !important;
    border: 1px solid #dee2e6;
}

    .card.custom-card .card-header {
        background-color: rgb(243, 246, 248) !important;
    }

.card-image {
    width: 50%;
    min-width: 100px;
    min-height: 100px;
    max-width: 150px;
    max-height: 150px;
}

.no-border {
    border: none !important;
}

.card-title > h1, h2, h3, h4, h5 {
    margin: 0 !important;
}

.image-medium {
    max-width: 150px;
    max-height: 150px;
}

.image-small {
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
}

.image-xSmall {
    max-width: 50px;
    max-height: 50px;
}

.pointer {
    cursor: pointer;
}

.header-logo {
    transition: all 2s linear;
}

.card-row {
    margin: 10px 0px;
    box-shadow: 1px 0px 2px 1px lightgrey;
}

.card-body {
    padding: 15px !important;
}

.bg-none {
    background: none;
}

.medium-screen {
    max-width: 960px
}

.large-screen {
    max-width: 1080px
}

.xs-icon {
    width: 20px;
    height: 20px;
}

.progress-bar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 250px;
    margin-top: 50px;
}

.card-section-panel {
    margin-top: 25px;
    margin-bottom: 15px;
    position: relative;
    border: 1px solid #b3b3b3;
}

    .card-section-panel.section-md {
        min-height: 470px;
    }

    .card-section-panel.section-sm {
        min-height: 120px;
    }

.card-panel-header {
    position: absolute;
    left: 45px;
    top: -15px;
    background-color: white;
    padding: 0 10px;
}

.card-panel-body {
    margin-top: 15px;
    padding: 15px;
}

.label-strong * label {
    font-weight: bold;
}

.card-title.bg-primary h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

.full-loading-panel {
    width: 100%;
    height: 100%;
    position: absolute !important;
}

/* Override di classi DevExpress */

.menu-tdx-tabs .dxbl-scroll-viewer-content ul {
    display: flex;
    justify-content: space-between;
}

.dxbl-active.dxbl-tabs-item {
    border: none !important;
    border-bottom: 2px solid #004ab3 !important;
    background-color: #eaefff !important;
}

    .dxbl-active.dxbl-tabs-item:hover {
        border: none !important;
        border-bottom: 2px solid #004ab3 !important;
    }

.dxbl-menu {
    --dxbl-menu-top-left-border-radius: 0px !important;
    --dxbl-menu-top-right-border-radius: 0px !important;
    --dxbl-menu-bottom-left-border-radius: 0px !important;
    --dxbl-menu-bottom-right-border-radius: 0px !important;
}

@media screen and (max-width: 576px) {
    .dxbl-grid > .dxbl-grid-toolbar-container {
        padding: 0 !important;
    }

    .dxbl-btn-toolbar {
        justify-content: end !important;
        padding-right: 8px !important;
    }

    .dxbl-toolbar-placeholder {
        display: none !important;
    }
}

@media screen and (min-width: 576px){
    .column-dynamic-count-4 {
        column-count: 2;
        column-gap: 1rem;
    }
}

@media screen and (min-width: 992px) {
    .column-dynamic-count-4 {
        column-count: 3;
        column-gap: 1rem;
    }
}

@media screen and (min-width: 1400px) {
    .column-dynamic-count-4 {
        column-count: 4;
        column-gap: 1rem;
    }
}

.dxbl-checkbox.dxbl-checkbox-switch.dxbl-checkbox-checked .dxbl-checkbox-check-element {
    background-color: #004ab3 !important;
    opacity: 70% !important;
}