.testo_registrazione {
	 font: 100%/2 Georgia; 
}
.form-reg {
    font-family: Georgia, 'Ubuntu', 'Lato', sans-serif;
    font-weight: 400;
    /* Size and position */
    width: 400px;
    position: relative;
    margin: 8px auto 10px;
    padding:12px;
    overflow: hidden;

    /* Styles */
    background: #111; 
    border-radius: 0.4em;
    border: 1px solid #191919;
    box-shadow: 
        inset 0 0 2px 1px rgba(255,255,255,0.08), 
        0 16px 10px -8px rgba(0, 0, 0, 0.6);
}
.form-reg label {
    /* Size and position */
    width: 100%;
    float: left;
    padding-top: 6px;

    /* Styles */
    color: #ffff00;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 0 #000;
    text-indent: 10px;
    font-weight: 700;
    cursor: pointer;
}
.form-reg input[type=name],
.form-reg input[type=surname],
.form-reg input[type=username],
.form-reg input[type=password],
.form-reg input[type=email] {
    /* Size and position */
    width: 100%;
    float: left;
    padding: 5px 5px;
    margin-bottom: 5px;
    font-size: 13px;

    /* Styles */
    background: linear-gradient(#1f2124, #27292c);    
    border: 1px solid #000;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.1);
    border-radius: 3px;

    /* Font styles */
    font-family: Georgia, 'Ubuntu', 'Lato', sans-serif;
    color: #fff;

}
.form-reg input[type=name]:hover,
.form-reg input[type=surname]:hover,
.form-reg input[type=username]:hover,
.form-reg input[type=password]:hover,
.form-reg input[type=email]:hover,
.form-reg label:hover ~ input[type=name],
.form-reg label:hover ~ input[type=surname],
.form-reg label:hover ~ input[type=username],
.form-reg label:hover ~ input[type=password],
.form-reg label:hover ~ input[type=email] {
    background: #27292c;
}
.form-reg input[type=name]:focus,
.form-reg input[type=surname]:focus,
.form-reg input[type=username]:focus,
.form-reg input[type=password]:focus,
.form-reg input[type=email]:focus, {
    box-shadow: inset 0 0 2px #000;
    background: #494d54;
    border-color: #51cbee;
    outline: none; /* Remove Chrome outline */
}

.form-reg input[type=submit] {
    /* Width and position */
    width: 100%;
    padding: 6px 10px;
    margin-top: 8px;
  
    /* Styles */
    border: 1px solid #0273dd; /* Fallback */
    border: 1px solid rgba(0,0,0,0.4);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 10px 10px rgba(255,255,255,0.1);
    border-radius: 3px;
    background: #1040b9;
    cursor:pointer;
  
    /* Font styles */
    font-family: Georgia, 'Ubuntu', 'Lato', sans-serif;
    color: #ffff00;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.8);
}

.form-reg input[type=submit]:hover { 
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.form-reg input[type=submit]:active { 
    background: #287db5;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.6);
    border-color: #000; /* Fallback */
    border-color: rgba(0,0,0,0.9);
}

.no-boxshadow .form-reg input[type=submit]:hover {
    background: #2a92d8;
}
/* Gradient line */
.form-reg:after {
    /* Size and position */
    content: "";
    height: 1px;
    width: 33%;
    position: absolute;
    left: 20%;
    top: 0;

    /* Styles */
    background: linear-gradient(left, transparent, #444, #b6b6b8, #444, transparent);
}

/* Small flash */
.form-reg:before {
    /* Size and position */
    content: "";
    width: 8px;
    height: 5px;
    position: absolute;
    left: 34%;
    top: -7px;
    
    /* Styles */
    border-radius: 50%;
    box-shadow: 0 0 6px 4px #fff;
}
.form-reg p:nth-child(1):before{
    /* Size and position */
    content: "";
    width: 280px;
    height: 100px;
    position: absolute;
    top: 0;
    left: 115px;

    /* Styles */
    transform: rotate(75deg);
    background: linear-gradient(50deg, rgba(255,255,255,0.10), rgba(0,0,0,0));
    pointer-events: none;
}
.no-pointerevents .form-reg p:nth-child(1):before {
    display: none;
}