/* plik do resetu domyślnych ustawień przeglądarek */
@import "reset.css";

/* Proponowana kolejność składowych elementów css:
 * - sposób wyświetlania elementu (block, inline), poza tym: float, clear, position
 * - rozmiar elementu
 * - marginesy wew. i zew.
 * - wszystko związane z wyświetlaniem tekstu (czcionka, odl. pomiędzy wierszami)
 * - tło strony (kolor, obrazek itp.)
 * - obramowanie elementu
 */ 

html, body {
	height:100%;
}

body {
    color:#333;
    font-family: Arial, Helvetica, sans-serif; 
	font-size: 76%;/* podstawowa wielk. czcionki */
    line-height: 1;
}

h1, h2, h3, h4, h5 {
    margin: 0px 1em 1em;
}

h1 {
    font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 2.0em;
	font-weight: normal;
}

h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.6em;
	font-weight: normal;
}

h3 {
    font-family: Arial, Helvetica, sans-serif; 
	font-size: 1.2em;
	font-weight: normal;
	margin: 18px 0px 9px 0px;
}

h4 {
	font-size: 1.2em;
	font-weight: bold;
}

h5 {
	font-size: 1.0em;
	font-weight: bold;
}

p { 
    font-size: 1.0em;
    line-height: 1.6em;
    padding: 0px 0px 0px;
}

A, A:visited {
    color: #666;
    text-decoration: underline
}

A:hover, A:hover {
    color: #000;
}

em {
	font-weight: bold;
}
	
.vbox {
    display: block;
    float: left;
}

.hidden {
    visibility : hidden;
}

ul {
	line-height: 150%;
	padding-left: 1em;
	}
/* pojemnik na cala strone */
#body_container {
    background: #d6d6d6 url('../images/page_bg.jpeg') 0px 123px repeat-x;
	height:auto !important; /* dla "normalnych" przeglądarek */
	height:100%; /* przez IE6 traktowane jak min-height*/
	margin:0 auto; /* wycentrowanie */
	min-height:100%;
	position: relative; /* niezbędne dla prawidłowego wyświetlenia stopki */
	width:100%;
}

/* pojemnik na naglowek */
#header_container {
    height: 123px;
    background: url('../images/head_bg.jpeg') 0px 0px repeat-x;
	background-color:  #FFA000;
}

#header_container p {
    color: #edf;
    font-style:italic;
    font-size:1.1em;
    margin: 0.5em 35px;
}

#header_container h1 {
    /*margin: 40px 30px;*/
    display: block;
    float: left;
    font-size: 2.8em;
    margin-top: 5px;
}

#header_container #link {
    background-color: #222;
    color: #eee;
    height: 16px;
    margin-top: -16px;
    position: absolute;
    width: 80px;
}

/*pojemnik na środkową część nagłówka z logiem, zakładkami itp*/
#header_center {
    background: url('../images/logo.png') 0px 20px no-repeat;
    height: 95px;
    margin: 0px 10px 0px 80px;
}

/*logowanie*/
#login_box {                                                                 
    position: absolute;
    right: 18px;
    top: 40px; 
    width: auto;
    z-index: 10;
}

#login_box * {                                                                 
	border: 0px #FFF solid;
	margin: 0px;
	padding: 0px;
	width: auto;
}

#login_box form {
	background-color:  #FFA000;
	display: block;
	float: right;
	margin: 0px;
	}

#login_box ul {
	list-style: none;
	}

#login_box li {
	display: block;
	float: left;
	margin: 0px 0px 0px 0px;
	padding: 0px 9px 3px 0px;
	}

#login_box strong {
	font-size: 140%;
	font-style: normal;
	font-weight: bold;
	}

#login_box a:hover {
    background-color: #fff;
}

#login_box input {
    background-color: #FCFCFC;
    border: 1px #999 solid;
	color: #555;
	padding: 3px;
	font-family: verdana, arial, helvetica, sans-serifr;
	font-size: 110%;
}

#login_box input.button {
	background-color: #333;/*ffa000;*/
	border: 1px #555 solid;
	color: #eee;
	font-weight: bold;
	margin-right: -9px;
	padding: 2px 9px;
}

/* pojemnik z srodkowa czescia strony */
#content_container {
    margin: 0 auto !important;
    padding-top: 11px;/* odl. pomiedzy naglowkiem a reszta strony */
    width: 90%;
}

