#ap .width-box {
    margin: 0 auto;
    max-width: 800px;
    padding-right: 55px !important;
    padding-left: 15px !important;
}

#ap header {
    color: white;
    background: #0c2b3c;
    padding: 25px 0;
}

#ap header .buttons-line {
    text-align: right;
}


#ap header h2 {
    color: white;
    font-size: 28px;
    padding: 25px 0;
    margin: 0;
}


#ap header .logout {
    margin: 0 auto;
    padding: 25px 65px 0 25px;
    max-width: 900px;
    text-align: right;
}

#ap h3 {
    font-size: 24px;
    color: #161b22;
}

#ap p {
    font-size: 18px;
    color: #0a0c0f;
    margin: 5px 0;
}

header .logout h2 {
    color: white;
}

.buttons-line a,
header .logout a,
.logout a {
    margin: 5px;
    display: inline-block;
    background: #51BEEB;
    border-radius: 50px;
    color: white;
    transition: all .25s ease;
    padding: 10px 20px;
    border: solid 1px #51BEEB;

}

.buttons-line a:hover,
header .logout a:hover,
.logout a:hover {
    background: #73cef5;
    color: #0e283a;
    border-color: #49afdb;
}

.buttons-line a.button-icon {
    background: none;
    border: none;
    font-size: 1.3em;
    padding: 10px;
    line-height: 1;
}

.buttons-line a.button-icon:hover {
    color: #51BEEB;
}


/************************************************** Accessi */
#ap .accessi {
    padding: 25px;
    padding-top: 0;
}

@media screen and (min-width:720px) {
    #ap .accessi {
        display: flex;
        gap: 25px;
    }

    #ap .accessi>div {
        flex-grow: 1;
        width: 0;
    }
}

#ap .accessi>div {
    margin-top: 25px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 4px 2px 7px #0000000a;
    position: relative;
    overflow: hidden;
}

#ap .accessi h3 {
    margin: 0;
}

#ap .accessi img {
    position: absolute;
    opacity: .3;

    width: 38%;
    right: 0;
    bottom: -15%;
    transform: rotate(-20deg);
}

#ap .accessi .tessera {
    background: #0C2B3C;
    color: white !important;
    border: solid 1px rgb(20, 20, 20);
}

#ap .accessi .tessera h3,
#ap .accessi .tessera p {
    color: white;
}

#ap .accessi .certificato-medico {
    border: solid 1px #eee;
}

#ap .accessi .redsquare {
    background: #fc6777;
    border-radius: 5px;
    color: #fff;
    font-size: 20px;
    margin-top: 25px;
    padding: 10px;
}

/************************************************** Accessi */
/************************************************** Abbonamenti */

#ap .abb-list {
    background: #E8EDEF;
    margin: 25px 0;
}

#ap .abb-list>div>div {
    padding: 25px;
}

#ap .abb-list table {
    width: 100%;
}

#ap .abb-list tbody tr {
    border-bottom: solid 1px #0C2B3C;
}

#ap .abb-list td {
    padding: 10px 0;
}

/************************************************** Abbonamenti */


/************************************************** Statistiche - Inizio */

#user-stats {
    transition: opacity .3s ease;
}

#stats-filters {
    background: #eaeef0;
    padding: 28px 20px;
}

#ccontenuto #pre-form {
    padding-left: 4px;
    font-size: 24pt;
    font-weight: bold;
    color: #5c6266;
}

#user-stats.loading {
    opacity: .2;
}

#ccontenuto #pre-form,
#ccontenuto #form {
    max-width: 860px;
    margin: 10px auto;
}

#ccontenuto #form {
    display: flex;
    align-items: flex-end;
    gap: 8px 10px;
    flex-wrap: wrap;
}

#ccontenuto #form>.break {
    flex-basis: 100%;
    height: 0;
}

#ccontenuto #form .input-element {}

#ccontenuto #form .input-row {
    display: flex;
    gap: 4px;
    background: #e1e2e3;
    border-radius: 12px;
}

#ccontenuto #form .input-row>button {
    border-radius: 6px;
}

#ccontenuto #form .input-row>button:first-child {
   border-radius: 12px 6px 6px 12px;
}

#ccontenuto #form .input-row>button:last-child {
   border-radius: 6px 12px 12px 6px;
}



#ccontenuto #form .input-element label {
    display: block;
    color: #5c6468;
    padding-left: 4px;
    margin-bottom: 2px;
}

#ccontenuto #form input,
#ccontenuto #form select,
#ccontenuto #form button {
    color: white;
    background: #51BEEB;
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
}

#ccontenuto #form button#stats-export,
#ccontenuto #form button#stats-update {
    background: #3b4e58;
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}

/************************************************** Statistiche - Fine */