﻿:root {
    --blucobalto: rgba(0, 71, 171, 1);
    --blucobalto-light: rgba(133,164,214, 1);
    --verde: #d2f4ea;
    --verde-rgb: 210, 244, 234;
    --grigino-body: rgb(248, 249, 252);
    --grigino-body-rgb: 248, 249, 252;
    --grigiobtnlogin: rgba(33, 37, 41, 0.85);
    --backcolor-formlabel: white;
}

.bg-grigino {
    background-color:var(--grigino-body);
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
.btn-close-sm {
    transform: scale(0.8);
}

.text-dec-none {
text-decoration:none;
}

.no-wrap {
    white-space:nowrap;
}
.btn-login {
    cursor: pointer;
    border: 0;
    border-radius: 4px;
    font-weight: 600;
    margin: 0 10px;
    width: 200px;
    padding: 10px 0;
    background-color: rgba(33, 37, 41, 0.85);
    color: white;
    box-shadow: 0 0 20px rgba(33, 37, 41, 0.2);
    transition: 0.6s;
    text-decoration: none;
}

    .btn-login.btn-login-danger:hover {
        background-color: rgba(var(--bs-danger-rgb),0.8);
        color: white;
    }

    /*    .log {
        color: rgb(104, 85, 224);
        background-color: rgba(255, 255, 255, 1);
        border: 1px solid rgba(104, 85, 224, 1);
    }
*/
    .btn-login-xs:hover,
    .btn-login-icon:hover,
    .btn-login-sm:hover,
    .btn-login:hover {
        color: rgba(33, 37, 41, 0.85);
        /*            box-shadow: 0 0 20px rgba(210, 244, 234, 0.6);*/
        background-color: rgba(210, 244, 234, 1);
    }

.btn-login-sm {
    padding: 4px 0;
    width: 150px;
    font-weight:300;
}

.btn-login-xs {
    padding: 4px 0;
    width: 5rem;
    font-weight: 300;
}

.btn-login-icon {
    padding: 4px 0;
    width: 50px;
}


html {
    position: relative;
    min-height: 100%;
}

body {
    min-height: 100vh;
    padding-top: 65px;
    min-height: -webkit-fill-available;
/*    background-color: var(--grigino-body);*/
    margin-bottom: 60px;
}

html {
    height: -webkit-fill-available;
}

/*main {
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y:scroll;
}*/

.dropdown-toggle {
    outline: 0;
}

.btn-toggle {
    padding: .25rem .5rem;
    font-weight: 600;
    color: white;
    background-color: transparent;
}

    .btn-toggle:hover,
    .btn-toggle:focus {
        color: rgba(0, 0, 0, .85);
        background-color: var(--verde);
    }

    .btn-toggle::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }



    .btn-toggle:hover::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.85%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }


    .btn-toggle.btn-toggle-direct::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='3' fill='white'/%3E%3C/svg%3E");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }

    .btn-toggle.btn-toggle-direct.dashboard-active::before,
    .btn-toggle.btn-toggle-direct:hover::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='3' fill='black'/%3E%3C/svg%3E");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }

.dashboard-active {
    color: rgba(0, 0, 0, .85);
    background-color: var(--verde);
}

    .dashboard-active:before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.85%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }
/*    .btn-toggle.btn-toggle-direct::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='black'/%3E%3C/svg%3E");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }*/



    /*            .btn-toggle[aria-expanded="true"] {
                color:white;
            }*/

    .btn-toggle[aria-expanded="true"]::before {
        transform: rotate(90deg);
    }

.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    color: white;
}

    .btn-toggle-nav a.active,
    .btn-toggle-nav a:hover,
    .btn-toggle-nav a:focus {
        color: rgba(0, 0, 0, .85);
        background-color: var(--verde);
    }

.scrollarea {
    overflow-y: auto;
}


@media (min-width: 991.98px) {
    main {
        padding-left: 240px;
    }
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 58px 0 0; /* Height of navbar */
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
    width: 240px;
    z-index: 600;
}

@media (max-width: 991.98px) {
    .sidebar {
        width: 100%;
    }
}

