/*---TITLE: Main Screen styles | AUTHOR: Eleanor TenBarge
---*/

/* RESET! */
html, body, div, span, applet, object, iframe, header, section, article, footer, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
header, section, article, footer { display: block }
/* --------------------------------------------------------------------------
=global
--------------------------------------------------------------------------- */
body {
    font: 16px optima, georgia, sans-serif;
    line-height: 24px;
    color: #444751;
    background: #fff;
}
.container {
    max-width: 820px;
    margin: 0 auto;
}

h2 {
    margin: 0 10px;
    margin-bottom: 10px;
    clear: both;
    font: 28px optima, georgia, times new roman, sans-serif;
    color: #787873;
}
h3 {
    margin: 10px 10px 20px 10px;
    font: 200 20px/1.4 optima, georgia, times new roman, sans-serif;
}
h4 { margin: 10px }
#content ol, #content ul { margin: 10px }
p {
    margin: 10px;
    font-size: 16px;
    line-height: 1.5;
    font-family: optima, georgia, times new roman, sans-serif;
}
.clear { clear: both }
hr {
    border : 0;
    height : 4px;
    background : url(../img/hr.gif) 50% 0 no-repeat;
    margin : 10px;
}
/* --------------------------------------------------------------------------
=header
--------------------------------------------------------------------------- */
header {
    width: 100%;
    float: left;
    background: url("../img/bg.png");
}
.main-header { }
h1 {
    margin: 20px 10px 0 10px;
    float: left;
    font: 200 48px futura, sans-serif;
    text-transform: uppercase;
}
h1 a {
    text-decoration: none;
    color: #555;
    margin-bottom: -30px;
}
h1 .image {
    background: url("../img/title2.png");
    background-repeat: no-repeat;
    display: block;
    width: 660px;
    height: 48px;
}
h1 a .txt {
    display: none;
    font: 200 22px futura, sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

.tagline {
    display: block;
    float: right;
    clear: right;
    font-style: italic;
    color: #787873;
}
.contact {
    background: url("../img/contact-link.png");
    float: right;
    width: 81px;
    height: 37px;
    margin: 50px 10px 0 0;
}
.contact span { display: none }
/* --------------------------------------------------------------------------
=navigation
--------------------------------------------------------------------------- */
nav {
    float: right;
    width: 100%;
    border-bottom: 1px solid #222;
    background: url("../img/nav_bg.png");
}
nav ul { padding: 0 0 0 10px }
nav ul li {
    display: block;
    float: left;
    padding: 10px;
    margin: 10px 0;
}
nav ul li:first-child { padding-left: 0 }
nav ul li a {
    display: inline;
    padding: 5px 10px;
    border: 1px solid #222;
    -moz-border-radius: 5px; /* FF1+ */
    -webkit-border-radius: 5px; /* Saf3-4, iOS 1+, Android 1.5+ */
    border-radius: 5px; /* Opera 10.5, IE9, Saf5, Chrome, FF4 */
    color: #999;
    text-decoration: none;
    font-size: 16px;
    background-color: #222;
}
nav ul li a:hover {
    border: 1px solid #292929;
    color: #b3b6bf;
    background-color: #292929;
}
nav ul li a:visited { }
#home .home, #book .book, #author .author, #research .research, #exercises .exercises, #talks .talks {
    border: 1px solid #444;
    background-color: #444;
    color: #f1f1f1;
    text-shadow: none;
}
strong {
    font-family: optima;
    font-weight: 700;
}
/* --------------------------------------------------------------------------
=content
--------------------------------------------------------------------------- */
#content {
    width: 100%;
    float: left;
    margin: 0;
}
#content header h3 { margin-bottom: 20px }
#content h3 { margin-bottom: 10px }
section header {
    margin-bottom: 10px;
    border-bottom: 4px solid #c8c8bf;
}
#book-info {
    width: 100%;
    float: left;
    margin-bottom: 20px;
}
#book-info .intro { margin: 0 20px 0 0 }
#book-info .intro:first-child { padding-top: 0 }
#book-info .main {
    width: 66.6%;
    float: left;
}
#book-info .container { }
#book-info .intro { margin: 10px 0 10px 10px }
#book-info .intro:last-child { margin-bottom: 20px }
#book-info .cover {
    width: 100%;
    float: right;
    margin-bottom: 10px;
}
#book-info .author {
    float: left;
    width: 28%;
    margin: 10px 20px 10px 10px;
}
.sidebar {
    width: 30%;
    float: right;
    clear: right;
    margin: 10px 10px 0 0;
}
.sidebar p {
    display: block;
    color: #f3f3f3;
    color: #333;
}
#book-info .sidebar div {
    padding: 5px 0;
    width: 100%;
    background: #c8c8bf;
}
#book-info ul {
    margin: 10px 10px 10px 40px;
    font-size: 14px;
    list-style-type: square;
    line-height: 1.5;
}
#book-info span {
    display: block;
    width: 42%;
}
#home #exercises {
    width: 100%;
    float: left;
}
#home #exercises .container { padding-top: 10px }
#home #exercises h2 { border-top: 4px solid #ccc;}

