/*  
Theme Name: Partneris
Description: Theme made for Partneris Program
*/

/* reset */
	body, div, h1, h2, h3, h4, h5, p, ul, li, dl, dt, dd, form { margin: 0; padding: 0; }
	form { display: inline; }

/* Body */
	body {
		font: normal 100% 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Sans-Serif;
		background: #fff url('images/page_background.jpg') repeat-x left top;
		color: #333;
	}
	
	#page {
		margin: 0 auto;
		padding: 0;
		width: 985px;
	}

/* Header */
	#header {
		background: transparent url('images/header_background.jpg') no-repeat left top;
		overflow: hidden;
		height: 120px;
	}

	#header h1 { padding: 28px 0 0 22px; float: left; }
	#header h1 a {
		background: transparent url('images/logo_partneris.png') no-repeat left top;
		text-indent: -9999px;
		width: 247px;
		height: 57px;
		display: block;
		
	}
	
	/* Main navigation */
	#header ul { float: right; overflow: hidden; list-style: none; }
	#header ul li { float: left; }
	#header ul li a {
		display: block;
		width: 150px; 
		height: 70px;
		padding-top: 50px;
		color: #fff;
		text-decoration: underline;
		margin: 0 1px;
		text-align: center;
		font-size: 0.8em;
	}
	#header ul li a:hover {
		border-left: 1px solid white;
		border-right: 1px solid white;
		text-decoration: none;
		margin: 0;
		background-color: #839cad;
	}
	
	#header ul .home a { background: url('images/home.gif') no-repeat 18px 53px; }
	#header ul .home a:hover { background-image: url('images/home.gif') no-repeat 18px 53px; }
	#header ul .newsletter img { margin-top:-5px}
	#header ul .login a { background: url('images/key.gif') no-repeat 28px 54px; }
	#header ul .login a:hover { background-image: url('images/key.gif') no-repeat 28px 54px; }
	
/* Header - end */


/* == MAIN PAGE == */
/* Main Page - First row */
	#firstRow {}
	.row { overflow: hidden; width: 985px; }

/* One box in row */
	.row .element {
		width: 315px;
		padding: 0 5px;
		min-height: 241px;
		_height: auto;
		float: left;
		overflow: hidden;
	}

	/* Box elements */
	/* Heading */
	.row .element h2 { 
		margin-top: 16px;
		padding-top: 10px;
		color: #5c7384;
		font-weight: normal;
		font-size: 1.6em;
		overflow: hidden;
	}
	
	.row .element h2 a {
		color: #5c7384;
		text-decoration: none;
	}
	.row .element h2 a:hover { text-decoration: underline; }
	/* Heading icon */
	.row .element h2 span {
		display: block;
		float: left;
		width: 53px;
		height: 45px;
		_height: 40px;
		margin-top: -10px;
		background: transparent url('images/mainpage_icons.png') no-repeat left top;
	}
	/* Different icons */
	.row .element h2 .sellerIcon { background-position: -100px 0; }
	.row .element h2 .partnersIcon { background-position: -50px 0; }
	.row .element h2 .aboutIcon { background-position: 0 -52px; _background-position: 0 -53px; }
	.row .element h2 .contactIcon { background-position: -50px -53px;}
	.row .element h2 .newsIcon { background-position: -98px -53px;}

	/* Text content */
	.row .element p {
		padding: 5px 15px; 
		font-size: 0.9em;
		text-align: justify;
	}
	
	/* Address */
	.row .element address {
		font-size: 0.8em;
		margin: 0;
		padding: 0 15px;
		font-style: normal;
	}
	
	/* "more" link */
	.row .element .more, #sidebar .more, #leftColumn .entry .more {
		text-align: right;
	}
	.row .element .more a, #sidebar .more a, #leftColumn .entry .more { 
		font-size: 0.9em;
		background: transparent url('images/link_arrow.gif') no-repeat right 7px;
		padding-right: 12px;
		color: #5c7384; 
		text-decoration: none;
		border-bottom: 1px dashed #5c7384;
	}
	
	.row .element .more a:hover, #sidebar .more a:hover, #leftColumn .entry .more {
		border-bottom: 1px solid #5c7384;
	}
	
	#leftColumn .entry .more { border: none; }
	
		.row .high p {
		padding-top: 50px; 
	}
	
	.row .high .more {
		padding-top: 0px;
		margin-top: 30px;
	}
	
	.row .middle .left {
		float: left;
		text-align: left;
		width: 230px;
	}
	
	.row .middle .right {
		float: right;
		width: 210px;
		text-align: right;
	}
	
	.row .middle .more {
		padding: 10px 0;
		text-align: center;
		clear: both;
	}

