﻿/*                Autocomplete            */
.autocomplete {
    position: relative;
}
.autocomplete-itemselected {
    background-color: #2d724f;
    color: white;
}
    .autocomplete .options {
        position: absolute;
        top: 40px;
        left: 0;
        background: white;
        width: 100%;
        padding: 0;
        z-index: 10;
        border: 1px solid #ced4da;
        border-radius: 0.5rem;
        max-height:150px;
        box-shadow: 0 30px 25px 8px rgba(0, 0, 0, 0.1);
    }

    .autocomplete .option {
        display: block;
        padding: 0.25rem;
    }

        .autocomplete .option .option-text {
            padding: 0.25rem 0.5rem;
        }

        .autocomplete .option:hover {
            background: #1E90FF;
            color: #fff;
        }

        .autocomplete .option.disabled {
            background-color: lightgrey;
            cursor: not-allowed;
        }

            .autocomplete .option.disabled:hover {
                background: lightgrey;
                color: var(--bs-body);
            }

/*           END Autocomplete               */





.deleteButtonIcon {
    position: absolute;
    top: -10px;
    left: 0;
    background-color: red;
    font-size: 10px;
    /*    width: 20px;*/
    height: 20px;
    border-radius: 10px;
    color: white;
    padding: 0px 6px 23px 6px
}
/*.deleteButtonIcon:hover{*/
    /*opacity:0.5;*/
    /*border:1px solid black;
}*/
    .sidemenu {
        position: relative;
        display: block;
        width: 100%;
        border-top: 1px solid rgba(0,0,0,0.10);
    }

.sidemenu :hover {
    opacity:0.5;
}

        .sidemenu .selectedBottom {
            /*            border-bottom: solid 3px #2c724f;
            border-left: solid 3px #2c724f;*/
            box-shadow: 1px 2px #2d8be4
            /*            color: white;
            background-color: #2c724f;
            border-end-end-radius:30px*/
        }
        .sidemenu .selectedUpper {
            /*            border-bottom: solid 3px #2c724f;
            border-left: solid 3px #2c724f;*/
            box-shadow: 2px 2px #2c724f
            /*            color: white;
            background-color: #2c724f;
            border-start-end-radius: 30px*/
        }
.paginator-selected {
    color: white !important;
    background-color: #2d8be4 !important;
}
.sidemenu li {
    position: relative;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.10);
}
.my-card-title {
    color: white;
    font-size: 17px;
    padding: 10px;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #2d8be4;
}
.my-card-body {
    height:100px;
    /*padding:10px;*/
   /* background-color: #2d724f;*/
}
.my-card-footer {
    text-align:center;
    padding: 10px 10px;
    /* color: var(--bs-card-cap-color);*/
    background-color: #f8f9fa;
    border-top: 1px solid #ced4da;
}
.btn-upload {
    background-color: #2d8be4;
    color: white;
    padding: 7px 20px;
    border-radius: 5px;
}
.btn-preview {
    border:0px solid grey;
    width:50px;
}
.btn-preview:hover {
    opacity:0.7;
}
.btn-upload:hover {
    opacity: 0.7;
    cursor: pointer;
}
.file-upload-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}
.sidemenu a {
    position: relative;
    display: block;
    line-height: 24px;
    padding: 14px 20px;
    font-size: 15px;
    color: #404040;
    font-weight: 600;
    text-transform: uppercase;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.cardItem {
    border: 1px solid grey !important;
    border-radius: 10px !important;
    margin: 10px;
    box-shadow: 5px 5px lightgrey;
    
}
.cardItemDoc {
    border: 1px solid grey !important;
    border-radius: 10px !important;
    margin: 10px;
    padding: 10px;
    box-shadow: 5px 5px lightgrey;
}
/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 1
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity:0.2;
        background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
        background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 150ms infinite linear;
            -moz-animation: spinner 150ms infinite linear;
            -ms-animation: spinner 150ms infinite linear;
            -o-animation: spinner 150ms infinite linear;
            animation: spinner 150ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
        }


.custom-loader {
    --d: 22px;
    z-index: 999;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    color: #2d8be4;
    box-shadow: calc(1*var(--d)) calc(0*var(--d)) 0 0, calc(0.707*var(--d)) calc(0.707*var(--d)) 0 1px, calc(0*var(--d)) calc(1*var(--d)) 0 2px, calc(-0.707*var(--d)) calc(0.707*var(--d)) 0 3px, calc(-1*var(--d)) calc(0*var(--d)) 0 4px, calc(-0.707*var(--d)) calc(-0.707*var(--d))0 5px, calc(0*var(--d)) calc(-1*var(--d)) 0 6px;
    animation: s7 1s infinite steps(8);
}
.container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh; /* Imposta l'altezza dell'elemento al 100% dell'altezza della viewport */
}
.content-center {
    width:100%;
    text-align:center;
}

.underline {
    text-decoration: underline;
}

.container-table{
    width:100%;
    padding:15px;
border-bottom:1px solid lightgrey;

}
.card-container {
    border-radius: 10px;
    /*box-shadow: -10px -10px lightblue*/
    margin: 10px;
    padding: 15px;
    border: 2px solid lightgray;
    /* box-shadow: lightgray 5px 5px */
}

.card-title {
    margin: 5px;
    height: 45px;
    font-size: 14px;
}

.card-description {
    height: 75px;
    font-size: 12px;
    /*border-bottom: 1px lightgray dotted;*/
}

.card-price {
    width: 100%;
    text-align: right;
    height: 20px
}

.paddint-top-15 {
    padding-top: 15px;
}

.paddint-top-5 {
    padding-top: 5px;
}

.cardSelected {
    /*         border: 5px solid #2d724f;
        box-shadow: lightgray 5px 5px; */
    background-color: #2d8be4;
    color: white;
}
.cardNotSelected {
    /*         border: 5px solid #2d724f;
        box-shadow: lightgray 5px 5px; */
    background-color: white;
    color: #2d8be4;
}
.mytooltip {
    position: relative;
    display: inline-block;
}

    .mytooltip .tooltiptext {
        visibility: hidden;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 5px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .mytooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .mytooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }
@keyframes s7 {
    100% {
        transform: rotate(1turn)
    }
}

@media screen and (max-width: 600px) {
    #logindisplay {
        visibility: hidden;
        clear: both;
        float: left;
        margin: 10px auto 5px 20px;
        width: 28%;
        display: none;
    }
}
@media screen and (min-width: 600px) {
    #logindisplaymobile {
        visibility: hidden;
        clear: both;
        float: left;
        margin: 10px auto 5px 20px;
        width: 28%;
        display: none;
    }
}