body {
background-color:#eee;
font-family:"Century Gothic",sans-serif,ariel;
margin:0px;
padding:0px;
position:absolute;
top:0px;
left:0px;
height:auto !important; /* real browsers */
width:100%;
min-height:100%; /* real browsers */
}

#container {
position:absolute;
top:0px;
left:0px;
height:auto !important; /* real browsers */
width:100%;
min-width:655px; /* min width to display open source solid modeling */
border:0px;
margin:0px;
padding:0px;
overflow:hidden;
}

a {
color:#69c;/*ffc757; */
text-decoration:none;
}

a:hover {
text-decoration:underline;
}

a.active {
color:#69c !important; /*ffc757 !important; */
font-weight:bold;
}

/*
Begin Header
*/

#header {
background:url('/style/header-back.gif');
height:89px;
left:0px;
top:0px;
border:1px solid #111;
display:block;
}

#header-left {
background:url('/style/header-left.gif');
position:absolute;
top:0px;
left:0px;
width:433px;
height:89px;
}

#header-right {
background:url('/style/header-right.gif');
background-repeat:no-repeat;
opacity:.75;
position:absolute;
top:1px;
right:1px;
width:394px;
height:89px;
}

#header-text {
background:url('/style/header-text.png');
position:absolute;
top:15px;
left:10px;
width:645px;
height:61px;
}

#header-xyz {
background:url('/style/header-xyz.gif');
position:absolute;
top:3px;
left:421px;
width:119px;
height:86px;
}

#header-line {
position:absolute;
height:0px;
width:100%;
border-top:1px solid #111;
top:0px;
left:0px;
line-height:0px;
}

#header-navigation {
position:absolute;
top:64px;
right:10px;
text-align:center;
white-space:nowrap;
padding:0px;
}

.navitem {
font-size:small;
font-weight:bold;
text-align:center;
color: #111;
padding-left:2px;
padding-right:2px;
margin:0px;
}

a.navitem {
color: #fff;
text-decoration:none;
}

a.navitem:hover {
color:#9cf;
/* text-shadow: 0em 0em 0.5em #eee; */
text-decoration:none;
}

/* show new as red */
.new { color: #ff0000; }

#header-search {
display:none;
position:absolute;
top:93px;
left:1px;
}

.search-form2 {
background-color:#6cf;
color:#eee;
padding-top:1px;
padding-bottom:0px;
padding-left:10px;
padding-right:10px;
white-space:nowrap;
font-size:small;
}

form {
margin:0pt;
padding:0pt;
}

/* center section of the page with the main content
 * (does not include right panel)
 */

#center {
background-color:#eee;
margin:10px;
}

#center .comment {
font-size:.8em;
font-style: italic;
}

.front li.comment-add {
display:none;
}
.not-front li.comment-add {
white-space:nowrap;
margin:0em;
padding:0em;
}
.node-readmore a {
font-size:small;
}

#center label {
display:block;
font-weight: bold;
align:center
}

#center ul.inline {
display:inline-block;
text-align:center;
width:10em;
background:#fff;
border:1px solid #ddd;
padding:.1em;
}

#center .links {
margin:1em;
font-size:small;
/* font-style: italic; */
/* border:1px solid #040; */
}

#center h1, .block h1, .block h2 {
width:100%;
font-size: 1.5em;
padding: 0.2em;
}

.search-submit {
background-color:#fbd079;
border:0px;
font-weight:bold;
padding-left:0px;
padding-right:0px;
}

