/*=======================================================*/
/*== Typography =========================================*/
/*=======================================================*/

header, footer, section, aside, nav, article, hgroup, figure, figcaption{
	display: block;
}

html{
	overflow-y: scroll;
}

body{
	background: #f4f3e8;
	color: #444;
	font: 12px/1.5 arial, sans-serif;
	margin: 0 0 12px;
}

a{
	color: #900;
	text-decoration: none;
}

a:hover {
	color: #4169e1;
	text-decoration: underline;
}

a img{
	border: 0;
}

h1{
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 6px;
}

h2, h3, h4, h5, h6{
	margin-top: 12px;
	margin-bottom: 6px;
}

h2{
	font-size: 16px;
	line-height: 1.125;
}

h3{
	font-size: 14px;
	line-height: 1.286;
}

h4{
	font-size: 12px;
	line-height: 1.5;
}

p, ul, ol, dl{
	margin-top: 0;
	margin-bottom: 1em;
}

ul, ol{
	margin-left: 0;
	padding-left: 22px;
}

ul.right{
	text-align: right;
}

ul.left > li, ul.right > li{
	display: inline-block;
	vertical-align: bottom;
}

dl > dt + dt,
dl > dd + dt{
	margin-top: 6px;
}

dl > dd{
	margin-left: 24px;
}

hr{
	border: 0;
	border-top: 1px solid #ccc;
	height: 0;
	margin: 16px 0;
}

small{
	font-size: 11px;
}

table.gray, table.cream{
	border-collapse: collapse;
	border-spacing: 0;
}

table.full-width{
	width: 100%;
}

table.gray > thead > tr > th,
table.gray > tbody > tr > th,
table.gray > tbody > tr > td{
	border: 1px solid #bbb;
	padding: 2px 6px;
	text-align: left;
}

table.gray > thead > tr > th{
	background: #e3e3e3;
}

table.gray > tbody > tr > th{
	background: #f2f2f2;
	font-family: trebuchet ms;
	font-style: italic;
}

table.gray > tbody > tr:nth-child(even) > td,
table.gray > tbody > tr.even > td{
	background: #f9f9f9;
}

table.gray > tbody > tr > td.ops,
table.cream > tbody > tr > td.ops{
	min-width: 20%;
	white-space: nowrap;
}

table.cream > thead > tr > th,
table.cream > tbody > tr > th,
table.cream > tbody > tr > td{
	padding: 2px 6px;
	vertical-align: top;
}

table.cream > thead > tr > th{
	background: #f5e39a;
	border-bottom: 1px solid #c63600;
	border-top: 1px solid #c63600;
	color: #333;
	text-align: left;
}

table.cream > tbody > tr > th{
	background: #f3ecd4;
	border-bottom: 1px solid #aea581;
	text-align: left;
}

table.cream > tbody > tr > td{
	border-bottom: 1px solid #c1b78f;
}

table.cream > tbody > tr:nth-child(even) > td,
table.cream > tbody > tr.even > td{
	background: #f8f8f0;
}

table.cream > tbody > tr > td.ops a + a{
	margin-left: 10px;
}

table.cream > tbody a{
	text-decoration: none;
}

table.cream > tbody a:hover{
	text-decoration: underline;
}

form dl{
	overflow: hidden;
}

form dl > dt{
	clear: left;
	float: left;
	margin-right: 1%;
	margin-top: 1px;
	width: 19%;
}

form dl > dt > label{
	display: block;
	font-weight: bold;
	text-align: right;
}

form dl > dd{
	float: left;
	margin: 0 0 6px;
	width: 80%;
}

form dl > dd > ul.errors{
	color: darkred;
	list-style: none;
	margin: 3px 0 0;
	padding: 0;
}

form dl > dd > .hint{
	color: #555;
	font-style: italic;
	margin: 1px 0 0;
}

.figure{
	margin: 0 0 6px;
}

blockquote{
	margin: 0 0 3px;
}

cite{
	display: block;
	font-size: 11px;
}

.clear{
	clear: both;
}

.nowrap{
	white-space: nowrap;
}

.photo-left{
	float: left;
	margin-right: 3px;
	margin-bottom: 3px;
}

.photo-right{
	float: right;
	margin-left: 3px;
	margin-bottom: 3px;
}

/*=======================================================*/
/*== Grids ==============================================*/
/*=======================================================*/

