/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
	Created on : 25-mar-2014, 16.11.10
	Author	 : alessandrobizzeti
*/
/*
section {
	margin-bottom: 2em;
}
*/
#content {
	font-size: 100%;
	line-height: 1;
}

.content {
	font-size: 13px;
	line-height: 1.3em;
}

h1 {
	font-size:18px;
	font-weight: bold;
	margin-bottom: 1em;
}

h2 {
	font-size: 18px;
	margin-bottom: 0.5em;
}

.main-content {
	margin-left: -47%;
	margin-bottom: 0;
}

.main-content .content
{
	margin-left: 47%;
}

.sidebar {
	width: 45%;
	margin-bottom: 0;
	text-align: left;
}

#search-header .sidebar {
	float: left;
	position: relative;
}

.sidebar .widget {
	margin-top: 0;
	margin-bottom: 1.8em;
	background: none;
	border: none;
	padding: 0;
}

#content .widget ul.alberghi {
	margin-left: -2%;
}

#content .widget ul.alberghi li {
	float: left;
	width: 48%;
	margin-left: 2%;
	border-top: 0;
	padding-top: 0;
	background: transparent;
}

#content .widget ul.alberghi .ratings {
	clear: none;
	font-weight: normal;
	margin-top: 0;
}

fieldset.persone {
	display: none;
}

.sidebar .more-search,
.sidebar .usefull-links {
	float: left;
	width: 58%;
	border-left: 1px solid #eaeaea;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0 0.7em;
}

.sidebar .usefull-links {
	width: 40%;
	margin-left: 1%;
}

.sidebar .more-search h3,
.sidebar .usefull-links h3 {
	margin-bottom: 1em;
	font-size: 15px;
}

.more-search ul,
.usefull-links ul {
	list-style: none;
	font-size: 12px;
	font-weight: bold;
}

.more-search li,
.usefull-links li {
	margin-bottom: 0.6em;
}

.more-search li {
	display: inline-block;
	width: 45%;
	margin-right: 4%
}

#vantaggi-home > ul > li {
	list-style: none;
	min-height: 2.2em;
	display: inline-block;
	width: 49%;
	vertical-align: middle;
	margin-top: 1em;
	text-align: left;
}
#vantaggi-home > ul {
	position: relative;
	margin-top: -1em;
	font-size: 1.11em;
}

#vantaggi-home h2 {
	padding-left: 4.5em;
	position: relative;
	line-height: 1.5em;
	margin: 0;
	font-size: 0.9em;
}

#vantaggi-home p {
	margin-bottom: 1.6em;
}

#vantaggi-home .icons {
	display: block;
	width: 62px;
	position: absolute;
	top: 50%;
	left: 0px;
	margin-top: -0.5em;
	font-size: 29px;
	text-align: center;
}

#vantaggi-home .icons.icon-hotels {
	font-size: 29px;
}

#vantaggi-home .icons.icon-recensioni {
	font-size: 22px;
}

#vantaggi-home .icons.icon-sicurezza {
    font-size: 27px;
}

#vantaggi-home .icons.icon-prenotazione {
    font-size: 25px;
}

#vantaggi-home .icons.icon-easy {
    font-size: 30px;
}

/*
#vantaggi-home .icons.icon-sicurezza {
    font-size: 40px;
}

#vantaggi-home .icons.icon-prenotazione {
    font-size: 40px;
}

#vantaggi-home .icons.icon-easy {
    font-size: 47px;
}
*/

#main #regioni img {
	border: none;
}

#main #regioni img.layer-mappa {
	position: absolute;
	top: 0;
	left: 0;
	width: 280px;
	height: 330px;
}

#suggestions h2 .icons {
	margin-right: 0.2em;
}

#suggestions ul {
	text-align: center;
	list-style: none;
	margin-left: -1.5%;
	margin-top: -1.5%;
	line-height: 0;
}

#suggestions ul li {
	display: inline-block;
	width: 20%;
	padding-left: 1.5%;
	padding-top: 1.5%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#suggestions ul li a {
	display: block;
	position: relative;
	color: inherit;
}

#suggestions ul li img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 2em; /* lo spazio della scritta */
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#suggestions ul li a .overlay {
	position: absolute;
	left: 1px;
	right: 1px;
	bottom: 1px;
	padding: 5px;
	text-align: center;
	background-color: rgba(255,255,255,0.55);
}

.no-touch #suggestions ul li a:hover .overlay,
.touch #suggestions ul li a:active .overlay {
	/*
	bottom: auto;
	top: 100%;
	z-index: 2;
	color: #5faecd;
	background: #08668F;
	color: #FFF;
	margin-top: -1px;
	border: 1px solid #DDD;
	border-top: none;
	left: 0;
	right: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	*/
	background: #08668F;
	color: #FFF;
}

#suggestions ul li a .overlay strong {
	font-size: 0.9em;
	line-height: 1;
	display: inline-block;
	padding: 2px;
	background: rgba(255,255,255,0.20);
}

.no-touch #suggestions ul li a:hover .overlay strong,
.touch #suggestions ul li a:active .overlay strong {
	background: transparent;
}

#suggestions ul.top {
	margin: -2% 0 2% -2%;
}

#suggestions ul.top li {
	width: 33.33333333333%;
	padding-left: 2%;
	padding-top: 2%;
}

#suggestions ul.top li a .overlay strong {
	font-size: 1em;
}

/**
* Parte mappe
*/
#map_box_hp{
	position: relative;
	width: 480px;
	min-width: 400px;
}