/* top search tab */
.sb1, .sb2, .sb3, .sb4, .sb5, .sb6 {
display:block; overflow:hidden; font-size:0; border-right:2px solid #000; background:#6cf; height:1px;
}
.sb1 {margin:0 6px 0 0; background:#000;}
.sb2 {margin:0 4px 0 0;}
.sb3 {margin:0 2px 0 0;}
.sb4 {margin:0 1px 0 0;}
.sb5 {margin:0 0px 0 0;}
.sb6 {margin:0 0px 0 0;}
.sboxcontent {
display:block;
background:#6cf;
border-width:0 1px;
}


/*
End Header
*/


h1, h2, h3, h4, h5, h6 {
color:#111;
background:none;
font-weight:normal;
padding-top:.2em;
padding-bottom:.2em;
}
h1 .editsection { font-size: 53%; }
h2 {
margin: 0em 0em 0em 0em;
}
h2 .editsection { font-size: 67%; text-decoration:none;}
h3, h4, h5, h6 {
border-bottom: none;
font-weight: bold;
}
h3 { font-size: 132%; }
h3 .editsection { font-size: 76%; font-weight: normal; }
h4 { font-size: 116%; }
h4 .editsection { font-size: 86%; font-weight: normal; }
h5 { font-size: 100%; }
h5 .editsection { font-weight: normal; }
h6 { font-size: 80%;  }
h6 .editsection { font-size: 125%; font-weight: normal; }

/*
Begin Content
*/

h1#title {
font-size:200%;
background:#eee;
text-align:center;
border:1px;
padding:0px;
margin:1em 0em;
}

#tabs {
text-align:right;
font-size:small;
margin: 0em;
padding:0em;
}

ul.primary {
/*border-bottom:1px solid #bbb; */
/*border-collapse:collapse; */
border: 2px solid #bbb;
background: #bbb;
height:auto;
line-height:normal;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0px;
padding:0pt 0pt 0pt 1em;
white-space:nowrap;
text-align:left;
}

ul.primary li {
display:inline;
}

ul.primary li a {
background-color:#222;
color:#fc6;
height:auto;
margin-right:0.5em;
padding:0.5em 0.5em 0.5em 0.5em;
text-decoration:none;
}

ul.primary li.active a, ul.primary li.selected a {
color:#eee !important;
border: 4px solid #9c9;
}

ul.primary li a:hover {
background-color:#555;
color:#eee;
}

ul.primary li.active a:hover, ul.primary li.selected a:hover {
color:#eee !important;
background-color:#111;
border: 4px solid #9c9;
}

.content ul {
margin: 0em 0em 1em 1em;
}

.content p {
margin:0.5em 1em 0px 1em;
/* border:10px #400 solid; */
}

#content table, #catlinks {
margin:1em 1em 1em 0;
border:1px #ccc solid;
border-collapse:collapse;
}

#content th, #content td, #catlinks {
border:1px #ccc solid;
padding:0.2em;
color:#111;
}

.catlinks {
margin:0;
padding:5px;
}

#node-form, fieldset {
width:600px !important;
}

.node-form .standard {
clear:none;
}

.node h2 {
margin:1em 0em 0em 0em;
background-color: #ddd;
}

.submitted {
font-size:xx-small;
margin:0em 0.5em;
}

code {
background-color: #333;
color: #cfc;
}
pre {
padding: 1em;
border: 1px dashed #9cf;
color: #cfc;
background-color: #333;
line-height: 1.1em;
}

/*
End Content
*/

/*
Begin sidebar
*/

#sidebar {
float:right;
width:14em;
margin:0px;
padding-top:10px;
padding-left:10px;
padding-right:10px;
padding-bottom:0px;
font-size:small;
text-align:center;
}
#sidebar ul {
color: #cfc;
}
#sidebar a {
color: #fc6;
}

#header-download {
display:none;
margin:0px;
padding:0px;
}

.block {
margin:0px;
border:0px;
padding:0px;
/* background-color:#f00; */
}

/* Corners on blocks and menu */

.rb1 {
display:block;
overflow:hidden;
font-size:0px;
height:0px; /*1px;*/
margin:0px;
padding:0px;
border:2px 0px;
background:#eee;
border-left:15px solid #eee;
border-right:15px solid #eee;
}

.rb2 {
display:block;
overflow:hidden;
font-size:0px;
height:0px; /*1px;*/
margin:0px;
padding:0px;
border:2px 0px;
background:#eee;
border-left:10px solid #eee;
border-right:10px solid #eee;
}

.rb3 {
display:block;
overflow:hidden;
font-size:0px;
height:0px; /*1px;*/
margin:0px;
padding:0px;
border:2px 0px;
background:#eee;
border-left:5px solid #eee;
border-right:5px solid #eee;
}

