body {
	font-family: 'Merriweather', serif;
	margin: 0px;
	padding: 0px;
	font-weight: 300;
	font-size: 20px;
	color: #333;
	background-color: #fff;
	height: 100%;
	/*border: 15px solid #231B1D;*/
}

p {
	margin: 10px 0;
}

hr {
	display: none;
}

td { 
	font-family: 'Merriweather', serif;
    font-size: 20px;
    color: #333;
}

@media (max-width: 980px) {
	body {
		 font-size: 36px;
	}
	td {
		 font-size: 36px;
	}
}

a, a:link {
	color: #663A10;
	text-decoration: none;
}

a:hover, a:active {
	color: #663A10;
}

.bottoni {
	font-size: 44px;
	padding: 10px;
	font-family: 'Fjalla One';
	font-family: 'Great Vibes';
}

h1 {
	margin: 20px 0;
	padding: 0px;
	border: 0px;
	font-size: 54px;
	color: #663A10;
	text-align: center;
	font-weight: normal;
	font-family: 'Fjalla One';
	font-family: 'Great Vibes';
}

h2 {
	margin: 20px 0;
	padding: 0px;
	border: 0px;
	font-size: 46px;
	font-weight: normal;
	color: #663A10;
	font-family: 'Fjalla One';
	font-family: 'Great Vibes';
	text-align: left;
}

h3 {
	margin: 25px 0 20px 0;
	padding: 0px;
	border: 0px;
	font-size: 40px;
	font-weight: normal;
	color: #663A10;
	font-family: 'Fjalla One';
	font-family: 'Great Vibes';
	text-align: left;
}

h4 {
	margin: 10px 0px 0px 0px;
	border: 0px;
	font-size: 32px;
	font-weight: normal;
	color: #663A10;
	font-family: 'Fjalla One';
	font-family: 'Great Vibes';
	text-align: left;
}

h5 {
	margin: 15px 0px;
	border: 0px;
	font-size: 22px;
	color: #663A10;
	font-weight: bold;
	font-family: 'Merriweather';
}

h6 {
	margin: 0px;
	padding: 0px;
	border: 0px;
	font-size: 12px;
	color: #663A10;
	text-transform: uppercase;
}

@media (max-width: 1000px) {
	h1 {
	font-size: 54px;
	}
	h2 {
	font-size: 50px;
	}
	h3 {
	font-size: 46px;
	}
	h4 {
	font-size: 40px;
	}
	h5 {
	font-size: 36px;
	}
	h6 {
	font-size: 30px;
	}
}

/* tabella grande */
.tab {
	max-width: 1280px;
	margin: auto;
	padding: 0 10px;
}

#top {
	position: relative;
	padding-bottom: 0px;
	padding-top: 72px;
	padding-top: 0px;
}

@media (max-width: 1000px) {
	#top {
		padding-top: 0px;
	}
}



@media (min-width: 981px) {
	.social {
		position: relative;
		margin-top: 20px;
	}
	
	.social img {
		width: 40px;
		height: 40px;
		margin-left: 5px;
	}
}

@media (max-width: 980px) {
	.social {
		position: relative;
		text-align: right;
		z-index: 200;
	}
	
	.social img {
		width: 60px;
		height: 60px;
		margin-left: 5px;
		margin-bottom: 30px;
	}
}

#icone {
	margin: auto; 
	margin-top: 50px; 
	max-width: 1068px;
}

td.testograssettodx {
	font-style: italic;
	padding: 10px 10px 10px 0;
	color: #663A10;
	text-align: left;
}

@media (max-width: 980px) {
	#icone {
		display: none;
		visibility: hidden;
	}
	
	#social {
		display: none;
		visibility: hidden;
	}
}

#logo {
	display: none;
	visibility: hidden;
}

@media (min-width: 1000px) {
	#logo {
		visibility: visible;
		display: block;
		width: 35vw;
		min-width: 300px;
		max-width: 536px;
		height: auto;
		top: 10px;
		left: 10px;
		position: absolute;
		z-index: 1050;
	} 
	
	#logo img {
		width: 100%;
		height: auto;
	} 
	
	#logobig {
		display: none;
		visibility: hidden;
	}
}

