/*
Theme Name: ERP Massa Carrara
Theme URI: 
Description: Tema per ERP Massa Carrara
Author: Emotion Design
Author URI: http://www.emotiondesign.it
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: 
*/


-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	/*border-collapse: separate;
	border-spacing: 0;*/
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}


/*
----------------------------------------------- */

@font-face {
    font-family: 'hl';
    src: url('fonts/helveticaneueltstd-lt-webfont.eot');
    src: url('fonts/helveticaneueltstd-lt-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/helveticaneueltstd-lt-webfont.woff') format('woff'),
         url('fonts/helveticaneueltstd-lt-webfont.ttf') format('truetype'),
         url('fonts/helveticaneueltstd-lt-webfont.svg#HelveticaNeueLTStd45Light') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'hb';
    src: url('fonts/helveticaneueltstd-bd-webfont.eot');
    src: url('fonts/helveticaneueltstd-bd-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/helveticaneueltstd-bd-webfont.woff') format('woff'),
         url('fonts/helveticaneueltstd-bd-webfont.ttf') format('truetype'),
         url('fonts/helveticaneueltstd-bd-webfont.svg#helveticaneuelt_stdbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

body 
{
	margin: 0px;
	padding: 0px;
	text-align: center;
	font-family: share, Arial, Verdana, sans-serif;
	font-size: 14px;
	line-height: 20px;
	background: #81a4af url('images/pat_all.jpg') repeat-y;
	background-position: center top;
	color: #666;
}

	img
	{
		border: 0px;
	}

	ul
	{
		padding: 0px;
		margin: 0px;
		list-style: none;
	}

	a, a:hover
	{
		text-decoration: none;
	}

	div, p, form, h1, h2, h3, h4, h5
	{
		padding: 0px;
		margin: 0px;
		font-weight: normal;
	}

	#wrapper
	{
		width: 100%;
		margin: 0px auto;
		background: #bee2ed url('images/pat_wrapper.jpg') repeat-y;
		background-position: center top;
		text-align: left;
	}

	#header {width: 100%;}
		#top {width:960px; height:173px; background: url('images/back_header.jpg') no-repeat; background-position: right top; text-align:left; margin: 0px auto;}	
			#logo {margin-top:15px;}
			#contatti_header {float:right; padding-top: 60px; width:84px;} 
				#contatti_header li{padding: 5px 0px 5px 0px; border-bottom: 1px solid #ebebea;}
				#contatti_header li:last-child{padding-bottom: 0px; border-bottom: 0px;}

		
		#access {width:100%; height: 40px; padding: 0px; text-align: center; background: #b26848 url('images/pat_access.jpg') repeat-y;
		background-position: center top; font-family: hb, sans-serif; text-transform: uppercase; font-size: 12px; line-height: 20px;}

		#access .menu{position: absolute; z-index: 999;}

			/*LEVEL 1*/
			#access .menu li{float: left;}
				#access .menu li a{color: #fff; padding: 10px 10px 10px 10px; display: block; background: url('images/divi_menu.gif') no-repeat; background-position: right center;}
					#access .menu li:last-child a{background: none; padding-right: 0px;}
						/*#access .menu li a:hover{color: #000;}*/
					
					/*LEVEL 2*/
					#access .sub-menu{position: absolute; top: 40px; z-index: 998; height: 300px; width: 200px; display: none;}
						#access .menu .sub-menu li{float: none; background: #f77340; border-top: 1px solid #f59771; line-height: 15px;}
						#access .menu .sub-menu a,  #access .menu .current-menu-ancestor .sub-menu a{font-size: 12px; background: #f77340; padding: 5px; color: #fff;}
						#access .menu .sub-menu a:hover, #access .menu .current-menu-parent .sub-menu a:hover{background: #ef5114; color: #fff;}


		#ricerca_riservata{width:100%; background: #b6d9e3 url('images/pat_ricerca.jpg') repeat-y; background-position: center top; margin: 5px 0px 12px 0px;}
			#ricerca_riservata_int{width: 960px; overflow: hidden; margin: 0px auto;}
				#ricerca_top{width: 450px; float: left; text-align: left; padding-top: 3px;}
					#ricerca_top #s{background: #d1d1d1; color: #000; padding: 5px; border: 0px; margin: 6px 5px 0px 0px;}
					#ricerca_top #searchsubmit {border: 0px; width: 85px; height: 34px; background: url('images/bott_cerca.gif') no-repeat; cursor: pointer;}

				#riservata_top{width: 450px; float: right; text-align: right; padding: 4px 0px 0px 0px;}
		
	#main{width: 960px; overflow: hidden; margin: 0px auto; margin-bottom: 50px;}
		.all{background: url('images/pat_cont.gif') no-repeat;} /*tutte le pagine tranne le home page*/

			
			/*GENERALE*/
		#container{width: 700px; float: left;}
			#content{padding-left: 25px; width: 675px; margin-top: 20px; font-size: 14px;}

				#content h1{font-family: hl, sans-serif; font-size: 21px; color: #ee5113; background: url('images/pat_h1.gif') repeat-x; background-position: left bottom; margin-bottom:  20px;}
					#content h1 span{background: #fff; padding-right: 10px;}
					#content h1 em{color: #989797; font-style: normal; font-size: 18px;}
				
				#content h2{font-family: hl, sans-serif; font-size: 18px; color: #666; margin-bottom: 15px;}

				#content h4{font-family: hb, sans-serif; font-size: 14px; color: #989797; margin-bottom: 0px; text-transform: uppercase;}
					#content h4 a{color: #989797;}
						#content h4 a:hover{color: #666;}
				
				#content h6{text-align: center; border: 1px solid #fad272; background: #fdecbd; font-size: 15px; padding: 10px;}

				#content ul li{padding: 10px 0px 10px 0px;}	
				#content ul li{padding: 0px 0px 0px 20px; background: url('images/segna_li_2.gif') no-repeat;}
					#content ul li a{padding: 0px 0px 0px 20px; background: url('images/segna_li.gif') no-repeat; color: #ee5113;}
						#content ul li a:hover{color: #c13d08;}
				
				#content hr{border: 0px; margin: 10px 0px 10px 0px; padding: 0px; border-top: 1px solid #e4e4e4;}

				#content a {color: #ee5113;}
					#content a:hover{color: #c13d08;}
		

			/*HOME*/
			#residenza_video{width: 100%; overflow: hidden; margin-top: 20px;}
				#residenza_senza_video{width: 100%; overflow: hidden;}
				#residenza_con_video{width: 100%; height: 221px; overflow: hidden;}
					#residenza{height: 180px; overflow: hidden;}
					
					#video_hp{width: 340px; float: left; overflow: hidden;}
					#residenza_small{width: 340px; float: right;}
			
			#tre_banner{width: 100%; overflow: hidden; margin-top: 20px;}
			
			#banner_100anni{width: 100%; overflow: hidden; margin-top: 20px;}
				
			/*RISULTATI RICERCA*/
				.ris_ricerca{font-size: 13px; line-height: 18px; border-bottom: 1px solid #e4e4e4; padding: 8px 0px 8px 0px;}
					.ris_ricerca a{color: #666;}
						.ris_ricerca a:hover{color: #000;}
					.ris_ricerca a b{color: #ee5113;}
					.ris_ricerca em{display: block; margin-top: 5px; color: #666;}
			
				.navigation{background: #f6f6f6; padding: 3px 0px 3px 0px; text-align: center; font-size: 13px; margin-top: 20px;}
					.navigation .title{display: none;}
					.navigation li{display: none; padding: 0px 5px 0px 5px;}
					.navigation a{color: #6b6b6b;}
						.navigation a:hover{color: #000;}
					.navigation .current{color: #ee5113;}
				
			/*MODULISTICA*/
			#content #dlm_download_list {margin: 15px 0px 0px 0px;}
			#content #dlm_download_list li{font-size: 13px; line-height: 18px; border-bottom: 1px solid #e4e4e4; margin: 10px 0px 0px 0px; padding: 7px 0px 3px 45px; background: url('images/ico_pdf.gif') no-repeat; min-height: 30px;}
				#content #dlm_download_list li a{color: #666; background: none; padding: 0px;}
					#content #dlm_download_list li a:hover{color: #000;}
				
			.download_link{font-size: 13px; line-height: 18px; margin: 0px; padding: 7px 0px 3px 45px; background: url('images/ico_pdf.gif') no-repeat; min-height: 20px; list-style: none; display: block;}
				.download_link a{color: #666; background: none; padding: 0px;}
					.download_link :hover{color: #000;}
			
			.download_link_2{font-size: 13px; line-height: 18px; margin: 0px; padding: 0px 0px 0px 20px; background: url('images/download-ico.gif') no-repeat; list-style: none; display: block;}
				.download_link_2 a{color: #666; background: none; padding: 0px;}
					.download_link_2 :hover{color: #000;}
			
			/*FAQ*/
			#content #faqs h2{margin-bottom: 5px; margin-top: 30px; font-family: hb, sans-serif; font-size: 14px; color: #989797; margin-bottom: 0px; text-transform: uppercase;}
			.faq_item{border-bottom: 1px solid #e4e4e4; padding: 8px 0px 0px 0px; font-size: 13px; line-height: 18px;}
				.faq_item h3{padding-bottom: 8px;}
				.faq_item h3 a{padding: 0px 0px 0px 20px; background: url('images/segna_li.gif') no-repeat; color: #ee5113;}
					.faq_item h3 a:hover{color: #c13d08;}
				.faq_item .box{display: none; padding: 0px 0px 10px 20px; text-align: justify;}
				#content .faq_item ol{list-style: default;}
			

			/*NEWS*/
			
			#content .news_item{font-size: 13px; line-height: 18px; border-bottom: 1px solid #e4e4e4; padding: 8px 0px 8px 0px;}
				 #content .news_item h3{font-family: arial, sans-serif; font-size: 15px; line-height: 16px; padding: 5px 0px 5px 0px;}
				#content .news_item a{color: #ee5113;}
					#content .news_item h3 a:hover{color: #c13d08;}
			
			/*APPUNTAMENTI*/
			#content .appuntamenti_item h3{font-size: 15px; line-height: 17px; padding-top: 32px; color: #ee5113;}
				#content .appuntamenti_item{font-size: 13px; line-height: 18px;}			
			
			/*LINK ISTITUZIONALI*/
			.link_istituzionali{width: 100%; font-size: 13px; line-height: 18px;}
				.link_istituzionali td{vertical-align: top; padding-right: 15px; width: 30%;}
					.link_istituzionali td:last-child{padding-right: 0px;}
					.link_istituzionali a{background: url('images/segna_li.gif') no-repeat; color: #ee5113; padding: 0px 0px 0px 20px; font-size: 15px;}
					.link_istituzionali a:hover{color: #c13d08;}
			
			/*ALBO 2014 - ISCRIZIONI*/
			#autocertificazione .rigaform{padding: 5px 0px 5px 10px;}
				#autocertificazione label{display: inline-block; width: 250px;}
				#autocertificazione #submit{background: #ee5113; color: #fff; border: 0px; font-size: 15px; font-family: hb, sans-serif; text-transform: uppercase; cursor: pointer;}
				#autocertificazione #submit:hover {background: #c13d08;}
			
			/*RECAPITI, STRUTTURA ORGANIZZATIVA, FONDI*/
			#elenco_contatti td, #elenco_struttura td, #elenco_fondi td, .orari td{border-bottom: 1px solid #e4e4e4; padding: 7px 7px 7px 7px;}
				.orari td{background: #f1f1f1; width: 45%;}
				#elenco_contatti tr:nth-child(odd) td, #elenco_struttura tr:nth-child(odd) td, #elenco_fondi tr:nth-child(odd) td{background: #f1f1f1;}
				#elenco_struttura tr:nth-child(1) td{border-top: 1px solid #e4e4e4;}
				#elenco_contatti tr:nth-child(1) td{text-transform: uppercase; font-size: 11px; background: #e4e4e4; color: #383838;}
				#elenco_fondi tr:nth-child(1) td{text-transform: uppercase; font-size: 13px; background: #848484; color: #fff;}
				#elenco_fondi tr:nth-child(2) td{text-transform: uppercase; font-size: 11px; color: #383838;}
			
			/*SAN GIACOMO*/
			h5{background: #f6f6f6; color: #3d3d3d; padding: 10px; font-size: 15px;}
			
		/*RIGHT COLUMN*/
		#right{width: 220px; float: right; text-align: left;}
			#right .info_f_iso { text-align: center; margin-bottom: 5px; }
				#right .info_f_iso img {width: 50%; height: auto; margin-top: 4px; }
				#right .info_f_iso b { color: #666; font-size: 14px; display: none; }
				#right .info_f_iso h2 { background: url('images/back_h2.gif') repeat; color: #fff; font-size: 14px; font-weight: bold; padding: 3px; }

			#news_right{width: 100%; height: 345px; background: #f6f6f6; margin-top: 15px;}
				#news_scroll{height: 320px; padding: 0px 10px 0px 10px; overflow: hidden;}
					#news_right h2{background: url('images/back_h2.gif') repeat-y; background-position: right top; padding: 7px 0px 3px 102px; line-height: 14px; font-family:hb, sans-serif; font-size: 13px; color: #fff;}
						#news_right h2 a{color: #fff;}

					#news_right .news_item{border-bottom: 1px solid #e4e4e4; font-size: 12px; line-height: 18px; padding-bottom: 7px;}						
						#news_right .news_item h3{font-family: arial, sans-serif; font-size: 15px; line-height: 18px; padding: 0px 0px 5px 0px;}
							#news_right .news_item h3 a{color: #ee5113;}
							#news_right .news_item h3 a:hover{color: #c13d08;}
						#news_right .news_item h5{font-family: arial, sans-serif; color: #4f4f4f; font-size: 15px; padding: 12px 0px 0px 0px;}

				
			#appuntamenti_right{width: 100%; height: 345px; background: #f6f6f6; margin-top: 15px;}
				#appuntamenti_scroll{height: 320px; padding: 0px 10px 0px 10px; overflow: hidden;}
					#appuntamenti_right h2{background: url('images/back_h2.gif') repeat-y; background-position: right top; padding: 7px 0px 3px 102px; line-height: 14px; font-family:hb, sans-serif; font-size: 13px; color: #fff;}
						#appuntamenti_right h2 a, #appuntamenti_right h2 a:hover{color: #fff;}
						#appuntamenti_right a{color: #ee5113;}
							#appuntamenti_right a:hover{color: #c13d08;}

					.appuntamenti_item{border-bottom: 1px solid #dcdcdc; width: 100%; overflow: hidden; padding: 10px 0px 10px 0px;}
						
						.data_appunt{width: 43px; float: left; margin-right: 10px; overflow: hidden; text-align: center;}
							.data_appunt .year{font-family: hb, sans-serif; font-size: 15px; color: #989898;}
							.data_appunt .day{font-family: hb, sans-serif; font-size: 31px; line-height: 20px; color: #fff; padding: 5px 0px 0px 0px;}
							.data_appunt .month{font-family: hb, sans-serif; font-size: 12px; line-height: 13px; text-transform: uppercase; color: #fff;}
							.data_appunt div{background: #ee5113;}
						#appuntamenti_right h3{font-size: 14px; line-height: 17px; padding-top: 18px;}
							#appuntamenti_right h3 a{color: #4f4f4f;}
							#appuntamenti_right h3 a:hover{color: #000;}
						
	
	
						/*SLIDE NOVITA IN HP*/
						#slide_all{width: 700px; height: 345px; position: relative; background: #f6f6f6;}
	
							#slides
							{
								width: 100%;
								height: 345px;
								overflow: hidden;
								position: relative;
								font-size: 14px;
								line-height: 17px;
								color: #575757;
							}
								
								#slides .img_slide{width: 450px; height: 345px; float: left; overflow: hidden;}

								#slides .tt
								{
									width: 210px;
									float: right;
									font-family: arial, sans-serif;
									font-size: 12px;
									color: #5b5b5b;
									overflow: hidden;
									padding: 45px 20px 10px 0px;
									text-align: left;
								}
									
									#slides .tt p{display: inline;}
									
									#slides a{color: #ee5113;}
									#slides a:hover{color: #c13d08;}

									.slide
									{
										display: none;
										position: absolute;
										width: 100%;
										height: 345px;
										overflow: hidden;
									}

									#slide2{ z-index: 2; }
									#slide3{ z-index: 3; }
									#slide4{ z-index: 4; }
									#slide5{ z-index: 5; }
									
									#slides h3
									{
										margin-bottom: 0px;
										padding-bottom: 10px;
										padding-left: 0px;
										color: #ea661d;
										font-family: hl,sans-serif;
										font-size: 19px;
										line-height: 20px;
										text-align: left;
									}

									
								#pulsanti
								{
									width: 135px;
									overflow: hidden;
									position: absolute; 
									right: 10px; 
									bottom: 10px;
									z-index: 999;
								}

									#pulsanti .pulz
									{
										width: 14px;
										height: 20px;
										float: left;
										background: url('images/pulz_3.gif') no-repeat;
										background-position: center center;
										margin-left: 10px;
										padding-left: 6px;
										color: #777;
										font-size: 14px;
										line-height: 19px;
									}

									#pulsanti .pulz:hover
									{
										color: #fff;
										background: url('images/pulz_2.gif') no-repeat;
										background-position: center center;
									}

									#pulsanti .pulsante_sel, #pulsanti .pulsante_sel:hover
									{										
										color: #fff;
										background: url('images/pulz_1.gif') no-repeat;
										background-position: center center;
									}
				
	.block{display: block;}
	.align_right{text-align: right;}

	.link_norm{text-align: right; color: #ee5113; background: url('images/frec.png') no-repeat; background-position: right top; padding-right: 18px;}
		.link_norm:hover{color: #c13d08;};
	

	#footer{width: 100%;}
		#info_footer{width: 100%; margin: 0px auto; padding: 35px 0px 50px 0px; color: #575757; font-size: 12px; line-height: 18px; background: #9fc2cd url('images/pat_footer.jpg') repeat-y;}
			#info_f_int, #credits_f_int{width: 960px; margin: 0px auto;}
			#info_f_int .info_f_iso { width: 30%; float: right; text-align: center; }
			#info_f_int .info_f_iso img {width: auto; height: 100px; }
			#info_f_int .info_f_iso h2 { display: none; }
			#info_f_int .info_f_iso a { color: #575757; font-size: 12px; font-weight: normal; }

			#info_footer a{color: #000;}
		#credits_footer{width: 100%; margin: 0px auto; padding: 8px 0px 8px 0px; text-align: right; color: #fff; font-size: 12px; line-height: 18px; background: #81a4af url('images/pat_all.jpg') repeat-y; background-position: center top;}			
			#credits_footer a{color: #fff;}


	.gestionale_menu{
		background: url("images/pat_access.jpg") repeat-y scroll center top #b26848;
		padding-bottom: 5px;
	}
	.gestionale_menu li a{
		background: url("images/pat_access.jpg") repeat-y scroll center top #b26848;
	    color: #fff;
		display: block;
	    padding: 5px 0px 0px 10px;
	}
	.gestionale_menu li.titolo{
		background: none repeat scroll 0 0 #f77340;
		padding: 5px;
		color: #fff;
		margin-top: 4px;
	}

	#last_mod{background: #f6f6f6; padding: 5px 10px 5px 10px; margin-top: 30px; font-size: 11px; text-transform: uppercase;}


/* modifiche YGh 060422 */
#ricerca_riservata_int {
padding-bottom: 8px;
}

.ngg-galleryoverview{width: 100%; overflow: hidden;}
	.ngg-gallery-thumbnail-box{width: 47%; float: left;}
		.ngg-gallery-thumbnail{margin: 0px;}
		.ngg-gallery-thumbnail a:hover{cursor: zoom-in;}
			.ngg-gallery-thumbnail img{width: 100% !important; height: auto !important; border: 0px !important; padding: 0px !important; margin: 0px !important;}