a {
	color: #8b1a1a;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	*color: #8b1a1a;
}

#outer.main {
  background: url(../img/layout/pelne_ziarno/bg_top.jpg) no-repeat center top;	
}

.main #content {
	padding-left: 0;
	padding-right: 0;
}



/* pelne_ziarno box elements */
#content .box {
	height: 400px;
	margin-right: 10px;
	_margin-right: 5px;
	width: 318px;
	font-size: 1em;
	background: none;
	overflow: hidden;
}
#content .box .wrapper {
	height: auto;
	max-height: inherit;
	overflow: visible;
	margin-top: 15px;
}
#content .box_left {
	background: transparent url(../img/layout/pelne_ziarno/box/box_left.gif) no-repeat center top;
}
#content .box a, #content .box h3.sifr , #content .box h3.sifr_pz {
	color: #8b1a1a;
}
#content .box h3.sifr, #content .box h3.sifr_pz  {	
	padding-bottom: 8px;
	margin-bottom: 13px;
}
#content .box .title {
	font-weight: bold;
}
#content .box .box {
	margin-right: 0;
}
#content .box a.thumbnail {
	float: left;
	position: relative;
	margin: 0 8px 5px 0;
}
#content .box a.thumbnail .border {
	position: absolute;
	top: 0px;
	display: block;
	left: 0px;
}
#content #box2 a.thumbnail .border, #content #box3 a.thumbnail .border {
	background: transparent url(../img/layout/borders/horizontal.png) no-repeat center top;
	width: 82px;
	height: 67px;
}
#content #box2 a.thumbnail, #content #box3 a.thumbnail{
	width: 82px;
	height: 67px;
	overflow: hidden;
}
#content #box4 a.thumbnail .border, #content #box5 a.thumbnail .border {
	background: transparent url(../img/layout/borders/vertical.png) no-repeat center top;
	width: 82px;
	height: 97px;
}
#content #box5 a.thumbnail  { margin-top: 20px; }
#content #box4 a.thumbnail {
	width: 82px;
	height: 97px;
	overflow: hidden;
}
#content .box a.thumbnail img {
	padding: 1px;
}

#content #box5.pelneZiarno h3.sifr_pz  {
  width: 170px; float: left; overflow: hidden; position: relative; margin-bottom: 6px; ;
} #content #box5.pelneZiarno h3.sifr_pz object { position: relative; right: 50px;  }

#content #box5.pelneZiarno .h65 { line-height: 13px; }



#content .box .intro { 
	text-align: center;
  font-size: 0.92em;
  margin: 8px 0;
}

#content .box .date {
	background: url(../img/layout/pelne_ziarno/box/divider_right.gif) no-repeat right 10px;
}
#content .box .more {
	background: url(../img/layout/pelne_ziarno/box/divider_left.gif) no-repeat left 7px;
}


/*
#content .box .wrapper {
	width: 260px;
  float: left;
	margin: 0;
	height: 370px;
	overflow: hidden;
  padding: 15px 0;
	background: transparent url(../img/layout/pelne_ziarno/box/bg_middle.png) repeat-x right top;
}
#content .box .left, #content .box .right {
	float: left;
  height: 400px;
}
#content .box .left, #content .box .right {
	width: 30px;
}
#content .box .left {
	background: transparent url(../img/layout/pelne_ziarno/box/bg_border_left.png) no-repeat right top;
}
#content .box .right {
	background: transparent url(../img/layout/pelne_ziarno/box/bg_border_right.png) no-repeat right top;
}*/

/* middle column */
#content .box_middle_top {
  margin-bottom: 5px;
	height: 165px;
	background: transparent url(../img/layout/pelne_ziarno/box/box_top.gif) no-repeat center top;
}
#content .box_middle_bottom {
	height: 236px;
	background: transparent url(../img/layout/pelne_ziarno/box/box_bottom.gif) no-repeat center top;
}


#content .box_right {
	margin: 0;
	background: transparent url(../img/layout/pelne_ziarno/box/box_left.gif) no-repeat center top;
}
#content .box_left {
	margin-left: 4px;
	_margin-left: 2px;
}

#footer {
	background: url(../img/layout/footer_maroon.png) no-repeat center bottom;
	_background: url(../img/layout/footer_maroon_ie.png) no-repeat center bottom;
} 
#footer .wrapper {
	width: 980px;
  margin: auto;
}
.main #footer  {
	top: 0px;
	z-index: 1000;
}
.main #footer .wrapper {
	display: block;
}

/** overwrite a few properties from standard pages **/

#page .gallery span.prev {
  left: -10px;
  background: url(../img/layout/button/prev_maroon.png) no-repeat; 
}
#page .gallery span.next {
  right: -10px;
  background: url(../img/layout/button/next_maroon.png) no-repeat; 
}

#lhn #submenu dt span.icon {
	background-image: url(../img/layout/lhn/inactive_maroon.png);
}
#lhn #submenu dt.active span.icon {
	background-image: url(../img/layout/lhn/active_maroon.png);
}
#lhn #submenu dt.open span.icon {
	background-image: url(../img/layout/lhn/open_maroon.png);
}
#content .box ul.expert_items .more {
	margin-top: 0px;
}
