﻿/*Risolve il bug di Bootstrapt della Modalina*/
body {
    padding-right: 0 !important
}

.card-container {
    padding: 50px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    background-color: rgba(255,255,255,.48);
    border-radius: 3em;
    border: 2px solid rgba(255,255,255,.1);
    background-clip: padding-box;
    box-shadow: 10px 10px 10px rgba(46, 54, 68, 0.03);
    min-width: 1200px;
    max-width: 90%;
    margin: 2% auto 2% auto;
}

.card-center {
    display: inline-block;
    padding: 50px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    background-color: rgba(255,255,255,.48);
    border-radius: 3em;
    border: 2px solid rgba(255,255,255,.1);
    background-clip: padding-box;
    box-shadow: 10px 10px 10px rgba(46, 54, 68, 0.03);
}

.wrap {
    text-align: center;
    width: 100%;
}

label {
    font-weight: 700;
    margin-bottom:0!important;
}

.left {
    float: left;
    max-width: 15%;
}

.right {
    float: right;
    margin-top: 8px;
    margin-right: 15px;
    position: relative;
    max-width: 20%;
}

.myrettangolo {
    border-color: black !important;
    border: 1px solid black;
    border-radius: 0.3rem;
}

legend {
    font-size: 14px !important;
    font-weight: bold;
}

.pField-2 {
    padding-top: 0 !important;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
    padding-bottom: .5rem !important;
}

.borderField {
    border: 1px solid black !important;
}


.custom-btn {
    height: 40px;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255,255,255,.5), 7px 7px 20px 0px rgba(0,0,0,.1), 4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
}

.bottoneannulla {

    background: linear-gradient(0deg, #009E6F, rgb(66 212 146) 100%) !important;
    border: none;
    align-items: center;
    align-self: center;
}

    .bottoneannulla:active {
        box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5), -4px -4px 6px 0 rgba(116, 125, 136, .5), inset -4px -4px 6px 0 rgba(255,255,255,.2), inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
    }

.bottoneindietro {

    background: linear-gradient(0deg, #9b870c, rgb(255 204 0) 100%) !important;
    border: none;
    align-items: center;
    align-self: center;
}

    .bottoneindietro:active {
        box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5), -4px -4px 6px 0 rgba(116, 125, 136, .5), inset -4px -4px 6px 0 rgba(255,255,255,.2), inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
    }

.bottoneconferma {
    background: linear-gradient(0deg, #0a2576, rgb(0 119 204) 100%) !important;
    border: none;
    align-items: center;
    align-self: center;
}

    .bottoneconferma:active {
        box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5), -4px -4px 6px 0 rgba(116, 125, 136, .5), inset -4px -4px 6px 0 rgba(255,255,255,.2), inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
    }

.bottoneelimina {
    display: inline-flex;
    background: linear-gradient(0deg, #8A0303, rgb(255 24 24) 100%) !important;
    border: none;
    align-items: center;
    justify-content: center;
    color: white !important;
}

    .bottoneelimina:active {
        box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5), -4px -4px 6px 0 rgba(116, 125, 136, .5), inset -4px -4px 6px 0 rgba(255,255,255,.2), inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
    }


.w-30 {
    width: 137px;
    height: 30px;
}

.center {
    text-align: left;
    margin: 0 auto !important;
    display: inline-block;
    max-width: 65%;
}

html {
    font-family: 'Roboto', sans-serif !important;
}

h5 {
    color: #0e20b5;
}

h2 {
    color: black;
    font-weight: 500;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
    font-size: 100px;
}

.fa-people-group,
.fa-id-card,
.fa-scale-balanced,
.fa-whatsapp,
.fa-cash-register,
.fa-power-off {
    color: #0e20b5;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.text-danger {
    color: #dc3545 !important;
    font-size: 12px !important;
}

a {
    color: #3073ab !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.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;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.nav-link {
    display: block;
    color: #3073ab;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.navbar:hover {
    color: #0e20b5 !important;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
#welcome {
    font-weight: bolder;
}

.btn {
    font-size: 1.2rem !important;
    color: #0e20b5 !important;
}

.altezza {
    height: 80% !important;
}

.foto {
    width: 86%;
}

.dropdown-toggle:hover {
    color: #0e20b5;
}

