﻿a:hover {
    cursor: pointer;
}

.sidenav-bg {
    background-image: linear-gradient(195deg, var(--sd-sidenav-bg-color) 0%, var(--sd-sidenav-bg-color) 100%);
}

.dataTable th:first-child,
.dataTable td:first-child {
    /* Center the content of the first column (header and data cells) */
    text-align: center;
}

.accent-text {
    color: var(--sd-accent-color);
}

.font-w-extra-b {
    font-weight: var(--font-weight-extrabold) !important;
}

.fs-18 {
    font-size: 1.125rem !important;
}

.fs-16 {
    font-size: 0.875rem !important;
}

.go-to {
    font-size: 16px;
    font-weight: var(--font-weight-normal);
}

.card-detail {
    min-height: 700px;
}


.btn-rectangle {
    display: inline-flex;
    padding: 1rem 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    background: var(--sd-main-color, --sd-main-color);
    border: 1px solid var(--sd-main-color, --sd-main-color) !important;
    border-radius: 0px;
    color: var(--sd-base-color, --sd-base-color);
    text-align: center;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.875rem; /* 166.667% */
    text-transform: uppercase;
}

    .btn-rectangle:hover {
        display: inline-flex;
        padding: 1rem 1.5rem;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
        background: var(--sd-base-color, --sd-base-color);
        border: 1px solid var(--sd-main-color, --sd-main-color);
        border-radius: 0px;
        color: var(--sd-main-color, --sd-main-color);
        text-align: center;
        /* cta-txt */
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem; /* 166.667% */
        text-transform: uppercase;
    }

.btn-rectangle-sm {
    display: inline-flex;
    padding: 0.5rem 0.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    background: var(--sd-main-color, --sd-main-color);
    border: 1px solid var(--sd-main-color, --sd-main-color) !important;
    border-radius: 0px;
    color: var(--sd-base-color, --sd-base-color);
    text-align: center;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.875rem; /* 166.667% */
    text-transform: uppercase;
}

    .btn-rectangle-sm:hover {
        display: inline-flex;
        padding: 0.5rem 0.5rem;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
        background: var(--sd-base-color, --sd-base-color);
        border: 1px solid var(--sd-main-color, --sd-main-color);
        border-radius: 0px;
        color: var(--sd-main-color, --sd-main-color);
        text-align: center;
        /* cta-txt */
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem; /* 166.667% */
        text-transform: uppercase;
    }

.modal-customer {
    width: 40.9375rem;
    border-radius: 0.625rem;
    background: #FFF;
    box-shadow: 0px 8px 14px 0px rgba(98, 98, 98, 0.12);
}

.modal-text-section {
    font-size: 18px;
    color: var(--sd-accent-color);
    font-weight: 800;
    line-height: 25px;
}

.modal-text-item {
    font-size: 0.75rem;
    color: var(--sd-accent-color);
    font-weight: 800;
    line-height: normal;
}

.bottom-border {
    /* Remove default input styles */
    border: none;
    background-color: transparent;
    /* Apply a border only to the bottom */
    border-bottom: 2px solid var(--sd-stroke-color); /* Replace #007bff with your desired color */
    /* Add spacing and other styles as needed */
    padding: 5px;
}

    .bottom-border:focus {
        /* Remove default input styles */
        border: none;
        background-color: transparent;
        /* Apply a border only to the bottom */
        border-bottom: 2px solid var(--sd-accent-color);
        /* Add spacing and other styles as needed */
        padding: 5px;
    }

.hr-section {
    border: 0.50px var(--sd-accent-color) solid;
}

.pt-2dot5 {
    padding-top: 2.5rem;
}

.ps-2dot5 {
    padding-left: 2.5rem !important;
}

.pe-2dot5 {
    padding-right: 2.5rem !important;
}

.mt-2dot5 {
    margin-top: 2.5rem;
}

.mb-2dot5 {
    margin-bottom: 2.5rem;
}

border-top-0 {
    border-top: 0px;
}

border-bottom-0 {
    border-bottom: 0px;
}

.customer-circle {
    position: relative;
    height: 100px; /* Change the height to fit your requirements */
}