/* One box - END */

/* Main Page - Second Row */
	#secondRow {
		border-top: 5px solid #6f8ea2;
		background: #678295 url('images/secondrow_background.jpg') repeat-x left top; 
		color: #fff;
	}

	#secondRow .element h2 { padding: 0; color: #fff; }
	#secondRow .element h2 a { color: #fff; text-decoration: none; }
	#secondRow .element h2 a:hover { text-decoration: underline; }
	#secondRow .element a { color: #fff; }
	#secondRow .element .more a { border-color: #fff; }
	#secondRow .element .additionalInfo { font-size: 0.75em; text-align: left;}
	#secondRow .element .additionalInfo a { text-decoration: underline; }
	#secondRow .element .additionalInfo a:hover { text-decoration: none; }

	/* Post */
	#secondRow .post { padding-left: 15px; }
	#secondRow .post h3 { color: #fff; font-size: 0.85em; padding-bottom: 5px;}
	#secondRow .post h3 small { font-weight: normal; font-size: 0.85em; }
	#secondRow .post .entry p { padding: 5px 0; text-align: justify; font-size: 0.75em;}
	#secondRow .post a { text-decoration: none; }
	#secondRow .post a:hover { text-decoration: underline; }
	
	/* Post info */
	#secondRow .post .postmetadata { font-size: 0.7em; text-align: left; padding: 5px 0; }
	
	/* Post options */
	#secondRow .postOpts { overflow: hidden; padding: 10px 0 5px 15px; width: 300px;}
	#secondRow .postOpts .more { float: right; padding: 5px 0; }
	#secondRow .postOpts .more a { color: #fff; border-color: #fff;}
	
	#secondRow .postOpts .rss { float: left; background: url('images/rss.png') no-repeat left 4px; }
	#secondRow .postOpts .rss a { color: #fff; text-decoration: none; padding-left: 22px; }
	#secondRow .postOpts .rss a:hover { text-decoration: underline; }


