div#loginWrapper {
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: center;
}
div#loginWrapper > form,
div#loginWrapper > form > table {
    margin: 0 auto;
}
span#registratilink {
    font-size: 19px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    color: #0d66c2;
    display: inline-block;
    margin-left: 10px;
    user-select: none;   /* Standard moderno */
    -webkit-user-select: none; /* Safari/Chrome */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
}
span#percheRegistrarsi {
    font-size: 16px;
    display: inline-block;
    margin-top: 20px;
}
input[type="submit"]#loggati {
    background-color: #0076BA;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 17px;
}
table#tablepasswordscordata {
    display: inline-block;
    margin: 0 auto;
}
td#passwordscordatawrapper {
    position: relative;
}
span#passwordscordata {
    font-size: 15px;
    color:#0d66c2;
    text-decoration: underline;
    display: block;
    position: absolute;
    top: 0;
    left: 120px;
    cursor: pointer;
    user-select: none;   /* Standard moderno */
    -webkit-user-select: none; /* Safari/Chrome */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
}
div#passwordscordatainputwrapper {
    text-align: left;
    line-height: 11px;
    margin-top: 14px;
    overflow-y: hidden;
    height:61px;
    max-height: 0px;
    transition: max-height 1.2s ease-out;
}
div#passwordscordatainputwrapper.opened {
    max-height: 61px;
}
div#passwordscordatainputwrapper span {
    font-size: 14px;
}
input#passwordscordatainput {
    display: inline-block;
    margin-left: 15px;
}
button#richiedipasswordscordata {
    display: inline-block;
    margin-left: 15px;
    margin-top: 5px;
    background-color: #0076BA;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
}

/* POPUP REGISTRAZIONE */
#PopUpBG {
    overflow-y: hidden;
}

.popupnoactive {
    width: 100vw;
    height: 2000px;
    position: fixed;
    z-index: 3000;
    background-image: url("../static/popupbg.png");
    background-repeat: repeat;
    opacity: 0.0;
    -webkit-transition: opacity 0.4s ease-in;
    -moz-transition: opacity 0.4s ease-in;
    transition: opacity 0.4s ease-in;
}

.popupactive {
    width: 100vw;
    height: 2000px;
    position: fixed;
    z-index: 3000;
    background-image: url("../static/popupbg.png");
    background-repeat: repeat;
    -webkit-transition: opacity 0.4s ease-in;
    -moz-transition: opacity 0.4s ease-in;
    transition: opacity 0.4s ease-in;
}

.popupnoactiveZindex1 {
    z-index: 1;
    width: 0px;
    height: 0px;
}

#PopUpInternalRegistrazione {
    width: 50%;
    min-width: 240px;
    padding: 0px 10px;
    box-sizing: border-box;
    height: 480px;
    position: relative;
    margin: 0px auto;
    background-color: #0076BA;
    border: solid 1px black;
    border-radius: 7px;
    color: white;
    transition: top 500ms;
    opacity: 1.0;
    -webkit-box-shadow: 10px 10px 38px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 38px -4px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 38px -4px rgba(0, 0, 0, 0.75);
    position: relative;
    padding: 20px;
}
#PopUpInternalRegistrazione input[type='text'],
#PopUpInternalRegistrazione input[type='password'],
#PopUpInternalRegistrazione select {
    outline: none;
    width:25%;
    height: 30px;
    min-width: 50px;
}
#PopUpInternalRegistrazione span {
    font-size: 18px;
    display: block;
    position: absolute;
    padding-top: 3px;
}
#PopUpInternalRegistrazione #tbNome {
    display: block;
    position: absolute;
    top: 120px;
    left: 20%;
}
#PopUpInternalRegistrazione #tbNome + span {
    top: 95px;
    left: 20%;
}
#PopUpInternalRegistrazione #tbCognome {
    display: block;
    position: absolute;
    top: 120px;
    left: 60%;
}
#PopUpInternalRegistrazione #tbCognome + span {
    top: 95px;
    left: 60%;
}
#PopUpInternalRegistrazione #tbUsername {
    display: block;
    position: absolute;
    top: 180px;
    left: 20%;
}
#PopUpInternalRegistrazione #tbUsername + span {
    top: 155px;
    left: 20%;
}
#PopUpInternalRegistrazione #tbCitta {
    display: block;
    position: absolute;
    top: 180px;
    left: 60%;
}
#PopUpInternalRegistrazione #tbCitta + span {
    top: 155px;
    left: 60%;
}
#PopUpInternalRegistrazione #tbEmail {
    display: block;
    position: absolute;
    top: 240px;
    left: 20%;
}
#PopUpInternalRegistrazione #tbEmail + span {
    top: 215px;
    left: 20%;
}
#PopUpInternalRegistrazione #tbToken {
    display: block;
    position: absolute;
    top: 240px;
    left: 60%;
}
#PopUpInternalRegistrazione #tbToken + span {
    top: 215px;
    left: 60%;
}
#PopUpInternalRegistrazione #gruppoStrumenti {
    display: block;
    position: absolute;
    top: 300px;
    left: 20%;
}
#PopUpInternalRegistrazione span#spanStrumento {
    top: 275px;
    left: 20%;
}
#PopUpInternalRegistrazione #buttonRegistrati {
    display: block;
    position: absolute;
    top:375px;
    left:30%;
    width:50%;
    min-width: 100px;
    background-color: #33BBEE;
    color:white;
    font-size: 21px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}


.ChiudiPopUp {
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    color: #BB3333;
    font-size: 19px;
    text-align: center;
    font-weight: bold;
    background-color: white;
    padding-top: 2px;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    margin-top: 10px;
    box-sizing: border-box;
    border-radius: 50px;
    border: solid 2px black;
}

.PopUpInternalClosed {
    top: -500px;
}

.PopUpInternalOpened {
    top: 15px;
}

/* FINE POPUP REGISTRAZIONE */


@media screen and (max-width: 960px) {

    div#loginWrapper {
        margin-top: 160px;
    }

}