* {
margin: 0px;
padding: 0px;
border: 0px;
}
body {
font-family: Arial, Helvetica, sans-serif;
background: url('../sms_images/background/body.jpg') repeat-x top #040505;
}
#page_loading {
	position: relative;
	padding-top: 100px;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
}
#main {
position: relative;
width: 989px;
margin: 0px auto;
}
#head {
position: absolute;
top: 0px;
width: 0px;
width: 989px;
height: 430px;
background: url('../sms_images/background/head.jpg') no-repeat;
z-index:30;
}
#logo {
position: absolute;
top: 5px;
left: 56px;
}
#language {
position: absolute;
top: 0px;
right: 238px;
font-size: 12px;
}
#language a {
color: #9F9F9F;
text-decoration: none;
padding: 0px 0px 0px 20px;
background: url('../sms_images/background/language_off.gif') no-repeat top left;
margin-left: 20px;
}
#language a:hover, #language a.active {
color: #FFFFFF;
background: url('../sms_images/background/language_on.gif') no-repeat top left;
}
#menu {
position: absolute;
top: 386px;
left: 48px;
width: 615px;
height: 43px;
}

#menu, #menu ul{
	padding: 0;
	margin: 0;
	list-style: none;
}
#menu a{
	text-decoration: none;
}
.mainlink{
/*definizione degli "li" del menu di primo livello*/
	width: 87px;
	height: 49px;
	background: url('../sms_images/background/menu_off.gif') no-repeat top left;
	margin-right: 1px;
	float:left;
	position: relative;
}

.ultimo{
/*definizione degli "li" del menu di primo livello*/
	width: 85px;
	height: 49px;
	background: url('../sms_images/background/menu_off.gif') no-repeat top left;
	margin-right: 1px;
	float:left;
	position: relative;
}

.mainlink:hover {
	background: url('../sms_images/background/menu_on.gif') no-repeat top left;
}
.mainlink:last-child {
margin-right: 0px;
}
/*
.mainlink:hover .headerlinks a {
	background: url('../sms_images/background/menu_a_on.gif') no-repeat 7px 10px;
}
*/
.headerlinks a{
/*definizione dei link di primo livello*/
	display: block;
	height: 40px;
	/*
	padding-left: 23px;
	background: url('../sms_images/background/menu_a.gif') no-repeat 7px 10px;
	*/
	color: #FFFFFF;
	text-decoration: none;
	font-size: 12px;
	padding-top: 8px;
	line-height: 11px;
	text-align: center;
}
/*
.headerlinks a:hover, .headerlinks a.active {
	background: url('../sms_images/background/menu_a_on.gif') no-repeat 7px 10px;
}
*/
.sottomenu {
	display: none;
	width: auto !important;
	width: 160px;
	min-width: 160px;
	position: absolute;
	top: 45px;
	left: 0;
	border: 1px solid #E1E1DD;
	background:#E3E0D7;
	filter:alpha(opacity=90); /*EXPLORER*/
	opacity:0.90;
	z-index: 10 !important;
	z-index: 1;
	
}
.sottomenu li{
	display: block;
	height: 18px;
	line-height: 18px;
	width: 160px;
}
.sottomenu li a{
	display: block;
	height: 18px;
	color: #000000;
	/*background: url('../images/sottomenuLink_bg.gif') no-repeat 7px;*/
	padding-left: 18px;
	font-size: 11px;
}
.sottomenu li a:hover{
	background: #FFAE00;
	color: #000000;
	font-weight: bold;
	padding-left: 7px;
	
}
#menu li:hover ul, li.over ul {
	display: block;
}





