﻿: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-verde {
background-color:var(--verde);
}
.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;
}


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

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


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



.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: 1.75rem;
    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.875rem;
}

.img-iniziali-xl {
    --size: 150px;
    font-size: 90px;
    font-weight: 200;
}
.img-iniziali-front {
    --size: 2rem;
}
.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;
}

.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;
}

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

.cardcategory {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    min-height: 200px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}

.cardcategory-sm {
    min-height: 150px;
}

    .cardcategory-sm .card-body,
    .cardcategory-sm .card-footer {
        padding: 0;
    }
    /*
@media (max-width: 768px) {
    .card {
        min-height: 250px;
    }
}

@media (max-width: 420px) {
    .card {
        min-height: 250px;
    }
}*/

    .cardcategory.card-has-bg {
        transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
        background-size: 120%;
        background-repeat: no-repeat;
        background-position: center center;
    }

        .cardcategory.card-has-bg:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: inherit;
            -webkit-filter: grayscale(1);
            -moz-filter: grayscale(10%);
            -ms-filter: grayscale(10%);
            -o-filter: grayscale(10%);
            filter: grayscale(10%);
        }

        .cardcategory.card-has-bg:hover {
            transform: scale(0.98);
            box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
            background-size: 130%;
            transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
        }

            .cardcategory.card-has-bg:hover .card-img-overlay {
                transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
                background: linear-gradient(0deg, rgba(255,255,255, 0) 0%, rgba(255,255,255, 0.3) 100%);
            }

    .cardcategory .card-footer {
        background: none;
        border-top: none;
    }

        .cardcategory .card-footer .media img {
            border: solid 3px rgba(255, 255, 255, 0.3);
        }


    .cardcategory .card-body {
        transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    }

    .cardcategory:hover {
        cursor: pointer;
        transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    }

        .cardcategory:hover .card-body {
            margin-top: 5px;
            transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
        }

    /*    .cardcategory .card-img-overlay {
        transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
        background: #234f6d;
        background: linear-gradient(0deg, rgba(35, 79, 109, 0.3785889355742297) 0%, rgba(69, 95, 113, 1) 100%);
    }*/
    .cardcategory .card-img-overlay {
        transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
        /*                background: #234f6d;*/
        /*                        background: rgba(0,0,0,0.35);*/
        /*                        background: linear-gradient(0deg, rgba(35, 79, 109, 0.3785889355742297) 0%, rgba(69, 95, 113, 1) 100%);*/
        background: linear-gradient(rgba(0,0,0,0.6) 0%,rgba(255,255,255,0) 100%)
    }


.category-unavailable {
    filter: grayscale(1);
    border: none;
    transform: none;
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center center;
}

    .category-unavailable.cardcategory:hover .card-body {
        margin-top: 0;
    }

.cardcategory.category-unavailable > .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    background: linear-gradient(0deg, rgba(35, 79, 109, 0.3785889355742297) 0%, rgba(69, 95, 113, 1) 100%) !important;
}

.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;
}

@media (max-width: 991.98px) {
    .popup-card-servizio-top {
        left: 0;
    }
}

.popup-card-servizio-top.show {
    position: fixed;
    top: 5rem;
    right: 0;
    left: 240px;
    z-index: 1;
}

.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;
}

/*@keyframes lighten-background {
    0% {
        background-color: rgba(0, 0, 0, 1);*/ /* impostare il valore di alpha a 1 all'inizio dell'animazione */
/*}

    100% {
        background-color: rgba(255, 255, 255, 0);*/ /* impostare il valore di alpha a 0 alla fine dell'animazione */
/*}
}*/
.cursor-default {
    cursor: default !important;
}



.form-outline {
    position: relative;
    width: 100%
}

    .form-outline .form-control {
        /*        border:none;*/
    }

        .form-outline .form-control ~ .form-label {
            position: absolute;
            top: 0;
            max-width: 90%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            left: .75rem;
            padding-top: .37rem;
            pointer-events: none;
            transform-origin: 0 0;
            transition: all .2s ease-out;
            color: rgba(0, 0, 0, .6);
            margin-bottom: 0
        }

        .form-outline .form-control.is-valid.active ~ .form-label,
        .form-outline .form-control.is-valid:focus ~ .form-label {
            background-color: var(--backcolor-formlabel);
            color: #198754;
            padding-left: 0.25em;
            padding-right: 0.25em;
        }

        .form-outline .form-control.is-invalid.active ~ .form-label,
        .form-outline .form-control.is-invalid:focus ~ .form-label {
            background-color: var(--backcolor-formlabel);
            color: #dc3545;
            padding-left: 0.25em;
            padding-right: 0.25em;
        }

        .form-outline .form-control.active ~ .form-label,
        .form-outline .form-control:focus ~ .form-label {
            transform: translateY(-1rem) translateY(.1rem) scale(.8)
        }

        .form-outline .form-control.active ~ .form-label {
            background-color: var(--backcolor-formlabel);
            padding-left: 0.25em;
            padding-right: 0.25em;
        }

        .form-outline .form-control:focus ~ .form-label {
            background-color: var(--backcolor-formlabel);
            color: #3b71ca;
            padding-left: 0.25em;
            padding-right: 0.25em;
        }

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

    .form-outline .form-select:focus ~ .form-label {
        background-color: var(--backcolor-formlabel);
        color: #3b71ca;
    }

    .form-outline .form-select.is-valid ~ .form-label,
    .form-outline .form-select.is-valid:focus ~ .form-label {
        background-color: var(--backcolor-formlabel);
        color: #198754;
        padding-left: 0.25em;
        padding-right: 0.25em;
    }

    .form-outline .form-select.is-invalid ~ .form-label,
    .form-outline .form-select.is-invalid:focus ~ .form-label {
        background-color: var(--backcolor-formlabel);
        color: #dc3545;
        padding-left: 0.25em;
        padding-right: 0.25em;
    }
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.btn-label-toggle {
    padding: .25rem .5rem;
    color: #000;
    background-color: transparent;
}

    .btn-label-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='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-label-toggle[aria-expanded="true"]::before {
        transform: rotate(90deg);
    }
.dropdown-toggle-front::after {
    width: 1.25em;
    margin-left: 0.375rem;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}