/* LAYOUT ELEMENTS */

html,body {
	margin: 0;
	padding: 0;
}

body {
	font: 76% arial,sans-serif;
}

div#header {
	 height: 203px;
	 background-image: url("/images/background-header.jpg");
}

div#menu-lingua {
	margin: 0;
	padding: 0;
	height: 25px;
	background-color: #ffffff;
}

/* colora il background della lingua attiva */

body.it div#menu-lingua ul li a.it, body.en div#menu-lingua ul li a.en, body.fr div#menu-lingua ul li a.fr, body.es div#menu-lingua ul li a.es, body.d div#menu-lingua ul li a.d {
	text-decoration: underline;
	color: #FF2D00;
}

div#logo {
	width: 998px;
	height: 157px;
    font: bold 12px Arial,sans-serif;
    position: relative;
    color: #336799;
    clear: both;
}

div#logo span {
	position: absolute;
	width: 100%;
	height: 100%;
        background-image: url("/images/fermo_tx_04.jpg");
	background-repeat: no-repeat;
	background-position: top left;
}


p#breadcrumb {
	background-repeat: no-repeat;
	background-position: top left;
	height: 18px;
	background-color: #ffffff;
	margin: 0;
        padding-left: 225px;
        font-size: 90%;
}

p#breadcrumb span {
    position: relative;
    top: 3px;
}

p#breadcrumb span a {
    color: #000000;
}

p#breadcrumb span a:hover {
    text-decoration: none;
}

div#container {
	width: 998px;
	margin: 0;
	text-align:left;
	position: relative;
}

div#wrapper {
	float: left;
	width: 100%;
}

div#content {
	margin: 0;
	margin-left: 220px;
	margin-right: 220px;
}

div#content p {
	line-height: 1.4;
}

div.orizontal-banners {
	width: 558px;
	height: 80px;
	border: 1px solid #BFBFBF;
	margin-top: 10px;
        margin-bottom: 7px;
}


div#left-column {
	float: left;
	width: 220px;
	margin-left: -998px;
	padding-top: 10px;
}

div#extra{
	float: left;
	width: 220px;
	margin-left: -220px;
}

div#clear {
	clear: left;
	width:100%;
        height: 15px;
}

#third-banner-wrapper {
    border: 1px solid #BFBFBF;
    width: 558px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    clear: both;
}

#fourth-banner {
    width: 198px;
    height: 298px;
}

#fourth-banner-wrapper {
	width: 198px;
    height: 298px;
	border: 1px solid #BFBFBF;
	margin-left: auto;
	margin-right: auto;
}

div#paging {
    padding-bottom: 20px;
}

div#footer {
	height: 64px;
	background-image: url("/images/background-header.jpg");
}

div#footer p {
	margin: 0;
	text-align: center;
	color: #ffffff;
	padding-top: 10px;
}

div#footer a {
	color: #ffffff;
}

a {
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

a img {
    border: none;
}


/* NAVIGATION SYSTEM */


/* Left Column Accordion MENU */

ul#left-menu {
	margin: 0;
        margin-left: auto;
        margin-right: auto;
	padding: 0;
        padding-left: 10px;
	width: 220px;
}

ul#left-menu ul {
	margin: 0;
	padding: 0;
	padding-left: 7px;
	background-color: #ffffff;
	top: -3px;
        width: 195px;
}

ul#left-menu ul li a {
	background-image: none;
	background-repeat: no-repeat;
	width: 192px;
	padding-left: 7px;
	margin-bottom: 0px;
}

ul#left-menu ul li a:hover {
	color: #005b82;
        font-weight:bold;
}

ul#left-menu li {
	list-style-type: none;
}

ul#left-menu li a {
	width: 192px;
	font-size: 110%;
	text-decoration: none;
	color: #7F7F7F;
	display: block;
	background-image: url(/images/menu_sx.jpg);
	background-repeat: repeat-x;
	padding-top: 4px;
}




ul#left-menu li a.header {
	text-decoration: none;
	display: block;
	padding-left: 10px;
	color: #005b82;
	height: 25px;
}

ul#left-menu li a.header:hover {
	/*background-image: url(/images/menu_sx_over.jpg);
	background-repeat: repeat-x;*/
}


/* Top Languages Menu */

div#menu-lingua ul {
	margin: 0;
	padding: 0;
        text-align: left;
        float: left;

}

div#menu-lingua ul li {
	display: inline;
	list-style-type: none;
} 

div#menu-lingua ul li a {
	font-size: 110%;
	text-decoration: none;
	color: #005b82;
	font-size: 115%;
	padding-left: 13px;
	padding-right: 13px;
	padding-bottom: 7px;
	padding-top: 3px;
	position: relative;
	top: 3px;
}

div#menu-lingua ul li a:hover {
   text-decoration: underline;
	color: #FF2D00;
}


/* LOGIN FORM */

form#authform {
    width: 400px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

form#authform div {
   list-style-type: none;
   margin-top: 10px;
}

form#authform label {
   width:70px;
   display: block;
   float: left;
}

div#loggedIn {
    text-align: left;
    position: relative;
    left: 15px;
    margin-left: 400px;
    padding-top: 4px;
    width: 600px;
}

div#loggedIn span#username {
   color: red;
}

div#loggedIn span#logout a, div#loggedIn span#login a {
   margin-left: 25px;
   margin-right: 10px;
   color: #000000;
}

