/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/*
 * Layout Style Sheet - Provides a fluid grid and helper classes to create any layout and some layout defaults
 */


/* Grid and Clearing Tools
----------------------------------------------------------------------------------------------------*/

.clearfix:before,
.clearfix:after,
.grid-block:before,
.grid-block:after,
.deepest:before,
.deepest:after {
	content: "";
    display: table;
}
.clearfix:after,
.grid-block:after,
.deepest:after { clear: both; }

.grid-box { float: left; }

/* Grid Units */
.width16 { width: 16.666%; }
.width20 { width: 20%; }
.width25 { width: 25%; }
.width33 { width: 33.333%; }
.width40 { width: 40%; }
.width50 { width: 50%; }
.width60 { width: 60%; }
.width66 { width: 66.666%; }
.width75 { width: 75%; }
.width80 { width: 80%; }
.width100 { width: 100%; }

/* Create new Block Formatting Contexts */
.bfc-o { overflow: hidden; }
.bfc-f {
	width: 100%;
	float: left;
}

/* Align Boxes */
.float-left { float: left; }
.float-right { float: right; }

/* Grid Gutter */
.grid-gutter.grid-block { margin: 15px -15px 0 -15px; }
.grid-gutter.grid-block:first-child { margin-top: 0; }
.grid-gutter > .grid-box > * { margin: 0 15px; }


/* Layout Defaults
----------------------------------------------------------------------------------------------------*/

/* Center Page */
.wrapper { margin: auto; }

/* Header */
#header { position: relative; }

#toolbar .float-left .module,
#toolbar .float-left > time {
	margin: 0 15px 0 0;
	float: left;
}

#toolbar .float-right .module {
	margin: 0 0 0 15px;
	float: right;
}

#headerbar .module {
	max-width: 300px;
	margin-right: 0;
	float: right;
}

#logo, #logo > img,
#menu { float: left; }
#search { float: right; }

#banner {
	position: absolute;
	top: 0;
	right: -200px;
}

/* Footer */
#footer {
	position: relative;
	text-align: center;
}

/* Absolute */
#absolute {
	position: absolute;
	z-index: 15;
	width: 100%;
}


/* Spacing
----------------------------------------------------------------------------------------------------*/

#header,
#content,
#breadcrumbs,
.module { margin: 2px; }

#header { margin-bottom: 5px; }

#toolbar { margin-bottom: 2px; }

#headerbar { margin-bottom: 10px; }

#footer { margin: 15px 5px; }

#footer .module { margin: 0; }


/* Layout
----------------------------------------------------------------------------------------------------*/

/* Block Elements */
#block-main {

}

#block-main > div {
	/*background: url("../images/main_b.png") 0 100% repeat-x;*/
	background: url("../images/main_new.png") 0 100% repeat-x;
}

#block-bottom {
	padding: 30px 0;
	background:#2f3338 url("../../images/background/fabric/page-head-bg2.gif") repeat;
}

#block-footer {
	padding: 10px 0;
	background: url("../images/footer.png") 0 0 repeat-x;
}

#block-main + #block-footer { background: none; }

/* Toolbar */
#toolbar { font-size: 12px; }

/* Menubar */
#menubar {
	position: relative;
	height: 43px;
	padding-bottom: 4px;
	border-bottom: 1px solid #a0a0a0;
	border-bottom: 1px solid rgba(0,0,0,0.25);
	border-radius: 4px;
	background: url("../images/menubar.png") 0 100% repeat-x;
	background-clip: padding-box;
}

#menubar-r {
	height: 47px;
	border-radius: 0 4px 4px 0;
	box-shadow: 0 3px 2px rgba(0,0,0,0.15);
	overflow: hidden;
}

#menubar-r > div {
	height: 42px;
	border-top: 1px solid #d3d3d3;
	border-right: 1px solid #d3d3d3;
	border-radius: 0 4px 4px 0;
	background-color: white;
	background-clip: padding-box;
	box-shadow: inset 0 0 0 1px #fff;
}

#search {
	position: absolute;
	top: 9px;
	right: 9px;
}

/* Breadrumbs */
#breadcrumbs {
	margin-bottom: 10px;
	font-size: 12px;
}

/* Content */
#content {
	border: 1px solid #d2d2d2;
	border: 1px solid rgba(0,0,0,0.1);
	border-bottom-color: #9d9d9d;
	border-bottom-color: rgba(0,0,0,0.25);
	padding-bottom: 4px;
	border-radius: 4px;
	background: #d2d2d2 url("../images/mod_box.png") 0 100% repeat-x;
	background-clip: padding-box;
	box-shadow: 0 1px 2px rgba(0,0,0,0.08);

}

#content > div {
	padding: 20px;
	border-radius: 3px;
	background: white;
	box-shadow: inset 0 0 0 1px #fff;
}

/* Footer */
#footer { text-align: left; }

#footer .menu { margin-bottom: 8px; }

#footer a:hover { color: #444; }

#totop-scroller {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	`: 19px;
	height: 19px;
	background: url("../images/totop_scroller.png") 0 0 no-repeat;
	text-decoration: none;
}

#totop-scroller:active { background-position: 0 -30px; }
