/* ===========================================
* DEFAULT
*
* Author          : Jacek Kołodziej (kolodziejj@gmail.com)
* Creation date   : 01/08/2008
* Site            : centrumpaliw.pl
* License         : http://centrumpaliw.pl/
*
* ======================================== */

@import url(reset.css);

/* ===========================================
 * Color schema
 *
 * ======================================= */

/* ===========================================
 * Font schema
 *
 * Text:
 * Navi:
 * ======================================= */

body {
	color: #222;

	font-size: 0.8em;
	font-family: sans-serif;
	line-height: 1.25em;
}

/* Bardzo brzydki hack dla Opery, dzieci, nigdy tego nie róbcie */
html:first-child body {
	font-size: 0.9em;
	line-height: 1.15em;
}

/* ===========================================
 * Common
 * ======================================= */

.clear {
	clear: both;
	height: 0px;
	font-size: 1px;
}

a:link, a:visited {
	color: #00456f;
}

a:active, a:hover, a:focus {
	color: #f15201;
}

.loader {
	height: 16px;
	text-indent: -9000px;
	background-repeat: no-repeat;
	background-position: center center;
}

/* ===========================================
 * Layout
 * ======================================= */

#container {
	margin: auto;
	width: 1000px;

}

#top {
	margin-bottom: 15px;
	padding: 5px 0px 0px 0px;
	height: 100px;

	background-image: url("../img/header_back.png");
	background-repeat: no-repeat;
	background-position : bottom center;
}

#media {
	margin-bottom: 1em;
	width: 100%;
}

#content {
	padding-bottom: 2em;

	background-image: url("../img/content_back.png");
	background-repeat: no-repeat;
	background-position : bottom center;
}

#ga {
	clear: both;
}

#footer {
	margin-top: 10px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}


/* ===========================================
 * TOP
 * ======================================= */
#header {
	float: left;
}
#header a:link, #header a:visited {
	display: block;

	margin-top: 25px;
	margin-left: 13px;
	width: 316px;
	height: 52px;

	font-size: 0em;
	text-indent: -9000px;

	background-image: url("../img/logo.png");
}


/* TOP / top_nav */
#top_nav {
	float: left;

	margin-top: 25px;
	margin-left: 40px;
	width: 258px;

	font-size: 0.8em;
}

#top_nav li {
	float: left;

	border-left: 1px solid #ddd;
}
#add_price {
	border: none !important;
}

#top_nav li a:link, #top_nav li a:visited {
	display: block;

	padding: 45px 10px 0px 10px;

	color: #00456f;
	text-decoration: none;

	background-repeat: no-repeat;
	background-position: top center;
}
#top_nav li a:active, #top_nav li a:hover {
	color: #f15201;
}

#add_price a:link, #add_price a:visited {
	background-image: url("../img/add_price.png");
}

#add_station a:link, #add_station a:visited {
	background-image: url("../img/add_station.png");
}

#register a:link, #register a:visited {
	background-image: url("../img/register.png");
}


/* TOP / top_menu */
#top_menu {
	float: right;
	margin-left: 53px;
	width: 320px;
}

.top_menu {
	text-align: right;
	clear: right;
	margin: auto;
}
.top_menu li {
	float: left;
}
.top_menu li a:link, .top_menu li a:visited {
	display: block;
	padding: 0em 1em;
	font-size: 0.8em;
	font-weight: bold;
	text-decoration: none;
}
.top_menu li a:active, .top_menu li a:hover, .top_menu li a:focus {
	text-decoration: underline;
	color: #f15201;
}

#primenu {
	padding-bottom: 25px;
}

#tetmenu {
	clear: right;
}

#user_panel {
	color: #ccc;
	text-align: right;
}

#user_panel a:link, #user_panel a:visited {
	font-weight: bold;
	text-decoration: none;
}

#user_panel form {
	color: #004471;

	font-size: 0.8em;
	text-align: left;
}

#user_panel fieldset {
	float: left;
}

#user_panel form a {
}

#user_panel form div {
	width: 134px;
}

#user_panel form .input {
	margin-bottom: 5px;
}

#user_panel form .input label {
	display: block;

	font-weight: bold;
}

#user_panel form .input input {
	border: none;
	border-left: 1px solid #cdcdcd;
	width: 119px;
	height: 17px;

	background-color: #e9e9e9;
}

