/* Elementi di base */
html {min-height: 100%;}

* {
	margin: 0;
	padding: 0;
}

a {color: #963;}
a:hover {color: #C60;}

body {
	background: #CCC;
	color: #666;
	font: normal 62.5% Tahoma,sans-serif;
}

p,ul {padding-bottom: 1.2em;}

li {list-style: none;}

h1 {
	font: normal 1.8em Tahoma,sans-serif;
	margin-bottom: 4px;
}

blockquote {
	background: url(img/quote.gif) no-repeat;
	display: block;
	font-weight: bold;
	padding-left: 28px;
}

h1,h2,h3 {padding-top: 6px;}

/* Elementi personalizzati
   Questi elementi servono a collocare correttamente 
   gli elementi principali all'interno della gabbia strutturale */

.clearer {clear: both;}

.left {float: left;}

.right {float: right;}

img.floatleft {
	float: left;
	margin: 5px 14px 3px 1px;
}

img.floatright {
	float: right;
	margin: 5px 1px 3px 14px;
}

/* Elementi della gabbia strutturale */
.container {
	background: #FFF;
	font-size: 1.2em;
	margin: 0 auto;
	padding: 0 10px 4px;
	width: 780px;
}

/* Elemento che incorpora l'intestazione e serve per distanziare  
   la gabbia strutturale dal bordo superiore della finestra */
.top {
	padding: 50px 10px 0;
}

/* Intestazione
   L'intestazione e' divisa in 2 colonne col_left e col_right */
.header {
	background: #FFF;
	font-size: 1.2em;
	height: 275px;
	margin: 0 auto;
	padding: 10px 10px 5px;
	width: 780px;
}

.header .row_top {
	margin-bottom: 5px;
	background: #2C79C9;
	color: #FFF;
	height: 50px;	
}

.header .row_top h1 {
	font: normal 2.8em "Trebuchet MS",sans-serif;
	line-height: 50px;
	text-align: left;	
	padding: 0 16px;
}

.header .row_bottom {
	background: #BADBDA url("../img_template/casa-sardegna/mare1.jpg") no-repeat;
	color: #FFF;
	height: 220px;	
}

.header .row_bottom h2 {
	font: normal 1.8em "Trebuchet MS",sans-serif;
	line-height: 100px;
	text-align: left;	
	padding: 0 16px;
	text-indent: -9999px;
}
/* Menu Navigazione */
#menunav {
	clear: both;	
	padding: 0;		
}
#menunav ul {
	float: left;
	list-style: none;
	/* background: url(../img_template/casa-sardegna/nav.jpg) repeat-x; */
	background-color: #2C79C9;
	width: 780px;		
	text-transform: uppercase;
	margin: 0 0 0 0;
	padding: 0;	
	display: inline;
}
#menunav ul li {
	display: inline;
	margin: 0; padding: 0;
}
#menunav ul li a {
	display: block;
	float: left;
	width: auto;
	margin: 0;
	padding: 0 14px;
	border-right: 1px solid #899D00;
	border-left: 2px solid #D9E1E5;
	border-bottom: none;
	color: #FFF;
	font: bold 13px/2.8em "Century Gothic", "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
	text-transform: uppercase;
	text-decoration: none;	
	letter-spacing: 1px;
}
#menunav ul li a:hover, 
#menunav ul li a:active {
	background: url(../img_template/casa-sardegna/nav-hover.jpg) repeat-x;	
}
#menunav ul li#current a {	
	background: url(../img_template/casa-sardegna/nav-current.jpg) repeat-x;	
}

/* Corpo Principale */
.main {
	border-top: 4px solid #FFF;
	background: url(../img_template/casa-sardegna/bgmain.gif) repeat-y;
}

/* Contenuti - 2 colonne nella pagina */
/* Sub-Menu navigazione laterale - Colonna a destra della pagina */
.subnav {
	float: right;
	width: 210px;
}
.subnav h2 {
	color: #5A5A43;
	font-size: 1em;
	line-height: 30px;
	margin: 0;
	padding-left: 12px;
}
.subnav ul {
	padding: 0;
	border-top: 1px solid #EAEADA;
}
.subnav li {border-bottom: 1px solid #EAEADA;}
.subnav li a {
	font-size: 1.1em;
	color: #554;
	display: block;
	padding: 8px 0 8px 5%;
	text-decoration: none;
	width: 95%;
}
.subnav li a:hover {
	background: #F0F0EB;
	color: #654;	
}

/* Contenuti - Colonna a sinistra della pagina */
.content {
	float: left;
	margin: 10px 0;
	padding: 0 16px;
	width: 531px;
}
.content .descr {
	color: #664;
	font-size: 0.9em;
	margin-bottom: 6px;
}
.content li {
	list-style: circle;
	line-height: 1.3em;
	margin-left: 18px;
}

.content h3 {
	font: normal 1.8em Tahoma,sans-serif;
	margin-bottom: 4px;
}

.content p {font-family: "Lucida Sans Unicode",sans-serif;}

.content .box {
	background: #FFF;
	border: 1px solid #EEE;
	border-left: 6px solid #C1CAD3;
	color: #666;
	display: block;
	font: normal 1em Tahoma,sans-serif;
	line-height: 1.6em;
	margin-bottom: 12px;
	padding: 8px 10px;
	white-space: pre;
}

/* Elemento che incorpora l'intestazione e serve per distanziare  
   la gabbia strutturale dal bordo superiore della finestra */
.bottom {
	padding: 0 10px 50px;
}

/* Pie' di Pagina, chiusura pagina */
.footer {
	margin: 0 auto;
	padding: 10px 10px 5px;
	width: 760px;
	border-right: 10px solid #FFF;
	border-bottom: 10px solid #FFF;
	border-left: 10px solid #FFF;
	background-color: #7FBFC1;
	font-family: "Lucida Sans Unicode",sans-serif;
	color: #FFF;
	font-size: 1.1em;
	font-style: bold;
	line-height: 35px;
	text-align: center;
}
.footer a,.footer a:hover {color: #FFF;}

.subfooter {
	margin: 0 auto;
	padding: 10px 10px 5px;
	width: 760px;
	background-color: #CCC;
	font-family: "Lucida Sans Unicode",sans-serif;
	color: #B6B6B6;
	font-size: 1.1em;
	font-style: normal;
	text-align: center;
}
.subfooter a,.subfooter a:hover {color: #B6B6B6;}

/* Modulo di contatto */
form {
  font-family: Arial, Helvetica, sans-serif;
}
label, input[type=text], textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
}
input[type=text], textarea {
  padding: 10px;
  border: 1px solid #CCC;
  border-radius: 3px;
  box-sizing: border-box;
  margin-top: 5px;
  margin-bottom: 15px;
  resize: vertical;
}

input[type=submit] {
  background-color: #4CAF50;
  color: #FFF;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}