/* pojemnik na stopke */
#footer_container {
	padding-bottom: 53px; /* margines wew. żeby stopka była widoczna tj. zaw. + obramowanie stopki */
    width: 100%;
}

#footer {
    background-color: #333;
    border-top: 1px #333 solid ; 
	bottom:0; /* przyklej na dole strony */
	/* w ltIE6 to będzie:
	bottom: expression((this.offsetParent.clientHeight % 2) ? '-1px' : 0);
	*/
    color: #eee;
    height: 44px; 
    left: 0;
	position: absolute;
    text-align: center;
	width:100%;
}

#footer_container p {
    margin:0;
    padding:1em;
} 

.column {
    background-color: #fff;
    border: 1px #ddd solid;    
	padding: 18px;
}

.column h2, h3, h4, h5 {
    color: #bd5c1c;
}

.column h2 {
    border-bottom: 1px #bd5c1c solid;
    display: block;
    margin: 0px;
    margin-bottom: 10px;
    padding: 5px 9px;
}

.med_font {
	font-size: 120%;
}

.small_font {
    font-size: 90%;
    color: #666;
}

.wm {
	padding: 36px;
}
	
/* pojemnik obejmujący akapit */
.par {
	display: block;
    margin: 0px 0px 18px 0px;
}

/* blok składowy akapitu, dosunięty do lewej */
.par_block {
	clear: none;
	float: left;
	line-height: 150%;
	margin-right: 9px; /* odstęp między tym a kolejnym elementem */
	margin-bottom: 18px;
	width: auto;
}

/* wyróżniony blok tekstu */
.em_block {
	background-color: #f5f5f5;
	border: 1px #e5e5e5 solid;
	padding: 8px;
}

.clean_ul {
	list-style: none;
    padding-left: 0px;
}

.clean_ul li {
	line-height: 180%;
}

.column_body {
    clear: both;
    border: 0px #dbdbe6 solid;
    border-top-width: 0px;
    border-right: 0px #cbcbd6 solid;
    border-bottom: 0px #cbcbd6 solid;
    padding-top: 10px;
    width: auto;
}

.main_column {
    background-color: #fff;
    margin: 0 auto;
    width: 90%;
}

.main_column_narrow {
    background-color: #fff;
    float: left;
    width: 75%; 
}

#side_column {
    clear: both;
    color: #eee;
    float: left;
    margin-right: 9px;
    padding: 9px;
    width: 20%;
}

#side_column a{
    color: #eee;
    text-decoration: none;
}

/* nawigacja boczna */
#side_nav {
    font-size: 100%;
    padding: 0px;
    width: 100%;
}

#side_nav a {
    display: block;
    width: 100%;       
    margin: 0px;
    padding: 8px 0px;
    text-decoration: none;
}

#side_nav a span {
    padding-left: 10px;
    color: #333;
}

#side_nav a span b {
}


#side_nav a:hover {
    background-color: #FFc033;    
}

#side_nav a.selected {
    background-color: #FFA000;
}

/* pojemnik na zdjęcie pojazdu użytkownika oraz select box do jego zmiany */
#user_car_box {
	display: block;
	width: auto;
	margin: 0px auto 5px;
	text-align: center;
	}
	
#user_car_photo {
	display: block;
	float: none;
	margin: 0px auto 5px;
	padding: 2px;
	border: 1px #ccc solid;
	}

hr{
    position: relative;
    width: 90%;
    border: 0px #fff solid;
}

/* lista pojazdow w module stats */
#vehicles_table {
	width: 100%;
	border: 1px #eee solid;
	border-collapse: collapse;
	}
	
#vehicles_table td, th {
	border-bottom: 1px #eee solid;
    padding: 5px;	
    text-align: center;
    font-size: 110%;
	}

#vehicles_table th {
	background-color: #666;
	color: #fff;
	font-size: 120%;
	font-weight: bold;
    padding: 9px;	
	}

#vehicles_table .even {
	background-color: #ffc;
	border-bottom: 1px #eec solid;
	}

#vehicles_table .even td {
	border-top: 1px #eec solid;
    border-bottom: 1px #eec solid;
}

#vehicles_table img.vehicle_photo {
	display: block;
	float: none;
    height: 60px;
	margin: 0px auto 5px;
	border: 1px #ddd solid;
}

