.MErrore {
	background-color: #f2dede;
	border: 1px solid #eed3d7;
	color: #b94a48;
	padding: 2px;
	padding-right: 20px;
	text-align: center;
	background-image: url(imgcms/chiudi-16x16.png);
	background-repeat: no-repeat;
	background-position: right top;
}

.MConferma {
	background-color: #dff0d8;
	border: 1px solid #d6e9c6;
	color: #468847;
	padding: 3px;
	padding-right: 20px;
	text-align: center;
	background-image: url(imgcms/chiudi-16x16.png);
	background-repeat: no-repeat;
	background-position: right top;
}



.MProtezione {
	padding-top: 110px;
	padding-left: 40px;
	padding-right: 40px;
	padding-bottom: 10px;
	font-weight: bold;
	text-align: center;
	background-image: url(imgcms/area-protetta-96.png);
	background-position: top center;
	background-repeat: no-repeat;
}

.MProtezione A {
	margin-top: 30px;
	width: 150px;
	margin-right: auto;
	margin-left: auto;
	display: block;
	padding-top: 2px;
	padding-bottom: 2px;
    font-weight: bold;
	border: 0px;
	background-color: #e1e1e1; 
	color: #808080;
	text-decoration: none;
}

/* Classi generiche per la gestione dei form */

.MSubmit {
	display: block;
	float: right;
    background-color: #282828;
	border: 1px solid  #282828;
    color: #ffffff;
    text-decoration: none;
	font-size: 12px;
	text-decoration: none;
	padding-top: 4px;
	padding-right: 10px;
	padding-bottom: 4px;
	padding-left: 10px;
}

.MCampo {
   padding-top: 2px;
   padding-bottom: 2px;
   margin-bottom: 5px;
   background-color: #ffffff;
   width: 100%;
   border: 1px solid #606060;
}

.MCampoObbligatorio {
   padding-top: 2px;
   padding-bottom: 2px;
   margin-bottom: 5px;
   background-color: #ffffff;
   width: 100%;
   border: 1px solid red;
}

.MCheck {
	margin-right: 6px;
}

.MTestoPrivacy {
	margin-bottom: 10px;
	font-size: 10px;
	line-height: 1.1em;
	text-align: justify;
}





/* Mpaginazione */

#MPaginazioneContainer {
	text-align: center;
	margin-top: 20px;
}	

#MPaginazione {
	display: inline-block;
}

#MPaginazione LI {
	list-style-type: none;
	display: block;
	float: left;
	margin-left: 3px;
	margin-right: 3px;
}

#MPaginazione A {
	display: block;
	padding-left: 10px;
	padding-right: 10px;
	text-decoration: none;
	padding-top: 2px;
	padding-bottom: 2px;
	background-color: #dfe1e3;
	color: #606060;
	font-weight: bold;
}

#MPaginazione A.MFreccie {
	font-size: 20px;
	color: #a0a0a0;
	background-color: #ffffff;
	padding-left: 0px;
	padding-right: 0px;
}

#MPaginazione A.Act {
	background-color: #00a1ff;
	color: #ffffff;
}






/* Form Contatti */

#TMappaContatti {
	float: right;
	width: 460px;
}

#WrapperContatti {
	float: left;
	/*width: 460px;*/
	width: 940px;
}

#WrapperContatti label {
	display: block;
	font-size: 11px;
	text-transform: lowercase;
}

#WrapperContatti .MForm {
	float: left;
	margin-right: 2%;
	margin-bottom: 1%;
	width: 100%;
}

#WrapperContatti #MAzienda.MForm {
	width: 49%;
}

#WrapperContatti #MNome.MForm {
	width: 49%;
	margin-right: 0%;
}

#WrapperContatti #MCognome.MForm {
	width: 49%;
}

#WrapperContatti #MEmail.MForm {
	width: 49%;
	margin-right: 0%;
}

#WrapperContatti #MTelefono.MForm {
	width: 49%;
}

#WrapperContatti #MFax.MForm {
	width: 31%;
}

#WrapperContatti #MIndirizzo.MForm {
	width: 49%;
	margin-right: 0%;
}

#WrapperContatti #MCap.MForm {
	width: 9%;
}

#WrapperContatti #MCitta.MForm {
	width: 38%;
}

#WrapperContatti #MProvincia.MForm {
	width: 6%;
}