@media (min-width: 1390px) {
	#logo {
		visibility: visible;
		display: block;
		width: 634px;
		height: 130px;
		top: 0px;
		left: 10px;
		position: absolute;
		z-index: 1050;
	}
	
	#logo img {
		width: 634px;
		height: 130px;
	} 
	
	#logobig {
		display: none;
		visibility: hidden;
	}
}

.slogan {
	position: absolute;
	bottom: 50px;
	left: 0px;
	right: 0px;
	z-index: 1010;
	font-size: 80px;
	color: #EFE4D2;
	text-align: center;
	font-family: 'Fjalla One';
	font-family: 'Great Vibes';
	text-shadow: 2px 2px 2px #000000;
}

.parcont {
	margin-top: 0px;
}

.sfondonero {
	background-color: #663A10;
	/*background-image: radial-gradient(rgba(64, 39, 26, 0) 30%, #663A10 100%);*/
}

.bloccohome {
	position: absolute;
	top: 0;
	left: 0; right: 0;
	bottom: 0;
	text-align: center;
	width: 100%;
	margin: auto;
	height: 44px;
	font-size: 44px;
}

.titolobloccohome {
	padding: 10px 20px;
	background-image: url(images/black44.png);
}

@media (max-width: 1000px) {
	.bloccohome {
		height: 100px;
		font-size: 100px;
	}
}

.principale {
	position: relative;
	height: auto !important;
	text-align: justify;
	padding: 20px 0px 20px 0px;
}



@media (min-width: 1000px) {
	.bloccocorsi {
		position: relative;
		background-color: #EFEFEF;
		margin-bottom: 20px;
	}

	.corsifoto {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		line-height: 0;
		border-bottom: 3px solid #231A11;
	}

	.corsifoto a {
		line-height: 0; 
		display: block;
		position: relative;
	}
	
	.corsifoto img {
		width: 100%;
	}

	.corsititolo {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		background-position: top right;
		background-repeat: no-repeat;
		background-image: url("images/corsotitolo.png");
		padding: 20px;
		padding-top: 51px;
	}
	
	.corsititolo h2 {
		font-size: 20px;
		font-weight: bold;
		margin: 0;
		text-align: left;
	}	
	.corsititolo P, .corsititolo a {
		color: #fff;
	}

	.corsitesto {
		position: relative;
		text-align: left;
		font-size: 18px;
	}
	
	.corsitesto TD {
		font-size: 16px;
		text-align: left;
	}
}

@media (max-width: 1000px) {
	.bloccocorsi {
		position: relative;
		width: 100%;
		min-height: 250px;
		margin-bottom: 30px;
		background-color: #EFEFEF;
	}

	.corsifoto {
		line-height: 0;
		color: #fff;
	}

	.corsifoto img {
		width: 100%;
	}
	
	.corsititolo {
		position: relative;
		background-position: top right;
		background-repeat: no-repeat;
		background-image: url("images/corsotitolo2.png");
		padding: 20px;
		margin-top: -36px;
		padding-top: 56px;
	}

	.corsititolo a, .corsititolo h2 {
		color: #231A11;
		padding: 0;
		margin: 0;
	}
	.corsititolo h2  {
		font-size: 50px;
		text-align: left;
		font-weight: bold;
	}
}










@media (min-width: 1000px) {
	.blocconews {
		position: relative;
		width: 100%;
		margin-bottom: 40px;
	}

	.blocconews img {
		position: relative;
		width: 100%;
	}

	.newstitolo {
		position: relative;
		padding: 20px;
		min-height: 200px;
	}
	
	.newstitolo h2 {
		font-size: 28px;
		font-weight: normal;
		margin: 0;
		text-align: left;
	}	
	.newstitolo a {
		color: #663A10;
		
	}

	.newstesto {
		position: relative;
		text-align: left;
		font-size: 20px;
	}

	.bloccoconthome {
		position: relative;
		width: 100%;
		margin-bottom: 40px;
		background-color: #EFEFEF;
	}

	.conthometesto {
		padding: 20px;
		position: relative;
		text-align: left;
		font-size: 18px;
	}
	
	.conthometesto TD {
		font-size: 16px;
		text-align: left;
	}
	
	.bloccoconthome img {
		width: 100%;
	}

	.bloccoconthome h2.titolo {
		position: absolute;
		bottom: 0px;
		left: 0px;
		right: 0px;
		padding-top: 100px;
		padding-bottom: 20px;
		text-align: center;
		background-position: top center;
		background-repeat: repeat-x;
		font-size: 36px;
		font-weight: normal;
		margin: 0;
		color: #fff;
		text-shadow: 2px 2px 4px #000;
	}
	
	.bloccoconthome a {
		color: #fff;
	}	
}