@media screen {

.hwrapper{
	min-width: 960px;
}

body.grid-layout-720 .hwrapper{
	min-width: 720px;
}

.grids-12, .grids-24{
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}

.grids-12{ width: 720px }
.grids-24{ width: 960px }

.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8,
.grid-9, .grid-10, .grid-11, .grid-12, .grid-13, .grid-14, .grid-15, .grid-16,
.grid-17, .grid-18, .grid-19, .grid-20, .grid-21, .grid-22, .grid-23, .grid-24{
	float: left;
}

.grids-12 .grid-1 { width:  60px; }
.grids-12 .grid-2 { width: 120px; }
.grids-12 .grid-3 { width: 180px; }
.grids-12 .grid-4 { width: 240px; }
.grids-12 .grid-5 { width: 300px; }
.grids-12 .grid-6 { width: 360px; }
.grids-12 .grid-7 { width: 420px; }
.grids-12 .grid-8 { width: 480px; }
.grids-12 .grid-9 { width: 540px; }
.grids-12 .grid-10{ width: 600px; }
.grids-12 .grid-11{ width: 660px; }
.grids-12 .grid-12{ width: 720px; }

.grids-24 .grid-1 { width:  40px; }
.grids-24 .grid-2 { width:  80px; }
.grids-24 .grid-3 { width: 120px; }
.grids-24 .grid-4 { width: 160px; }
.grids-24 .grid-5 { width: 200px; }
.grids-24 .grid-6 { width: 240px; }
.grids-24 .grid-7 { width: 280px; }
.grids-24 .grid-8 { width: 320px; }
.grids-24 .grid-9 { width: 360px; }
.grids-24 .grid-10{ width: 400px; }
.grids-24 .grid-11{ width: 440px; }
.grids-24 .grid-12{ width: 480px; }
.grids-24 .grid-13{ width: 520px; }
.grids-24 .grid-14{ width: 560px; }
.grids-24 .grid-15{ width: 600px; }
.grids-24 .grid-16{ width: 640px; }
.grids-24 .grid-17{ width: 680px; }
.grids-24 .grid-18{ width: 720px; }
.grids-24 .grid-19{ width: 760px; }
.grids-24 .grid-20{ width: 800px; }
.grids-24 .grid-21{ width: 840px; }
.grids-24 .grid-22{ width: 880px; }
.grids-24 .grid-23{ width: 920px; }
.grids-24 .grid-24{ width: 960px; }

}

.first{
	margin-left: 0 !important;
}

.last{
	margin-right: 0 !important;
}

.gutter{
	margin-left: 20px;
	margin-right: 20px;
}

.gutter-left{
	margin-left: 20px;
}

.gutter-right{
	margin-right: 20px;
}

/*=======================================================*/
/*== Header =============================================*/
/*=======================================================*/

.skip{
	display: none;
}

.hwrapper{
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAYAAADXnxW3AAAAHElEQVQY02NhYGCwYQESv+HEH1QuEcR/EMEAJgAn3g1Btm9kDwAAAABJRU5ErkJggg%3D%3D") repeat-x bottom center;
	margin-bottom: -10px;
	padding-bottom: 16px;
}

#top-strip{
	background: #4b4840;
}

#top-strip ul{
	font-size: 0;
	list-style: none;
	margin: 0;
	padding: 4px 0;
}

#top-strip ul > li > a{
	border-left: 1px solid #aaa;
	color: #fff;
	display: block;
	font-size: 11px;
	font-weight: bold;
	padding: 0 6px;
	text-decoration: none;
}

#top-strip ul > li.idx > a{
	border-left: 0;
	padding-left: 0;
}

#top-strip ul > li > a:hover{
	text-decoration: underline;
}

#top-strip ul.left > li:first-child > a{
	border-left: 0;
	padding-left: 0;
}

#top-strip ul.right > li:last-child > a{
	padding-right: 0;
}

/*=======================================================*/

#ribbon{
	background-color: #cb1a2a;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABNCAYAAABnjw6eAAAAM0lEQVQoz2NhAAIWFIIRlUCIMeESw6YNmwE4TWEk0jwGVAOINYUIRxLhVfwEmh0MxHoVAB2fAXr5/+fTAAAAAElFTkSuQmCC");
	background-image: -moz-linear-gradient(transparent, rgba(0, 0, 0, 0.28));
	background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.28)));
	background-position: bottom center;
	background-repeat: repeat-x;
	border-top: 1px solid #888;
	border-bottom: 6px solid #dfbd00;
}

#ribbon a{
	outline: none;
}

