/* BEGIN - Font Face Section */
@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Hairline.ttf?v=1.0.0");
    font-weight: 100;
    font-style: normal; }

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-HairlineItalic.ttf?v=1.0.0");
    font-weight: 100;
    font-style: italic; }

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Light.ttf?v=1.0.0");
    font-weight: 300;
    font-style: normal; }

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-LightItalic.ttf?v=1.0.0");
    font-weight: 300;
    font-style: italic; }

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Regular.ttf?v=1.0.0");
    font-weight: 400;
    font-style: normal; }

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Italic.ttf?v=1.0.0");
    font-weight: 400;
    font-style: italic; }

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Bold.ttf?v=1.0.0");
    font-weight: 700;
    font-style: normal; }

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-BoldItalic.ttf?v=1.0.0");
    font-weight: 700;
    font-style: italic; }

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Black.ttf?v=1.0.0");
    font-weight: 900;
    font-style: normal; }

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-BlackItalic.ttf?v=1.0.0");
    font-weight: 900;
    font-style: italic; }

/* END font face - Section */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.fr_link li.fr_hidden{
    display: none;
}

html{ overflow-x: hidden; }
html, body {
    font-family: "Lato", Verdana, Arial, Helvetica, sans-serif;
    color: #333;
    font-size: normal;
    font-weight: normal;
    height: 100%;
}

body {
    font-family: 'Lato',sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    background-color: #eaeaea;
}

/* common */
.car-model-logo {
    line-height: 96px;
}

span.dash {
    display: inline-block;
    margin-left: 20px;
    border-bottom: 2px solid #aaa;
    width: 110px;
}

.form-control { border-radius: 0; }
.form-group.col-md-4, #locationField, #countrySelectionField{ min-height: 90px; margin-bottom: 0px; }
.form-address-wrapper-single-address .form-group.col-md-4{min-height: 0px; height: 0px;}
.form-address-wrapper-single-address .form-group.form-field-check{visibility: hidden; min-height: 0px; height: 0px}
.form-address-wrapper-single-address .form-group.form-field-check.error-to-be-corrected{visibility: visible !important; min-height: 90px; height: auto;}
.row{ margin-left: 0; margin-right: 0; }
.error-help-block{ font-size: 11px; }
.help-block{ margin-bottom: 0px; }
.fr_hidden { display: none; }
.fr_label{ width: 88%; vertical-align: top; margin-left: 1%; font-size: 12px; }
.fr_privacy_label{ margin-left: 0; font-size: 16px;}

.radio_fr_label{ vertical-align: top;     margin-left: 10%; font-size: 12px; text-align: justify;}

label.button_radio_fr_label {
    margin-right: 10%;
    margin-left: 1.5%;
}

div.form-group.col-md-4.agreements.has-error > span.help-block.error-help-block{
    margin-left: 10%;
}

div.gdpr-consensi-row-wrapper > div.form-group.col-md-4.agreements.has-error > span.help-block.error-help-block{
    margin-left: 0px;
}

div.form-group.col-md-4.agreements {
    /*margin-top: 2.5%;*/
    margin-top: 5px;
    margin-bottom: 10px;
}

.fr_showMobile{ display: none; }
.fr_showDesktop{ display: block; }
.fr_btnRed {
    border-radius: 0;
    border: 0;
    background-color: rgb(235,46,44);
    color: white;
    height: 40px;
    text-transform: uppercase;
    vertical-align: middle;
    cursor: pointer;
    min-width: 200px;
}

/* Tooltip address style - START */
#fr_addressDiv {
    width: 100%;
}

#fr_addressDiv label {
    width: auto;
    float: left;
    margin-right: 1%;
}

#fr_addressDiv .fr_info {
    display:none;
    background: url(/images/leads/info.png) no-repeat;
    background-size: 100%;
    -moz-background-size: cover;
    -o-background-size: cover;
    width: 21px;
    height: 21px;
    float: left;
    opacity: 1;
    position: relative;
}

#fr_addressDiv .fr_hidden {
    display: none;
}

div.fr_info span {
    background: #777 none repeat scroll 0 0;
    border-radius: 4px;
    color: #ffffff;
    height: auto;
    left: 100%;
    line-height: 25px;
    margin-left: 15px;
    margin-top: -10px;
    opacity: 0.9;
    position: absolute;
    text-align: left;
    top: 50%;
    visibility: visible;
    width: 300px;
    padding-left: 10px;
    font-size: 12px;
    z-index: 5;
}

div.fr_info span::after {
    border-bottom: 8px solid transparent;
    border-right: 8px solid #777;
    border-top: 8px solid transparent;
    content: "";
    height: 0;
    margin-top: -8px;
    position: absolute;
    right: 100%;
    top: 50%;
    width: 0;
}

