html{
    font-size: 16px;
}
html,body {
    min-height: 100%;
}
body{
    font-family: "Source Sans Pro";
    font-weight: 400;
    color: #fff;
    font-size: 16px;
    background-color: #000;
}
a {
    color: #e22726;
    font-weight: 400;
}
a:focus, a:hover{
    color: #e22726;
}
h1 span {width: 100%;display: inline-block;}


#bg-image{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: none;
}

/*
HEADER
*/
.logo-container-row {
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}
.logo-row {
    background-color: #fff;
}
.svg-row{
    position: relative;
    top: -1px;
}
#top-header {
    position: relative;
    z-index: 1;
}
.col-logo {
    padding-left: 0;
}
.header-text {
    text-align: right;
    margin-top: 15px;
    line-height: 1em;
    padding-bottom: 10px;
    color: #000;
}
.header-text em {
    color: #e42312;
}
svg#AaidSVGLogo {
    position: relative;
    left: -2044px;
}
.logo-container {
    position: relative;
}
.header-content>.container-fluid {
    overflow: hidden;
}
/*
-HEADER
*/


#content-info-container,#form-container {
    padding-left: 20px;
    padding-right: 20px;
}
.ty #content-info-container {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 35px;
}
.main-content-row{
    margin-left: -32px;
    margin-right: -32px;
}
#main-content-wrapper {
    margin-top: -40px;
    width: 100%;
    overflow: hidden;
}

.content-wrapper-ty {
    overflow: hidden;
}

/*
CONTENT INFO
*/
#content-image-container {
    position: relative;
}
#content-image-wrapper {
    padding-top: 110%;
}
#content-image-container img#content-image {
    width: 100%;
    position: absolute;
    top: 0;
}
#main-content-container, .logo-container-row>.container, #footer-credits>.container,#footer-aaid>.container {
    padding-left: 70px;
    padding-right: 70px;
}
.ty .content-info {
    padding: 0;
}
#main-content-container.ty {
    padding-top: 50px;
    padding-bottom: 50px;
}
.content-info {
    line-height: 1.5em;
    font-weight: 300;
    padding-left: 35px;
    padding-right: 35px;
    position: relative;
    z-index: 1;
    padding-bottom: 3.75rem;
}
h1 {
    font-family: "Rubik";
    /* text-transform: uppercase; */
    font-weight: 600;
    font-size: 2.875rem;
    letter-spacing: -1px;
    line-height: 1em;
}
h1 strong {
    font-weight: 900;
}
h1 span.title-bottom {
    padding-left: 3.98em;
}
#content-image-bottom {
    position: absolute;
    bottom: 0;
    padding-left: 35px;
    padding-right: 35px;
    z-index: 1;
}

h2 {
    font-family: "Rubik";
    font-size: 1.375rem;
}
/*
CONTENT INFO
*/

/*
FORM
*/
p.form-top-text {
    color: #8b8b8b;
}
p.form-top-text strong {
}
#form-container{
    font-size: 0.875rem;
    font-weight: 300;
}
#form-content {
    background-color: #232323;
    padding: 60px 40px 40px;
    position: relative;
}
#form-content:after {
    content: "";
    background-color: #232323;
    width: 100%;
    height: 3000px;
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
}
form input {
    background-color: #fff;
    border: 0px;
    width: 100%;
    height: 34px;
    padding: 8px 10px 8px;
    color: #000;
}
form input[type=checkbox],form input[type=radio] {
    height: auto;
}
form label {
    font-weight: 400;
    display: inline-block;
    width: 100%;
}
.field {
    margin-bottom: 10px;
}

