/* $Id: layout-fixed.css,v 1.5 2008/09/14 10:39:32 johnalbin Exp $ */

/*
 * LAYOUT STYLES
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout is based on the Border Politics Layout Method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
 */


/** body **/
body
{
	background: #7aa1af url(img/bg.jpg) repeat-x;
	font-family: Trebuchet MS, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: normal;
	text-transform: normal;
	letter-spacing: normal;
	line-height: 1.5em;
	margin: 0px;
	color: #4c4c4c;
}

a
{
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

#page,
#closure-blocks
{
	/*
	 * If you want to make the page a fixed width and centered in the viewport,
	 * this is the standards-compliant way to do that. See also the ie.css file
	 * for the necessary IE5 hack to center a div.
	 */
	width: 975px;
	margin: 0 auto;
	background-color: #FFF; 
}

#page-inner
{
}

#navigation-top,
#navigation
{
	position: absolute; /* Take the named anchors out of the doc flow    */
	left: -10000px;     /* and prevent any anchor styles from appearing. */
}

#skip-to-nav
{
	float: right;
	margin: 0 !important;
	font-size: 0.8em;
}

#skip-to-nav a:link, #skip-to-nav a:visited
{
	color: #fff; /* Same as background color of page */
}

#skip-to-nav a:hover
{
	color: #000;
	text-decoration: none;
}

/* Alternatively, the skip-to-nav link can be completely hidden until a user tabs
   to the link. Un-comment the following CSS to use this technique. */
/*
#skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited
{
	position: absolute;
	left: 0;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#skip-to-nav a:active, #skip-to-nav a:focus
{
	position: static;
	width: auto;
	height: auto;
}
 */

/** header **/
#header
{
	background: url(img/header-bg.gif);
	height: 85px;
	padding: 30px;
	_padding-bottom: 21px;		/* Workaround to IE6 layout bug */
	padding-left: 160px;
	position: relative;
}

#header-inner
{
}

#logo-title
{
	height: 47px;
}

#logo
{
	float: left;
	display: none;
}

#site-name, #site-name a
{
	font-size: 26px;
	font-style: normal;
	font-weight: bold;
	text-transform: normal;
	letter-spacing: normal;
	line-height: 1.2em;
	color: #FFFFFF;
	text-decoration: none;
}

#site-slogan
{
	float: right;
	margin-top: -30px;
	font-style: italic;
	color: #FFFFFF;
	line-height: normal;
	width: 160px;
}

#tr-links
{
	position: absolute;
	font-size: 0.8em;
	color: black;
	top: 20px;
	right: 35px;
}

#tr-links a
{
	color: #aaa;
}

#header-blocks
{
	clear: both; /* Clear the logo */
}

/** main (container for everything else) **/
#main
{
	background: url(img/main-bg.gif);
	position: relative;
	padding: 0 30px 30px;
}
#main-inner
{
	background-attachment: fixed;
	background-image: url(content-background.png);
	background-position: center 140px;
	_background-position: expression("center " + ((this.ownerDocument.documentElement.scrollTop || 0) + 55) + "px");
	background-repeat: repeat-y;
	
	min-height: 400px;
	height: auto !important; /* IE6 min-height hack */
	height: 400px;
}

/** content **/
#content,
.no-sidebars #content
{
	float: left;
	width: 915px;
	margin-left: 0;
	margin-right: -915px; /* Negative value of #content's width + left margin. */
	padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
}

.sidebar-left #content
{
	width: 720px;
	margin-left: 190px; /* The width of #sidebar-left. */
	margin-right: -960px; /* Negative value of #content's width + left margin. */
}

.sidebar-right #content
{
	width: 720px;
	margin-left: 0;
	margin-right: -720px; /* Negative value of #content's width + left margin. */
}

.two-sidebars #content
{
	width: 530px;
	margin-left: 190px; /* The width of #sidebar-left */
	margin-right: -720px; /* Negative value of #content's width + left margin. */
}

#content-inner
{
	margin: 0;
	padding: 0;
}

/* content-header */
#content-header .breadcrumb
{
	display: none;
	padding: 0;
}

#content-header .title
{
	color:#f76f32;
}

/* content-area */
#content-area .title,
#content-area h1,
#content-area h2,
#content-area h3
{
	color:#f76f32;
}

#content-area .node-inner .title a
{
	font-size: 0.8em;
}

#content-area
{
	text-align: justify;
}

/** navbar **/
#navbar
{
	float: left;
	width: 100%;
	margin-left: 0;
	margin-right: -100%; /* Negative value of #navbar's width + left margin. */
	padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */
	height: 3.6em; /* The navbar can have any arbritrary height. We picked one
					  that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6
					  Set this to the same value as the margin-top below. */
}

.with-navbar #content,
	.with-navbar #sidebar-left,
	.with-navbar #sidebar-right
{
}

#navbar-inner
{
}

#search-box
{
	width: 200px;
	margin-right: -200px; /* Negative value of #search-box's width. */
	float: left;
}

#primary
{
	margin-left: 0; /*200px Width of search-box */
}

#secondary
{
	margin-left: 0; /*200px Width of search-box */
	clear: left;
	display: none;
}

#navbar ul /* Primary and secondary links */
{
	margin: 0;
	padding: 0;
	text-align: left;
}

#navbar #primary li /* A simple method to get navbar links to appear in one line. */
{
	background: #FFFFFF url(img/nav-a.gif) repeat-x;
	font: 12px Verdana, Arial, Helvetica, sans-serif;
	color: #3369b7;
	display: block;
	float: left;
	height: 23px;
	margin-right: 1px;
	padding-top: 4px;
}

#navbar #primary li a,
#navbar #primary li a:visited /* A simple method to get navbar links to appear in one line. */
{
	text-decoration: none;
	color: #3369b7;
	padding: 0 5px;
	font-weight: bold;
}

#navbar #primary li.active,
#navbar #primary li.active-trail
{
	background: url(img/nav-a-curr.gif) repeat-x;
}
#navbar #primary li.active a,
#navbar #primary li.active a:visited,
#navbar #primary a.active-trail,
#navbar #primary a.active-trail:visited
{
	color: #f76f32;
	font-weight: bold;
}

/** Make the disc icon appear only before active links. */
.menu-level-2 li
{
	list-style: none;
}
.menu-level-2 li.active
{
	list-style-image: url(../../misc/menu-leaf.png); 
}

/** sidebar-left **/
#sidebar-left
{
	float: left;
	width: 200px;
	margin-left: 0;
	margin-right: -200px; /* Negative value of #sidebar-left's width + left margin. */
	padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-left-inner. */
}

#sidebar-left-inner
{
	margin: 0 20px 0 0;
	padding: 0;
}

/** sidebar-right **/
#sidebar-right
{
	float: left;
	width: 200px;
	margin-left: 715px; /* Width of content + sidebar-left. */
	margin-right: -915px; /* Negative value of #sidebar-right's width + left margin. */
	padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */
}

#sidebar-right-inner
{
	margin: 0 0 0 20px;
	padding: 1px 0 10px 0;
	background: url(img/sidebar-right-bg.png) no-repeat;
	min-height:150px;
	height: auto !important;
	height: 150px;
}
* html #sidebar-right-inner {
	background-color: #FFF;
	background-color: transparent;
	background-image: url(img/sidebar-right-bg.png);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="img/sidebar-right-bg.png", sizingMethod="scale");
}

