/*
 * 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%; }
.width45 { width: 45%; }
.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; }


/* Layout Defaults
----------------------------------------------------------------------------------------------------*/

/* Center Page */

body {min-width: 1074px; }

.wrapper { 
	margin: auto;
	width: 994px;
}

#sidebar-a { width: 315px; }

#maininner { width: 639px; }

.block-top {
	background:url(../images/header/header_bg_1.png);
}

.block-main .wrapper{ width:954px; padding-top:20px;}

.block-bottom {
	background:url(../images/layout/bottom_bg.png);
}
.block-bottom .wrapper{ width:954px;}

.block-top-left, .block-main-left, .block-bottom-left {
	background:url(../images/layout/main_left_bg.png) repeat-y 0 0;
	margin: auto;
	width: 1024px;
}

.block-top-right, .block-main-right, .block-bottom-right {background:url(../images/layout/main_right_bg.png) repeat-y 100% 0;}


/* Header */

#toolbar-left {
	position:absolute;
	top:120px;
	left:0;
	height:180px;
	width:50px;
}

#header { position: relative;}

#toolbar {
	height:70px;
}
#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;
}
#toolbar  time {
	float:left;	
}
#toolbar .module {margin:15px 20px 0 20px;}

#headerbar .module {
	max-width: 300px;
	margin-right: 0;
	float: right;
}

#logo, #logo > img{ 
	position:absolute;
	top:0;
	right:0;
}
#menu, #menu-top {float: left;}

#search { position:absolute; width:250px; height:25px; background-color: rgba(0, 0, 0, 0.6); z-index:999; top:310px; right:20px; }

#logo-small {
	display:block;
	margin-top:-20px;
	margin-left:-5px;
	clear:both;
}


/* Footer */
#footer {
	position: relative;
	text-align: left;
}


/* Spacing
----------------------------------------------------------------------------------------------------*/

.module { margin: 20px; }

#bottom-a,
#breadcrumbs,
#footer { margin: 20px; }

#breadcrumbs { margin-top: -10px; }

#content { margin: 0 20px; }
#header {margin:0; padding:0 20px;}
#bottom-a {
	padding-top: 20px;
}

#footer .module { margin: 0; }

#headerbar { margin: 15px 0; }


/* Layout
----------------------------------------------------------------------------------------------------*/

/* Sidebar Backgrounds */
#sidebar-a { position: relative; }

/* Sidebar Bottom Modules Backgrounds */

#bottom-a .grid-box .module {background-color:#eff0f0;}
#bottom-a .module h3.module-title {
	font-size:14px;
	font-weight:bold;
	line-height:38px;
	display:block;
	margin:0 0 0 0;
	padding:0 0 0 15px;
	color:#FFF;
}
#bottom-a .module-content {
	padding:20px;	
}

#bottom-a .module-grey {width:277px; margin:20px 21px 20px 0;}
#bottom-a .module-orange {width:277px; margin:20px 21px 20px 20px;}
#bottom-a .module-blue {width:277px; margin:20px 0 20px 21px;}


#bottom-a .module-grey h3.module-title {background:url(../images/layout/mod_bg_grey.png) no-repeat 0 0;}
#bottom-a .module-orange h3.module-title {background:url(../images/layout/mod_bg_orange.png) no-repeat 0 0;}
#bottom-a .module-blue h3.module-title {background:url(../images/layout/mod_bg_blue.png) no-repeat 0 0;}

/* ToTop Scroller */
#totop-scroller {
	display: block;
	position: relative;
	float:right;
	margin-top:25px;
	z-index: 1;
	width: 21px;
	height: 21px;
	background: url(../images/layout/totop_scroller.png) 50% 0 no-repeat;
	text-decoration: none;
}

#totop-scroller:hover {background-position:50% -20px;}

