::-webkit-scrollbar {background-color:#000000; width:6px;}
::-webkit-scrollbar-track {background-color:#000000;}
::-webkit-scrollbar-track-piece {background-color:#000000;}
::-webkit-scrollbar-thumb {background-color:#cecece;}
::-webkit-scrollbar-thumb:hover {background-color:#cecece;}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    height: 100%;
}
body {
    background-image: url("https://farstrangerthings.altervista.org/themes/iu_desk/imgs/test-sfondo/AdobeStock_225124432.jpeg");
    background-size: cover;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 15px !important;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: -1;
}

.navigator {
    text-align: center;
    letter-spacing: .05em;
    font-size: 11px;
    font-weight: 500;
}
.btm {
    padding: 6px;
    background-color: rgba(0, 0, 0, .9);
    color: #736d63;
}
.tp {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}
.tp::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 20px;
    background-color: rgba(0, 0, 0, 0.9);
}

.link-reel {
    display:flex;
    flex-direction:row;
    gap:20px;
    margin:0 auto;
    align-items:center;
    justify-content:center;
}
.link-reel a,
.link-reel a:visited,
.link-reel a:hover {
    width: 60px;
    height: 68px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    z-index:2;
}
.link-reel a img,
.link-reel a:visited img,
.link-reel a:hover img {
    display: block;
    width: 40px;
    height: 40px;
    border: 3px solid #ebc2cd;
    border-radius: 50%;
    background-color: #f5f5f5;
    margin:10px auto;
}
a.city {
    background-color:#7d0026;
}
a.frat {
    background-image:url('https://i.imgur.com/GuWQLWS.png');
}

.case-centrale {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-hp {
    width: 350px;
    height: 157.5px;
    background-image: url('https://i.imgur.com/dWhCR3i.png');
    background-size: 100% 100%;
    cursor:pointer;
    margin-top:86px;
    margin-bottom:85px;
}
@media (min-width: 767px) {
    .logo-hp {
        width: 700px;
        height: 315px;
        margin-top:0px;
        margin-bottom:13px;
    }
}
.logo-hp.hidden {
    display: none;
}

.login {
    display: none;
}

.login.active {
    display: block;
    background-color:white;
    padding:10px;
    border-radius:10px;
    box-shadow:0 0 10px black;
    width:300px;
    margin:0 auto;
}
.login.active .button-flex,
.recupero.active .button-flex {
    display:flex;
    flex-direction:row;
    align-items: flex-end;
    justify-content:flex-end;
    width:100%;
    box-sizing:border-box;
}

.button-flex button {
    padding:6px;
    background-color:#b8002f;
    border-radius:6px;
    color:white;
    border:none;
    font-size:10px;
    cursor:pointer;
}

.login.active form {
    margin-top:10px;
}
.login.active form input[type="text"] {
    height: 34px;
    border-radius: 6px;
    width: 100%;
    border: 0;
    padding: 0 12px;
    margin-bottom: 4px;
    box-sizing: border-box;
    border: 1px solid #D9D9D9;
}
.login.active form input[type="password"] {
    height: 34px;
    border-radius: 6px;
    width: 100%;
    border: 0;
    padding: 0 12px;
    margin-bottom: 4px;
    box-sizing: border-box;
    border: 1px solid #D9D9D9;
}
.login.active form select {
    height: 34px;
    border-radius: 6px;
    width: 100%;
    border: 0;
    padding: 0 12px;
    margin-bottom: 4px;
    box-sizing: border-box;
    border: 1px solid #D9D9D9;
}
.login.active form input[type="submit"] {
    text-transform: uppercase;
    font-family: "triplex-serif", serif;
    color: white;
    font-weight: 700;
    font-size: 21px;
    background: #B8002F url(img/icon-send.svg) no-repeat 164px center;
    padding-right: 40px;
    height: 42px;
    border-radius: 6px;
    width: 100%;
    padding: 0 12px;
    margin-bottom: 4px;
    box-sizing: border-box;
    border: 1px solid grey;
}
.login.active form .popup {
    display: flex;
    align-items: center;
    justify-content:center;
    margin: 4px 0 9px 0;
    gap: 5px;
    font-weight: 300;
    width:100%;
}

.login.active label {
    font-family: "lorimer-no-2", sans-serif;
    text-transform:uppercase;
    font-weight:200;
    display:block;
    text-align:center;
}

.recupero {
    display:none;
}
.recupero.active {
    display: block;
    width:300px;
    height:318px;
    padding: 10px;
    border-radius:10px;
    background: #fff;
    border-radius: 8px;
    box-shadow:0 0 10px black;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    margin:0 auto;
}

.tools {
    padding: 6px;
    background-color: rgba(0, 0, 0, .9);
    display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    gap:5px;
    align-items:center;
    justify-content:center;
    width:350px;
    margin:10px auto;
}
@media (min-width: 767px) {
    .tools {
        width:600px;
        gap:20px;
    }
}
.tools a,
.tools a:hover,
.tools a:visited {
    color: #736d63;
    font-family: "lorimer-no-2", sans-serif;
    text-transform:uppercase;
    font-weight:200;
    font-size:10px;
}
.tools a b,
.tools a:hover b,
.tools a:visited b {
    color:#cecece;
}
@media (min-width: 767px) {
    .tools a,
    .tools a:hover,
    .tools a:visited {
        font-size:14px;
    }
}

.tools a span.normal,
.tools a:hover span.normal,
.tools a:visited span.normal {
    color:#cecece;
}
.tools a span.impo,
.tools a:hover span.impo,
.tools a:visited span.impo {
    color:#B8002F;
}

form.psw-prs label {
    font-family: "lorimer-no-2", sans-serif;
    text-transform:uppercase;
    font-weight:200;
    display:block;
    text-align:center;
}
form.psw-prs input[type="text"] {
    height: 34px;
    border-radius: 6px;
    width: 100%;
    border: 0;
    padding: 0 12px;
    margin-bottom: 4px;
    box-sizing: border-box;
    border: 1px solid #D9D9D9;
}
form.psw-prs input[type="submit"] {
    text-transform: uppercase;
    font-family: "triplex-serif", serif;
    color: white;
    font-weight: 700;
    font-size: 21px;
    background-color: #B8002F;
    padding:12px;;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 4px;
    box-sizing: border-box;
    border: 1px solid grey;
}

.form_error {
    display: inline-block;
    padding: 8px;
    text-align: center;
    color: #670005;
    margin: 5px auto 5px;
    border: 1px solid;
    border-radius: 14px;
    background-color: #f787a3;
}

.form_success {
    display: inline-block;
    padding: 8px;
    text-align: center;
    color: #263a2e;
    margin: 5px auto 5px;
    border: 1px solid;
    border-radius: 14px;
    background-color: #87ffb4;
}

.cs-news {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 1px solid grey;
    width:100%;
    box-sizing:border-box;
    height:300px;
    background-color: rgba(0, 0, 0, 0.9);
    color:#cecece;
    padding:20px;
    z-index:1;
}
@media (min-width: 767px) {
    .cs-news {
        width:500px;
    }
}
.cs-news > div {
    margin-top:40px;
    height:205px;
    padding-right:4px;
    overflow:auto;
}

.btm a, 
.btm a:visited,
.btm a:hover {
    color:#cecece;
}