/* ---author--- */
#author-about { }
#author-about img {
    float: right;
    margin: 10px;
    width: 33%;
}
#author-about p { margin: 10px }
#publications {
    width: 100%;
    clear: both;
}
/* ---book--- */
#book-about .cover {
    width: 25%;
    float: right;
    display: inline;
    margin: 10px;
}
#book-about ul {
    margin: 10px 10px 10px 40px;
    font-size: 14px;
    list-style-type: square;
    line-height: 1.5;
}
/* ---exercises--- */
#exercises p { clear: both }
#exercises #content ul, #home #exercises ul{
	margin: 0 10px 20px 10px;
	float: left;
	margin: 10px 0 0 0;

}
#exercises #content ul li, #home #exercises ul li{margin: 10px 0 0 10px}



#exercises ul li h4{margin: 0;}

#exercises ul li h4 a{
	font-size: 18px;
	font-weight: 200;
}

#exercises ul li p{
	margin: 0 0 10px 0;
} 

#home #exercises h2{
	padding: 10px 0 0 0;
}

#exercises ul li{
	float: left;
	list-style-type: none;
}
.disclaimer {
    border-top: 1px dotted #ccc;
    display: block;
    padding: 10px 0 0 0;
    margin: 20px 10px 0 10px;
    font-size: 12px;
}

/* --------------------------------------------------------------------------
=upcoming talks
--------------------------------------------------------------------------- */
#talks #content ul{
list-style-type: none;
margin: 0;
padding: 0 10px;
}
#talks #content ul li{
padding: 0;
margin-top: 20px;
border-top: 1px dotted #ccc;
}
#talks #content ul li:first-child{
margin-top: none;
border-top: none;
}
#talks #content p{
padding: 0;
margin: 0;
}

#talks h4{
font-size: 18px;
margin: 10px 0;
}

/* --------------------------------------------------------------------------
=footer
--------------------------------------------------------------------------- */
footer {
    clear: both;
    padding: 20px 0 0 0;
    margin: 20px 0;
    font-size: 12px;
}
footer .container {
    width: 800px;
    padding-top: 10px;
    border-top: 1px dotted #ccc;
}
footer p {
    margin: 0 10px 0 0;
    float: right;
    clear: both;
    color: #717171;
}
/* --------------------------------------------------------------------------
=3d border
--------------------------------------------------------------------------- */
.border { margin-bottom: 20px; clear: both; position: relative; max-width: 820px; width: 100%; height: 13px;}
.clear { clear: both }
.rect-1 {
    height: 8px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 8px;
    right: 4px;
    background: #ddddd2;
}
.side { 
position: absolute;
right: 0;
top: 0;
}
.rect-2 {
    height: 5px;
    background: #C7C7BE;
    position: absolute;
    top: 8px;
    left: 4px;
    right: 0;
    bottom: 0;
    
}
.square {
    width: 5px;
    height: 5px;
    background: #C7C7BE;
}
.triangle-bottom {
	border-style: dashed;
	border-color: transparent;
    width: 0;
    height: 0;
    border-left: 2.5px solid transparent;
    border-right: 2.5px solid #C7C7BE;
    border-bottom: 2.5px solid transparent;
    border-top: 2.5px solid #C7C7BE;
 /* ie6 transparent fix */
    _border-left-color: pink;
    _border-bottom-color: pink;
    _filter: chroma(color=pink);
}
.triangle-side {
	border-style: dashed;
	border-color: transparent;
    width: 0;
    height: 0;
    border-left: 2.5px solid #C7C7BE;
    border-right: 2.5px solid transparent;
    border-bottom: 2.5px solid #C7C7BE;
    border-top: 2.5px solid transparent;
 /* ie6 transparent fix */
    _border-right-color: pink;
    _border-top-color: pink;
    _filter: chroma(color=pink);
}
.tri-1{
position: absolute;
top: 0;
right: 0;
}
.tri-2{
position: absolute;
top: 4px;
right: 0;
}
.tri-3{
position: absolute;
right: 0;
top: 4px;
}
.tri-4{
position: absolute;
top: 8px;
left: 0;
}

/* --------------------------------------------------------------------------
=exercise pages
--------------------------------------------------------------------------- */
.left-image {
    float: left;
    margin-left: 10px;
}
.bottle {
    margin: 0 10px;
    float: left;
}
.eye {
    margin: 10px;
    float: right;
}
form ol { list-style-type: none }
#life label {
    font-size: 13px;
    display: inline;
    width: auto;
}
fieldset {
    background: #f3f3e8;
    border: 1px solid #c7c7be;
    margin-bottom: 10px;
}
fieldset fieldset { border: none }
textarea { width: 400px }
form ol li {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}
#life form ol li, #itest form ol li {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}
#life form ol li label, #itest form ol li label {
    display: block;
    width: 80%;
}

/* --------------------------------------------------------------------------
=results table
--------------------------------------------------------------------------- */

#bottle table{
margin: 10px;
}
#bottle td, th { border: 1px #ccc solid; padding: 5px 10px; }