.rb4 {
display:block;
overflow:hidden;
font-size:0px;
height:1px;
margin:0px;
padding:0px;
border:2px 0px;
background:#eee;
border-left:3px solid #eee;
border-right:3px solid #eee;
}

.rb5 {
display:block;
overflow:hidden;
font-size:0px;
height:1px;
margin:0px;
padding:0px;
border:2px 0px;
background:#eee;
border-left:2px solid #eee;
border-right:2px solid #eee;
}

.rb6 {
display:block;
overflow:hidden;
font-size:0px;
height:1px;
margin:0px;
padding:0px;
border:2px 0px;
background:#eee;
border-width:0px 5px;
border-left:1px solid #eee;
border-right:1px solid #eee;
}

.rb7 {
display:block
overflow:hidden;
font-size:0px;
height:1px;
margin:0px;
padding:0px;
border:2px 0px;
background:#eee;
border-left:1px solid #eee;
border-right:1px solid #eee;
}

.rboxcontent {
display:block;
overflow:hidden;
background:#696;
margin:0px 3px;
border:2px solid #363;
font-weight:normal;
text-align:left;
padding:5px 10px;
}

.rboxcontent h2 {
color:#eee;
text-align:center;
display:inline-block;
}
.rboxcontent ul {
padding-left:2em;
margin: 0em 0em 0em 0em;
}
.menu a {
color:#fc6;
}

/* poll vote */
.bar {
height:1em;
background-color:#cff;
}

.foreground {
height:1em;
background-color:#69c;
}


/* top block, BRL-CAD description box */

#block-block-3 {
font-size: 120%;
}

#block-block-3 .rboxcontent {
background:#69c;
color:#000;
font-style:italic;
border:2px solid #000;
}
#block-block-3 .rb1, #block-block-3 .rb2, #block-block-3 .rb3 {
display:none;
}
#block-block-3 .rb4, #block-block-3 .rb5, #block-block-3 .rb6, #block-block-3 .rb7 {
display:none;
}
#block-block-3 h2 {
display:none; /* suppress the stupid title */
}

#block-block-4 .rboxcontent {
background-color: transparent;
border: 0px;
color: #136;
display: block;
font-family: 'Century Gothic', sans-serif, ariel;
font-size: 10px;
font-style: italic;
left: auto;
text-align: center;
top: auto;
margin: 0;
padding: 0;
}
#block-block-4 .rb1, #block-block-4 .rb2, #block-block-4 .rb3 {
display:none;
}
#block-block-4 .rb4, #block-block-4 .rb5, #block-block-4 .rb6, #block-block-4 .rb7 {
display:none;
}
#block-block-4 h2 {
display:none; /* suppress the stupid title */
}
#block-block-4 p {
margin-bottom: 	0px;
margin-left: 4px;
margin-right: 4px;
margin-top: 0px;
}

/*
End sidebar
*/

/*
main content
*/
#block-system-main .rb1, #block-system-main .rb2, #block-system-main .rb3 {
display:none;
}
#block-system-main .rb4, #block-system-main .rb5, #block-system-main .rb6, #block-system-main .rb7 {
display:none;
}
#block-system-main .rboxcontent {
background:transparent;
border:0px;
margin:0;
padding:0;
}
#block-system-main .rboxcontent h2 {
text-align:left;
}

/* make the contact form not be so wide */
#contact-site-form {
display:table;
width:40em;
}

/*
end main content
*/


#logo {
background:url('/style/BRL-CAD_128x106.png');
background-repeat:no-repeat;
background-position:center;
min-height:128px;
min-width:106px;
}

/*
Begin footer
*/

#footer {
/*border-top:1px solid #888;*/
text-align:center;
display:block;
}

#footer-line-top {
border-top:1px solid #111;
border-bottom:1px solid #696;
background-color:#cfc;
height:3px;
top:0px;
left:0px;
}

#footer-search {
/*float:right;
position:relative;
*/
display:block;
padding:0em;
margin: 0em 10em;
background-color:#eee;
}

.gsc-control-cse {
background-color:#eee;
border:0px;
}

