﻿/* LOGIN */
/*.password-hide-show {
    padding-right: 50px !important;
}

.hide-show-password {
    position: absolute !important;
    right: 30px !important;
    font-size: 16px !important;
}*/

/*@media screen and (max-width: 767px) {
    .hide-show-password {
        top: 27px !important;
    }
}

@media screen and (min-width: 768px) {
    .hide-show-password {
        top: 32px !important;
    }
}*/

/* ================================================================ */

.main-shadow {
    border-radius: 0.75rem !important;
    box-shadow: 4px 4px 6px 4px rgba(40, 40, 40, 0.14) !important;
}

.top-right-icon {
    right: 5%;
    top: 0%;
}

.no-shadow {
    box-shadow: none !important;
}

.card-margin {
    margin: 10% 10% 5% 5%;
}

.bg-blue {
    background: #295594 !important;
}

.border-color-blue {
    border-color: #295594 !important;
}

.bg-color-blue {
    background-color: #295594 !important;
}


.bg-color-white {
    background-color: #f5f5f5 !important;
}

.bg-color-red {
    background-color: #aa4422 !important;
}

.bg-color-grey {
    background-color: #f7f6f7 !important;
}

.bg-color-greydark {
    background-color: darkgrey !important;
}

.bg-color-white-bright {
    background-color: #ffffff !important;
}

.text-color-blue {
    color: #295594 !important;
}

.text-color-black {
    color: #323d47 !important;
}

.text-color-grey2 {
    color: #6c757d !important;
}

.text-color-white {
    color: #f5f5f5 !important;
}

.menu-bg {
    background-color: #3f3f46 !important;
}

