/* Clear
 * A Reset styles CSS written by Eric Meyer
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

body {
	line-height: 1;
	color: black;
	background: white;
}

ol, ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}/* General
 * Base styles for all page elements, or for base tags.
 * -----------------------------------------------------------
 * Page Segments:
 * wrapper   - all page elements (no styles needed)
 *  header   - logo, search input, and so on
 *   logo    - logo img, and header text
 *   search  - search input
 *  menu     - link items
 *  page     - page content and side panel
 *   content - main page content
 *   panel   - side panel (mostly with ads)
 *  footer   - copyright notice and links
 */

/* Tags
 * Global styles for some base tags
 */
body {
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	font-size: 11px;
	text-align: justify;
	background: url(../images/background.gif) repeat-x #012761 top left;
	color: #01437c;
}

a, a:hover {
	text-decoration: none;
}

input, textarea {
	border: 1px solid;
}

h1, h1 a, h2, h2 a, h3, h3 a {
	font-weight: normal;
	color: #01437c;
}

h1 {
	font-size: 1.2em;
	margin-bottom: 20px;
	font-weight: bold;
}

h2 {
	font-size: 1.1em;
	margin-bottom: 20px;
	font-weight: bold;
}

h3 {
	font-size: 1em;
}

p, ol, ul {
	margin: 0 0 2em 0;
	line-height: 150%;
}

hr {
	padding: 0;
	margin: 5px 0;
	border: none;
	border-bottom: 1px solid;
	display: block;
	background: none;
}

ul {
	margin-left: 3em;
	list-style: circle;
}

ol {
	margin-left: 3em;
}

li {
	margin-bottom: 1.5em;
}

a {
	color: #01437c;
	text-decoration: underline;
}

a:hover {
	color: #7a7a7a;
}

/* Base
 * Some very general styles
 */
#page {
	width: 940px;
	margin: 0 auto;
	padding: 0;
	background: #fff;
}

#wrapper {
	
}

/* Flash
 * Short messages for user
 */
#flash, #authflash {
	position: fixed;
	width: 60%;
	top: 0;
	border-top: 1px solid;
	border-bottom: 1px solid;
	color: white;
	border-color: #333333;
	background: #000;
	opacity: 0.6;
	text-align: center;
	padding: 5px 20% 5px 20%;
	z-index: 99;
}

#flash p, #authflash p {
	margin: 0;	
}

#flash:hover, #authflash:hover {
	opacity: 1.0;
	cursor: pointer;
}

#flash p, #authflash p {
	margin: 0;
}

br.clear {
clear: both;
}/* Header
 * Styles for header elements and texts.
 * -----------------------------------------------------------
 */

#header {
	height: 122px;
	width: 940px;
	padding-top: 0;
	margin: 0 auto;
}

#logo {
	width: 940px;
}
/* Menu
 * Styles for menu elements and texts.
 * -----------------------------------------------------------
 */

#menu {
	height: 64px;
	margin: 0 auto;
	width: 940px;
	background: url('../images/bg_menu.gif') no-repeat top;
}

#menu ul, #usermenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu li, #usermenu li {
	display: inline;
}
#menu a {
	display: block;
	float: left;
	text-decoration: none;
	font: bold 11px Tahoma, Verdana, Helvetica, sans-serif;
	height: 40px;
	color: #fff;
	font-weight: bold;
	padding-top: 25px;
}

#menu a:hover {
	text-decoration: underline;
}


#menu a.m1 {
	margin-left: 27px;
}

#menu a.m2 {
	margin-left: 59px;
}

#menu a.m3{
	margin-left: 43px;
}

#menu a.m4 {
	margin-left: 48px;
}


#menu a.m5 {
	margin-left: 63px;
}

#menu a.m6 {
	margin-left: 47px;
}


#menu a.m7 {
	margin-left: 45px;
}

#menu a.m8 {
	margin-left: 52px;
}





#usermenu {
	width: 940px;
	margin: 0 auto;
	height: 60px;
	background: #e8fdfa;
}

#usermenu ul {
	margin-left: 7px;
}


#usermenu li a, #usermenu span, #usermenu p.user a {
	display: block;
	float: left;
	text-decoration: none;
	font: 11px Tahoma, Verdana, Helvetica, sans-serif;
	height: 10px;
	color: #01437c;
	margin-top: 25px;
	margin-right: 20px;
	padding-left: 20px;
	border-left: 1px solid #d8d8d8;
}

#usermenu span {
	margin-left: 27px;
	border: none;
	padding-left: 0;
}

#usermenu p.user {
	float: right;
	height: 20px;
}

