﻿ 
/*=======================================
=            Form iscrizione            =
=======================================*/

/* stile DEFAULT + regole base */



/*---------- STRUTTURA  ----------*/

/* contenitore macro */
.container,
.frontend-wrapper {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px; 
}

.container:before, 
.container:after,
.frontend-wrapper:before,
.frontend-wrapper:after {
    content: " ";
    display: table; 
}

.container:after,
.frontend-wrapper:after {
    clear: both; 
}

.container,
.frontend-wrapper {
    width: 96%;
	max-width: 700px;
}

/* Box che mette gli elementi centrati */
.personalization-logo {
    -ms-flex: 0 1 auto;
    -ms-flex-align: center;
    -ms-flex-direction: row;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-flex: 0;
    -webkit-box-orient: horizontal;
    -webkit-box-sizing: border-box;
    -webkit-flex: 0 1 auto;
    -webkit-flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
}

 .frontend-box, 
 .personalization-logo,
 .box-latest-newsletter,
 .page-frontend-whit-form_form-builder .form-horizontal{
     margin: 20px auto;
     max-width: 640px;
     padding: 0;
     word-wrap: break-word;
}

.personalization-logo .logo-wrapper {
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    margin: 0;
	padding: 0;
	text-align: center;
}

.form-group{
     margin-bottom: 20px;
}

.fb-form-object{
     padding:10px;
}

/* elementi nascosti */
 #subscriber .hiddenDiv {
     height: 0;
     margin-bottom: 0;
     padding-bottom: 0.6px;
}

 #subscriber .toRemove {
     display: none;
}

 #subscriber .hiddenDiv * {
     height: 0;
     margin: 0;
     padding: 0;
     width: 0;
}

 #subscriber .ng-hide {
     display: none;
 }

/*---------- Tipography ----------*/
body,
body.default, 
.page-frontend-whit-form_form-builder{
     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
     font-size: 14px;
     line-height: 1.42857;
     letter-spacing: 0.03em;
     color: #333333;
     padding: 20px 0;
     background-color: #f2f2f2;
}

h1, 
h3 {
     margin-top: 0;
}

label.control-label{
    font-weight: bold;
}

.form-group h1, 
.form-group h2, 
.form-group h3,
.frontend-main-text{
     text-align: center;
}

/*---------- Background pagine e stile base ----------*/

/* Box bianco che contiene il form */
 .frontend-box, 
 .page-frontend-whit-form_form-builder .form-horizontal{
     background-color: #ffffff;
     border-radius: 6px;
     box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
     padding: 40px 30px 20px;
     word-wrap: break-word;
}

/*---------- Commenti ai campi input ----------*/
 .page-frontend-whit-form_form-builder .help-block{
     color: #333333;
     opacity: 0.6;
     font-size: 0.9em;
}

/*---------- validazione ----------*/
 .page-frontend-whit-form_form-builder .FB-wrapper input:invalid {
     background-color: #fff;
}

 .page-frontend-whit-form_form-builder .FB-wrapper textarea:invalid {
     background-color: #fff;
}

 .validation-error {
     color: #FC5F53;
     font-weight: bold;
}

 .invalid {
     margin-bottom: 5px;
}

/*---------- bottone principale  ----------*/
 .page-frontend-whit-form_form-builder .FB-wrapper button.btn-success {
     border: none;
     margin-top: 10px;
     font-size: 15px;
     font-weight: bold;
     letter-spacing: 0.03em;
     margin-left: auto;
     margin-right: auto;
     text-align: center;
     display: inherit;
}

 /*----------  Colori link  ----------*/
 .page-frontend-whit-form_form-builder .FB-wrapper a:link{
     text-decoration: underline;
     font-weight: bold;
}

/*----------  Eliminazione delle freccie nel campo Phone number - Firefox e Chrome  ----------*/
 input[type='number'] {
     -moz-appearance: textfield;
}

 input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
     -webkit-appearance: none;
}

/*---------- = Reset della doppia colonna =  ----------*/
 .form-group .col-md-4, 
 .form-group .col-md-8{
     width: 100% !important;
}

 .form-group .col-sm-8.col-md-offset-4, 
 .form-group .col-md-8.col-md-offset-4{
     width: 100% !important;
     margin-left: 0;
}


 /*==============================================
=            Pagina post-iscrizione            =
==============================================*/


/* Logo */
.personalization-logo img {
    max-width: 70%;
    margin: 0 auto;
}


 /* Logo testuale */
.personalization-logo a{
    color: #333333;
    text-decoration: none;
    font-size: 28px;
	font-weight: bold;
    letter-spacing: 0.05em;
    transition: color 0.25s linear;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.personalization-logo a:hover{
    color: #23527c;
}

.personalization-logo h1{
    margin-bottom: 0;
    text-align: center;
}


 /* Testo della casistica nel box bianco */
.frontend-text-casistica{
	font-size: 15px;
	line-height: 1.3em;
	text-align: center;
	padding: 10px 10px 30px;
	font-weight: bold;
}

/*----------  Box con le ultime newsletter pubblicate  ----------*/
.box-latest-newsletter{
	margin-top: 60px;
}

/* Titolo per elenco email */
.frontend-title-paragraph{
    color: #818181;
	font-weight: bold;
    margin-bottom: 25px;
}

.frontend-elenco-email{
    list-style: none;
    padding: 0;
}

.frontend-elenco-email a.frontend-elenco-email_subject {
	text-decoration: none;
	font-weight: bold;
	letter-spacing: 0.04em;
	font-size: 15px;
    color: #049CC5;
    transition: color 0.25s linear;
}
.frontend-elenco-email a.frontend-elenco-email_subject:hover{
    color: #23527c;
}

.frontend-elenco-email li{
	position: relative;
	margin-bottom: 23px;
	padding-left: 55px;
}

.frontend-elenco-email li:before{
	content: "";
	display: inline-block;
	height: 3px;
	width: 36px;
	position: absolute;
	top: 8px;
	left: 0;
	background-color: #DDDDDD;
}

.frontend-elenco-email_note{
	font-size: 14px;
	color: #A4A4A4;
	font-weight: bold;
	letter-spacing: 0.06em;
    margin: 0;
}