@media (max-width: 1000px) {
	.blocconews {
		position: relative;
		width: 100%;
		margin-bottom: 40px;
		background-color: #EFEFEF;
		border-bottom: 5px solid #663A10;
		border-top: 5px solid #663A10;
	}

	.blocconews img {
		position: relative;
		width: 100%;
	}

	.newsfoto a {

	}
	
	.newsfoto img {
		width: 400px;
		height: 400px;
	}

	.newstitolo {
		position: relative;
		padding: 30px;
	}
	
	.newstitolo h2.titolo {
		font-size: 48px;
		font-weight: bold;
		margin: 0;
		text-align: left;
	}
	
	.newstitolo P {
		font-size: 40px;
	}

	.newstesto {
		position: relative;
		text-align: left;
		font-size: 20px;
	}
	
	.bloccoconthome {
		position: relative;
		width: 100%;
		margin-bottom: 40px;
		background-color: #EFEFEF;
	}

	.conthometesto {
		padding: 20px;
		position: relative;
		text-align: left;
		font-size: 18px;
	}
	
	.conthometesto TD {
		font-size: 16px;
		text-align: left;
	}
	
	.bloccoconthome img {
		width: 100%;
	}

	.bloccoconthome h2.titolo {
		position: absolute;
		bottom: 0px;
		left: 0px;
		right: 0px;
		padding-top: 48px;
		padding-bottom: 20px;
		text-align: center;
		background-position: top center;
		background-repeat: repeat-x;
		font-size: 50px;
		font-weight: normal;
		margin: 0;
		color: #fff;
		text-shadow: 3px 3px 4px #000;
	}
	
	.bloccoconthome a {
		color: #fff;
	}
	
}

.principale td {
	text-align: justify;
	line-height: 1.3em;
}

@media (min-width: 1000px) {
	.bloccocont {
		text-align: center;
		position: relative;
		margin-bottom: 40px;
	}
	
	.contfoto img {
		width: 90%;
		height: 90%;
	}
	
	
	a.zoom img {
		-moz-transition: all 0.3s;
		-webkit-transition: all 0.3s;
		transition: all 0.3s;
	}
	a.zoom:hover img {
		-moz-transform: scale(1.05);
		-webkit-transform: scale(1.05);
		transform: scale(1.05);
	}


}

@media (max-width: 1000px) {
	.bloccocont {
		position: relative;
		width: 100%;
		min-height: 100%;
		margin-bottom: 40px;
		text-align: center;
	}

	.contfoto img {
		width: 90%;
		height: 90%;
	}
}

a.tag, a.tag:link {
	display: block;
	width: 40px;
	height: 21px;
	margin-left: 2px;
	border: 1px solid #D8D9DA;
	text-align: center; 
	padding-top: 3px;
	text-decoration: none;
	font-size: 12px;
}

a.tag:hover, a.tag:active {
	border: 1px solid #000;
	text-decoration: none;
}

.nospace p {
	padding: 0;
	margin: 0;
}

.newscorpo {
	position: relative;
	padding-bottom: 15px;
}

.newslaterale {
	padding: 0px;
}

.newslat {
	position: relative;
}

.newscorpo P {
	line-height: normal;
	margin: 0;
	padding: 0;
	text-align: left;
}

.newslat P {
	font-size: 16px;
	line-height: normal;
	margin: 0;
	padding: 0;
	text-align: left;
}

.newslat a {
	margin: 0;
	padding: 0;
}

.continua {
	right: 0;
	bottom: -22px;
	text-align: right;
	font-size: 16px;
	position: absolute;
	color: #004B96;
}

.continua a {
	color: #004B96;
	text-decoration:none;
}

/* login */
/* principale - form */
.principale input {
	font-size: 16px;
}

.principale .checkbox {
	font-size: 14px;
	border: 0;
}

.principale .invia {
	color: #fff;
	width: 15px;
	font-weight: bold;
	font-size: 16px;
	border: 0px solid #104E93;
	background-color: #333;
}

.principale select {
	font-size: 16px;
	border: 1px solid #EBEBEB;
}