#afv_form .row {
    margin-left: -5px;
    margin-right: -5px;
}
#afv_form .col {
    padding-left: 5px;
    padding-right: 5px;
}
[type="submit"] {
    width: 100%;
    display: block;
    background-color: #e42312;
    color: #fff;
    border: none;
    font-family: "Rubik";
    font-size: 1.875rem;
    padding: 16px;
    transition: 0.2s;
    max-width: 450px;
    border-radius: 3px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    line-height: 1em;
}
[type="submit"]:hover {
    opacity: 0.85;
}
#privacy-field {
    margin: 10px 0;
}
#privacy-field a {
    color: #fff;
    vertical-align: text-bottom;
    font-weight: 300;
}
legend {font-weight: 700;font-size: 1.125rem;border: none;margin: 5px 0;color: #e42312;}
label.error {
    color: #e42312;
    margin-top: 5px;
}
[for="afv_payment_cc"], [for="afv_payment_rid"] {
    width: auto;
}
#afv_payment_rid {
}
input[type="radio"] {
    z-index: 2;
    display: inline-block;
    position: relative;
    margin: 0;
    width: 20px;
    height: 20px;
    opacity: 0;
    margin-bottom: 10px;
}
.field-sex input[type="radio"] {
    margin-right: 0;
}
.field.field-sex > span, .consenso-span {
    white-space: nowrap;
    display: inline-block;
    margin-right: 10px;
}
.consenso-span > label:hover {
    cursor: pointer;
}
.field.field-sex > span:last-child {
    margin-right: 0;
}
.checkStylized {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-color: #232323;
    margin-left: -20px;
    z-index: 1;
    border-radius: 100%;
    vertical-align: middle;
    margin-right: 5px;
    border: 1px solid #fff;
}
.checkStylized.box {
    border-radius: 2px;
}
.checkStylized::after {
    content: "";
    background-color: #fff;
    width: 6px;
    height: 6px;
    display: none;
    border-radius: 100%;
    margin-left: 4px;
    margin-top: 4px;
}
input[type="radio"]:checked + .checkStylized::after{
    display: block;
}
input[type="checkbox"]:checked + .checkStylized::after {
    display: block;
}
.checkStylized.box::after {
    border-radius: 1px;
}
form input[type=checkbox] {
    width: auto;
    z-index: 10;
    position: relative;
    width: 16px;
    height: 16px;
    opacity: 0;
}
.checkStylized.box {
    vertical-align: inherit;
    margin-left: -16px;
    border-color: #fff;
}
.field-sex label[for="afv_gender_m"], .field-sex label[for="afv_gender_f"], label[for="consenso_si"], label[for="consenso_no"] {
    display: inline-block;
    font-weight: 400;
    width: auto;
    margin-top: 8px;
    vertical-align: middle;
}
select {
    background-color: #fff;
    border: none;
    height: 34px;
    width: 100%;
    padding: 7px 5px 5px 5px;
    color: #000;
}
#invio_materiale .col label {
    width: auto;
    vertical-align: middle;
}
#invio_materiale .col label:hover {
    cursor: pointer;
}
form input[type=checkbox]:hover {
    cursor: pointer;
}
div#afv_field_payment, #afv_rid {
    padding: 10px 15px;
    border: 2px solid #3a3a3a;
    border-radius: 3px;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
}
div#afv_field_payment legend, #afv_rid legend {
    margin-left: 5px;
    margin-top: -20px;
    background-color: #232323;
    width: auto;
    padding: 0 10px;
}
#afv_field_payment label.error {
    margin: 0;
    display: block;
}
.form-info {
    margin-top: 15px;
    font-size: 12px;
}
.field-sex label[for="afv_gender_m"]:hover, .field-sex label[for="afv_gender_f"]:hover, label[for="afv_payment_cc"]:hover, label[for="afv_payment_paypal"]:hover {
    cursor: pointer;
}
span.payment_cc {
    display: inline-block;
    float: left;
    margin-right: 10px;
}
span.payment_rid {
    float: left;
}
/*
-FORM
*/



/*
FOOTER
*/
footer {
    background-color: #fff;
    position: relative;
}
#footer-aaid {
    color: #999;
    font-size: 12px;
}
#footer-aaid a {
    color: inherit;
}
#footer-aaid a:hover,
#footer-aaid a:focus {
    color: #FFF;
}
#footer-aaid > .footer-container {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #4a4a4a;
    color: #bcbcbc;
}
.col-footer-links {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
}
.col-footer-center {
    text-align: center;
}
.col-footer-center .light {
    font-size: 15px;
    color: #CBCBCB;
}

p.footer-links-p {
    margin-top: 60px;
}
#footer-aaid .col-footer-links a {
    color: #999;
}
svg#FooterLogo {
    float: right;
    margin-bottom: 15px;
}

#footer-credits {
    text-align: center;
    color: #999;
    font-size: 12px;
    background-color: #ccc;
}
#footer-credits > .container {
    padding: 15px;
}
#footer-credits a {
    color: #999;
}
/*  CREDITS*/
    #footer-credits {
        font-size: 12px;
        text-align: right;
        color: #999;
    }
    .credits-info a {
        color: #999;
    }
    footer.page-footer .credits-info a:hover, footer.page-footer .credits-info a:focus {
        color: #ccc;
        text-decoration: none;
    }
    #footer-credits > .credits-container {
        background-color: #999;
        padding: 17px 15px;
    }
/*
-FOOTER
*/