div#loggedIn span#login a {
   margin-left: 25px;
   margin-right: 10px;
   color: #000000;
   position: relative;
   bottom: 5px;
}


/* Error messages and notices  */

ul.errors  {
    color: red;
    list-style-type: none;
}

h1#error {
	text-align: center;	
}


div#notice {
	text-align: center;
	color: red;
}


/* Comune and Approfondimento page styles  */

p#comune-title, p#approfondimento-title {
	font-size: 110%;
	font-weight: normal;
	border-bottom: 1px solid #000000;
	padding-bottom: 7px;
}

h1 {
	font-size: 170%;
	margin-top: 40px;
	margin-bottom: 40px;
	
}

h1#comune-main-title, h1#approfondimento-main-title {
	font-size: 110%;
        font-weight: bold;
        margin-bottom: 0;
}

span.comprensorio-comune, span.comprensorio-approfondimento {
	font-weight: bold;
}

div#comune, div#approfondimento {
	margin-top: 20px;
        clear: both;
}

div#comune_cenni_storici, div#approfondimento_cenni_storici {
	text-align: justify;
        margin-top: -7px;
}

span#fermomia a {
	color: #666666;
}

div#foto-cartina {
	margin-top: 0px;
	width: 280px;
	float: left;
}

div#cartina, div#cartina-marche {
	width: 230px;
	
}

object#cartina {
    margin-left: 18px;
    margin-top: -10px;
}

object#cartina-marche {
    float: right;
}

div#comune h1, div#approfondimento h1, div#comprensorio h1 {
 clear: both;	
}

/* Right column styles */


div.vertical-banners {
     border: 1px solid #BFBFBF;
     width: 200px;
     height: 300px;
     margin-left: auto;
     margin-right: auto;
     margin-top: 10px;
}

div#secondary-banner-vertical {
	margin-top: 30px;
}

div#right-column {
	text-align: center;
}

div#right-column p {
    margin-top: 5px;
    margin-bottom: 5px;
	text-align: left;
	padding-left: 10px;
}


h2.right-column {
	margin: 0;
	margin-top: 25px;
        margin-bottom: 10px;
        font-weight: bold;
        font-size: 110%;
        margin-top: 0px;
}

h2.right-column-top {
	margin: 0;
	margin-top: 25px;
}

/* GALLERY NO AJAX */

div#gallery-noajax {
	margin-top: 35px;	
}

div#gallery-noajax a img {
	border: none;	
}

div#gallery-noajax div.gallery-thumb {
	float: left;
	margin-left: 25px;	
}

div.gallery_edit {
	margin-bottom: 30px;	
}

div.gallery_edit input, div.comune-photogallery input {
	margin-right: 20px;	
}

div.gallery_edit label, div.comune-photogallery label {
	margin-right: 20px;	
}

div#foto-cartina img#cartina {
	border: none;
	padding: 0;
}

/* links paginazioni */

div#paging a {
    text-decoration: none;
    font-family: arial;
}

div#news1 {
    width: 280px;
}

div#news1 img {
    float: left;
    margin: 10px;
    margin-left: 0;
    margin-bottom: 5px;
    border: 1px gray solid;
    padding: 4px;
}

div#news1 p {
    text-align: justify;
    padding: 10px;
    padding-top: 0px;
}

.highslide-gallery {
    text-align: center;
}

a:focus {outline-style: none;}
object:focus {outline-style: none;}

div#fotogallery img {
    margin: 10px;
}

div#fotogallery h1 {
    font-size: 150%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

p#accomodation_categories a {
    margin-right: 15px;
}

p#slogan2{
	font-size: 95%;
}

p#slogan1{
	border-bottom: 1px solid #BFBFBF;
}

div#slogan p {
	text-align: justify;
	margin-bottom: 3px;
	margin-top: 3px
}

div.approfondimento img {
    border: 1px solid #cfcfcf;
    padding: 5px;
    margin-right: 15px;
    margin-bottom: 7px;
    float: left;
}

div.approfondimento {
    clear: both;
    border-top: 1px dotted gray;
    padding-top: 7px;
}

div.approfondimento p {
    text-align: justify;
    margin-top: 5px;
}

div.approfondimento h2 {
    font-size: 110%;
    margin-top: 0;
    margin-bottom: 0;
}

div.primo-approfondimento {
    margin-top: 3px;
}

h3.cat_appr {
    clear: both;
    background-color: #336799;
    color: #ffffff;
    padding: 2px;
    padding-left: 7px;
    margin-bottom: 0;
    margin-top: 25px;
}

div#homeCalendar .ui-datepicker {
    width: 197px;
}

div#homeCalendar {
    width: 197px;
    margin-top: 10px;
    margin-left: 7px;
}

div#clock {
    float: right;
}

div#slogan {
    clear: both;
}

.epiclock-spacer { margin: 0 5px; }

div#search-box {
    margin-left: auto;
    margin-right: auto;
    margin-top: 7px;
    border: 1px solid #bfbfbf;
    width: 200px;
    height: 116px;
    margin-bottom: 7px;
}

select#comprensori_id {
    margin-bottom: 15px;
}

div#fotogallery h1.fotogallery-comune, h2.fotogallery-comune {
    text-align: center;
    clear: both;
}

div#fotogallery h2.fotogallery-comune {
    margin-top: 0px;
}

div#fotogallery h1.fotogallery-comune {
    margin-bottom: 3px;
}

div#content p.appr-website {
    margin-top: 0;
    margin-bottom: 0;
}
