﻿body {
    margin: 0;
    /* Aggiunge padding in alto e in basso per la safe area */
    padding-top: constant(safe-area-inset-top); /* iOS < 11.2 */
    padding-top: env(safe-area-inset-top); /* iOS 11.2+ */
    padding-left: constant(safe-area-inset-left); /* iOS < 11.2 */
    padding-left: env(safe-area-inset-left); /* iOS 11.2+ */
    padding-right: constant(safe-area-inset-right); /* iOS < 11.2 */
    padding-right: env(safe-area-inset-right); /* iOS 11.2+ */
    padding-bottom: constant(safe-area-inset-bottom); /* iOS < 11.2 */
    padding-bottom: env(safe-area-inset-bottom); /* iOS 11.2+ */
}

.splash-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Scegli un colore di sfondo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Assicura che sia sopra a tutto */
}

    .splash-screen img {
        max-width: 200px; /* Dimensione del logo */
        margin-bottom: 20px;
    }

.splash-text {
    text-align: center;
    font-family: Roboto, Arial, sans-serif;
    font-weight: bold;
    font-size: 22px;
    line-height: 22px;
}

.full-size {
    width: 100%;
    height: calc(100vh - 120px);
    text-align: center;
}

.center {
    position: absolute;
    top: 59%;
    left: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 8px;
}

/* loader */
#loader {
    position: fixed;
    left: 0;
    top: 66px;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-gutter-list-item {
    padding-right: 0;
    padding-left: 0;
}

.no-padding-list-item {
    padding-top: 5px;
    padding-bottom: 5px;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.no-gutter {
    padding: 0 !important;
    padding-right: 2px !important;
}

.mud-dialog-container {
    padding: 10px !important;
}

.mud-button-fab-bottom {
    position: fixed;
    cursor: pointer;
    z-index: 100;
    bottom: 16px;
    right: 16px;
    opacity: 1;
    transition: transform .5s;
    flex: 1;
}

input[type=text].mud-input-slot {
    text-transform: uppercase;
}

input[type=email].mud-input-slot {
    text-transform: lowercase;
}

.contatti-list {
    height: 100vh;
    height: calc(100vh - 190px);
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.contatti-list-item {
    padding-top: 6px;
    padding-bottom: 1px;
}

.nominativo {
    padding: 0;
    margin: 0;
}

.link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listview {
    display: block;
    padding: 0;
    margin: 0;
    color: #141515;
    background: #fff;
    /* border-top: 1px solid #E1E1E1; */
    padding-bottom: 5px;
    padding-bottom: 3px;
    border-bottom: 1px solid #E1E1E1;
    line-height: 1.5em;
    font-size: 1.3em;
}

    .listview .text-muted {
        font-size: 14px;
        color: #A1A1A2 !important;
        line-height: 1.47em;
    }

    .listview > li {
        padding: 8px 0 5px 0;
        display: block;
        align-items: center;
        justify-content: space-between;
        position: relative;
        min-height: 50px;
    }

        .listview > li .item {
            position: relative;
        }

        .listview > li:after {
            content: "";
            display: block;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 1px;
            background: #E1E1E1;
        }

        .listview > li:last-child:after {
            display: none;
        }

        .listview > li footer,
        .listview > li header {
            font-size: 12px;
            margin: 0;
            line-height: 1.2em;
        }

        .listview > li footer {
            color: #4F5050;
            margin-top: 3px;
        }

        .listview > li header {
            margin-bottom: 3px;
        }

        .listview > li.divider-title {
            background: rgba(225, 225, 225, 0.5);
            margin-top: -1px;
            border-top: 1px solid #E1E1E1;
            border-bottom: 1px solid #E1E1E1;
            padding: 12px 16px;
            font-size: 13px;
            min-height: auto;
            color: #4F5050;
        }

            .listview > li.divider-title:after {
                display: none;
            }

    .listview.flush {
        border-top: 0;
        border-bottom: 0;
    }

    .listview.transparent {
        background: transparent;
    }

.image-listview > li {
    padding: 0;
    min-height: auto;
}

    .image-listview > li:after {
        left: 68px;
    }

    .image-listview > li .item {
        padding: 10px 16px;
        width: 100%;
        min-height: 50px;
        display: flex;
        align-items: center;
    }

        .image-listview > li .item .image {
            min-width: 36px;
            max-width: 36px;
            width: 36px;
            height: 36px;
            border-radius: 400px;
            margin-right: 16px;
        }

        .image-listview > li .item .icon-box {
            min-width: 36px;
            max-width: 36px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1em;
            font-size: 20px;
            border-radius: 400px;
            margin-right: 16px;
        }

            .image-listview > li .item .icon-box.bg-primary, .image-listview > li .item .icon-box.bg-secondary, .image-listview > li .item .icon-box.bg-success, .image-listview > li .item .icon-box.bg-danger, .image-listview > li .item .icon-box.bg-warning, .image-listview > li .item .icon-box.bg-info, .image-listview > li .item .icon-box.bg-dark, .image-listview > li .item .icon-box.bg-light {
                box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
            }

        .image-listview > li .item .in {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

    .image-listview > li a.item {
        color: #141515 !important;
        padding-right: 36px;
    }

        .image-listview > li a.item:active {
            background: rgba(225, 225, 225, 0.3);
        }

        .image-listview > li a.item:after {
            background-image: url("data:image/svg+xml,%0A%3Csvg width='10px' height='16px' viewBox='0 0 10 16' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg id='Listview' transform='translate(-112.000000, -120.000000)' stroke='%23A1A1A2' stroke-width='2.178'%3E%3Cpolyline id='Path' points='114 122 120 128 114 134'%3E%3C/polyline%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center center;
            width: 16px;
            height: 16px;
            content: "";
            position: absolute;
            right: 12px;
            opacity: 0.5;
            top: 50%;
            margin-top: -8px;
        }


.fab-button-box {
    position: fixed;
    cursor: pointer;
    z-index: 100;
    bottom: 25px;
    right: 25px;
    opacity: 1;
    transition: transform .5s;
    flex: 1;
}

.fab-button-box-left {
    position: fixed;
    cursor: pointer;
    z-index: 100;
    bottom: 25px;
    left: 15px;
    opacity: 1;
    transition: transform .5s;
    flex: 1;
}
/*
.mud-card-content {
    padding: 0 !important;
}
*/

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Colore di sfondo semi-trasparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Assicurati che sia sopra altri contenuti */
}

#blazor-newversion-ui {
    background: #e9e9e9;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    display: none;
    left: 0;
    padding: 1rem 1.25rem 1rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    text-align: center;
}

.form-group {
    margin-bottom: 5px;
}

.bold {
    font-weight: bold;
}

.form-tag {
    color: #aa2929;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.contatti-list {
    height: 100vh;
    height: calc(100vh - 190px);
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.contatti-list-item {
    padding-top: 6px;
    padding-bottom: 1px;
}

.contatto-item {
    padding-top: 5px;
    cursor: pointer
}

.nominativo {
    padding: 0;
    margin: 0;
    font-family: Roboto, Helvetica, Arial, "sans-serif";
    font-size: 15px; 
}

.contatto-box {
    margin-left: 12px;
    color: #000
}

.link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#map-container {
    position: relative;
    height: 400px;
    width: 100%;
}

#map {
    height: 400px;
    width: 100%;
}

