/* Reset of browser's default settings */
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, strong1, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0; padding: 0; border: 0; font-size: 100%; line-height: 1; font-family: inherit; text-align: left}

* {margin:0;padding:0;}

html, body, #wrap, #wrap-borders {height: 100%;}

	.wCentered {	/*defines main-content width and centering it*/
	}
	.clearFloat {
		clear: both;
	}
body {
	text-align:center;
	background: url(img/body_bg.png) top;
}
	#wrap {
		position: relative;
		background: #FFEBB8;	/*background of main page ##milk*/
		width: 1000px;
		margin: 0 auto;
	}
	#wrap-borders {
		background: url(img/main_borders.jpg) top repeat-y;
	}

	body > #wrap-borders {
		height: auto; 
		min-height: 100%;
	}
	body > #wrap {
		height: auto; 
		min-height: 100%;
	}
	#main {
		position: relative;
		padding-bottom: 218px; /* must be same height as the footer */
	}  
	#content {
		padding-top: 276px; /* Header-image + header-menu height + margin between top menu and h1 */
		margin: 0px 37px;
	}
	#header {
		position: absolute;
		top: 0px;
		left: 0px;
		height: 114px;
		width: 100%;
		background: url(img/header_image_s.jpg) no-repeat 0 top;
	}
    
    div#link_to_main { text-align: right; }
    div#link_to_main span{ 
        position:relative; 
        left: -55px; 
        top: -2px;
    }
    div#link_to_main a{
        text-decoration:none; 
        color:#FFDEAD;
    }
    
	.logoSelfLink {
		position: absolute;
		width: 116px;
		height: 105px;
		top: 10px;
		right: 36px;
	}
	.logoSelfLinkH {
		position: absolute;
		width: 116px;
		height: 100px;
		top: 44px;
		right: 36px;
	}
	/*	Main-menu styling. Layer with long red background  */
	#mainMenu {
		position: absolute;
		top: 114px;
		height: 128px;
		width: 100%;
		background: url(img/header_navigation_s.png) no-repeat;
	}
/*	Main-menu styling. Main horizontal menu list  */
		ul#menu {
			list-style: none;
			margin: 26px 0px 0px 36px; /*104px;*/
		}
		
		ul#menu li {
			float: left;
			display: inline;
			margin: 0 0 0 65px;
			background:none;
		}
/***************************************************/		
/*	SubMenu */
/***************************************************/		
.subMenuContainer {
	float:left;
	clear: left;
	z-index: 10;
	position: relative;
	display: inline;
	margin: 6px 0 0 70px;
}
#header * {
	zoom: 1
}
ul#subMenuShort {
	background: url(img/submenu_bg.png) no-repeat -182px -97px;;
	padding-left: 6px;
}
ul.subMenu {
	float: left;
	height: 92px;
}

ul.subMenu li {
	float: left;
	height: 100%;
	display: inline !important;
	background: url(img/submenu_bg.png) no-repeat -10px 0px;
	padding: 0px 6px;
}
#subMenuShort .itemLast {
	width: 32px;
	padding: 0px;
	margin-left: 0px !important;
	background:  url(img/submenu_bg.png) no-repeat -110px -97px;
}
ul#subMenuFull .itemLast {
	width: 6px;
	padding: 0px;
	height: 92px;
	background: url(img/submenu_bg.png) no-repeat -52px -97px;
}

div.floated {
	float: left;
	position: relative;
	height: 92px;
	left: -32px;
	-z-margin-left: -32px;
}
ul.subMenu span {
	display: block;
	margin-top: 60px;
	text-align: center;
	cursor: pointer;
}
ul.subMenu a {
	display: inline-block;
	height: 88px;
	margin: 2px 0 0 2px;
	background: #FFF6DE url(img/submenu_items.jpg) no-repeat;
	text-align: center;
}

li.item1 a {
	background-position: -8px 0px;
}
li.item2 a {
	background-position: -107px 0px;
	width: 60px;
}
li.item3 a {
	background-position: -183px 0px;
}
li.item4 a {
	background-position: -252px 0px;
	width: 60px;
}
li.item5 a {
	background-position: -322px 0px;
	width: 60px;
}
li.item6 a {
	background-position: -397px 0px;
}
li.item7 a {
	background-position: -479px 0px;
	width: 60px;
}
li.item8 a {
	background-position: -553px 0px;
}
li.item9 a {
	background-position: -658px 0px;
}
li.item10 a {
	background-position: -718px 0px;
}
li.item11 a {
	background-position: -785px 0px;
}
/***************************************************/		
/*	footer */
/***************************************************/		


	#footer {
		position: relative;
		background: url(img/footer.jpg) no-repeat;
		height: 183px;
		margin: -183px auto 0 auto; /* negative value of footer height */
	
		clear:both;
		width: 1000px;
	}
	.author {
		position: absolute;
		padding-top: 7px;
		width: 400px;
		height: 30px;
		bottom: 38px;
		right: 37px;

	}
	.authorLogo {
		display: block;
		position: absolute;
		right: 0px;
		top: 2px;
		background: url(img/author_logo.png) no-repeat right 0px;
		width: 65px;
		height: 30px;
	}
	.copyright {
		position: absolute;
		bottom: 16px;
		left: 230px;
	}

		/* CLEAR FIX for footer */
		#main:after {
			content: ".";
			display: block;
			height: 0;
			clear: both;
			visibility: hidden;
		}
		#main {display: inline-block;}
		/* Hides from IE-mac \*/
		* html #main { height: 1%;}
		#main {display: block;}
		/* End hide from IE-mac */
		