.sidebar .active {
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 58px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.text-xs {
    font-size: x-small;
}

.text-xxs {
    font-size: xx-small;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.border-transparent {
    border-color: transparent;
}

.multiselect-label {
    background-color: white;
    padding-left: 0.25em;
    padding-right: 0.25em;
    position: absolute;
    transform: translateY(-0.8rem) translateX(-0.3rem) scale(.8);
    color: rgba(0, 0, 0, .6);
    z-index: 1;
}
.autocomplete {
    padding: .375rem 48px .375rem 24px
}

    .autocomplete::placeholder {
        color: #adb2b8
    }

    .autocomplete:disabled {
        background-color: #cacacc
    }

        .autocomplete:disabled::placeholder {
            color: #5c6f82
        }

.autocomplete-icon {
    position: absolute;
    right: 0;
    top: .5rem;
    padding: 0 8px;
    background-color: #fff
}

    .autocomplete-icon .icon {
        fill: #5c6f82
    }

.autocomplete-list {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #fff;
    padding: 8px 0;
    box-shadow: 0 20px 30px 5px rgba(0, 0, 0, .05);
    border-top: 1px solid #5c6f82;
    transition: opacity .3s;
    display: none
}

    .autocomplete-list.autocomplete-list-show {
        display: block;
        z-index: 10
    }

    .autocomplete-list li {
        list-style-type: none;
        padding: 0
    }

    .autocomplete-list a {
        padding: 12px 24px;
        display: block;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        color: #455b71;
        line-height: 1.2;
        font-size: 1rem;
        text-decoration: none
    }

        .autocomplete-list a:hover {
            color: #06c;
            text-decoration: none
        }

            .autocomplete-list a:hover .icon {
                fill: #06c
            }

            .autocomplete-list a:hover .autocomplete-list-text span {
                text-decoration: underline
            }

            .autocomplete-list a:hover .autocomplete-list-text em {
                color: #06c
            }

            .autocomplete-list a:hover mark,
            .autocomplete-list a:hover .mark {
                color: #06c
            }

        .autocomplete-list a .icon,
        .autocomplete-list a .avatar {
            margin-right: 16px;
            flex-shrink: 0
        }

        .autocomplete-list a .icon {
            fill: #455b71
        }

        .autocomplete-list a .autocomplete-list-text {
            margin-top: 2px
        }

            .autocomplete-list a .autocomplete-list-text em {
                font-style: normal;
                text-transform: uppercase;
                font-size: .75rem;
                color: #435a70;
                font-weight: 600;
                letter-spacing: .1em;
                display: block;
                margin-top: 4px
            }

    .autocomplete-list mark,
    .autocomplete-list .mark {
        padding: 0;
        background: rgba(0, 0, 0, 0);
        font-weight: bold
    }

.autocomplete-wrapper-big .autocomplete {
    height: 56px;
    font-size: 1.5rem;
    font-weight: normal;
    padding-left: 64px;
    padding-right: 24px
}

.autocomplete-wrapper-big .autocomplete-icon {
    position: absolute;
    left: .5rem;
    right: auto;
    top: 1rem
}

    .autocomplete-wrapper-big .autocomplete-icon .icon {
        fill: #06c;
        width: 24px;
        height: 24px
    }

.autocomplete-wrapper-big .autocomplete-list a {
    font-size: 1.125rem
}

    .autocomplete-wrapper-big .autocomplete-list a .autocomplete-list-text {
        margin-top: 0
    }

@media(min-width: 576px) {
    .autocomplete-list a {
        font-size: .889rem;
        align-items: flex-start
    }

        .autocomplete-list a .autocomplete-list-text span {
            margin-right: 8px
        }

        .autocomplete-list a .autocomplete-list-text em {
            display: inline-block;
            font-size: .667rem;
            margin-top: 0
        }

    .autocomplete-wrapper-big .autocomplete {
        height: 72px;
        font-size: 2.222rem;
        padding-left: 64px
    }

    .autocomplete-wrapper-big .autocomplete-icon .icon {
        width: 40px;
        height: 40px
    }

    .autocomplete-wrapper-big .autocomplete-list a {
        font-size: 1.111rem
    }

        .autocomplete-wrapper-big .autocomplete-list a .autocomplete-list-text span {
            margin-right: 16px
        }
}

.autocomplete__wrapper .autocomplete__menu {
    border: 1px solid #979899;
    border-top: none;
    width: 100%;
    position: absolute;
    top: 100%;
    z-index: 10;
}

    .autocomplete__wrapper .autocomplete__menu .autocomplete__hint,
    .autocomplete__wrapper .autocomplete__menu .autocomplete__option {
        padding: 12px 24px;
        background-color: #fff;
        border: none;
        font-size: .889rem;
        font-weight: 600
    }

        .autocomplete__wrapper .autocomplete__menu .autocomplete__hint:hover,
        .autocomplete__wrapper .autocomplete__menu .autocomplete__hint:focus,
        .autocomplete__wrapper .autocomplete__menu .autocomplete__option:hover,
        .autocomplete__wrapper .autocomplete__menu .autocomplete__option:focus {
            color: #06c
        }

        .autocomplete__wrapper .autocomplete__menu .autocomplete__hint:focus,
        .autocomplete__wrapper .autocomplete__menu .autocomplete__option:focus {
            border: 2px solid #f90
        }

.autocomplete__wrapper {
    position: relative
}

.autocomplete__hint,
.autocomplete__input {
    display: block;
    width: 100%;
    padding: 0.36rem 0.5rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.autocomplete__input {
    position: relative
}


.form-outline .form-label-autocomplete[aria-label="focus"] {
    background-color: var(--backcolor-formlabel);
    color: #3b71ca;
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.form-outline .form-label-autocomplete {
    background-color:  var(--backcolor-formlabel);
    color: rgba(0, 0, 0, .6);
    padding-left: 0.25em;
    padding-right: 0.25em;
    transform: translateY(-3.1rem) translateX(0.5rem) scale(.8);
}

.form-outline .form-select:focus ~ .form-label {
    background-color: white;
    color: #3b71ca;
}


.autocomplete__hint {
    color: #b1b4b6;
    position: absolute
}

.autocomplete__input--default {
    padding: 5px
}

.autocomplete__input--focused {
    background-color: #fff;
    border-color: #3b71ca;
    outline: 0;
}

.autocomplete__input:focus {
    background-color: transparent;
    border-color: #3b71ca;
    outline: 0;
}

.autocomplete__input--show-all-values {
    /*    padding: 5px 34px 5px 5px;*/
    padding: 0.36rem 0.75rem;
    cursor: pointer
}

.autocomplete__dropdown-arrow-down {
    z-index: -1;
    display: inline-block;
    position: absolute;
    right: 8px;
    width: 24px;
    height: 24px;
    top: 10px
}


.autocomplete__menu {
    background-color: #fff;
    border: 2px solid #0b0c0c;
    border-top: 0;
    color: #0b0c0c;
    margin: 0;
    max-height: 342px;
    overflow-x: hidden;
    padding: 0;
    width: 100%;
    width: calc(100% - 4px)
}

.autocomplete__menu--visible {
    display: block
}

.autocomplete__menu--hidden {
    display: none
}

.autocomplete__menu--overlay {
    box-shadow: rgba(0, 0, 0, .256863) 0 2px 6px;
    left: 0;
    position: absolute;
    top: 100%;
    z-index: 100
}

.autocomplete__menu--inline {
    position: relative
}

.autocomplete__option {
    border-bottom: solid #b1b4b6;
    border-width: 1px 0;
    cursor: pointer;
    display: block;
    position: relative
}

    .autocomplete__option > * {
        pointer-events: none
    }

    .autocomplete__option:first-of-type {
        border-top-width: 0
    }

    .autocomplete__option:last-of-type {
        border-bottom-width: 0
    }

.autocomplete__option--odd {
    background-color: #fafafa
}

.autocomplete__option--focused,
.autocomplete__option:hover {
    background-color: #1d70b8;
    border-color: #1d70b8;
    color: #fff;
    outline: 0
}

@media(-ms-high-contrast: active), (forced-colors: active) {
    .autocomplete__menu {
        border-color: FieldText
    }

    .autocomplete__option {
        background-color: Field;
        color: FieldText
    }

        .autocomplete__option--focused,
        .autocomplete__option:hover {
            forced-color-adjust: none;
            background-color: SelectedItem;
            border-color: SelectedItem;
            color: SelectedItemText;
            outline-color: SelectedItemText
        }
}

.autocomplete__option--no-results {
    background-color: #fafafa;
    color: #646b6f;
    cursor: not-allowed
}

.mb-28px {
    margin-bottom: 28px;
}

* {
    margin: 0;
    padding: 0;
}

/* Icon 1 */

#nav-icon1 {
    width: 32px;
    height: 32px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

    #nav-icon1 span, #nav-icon3 span, #nav-icon4 span {
        display: block;
        position: absolute;
        height: 9px;
        width: 100%;
        background: #d3531a;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

        #nav-icon1 span:nth-child(1) {
            top: 0px;
        }

        #nav-icon1 span:nth-child(2) {
            top: 18px;
        }

        #nav-icon1 span:nth-child(3) {
            top: 36px;
        }

    #nav-icon1.open span:nth-child(1) {
        top: 18px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    #nav-icon1.open span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    #nav-icon1.open span:nth-child(3) {
        top: 18px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
.hide {
    display: none;
    visibility: hidden;
    height: 0;
}



.arrow-text {
    display: block;
    vertical-align: middle;
    font-size: 13px;
    vertical-align: middle;
}

.pagination-nav {
    display: inline-flex;
}


.pagination-num {
    --size: 32px;
    --margin: 6px;
    margin: 0 var(--margin);
    border-radius: 6px;
    background: rgba(33, 37, 41, 0.85);
    max-width: auto;
    min-width: var(--size);
    height: var(--size);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 6px;
    transition: 0.6s;
    text-decoration: none;
    color: white;
}

    .pagination-num.active {
        color: rgba(33, 37, 41, 0.85);
        box-shadow: 0 0 20px rgba(210, 244, 234, 0.6);
        background-color: rgba(210, 244, 234, 1);
    }

    .pagination-num:hover {
        color: rgba(33, 37, 41, 0.85);
        box-shadow: 0 0 20px rgba(210, 244, 234, 0.6);
        background-color: rgba(210, 244, 234, 1);
    }

.img-iniziali {
    --size: 25px;
    border-radius: 50%;
    background: green;
    width: var(--size);
    height: var(--size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: 300;
    font-size: 0.875em;
}

.img-iniziali-xl {
    --size: 150px;
    font-size: 90px;
    font-weight: 200;
}
.form-control-color ~ .form-color-label {
    transform: translateY(-0.75rem) translateX(.2rem) scale(.8);
    position: absolute;
    top: 0;
    color: rgba(0, 0, 0, .6);
    margin-bottom: 0;
    background-color: #ffffff;
}



/*----------------------------------------CARD CATEGORIE----------------------------------------*/

.custom-popover {
    --bs-popover-font-size: 0.75rem;
    --bs-popover-bg: var(--bs-dark);
    --bs-popover-body-padding-x: 0.75rem;
    --bs-popover-body-padding-y: 0.5rem;
    --bs-popover-body-color: white;
    --bs-popover-arrow-width: 1rem;
    --bs-popover-arrow-height: 0.5rem;
}

.cursor-pointer {
cursor:pointer;
}
.service-unavailable {
    background: linear-gradient(90deg, rgba(157,157,157,0.4) 0%, rgba(157,157,157,0.6) 100%);
    filter: grayscale(1);
    border: none;
}

.nav-pills {
    --bs-nav-pills-border-radius: 0.375rem;
    --bs-nav-pills-link-active-color: var(--grigiobtnlogin);
    --bs-nav-pills-link-active-bg: var(--verde);
}

    .nav-pills .nav-link {
        background: none;
        color: var(--bs-nav-pills-link-active-color);
        border: 0;
        border-radius: var(--bs-nav-pills-border-radius);
    }

        .nav-pills .nav-link:hover,
        .nav-pills .nav-link.active,
        .nav-pills .show > .nav-link {
            color: var(--bs-nav-pills-link-active-color);
            background-color: var(--bs-nav-pills-link-active-bg);
        }

.btn-text {
    position: relative;
    color: rgb(var(--bs-secondary-rgb));
    margin-right: 0.5rem;
    cursor: pointer;
    font-weight: 200;
    font-size: small;
}

    .btn-text.active {
        color: rgb(var(--bs-dark-rgb));
        font-weight: 400;
    }

    .btn-text:hover {
        color: rgb(var(--bs-dark-rgb));
        text-decoration: underline;
    }

/*    .btn-text.active:hover {
        cursor: default;
        text-decoration: none;
    }*/

.border-solid-1 {
    border:solid 1px;
}

.no-shadow {
    box-shadow:none;
}

.img-service-request {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.375rem;
    margin-right: 0.375rem;
}

.text-link {
    color: rgb(var(--bs-dark-rgb));
    text-decoration: none;
    font-weight: 300;
}

    .text-link:hover {
        font-weight: 400;
        text-decoration: underline;
    }

.btn-login.shadow-green {
    box-shadow: 0 0 20px rgba(var(--verde-rgb), 0.2);
}

.btn-login.shadow-danger {
    box-shadow: 0 0 20px rgba(var(--bs-danger-rgb), 0.2);
}
.popup-card-servizio-top {
    position: fixed;
    top: 5rem;
    right: 0;
    left: 240px;
/*    z-index:-1;*/
}
    /*.popup-card-servizio-top.show {
        position: fixed;
        top: 5rem;
        right: 0;
        left: 240px;*/
/*        z-index: 1;*/
    /*}*/
@media (max-width: 991.98px) {
    .popup-card-servizio-top.show,
    .popup-card-servizio-top {
        left: 0;
    }
        
}


.popup-card-servizio-top .service-unavailable {
    background: linear-gradient(90deg, rgba(157,157,157,1) 0%, rgba(157,157,157,1) 100%);
    filter: grayscale(1);
    border: none;
   
}


.text-gold {
    color: gold;
}

.text-silver {
    color: silver;
}

.text-bronze {
    color: #cd7f32;
}
.z-index-1 {
    z-index: 1;
}
.z-index-meno1 {
    z-index: -1;
}