.circle {
    width: 100px;
    height: 100px; /* Change the height to fit your requirements */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background-color: var(--sd-accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

input[type="text"]#name_surname::placeholder {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: normal;
}

.container-flex-center {
    display: grid;
    place-items: center;
}

/*
h2#name_surname {
    font-family: Manrope !important;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    color: #959595;
}*/

.custom-search {
    padding-top: 10px;
    padding-bottom: 8px;
    padding-left: 21px;
    padding-right: 40px; /* Increase this value to accommodate the search icon */
    border-radius: 10px !important;
    border: 1px solid var( --sd-base-color) !important;
    background-color: var(--sd-base-color);
}

    .custom-search:focus {
        padding-top: 10px;
        padding-bottom: 8px;
        padding-left: 21px;
        padding-right: 40px; /* Increase this value to accommodate the search icon */
        border-radius: 10px !important;
        border: 1px solid var( --sd-main-color) !important;
        background-color: var(--sd-base-color);
    }

.input-group {
    position: relative;
}

.input-group-text {
    position: absolute;
    top: 50%;
    right: 0.63rem !important;
    transform: translateY(-50%);
    background-color: transparent;
    border: none; /* Remove the default border */
    padding: 0; /* Remove any padding */
    cursor: pointer;
}

.header-customer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}


.container-circle-customer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.circle-customer {
    width: 100px;
    height: 100px;
    background-color: var(--sd-accent-color);
    border-radius: 50%;
    background-image: url("../img/icons/human.svg");
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-container {
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
}

.modify-icon {
    width: 40px;
    height: 40px;
    background-color: var(--sd-main-color);
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-image: url('../img/icons/pencil.svg');
    background-repeat: no-repeat;
    background-position: center; /* Center the image within the icon container */
}

.badge-bg-success {
    color: var(--sd-badge-text-success);
    background-color: var(--sd-badge-bg-success);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    line-height: 22px;
}

.badge-bg-primary {
    color: var(--sd-badge-text-primary);
    background-color: var(--sd-badge-bg-primary);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    line-height: 22px;
}

.badge-bg-disabled {
    color: var(--sd-badge-text-disabled);
    background-color: var(--sd-badge-bg-disabled);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    line-height: 22px;
}

.badge-bg-danger {
    color: var(--sd-badge-text-danger);
    background-color: var(--sd-badge-bg-danger);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    line-height: 22px;
}

.badge-bg-warning {
    color: var(--sd-badge-text-warning);
    background-color: var(--sd-badge-bg-warning);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    line-height: 22px;
}

.badge-bg-started {
    color: var(--sd-badge-text-started);
    background-color: var(--sd-badge-bg-started);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    line-height: 22px;
}

.alarm-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-image: url('../img/icons/triangle-danger.svg'); /* Replace 'path/to/alarm-icon.svg' with the actual path to your SVG file */
    background-size: cover; /* Adjust the size and position of the SVG if needed */
    background-repeat: no-repeat;
    /* Additional styles for positioning and other visual adjustments */
}


.h-584{
    min-height:584px !important;
}






.data-table-span {
    font-family: 'HelveticaNeueLtStd';
    color: #6C757D !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
}

.data-entry-field {
    font-family: 'HelveticaNeueLtStd';
    color: #262048 !important;
    font-weight: 600;
    font-size: 18px;
    line-height: 24.59px;
}

.data-entry-select {
    font-family: 'HelveticaNeueLtStd';
    color: #262048 !important;
    font-weight: 600;
    font-size: 18px;
    line-height: 24.59px;
}

    .data-entry-select > option {
        font-family: 'HelveticaNeueLtStd';
        color: #262048 !important;
        font-weight: 600;
        font-size: 18px;
        line-height: 24.59px;
    }

.device-serial-header {
    font-family: 'HelveticaNeueLtStd';
    color: #262048 !important;
    font-weight: 800;
    font-size: 24px;
    line-height: 32.78px;
}

.device-status-selector {
    font-family: 'HelveticaNeueLtStd';
    color: #262048 !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
}

    .device-status-selector > option {
        font-family: 'HelveticaNeueLtStd';
        color: #262048 !important;
        font-weight: 500;
        font-size: 14px;
        line-height: 22px;
    }

