/* Extera Style Changing */

/* Default */
h1,h2,h3,h4{
	margin-bottom: 10px;
}

/* No responsive */
.page-boxed,
.page-boxed .header { width: 1024px }

/* Header */
.header-contact-bar { border-bottom: 1px solid #fff }
	.header-contact-bar ul li { margin-right: 0 }
	.header-contact-bar .lang .current { font-weight: bold; color:#3d8dc8;  }
	.header-contact-bar .lang ul { padding-top: 0; margin-bottom: 0; padding-bottom: 0; float: right }

.header .nav-logo img { height: 105px;margin-top:-50px }
.header-scrolled { padding-top: 5px }
.header-scrolled .nav-logo img { height: 50px;margin-top:-5px }

	/* header menu */
	.header-contact-bar .right .header-widget { float: right }
		.header-contact-bar .right .separator {
			float: right; margin-top: 8px; color: #222; padding: 0 20px; font-weight: lighter;
		}

	.header-contact-bar .right .widget ul { 
	    margin: 0; 
	    padding: 0; 
	    padding-top: 10px;
	    float: left; 
	}
	.header-contact-bar .right .widget ul>li { 
	    padding: 0!important;
	    float: left; 
	    border: none; 
	    margin-left: 15px; 
	}
	.header-contact-bar .right .widget ul>li:first-child { margin-left: 0 }
	.header-contact-bar .right .widget ul>li>a { padding: 0!important; margin-left: 0; border: none; background: none; box-shadow: 0 0 0 #fff }

h2>a,
p a,
.navigation>li>a { color: #3d8dc8!important }

.navigation>li>a { padding-right: 0 }

h2>a:hover,
p a:hover,
.navigation>li>a:hover { color: #3477a8!important }

.fa-search:hover,
.navigation-search:hover .fa-search { color: #3477a8 }

.navigation .sub-menu li a:hover { padding-left: 20px }

.navigation-search input:focus { width: 120px }

/* Content */
.hentry .entry-title { margin-top: 38px }
	.hentry .entry-title>h1 { margin-bottom: 30px; }

	.entry-content p { word-wrap: break-word; white-space: normal }

	/* Classe Personalizzata */
	.entry-content .little-margin p { margin-bottom: 10px }

/* Sidebar */
.widget-left { box-shadow: 0 0 0 #fff }
 	.widget-left .sidebar-widget { border: none; }
 		.sidebar-widget .widget .widgettitle { margin-bottom: 10px; font-weight: bold }
 		.sidebar-widget ul li { font-size: 14px }
 		.sidebar-widget .widget ul>li.current_page_item>a { font-weight: bold; display: block }

/* Menu */
li.page_item ul.children{ margin-left: 15px;}
li.page_item ul.children li{ border-bottom: none; padding-bottom: 0; padding-top: 12px;}


/* Single */
.heading { line-height: 25px }
.heading a { color: #3d8dc8!important }
.heading a:hover { color: #3477a8!important }

.post-icons .time-ago { border-right: 0; padding-right: 0 }

.header .header-contact-bar .right a { color: #333!important; }
.header .header-contact-bar .right a:hover { color: #3477a8!important }

.evidenza { width: 100%; height: 200px; background-size: cover; background-position: center; position: relative; }
	.evidenza .redirect { position: absolute; top: 0; left: 0; width: 100%; height: 100% }

.home .evidenza { height: auto; margin-bottom: 15px; background-image: none }
	.home .evidenza img { height: 150px; width: auto }

.home .fiere img,
.home .news img { max-width: 100% }

/*.home .fiere img { height: 150px; width: auto; }*/

/* Isotope Tricks */
.isotope .heading a { width: auto!important }

/* Archive */
.archive .entry-title h1 { margin-bottom: 22px }
.archive.date .widget-left { padding-top: 0 }

.archive .thumb { width: 150px; float: left }
	.archive .thumb img { max-width: 100% }
.archive .text { width: 470px; float: right }

/* Visual Composer */
.main-row.no-padding { padding: 0!important }

.wpb_text_column ul,
.wpb_text_column ol { margin-left: 0!important }
	.wpb_text_column ul>li>a { color: #3d8dc8; }
	.wpb_text_column ul>li>a:hover { color: #3477a8; }

/* Search */
.search #searchform { width: 40% }
.search .entry-image { display: none }

/* Tabelle */
.tbl_dati{ border-collapse: collapse;}
.tbl_dati td, .tbl_dati th { padding: 3px 5px; border:1px solid #ccc; text-align: center }
.tbl_dati th { font-weight: bold; color: #fff; background-color: #3d8dc8 }
.tbl_dati a{ color: #3d8dc8!important}

/* Footer */
.copyright-text p { text-align: left }
.copyright-text {opacity:1;}
.footer p {font-size:13px;color:#999;}

/* wpcf7 */
.wpcf7 input[type=checkbox]{
	height: auto!important;
	margin: 5px;
	margin-top: 0!important;
	margin-left: 0!important
}
.wpcf7 textarea { height: 120px!important }

.wpcf7 .form-group { min-height: 40px; margin-bottom: 15px!important; position: relative; }

.wpcf7 h3,
.wpcf7 label { padding-top: 10px }

.wpcf7 .privacy { margin-top: 20px }
.wpcf7 .privacy p { font-size: 12px; line-height: 16px }
.wpcf7 .privacy h4 { font-size: 14px; margin-bottom: 10px!important }
.wpcf7 .privacy .privacy { height: 120px; padding: 3px; border: 1px solid #ccc; overflow: hidden; overflow-y: scroll; font-size: 12px; line-height: 15px; background: #f1f1f1; margin-bottom: 20px }

	/* Button - Submit */
	.pg_inline_login_form input[type="button"],
	.button, .wpb_button, .wpcf7 .wpcf7-submit { padding: 10px 18px!important; background: #3d8dc8!important }
	.pg_inline_login_form input[type="button"]:hover,
	.button:hover,
	.wpb_button:hover,
	.wpcf7 .wpcf7-submit:hover { background: #3477a8!important; color: #fff!important }

	/* Error */
 	.wpcf7 span.wpcf7-not-valid-tip { top: auto!important; left: 0!important }

/* Flex slider - Visual Composer */
.galleria-azienda .flexslider .flex-viewport { max-width: 260px; height: 185px }
	.galleria-azienda .flexslider .flex-viewport li { height: 185px!important }
		.galleria-azienda .flexslider .flex-viewport li img { width: auto; height: 185px }

.flexslider .flex-direction-nav { display: none!important }

/* gmaps */
.gmaps iframe .login-control { display: none!important }

/* Home - News/Eventi */
.news-eventi .featured { margin-bottom: 15px }

	/* News/Eventi */
	.entry-image:hover .entry-image-overlay,
	.entry-image:hover .view { display: none }

.entry .heading .event-flag>img { max-width: auto; height: 25px; margin-right: 7px }

/* Eventi - New Template */
.page-template-template-eventi-php .eventi-azienda .heading { padding: 6px 0; }
.page-template-template-eventi-php .eventi-azienda .entry-content { padding: 10px 0; }

.eventi-azienda .post-meta { color: #333!important; font-size: 14px }

/* 404 */
.error404 .content-container { margin-top: 130px }
	.error-404 { padding: 40px 0 }
		.error-404 span { display: block }
		.error-404 .bg { font-size: 40px; line-height: 43px; margin-bottom: 20px }
		.error-404 .md { font-size: 20px; line-height: 23px; }

/* privacy e form di registrazione */
.pg_custom_form, .pg_registration_form{ max-width: 520px;}
.pg_form_flist li > label{ max-width: 250px;}
.pg_check_wrap{ width: 400px;}
.pg_check_label{ width: 360px!important;}
.pg_form_flist input[type=text], 
.pg_form_flist input[type=password], 
.pg_form_flist select { 
    width: 240px; 
}

.pg_form_flist input[type=checkbox]{ 
    height: inherit!important; 
}

#txt-privacy-PC { width: 490px; margin-top: 20px; }


/* Nuove modifiche novembre 2017 - Extera */
#cookie-law-info-bar {
    display: none!important;
}

.ext-form-label input,
.ext-form-label textarea,
.ext-form-label select {
    margin-top: 0;
    margin-bottom: 10px!important;
}

.ext-form-label select {
    height: 40px;
    line-height: 40px;
    width: 100%;
}

.m-top-30 {
    margin-top: 30px;
}

.ext-form-label--custom {
    max-width: 50%;
}

.ext-form-label--custom .statiCanada,
.ext-form-label--custom .statiUSA,
.ext-form-label--custom .divContatto {
    display: none;
}

/* Form error */
.wpcf7-not-valid {
    border: 1px solid red!important;
}

span.wpcf7-not-valid-tip {
    display: none!important;
}

@media (max-width: 767px){
    .ext-form-label--custom {
        max-width: 100%;
    }
}