#ribbon h1{
	margin-top: 12px;
	margin-bottom: 6px;
}

#ribbon h1 > a{
	display: block;
	height: 32px;
	overflow: hidden;
	width: 390px;
}

#ribbon h2{
	color: #fff;
	font-family: lucida grande, lucida sans unicode, arial, sans-serif;
	font-weight: normal;
	margin-top: 0;
	margin-bottom: 9px;
	text-shadow: 0 1px 3px #333;
}

#ribbon h2 > a{
	color: #fff;
	text-decoration: none;
}

#ribbon h2 > a:hover{
	text-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 1px 3px #333;
}

#ribbon h2.site-tagline{
	text-align: right;
}

#ribbon form{
	font-size: 0;
	margin-top: 17px;
	margin-bottom: 0;
	text-align: right;
}

#ribbon form > input[name="q"]{
	background: #97141f;
	background: rgba(0, 0, 0, 0.18);
	border: 2px solid #dfbd00;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.3) inset;
	-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3) inset;
	-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3) inset;
	color: #fff;
	height: 16px;
	line-height: 16px;
	margin: 0;
	padding: 1px;
	width: 180px;
}

#ribbon form > input[name="q"]::-webkit-input-placeholder{
	color: #fff;
}

#ribbon form > input[type="submit"]{
	background: #dfbd00 url(../img/sprite.png?1.0) no-repeat 0 -65px;
	border: 0;
	cursor: pointer;
	height: 22px;
	margin: 0 0 0 -1px;
	padding: 0;
	vertical-align: bottom;
	width: 22px;
}

#ribbon form > a{
	border-right: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	display: inline-block;
	font-size: 11px;
	margin-left: 6px;
	margin-top: 2px;
	padding-right: 6px;
}

#ribbon form > a:last-child{
	border-right: 0;
	padding-right: 0;
}

/*=======================================================*/
/*== Content ============================================*/
/*=======================================================*/

#container{
	background: #fff;
	border: 1px solid #c8c2a7;
	margin: auto;
	width: 960px;
}

#titlebar h1{
	border-bottom: 1px solid #c8c2a7;
	font-size: 22px;
	font-weight: normal;
	margin: 0;
	padding: 6px 10px;
}

#titlebar h1 > a{
	color: #444;
}

#titlebar h1 > a:hover{
	color: #666;
	text-decoration: none;
}

/*=======================================================*/

#content{
	margin-top: 12px;
	margin-bottom: 12px;
	min-height: 480px;
}

#content h1{
	color: #222;
	padding-left: 5 px;
}

#content h1 > a{
	color: #666;
	text-decoration: none;
}

#content h1 > a:hover{
	border-bottom: 1px solid #666;
	color: #333;
}

#content .figure{
	border: 1px solid #c8c2a7;
	box-shadow: 0 0 4px #ddd;
	-moz-box-shadow: 0 0 4px #ddd;
	-webkit-box-shadow: 0 0 4px #ddd;
	margin: 0 0 6px;
	overflow: hidden;
}

#content .figure.no-border{
	border: 0;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

#content .figure.left, #content .figure.right, #content .figure.anchor{
	margin-bottom: 12px;
}

#content .figure.left{
	float: left;
	margin-right: 12px;
}

#content .figure.right{
	float: right;
	margin-left: 12px;
}

#content .figure img{
	float: left;
	padding: 3px;
}

#content .figure > img + img, #content .figure > a + a > img{
	padding-left: 0;
}

#content .figure > .caption{
	background: #f2f2f2;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	clear: left;
	font-size: 11px;
	margin: 3px;
	padding: 2px;
}

#content .figure.anchor{
	border-right: 0;
	border-top: 0;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	float: right;
	margin-left: 12px;
	margin-right: -20px;
	margin-top: -48px;
}

#content .figure.anchor > .caption{
	text-align: center;
}

/*=======================================================*/
/*== Sidebars ===========================================*/
/*=======================================================*/

#left-sidebar{
	margin-bottom: 100px;
}

#left-sidebar ul.navigation, #left-sidebar ul.navigation ul{
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

#left-sidebar ul.navigation ul{
	margin-bottom: 0;
}

#left-sidebar ul.navigation span,
#left-sidebar ul.navigation a{
	border-bottom: 1px solid #c8c2a7;
	color: #222;
	display: block;
	padding: 2px 10px;
}

#left-sidebar ul.navigation a{
	text-decoration: none;
	-moz-transition: background-color 0.2s;
	-webkit-transition: background-color 0.2s;
}

