/*
 * It's...
 * Mobissimo.pl Screen Icing
 *
 * General stylesheet
 *
 */



/* OVERALL */

body {
	background: #f3f3f3 url('img/bg_top.png') repeat-x top;
	font-size: 12px;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #000;
}

body, h1, h2, h3, h4, h5, h6, ul, p, a, fieldset, img, form, input, label {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

a, a:visited {
	text-decoration: none;
	color: #ff4d00;
	border-bottom: 1px dotted #ff4d00;
}

a:hover {
	color: #ff4d00;
	border-bottom: 1px solid #ff4d00;
}

.houdini {
	text-indent: -9999em;
	display: block;
}



/* MAIN NAVIGATION MENU */

#nav {
	height: 27px;
	clear: both;
	background: url('img/box_line.png') bottom repeat-x;
	padding-bottom: 3px;
}

#nav p {
	width: 100px;
	background: url('img/search_caption.png') no-repeat;
}

#nav p, ul#menu a {
	height: 25px; /* TODO make 100% work */
	border: 0;
	float: left;
}

ul#menu a {
	padding: 0 10px;
	text-indent: -9999px;
}

ul#menu, ul#fi_list, #footer ul.links, ul#footer_flights {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul#menu li, #footer ul.links li, ul#footer_flights li {
	display: inline;
}

a.nav_air {
	background: url('img/nav_air.png') no-repeat 0 0;
	width: 46px;
}

a.nav_hotel {
	width: 66px;
	background: url('img/nav_hotel.png') no-repeat 0 0;
}

.body_air a.nav_air, .body_hotel a.nav_hotel { /* active states */
	background-position: 0 50%;
}

a.nav_air:hover, a.nav_hotel:hover {
	background-position: 0 100%;
}



/* BUILDING BLOCKS AND PAGE ELEMENTS */

a.anchor_image, a.anchor_image:hover, a.anchor_image:visited, #logo a {
	border: 0;
}

.field img.icon {
	margin-left: 0.5em;
}

.box {
	margin: 2em 0;
	width: 200px;
}

.box h3 {
	font: 1.25em/1em 'Trebuchet MS', Tahoma, sans-serif;
	font-weight: bold;
	color: #ff4d00;
	background: url('img/box_line.png') bottom repeat-x;
	padding: 0 0 0.6em 0.2em;
	margin-bottom: 0.3em;
}

.box_content { /* TODO usunac klase, dostep przez ancestora box */
	padding: 0.1em 0.4em;
}

.box p {
	line-height: 1.5em;
	margin-bottom: 0.5em;
}

#nav_caption {
	font-variant: small-caps;
	text-indent: -9999px;
}

.calendar_icon {
	display: block;
	height: 16px;
	width: 16px;
	text-indent: -9999px;
}

.calendar_active {
	background: url('img/calendar.png') no-repeat;
}

.calendar_disabled {
	background: url('img/calendar_disabled.png') no-repeat;
}

#flash_notice, #errors {
	padding: 1em 1em 1em 2.5em;
	border: 2px solid;
}

#flash_notice {
	background: url('img/comment.png') no-repeat .5em 1em #fff6cf;
	border-color: #ffcc00;
	margin-bottom: .5em;
}

#errors, #flash_notice.flash_error {
	background: url('img/error.png') no-repeat .5em 1em #bf3100;
	border-color: #ef3e00;
	color: #fff;
}

#errors.hover {
	cursor: pointer;
}

#errors h3 {
	font-size: 1.2em;
}

#errors ul {
	list-style: none;
	padding: .5em 0 .2em .5em;
}

#errors ul li {
	padding-top: .3em;
}



/* THE HOLY CLEARFIX */

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */

.clearer {
	clear:both;
	display:block;
	font-size:1px;
	height:1px;
	line-height:1px;
	margin-bottom:-1px;
}



/* FOOTER GUTS */

#footer {
	clear: both;
	font-size: 0.91em;
	color: #999;
}

#footer ul#inside {
	padding: 1em 0 1.5em;
}

#footer ul#outside {
	padding-bottom: 2em;
}

ul#footer_flights {
	margin: 0.5em 1em;
}

#footer a {
	border: 0;
}

#footer ul.links a {
	color: #555;
	padding: 0.1em 1.2em;
}

#footer ul#inside a {
	border-right: 1px solid #ccc;
}

#footer ul#inside a.last_item {
	border: 0;
}

#footer ul#outside a {
	background-repeat: no-repeat;
	background-position: 1em 50%;
	padding-left: 3em;
}

#footer a.com { background-image: url('img/flag_com.png'); }
#footer a.uk { background-image: url('img/flag_uk.png'); }
#footer a.fr { background-image: url('img/flag_fr.png'); }
#footer a.india { background-image: url('img/flag_india.png'); }
#footer a.pl { background-image: url('img/flag_pl.png'); }
#footer a.es { background-image: url('img/flag_es.png'); }
#footer a.it { background-image: url('img/flag_it.png'); }

#footer ul.links a:hover {
	text-decoration: underline;
}

#footer_flights a {
	color: #ccc;
	margin: 1em;
}


form input.error, form select.error {
  border: 2px solid #ef3e00;
}


/* FOOTERSTICKALT VOODOO */
html, body {
	height: 100%;
}

#nonFooter {
	position: relative;
	min-height: 100%;
}

* html #nonFooter {
	height: 100%;
}

#footer {
	position: relative;
	margin: -6em auto 0 auto;
	/*padding: 4em 0 2em;*/
	height: 6em;
	overflow: hidden; /* at worst hides the links of cheap flights but allows to set fixed height for the footer and so the footerstickalt plays well with layout */
	width: 980px;
	text-align: center;
	background: #fff url('img/box_line.png') top repeat-x;
}

/* only applies to IE -- specifies a different offset for the footer */
* html #footer {
	margin-top: -6.2em;
}

#wrap {
	min-height: 100%;
}

* html #wrap {
	height: 100%;
}