#WrapperContatti #MNazione.MForm {
	width: 49%;
	margin-right: 0%;
}

#WrapperContatti #MMessaggio.MForm {
	float: none;
	clear: left;
}

/*-----Contatti-WrapperForm-----*/

#Contatti-WrapperForm .FormSito .MBottone .MInvia {
	border: 0px;display: block;
	background-color: #00a1ff;
	border: 1px solid #00a1ff;
	color: #ffffff;
	text-decoration: none;
	padding-left: 10px;
	padding-right: 10px;
	text-transform: uppercase;
	font-weight: bold;
}


/* Invia ad un amico */

#InviaAmicoLink {
	display: block;
	width: 160px;
	margin-right: 0px;
	margin-left: auto;
	text-align: center;
	background-color: #595747;	
	text-decoration: none;
	color: #ffffff;
	font-size: 12px;
	line-height: 22px;
	transition: 0.5s;
	-webkit-transition:  0.5s;
	margin-top: 10px;
}

#InviaAmicoLink:hover {
	background-color: #c00418;
}


/* Nasconde il div gestito da Simplemodal */
#WrapperInviaAmico {
	display: none;
}

/* Gestisce colore ed opacità del div di Overlay */
#simplemodal-overlay {
	background-color: #000000;
}

/* Container */
#simplemodal-container {
	height: 500px; 
	width: 600px;
	background-color: #ffffff;
	border: 2px solid #404040; 
	padding: 0px;
	-moz-box-shadow: 0px 0px 10px #000000;
    -webkit-box-shadow: 0px 0px 10px #000000;
    box-shadow: 0px 0px 10px #000000;
}
#simplemodal-container .simplemodal-data {
	padding: 20px;
}
#simplemodal-container a.modalCloseImg {
	background-image:url('/temi/base/img/x.png');
	background-repeat: no-repeat;
	width: 25px;
	height: 29px;
	display: inline; 
	z-index: 3200; 
	position: absolute; 
	top: -15px; 
	right: -16px;
	cursor: pointer;
}

#WrapperInviaAmico h3 {
	font-size: 45px;
	line-height: 45px;
	margin-bottom: 30px;
	font-family: 'Source Sans Pro',Verdana,Geneva,sans-serif;
	font-weight: 200;
	color: #C00418;
	
}


#WrapperInviaAmico {
	font-size: 12px;
}

#WrapperInviaAmico .MForm {
    float: left;
    margin-right: 2%;
    margin-bottom: 2%;
    width: 100%;
}

#WrapperInviaAmico #MNomeMitt.MForm {
    width: 48%;
}

#WrapperInviaAmico #MEMailMitt.MForm {
    width: 48%;
}

#WrapperInviaAmicot #MNomeDest.MForm {
    width: 48%;
}

#WrapperInviaAmico #MEMailDest.MForm {
    width: 48%;
}


#WrapperInviaAmico #MMessaggio.MForm {
    width: 98%;
}

#WrapperInviaAmico #MSubmit.MForm {
	margin-bottom: 0px;
	padding: 0px;
}

#InviaAmicoEsito {
	margin-top: 80px;	
}

#InviaAmicoEsito {
	font-size: 18px;
	text-align: center;
	line-height: 25px;	
}

#InviaAmicoEsito #ChiudiFinestra {
	display: block;
	margin-top: 80px;
	width: 200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	font-weight: bold;
	border: 0px;
	background-color: #e1e1e1;
	text-align: center;
	text-decoration: none;
	color: #000000;
	font-size: 14px;
	
}








#MPrivacy input[type=checkbox] {
	/* Double-sized Checkboxes */
	-ms-transform: scale(2); /* IE */
	-moz-transform: scale(2); /* FF */
	-webkit-transform: scale(2); /* Safari and Chrome */
	-o-transform: scale(2); /* Opera */
	padding: 10px;
	margin-right: 1em;
	margin-left: 0.5em;
}

#MPrivacy H3 {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0px;
    color: #333333;
    width: auto;
    height: auto;
    line-height: auto;
    background: #ffffff;
    background-image: none;
    background-color: #ffffff;
}

.form-group.PrivacyCheckbox {
	margin-bottom: 0px;
}

#MPrivacy h3 small {
	display: block;
	margin-top: 5px;
}

.MBoxRadio input {
	font-size: 14px !important;
	line-height: 14px !important;
	margin-top: 0px;
}