#usermenu p.user a, #usermenu a.first  {
	border: none;
}

#usermenu a:hover {
	color: #7a7a7a;
}

#usermenu .user {
	float: right;
	white-space: nowrap;
	font-size: 11px;
	margin-top: -2px;
}
/* Content
 * Styles for content elements and texts.
 * -----------------------------------------------------------
 */

#content {
	float: left;
	width: 615px;
	padding: 30px;
}

/* Forms */
input, select, textarea {
	margin-top: 5px;
	border: #c0c0c0 1px solid;
	padding: 3px;
	margin-bottom: 25px;
	background: #fff;
	color: #7a7a7a;
}

input.submit, a.button  {
	background: url(../images/bg_button.gif) no-repeat center bottom #2e94a7;
	color: white;
	text-transform: lowercase;
	font-weight: bold;
	border: none;
	cursor: pointer;
	width: 86px;
	height: 18px;
	padding-top: 0;
	font-size: 12px;
	vertical-align: middle;
	margin-top: 15px;
	margin-left: 20px;
}

#downbtn {
	margin-top: -28px;
}

a.button {
	display: block;
	text-align: center;
	text-decoration: none;
	margin-left: 0;
	padding: 0;
}


p.paybutton {
	float: right;
	margin-top: -31px;
	margin-right: 380px;
}


input.radio {
	margin-bottom: 0;
	border: none;
	margin-right: 10px;
	margin-left: 10px;
}

fieldset img{
	border: 1px solid #333333;
	margin-left: 5px;
}

fieldset div {
	padding: 5px;
	margin-bottom: 10px;
	background: #e3fcff;
}

fieldset p {
	
}

fieldset .error {
	background: #e3fcff;
}

fieldset div.error p {
	float: right;
	max-width: 395px;
}

fieldset.search div {
	background: #e7f1ff;
}

/* Others */
.warning {
	padding: 5px;
	background: #e3fcff;
	text-align: center;
}

img.thumb {
	float: left;
	margin: 8px 20px 0px 0px;
	border: 2px solid;
}

/** Admin **/
div.panel {
	background: #e3fcff;
	padding: 5px;
	margin-bottom: 10px;
}

div.panel h3 {
	padding-bottom: 5px;
}

div.panel li {
	margin: 0;
}



/** Standard browse page **/
div.categories, div.sort, div.pagination, div.tags, div.toolbar {
	background: #f7f7f7 bottom;
	padding: 5px;
	margin: 5px;
}

div.sort {
	text-align: right;
}

div.pagination, div.toolbar {
	text-align: center;
}

div.pagination a, div.sort a, div.categories a, div.tags a, div.toolbar a {
	padding: 3px;
}

/** Tables **/
table {
	width: 100%;
	padding: 5px;
}

th {
	padding: 5px;
	font-weight: bold;
}

td {
	padding: 3px;
	background: #f7f7f7;
}

tr.even td {
	background: transparent bottom;
}

td.delete input {
	padding: 0;
	margin: 0;
}

td.delete {
	width: 60px;
}

/* Pliki */
.files {
	background: #f7f7f7;
	padding: 10px 0;
}

.files th {
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

.files td {
	margin: 0;
	padding: 0;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 10px;
}

.files td.delete {
	width: 35px;
}

.files td.delete a {
	text-decoration: none;
}

.files td.delete input {
	padding: 0;
	margin: 0;
}
/* Panel
 * Styles for panel elements and texts.
 * -----------------------------------------------------------
 */
#panel {
	float: right;
	width: 220px;
	margin: 0;
	padding: 20px;
	min-height: 400px;
	text-align: left;
	border-left: 1px solid #d0f5f0;
}

#panel p.images {
	border-top: 1px solid #d0f5f0;
	margin: -20px;
	margin-top: 10px;
}

i.grey {
	font-style: normal;
	color: #7a7a7a;
	font-size: 10px;
}

ol {
	list-style: decimal inside;
	margin-left: 0;
}/* Footer
 * Styles for footer elements and texts.
 * -----------------------------------------------------------
 */

#footer {
	background: url(../images/bg_footer.gif) no-repeat top;
	clear: both;
	padding: 20px;
	padding-top: 40px;
	color: #FFFFFF;
	width: 900px;
	margin: 0 auto;
}

#footer p {
	margin: 0;
	text-align: left;
	line-height: normal;
	font-size: 11px;
}

#footer a {
	text-decoration: none;
	color: #fff;
}

#footer a:hover {
	text-decoration: none;
	color: #7a7a7a;
}

#footer p.legal {
	width: 300px;
}

#footer p.links {
	float: right;
}
