/**
 * Layout section.
 * Should be split out into its own css file in a sane framework...
 */
 
* {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	line-height: 1.5em;
}

#mainframe {
	position: relative;
	max-width: 60em;
	min-width: 690px;
	margin-left: auto;
	margin-right: auto;
	padding: 20px;
}

#leftframe {
	width: 770px;
	float: left;
}

#header {
	position: relative;
	height: 110px;
	background-image: url("images/header-bg.png");
}
#header-left {
	float: left;
	width: 500px;
	height: 110px;
	display: block;
}
#header-right {
	float: right;
	width: 40px;
	height: 110px;
	background-image: url("images/header-right.png");
}

#tab-bar {
	position: absolute;
	top: 110px;
	right: 65px;
	min-width: 600px;
	height: 32px;
	z-index: 99;
}

#tab-bar div, #tab-bar a {
	font-size: 14px;
	font-weight: bold;
	font-style: italic;
	padding-top: 8px;
	height: 24px;
	float: left;
}

.tab  {
	background-image: url("images/tab-back.png");
	min-width: 80px;
	text-align: center;
	color: #4c8cc1;
	display: block;
}
.tab-active {
	background-image: url("images/tab-front.png");
	min-width: 80px;
	text-align: center;
	color: #000;
	display: block;
}
.x-tab {
	background-image: url("images/tab-cross-back.png");
	width: 32px;
}
.x-tab-front-back {
	background-image: url("images/tab-cross-front-back.png");
	width: 32px;
}
.x-tab-back-front {
	background-image: url("images/tab-cross-back-front.png");
	width: 32px;
}
.x-tab-left-front {
	background-image: url("images/tab-left-front.png");
	width: 32px;
}
.x-tab-right-front {
	background-image: url("images/tab-right-front.png");
	width: 32px;
}
.x-tab-left-back {
	background-image: url("images/tab-left-back.png");
	width: 32px;
}
.x-tab-right-back {
	background-image: url("images/tab-right-back.png");
	width: 32px;
}

#box {
	clear: both;
}

/* Visual styling of the content box. */
#box-head {
	height: 30px;
	background-image: url("images/box-top.png");
}
#box-head-right {
	width: 100%;
	height: 30px;
	background-repeat: no-repeat;
	background-position: right;
	background-image: url("images/box-topright.png");
}
#box-head-left {
	width: 60px;
	height: 30px;
	background-image: url("images/box-topleft.png");
}

#box-foot {
	height: 20px;
	background-image: url("images/box-bottom.png");
}
#box-foot-right {
	width: 100%;
	height: 20px;
	background-repeat: no-repeat;
	background-position: right;
	background-image: url("images/box-bottomright.png");
}
#box-foot-left {
	width: 60px;
	height: 20px;
	background-image: url("images/box-bottomleft.png");
}

#box-content {
	background-color: #fff;
}
#box-content-right {
	width: 100%;
	background-repeat: repeat-y;
	background-position: right;
	background-image: url("images/box-right.png");
}
#box-content-left {
	width: 100%;
	background-repeat: repeat-y;
	background-position: left;
	background-image: url("images/box-left.png");
}

/* Alignment for content. */
#content {
	padding: 0 60px 20px 60px;
}
#content p, #content li, #content a, #content h4, #content h5, #content h6, #content h7, #content h8 {
	/*font-family: serif;*/
}

#footer {
	height: 25px;
	background-image: url("images/footer.png");
}
#footer-right {
	height: 25px;
	width: 100%;
	background-repeat: repeat-y;
	background-position: right;
	background-image: url("images/footer-right.png");
}
#footer-left {
	height: 25px;
	width: 100%;
	background-repeat: repeat-y;
	background-position: left;
	background-image: url("images/footer-left.png");
}

#box-footer {
	height: 25px;
	background-color: #4c8cc1;
}
#box-footer-right {
	height: 25px;
	width: 100%;
	background-repeat: repeat-y;
	background-position: right;
	background-image: url("images/footer-box-right.png");
}
#box-footer-left {
	height: 25px;
	width: 100%;
	background-repeat: repeat-y;
	background-position: left;
	background-image: url("images/footer-box-left.png");
}

#box-footer-alignment {
	padding-top: 10px;
}


/* Site footnotes. */
.credits {
        text-align: center;
        color: #cccccc;
}
.credits p {
	padding: 0;
}
.credits a {
        color: #ffffff;
}


/* Homepage visual styling. */
#home-box {
        padding-top: 30px;
        max-width: 700px;
        margin: 0 auto;
}
#home-quote {
	font-size: 32px;
	font-weight: bold;
	color: #666;
	margin: 30px;
	text-align: center;
	/*font-family: serif;*/
}
#home-cubic {
        padding: 20px 30px 0px 30px;
        background-color: #fafafa;
        border: 1px solid #ddd;
        -moz-border-radius: 17px;
        -webkit-border-radius: 17px;
        border-radius: 17px;
}
#home-cubic p {
        padding: 0px;
        padding-bottom: 20px;
        color: #000000;
        font-size: 1.2em;
}
#home-lightbulb {
	position: relative;
        padding: 20px 30px 10px 30px;
        margin: 50px 2px 0 2px;
        background-color: #f3f7fb;
        background-position: right;
        background-repeat: no-repeat;
        background-image: url("images/home-lightbulb.png");
        border: 1px solid #a3c8f0;
        -moz-border-radius: 17px;
        -webkit-border-radius: 17px;
        border-radius: 17px;
}
#home-lightbulb h2 {
	border: none;
	position: absolute;
	top: -13px;
	background-color: #a3c8f0;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	font-size: 16px;
	color: #fff;
	padding: 3px 10px;
	margin-left: 30px;
	font-weight: bold;
}
#home-lightbulb li {
        line-height: 1.7em;
}

.projectsimage {
        float: right;
        margin: 15px;
        border: 1px solid #000;
}


 

 
 
/**
 * Style section.
 */

body {
	background-color: #455a68;
}

a {
        font-weight: bold;
        color: #4c8cc1;
        text-decoration: none;
}

a:hover {
        text-decoration: underline;
}

img {
        border: 0;
}

h2 {
	font-weight: bold;
	font-size: 120%;
	border-bottom: 2px solid #444;
	color: #333;
	
	padding-top: 30px;
	margin: 0 10px 0 10px;
}

h3 {
	font-weight: bold;
	font-size: 90%;
	background-color: #709ac4;
	color: #fff;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 3px;
	padding-left: 10px; 
	
	margin-top: 30px;
}

h4, h5, h6, h7, h8 {
	font-weight: bold;
	font-size: 90%;
	padding: 3px;
	padding-left: 10px; 
	
	margin-top: 30px;
}

pre {
	margin: 15px 10px 0 30px;
	line-height: 1.2em;
	font-family: monospace;
}

p {
	padding: 15px 10px 0 10px;
}

ul {
        margin: 10px 30px;
}
ol {
        margin: 10px 30px;
}

li {
	margin-top: 0.2em;
}

.breadcrumb
{
	font-size: 80%;
}

/* Odd styling for the beagleboard article. */
.image
{
	text-align: center;
	background-color: #eee;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	float: right;
	max-width: 420px;
	margin: 15px;
}
.thumbnail
{
	margin: 10px;
}
.image p
{
	text-align: left;
	margin-top: 0;
	margin-bottom: 20px;
	padding: 0 20px;
	font-style: italic;
	font-size: 80%;
}

