html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
}

body {
    background: #00628C;
    padding-top: 70px;
}

label {
    color: #FFFFFF;
    font-weight: 500;
}

.well {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #0090ce 0%, #007bb0 100%) repeat scroll 0 0;
    color: #FFFFFF;
}

.cloudlift-container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.navbar-brand {
    padding: 0;
}

.navbar {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #002e42 0%, #004a6a 100%) repeat scroll 0 0;
    border-bottom: 0 solid #00638e;
    box-shadow: 0 1px 4px 0 #003e59;
    overflow: hidden;
}

    .navbar ul.navbar-nav li {
        border-left: 1px solid #006e9d;
        border-right: 1px solid #000a0f;
        color: #0075a8;
    }

        .navbar ul.navbar-nav li .fa {
            font-size: 120%;
        }

        .navbar ul.navbar-nav li a {
            color: #C6E7FA;
            font-weight: bold;
        }

        .navbar ul.navbar-nav li .navbar-text {
            color: #0075a8;
        }

            .navbar ul.navbar-nav li .navbar-text span.user {
                color: #c6e7fa;
                font-weight: bold;
            }

        .navbar ul.navbar-nav li .navbar-btn {
            margin-left: 5px;
            margin-right: 5px;
            color: #C6E7FA;
            font-weight: bold;
        }

            .navbar ul.navbar-nav li .navbar-btn .fa-sign-out {
                margin-left: 5px;
            }

#menu {
    margin-left: 0;
    font-size: 16px;
    min-width: 230px;
}

    #menu .inner-menu {
        margin-top: 15px;
    }

    #menu ul {
        padding-left: 0;
        margin-left: 7px;
        list-style: none;
        -webkit-box-shadow: 0 -1px 4px 0px #005073;
        -moz-box-shadow: 0 -1px 4px 0px #005073;
        box-shadow: 0 -1px 4px 0px #005073;
    }

    #menu > ul {
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
    }

    #menu li {
        padding-top: 0;
        padding-bottom: 0;
        color: #fff;
        min-height: 40px;
        line-height: 40px;
        position: relative;
    }

        #menu li:first-child {
            border-radius: 5px 5px 0px 0px;
            -webkit-border-radius: 5px 5px 0px 0px;
            -moz-border-radius: 5px 5px 0px 0px;
        }

        #menu li:last-child {
            border-radius: 0px 0px 5px 5px;
            -webkit-border-radius: 0px 0px 5px 5px;
            -moz-border-radius: 0px 0px 5px 5px;
        }

        #menu li .fa {
            font-size: 24px;
            margin-left: 5px;
            margin-right: 5px;
            width: 30px;
            opacity: 0.95;
        }

        #menu li.menu-item {
            background-color: #004a6a;
            border-top: 1px solid #005c84;
            border-bottom: 1px solid #003951;
            color: #C6E7FA;
            text-shadow: 0 -1px #00131c;
        }

            #menu li.menu-item:hover {
                background-color: #00597f;
            }

            #menu li.menu-item div {
                background: #003c56;
                /* Old browsers */
                background: -moz-linear-gradient(top, #002332 0%, #003c56 100%);
                /* FF3.6+ */
                background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #002332), color-stop(100%, #003c56));
                /* Chrome,Safari4+ */
                background: -webkit-linear-gradient(top, #002332 0%, #003c56 100%);
                /* Chrome10+,Safari5.1+ */
                background: -o-linear-gradient(top, #002332 0%, #003c56 100%);
                /* Opera 11.10+ */
                background: -ms-linear-gradient(top, #002332 0%, #003c56 100%);
                /* IE10+ */
                background: linear-gradient(to bottom, #002332 0%, #003c56 100%);
                /* W3C */
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@colore1', endColorstr='@colore2', GradientType=0);
                /* IE6-9 */
            }

                #menu li.menu-item div li {
                    border-bottom: 1px solid #001c28;
                    border-top: 1px solid #004a6a;
                }

                    #menu li.menu-item div li a {
                        color: #fff;
                    }

            #menu li.menu-item > .fa {
                color: #000c12;
                text-shadow: 0 1px #0074a6;
                text-align: center;
            }

                #menu li.menu-item > .fa.pull-right {
                    text-align: right;
                }

            #menu li.menu-item span,
            #menu li.menu-item a {
                color: #C6E7FA;
            }

            #menu li.menu-item:hover > .fa,
            #menu li.menu-item.active-parent > .fa {
                color: #C6E7FA;
                text-shadow: 0 -1px #00131c;
            }

            #menu li.menu-item.active {
                background-color: #C6E7FA;
                border-top: 1px solid #ddf1fc;
                border-bottom: 1px solid #afddf8;
            }

                #menu li.menu-item.active:hover {
                    background-color: #d9effc;
                }

                #menu li.menu-item.active div {
                    background: #b3dff8;
                    /* Old browsers */
                    background: -moz-linear-gradient(top, #92d1f5 0%, #b3dff8 100%);
                    /* FF3.6+ */
                    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #92d1f5), color-stop(100%, #b3dff8));
                    /* Chrome,Safari4+ */
                    background: -webkit-linear-gradient(top, #92d1f5 0%, #b3dff8 100%);
                    /* Chrome10+,Safari5.1+ */
                    background: -o-linear-gradient(top, #92d1f5 0%, #b3dff8 100%);
                    /* Opera 11.10+ */
                    background: -ms-linear-gradient(top, #92d1f5 0%, #b3dff8 100%);
                    /* IE10+ */
                    background: linear-gradient(to bottom, #92d1f5 0%, #b3dff8 100%);
                    /* W3C */
                    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@colore1', endColorstr='@colore2', GradientType=0);
                    /* IE6-9 */
                }

                    #menu li.menu-item.active div li {
                        border-bottom: 1px solid #89cdf5;
                        border-top: 1px solid #c6e7fa;
                    }

                        #menu li.menu-item.active div li a {
                            color: #fff;
                        }

                #menu li.menu-item.active > .fa {
                    color: #002535;
                    text-shadow: 0 1px #FFF;
                }

                #menu li.menu-item.active span,
                #menu li.menu-item.active a {
                    color: #004a6a;
                }

        #menu li span {
            text-decoration: none;
        }

        #menu li a {
            text-decoration: none;
        }

        #menu li ul {
            font-size: 85%;
            margin-left: 0;
            border-left: 0;
            background: none;
            background-color: transparent;
        }

            #menu li ul li {
                min-height: 35px;
                line-height: 35px;
                background: none;
                background-color: transparent;
                padding-left: 18px;
            }

                #menu li ul li .fa {
                    font-size: 100%;
                }

                #menu li ul li:first-child {
                    border-radius: 0px;
                    -webkit-border-radius: 0px;
                    -moz-border-radius: 0px;
                }

                #menu li ul li:last-child {
                    border-radius: 0px;
                    -webkit-border-radius: 0px;
                    -moz-border-radius: 0px;
                }

        #menu li .fa-minus-square-o,
        #menu li .fa-plus-square-o,
        #menu li .fa-minus-circle,
        #menu li .fa-plus-circle {
            cursor: pointer;
            position: absolute;
            right: 5px;
            top: 0;
            bottom: 0;
            margin: 0;
            width: 100%;
            height: 40px;
            line-height: 40px;
            text-align: right;
            font-size: 19px;
        }

    #menu .toggle-menu {
        color: #C6E7FA;
        cursor: pointer;
        display: block;
        font-size: 24px;
        height: 30px;
        padding: 0;
        text-align: center;
        width: 30px;
        margin-left: 15px;
        margin-top: -20px;
    }