nav .wrapper {
    position: relative;
    max-width: 1300px;
    padding: 0px 30px;
    height: 70px;
    line-height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo_app {
    display: flex;
    justify-content: center;
}

.wrapper .logo a {
    color: #f2f2f2;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
}

.nav-links li {
    list-style: none;
}

    .nav-links li a {
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        padding: 9px 15px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

.nav-links .drop-menu {
    position: absolute;
    background: gray;
    width: 180px;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    font-weight: 400;
    border-radius: 5px;
    font-size: 18px;
}

.mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 30px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
}

    .mega-box .content {
        box-shadow: none;
        flex-direction: column;
        padding: 20px 20px 0 20px;
        background: #242526;
        padding: 25px 20px;
        display: flex;
        width: 100%;
        justify-content: space-between;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

        .mega-box .content .row {
            width: 100%;
            margin-bottom: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            line-height: 45px;
        }

.content .row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.content .row header {
    color: #fad961;
    font-size: 20px;
    font-weight: 500;
}

.content .row .mega-links {
    border-left: 0px;
    padding-left: 15px;
    margin-left: -40px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.row .mega-links li {
    padding: 0 20px;
    margin: 0;
}

    .row .mega-links li a {
        padding: 0px;
        padding: 0 20px;
        color: #d9d9d9;
        font-size: 17px;
        display: block;
    }

.wrapper .btn {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
}

    .wrapper .btn.close-btn {
        position: absolute;
        right: 30px;
        top: 10px;
    }

.wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #242526;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #242526;
}

::-webkit-scrollbar-thumb {
    background: #3a3b3c;
}

#menu-btn:checked ~ .nav-links {
    left: 0%;
}

#menu-btn:checked ~ .btn.menu-btn {
    display: none;
}

#close-btn:checked ~ .btn.menu-btn {
    display: block;
}

.nav-links li {
    margin: 15px 10px;
}

    .nav-links li a {
        padding: 0 20px;
        display: block;
        font-size: 20px;
    }

.nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
}

#showDrop:checked ~ .drop-menu,
#showMega:checked ~ .mega-box {
    max-height: 100%;
}

.nav-links .desktop-item {
    display: none;
}

.nav-links .mobile-item {
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .nav-links .mobile-item:hover {
        background: #3a3b3c;
    }

.drop-menu li {
    margin: 0;
}

.mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
}

    .mega-box .content .row {
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

        .mega-box .content .row:nth-child(1),
        .mega-box .content .row:nth-child(2) {
            border-top: 0px;
        }

.content .row .mega-links {
    border-left: 0px;
    padding-left: 15px;
}

.row .mega-links li {
    margin: 0;
}

.content .row header {
    font-size: 19px;
}

nav input {
    display: none;
}

.form-control {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 0.25rem !important;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out !important;
}

.form-select {
    display: inline;
    width: 100% !important;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    background-color: #fff;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#table-scroll tbody td {
    font-size: 13px !important;
}

.body-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 0 30px;
}

    .body-text div {
        font-size: 45px;
        font-weight: 600;
    }

        .body-text div a {
            text-decoration: none;
            color: #fad961;
            background-color: #242526;
            border-radius: 15px;
            padding: 2px;
            font-size: 35px;
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        }

#menu-btn:checked ~ .nav-links {
    left: auto !important;
    right: 0px;
}

.contenitore {
    position: absolute;
    top: 450px;
    left: 400px;
    background-color: wheat;
    max-height: 500px;
    max-width: 500px;
}

.main-menu:hover,
nav.main-menu.expanded {
    width: 180px;
    overflow: visible;
}

.main-menu {
    background: #0070f5bd;
    position: fixed;
    top: 80px;
    bottom: 0;
    height: 87%;
    left: 7px;
    width: 60px;
    overflow: hidden;
    -webkit-transition: width 0.05s linear;
    transition: width 0.05s linear;
    z-index: 1000;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .main-menu > ul {
        margin: 7px 0;
    }

    .main-menu li {
        position: relative;
        display: block;
        width: 180px;
        margin: 20px 0;
    }

        .main-menu li > a {
            position: relative;
            display: table;
            border-collapse: collapse;
            border-spacing: 0;
            color: #fff;
            font-family: arial;
            font-size: 13px;
            text-decoration: none;
            -webkit-transition: all 0.1s linear;
            transition: all 0.1s linear;
        }

    .main-menu .nav-text {
        position: relative;
        display: table-cell;
        vertical-align: middle;
        width: 190px;
        font-family: "Titillium Web", sans-serif;
    }

    .main-menu > ul.logout {
        position: absolute;
        left: 0;
        bottom: 0;
    }

a:hover,
a:focus {
    text-decoration: none;
}

nav ul,
nav li {
    outline: 0;
    margin: 0;
    padding: 0;
}

.main-menu li:hover > a {
    color: #000;
    background-color: #fad961;
    margin: 5px;
    border-radius: 5px;
}

.main-menu li .fa {
    color: white;
}

.main-menu li:hover .fa {
    color: #000;
}

.main-menu .logout li:hover > a {
    color: #000;
    background-color: tomato;
}

.main-menu .logout li .fa {
    color: tomato;
}

.main-menu .logout li:hover .fa {
    color: #000;
}

.credit {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #000;
    font-weight: 900;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}

    .credit a {
        text-decoration: none;
        color: #202124;
        font-weight: bold;
    }

.left_navbar {
    position: fixed;
    left: 0;
    top: 0;
    margin: 0 !important;
    border-radius: 0 !important;
    height: 100%;
    width: 100px;
    box-shadow: none !important;
}


.tooltip_nav {
    font-size: 1rem;
    color: #3073ab;
    font-weight: 400;
}

.nav-link:hover .tooltip_nav {
    visibility: revert;
}

/*NAVBAR TOP*/
.menu_dropright {
    display: none;
    left: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border: none;
}

.dropdown-menu {
    border: none;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    max-height: min-content; 
    overflow-y: auto; 
    overflow-x:hidden;
    list-style-type: none;
}

.dropright {
    position: relative;
}

    .dropright:hover .menu_dropright {
        display: block;
    }

.left_item {
    border: 2px solid #8fb3e3;
    border-radius: 15px;
}

.bg_blue {
    background-color: #4186e2;
}

.left_navbar li a:hover {
    text-decoration: underline;
}

#sub_dropdown {
    display: none;
    height:27.5vh;
}

