/* @override http://www.uwierzwsiebie.pl/wp-content/themes/uwierz/style.css */

/*  
Theme Name: uwierz w siebie
Theme URI: http://www.uwierzwsiebie.pl/
Description: projekt dla Stowarzyszenia Uwierz w Siebie.
Version: 0.9
Author: Dominik Trzaskacz
Author URI: http://www.prografix.pl/
*/

body {	background: rgb(255,255,255) url('images/bg.jpg') repeat-x;
	margin: 0;
	padding: 0;
}


/* @group Header */

#header h1 {
	margin-top: 51px;
	margin-bottom: 0;
}

#header h1 a {
	text-indent: -100em;
	overflow: hidden;
	width: 302px;
	height: 205px;
	display: block;
}



/* @end */

.container {width:950px; margin:0;
	background: url(images/top.jpg) no-repeat;
}
#subcontainer2 {
	background: url(images/undermenu.jpg) no-repeat;
}

.undermenu {
	width: 243px;
	height: 97px;
	display: block;
	position: absolute;
	top: 296px;
	left: 492px;
	z-index: 10;
	border-style: none;
	border-width: 0;
}

#subcontainer {
	background: url(images/page.gif) repeat-y 120px;
}

#mainContent {
	padding-top: 2em;
	padding-right: 0;
	padding-bottom: 1em;
	min-height: 300px;
}

#footer p {
	margin: 0;
	padding: 10px 20px;
	text-align: center;
	background-color: #d8cbd2;
}

#sidebar {
	padding-top: 10px;
}

/* @group Sidebar */

#sidebar ul {
	margin: 0;
	list-style-type: none;
}

li.widget {
	margin-bottom: 20px;
	margin-left: 20px;
	display: block;
	border: 1px solid #d8cbd2;
	border-top: 3px solid #d8cbd2;
	border-bottom: 4px solid #d8cbd2;
	background-color: white;
	width: 208px;
}

li.widget ul {
	text-align: center;
	padding: 0.5em 10px;
}
li.widget ul li {
	padding: 4px 0;
}

#links ul li {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

h2.widgettitle {
	text-indent: -100em;
	overflow: hidden;
	text-align: center;
	padding: 0.5em;
}

li.ec3_list.ec3_list_day {
	margin-left: 10px;
	padding-top: 0.25em;
	padding-bottom: 0.5em;
}

li#upcoming-events.widget {
	
	border-style: none;
	padding: 0;
	border-width: 0;
	background-color: transparent;
	width: 251px;
}

#sidebar {
	
}

#upcoming-events h2.widgettitle {
	background: url(images/events_t.gif) no-repeat -20px;
	height: 102px;
	margin-bottom: 0;
	margin-top: 0;
	margin-right: 0;
	padding: 0 0 0 20px;
}

#linkcat h2, #linkcat-2 h2, #linkcat-8 h2 {
	background: url(images/sponsor.jpg) no-repeat center top;
	padding-bottom: 20px;
}


ul.ec3_events {
	width: 190px;
	padding-left: 0px;
	background: url(images/events_b.gif) no-repeat -20px bottom;
	padding-bottom: 2em;
}

.submenu {
	width: 185px;
	position: absolute;
	display: block;
	top: 335px;
	left: 630px;
	margin-bottom: 50px;
}

.submenu li.page_item {
	text-align: right;
	text-decoration: none;
}
.submenu li.page_item a{
	display: block;
	padding-top: 7px;
	text-decoration: none;
	font: bold 18px/18px "Arial Narrow", Arial, Helvetica, Geneva, sans-serif;
	text-transform: uppercase;
	background: #ff8104 url(images/submenuitem1.jpg) repeat right;
	padding-bottom: 7px;
	padding-right: 10px;
	margin-top: 2px;
	margin-bottom: 2px;
}

.submenu li.page_item a:hover{
	color: #fff;
	background: #ff8104 url(images/submenuitem2.jpg) repeat-y right;
}

/* @end */

div.post {
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom: 3em;
	margin-top: 2em;
}

div.entry {
		border-bottom: 1px solid #d8cbd2;
}

.post h2 {
	text-decoration: none;
	font-size: 3em;
	line-height: 1em;
	letter-spacing: -1px;
	color: #652f8d;
}
.page .post h2 {
	margin-bottom: 0.5em;
}

.post h2 a {
	text-decoration: none;
}


div.pdate {
	color: #bababa;
	margin-bottom: 1em;
	margin-top: 0.25em;
	text-transform: uppercase;
}

h5 {
	text-align: center;
}

/* @group menu */

#menu ul li {
	display: inline;
	height: 40px;
	display: block;
	float: left; }

#menu ul {
	list-style-type: none;
	height: 40px;
	margin: 0;
}


#menu ul li a {
	margin: 0pt;
	padding: 0pt;
	display: block;
	height: 40px;
	background: transparent;}

#menu {
	background: transparent url('images/menu.jpg') no-repeat 0px 0px;
	height: 40px;
	overflow: hidden; }

li#news a { width: 120px; }

li#association a { width: 160px; }

li#projects a { width: 120px; }

li#contact a { width: 110px; }


li#news a:hover, .pl li#news a#current { background: transparent url('images/menu2.jpg') no-repeat 0px 0px; }

li#association a:hover, .pl li#association a#current { background: transparent url('images/menu2.jpg') no-repeat scroll -120px 0px; }

li#projects a:hover, .pl li#projects a#current { background: transparent url('images/menu2.jpg') no-repeat scroll -280px 0px; }

li#contact a:hover, .pl li#contact a#current { background: transparent url('images/menu2.jpg') no-repeat scroll -400px 0px; }

#menu ul li strong {
	display: none; }

/* @end */


.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	margin-left: 20px;
	margin-right: 20px;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}


/* @group Fancy type */
/* Indentation instead of line shifts for sibling paragraphs. */
   p + p { text-indent:2em; margin-top:-1.5em; }
   form p + p  { text-indent: 0; } /* Don't want this in forms. */
   

/* For great looking type, use this code instead of asdf: 
   <span class="alt">asdf</span>  
   Best used on prepositions and ampersands. */
  
.alt { 
  color: #666; 
  font-style: italic;
  font-weight: normal;
}


/* For great looking quote marks in titles, replace "asdf" with:
   <span class="dquo">&#8220;</span>asdf&#8221;
   (That is, when the title starts with a quote mark). 
   (You may have to change this value depending on your font size). */  
   
.dquo { margin-left: -.5em; } 


.caps { 
  font-variant: small-caps; 
  letter-spacing: 1px; 
  text-transform: lowercase; 
  font-size:1.2em;
  line-height:1%;
  font-weight:bold;
  padding:0 2px;
}

/* @end */

#rss {
	width: 48px;
	height: 32px;
	position: absolute;
	display: block;
	top: 10px;
	left: 590px;
	text-indent: -100em;
	overflow: hidden;
	background-image: url(images/rss.jpg);
}

table.ec3_schedule {
 border-collapse:collapse;
 margin:0.5ex 1ex 0.5ex 0;
 border:solid 1px #800;
 float:left;
	width: inherit;
}
th,td,tr {
	text-align: center;
}

p.postmetadata {
	clear: left;
}
.attachment-thumbnail {
	margin-left: 0 5px;
}

#mainContent ul {
	list-style-position: inside;
}
ul.subpageslist {
	margin-left: 40px;
	font-weight: bold;
	list-style-type: square;
}
ul.subpageslist li {
	padding-bottom: 9px;
}

#mainContent > p {
	margin-left: 20px;
	margin-right: 20px;
}