/*
THANK YOU
*/
.content-wrapper-ty {
    min-height: 71vh;
}
.ty #content-info-container {
    max-width: 600px;
}
.ty .title-row h1 {
    max-width: 600px;
}
body.ty {
    background-image: url('../img/immagine_ty.jpg');
    background-position: center;
    background-size: 100% auto;
    background-size: cover;
}
/*
-THANK YOU
*/
/*
SOCIAL
*/
.share-links img.share-link-img {
    width: 22px;
    height: 22px;
}
.share-links a.share-link {
    display: inline-block;
    margin-right: 12px;
    -ms-transition: opacity 0.3s ease-out;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}
.share-links a.share-link:hover {
    opacity: 0.6;
}
/*
-SOCIAL
*/

/*
RESPONSIVE
*/

/*
** MIN-WIDTH 768px
*/
@media (min-width: 768px){
    .container {
        width: auto;
    }    
}
/*
** -MIN-WIDTH 768px
*/
/*
** MIN-WIDTH 992px
*/
@media (min-width: 992px){
    .container {
        width: auto;
    }    
}
/*
** -MIN-WIDTH 992px
*/
/*
** MIN-WIDTH 1200px
*/
@media (min-width: 1200px){
    .container {
        width: auto;
    }    
    #content-image-wrapper {
        padding-top: 120%;
        margin-top: -20%;
    }
}
/*
** -MIN-WIDTH 1200px
*/
@media (min-width: 1280px){
    .container {
        width: 1280px;
    }    
}


/*
** MAX-WIDTH 1200px
*/
@media screen and (max-width: 1200px){
    h1 {
        font-size: 1.8125rem;
    }
    #content-image-fil {
        width: 160%;
    }
}
/*
** -MAX-WIDTH 1200px
*/

/*
** MAX-WIDTH 992px
*/
@media screen and (max-width: 992px){
    h1 {
        font-size: 1.875rem;
    }
    #content-image-container {
        padding-bottom: 100px;
    }
    h1 span.title-bottom {
        padding: 0;
    }
    #main-content-container, .logo-container-row>.container, #footer-credits>.container, #footer-aaid>.container {
        padding-left: 35px;
        padding-right: 35px;
    }
    /*FORM*/
    [type='submit'] {
        /* font-size: 1.5rem; */
    }
    .col-footer-center {
        text-align: right;
    }
    .col-footer-links {
        text-align: center;
    }
}
/*
** -MAX-WIDTH 992px
*/

/*
** MAX-WIDTH 767px
*/
@media screen and (max-width: 767px){
    html{
        font-size: 12px;
    }
    /*HEADER*/
    svg.svgHeader {
        display: none;
    }
    #cover-image-wrapper {
        margin-top: 0;
        height: auto;
    }    
    #form-container {
        font-size: 13px;
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 20px;
    }
    #form-container.indexform {
        padding-top: 40px;
    }
    svg#AaidSVGLogo{
        left: -2066px;
    }
    /*COVER*/
    #bg-image{
        display: block;
        top: 0;
    }
    body.ty{
        background: #000;
    }
    #content-image-container img#content-image {
        opacity: 0;
    }
    #content-image-container {
        padding-bottom: 0px;
    }
    #content-image-wrapper {
        margin-left: -32px;
        margin-right: -32px;
    }
    #content-image-bottom,.content-info {
        overflow: hidden;
        /* margin-right: -20px; */
        padding-right: 0;
        /* margin-left: -20px; */
        padding-left: 0;
    }
    .ty #content-image-fil{
        padding-top: 15px;
    }
    /*CONTENT*/
    h1 {
        font-size: 2.75rem;
    }
    #main-content-container, .logo-container-row>.container, #footer-credits>.container, #footer-aaid>.container {
        padding-left: 20px;
        padding-right: 20px;
    }
    #form-content {
        padding: 20px;
    }
    .main-content-row {
        margin-left: -20px;
        margin-right: -20px;
    }
    /*FOOTER*/
    #footer-aaid > .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    p.numero_identificativo {
        text-align: left;
    }
    .col-footer-center {
        text-align: left;
    }
}
/*
** -MAX-WIDTH 767px
*/

/*
** MAX-WIDTH 480px
*/
@media screen and (max-width: 480px){
    #bg-image{
        top: 0;
    }
    /*HEADER*/
    .header-text {
        font-size: 12px;
        text-align: left;
    }
    .col-logo {
        width: 100%;
    }
    #content-image-container img#content-image {
        padding-top: 160px;
    }
    .ty #content-image-fil{
        width: 300%;
    }
    #content-image-wrapper {
        padding-top: 130%;
    }
}
/*
** -MAX-WIDTH 480px
*/

/*
** MAX-WIDTH 360px
*/
@media screen and (max-width: 360px){
    .logo-row > .col {
        width: 100%;
    }
    #content-image-wrapper {
        padding-top: 150%;
    }
}
/*
** -MAX-WIDTH 360px
*/