.principale textarea {
	font-family:verdana,arial,sans-serif;
	font-size:16px;
}

/* principale - bottone dei form */

.principale input.formbotton {
	width: 76px;
	font-size: 16px;
	color: #1A171C;
	background-color: #104E93;
	border: 1px solid #fff;
}

.briciola {
	font-size: 14px;
	margin: 0;
	margin-bottom: 10px;
	text-transform: lowercase;
}

.homebanner {
	position: relative;
	float: left;
	max-width: 312px;
	padding: 0 20px;
	text-align: center;
}

.box {
	background-color: #000; 
	border: 5px solid #fff; 
	padding: 0; 
	margin: 0; 
	position: relative;
}

.box2 {
	position: absolute; 
	top: 0; 
	left: 0; 
	right: 0; 
	bottom: 0;
}

.boxtitolo {
	position: absolute;
	left: 0;
	bottom: 50px;
	min-width: 200px;
	height: 75px;
	padding: 5px 30px 15px 10px;
	font-family: 'Merriweather';
	background-image: url("images/fondotit.png");
	background-position: right top;
	background-repeat: no-repeat;
	font-size: 26px;
	color: #000;
	text-align: center;
}

.boxtitolo a {
	color: #000;
}

@media (max-width: 1000px) {
	.briciola {
		font-size: 24px;
		margin: 0;
		margin-bottom: 10px;
		text-transform: lowercase;
	}
	
	.boxtitolo {
		position: absolute;
		left: 0;
		bottom: 80px;
		min-width: 400px;
		height: 80px;
		padding: 5px 50px 15px 10px;
		font-family: 'Merriweather';
		background-image: url("images/fondotit2.png");
		background-position: right top;
		background-repeat: no-repeat;
		font-size: 50px;
		color: #fff;
		text-align: center;
	}
}

#partner {
	padding: 20px 0px;
}

.principale #numpag a, .principale #numpag a:link {
	color: #1C3049;
	text-decoration: none;
}

.principale #numpag a:hover, .principale #numpag a:active {
	color: #1C3049;
	text-decoration: none;
	background-image: url(images/border.gif); 
	background-repeat: repeat-x; 
	background-position: bottom;
}

.principale span {
	text-align: center;
}

.principale span.active {
	color: #1A171C;
}

#tabellanews h2, #tabellanews p {
	margin: 0; padding: 0;
}

#tabellapost h2, #tabellapost p {
	margin: 0; padding: 0;
}

#banda_form {
	width: 100%;
	padding: 40px;
	text-align: left;
	position: relative;	
	max-width: 1260px;
	margin: auto;
}

#banda_form p {
	padding: 0;
	margin: 0;
	font-size: 24px;
}

#banda_form td {
}


#banda {
	width: 100%;
	padding: 40px;
	text-align: left;
	color: #333;
	position: relative;	
	max-width: 1260px;
	margin: auto;
}

#banda p {
	padding: 0;
	margin: 0;
	color: #333;
	font-size: 24px;
}

.formwidth {
	max-width: 590px;
}


@media (max-width: 980px) {
	.formwidth {
		max-width: 100%;
	}
}

#footer {
	width: 100%;
	background-color: #825E3B;
	padding: 30px;
}

#footer2 {
	text-align: left;
	color: #fff;
	position: relative;	
	max-width: 1260px;
	margin: auto;
	padding: 0;
	font-size: 16px;
}

#footer2 td {
	color: #fff;
	font-size: 16px;
}

#footer2 p {
	padding: 0;
	margin: 0;
	color: #fff;
	font-size: 16px;
}

#footer2 a {
	color: #fff;
}

.tratt {
	border-left: 1px dashed #FFF; 
	border-right: 1px dashed #FFF;
}


@media (max-width: 1000px) {
	#footer2 {
		font-size: 24px;
		border: 0;
	}

	#footer2 td {
		font-size: 24px;
		border: 0;
	}

	#footer2 p {
		font-size: 24px;
		border: 0;
	}
	
	.tratt {
		border: 0;
		margin: 50px 0;
	}
}


img {
	border: 0px;
}

.formmin {
	width: 38px;
	border: 1px solid #EBEBEB;
	text-align: right;
	padding-right: 2px;
}

.formpiccolo {
	width: 120px;
	border: 1px solid #CCC;
}