#vehicles_table em {
	font-size: 140%;
    color: #ccc;
}

#vehicles_table b {
}

#vehicles_table .ft_icon {
    vertical-align: -7px;
}

/*pozioma linia*/
.hl {
    display: block;
    margin-bottom: 5px;
    clear: both;
    width: 100%;
    border-bottom: 1px #bd5c1c dotted;
}

/* pasek z tytułem kolumny */

.column_head { /* prawdopodobnie nie jest to wykorzystywane */
    display: block;
    clear: both;
    float: none;
    width: auto;
    height: 30px;

    background-color: #333;
    border-top: 0px #efd781 solid;
    border-left: 0px #efd781 solid;
    border-right: 0px #efd781 solid;
}

.column_head h2 {
    display: block;
    float: left;
    margin: 0.4em 1em 0em 0.5em;
    padding: 0em;

    font-size: 1.4em;
    font-family: verdana, arial, helvetica, sans-serif; 
    color: #eee;
}

/*pozioma linia*/
.hl {
    display: block;
    margin-bottom: 5px;
    clear: both;
    width: 100%;
    border-bottom: 1px #bd5c1c dotted;
}

.clearer {
    display: block;
    clear: both;
}


/* pojemnik na logo oraz login_box */
#logo_container {
    margin: auto !important;
}

#tabs {
    overflow: hidden;
    width: 100%;
    height: 30px;
    background-color: #667;
    background: url('../images/tabs_bg.jpeg') repeat-x;
}

#tabs ul {
	list-style-type:none;	
    margin-left: 100px;
    margin-right: 10px;
}

#tabs li {
    display: inline;
}

#tabs a {
    display: block;
    float: left;
    height: 28px;
    padding: 5px 8px;
    font-size: 18px;
    text-decoration: none;

    color: #fff;
}

#tabs a:hover {
    /*background-color: #fff;*/
    /*color: #ffa000;*/
    background: url('../images/tabs_bg_h.jpeg') repeat-x;
}

#tabs .selected {
    /*color: #ffa000;*/
    color: #543;;
    /*background-color: #fff;*/
    background: url('../images/tabs_bg_h.jpeg') repeat-x;
    border-left: 1px #666 solid;
    border-right: 1px #666 solid;
}


#fuellings_table {
	width: 100%;
	border: 1px #ddb solid;
	border-collapse: collapse;
	}
	
#fuellings_table td, th {
    padding: 6px 5px;	
    text-align: center;
	}
		

#fuellings_table th {
	font-weight: bold;
	color: #fff;
	background-color: #666;
    border-width: 0px;
	}
	
#fuellings_table th a {
	color: #fff;
	}
	
#fuellings_table .even {
	background-color: #ffc;
	/*border-bottom: 1px #fec solid;*/
	}

#fuellings_table .even td {
	border-top: 1px #eec solid;
    border-bottom: 1px #eec solid;
}

#tooltip{
    position:absolute;
    border:1px solid #333;
    background:#f7f5d1;
    padding:2px 5px;
    display:none;
    }   
    
.tooltip {
	text-decoration: none !important;
}

.tooltip em {
	font-style: normal;
}

/* dodawanie nowej notatki o tankowaniu */
form {
	padding: 18px;
    border: 1px #eec solid;	
    background-color: #ffc;
}
	
fieldset {
	padding-bottom: 18px;
	}	
	
fieldset .legend {
	display: block;
	padding: 0px;
	font-size: 110%;
	text-decoration: underline;
	color: #bd5c1c;
	}	
	
fieldset input, select, textarea {
	padding: 2px;
    border: 1px #ddb solid;	
	}	
	
label {
    position: relative;
    top: 2px;
    float: left;
    width: 12em;
    margin-right: 0.5em;
    text-align: right;  
    overflow: visible;
}

fieldset ul {  
	list-style: none;
}

fieldset li {
    clear: left;
    display: block;
    float: left;
    line-height: 1.8em;
	padding-bottom: 0.5em;
	}
	
fieldset .error {
	padding: 0.3em 0px;
	border-top: 1px red solid;
	border-bottom: 1px red solid;
	background-color: yellow;
	}
	
fieldset .error_msg {
	padding-left: 1em;
    line-height: 1.7em;
	}
	