/* Tooltip address style - END*/

.request-info-container{ }


/* header */
.form-header-wrapper { margin: 30px 0;  }

.form-title {}
.form-title img { float: left; }
.form-title h2 {
    line-height: 66px;
    margin-left: 70px;
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    color: #aaa;
    text-transform: uppercase;
}

.form-wrapper-gt {
    border: 1px solid lightgray;
    padding: 50px;
    box-shadow: 0px 0px 40px rgb(136, 136, 136);
}

.wrapper-background-gray { background: #EAEAEA; padding: 50px; }
.wrapper-background-white { background: #FFF; padding: 50px; }


.info-text {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    font-style: italic;
    font-size: 16px;
    line-height: 30px;
    color: #555;
}
.info-required-fields {
    text-transform: uppercase;
    margin-top: 10px;
    font-size: 12px;
}

/*** submit form loading ***/
div#form-submit-loading {
    display: inline-block;
    line-height: 42px;
    margin-top: 10px;
    padding: 0 20px;
    width: 100%;
    text-align: center;
}
/*** animated loading ***/
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}
@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}
@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

/* thank you page */
.thank-you-box {
    position:relative;
    margin-left: 0;
    width: 100%;
    min-height: 500px;
    background-image: url('http://auto.ferrari.com/it_IT/wp-content/plugins/ferrari-leads//assets/img/background-thank-you.jpg');
    background-size: cover;
    background-position: 0 0;
    padding: 50px;
    color: white;
}

.thank-you-box .background {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: -1;
}


.thank-you-message.simple { }
#error .thank-you-message.simple { margin-top: 30px; width: 50%; line-height: 20px; }

.lead-thank-you-message,
.lead-double-opt-in-message
{
    min-height: 300px;
}

.thank-you-message.simple p {
    color: white;
    font-weight: bold;
}

.dealer-box {
    margin-top: 30px;
    width: 590px;
}

.dealer-box .dealer-image {
    display: inline-block;
    float: left;
    margin-right: 20px;
}

.dealer-box .dealer-image img {
    width: 215px;
    height: 160px;
}

.dealer-box .dealer-data {
    margin-top: 30px;
    width: 300px;
    float: left;
    text-align: left;
    margin-left: 0;
    padding: 5px 0;
    border-left: 1px solid gray;
    padding-left: 20px;
}

.dealer-box .dealer-data p {
    line-height: 13px;
}

.dealer-box .dealer-data p.dealer-name {
    color: white;
}

.dealer-box .dealer-data p.dealer-address {
    margin: 0;
    font-weight: normal;
}

.dealer-box .dealer-data p.dealer-phone {
    margin: 0;
}

.dealer-box .dealer-data p.dealer-fax {
    margin: 0;
}

.dealer-box .dealer-data p.dealer-email {
    margin: 0;
}

.dealer-box .dealer-data p.dealer-email a {
    color: #eb2e2c;
    font-weight: normal;
}

.dealer-box .dealer-data p.dealer-country {
}

.find-another-dealer {
    text-transform: uppercase;
    text-decoration: underline;
    margin-top: 20px;
    font-size: 16px;
}
.find-another-dealer a {
    color: #eb2e2c;
}

