@charset "utf-8";

/**
 * Moje Drewno
 * Author: Coyote S.A.
 * Compatibility: IE6, IE7, IE8, Fx2, Fx3, O9x, SWin
 */

@import "reset.css";

/* Global & Misc:
 * _____________________________________________________________________________
 */
a
{
  text-decoration: none;
}

a:hover
{
  text-decoration: underline;
}

body
{
  font-size: 1.2em;
}

/* Structural labels for accessibility: */
.Accessibility,
h1
{
	left: -9999px;
	position: absolute;	
	width: 100px;
}

/* Clearfix: */
#Content form li,
.FriendBox
{
	overflow: hidden;
}

* html #Content form li {
	height: 1%;
}

html
{
  background: #E1BD71;
}

body
{
  background: #240A06;
  color: #FFF;
  margin: 0 auto;
  width: 819px;
}


#Content a
{
  color: #D11E12;
}

/* Header:
 * _____________________________________________________________________________
 */
#Header
{
  background: url(img/head.jpg) no-repeat 37px 128px;
  height: 160px;
}

#Header object
{
	width: 817px;
}

/* Nav:
 * _____________________________________________________________________________
 */
#Nav
{
	background: url(img/nav.jpg) no-repeat 0 -2px;
	
	height: 30px;

  position: relative;
	margin-top: 2px;
	margin-left: 264px;
	width: 519px;
}

html:root #Nav
{
	margin-top: 0;
}


#Nav li
{
  position: absolute;
  top: 0;
  left: 0;
}

#Nav li#AboutItem 		{ left: 60px;	 }
#Nav li#CatalogItem 	{ left: 195px; /*left: 185px;*/ }
#Nav li#ContactItem 	{ left: 320px; /*left: 300px;*/ }

#Nav li#AboutItem 	a       { width: 125px; background-image: url(img/nav-about.jpg);		}
#Nav li#CatalogItem a 			{ width: 124px; background-image: url(img/nav-offer.jpg);		}
#Nav li#ContactItem a 			{ width: 123px; background-image: url(img/nav-contact.jpg); }

#Nav a:hover,
#Nav .Active a
{
	background-position: 0 -40px;
  z-index: 100;
}

#Nav a
{
	background: none no-repeat left -2px;
  color: #D11E12;
  display: block;
	height: 30px;
	line-height: 30px;
	text-indent: -9999px;
}

#Nav a:hover
{
	padding-right: 50px;
}

/* Main:
 * _____________________________________________________________________________
 */


/* PageControl:
 * _____________________________________________________________________________
 */
.GallerySort
{
  float: right;
}

.Paginator 
{
  background: #2E1612;
  text-align: right;
  padding: 0.3em 35px;
  line-height: 1.2em;
}

.Paginator li
{
  display: inline;
  border: 1px solid #6B5C59;
  margin: 0 2px;
  padding-left: 0.5ex;
  font-weight: bold;
}

#Content .Paginator a
{
  color: #FFF;
  font-weight: normal;
}

#Content .Paginator .FirstControl,
#Content .Paginator .NextControl,
#Content .Paginator .PreviousControl,
#Content .Paginator .LastControl,
#Content .Paginator .NoFirstControl,
#Content .Paginator .NoNextControl,
#Content .Paginator .NoPreviousControl,
#Content .Paginator .NoLastControl,
#Content .Paginator .Last
{
  border: none;
}

/* Content:
 * _____________________________________________________________________________
 */
#Content
{
  color: #DDB96E;
  position: relative;
  min-height: 570px;
  padding-left: 85px;
  padding-top: 20px;
}

.About #Content
{
	padding-right: 45px;
}

* html #Content
{
  height: 570px;
}

.ContentHeader
{
  background: url(img/bullet.jpg) no-repeat left 2px;
  position: absolute;
  top: -21px;
  left: 70px;
  padding-left: 20px;
}

.ContentHeader h2
{
  background: none no-repeat left top;
  text-indent: -9999px;
  width: 125px;
  height: 16px;
}

body.Catalog        .ContentHeader h2  {  background-image: url(img/heading-offer.jpg); }
body.CatalogDetails .ContentHeader h2  {  background-image: url(img/heading-offer.jpg); }
body.About          .ContentHeader h2  {  background-image: url(img/heading-about.jpg); }
body.Contact        .ContentHeader h2  {  background-image: url(img/heading-contact.jpg); }

/* Content > Offer:
 * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 */
body.Catalog #Content
{
  padding-top: 2.0em;
  padding-right: 180px;
  position: relative;
}

body.Catalog .Gallery 
{
  clear: both;
}

/* IE6 BUGFIX: podwojony (?) margines gorny stworzony przez clear (!), 
 * na dodatek ustawienie marginesu gornego na wartosc ujemna
 * tego cleara nie cofa... coz :)
 */
* html body.Catalog .Gallery
{
  margin-top: -2.0em; 
}


body.Catalog .Gallery li
{
  background: url(img/offer-box-bottom.png) no-repeat left bottom;
  color: #DDB96E;
  float: left;
  margin-bottom: 10px;
  padding: 0 20px 20px;
  width: 237px;
	min-height: 143px;
}

body.Catalog .Gallery li.Odd
{
	clear: left;
}

* html body.Catalog .Gallery li
{
	height: 143px;
}