#bottoneIndietro {
    background: linear-gradient(0deg, #eb5f5f, rgb(175 10 10) 100%);
    border: none;
    align-items: center;
    align-self: center;
}

.list-unstyled > li:hover #sub_dropdown {
    display: block;
    position: absolute;
    background-color: white;
    left: 130px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    bottom: 1px;
}

.top_nav li:hover {
    background-color: rgba(79, 78, 78, 0.153);
}

.gradient-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(#58d29d, #3073ab, #0e20b5) !important;
}

.dropdown-utente {
    display: flex;
    align-items: flex-end;
    background: transparent;
    border: none;
    color: red
}

.navbar-Container {
}

/*Dimensione e attiviazione scrollbar nel renderbody*/
.div-renderbody {
    height: 93.3vh;
    width: 100%;
    z-index:1000;
    overflow: auto;
}

    /*Rende invisibile la scroll*/
    .div-renderbody::-webkit-scrollbar {
        display: none;
    }

.div-utente {
    display: inline-flex;
    position: absolute;
    right: 2%;
    top: 26%;
}

.div-menu {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.navbar {
    display: block;
}

body {
    overflow: hidden !important;
}


.no-spin::-webkit-inner-spin-button, .no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

form-control.no-spin {
    -moz-appearance: textfield !important;
}


/* Nascondi la modale per default */
#modalStampa {
    display: none;
}

 /*Stile per la modale */
#modalStampa {
    display: none;
    position: absolute;
    left: 2%;  
    top: 14%;  
    width: 400px; /* Larghezza della modale */
    max-width: 90%; /* Larghezza massima della modale*/
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;  /*Z-index per assicurarsi che la modale sia in primo piano */
}

 /*Stile per il contenuto della modale */
.modal-content {
    padding: 20px;
}

 /*Stile per il pulsante di chiusura */
.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

 /*Stile per il footer della modale*/ 
.modal-footer {
    border-top: 1px solid #ccc;
    padding: 10px 20px;
    text-align: right;
}

.modal-draggable {
    cursor: move;
}

.modal-resizable .modal-content {
    overflow: auto;
}

/* Stile per il Modal */
.modal-dialog {
    max-width: 500px;
    margin: 30px auto; 
}

.modal-content {
    border-radius: 10px;
    background: #f9f9f9; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

.modal-header {
    background-color: #007bff; 
    color: white; 
    border-bottom: none; 
    padding: 15px 20px;
    border-radius: 10px 10px 0 0; 
    text-align: center;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: white;
}

.close {
    color: white;
    font-size: 1.5rem;
    opacity: 1;
    border: none;
}

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.d-flex-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.d-flex-btn input,
.d-flex-btn select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .d-flex-btn input:focus,
    .d-flex-btn select:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

select {
    background-color: white;
}

    select option {
        padding: 10px;
    }

.modal-footer {
    border-top: none;
    padding: 20px;
    text-align: center;
}

.btn {
    font-size: 1rem;
    padding: 10px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary {
    background-color: #007bff;
    color: white;
    border: none;
}

    .btn-secondary:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }

#close-btn-regitration {
    background-color: #f1f1f1;
    color: #333;
    margin: 10px;
}

    #close-btn-regitration:hover {
        background-color: #ccc;
    }


#submit-btn-regitration {
    background-color: #28a745;
    color: white;
    margin: 10px;
}

    #submit-btn-regitration:hover {
        background-color: #218838;
    }


@media screen and (max-width: 1300px) {

    #pxfd-appworld {
        padding: 1.5rem 1rem !important;
    }

    .responsive-img {
        height: 235px !important;
    }
}

/* Inizio Gestione MultiPalestre Settembre 2025 Maurizio Traversini*/

.logo-select-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 170px;
    margin-right: 2rem;
}

.combo-palestra {
    min-width: 170px;
    height: 32px; /* più basso */
    border-radius: 6px;
    border: 1px solid #2ba3d6;
    background: #f6fcff;
    color: #194a60;
    font-size: 15px; /* più piccolo */
    font-weight: 500;
    padding: 0 0.8em;
    margin-top: 0.1rem;
    box-shadow: 0 2px 8px rgba(34, 164, 204, 0.09);
    transition: border-color 0.15s;
    line-height: 1.2; /* più compatto */
}

    .combo-palestra:focus {
        border-color: #42b9d0;
        outline: none;
    }

.center {
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
}

.right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 2rem;
}

/* Fine Gestione MultiPalestre Settembre 2025 Maurizio Traversini*/
