/*
 * Mobissimo 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;
}




/* MAIN NAVIGATION MENU */

#nav {
	height: 27px;
	clear: both;
	background: url('img/box_line.png') bottom repeat-x;
	padding-bottom: 3px;
	font-family:'Trebuchet MS';
	font-size:1.4em;
	font-weight:bold;
}

#nav a {
	border: 0;
	margin-right: 15px;
}


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

ul#menu, #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;
}



/* 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: 240px;
}

.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;
}

h2, h3 {
	font-family: 'Trebuchet MS';
	color: #ff4d00;
}

h2 {
	font-size: 1.75em;
	font-style: italic;
	font-weight: normal;
}

h3 {
	font-size: 1.25em;
	font-weight: bold;
}





/* 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.es { background-image: url('img/flag_es.png'); }
#footer a.it { background-image: url('img/flag_it.png'); }
#footer a.de { background-image: url('img/flag_de.png'); }
#footer a.pl { background-image: url('img/flag_pl.png'); }

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

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




/* 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%;
}