body.Catalog .Gallery li h3
{
  background: url(img/offer-box-top.png) no-repeat left top;
	line-height: 1.4em;
  margin-left: -20px;
  margin-right: -20px;
  padding: 20px 20px 10px;
}

body.Catalog .Gallery li h3 a
{
  background: url(img/bullet.jpg) no-repeat left 3px;
  color: #D11E12;
  display: block;
  float: none;
  padding-left: 21px;
  margin: 0;
}

body.Catalog .Gallery a
{
  float: left;
  margin-right: 7px;
}

body.Catalog .Gallery a img
{
  border: 1px solid #55423E;
	height: 89px;
	width: 90px;
}

body.Catalog .Gallery a:hover img
{
  border-color: #D11E12;
}

/* Content > Contact:
 * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 */
.FormBox
{
  background: #2C130F;
  border: 1px solid #3C2A23;
  width: 380px;
  padding: 10px;
  float: left;
}

.FormBox h3
{
  background: url(img/contactform-header.jpg) no-repeat left top;
  text-indent: -9999px;
  height: 13px;
  margin-bottom: 10px;
  width: 187px;
}

.FormBox form
{
  background: url(img/formborder.jpg) no-repeat center bottom;
  padding-bottom: 25px;
  padding-top: 10px;
  margin-bottom: 5px;
}

.FormBox li
{
  color: #FFF;
  padding-left: 85px;
  margin-bottom: 8px;
}

.FormBox span span
{
  margin: 0;
}

.FormBox label
{
  width: 85px;
  margin-left: -85px;
}

.FormBox label,
.FormBox input,
.FormBox textarea
{
  float: left;
}

.FormBox input,
.FormBox textarea
{
  background: #39201C;
  border: 1px solid #584541;
  color: #FFF;
  width: 140px;
}

.FormBox .Last input
{
  background-image: url(img/bullet.jpg);
  background-repeat: no-repeat;
  background-position: 95% center;
  padding: 1px 20px;
  width: auto;
}

.AddressBox {
  float: right;
  width: 160px;
  margin-right: 30px;
  margin-top: 140px;
  padding: 0 20px 10px;
}

/* Content > CatalogDetails:
 * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 */
body.CatalogDetails #Content
{
  width: 616px;
}

#Content .CatalogDetails
{
  clear: left;
}

.ButtonsContainer
{
	cursor: default;
	overflow: hidden;
	margin-bottom: 15px;
}

* html .ButtonsContainer
{
	height: 1%;
}

.NoButtonPrevious,
.ButtonPrevious
{
  background: url(img/bullet-left.jpg) no-repeat left center;
  padding-left: 20px;
  margin-right: 30px;
}

#Content .ButtonsContainer a
{
  color: #DDB96E;
  font-weight: bold;
}

.NoButtonNext,
.ButtonNext,
.ReturnButton a
{
  background: url(img/bullet.jpg) no-repeat right center;
  padding-right: 20px;
  display: inline-block;
}

#Content a.NoButtonPrevious,
#Content a.NoButtonNext
{
	color: #5E2C09;
}


#Content .NavigationButtons span
{
  color: #8F6B21;
}


.NavigationButtons
{
  float: left;
}

.ReturnButton
{
  float: right;
}

#Content .CatalogDetails h3
{
  background: url(img/bullet.jpg) no-repeat left center;
  color: #D11E12;
  font-weight: bold;
  font-size: 1.3em;
  padding-left: 20px;
  margin: 20px 0 10px;
  position: relative;
}

#Content .CatalogDetails img
{
  background: #2D1511;
  border: 1px solid #45302D;
  display: block;
  margin: 0 auto 5px;
}

.FriendBox
{
  color: #FFF;
  margin: 10px auto 0;
  width: 325px;
}

.FriendBoxLeft,
.FriendBoxRight
{
  border: 1px solid #473430;
  padding: 8px;
  min-height: 50px;
}

* html .FriendBoxLeft,
* html .FriendBoxRight
{
  height: 50px;
}

.FriendBoxLeft
{
  background: #2D1511;
  float: left;
  font-weight: bold;
  width: 67px;
}


.FriendBoxRight
{
  float: right;
  width: 218px;
}

* html .FriendBox ul
{
  display: inline-block;
}

.FriendBox label,
.FriendBox input
{
}

.FriendBox label
{
  float: left;
}

.FriendBox input
{
  border: 1px solid #412B26;
  background: #230A06;
  color: #FFF;
  width: 125px;
  float: right;
}

.FriendBox .Last input
{
  background: url(img/bullet.jpg) no-repeat 95% center;
  text-transform: lowercase;
  border: none;
  padding-right: 20px;
  margin-top: 5px;
  font-weight: bold;
  width: auto;
}


/* Footer:
 * _____________________________________________________________________________
 */
#Footer
{
  background: url(img/footer.jpg) no-repeat 13px top;
  height: 31px;
  margin-top: 20px;
  overflow: hidden;
  clear: both;
}

#Footer p
{
  color: #E1BD71;
  position: relative;
  top: 31px;
}

.By a
{
  /* color: #; */
  height: 9px;
  left: 108px;
  position: absolute;
  text-decoration: none;
  text-indent: -9999px;
  top: -18px;
  width: 54px;
}

.By a:hover
{
  text-decoration: underline;
  border-bottom: 1px solid #240804;
}