.menu-bg-gradient {
    background-image: linear-gradient(195deg, #3f3f46 0%, #1c1c1c 100%);
}

.gradient-blue {
    background-image: linear-gradient(195deg, #4d86d9 0%, #295594 100%);
    linear-gradient(195deg, #4d86d9 0%, #295594 100%);
}

.gradient-grey {
    background-image: linear-gradient(195deg, #6c757d 0%, #aaaaaa 100%);
    linear-gradient(195deg, #6c757d 0%, #aaaaaa 100%);
}

.applyBtn {
    background-image: linear-gradient(195deg, #4d86d9 0%, #295594 100%);
    linear-gradient(195deg, #4d86d9 0%, #295594 100%);
}

.btn-primary {
    box-shadow: 4px 4px 6px 0 rgba(40, 40, 40, 0.14) !important;
}

.contour-blue {
    background-color: #ffffff !important;
    border-radius: 0.75rem !important;
    border-style: solid !important;
    border-width: medium !important;
    border-color: #295594 !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

.gradient-blue-r {
    background-image: linear-gradient(210deg, #4d86d9 0%, #295594 100%);
}

.big-number {
    font-size: 3.5rem;
}

.bigger-font {
    font-size: 36px;
}

.big-font {
    font-size: 32px;
}

.mid-font {
    font-size: 22px;
}

.mid-sub-font {
    font-size: 18px;
}

.sub-font {
    font-size: 14px;
}

.extra-sub-font {
    font-size: 12px;
}

.extra-sub-sub-font {
    font-size: 11px;
}

.main-font {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

.small-font {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.custom-panel-font {
    font-family: 'Roboto', sans-serif;
    font-weight: 400 !important;
    font-size: 14px !important;
}

.custom-panel-font-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #295594 !important;
}

.font-table-header {
    font-style: normal;
    font-weight: 800 !important;
    font-size: 14px;
}

.font-table-body {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-align {
    justify-content: end !important;
}

.mid-valign {
    vertical-align: middle !important;
}

.text-vertical {
    transform: rotate(-90deg);
}

.underline-blue {
    border-radius: 0 !important;
    border-top-style: none !important;
    border-right-style: none !important;
    border-bottom-style: solid !important;
    border-left-style: none !important;
    border-width: thick !important;
    border-color: var(--sd-sidenav-bg-color) !important;
}

.leftline-blue {
    border-radius: 0 !important;
    border-top-style: none !important;
    border-right-style: none !important;
    border-bottom-style: none !important;
    border-left-style: solid !important;
    border-width: 3px !important;
    border-color: #295594 !important;
}

.rightline-blue {
    border-radius: 0 !important;
    border-top-style: none !important;
    border-right-style: solid !important;
    border-bottom-style: none !important;
    border-left-style: none !important;
    border-width: 1px !important;
    border-color: #295594 !important;
}


/*.tooltip-inner {
    opacity: 0.5 !important;
}*/

.checkbox-custom:checked {
    border-radius: 0.1 !important;
    border-color: #295594 !important;
    background-color: #295594 !important;
}

.checkbox-custom:not(:checked) {
    border-radius: 0.1 !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #6D757D !important;
}

.checkbox-custom2:checked {
    border-radius: 0.1 !important;
    border-color: #295594 !important;
    background-color: #295594 !important;
    background-image: none !important;
}

.checkbox-custom2:not(:checked) {
    border-radius: 0.1 !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #E1E0E0 !important;
    background-image: none !important;
}

/* DATATABLE */

.bottomline {
    border-radius: 0 !important;
    border-top-style: none !important;
    border-right-style: none !important;
    border-bottom-style: solid !important;
    border-left-style: none !important;
    border-width: 2px !important;
    border-color: #E1E0E0 !important;
}

.bottomline-lite {
    border-radius: 0 !important;
    border-top-style: none !important;
    border-right-style: none !important;
    border-bottom-style: solid !important;
    border-left-style: none !important;
    border-width: 1px !important;
    border-color: #E1E0E0 !important;
}

.badge-success {
    color: #339537;
    background-color: #bce2be;
    align-self: center;
}

.badge.badge-secondary {
    background-color: #d7d9e1;
    color: #858585;
    align-self: center;
}

.badge.badge-warning {
    background-color: #ffc107 !important;
    color: #6c757d;
    align-self: center;
}

.badge.badge-danger {
    background-color: #dc3545 !important;
    color: #FFF !important;
    align-self: center;
}
.badge.badge-info {
    background-color: #CCE5EF !important;
    color: #336C95 !important;
    align-self: center;
}

.spandimerda {
    align-content: center;
}

.main-table {
    /*border-collapse: separate;*/
    padding: 12px !important;
    /*display: block; !important;*/
}

tr {
    line-height: 42px !important;
}

/*
body {
    font: 90%/1.45em "Helvetica Neue", HelveticaNeue, Verdana, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}
*/

table.dataTable tbody tr.stripe1 {
    background-color: #FFFFFF;
}

table.dataTable tbody tr.stripe2 {
    background-color: #F8F8F8;
    border-bottom: solid #F8F8F8;
}

table.dataTable {
    margin-bottom: 16px;
}

.previous {
    /*font-size: 2.5em*/
    margin-right: 12px !important;
    /*margin-top: 12px !important;*/
}

.next {
    margin-left: 12px !important;
}

.dataTables_wrapper {
    padding-top: 24px;
    padding-bottom: 48px;
    padding-left: 5px;
    padding-right: 5px;
}

    .dataTables_wrapper .dataTables_filter {
        float: right !important;
    }

    .dataTables_wrapper .dataTables_paginate {
        float: right !important;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button {
            padding: 6px;
            margin-left: 2px;
            margin-right: 2px;
            display: inline;
            border: 1px;
            border-style: solid !important;
            border-color: #FFFFFF;
        }

            .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
                border: 1px;
                border-style: solid !important;
                border-color: #F8F8F8;
                color: #295594 !important;
                background-color: #F8F8F8;
            }

/*
div.row {
    display: flex;
    justify-content: space-between;
}
*/

/*
div.dataTables_filter > label > input {
    font-family: Arial, sans-serif;
    font-size: .6em;
}
*/

/*
div.dataTables_filter > label {
    margin-right: 16px !important;
    color: #FF0000 !important;
}
*/

div.dataTables_filter > label > input {
    margin-left: 8px !important;
    margin-top: 16px !important;
}

.dataTables_length {
    margin-top: 16px !important;
}

.title::before {
    font-size: 24px !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    /*margin: 16 0 0 0;*/
    content: "Status inverter";
    color: #323d47 !important;
    margin-bottom: 16px !important;
}

.filter {
    float: right;
}

/* FINE DATATABLES */

.btn {
    text-transform: none !important;
}

.form-custom {
    border: 1px solid #ced4da;
    border-radius: .75rem;
    padding: .375rem .75rem;
    padding-top: 0.375rem;
    padding-right: 0.75rem;
    padding-bottom: 0.375rem;
    padding-left: 0.75rem;
}

    .form-custom:focus {
        border: 1px solid #ced4da !important;
    }

.padding-meteo {
    padding: 0% 0% 0% 0% !important;
}

.margin-meteo-1 {
    margin: 3% 10% 2% 5% !important;
}

.margin-meteo-2 {
    margin: 0% 10% 5% 5% !important;
}

.margin-meteo-2a {
    margin: 0% 0% 0% 5% !important;
}

.margin-meteo-3 {
    margin: 0% 0% 2% 0% !important;
}

.flex-1 {
    flex: 1 !important;
}

.img-fluid-custom {
    max-width: 75%;
    height: auto;
    display: block;
}

/*
.form-switch .form-check-input:focus {
    background-color: red !important;
    border-color: green !important;
}
*/

.form-switch .form-check-input:checked {
    background-color: #295594 !important;
    border-color: #295594 !important;
    accent-color: #295594 !important;
}

/*
.form-check [type=radio]:checked {
    accent-color: #295594 !important;
    border-color: #295594 !important;
}
*/

.form-check-input[type='radio']:checked:before {
    content: '';
    display: block;
    width: 60%;
    height: 60%;
    margin: 20% auto;
    border-radius: 50%;
    outline: none;
}

.form-check-input[type='radio']:checked:after {
    accent-color: #295594;
    background-color: #295594 !important;
    border: 2px solid #295594 !important;
    border-block-color: #295594 !important;
    background: #295594 !important;
    color: #295594 !important;
}

.form-check-input[type='checkbox'] {
    margin-left: 0 !important;
}

.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked, .form-check:not(.form-switch) .form-check-input[type="radio"]:checked {
    border-color: #295594 !important;
    border-top-color: #295594 !important;
    border-right-color: #295594 !important;
    border-bottom-color: #295594 !important;
    border-left-color: #295594 !important;
}
.form-check:not(.form-switch) .form-check-input[type="checkbox"] {
    background: #295594;
}
.form-check-input[type="checkbox"]:not(:checked) {
    background: #FFF !important;
}
/*
.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked {
    background-position: left center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-switch.form-check-reverse {
    padding-left: 2.5em;
    padding-right: 0;
}

.form-switch.form-check-reverse .form-check-input {
    margin-left: -2.5em;
    margin-right: 0;
}
*/
/* 
    background-color: azure !important;
*/
/*
.greyedout-date {
    background-color: lightgray !important;
    color: darkgrey !important;
    border-color: darkgrey !important;
}
*/
.greyedout-date {
    /*background-color: #dddddd !important;*/
    color: lightgray !important;
    border-color: lightgray !important;
}

.form-check {
    padding-left: 0 !important;
    border-color: darkgrey !important;
}


.form-switch {
    margin-left: 0 !important;
}

.switch-label-ml {
    margin-left: 0.75rem !important;
}


.hidethis {
    display: none;
}

.custom-accordion-body {
    padding: 2px !important;
    scroll-padding-left: 8px !important;
    scroll-padding-right: 8px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
}

.custom-accordion-button {
    padding: 4px !important;
    background-color: #dddddd !important;
    border-bottom: solid !important;
    border-bottom-width: 1px !important;
    border-color: lightgray !important;
}

.whitespace-accordion_custom {
    white-space: nowrap !important;
}

.openleft-accordion {
    flex-direction: row-reverse !important;
}

.filterbox {
    /*float: right !important;*/
    /*float:none !important;*/
    display: inline-block !important;
    border-radius: 0.50rem !important;
    border-style: solid !important;
    border-width: thin !important;
    border-color: darkgrey !important;
    margin-right: 32px !important;
    position: fixed !important;
    z-index: 1030 !important;
    /*
    background-color: var(--bs-navbar-color) !important;
    opacity : 1 !important;
    */
    background-color: #f0f2f5 !important;
    padding-right: 64px !important;
    /*right: 0px !important;*/
    top: 9px !important;
}

.ics-cross {
    cursor: pointer !important;
}

#addplus {
    cursor: pointer !important;
}
/* ================================== * TEST * ============================== */
.tooltip.primary .tooltip-inner {
    background-color: #337ab7;
}

.tooltip.primary.top > .tooltip-arrow {
    border-top-color: #337ab7;
}

.tooltip.primary.right > .tooltip-arrow {
    border-right-color: #337ab7;
}

.tooltip.primary.bottom > .tooltip-arrow {
    border-bottom-color: #337ab7;
}

.tooltip.primary.left > .tooltip-arrow {
    border-left-color: #337ab7;
}

.tooltip.info .tooltip-inner {
    background-color: #31b0d5;
}

.tooltip.info.top > .tooltip-arrow {
    border-top-color: #31b0d5;
}

.tooltip.info.right > .tooltip-arrow {
    border-right-color: #31b0d5;
}

.tooltip.info.bottom > .tooltip-arrow {
    border-bottom-color: #31b0d5;
}

.tooltip.info.left > .tooltip-arrow {
    border-left-color: #31b0d5;
}

.tooltip.success .tooltip-inner {
    background-color: #449d44;
}

.tooltip.success.top > .tooltip-arrow {
    border-top-color: #449d44;
}

.tooltip.success.right > .tooltip-arrow {
    border-right-color: #449d44;
}

.tooltip.success.bottom > .tooltip-arrow {
    border-bottom-color: #449d44;
}

.tooltip.success.left > .tooltip-arrow {
    border-left-color: #449d44;
}

.tooltip.warning .tooltip-inner {
    background-color: #ec971f;
}

.tooltip.warning.top > .tooltip-arrow {
    border-top-color: #ec971f;
}

.tooltip.warning.right > .tooltip-arrow {
    border-right-color: #ec971f;
}

.tooltip.warning.bottom > .tooltip-arrow {
    border-bottom-color: #ec971f;
}

.tooltip.warning.left > .tooltip-arrow {
    border-left-color: #ec971f;
}

.tooltip.danger .tooltip-inner {
    background-color: #d9534f;
}

.tooltip.danger.top > .tooltip-arrow {
    border-top-color: #d9534f;
}

.tooltip.danger.right > .tooltip-arrow {
    border-right-color: #d9534f;
}

.tooltip.danger.bottom > .tooltip-arrow {
    border-bottom-color: #d9534f;
}

.tooltip.danger.left > .tooltip-arrow {
    border-left-color: #d9534f;
}


/* ERRORE FORM */
.form-error-message {
    font-size: 12px;
    color: #fd5c70 !important;
}

.card-header b {
    white-space: nowrap;
}




/*ADDED*/

.separator-line-blue {
    border-right: 1px solid #295594;
    /*height: 100%*/
}

.sub-label-card {
    font-weight: 600;
    font-size: 0.8rem;
}

.green-label-card {
    color: #8BC043;
}

.orange-label-card {
    color: #E7A547;
}

.sub-label-value {
    font-weight: 600;
    font-size: 1.3rem;
    color: #313131;
}

.square-block {
    width: 1rem; /* Imposta la larghezza desiderata del quadrato */
    height: 1rem;
}

.green-bg {
    background-color: #8BC043
}

.green-color {
    color: #8BC043
}

.orange-bg {
    background-color: #E7A547
}

.orange-color {
    color: #E7A547
}

.black-bg {
    background-color: #313131
}

.legend-label {
    font-size: 0.75rem;
    color: #313131;
    line-height: 1.5;
}

.sub-value-overview {
    font-size: 1rem;
}

.text-vertical-center {
    display: flex;
    align-items: center;
}

.centred-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
}


@media screen and (max-width: 1200px) {
    /*.sidenav {
        transition: transform 0.5s ease;
        transform: translateX(-12000px);
    }*/
}
@media (min-width:0px) and (max-width:575px) {
    .filterbox {
        width: 33.3%;
        margin-left: 40%;
    }
    .title-device-detail{
        font-size:15px;
    }
}
@media (min-width:575px) and (max-width:720px) {
    .card-title {
        font-size: 0.7rem !important
    }
    .big-number {
        font-size: 2rem
    }
    .sub-label-card {
        font-size: 0.6rem
    }
    .sub-label-value {
        font-size: 0.6rem;
    }
    .sub-info{
        margin-left:0.4rem!important;
        margin-right:0.4rem!important;
    }
}
@media (min-width:721px) and (max-width:930px) {
    .card-title {
        font-size: 0.9rem !important
    }

    .big-number {
        font-size: 2.5rem
    }
    .sub-label-card {
        font-size: 0.6rem
    }
    .sub-label-value {
        font-size: 0.7rem;
    }
    .sub-info {
        margin-left: 0.4rem !important;
        margin-right: 0.4rem !important;
    }
}
@media (min-width:931px) and (max-width:1200px) {
    .card-title {
        font-size: 1rem
    }

    .big-number {
        font-size: 2.5rem
    }
    .sub-label-card {
        font-size: 0.6rem
    }
    .sub-label-value {
        font-size: 0.8rem;
    }
    .sub-info {
        margin-left: 0.7rem !important;
        margin-right: 0.7rem !important;
    }
}
@media (min-width:1200px) and (max-width:1500px) {
    .card-title {
        font-size: 1rem
    }

    .big-number {
        font-size: 2.5rem
    }
    .sub-label-card {
        font-size: 0.7rem
    }
    .sub-label-value {
        font-size: 0.9rem;
    }
    .sub-info {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
}