#user_panel form .checkbox {
}

#user_panel form .checkbox input {
	border: none;
	padding: 0;
	margin: 0px;
	width: 15px;

	background: none;
}

#user_panel form .checkbox label {
	display: inline;

	padding: 0;
	margin: 0px 0px 0px 3px;
}

#user_panel form .submit {
	float: left;

	width: 10px;
}

#user_panel form .submit input {
	margin-top: 16px;
	border: none;
	width: 30px;
	height: 20px;

	color: #fff;
	font-size: 0.9em;
	font-weight: bold;

	background-image: url("../img/login_submit.png");
}

/* ===========================================
 * MEDIA
 * ======================================= */
#banner {
	float: left;
}

#newsletter {
	float: right;

	width: 263px;

	color: #fff;

	background-image: url("../img/newsletter_top_back.png");
	background-repeat: no-repeat;
	background-position: top center;
}
#newsletter h3 {
	padding: 5px 40px;

	font-weight: normal;

}
#newsletter p {
	padding: 2px 6px 3px;

	font-size: 0.8em;

	background-color: #d66300;
}
#newsletter form {
	padding: 4px 0px;

	background-image: url("../img/newsletter_form_back.png");
	background-repeat: no-repeat;
	background-position: top center;
}
#newsletter input {
	margin-left: 6px;
	border: none;
	padding: 0;
	width: 177px;
	height: 17px;

	color: #000735;
	background-color: #fff;
}
#newsletter input.submit {
	margin-left: 5px;
	width: 60px;
}


/* ===========================================
 * CONTENT
 * ======================================= */

#content {
	font-size: 0.8em;
}

#content p {
	margin: 0.8em;
}

#content a:link, #content a:visited {
	font-weight: bold;
	text-decoration: none;
}
#content a:active, #content a:hover, #content a:focus {
	text-decoration: underline;
}

#content h1, #content h2, #content h3, #content h4, #content h5 {
	font-weight: bold;
}
#content h1 { padding: 1em; font-size: 1.6em; }
#content h2 { padding: 0.8em; font-size: 1.4em; }
#content h3 { padding: 0.7em; font-size: 1.3em; }
#content h4 { padding: 0.6em; font-size: 1.2em; }
#content h5 { padding: 0.5em; font-size: 1em; }
#content h6 { padding: 0.4em; font-size: 1em; font-weight: normal; }

#content h1, #content h2, #content h3, #content h4, #content h5 {
	padding-left: 0.8em;
}

/* ===========================================
 * TABLES
 * ======================================= */
table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	margin: 0px 6px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Notices and Errors */
div.message {
	clear: both;

	margin: 1em 2em 2em 2em;
	border: 1px solid #ef5000;
	padding: 1em 2em;

	color: #ef5000;
	font-weight: bold;

	background-color: #ffe86a;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}




/* ===========================================
 * GA
 * ======================================= */


/* ===========================================
 * FOOTER
 * ======================================= */
#contact {
	float: left;
	margin: 10px 0px;
	padding: 0px 50px;
	color: #aaa;

	background-image: url("../img/contact_back.png");
	background-repeat: no-repeat;
	background-position: 10px 10px;
}
#contact a:link, #contact a:visited {
	color: #888;
	text-decoration: none;
}
#contact a:active, #contact a:hover {
	color: #000;
}

#bottom_nav {
	margin-top: 5px;

	font-size: 0.8em;
}

#bottom_nav li {
	float: left;
}

#bottom_nav li a:link, #bottom_nav li a:visited {
	display: block;
	margin: 20px 0px;
	border-left: 1px solid #000;
	padding: 0px 20px;

	color: #000;
	text-decoration: none;
}

#bottom_nav #bn_first a:link, #bottom_nav #bn_first a:visited {
	border-left: none;
}

#bottom_nav li a:active, #bottom_nav li a:hover {
	color: #888;
}

#copy {
	padding: 0.5em 1em 2em;
	font-size: 0.8em;
}



#map p {
	margin: 0.2em;
}
#map ul {
	margin-left: 1em;
	list-style-type: circle;
}




pre {
	margin-bottom: 1em;
	line-height: 1.2em;
	background-color: #eee;
}