.alarm-serial-header {
    font-family: 'HelveticaNeueLtStd';
    color: #262048 !important;
    font-weight: 800;
    font-size: 24px;
    line-height: 32.78px;
}

.alarm-status-selector {
    font-family: 'HelveticaNeueLtStd';
    color: #262048 !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
}

.alarm-status-selector > option {
    font-family: 'HelveticaNeueLtStd';
    color: #262048 !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
}

.td-icon a {
    font-size: 24px;
}
/*
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(200,200,200,1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #fff;
    -webkit-box-shadow: inset 0 0 6px rgba(90,90,90,0.7);
}
*/
/*
.custom-scrollbar {
    width: 18px;
}
*/
/*
::-webkit-scrollbar {
    width: 4em;
    height: 4em
}
*/
.card-title-header {
    font-family: 'HelveticaNeueLtStd';
    color: #f5f5f5 !important;
    font-weight: 900;
    font-size: 18px;
    line-height: 22px;
    background-color: #262048 !important;
}

.card-title-content {
    font-family: 'HelveticaNeueLtStd';
    color: #262048 !important;
    font-weight: 900;
    font-size: 18px;
    line-height: 22px;
    background-color: #f5f5f5 !important;
}

.button-inverse-color {
    font-family: 'HelveticaNeueLtStd';
    color: #262048 !important;
    font-weight: 900;
    font-size: 18px;
    line-height: 22px;
    background-color: #f5f5f5 !important;
}

.hide-show-password {
    position: absolute !important;
    top: 32px !important;
    right: -40px !important;
    font-size: 20px !important;
}

.table-cell {
    display: table-cell;
}

/* CHECKBOX CUSTOM */
.checkbox-custom-group input[type=checkbox] {
    position: relative;
    width: 24px;
    height: 24px;
    color: #363839;
    border: 1px solid #bdc1c6;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    cursor: pointer;
    transition: background 175ms cubic-bezier(0.1, 0.1, 0.25, 1);
}

    .checkbox-custom-group input[type=checkbox]::before {
        position: absolute;
        content: "";
        display: block;
        top: 2px;
        left: 7px;
        width: 8px;
        height: 14px;
        border-style: solid;
        border-color: #fff;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
        opacity: 0;
    }

    .checkbox-custom-group input[type=checkbox]:checked {
        color: #fff;
        border-color: var(--sd-main-color);
        background: var(--sd-main-color);
    }

        .checkbox-custom-group input[type=checkbox]:checked::before {
            opacity: 1;
        }

        .checkbox-custom-group input[type=checkbox]:checked ~ label::before {
            -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }

.checkbox-custom-group label {
    font-weight: 600 !important;
}

/* LOGOUT */
#sidenav-logout {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

/* MODALE AGGIUJNTA / DETTAGLIO */
.circle-no-image {
    margin-left: 25px;
    margin-top: 25px;
}

.title-modal {
    font-size: 18px !important;
    font-weight: 800 !important;
}

/* MDOALE DI AVVISO */
.modal-msg-alert .modal-header {
    background-color: var(--sd-main-color);
    display: block;
    color: white;
    padding-top: 0px;
    padding-bottom: 0px;
}

    .modal-msg-alert .modal-header h3 {
        color: white;
        font-size: 18px;
        font-weight: 800;
        padding-top: 16px;
        padding-bottom: 16px;
        margin-bottom: 0px;
    }

.modal-msg-alert .modal-body {
    margin-top: 0px;
    padding-top: 24px;
}

    .modal-msg-alert .modal-body strong {
        font-weight: 900;
    }

.modal-msg-alert .modal-footer button {
    border-radius: 0px;
    font-size: 18px;
    font-weight: 600;
    border: 3px solid var(--sd-main-color) !important;
    text-transform: uppercase !important;
}

.modal-msg-alert .modal-footer .btn-proceed {
    background-color: var(--sd-main-color);
    color: #FFFFFF !important;
}

.modal-msg-alert .modal-footer .btn-cancel {
    color: var(--sd-main-color) !important;
}

.clickable {
    color: var(--sd-main-color);
    text-decoration: underline;
    cursor: pointer;
}

.back-alice {
    background: aliceblue;
}