/* SUBPAGE */
	/* main content - the left oclumn */
	#leftColumn { width: 695px; padding: 0 27px 0 10px; float: left; }
	.wide { width: 945px !important; }
	
	/* Heading text */
	#sidebar h2, #leftColumn h2 { 
		margin-top: 16px;
		padding-top: 10px;
		color: #5c7384;
		font-weight: normal;
		font-size: 1.6em;
		overflow: hidden;
	}
	
	/* Archive title */
	#leftColumn h3 {
		font-size: 1.2em; 
		margin: 10px 0 -10px 0; 
		padding: 0 10px 10px 55px;
	}
	
	/* Heading icon */
	#sidebar h2 span, #leftColumn h2 span {
		display: block;
		float: left;
		width: 53px;
		height: 40px;
		margin-top: -10px;
		background: transparent url('images/subpage_headings.png') no-repeat left top;
	}
	
	#leftColumn h1 {
		margin-top: 16px;
		padding-top: 10px;
		padding-left: 55px;
		color: #5c7384;
		font-weight: normal;
		font-size: 1.6em;
		overflow: hidden;
	}
	
	#leftColumn h1.archive {
		background: transparent url('images/archive_icon.png') no-repeat 5px top;
	}
	
	#sidebar h2 a, #leftColumn h2 a, #leftColumn h3 a, #sidebar h1 a, #leftColumn h1 a, #leftColumn .navigation div a {
		color: #5c7384;
		font-weight: normal;
		text-decoration: none;
	}
	
	#sidebar h2 a:hover, #leftColumn h2 a:hover, #leftColumn h3 a:hover, #sidebar h1 a:hover, #leftColumn h1 a:hover, #leftColumn .navigation div a:hover {
		text-decoration: underline;
	}
	
	#sidebar h2 span { width: 40px; }
	
	#sidebar .docsDesc { font-size: 0.75em; text-align: left; padding: 5px 0 5px 10px; }
	#sidebar .categoriesList { font-size: 0.7em;}
	#sidebar .categoriesList a { font-size: 1.2em; }
	
	/* Different icons */
	#leftColumn h2 .dla-sprzedawcow { background-position: -100px 0; }
	#leftColumn h2 .dla-partnerow { background-position: -50px 0; }
	#leftColumn h2 .aktualnosci { background-position: -200px 0; }
	#sidebar .aktualnosciBlue { background-position: -212px 0; }
	#leftColumn h2 .o-nas { background-position: -150px 0; }
	#leftColumn h2 .mapa-serwisu { background-position: -248px 0; }

	/* entry */
	#leftColumn .entry { font-size: 0.8em; padding: 5px 20px 5px 55px; }
	#leftColumn .entry p, #leftColumn .entry .entry { font-size: 1em; text-align: justify; line-height: 1.3em; padding: 5px 0; }
	#leftColumn a { color: #5c7384; text-decoration: underline; }
	#leftColumn a:hover { text-decoration: none; }
	
	#leftColumn .entry ul { padding: 5px 20px; }
	#leftColumn .entry ul li { padding: 3px 0; }
	
	#leftColumn .entry .orbis { width: 650px; border: none; margin: 5px auto; }
	#leftColumn .entry .orbis td { font-size: 1em;}
	#leftColumn .entry .orbis .pokojonoc { width: 500px; text-align: left;}
	#leftColumn .entry .orbis .stawka { width: 150px; text-align: left;}
	
	#leftColumn .entry .postInfo { 
		background: #5c7384;
		color: #fff;
		margin: 8px 0;
		line-height: 0.9em;
		padding: 3px;
		border-top: 1px solid #5c7384;
		border-bottom: 1px solid #5c7384;
	}
	#leftColumn .entry .postInfo a { color: #fff; }
	
	/* post navigation */
	#leftColumn .navigation { width: 615px; overflow: hidden; margin: 5px auto; }
	#leftColumn .outside { width: 620px; margin: 5px 0 5px 55px; font-size: 0.9em; }
	#leftColumn .navigation .alignleft { float: left; width: auto; }
	#leftColumn .navigation .alignright { float: right; width: auto; }
	
	/* działające programy */
	#leftColumn .programyIntro { width: 605px; margin: 20px auto; overflow: hidden; font-size: 1em; font-weight: bold; padding-left: 20px; }
	#leftColumn .programyIntro .left { float: left; text-align: left; width: 300px; }
	#leftColumn .programyIntro .right { float: right; text-align: right; width: 300px; }
	
	#leftColumn .programs { padding-left: 57px; width: 605px; overflow: hidden; }
	#leftColumn .programs .programsElement { width: 605px; overflow: hidden; margin-bottom: 20px; }
	#leftColumn .programs .programsElement .programsLogo { width: 100px; text-align: center; float: left; }
	#leftColumn .programs .programsElement .programDescription { float: left; font-size: 0.8em; width: 505px; }
	#leftColumn .programs .programsElement .programDescription .programName { font-weight: bold; font-size: 1.2em;}
	#leftColumn .programs .programsElement .programDescription .more { text-align: right; margin: 5px 0; }
	#leftColumn .programs .programsElement .programDescription .more a { 
		background: transparent url('images/link_arrow.gif') no-repeat right 7px;
		padding-right: 12px;
		color: #5c7384; 
		text-decoration: underline;
	}
	#leftColumn .programs .programsElement .programDescription .more a:hover { 
		text-decoration: none;
	}
	

	/* sidebar */
	#sidebar { width: 245px; float: left; }
	
	/* sidebar headings */
	#sidebar h2 .menu { background-position: -263px 0; }
	#sidebar h2 .aktualnosci { background: url('images/aktualnosci_sidebar.png') no-repeat left 6px; }
	#sidebar h2 .dokumenty { background: url('images/dokumenty_sidebar.png') no-repeat left 12px; }
	
	/* sidebar menu */
	#sidebar ul { margin: 0; padding: 0; list-style: none; }
	#sidebar ul li { background: url('images/list_item.png') no-repeat left 7px; padding: 5px 0 5px 40px; }
	#sidebar ul li a { color: #5c7384; text-decoration: none; }
	#sidebar ul li a:hover { text-decoration: underline; }
	
	/* sidebar - dokumenty do pobrania */
	#sidebar #docs { padding-top: 10px; }
	#sidebar #docs li { background: url('images/pdf_icon.png') no-repeat 8px 5px; padding: 3px 0 3px 30px; }
	#sidebar #docs a { font-size: 0.75em; text-decoration: underline; color: #5c7384; }
	#sidebar #docs a:hover { text-decoration: none; }
	
	/* Odnosniki do pobrania dokumentow */
	#sidebar .docs { width: 245px; overflow: hidden; height: 30px; padding-top: 8px;}
	#sidebar .docs a { color: #5c7384; text-decoration: underline; }
	#sidebar .docs a:hover { text-decoration: none; }

	#sidebar .docs div { height: 22px; padding: 8px 0 0 30px; background: url('images/doc_icons.png') no-repeat left top; }

	#sidebar .docs .pdf { float: left; }	
	#sidebar .docs .doc { float: right; background-position: left -30px; }
	
	#sidebar dl dd .star { font-size: 0.8em; line-height: 1.2em; padding-top: 20px; }
	
	/* Aktualnosci wyswietlane w sidebarze */
	#sidebar .tile_body ul li { font-size: 0.7em; padding: 8px 0 2px 40px; }
	#sidebar .tile_body ul li a { font-size: 1.3em; }
	
	/* Formularz logowania */
	#loginPanel { list-style: none; }
	#loginPanel li { overflow: hidden; width: 400px; }
	#loginPanel li label { width: 150px; text-align: right; padding-right: 10px; float: left; }
	#loginPanel li input { width: 200px; border: 1px solid #5c7384; float: left; font-size: 0.9em; padding: 3px; }
	#loginPanel .loginError { background: #FFF8F8; color: #D71D2E; border: 1px solid #D71D2E; padding: 5px; text-align: center; }
	#loginPanel li .submit { border: none; background: #5c7384; color: #fff; padding: 3px; width: 80px; margin-left: 159px; }
	
	
	/* Formularz rejestracji */
	#page .register fieldset { 
		width: 850px;
		margin: 5px 0 5px 50px;
		border-color: #5c7384; 
		*display: inline;
	}
	
	#page .register fieldset ul { list-style: none; }
	#page .register fieldset ul li { 
		width: 840px;
		overflow: hidden;
		padding: 5px 0;
	}
	#page .register fieldset ul li label { width: 150px; float: left; padding-right: 10px; text-align: right; font-size: 0.8em; }
	#page .register fieldset ul li input { width: 200px; border: 1px solid #5c7384; float: left; font-size: 0.8em; }
	#page .register fieldset ul li .incorrect { border: 1px solid #ff0000; }
	#page .register fieldset ul li textarea { width: 200px; border: 1px solid #5c7384; float: left; font-size: 1em; height: 100px; }
	#page .register fieldset ul li .desc { width: 400px; float: left; font-size: 0.8em; padding-left: 10px; }
	
	#page .register #buttons { margin: 5px auto; width: 830px; padding-left: 260px; }
	#page .register #buttons input { background: #5c7384; color: #fff; padding: 3px 6px; border: none; }
	

/* FOOTER */
	#footer { clear: both; }
	#footer p { font-size: 0.7em; text-align: left; padding: 5px 10px; }
	#footer p a { color: #6f8ea2; text-decoration: none; }
	#footer p a:hover { text-decoration: underline; }
	
	#footer .sub { padding: 5px 10px 5px 65px; }
	