fieldset .error_list {
	display: block;
	}
	
.error_list {
	padding: 1em;
	list-style: none;
	background-color: yellow;
	}
	
fieldset.submit {
	padding-bottom: 0px;
	border: none;
}

fieldset.submit input {
	padding: 3px;
	font-weight: bold;
    color: #fff;
    background-color: #666;
    border: 1px #666 solid;
}

form h3 {
	margin-top: 0px;
	}

.aright {
	text-align: right;
}

.collapsed {
	display: none;
}

.basic_stats {
	overflow: hidden;
	clear: both;
	border: 1px #ddd solid;
	padding: 0px 9px 0px;
	}
	
.basic_stats table {
	clear: left;
	float: left;
	margin-bottom: 9px;
	}
	
.basic_stats td, th {
	padding: 0.5em 1em 0.5em 0em;
	font-size: 120%;
}

.basic_stats h3 {
	margin: 0px -10px 0px;
	padding: 0.3em 0.5em;
    font-weight: bold;
    color: #fff;
    background-color: #666;
	}
	
.basic_stats span {
	padding-right: 0.5em;
	font-weight: bold;
	color: #dd6000;
	}
	
.basic_stats .more_info {
	float: none;
	width: auto;
	text-align: center;
	}	



table.public_stats {
	overflow: hidden;
	padding: 0px 9px 0px;
    border-collapse: collapse;
	}
	
.public_stats td, th {
    background-color: #efefef;
    border: 1px #fff solid;
	padding: 9px;
	font-size: 120%;
}

.public_stats h3 {
	margin: 0px;
	}
	
.public_stats span {
	padding-right: 0.5em;
	font-weight: bold;
    font-size: 130%;
	color: #dd6000;
	}
	
.public_stats .more_info {
	float: none;
	width: auto;
	text-align: center;
	}	
	
/** pojemnik z wykresem */
.chart {
	background-color: #EFEFEF;
	border: 1px #ddd solid;
    float: left;	
	margin: 0px 9px 9px 0px;
	padding: 10px 5px 0px;
}	
	
.ip_selected {
	/*background-color: #eec !important;*/
}

#ip_controls {
	position: absolute;
	border: 2px #FFA000 solid;
	border-top-width: 0px;
	border-right-width: 0px;
}

#ip_controls_links {
	position: relative;
	height: 100%;
	float: left;
	}

#ip_controls a {
	display: block;
	height: 100%;
	float: left;
	padding: 0px 1em;
	line-height: 1.5em;
	font-weight: bold;
	color: #FFF;
	background-color: #FFA000;
}

.colview {
	float: left;
	margin: 0px;
	border: 1px #ddd solid;
    }
    
.colview td, th {
	padding: 0px 1em;
    font-size: 110%;
    line-height: 1.5em;
}
.colview th {
	font-size: 120%;
	font-weight: bold;
    color: #fff;
    background-color: #666;
}

.colview a {
	text-decoration: none;
	font-weight: bold;
}
.colview a:hover {
	text-decoration: underline;
}

.intro {
	float: none;
	width: auto;
	margin: 0em 0em 18px 0px;
	padding: 18px 18px 0px;
	font-size: 120%;
	background-color: #f7f7f7;
	border: 1px #e5e5e5 solid;
	border-left: 0px;
	border-right: 0px;
    background: #d6d6d6 url('../images/page_bg.jpeg') 0px -4px repeat-x;
}

.intro #register {
	margin: 0em 1em 1em 0em;
	width: 40%;
	float: right;
}

.intro em {
	font-weight: bold;
	}

.intro_block {
    clear: left;
    float: left; 
    margin: 0px 0px 18px 0px;
    width: 50%; 
}


.intro_block img {
    float: left;
    padding-right: 9px;
    margin-top: 4px;
}
	
#register em{
	color: #FFA000;
	font-size: 130%;
}

#register a {
    display: block;	
    margin-top: 1em;
}

/**
	info na głównej stronie
	*/
#frontstats {
	float: left;
	margin: 0px;
	font-size: 130%;
	color: #666;
}

#frontstats div {
    clear: left;
    float: none;
    width: auto;
}

#frontstats em {
	color: #FF9000;
	display: block;
	font-size: 27px;
	font-style: normal;
	margin: auto;
	}

#vehicles_table th {
    border-width: 0px;
}