#left-sidebar ul.navigation li.selected > a{
	color: #fff;
	font-weight: bold;
}

/* First level */

#left-sidebar ul.navigation > li > span,
#left-sidebar ul.navigation > li.selected > a{
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAZCAYAAADwkER/AAAAIElEQVQY02NgYGBgZIIRTKgEM5yFTRZNHSMqC5ssumIAF1EAYnirD50AAAAASUVORK5CYII%3D");
	background-image: -moz-linear-gradient(transparent, rgba(0, 0, 0, 0.2));
	background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.2)));
	background-position: bottom center;
}

#left-sidebar ul.navigation > li > span{
	background-color: #666;
	border-color: #555;
	color: #fff;
	cursor: default;
	font-weight: bold;
}

#left-sidebar ul.navigation > li > a:hover{
	background-color: #d8d5cb;
}

#left-sidebar ul.navigation > li.selected > a{
	background-color: #cb1a2a;
	border-color: #930e1c;
}

/* Second level */

#left-sidebar ul.navigation > li > ul > li > a{
	background-color: #e7e7e7;
	background-color: rgba(0, 0, 0, 0.1);
	border-color: #c3c3c3;
	padding-left: 20px;
}

#left-sidebar ul.navigation > li > ul > li > a:hover{
	background-color: #c3c3c3;
}

#left-sidebar ul.navigation > li > ul > li.selected > a{
	background-color: #999;
	border-color: #888;
}

/* Third level */

#left-sidebar ul.navigation > li > ul > li > ul > li > a{
	background-color: #e5e0ce;
	background-color: rgba(204, 193, 161, 0.5);
	padding-left: 30px;
}

#left-sidebar ul.navigation > li > ul > li > ul > li > a:hover{
	background-color: #d6cfb8;
}

#left-sidebar ul.navigation > li > ul > li > ul > li.selected > a{
	background-color: #b2aa94;
	border-color: #a59e8b;
}

/*==============*/

#left-sidebar ul.navigation{
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAABCAYAAADq6085AAAAHklEQVQY02NkAILb144zAyluIOaCYm4kPojmhIkBAHLiAuZ155StAAAAAElFTkSuQmCC") repeat-y right center;
}

#left-sidebar ul.navigation:after{
	background: url(../img/sprite.png?1.0) no-repeat bottom right;
	content: '';
	display: block;
	height: 150px;
	margin-bottom: -150px;
}

#left-sidebar .sidebar-item{
	margin: 12px 6px;
}

#right-sidebar .sidebar-item{
	margin: 12px;
	margin-left: 0;
}

.sidebar .sidebar-item h3.title{
	border-bottom: 2px solid #dfbd00;
}

.sidebar .sidebar-item h4.title{
	background: #f5e39a;
	border-top: 2px solid #dfbd00;
	margin-bottom: 4px;
	padding: 1px 4px;
}

.sidebar .figure > .caption{
	font-size: 11px;
}

#right-sidebar ul{
	margin-bottom: 3px;
}

/*=======================================================*/
/*== Footer =============================================*/
/*=======================================================*/

.fwrapper{
	border-top: 1px dashed #9d9d9d;
	margin-top: 6px;
}

#footer{
	background-color: #cec9bb;
	margin-top: 6px;
	padding-bottom: 12px;
	padding-top: 12px;
}

#footer a.nameplate{
	border-right: 1px dashed #939086;
	display: block;
	height: 33px;
	margin: 0 -9px 0 0;
	padding-left: 9px;
	padding-right: 9px;
	overflow: hidden;
	position: relative;
	width: 102px;
}

#footer a.nameplate > img{
	left: -9px;
	position: relative;
	top: -32px;
}

#footer p{
	font-size: 11px;
	font-weight: bold;
	line-height: 16px;
	margin: 0 9px;
}

#footer p:first-child{
	margin-bottom: 1px;
}

/*=======================================================*/
/*== Print ==============================================*/
/*=======================================================*/

@media print {

.hwrapper, .fwrapper, #left-sidebar, #right-sidebar{
	display: none;
}

#container{
	background: none;
	padding-top: 0;
}

a{
	color: blue;
}

#container, #container > .grids-24, #content{
	border: 0;
	margin: 0;
	width: auto;
}

#content .figure{
	border: 0;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

#content .figure img, #content .figure > .caption{
	margin: 0;
	padding: 0;
	text-align: left;
}

}