/*==================================
====================================
	text, blocks sizes and positioning
====================================
====================================*/
div.leftBlock {
	float: left;
	width: 590px;
}
div.rightBlock {
	float: left;
	margin-left: 30px;
	margin-top: 15px;
	width: 302px;
	display: inline;
}
.sideNote {
	width: 302px;
	padding-top: 10px;
	margin-bottom: 20px;
	background: #e8d299 url(img/sidenote_bg.png) no-repeat;
}
	.sideNote .bb {
		display: block;
		background: url(img/sidenote_bg.png) no-repeat 0px bottom !important;
		height: 4px;
	}

/*==================================
====================================
IMAGE GALLERY
====================================
====================================*/
.gallery {
	list-style: none;
	width: 100%;
	margin: 30px 0px;
}

	.gallery li {
		float: left;
		width: 230px;
		margin-bottom: 0 0 60px 0;
		padding:0;
		background:none;
		
	}
	.gallery li a {
		position: relative;
		display: block;
		width: 137px;
		margin: 0 auto;
		text-align: center;
	}
	.gallery li .gallery-link img {
		padding: 9px 9px 0 9px;
		background:url(img/gallery_bg.png) no-repeat;
	}
	.gallery span.bottom {
		display: block;
		background:url(img/gallery_bg.png) no-repeat 0px -247px;
		width: 137px;
		height: 9px;
		overflow: hidden;
	}
	.gallery .caption {
		display: block;
		margin-top: 6px;
		text-align: center;
	
	}
	.gallery .captionRed {
		background:url(img/gallery_bg.png) no-repeat 0px -263px;
		display: block;
		height:34px;
		text-align: center;
		padding-top: 2px;
		overflow: hidden;
	}
	.gallery span.enlarge {
		position: absolute;
		display: block;
		width: 37px;
		height: 33px;
		right: -28px;
		top: 20px;
		background:  url(img/enlarge.png) no-repeat;
	}
/*==================================
====================================
====================================*/	
	
	.roundCorners {
		padding: 9px;
		background: #E8D299 url(img/round_borders.png) no-repeat -9px -9px;
		position: relative;
		margin-bottom: 0px;
		width: 119px;
	}

			.tr, .bl, .br {
				overflow: hidden;				
				position: absolute;
				width: 9px;
				height: 9px;
				background-image: url(img/round_borders.png);
				background-repeat: no-repeat;
			}
			.tr {
				top: 0px;
				right: 0px;
				background-position: 0px -9px;
			}
			.bl {
				bottom: 0px;
				left: 0px;
				background-position: -9px 0px;
			}
			.br {
				bottom: 0px;
				right: 0px;
			}


/*==================================
====================================
wardrobe pages red sub-menu styles, can be transported to wardrobe.css
====================================
====================================*/
ul#menu li.spacer {
	position: relative;
	left: 0px;
	top: 0px;
	display: inline;
	padding: 0px 8px 5px 8px;
	background: #7A0000 url(img/redsubmenu_bg.png) no-repeat left 0px;
	z-index: 1;
}
ul#menu li.spacer .tr {
	position: absolute;
	top: 0px;
	right: 0px;
	width:  10px;
	height: 10px;
	background: #7A0000 url(img/redsubmenu_bg.png) no-repeat right -50px;
}
li.spacer a {
	color: #CC9933 !important;
}
.arrDown {
	padding-right: 20px;
	background:url(img/submenu_arrows.png) no-repeat right 8px;
}
ul.redSubMenu {
	position: absolute;
	margin:0;
	width: 340px;
	top: 32px;
	left: 0px;
	background: #7A0000 url(img/redsubmenu_bg.png) no-repeat right -70px;
}
ul.redSubMenu li {
	margin: 0 0 0 0px !important;
	padding: 0px 0px 2px 25px;
	text-indent: 11px;
	background: #7A0000; /*url(img/redsubmenu_bg.png) no-repeat right -70px;*/
	height: 20px;
}
ul.redSubMenu li.first {
	padding-left: 50px;
}
ul.redSubMenu li a {
	color: white !important;
	font-size: 16px !important;
	display: block;	
	float: left;
	background:url(img/submenu_arrows.png) no-repeat left -24px;
}

/*==================================
====================================
form buttons styling
====================================
====================================*/
.bLeft, .bRight, .bRight i {float: left; font-style: normal}
li.buttons .bLeft {
	margin-right: 0px;
}
.ind {
	margin-left: 15px;
}
.bLeft {
	height: 27px;
	display: inline-block;
	float: left;
	background: url(../code/img/button_bg.png) no-repeat left 0px;
}
.inSection {
	margin-top: 30px;
}
.bRight {
	float: left;
	display: inline-block;
	background: url(../code/img/button_bg.png) no-repeat right -37px;
	padding-left: 3px;
	padding-right: 3px;
	height: 27px;
}
.bRight i {
	background: #B38C35;
	display: inline-block;
	height: 27px;
}
.bRight i input {
	margin-top: 2px;
	height: 23px;
	padding: 3px;
	padding-top: 0px;
}

#counters {
	display: none;
}

.wardrobeImg {
    display: block;
    height: 51px;
    margin: 4px 0 10px 16px;
    padding-left: 70px;
    background: url(img/wardrobe_construct.png) no-repeat left;
}
.wardrobeImg a {
    color: #0041D9;
    font: 18px Georgia, "Times New Roman", Times, serif;
    line-height: 24px;
} 