.formmedio {
	width: 150px;
	border: 1px solid #CCC;
}

.formgrande {
	width: 200px;
	border: 1px solid #CCC;
	height: 26px;
}

.selectpiccola {
	width: 100px;
	border: 1px solid #CCC;
	font-size: 10px;
	margin-bottom: 2px;
	/*height: 16px;*/
}

.selectmin {
	width: 58px;
	border: 1px solid #CCC;
	height: 22px;
}

.selectmedia {
	width: 180px;
	border: 1px solid #CCC;
	height: 22px;
}

.textareamin {
	width: 180px;
	height: 100px;
	border: 1px solid #CCC;
}

.textareapiccola {
	width: 300px;
	height: 100px;
	border: 1px solid #CCC;
}

.textareamedia {
	width: 300px;
	height: 100px;
	border: 1px solid #CCC;
	color: #333;
}

.textareagrande {
	width: 460px;
	height: 200px;
	display: block;
	border: 1px solid #CCC;
	color: #333;
}

.forminvia {
  width: 30px;
  border: 1px solid #800;
  color: #800;
}

.numsel {
	font-weight: bold;
	color: #FFCC00;
}

.num {
	text-align: center;
	margin: 20px;
}

div.pagination {
	font-size: 16px;
	padding: 3px;
	margin: 3px;
	text-align:center;
	margin-bottom: 0px;
	color: #333333;
}

div.pagination a {
	padding: 8px;
	margin-right: 2px;
	border: 1px solid #333333;
	text-decoration: none; 
	color: #333333;
}
div.pagination a:hover, div.pagination a:active {
	border: 1px solid #333333;
	color: #fff;
	background-color: #333333;
}
div.pagination a.current {
	padding: 8px;
	margin-right: 2px;
	border: 1px solid #333333;
	background-color: #333333;
	color: #FFF;
}

div.pagination span.disabled {
	padding: 8px;
	margin-right: 2px;
	border: 1px solid #333333;
	color: #333333;
}

.slide-out-div {
	padding: 20px;
	padding-top: 150px;
	width: 200px;
	background: #0082C3;
	color: #fff;
	border-right: 1px solid #fff;
	z-index: 200;
}

.slide-out-div h2 {
	color: #FF0;
	padding: 8px 0px 12px 0px;
	margin: 5px;
	border-bottom: 1px solid #80C0E1;
}

.slide-out-div h2 a, .slide-out-div h2 a:link {
	color: #FF0;
	text-decoration: none;
}
.slide-out-div h2 a:hover, .slide-out-div h2 a:active {
	color: #FF0;
	text-decoration: none;
}

.slide-out-div h3 {
	color: #fff;
	padding: 8px 0px 12px 20px;
	margin: 5px;
	border-bottom: 1px solid #80C0E1;
	background-image: url(images/freccia.png);
	background-position: left;
	background-repeat: no-repeat;
}

.slide-out-div h3 a, .slide-out-div h3 a:link {
	color: #fff;
	text-decoration: none;
}

.slide-out-div h3 a:hover, .slide-out-div h3 a:active {
	color: #FF0;
	text-decoration: none;
}

.ui-tabs.ui-tabs-vertical {
    padding: 0;
}
.ui-tabs.ui-tabs-vertical .ui-widget-header {
    border: none;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav {
    float: left;
    width: 18em;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li {
    clear: left;
    width: 300px;
    overflow: hidden;
    position: relative;
    right: -2px;
    z-index: 2;
	margin-right: 0;
	padding-right: 0;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li a {
    display: block;
    width: 100%;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li:last-child {
    margin-bottom: 10px;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-panel {
    float: left;
    width: 640px;
    border-radius: 0;
    position: relative;
	margin-top: 18px;
	padding-right: 20px;
}


@media (max-width: 1000px) {
	.desk {
		display: none;
		visibility: hidden;
	}
}

@media (min-width: 1000px) {
	.mobile {
		display: none;
		visibility: hidden;
	}
}

#prenota {
	position: fixed; 
	bottom: 0; 
	left: 0; 
	right: 0; 
	padding: 20px; 
	background-color: #E9D9C0;
	z-index: 1020;
	color: #673B10;
	text-align: center;
	border-top: 1px solid #fff;
}

#prenota h2 {
	color: #673B10;
	text-align: center;
	margin: 0;
	margin-bottom: 5px;
}