.text-area-form{
    border: 1px solid var(--sd-accent-color);
}
/* SIDENAV */
.sidenav-normal {
    font-size: 18px;
    font-weight: 600;
}

/* SHOW / HIDE PASSWORD */
.input-password {
    width: 90% !important;
}
.div-hide-show-pwd {
    width: 10% !important;
}
.icon-hide-show-pwd {
    font-size: 20px !important;
    margin-top: 8px;
}
.icon-hide-show-pwd-login {
    font-size:24px !important;
    margin-top:6px;
}
/* TOOLTIP */
.tooltip-inner {
    opacity: 1 !important;
}
/*.checkbox-custom-group input[type="checkbox"] {
    width: 0px;
    height: 0px;
    display: none;
}
.checkbox-custom-group {
    position: relative;
    user-select: none;
    height: 20px;
}
.checkbox-custom-group label {
    padding-left: 22px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
}
.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 20px;
    width: 20px;
    border: 2px solid #c9c9c9;
    background-color: white;
}
.checkbox-custom-group:hover input ~ .checkmark {
    background-color: white;
}

.checkbox-custom-group input:checked ~ .checkmark {
    background-color: #1c09ac;
}
.checkbox-custom-group .checkmark:after {
    top: -5px;
    width: 5px;
    height: 10px;
    left: 2px;
    color: white;
}
.checkbox-custom-group input:checked ~ .checkmark:after {
    display: block;
}

.checkmark:after {
    content: '✓';
    position: absolute;
    display: none;
} */

/* NAV TABS - VERTICAL */

/*
.nav-tabs {
    float: left;
    margin-right: 20px;
    border: 1px solid #ccc;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    background: #ddd;
}

.nav-tabs > li {
    float: none;
}

.nav-tabs > li > a {
    margin-right: 0;
}

.tab-content {
    border-top: 1px solid #ccc;
}
*/

/*
    NOTA: QUESTI DUE QUA DI SEGUITO SERVONO A VISULIZZARE I GRAFICI DAI TAB DI BOOTSTRAP
*/

.tab-content > .tab-pane {
    display: block;
    height: 0;
    overflow: hidden;
}

.tab-content > .tab-pane.active {
    height: auto;
}

.nav-link.graph {
    color: var(--sd-sidenav-bg-color) !important;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--bs-nav-pills-link-active-color) !important;
    background-color: var(--sd-sidenav-bg-color) !important;
}

.card-box {
    min-height: 216px;
}

.big-card-box {
    min-height: 456px;
}

.text-green {
    color: #339537;
    font-weight: 700;
}

.text-blue {
    color: #336C95;
    font-weight: 700;
}

.not-allowed {
    cursor: not-allowed;
}
.customer-code {
    display:block;margin-top:4px;font-size:10px;
}

.badge-none {
    color: var(--bs-body-color);
}

.font-connection {
    font-size:20px;
}

.td-icon {
    display:inline-block;
    width:100px;
}

/* DATATABLE BUTTONS */
.buttons-dt-excel {
    float:right;
    border: 2px solid #79c47d !important;
    border-radius: 10px !important;
    background-color: #339537 !important;
    color: white !important;
    font-size: 0.875rem !important;
    padding: 5px 20px !important;
}

/* ALARM TYPE */
.badge-alarm-E01 {
    color: black;
    background-color: rgba(0, 167, 255, .7);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 2px;
    display: inline-flex;
    line-height: 22px;
}
.badge-alarm-E03 {
    color: #FEFEFE;
    background-color: rgba(0, 0, 0, .7);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 2px;
    display: inline-flex;
    line-height: 22px;
}
.badge-alarm-E05 {
    color: #FEFEFE;
    background-color: rgba(0, 111, 0, .7);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 2px;
    display: inline-flex;
    line-height: 22px;
}
.badge-alarm-E06 {
    color: #333333;
    background-color: rgba(247, 244, 23, .7);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 2px;
    display: inline-flex;
    line-height: 22px;
}
.badge-alarm-E07 {
    color: #333333;
    background-color: rgba(255, 202, 44, 1);
    font-size: 14px;
    text-transform: none !important;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    gap: 2px;
    display: inline-flex;
    line-height: 22px;
}