#container {
position: absolute;
left: 21px;
width: 643px;
background: url('../sms_images/background/container.gif') repeat-y left;
font-size: 12px;
z-index:20;
padding-bottom: 20px;
}
#container #contenuto {
padding: 0px 23px 0px 0px;
background: url('../sms_images/background/container_div.gif') repeat-y left;
}
#container #news_eventi {
padding: 5px 0px 10px 34px;
*padding-bottom: 0px;
background: url('../sms_images/background/titolo_news_eventi_it.gif') no-repeat left top;
border-bottom: 1px solid #A6CD31;
}
#container #news_eventi #news_eventi_1, #container #news_eventi #news_eventi_2 {
float: left;
}
#container #news_eventi #news_eventi_1 h3 {
background: url('../sms_images/background/news_eventi_h3_1.gif') no-repeat 18px center #F1F1F1;
padding: 10px 0px 10px 52px;
margin-bottom: 20px;
}
#container #news_eventi #news_eventi_2 h3 {
background: url('../sms_images/background/news_eventi_h3_2.gif') no-repeat 18px center #E7F1C7;
padding: 10px 0px 10px 52px;
margin-bottom: 20px;
}
#container #news_eventi #news_eventi_1 h4, #container #news_eventi #news_eventi_2 h4 {
text-transform: uppercase;
margin-bottom: 6px;
}
#container #news_eventi #news_eventi_1 {
width: 272px;
margin-left: 0px;
text-align: justify;
font-size: 12px;
line-height: 17px;
/*background: #F1F1F1;*/
padding: 10px;
padding-top:0px;
}
#container #news_eventi #news_eventi_1 div {
margin-bottom: 10px;
clear:both;
}
#container #news_eventi #news_eventi_1 div img {
float: left;
margin-right: 13px;
}
#container #news_eventi #news_eventi_1 div p {
font-size: 12px;
line-height: 14px;
}
#container #news_eventi #news_eventi_1 #link_esterno a {
font-weight:bold;
color: #000000;
text-decoration: none;
}
#container #news_eventi #news_eventi_1 #link_esterno a:hover {
text-decoration: underline;
}
#container #news_eventi #news_eventi_1 #div_eventi a {
color:#000000;
text-decoration:underline;
}
#container #news_eventi #news_eventi_1 #div_eventi a:hover {
text-decoration: none;
}
#container #news_eventi #news_eventi_2 {
width: 272px;
margin-left: 21px;
*margin-left: 15px;
font-size: 12px;
line-height: 17px;
text-align: justify;
}
#container #news_eventi #news_eventi_2 div img {
float: left;
margin-right: 13px;
}
/*
#container #news_eventi #news_eventi_2 #link_esterno a {
display: block;
color: #000000;
margin-left: 17px;
margin-bottom: 14px;
padding-left: 21px;
background: url('../sms_images/background/eventi2_a.gif') no-repeat 2px 5px;
}

#container #news_eventi #news_eventi_2 #link_esterno a:hover {
text-decoration: none;
}
*/
#link_esterno a {
font-weight:bold;
color: #000000;
text-decoration: none;
}
#link_esterno a:hover {
text-decoration: underline;
}
#container #news_eventi #news_eventi_2 #div_eventi a {
color:#000000;
text-decoration:underline;
}
#container #news_eventi #news_eventi_2 #div_eventi a:hover {
text-decoration: none;
}
#container #utilities {
position: relative;
height: 98px;
padding-left: 34px;
background: url('../sms_images/background/titolo_utilities.gif') no-repeat left bottom;
border-top: 1px solid #A6CD31;
display: none;
}
#find, #cinema {
position: absolute;
top: 20px;
}
#find h4, #cinema h4 {
position: absolute;
top: 0px;
left: 43px;
padding-left: 8px;
}
#find {
left: 38px;
width: 294px;
height: 49px;
}
#find h4 {
color: #6A8C05;
background: url('../sms_images/background/h4_find.gif') no-repeat left center;
}
#find .lente {
position: absolute;
top: 15px;
}
#find div {
position: absolute;
background: #A6CD31;
width: 257px;
height: 35px;
top: 16px;
left: 41px;
}
#find input[type="text"] {
position: absolute;
top: 8px;
left: 8px;
width: 190px;
border-top: 1px solid #000000;
border-left: 1px solid #000000;
border-bottom: 1px solid #D5CCBB;
border-right: 1px solid #D5CCBB;
}
#find a {
position: absolute;
top: 5px;
right: 14px;
}
#cinema {
right: 0px;
width: 294px;
height: 49px;
}
#cinema h4 {
color: #0A52BE;
background: url('../sms_images/background/h4_cinema.gif') no-repeat left center;
}
#cinema div {
position: absolute;
background: #6E8B91;
width: 257px;
height: 35px;
top: 16px;
left: 41px;
}
#cinema select {
position: absolute;
top: 8px;
left: 8px;
font-size: 11px;
width: 190px;
border-top: 1px solid #000000;
border-left: 1px solid #000000;
border-bottom: 1px solid #D5CCBB;
border-right: 1px solid #D5CCBB;
}
#cinema a {
position: absolute;
top: 5px;
right: 14px;
}
#container #rubriche_info {
position: relative;
padding-left: 34px;
padding-top: 0px;
padding-bottom: 0px;
background: url('../sms_images/background/titolo_rubriche_info_it.gif') no-repeat left top;
border-bottom: 1px solid #FFAE00;
}
#container #rubriche_info #rubriche_info_1, #container #rubriche_info #rubriche_info_2 {
float: left;
}
#container #rubriche_info #rubriche_info_1 h3, #container #rubriche_info #rubriche_info_2 h3 {
background: url('../sms_images/background/rubriche_info_h3.gif') no-repeat left center;
padding: 3px 0px 3px 34px;
margin-bottom: 20px;
}
#container #rubriche_info #rubriche_info_1 h4, #container #rubriche_info #rubriche_info_2 h4 {
text-transform: uppercase;
margin-bottom: 6px;
}
#container #rubriche_info #rubriche_info_1 p, #container #rubriche_info #rubriche_info_2 p {
padding-bottom: 20px;
}
#container #rubriche_info #rubriche_info_1 {
width: 272px;
margin-left: 11px;
*margin-left:5px;
text-align: justify;
font-size: 12px;
line-height: 17px;
}
#container #rubriche_info #rubriche_info_2 {
width: 272px;
margin-left: 21px;
*margin-left: 15px;
font-size: 12px;
line-height: 17px;
text-align: justify;
padding-left:10px;
}
#colonnaDx {
position: absolute;
right: 80px;
_right: 79px;
width: 246px;
font-size: 12px;
background: url('../sms_images/background/colonnaDx.gif') repeat-y left;
z-index:20;
}
#menu_verticale {
list-style-type: none;
width: 246px;
color: #FFFFFF;
background: #0F6B86;
position:relative;
line-height: 11px;
margin-bottom: -1px;
}
#menu_verticale a {
color: #FFFFFF;
display: block;
height: 100%;
text-decoration: none;
}
#menu_verticale li.mainmenu {
width: 246px;
margin-bottom: 1px;
padding-bottom: 2px;
background: url('../sms_images/background/mainmenu.gif') no-repeat left bottom;
min-height: 22px;
}
#menu_verticale li.mainmenu.nolink {
background: none;
}
#menu_verticale li.mainmenu a {
padding: 9px 0px 10px 47px;
background: url('../sms_images/background/mainmenu_off.gif') no-repeat 10px center;
}
#menu_verticale li.mainmenu a:hover, #menu_verticale li.mainmenu a.active {
background: url('../sms_images/background/mainmenu_on.gif') no-repeat 10px center #094050;
}
#menu_verticale ul {
list-style-type: none;
}
#menu_verticale ul li.submenu {
background: #0C566B;
margin-bottom: 1px;
}
#menu_verticale ul li.submenu.active {
background: url('../sms_images/background/submenu_on.gif') no-repeat 49px 10px #094050;
}
#menu_verticale ul li.submenu a {
padding: 5px 0px 7px 67px;
background: url('../sms_images/background/submenu_off.gif') no-repeat 49px 10px;
}
#menu_verticale ul li.submenu a:hover, #menu_verticale ul li.submenu a.active {
background: url('../sms_images/background/submenu_on.gif') no-repeat 49px 10px #094050;
}
#annunci_google {
border-top: 6px solid #353939;
border-bottom: none;
text-align: center;
padding-top: 10px;
}
#footer {
position: absolute;
left: 21px;
width: 888px;
height: 99px;
background: url('../sms_images/background/footer.jpg') no-repeat;
z-index:10;
}
#footer  a {
text-decoration: none;
}
#footer  a:hover {
text-decoration: underline;
}
#footer a.sanmarino {
position: absolute;
top: 62px;
right: 6px;
color: #FFFFFF;
font-weight: bold;
padding-left: 17px;
background: url('../sms_images/background/sanmarino_footer.gif') no-repeat left;
font-size: 12px;
}
#footer a.infoalberghi {
position: absolute;
bottom: 3px;
right: 6px;
color: #000000;
font-size: 12px;
}
#footer .firma {
position: absolute;
font-size: 12px;
color: #41A0B9;
bottom: 3px;
left: 6px;
}
#footer .firma a {
color: #41A0B9;
}