tbody {
border:0px;
}

/*
#footer-search .search-form {
border-right:1px solid #111;
}
*/

#footer-quotes {
margin:5px;
font-size:x-small;
color:#888;
}

#footer .author {
font-style:italic;
}

#footer-message {
/* color:#123; */
font-size:x-small;
margin:4px;
margin-top:0px;
font-style:italic;
color:#136;
}

/* bottom search tab */
.bb1, .bb2, .bb3, .bb4, .bb5, .bb6 {display:block; overflow:hidden; font-size:0; border-left:2px solid #cfc; background:#6cf; height:1px; }
.bb1 {margin:0 0 0 6px; background:#696;}
.bb2 {margin:0 0 0 4px;}
.bb3 {margin:0 0 0 2px;}
.bb4 {margin:0 0 0 1px;}
.bb5 {margin:0 0 0 0px;}
.bb6 {margin:0 0 0 0px;}

/* XXX turn it off */
.bb1, .bb2, .bb3, .bb4, .bb5, .bb6 {
display:none;
}
.sboxcontent {
background:#6cf;
}
.search-submit {
background-color:#6cf;
}

/*
End footer
*/

/*
wiki-specific tweaks
*/

/* alignment of images */

div.floatleft {
        float:left;
        position:relative;
        margin:0 0 .5em .5em;
        border:0;
}

div.floatright {
        float:right;
        position:relative;
        margin:0 0 .5em .5em;
        border:0;
}

/* turn off the main page header in mediawiki */
.page-Main_page #container #center h1#title {
visibility:hidden;
margin: 0em;
padding: 0em;
}
.front #container #center h1#title {
visibility:hidden;
margin: 0em;
padding: 2px;
}


/* gallery are boxes around images in mediawiki */

table.gallery {
	border: 1px solid #ccc;
	margin: 2px;
	padding: 2px;
	background-color: black;
}

table.gallery tr {
	vertical-align: top;
}

table.gallery td {
	vertical-align: top;
	background-color: #eee;
	border: solid 2px black;
}
/* Keep this temporarily so that cached pages will display right */
table.gallery td.galleryheader {
    text-align: center;
	font-weight: bold;
}
table.gallery caption {
	font-weight: bold;
}

div.gallerybox {
	margin: 2px;
}

div.gallerybox div.thumb {
	text-align: center;
/*	border: 1px solid #ccc; */
	margin: 2px;
}

div.gallerytext {
	overflow: hidden;
	font-size: 94%;
	padding: 2px 4px;
}

/* mediawiki table of content boxes */

#toc,
.toc {
	display:inline-block;
}

#toc,
.toc,
.mw-warning {
	border: 2px solid #bbb;
	background-color: #ddd;
	padding: 0.5em;
	font-size: 95%;
}
#mw-content-text {
padding: 0.5em;
}
#toc h2,
.toc h2 {
	border: none;
	padding: 0;
	font-size: 100%;
	font-weight: bold;
}
#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
	text-align: center;
}
#toc ul,
.toc ul {
	list-style-type: none;
	list-style-image: none;
	margin-left: 0;
	padding-left: 0;
	text-align: left;
}
#toc ul ul,
.toc ul ul {
	margin: 0 0 0 2em;
}
#toc .toctoggle,
.toc .toctoggle {
	font-size: 94%;
}

/* thumbnails */

div.thumb {
	margin-bottom: .5em;
	border-style: solid;
	border-color: #eee;
	width: auto;
}
div.thumbinner {
	border: 1px solid #ccc;
	padding: 3px !important;
	background-color: #bbb;
	font-size: 94%;
	text-align: center;
	overflow: hidden;
}

html .thumbimage {
	border: 1px solid #666;
}
html .thumbcaption {
	border: none;
	text-align: left;
	line-height: 1.4em;
	padding: 3px !important;
	font-size: 94%;
}

div.tright {
	clear: right;
	float: right;
	border-width: .5em 0 .8em 1.4em;
}
div.tleft {
	float: left;
	clear: left;
	margin-right: .5em;
	border-width: .5em 1.4em .8em 0;
}