#vehicles_table td, th {
	vertical-align: middle;
	}	
	
.fuelling_note {
	display: none;
}

/* style do okienek z podpowiedziami */
a.hint{
	display: inline-block;
	z-index:10;
	padding: 1px 3px;
	font-size: 120%;
	font-weight: bold;
	color: #fff !important;
	text-decoration: none;
    background-color: #666;
}

a.hint:hover{
  position:relative;
  z-index:100;
}

a.hint span{
  display:none !important;
  font-size: 100%;
  font-weight: normal;
}

a.hint:hover span{
  display:block !important;
  position: absolute;
  z-index:10;
  min-width: 15em;
  padding: 0.5em;
  font-size: 90%;
  color:#444;
  background-color:#fff;
  border:1px solid #666;
}

.breadcrumbs {
	margin: 0px 0px 5px;
	list-style: none;
}

.breadcrumbs li {
	display: inline;
	}
	
.bordered_img {
	padding: 2px;
	border: 1px #EFEFEF solid;
}


.left { 
  float: left; 
  margin: 0 18px 18px 0; 
}

.right { 
  float: right; 
  margin: 0 0 18px 18px; 
}

strong {
	font-style: italic;
}

.user_msg {
    background-color: #FFFF88;
    margin: 0 auto;
    width: 90%;
}

.user_msg_content{
	border: 1px #DDDD66 solid;
	font-size: 120%;
	padding: 18px;
}

.fimage {
	margin: 3px;
	}

.fp_logo {
	margin: -5px;
	}	
	
#brands_list em {
	color: #bbb;
	font-size: 110%;
	font-weight: bold;
    font-style: normal;
	}	
	
#model_list em {
	color: #bbb;
	font-size: 110%;
	font-weight: bold;
    font-style: normal;
	}	

#model_list th a {
	color: #FFF;
    text-decoration: underline;
}
	
.latest_activity {
    background: #EFEFEF url('../images/boxbg.png') 0px 0px repeat-x;
    background-color: #EFEFEF;
    border: 1px #EFEFEF solid;
	float: left;
	margin: 0px 18px 0px 0px;
	padding: 9px;
	text-align: center;
	}	
	
.latest_activity h4 {
	margin: 0px;
	}

.latest_activity img {
	border: 1px #ccc solid;
	margin: 9px 0px 0px;
	}

.detail {
    color: #aaa;
}

.short_summary {
    color: #666;
    font-size: 120%;
    margin-top: 18px;
}

.veh_stat_prev {
    background: #EFEFEF url('../images/boxbg.png') 0px 0px repeat-x;
    background-color: #EFEFEF;
    border: 1px #EFEFEF solid;
    float: left;
    margin: 9px 18px 0px 0px;
    padding: 9px;
    text-align: center;
}

.veh_stat_prev table {
    margin-top: 9px;
}

.veh_stat_prev td {
	color: #666;
    padding: 0px 6px 0px 0px;
    vertical-align: middle;    
}

.veh_stat_prev em {
	font-weight: bold;
    font-size: 130%;
}

.vehicles_prev {
    clear: left;
    float: none;
    margin: 0px auto 18px;
    text-align: center;
}

.vehicles_prev h3 {
    font-weight: bold;
}

table.summary_stats {
    border-collapse: collapse;
    margin-right: 36px;
	overflow: hidden;
	padding: 0px 9px 0px;
	}
	
.summary_stats td, th {
	padding: 5px;
	font-size: 110%;
    border-bottom: 3px #fff solid;
    vertical-align: middle;
}

.summary_stats h3 {
	margin: 0px;
	}
	
.summary_stats span {
	padding-right: 0.5em;
	font-weight: bold;
    font-size: 120%;
	color: #dd6000;
	}
	
.summary_stats .more_info {
	float: none;
	width: auto;
	text-align: center;
	}	

#latest_prices {
    margin: 0px 0px 9px 0px;
}

#latest_prices td {
    background-color: #FFF;
	color: #FF9000;
    margin: 0px;
    padding: 0px;
    vertical-align: middle;
}

#latest_prices em {
    font-size: 27px;
    font-weight: bold;
    display: inline;
}

#latest_prices span {
    padding: 0px 27px 0px 3px;
}

.tank_icon {
    margin: 0px 5px -3px;
}

