body {
    background: #0099cc;
    font-family: sans-serif;
    font-size: 10px;
}

a:link,
a:visited,
a:link:active {
    text-decoration: none;
    cursor: auto;
}

form {
    background: #fff;
    padding: 4em 4em 2em;
    max-width: 800px;
    margin: 50px auto 0;
    margin-bottom: 25px;
    box-shadow: 0 0 1em #222;
    border-radius: 2px;
}

form h2 {
    margin: 0 0 25px 0;
    padding: 10px;
    text-align: center;
    font-size: 30px;
    color: #666666;
    border-bottom: solid 1px #e5e5e5;
}

form h3 {
    margin: 50px;
    0 0 0;
    text-align: center;
    font-size: 30px;
    color: #666666;
    border-bottom: solid 1px #e5e5e5;
}

form h4 {
    margin: 50px;
    0 0 0;
    text-align: center;
    font-size: 18px;
    color: #666666;
    border-bottom: solid 1px #e5e5e5;
}

form p {
    margin: 0 0 3em 0;
    position: relative;
}

form input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    outline: none;
    margin: 0;
}

form input[type="text"],
form input[type="password"],
{
    background: #fff;
    border: 1px solid #dbdbdb;
    font-size: 1em;
    padding: .8em .5em;
    border-radius: 2px;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
    background: #fff;
}

form span {
    display: block;
    background: #F9A5A5;
    padding: 2px 5px;
    color: rgb(196, 52, 52);
}

form input[type="submit"] {
    background: #f26722;
    /*colore box start*/
    /*colore scritta quando sto sopra*/
    border: none;
    color: #fff;
    /*colore scritta fisso*/
    cursor: pointer;
    display: block;
    font-size: 2em;
    line-height: 1.6em;
    margin: 2em 0 0;
    outline: none;
    padding: .8em 0;
}


}
form label {
    position: absolute;
    left: 8px;
    top: 12px;
    color: #999;
    font-size: 16px;
    display: inline-block;
    padding: 4px 10px;
    font-weight: 400;
    background-color: rgba(255, 255, 255, 0);
    -moz-transition: color 0.3s, top 0.3s, background-color 0.8s;
    -o-transition: color 0.3s, top 0.3s, background-color 0.8s;
    -webkit-transition: color 0.3s, top 0.3s, background-color 0.8s;
    transition: color 0.3s, top 0.3s, background-color 0.8s;
}
form label.floatLabel {
    top: -14px;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    color: black;
}

/* Personalizza tutto */
.container {
    display: block;
    position: relative;
    padding-left: 50px;
    margin-left: 40px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Quadrato bianco check mark */
.checkmark {
    position: absolute;
    top: 0;
    left: 0px;
    height: 31px;
    width: 30px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a orange background */
.container input:checked~.checkmark {
    background-color: #f26722;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 13px;
    top: 9px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