.loghi {
    display: block;
    padding-top: 10px;
}

.login .well {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 144, 206, 0.7) 0%, rgba(0, 123, 176, 0.7) 100%) repeat scroll 0 0;
}

.logo.telesan {
    display: block;
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 150px;
    opacity: 0.95;
}

    .logo.telesan:hover {
        opacity: 1;
    }

    .logo.telesan img {
        width: 100%;
    }

/* Contenitore principale */
.cloudlift-container {
    padding: 0;
}

#side-menu {
    position: fixed;
}

#main-content {
    padding-top: 20px; 
    padding-right: 20px; 
    transition: margin-left 0.3s ease; 
}

@media (max-width: 768px) {
    #side-menu {
        position: relative; 
        width: 100%; 
    }

    #main-content {
        margin-left: 0; 
    }
}

.k-grid .k-header {
    font-size: 12px;
}

.k-grid .k-button {
    font-size: 12px;
    padding: 2px 5px;
}

.k-grid > div > table > tbody > tr > td {
    font-size: 12px;
    border-top: 1px solid #ebebeb;
}

.text-muted {
    --bs-text-opacity: 1;
    color: white !important;
}

.page-title {
    color: #FFFFFF;
    padding: 0px;
}

.icon {
    color: GrayText;
    position: relative;
    transform: translateY(-50%);
    right: 10px;
    pointer-events: none;
    top: 50%;
}

.form-container {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px 15px;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
}

    .form-container label {
        text-align: right;
        align-self: center;
    }

    .form-container input[type="text"],
    .form-container input[type="datetime-local"],
    .form-container .k-input {
        width: 100%;
    }

.form-check {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.input-container {
    grid-column: span 2;
    display: flex;
    justify-content: flex-end; /* Push content to the right */
    margin-top: 15px;
}

.form-btn {
    background-color: black;
    color: white;
    border-radius: 8px;
    padding: 8px 20px;
}

.padding-20 {
    padding: 20px;
}

.no-records-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 16px;
    color: #888;
}

.readonly-display {
    pointer-events: none;
}

.well {
    background: linear-gradient(to bottom, #0090ce 0%, #007bb0 100%);
    border: none;
    color: #FFFFFF;
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
}

    .well h3 {
        margin-top: 0;
    }

.well-filtro .grid-filters {
    background: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin-top: 10px;
    padding: 5px 0;
}

div.well.well-filtro div.row.grid-filters span.selection > span {
    text-align: left;
}

div.well.well-filtro div.row.grid-filters .select2-search__field {
    color: black;
}
