.logo-title {
    width: 100%;
    margin: 30px 0 30px 0;
    text-align: center;
}

.logo-title > a > img {
    max-width: 400px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .logo-title > a > img {
        width: 250px;
        max-width: 100%;
    }
}

.logo-title > a {
    cursor: pointer;
}

.content {
    max-width: 500px;
    margin: 0 auto 20px auto;
    padding: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
}

.content-large {
    max-width: 1000px;
}

.form-group {
    margin-bottom: 10px;
}

.center {
    text-align: center;
}

.list-element {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 10px;
    margin-left: 0px;
    cursor: pointer;

    -webkit-transition: background-color 500ms ease;
    -moz-transition: background-color 500ms ease;
    -ms-transition: background-color 500ms ease;
    -o-transition: background-color 500ms ease;
    transition: background-color 500ms ease;
}

.list-element:hover {
    background-color: white;
}

.no-decoration, .no-decoration:link, .no-decoration:visited, .no-decoration:hover, .no-decoration:active {
    text-decoration: none;
    color: black;
}

.threshold-cons-min {
    color: #e67e22;
}

.threshold-cons-max {
    color: #e67e22;
}

.threshold-abs-min {
    color: #e74c3c;
}

.threshold-abs-max {
    color: #e74c3c;
}

.threshold0-bg {
    background-color: white;
}

.threshold1-bg {
    background-color: #2ecc71;
}

.threshold2-bg {
    background-color: #e67e22;
}

.threshold3-bg {
    background-color: #e74c3c;
}

.dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
}

.right {
    text-align: right;
}

.btn-primary, .btn-primary:hover, .btn:first-child:active, .btn.disabled, .btn:disabled {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.fa-solid, .fa-regular {
    margin-right: 5px;
}

@media screen and (max-width: 768px) {
    .content {
        max-width: 90%;
    }

    .list-element {
        font-size: 0.8em;
        padding: 2px;
    }

    .dot {
        display: none;
    }

    .col-temp, .mobile-element {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .mobile-element {
        font-size: 1.2em;
    }

    .col-date {
        line-height: 3em;
        vertical-align: middle;
    }

    .bg-circle {
        border-radius: 5px;
        padding: 5px;
    }

    .mobile-button {
        padding: 0;
    }

    .only-desktop {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .bg-circle {
        background-color: transparent;
    }
}

.green {
    color: #27ae60;
}

.yellow {
    color: #f1c40f;
}

.orange {
    color: #e67e22;
}

.orange-bg {
    background-color: #e67e22;
    border-color: #e67e22;
}

.orange-bg:hover {
    background-color: #d35400;
    border-color: #d35400;
}

.red {
    color: #e74c3c;
}

.gray {
    color: #95a5a6;
}

.paging-element {
    font-size: 1.5em;
    margin-left: 5px;
    margin-right: 5px;
    border: 2px solid black;
    border-radius: 3px;
    padding: 5px 10px 5px 10px;
    
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.paging-element:hover {
    background-color: black;
    color: white;
}

.collapsible1, .collapsible2 {
    background-color: #2c3e50;
    color: white;
    cursor: pointer;
    padding: 16px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    text-align: center;
    border-radius: 10px;
    transition: all 1s ease-out;
    margin-top: 30px;
}

.collapsible1:hover, .collapsible2:hover {
    background-color: #306195;
}
  
.collapsible1-content, .collapsible2-content {
    text-align: left;
    padding: 0px 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    border-end-start-radius: 10px;
    border-end-end-radius: 10px;
}

.icon-margin {
    margin-right: 0px;
}

.icon-no-margin {
    margin-right: 0px;
}

.icon-events {
    font-size: 1em;
}

.icon-margin-mobile {
    margin: 0px 5px 10px 0px;
}

@media screen and (max-width: 768px) {
    .icon-events {
        font-size: 1.5em;
    }
    .icon-margin {
        margin-right: 15px;
    }
    .icon-margin-mobile {
        margin: 0px 1px 10px 0px;
    }
}

.probe-box, .event-box {
    border-radius: 10px;
    padding: 10px;
    background-color: white;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.probe-box:hover {
    cursor: pointer;
}

.locationbox {
    position: fixed;
    padding: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    top: 50px;
    left: 20px;
    width: 140px;
    box-shadow: 3px 3px 5px 2px #ccc;
}

.locationbox-element {
    padding: 5px;
    border-radius: 5px;
}

.locationbox-element > a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 15px;
}

.locationbox-element:hover {
    cursor: pointer;
}

.locationbox-title {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 5px;
    text-align: center;
}

.go-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: #2c3e50;
    color: white;
    cursor: pointer;
    box-shadow: 3px 3px 5px 2px #ccc;
    opacity: 0;
    transition: opacity 0.5s ease;
    visibility: hidden;
}

.go-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.go-top-btn:hover {
    color: white;
    background-color: #306195;
}

.greyed-out canvas {
    filter: grayscale(100%) brightness(50%);
    opacity: 15%;
}

.greyed-out {
    position: relative;
}

.greyed-out:before {
    content: "Nessun Tipo Dato KPI impostato";
    position: absolute;
    top: -5%;
    left: 6%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.kpi-threshold-edit-container {
    padding-right: 0;
}