/** footer **/
#footer
{
	background: url(img/footer-bg.gif);
	height: 62px;
	text-align: center;
	color: #CCCCCC;
	font: 10px/62px Verdana, Arial, Helvetica, sans-serif;
}
#footer-inner
{
}
#footer-inner p
{
	margin: 0;
}

/** closure **/
#closure-blocks /* See also the #page declaration above that this div shares. */
{
}

/** Prevent overflowing content **/
#header,
#content,
#navbar,
#sidebar-left,
#sidebar-right,
#footer,
#closure-blocks
{
	overflow: visible;
	word-wrap: break-word; /* A very nice CSS3 property */
}

#navbar
{
	overflow: hidden; /* May need to be removed if using a dynamic drop-down menu */
}

/* If a div.clear-block doesn't have any content after it, Firefox and Safari
   will mistakenly place several pixels worth of space between the bottom of
   the div and the bottom of the viewport. This fixes it. */
#page { overflow-y: hidden; } /* CSS3 property */

/* Hide away blog author names and forbidden message */
li.blog_usernames_blog,
li.comment_forbidden
{
	display : none !important;
}

form th
{
	text-align: left;
}

form .text
{
	border: 1px solid #808080;
}

form .main-text
{
	width: 99%;
	border: 1px solid #808080;
}

form td.header
{
	font-weight: bold;
	background-color: #666;
	color: #fff;
}

form .fine-print
{
	font-style: italic;
	font-size: 0.8em;
}

img.header
{
	margin: 5px;
	padding: 5px;
	border: 1px solid #ccc;
	float: right;
}