/*pagine interne*/
#main.interno #head {
	height: 359px;
	background: url('../sms_images/background/head_interno.jpg') no-repeat;
}
#main.interno #menu {
	top: 315px;
}
#main.interno #news_eventi,
#main.interno #utilities,
#main.interno #rubriche_info {
	display: none;
}
#main.interno #contenuto {
	padding: 10px 0px 20px 50px;
	width: 379px;
	position: relative;
	float: left;
}
#main.interno #gallery {
	position: relative;
	float: left;
	width: 145px;
	padding-top: 60px;
	margin-left: 32px;
}
#main.interno #gallery img {
	margin-bottom: 20px;
	padding: 2px;
	border: 1px solid #949494;
}
#main.interno #contenuto h2 {
	background: url('../sms_images/background/rubriche_info_h3.gif') no-repeat left center;
	padding: 2px 0px 2px 34px;
	margin-bottom: 20px;
}
#main.interno #contenuto h1 {
	background: url('../sms_images/background/rubriche_info_h3.gif') no-repeat left center;
	padding: 2px 0px 2px 34px;
	margin-bottom: 20px;
}
#main.interno #contenuto p {
	padding-bottom: 20px;
}
/* Regole aggiunte per i link Cristiano - Sacco */
.linkia a {
	color: #000000;
	text-decoration:underline;
}
.linkia a:hover {
	color: #ffa600;
	text-decoration:underline;
}
.linkia_novisible a {
	color: #000000;
	text-decoration:none;
}
.linkia_novisible a:hover {
	color: #000000;
	text-decoration:underline;
}


table td {
	padding: 3px;
}

#galleriafoto {
	padding: 2px !important;
	padding: 3px 3px 0px 3px;
	border: 1px solid #949494;
	width: 150px;
	height: 150px;
}

#corniceminiature {
	border: 1px solid #949494;
	padding: 2px;
}

/* Regole aggiunte da lucio per footer index e riviera romagnola */
.linkfooter a {
	color: #555555;
	text-decoration:underline;
}
.linkfooter a:hover {
	color: #555555;
	text-decoration:underline;
}