.find-another-dealer i {
    margin-right: 5px;
    font-size: 24px;
    padding: 0;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.thank-you-box h3{
    margin-top: 2%;
    margin-right: 2%;
    color: #fff;
    text-align: left
}
/*** Tooltip ***/
.grey-tooltip + .tooltip > .tooltip-inner {
    background-color: #AAAAAA;
    color: #FFFFFF;
    font-size: 12px;
    border-radius: 0px;
}
.grey-tooltip + .tooltip.top > .tooltip-arrow {
    border-top-color:#AAAAAA;
}

/*** THANK YOU PAGE WITH DOUBLE OPT-IN ***/
.container-thank-you-page-double-opt-in{
    display: none;
    margin: 80px 0px 80px 0px;
}
.container-thank-you-page-double-opt-in h1 {
    text-align: center;
    text-transform: uppercase;
    font-family: "Times New Roman", Times, "Liberation Serif", FreeSerif, serif;
    font-style: italic;
    font-size: 34px;
    color: #202020;
    font-size: 41px;
}
.container-thank-you-page-double-opt-in .content {
    width: 533px;
    margin: 0 auto;
    text-align: center;
    line-height: 24px;
    font-size: 15px;
}
/*** THANK YOU PAGE WITHOUT DOUBLE OPT-IN ***/
.container-thank-you-page-simple{
    display: none;
}
.container-thank-you-page-simple .box-dealer{
    padding: 30px 0px 30px 30px;
    width: 533px;
    background-color: #DEDEDE;
    margin: 0 auto;
    margin-top: 40px;
}
.container-thank-you-page-simple .dealer-img{
    float: left;
}
.container-thank-you-page-simple .dealer-img img{
    width: 215px;
    height: 160px;
}
.container-thank-you-page-simple .dealer-info {
    float: right;
    width: 260px;
}
.container-thank-you-page-simple h5.dealer-name {
    margin-top: 0px;
    font-size: 15px;
    color: #555;
    font-weight: bold;
    margin-bottom: 20px;
}
.container-thank-you-page-simple h1{
    text-align: center;
    text-transform: uppercase;
    font-family: "Times New Roman", Times, "Liberation Serif", FreeSerif, serif;
    font-style: italic;
    font-size: 34px;
    color: #202020;
    font-size: 41px;
}
.container-thank-you-page-simple .content{
    width: 533px;
    margin: 0 auto;
    text-align: center;
    line-height: 24px;
    font-size: 15px;
}
.dealer-info .dealer-email span{
    color: #eb2e2c;
}
/*** ERROR PAGE ***/
.error{
    display: none;
}
.error h1{
    text-align: center;
    text-transform: uppercase;
    font-family: "Times New Roman", Times, "Liberation Serif", FreeSerif, serif;
    font-style: italic;
    font-size: 34px;
    color: #202020;
    font-size: 41px;
}
.error .content{
    width: 533px;
    margin: 0 auto;
    text-align: center;
    line-height: 24px;
    font-size: 15px;
}
.error .content p{
    padding: 0px 0px 20px 0px;
}
.link-btn-back {
    background-color: rgb(235,46,44);
    color: #fff;
    padding: 12px 50px;
    text-transform: uppercase;
}
.link-btn-back:hover{
    color: #fff;
}


/* AMSD-1309 */
div.form-group.agreements > div.checbox-group > div.txt {
    position: relative;
}

div.form-group.agreements > div.checbox-group > div.txt > div.agreement-message-handler {
    display: inline-block;
}

div.form-group.agreements > div.checbox-group > div.txt > div.agreement-message-handler label{
    margin-top: 10px;
    color: #337AB7;
    font-size: 14px;
    cursor: pointer;
    margin-left: 0;
}

div.form-group.agreements > div.checbox-group > div.txt > div.agreement-message {
    font-size: 12px;
    background-color: #FFFFFF;
    position: absolute;
    bottom: 100%;
}

div.form-group.agreements > div.checbox-group > div.txt > div.agreement-message > div.agreement-message-inner {
    padding: 20px 30px 20px 20px;
}

div.form-group.agreements > div.checbox-group > div.txt > div.agreement-message > div.agreement-messsage-close {
    display: block;
    width: 28px;
    height: 28px;
    font-size: 28px;
    line-height: 28px;
    text-align: center;
    position: absolute;
    right: 8px;
    top: 5px;
    color: #000000;
    text-transform: uppercase;
    cursor: pointer;
}


/* mobile */
@media screen and (max-width: 992px) {
    .container { width: 100%; }
    .wrapper-background-white{ padding: 0; background: transparent; }
    .wrapper-background-gray { padding: 0; background: transparent; }
    .form-wrapper-gt { border: none; box-shadow: none;  }
    .form-title { text-align: center; }
    .form-title img { float: none; }
    .form-title h2 { margin: 0; }
    .car-model-logo { line-height: normal; text-align: center; }
    span.dash { display:none;}
    div.form-group.col-md-4.agreements.agreements-general-conditions{
        min-height: 60px;
    }
}

@media screen and (max-width: 500px) {
    .thank-you-box { padding-top: 25px; }
    .dealer-box { width: 100%; margin-top: 20px;     }
    .lead-thank-you-message, .lead-double-opt-in-message { min-height: 500px; }

    .container-thank-you-page-double-opt-in{
        margin: 0px;
    }
    .container-thank-you-page-double-opt-in .content{
        width: 100%;
        padding-top: 15px;
    }
    .container-thank-you-page-double-opt-in h1{
        font-size: 34px;
    }
    .container-thank-you-page-simple .content{
        width: 100%;
    }
    .container-thank-you-page-simple .box-dealer{
        width: 100%;
        padding: 30px 0px 30px 15px;
        position: absolute;
        left: 0;
    }
    .container-thank-you-page-simple .dealer-info{
        width: 55%;
        font-size: 13px;
    }
    .box-dealer .dealer-img img  {
        width: 120px;
        height: 90px;
    }
    div.form-group.col-md-4.agreements.agreements-general-conditions{
        min-height: 60px;
    }
}