#map_list_hp{
	text-align: left;
	float: right;
	list-style-type: none;
	list-style-position: outside;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
}

#map_italy_hp div{
	background-image: url('/images/map_regioni.gif');
}

.no-touch #map_list_hp a:hover,
.touch #map_list_hp a:active,
#map_list_hp a.forced-hover {
	color: #FFC45B;
}

.no-touch #map_list_hp a:hover .icons:before,
.touch #map_list_hp a:active .icons:before,
#map_list_hp a.forced-hover .icons:before {
	margin-left: -1em;
	content: "\e623";
	font-style: normal;
	font-size: 1em;
	vertical-align: -1px;
}

div.regione_map_abruzzo { background-position: 0 -76px; }
div.regione_map_basilicata { background-position: 0 -122px; }
div.regione_map_calabria { background-position: 0 -167px; }
div.regione_map_campania { background-position: 0 -244px; }
div.regione_map_emilia { background-position: 0 -299px; }
div.regione_map_veneto { background-position: 0 -10px; }
div.regione_map_friuli { background-position: 0 -350px; }
div.regione_map_lazio { background-position: 0 -389px; }
div.regione_map_liguria { background-position: 0 -447px; }
div.regione_map_lombardia { background-position: 0 -481px; }
div.regione_map_marche { background-position: 0 -547px; }
div.regione_map_molise { background-position: 0 -595px; }
div.regione_map_piemonte { background-position: 0 -624px; }
div.regione_map_puglia { background-position: 0 -703px; }
div.regione_map_sardegna { background-position: 0 -773px; }
div.regione_map_sicilia { background-position: 0 -854px; }
div.regione_map_toscana { background-position: 0 -915px; }
div.regione_map_trentino { background-position: 0 -988px; }
div.regione_map_umbria { background-position: 0 -1040px; }
div.regione_map_valle_d_aosta { background-position: 0 -1086px; }


/* ESPERIMENTI */
#vantaggi-home {
	margin-bottom: 0;
}

#search-header .search-form fieldset {
	float: left;
	width: 49.5%;
	margin-right: 1%;
}

#search-header .search-form fieldset.departure {
	margin-right: 0;
}

#search-header .search-form fieldset.destination {
	display: block;
	width: 100%;
}

#search-header .search-form fieldset.additional-option {
	width: 48%;
	display: inline-block;
	float: none;
	height: 3.7em;
}

#search-header .search-form .additional-option div {
	padding-right: 2em;
}

#search-header .button-search {
	display: inline-block;
	width: 50%;
	vertical-align: bottom;
}


/*******************
*    Responsive    *
*******************/
@media only screen and (max-width: 949px) {
	#breadcrumbs {
		margin: 0;
	}

	.main-content .content {
		margin-left: 210px;
		margin-right: auto;
		text-align: center;
		width: auto;
	}

	.main-content .bottom-content {
		margin-left: auto;
	}

	#regioni {
		display: inline-block;
	}


	.sidebar {
		width: 200px;
	}

	.search-form > div {
		padding-bottom: 2.5em;
		position: relative;
	}

	#search-header .button-search {
		position: absolute;
		left: 0;
		bottom: 0;
		right: 0;
		width: 100%;
	}

	.content h1 {
		text-align: center;
	}

	#search-header .search-form fieldset.additional-option {
		width: 100%;
	}

	#search-header .search-form .additional-option div {
		padding-right: 0;
	}

	#search-header .search-form fieldset {
		float: none;
		width: auto;
		margin-right: 0;
		display: block;
	}

	#search-header .search-form .fieldset-container:after {
		display: none;
	}
}

@media only screen and (max-width: 599px) {
	/* stringo la mappa */
	#map_box_hp {
		width: 420px;
	}
}

@media only screen and (max-width: 549px) {
	/* cambiamenti search-header home */
	#search-header .sidebar {
		float: none;
		width: 100%;
		margin-bottom: 1.4em;
	}

	#search-header .main-content,
	#search-header .main-content .content {
		float: none;
		width: 100%;
		margin: auto;
	}

	#search-header .search-form fieldset {
		float: left;
		width: 49%;
		margin-right: 2%;
	}

	#search-header .search-form fieldset.additional-option {
		height: auto;
		margin-bottom: 5px;
	}

	#search-header .search-form .additional-option div {
		padding-bottom: 1em;
	}

	.additional-option input.custom[type="checkbox"] + label {
		padding-right: 0;
	}

	/* riformatto i motivi di prenotazione */
	#vantaggi-home > ul > li {
		float: left;
		display: block;
		width: 50%;
		min-height: 2.6em;
		text-align: center;
		padding-left: 40px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	#vantaggi-home h2 {
		padding-left: 0;
		position: relative;
		line-height: 1.5em;
		font-size: 0.85em;
	}

	#vantaggi-home .icons {
		left: auto;
		right: 100%;
		width: 40px;
	}

	/* rimodulazione foto */
	#suggestions ul.top li:first-child {
		width: 100%;
	}

	#suggestions ul.top li,
	#suggestions ul li {
		width: 50%;
	}

	#suggestions ul:not(.top) li:last-child {
		display: none;
	}

	/* cambi footer solo per home */
	#vantaggi-footer {
		display: none;
	}

	.page-footer {
		text-align: center;
	}

	.cards {
		display: inline-block;
		float: none;
	}

	.cards > .distance {
		padding-top: 0;
	}
}

@media only screen and (max-width: 479px) {
	/* rimozione cartina */
	#map {
		display: none;
	}
}
