/*******************
 *
 * Mark Alpert Main Styles
 * 
 * Colours:
 * 
 * Light Blue: #b6e8ff 
 * Blue: #0099cc
 * Grey: #858585
 * Dark Grey: #606060
 * Darkest Grey: #242424  
 *   
 *  
 *******************/
 
body {
    background-color: #000;
    background-image: url(../../../images/bg-body.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    color: #a5a5a5;
    text-align: center;
    font-family: arial, helvetica, sans-serif;
    font-size: 16px;
    line-height:1.5em;
}

a {
    color: #a5a5a5;
}

a:hover {
    color: #0099cc;
}

#layout_container {
    width: 760px;
    margin: 0px auto 0px auto;
    text-align: left;
}

#layout_header {
}

#layout_menu_main {
    background-image: url(../../../images/corners-top-menu-main.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    height: 37px;
    background-color: #000;
}

#layout_main_content {
    background-image: url(../../../images/bg-main-content.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #000;
    padding-top: 25px;
}

#layout_footer {
}

#layout_content_cols {
    width: 100%;
    margin-bottom: 10px;
}

#layout_sidebar {
    width: 175px;
}

layout_main_body {
}

/** Header **/

#header  {
}

#header h1 {
    margin: 0px auto;
    background-image: url(../../../images/logo-header.gif);
    background-repeat: no-repeat;
    background-position: top left;
    width: 760px;
    height: 122px;
    text-indent: -1000em;
}

/** Menu Main **/

#menu_main {
    padding-top: 8px;
    font-family: times, serif;
    text-align: center;
}

#menu_main table {
    width: 100%;
    margin: 0px auto 0px auto;
}

#menu_main table td {
    vertical-align: bottom;
    white-space: nowrap;
    padding-bottom: 3px;
}

#menu_main .item {
    color: #0099cc;
    font-size: 15px;
    display: inline;
    margin: 0px;
    padding: 0px 5px;
    text-transform: uppercase;
    position: relative;
    height: 16px;
}

#menu_main .first {
    padding-left: 10px;
}

#menu_main .last {
    padding-right: 10px;
}

#menu_main .selected {
    color: #b6e8ff;
}

#menu_main .item a {
    color: #0099cc;
    text-decoration: none;
}

#menu_main .item ul {
    text-align: left;
    position: absolute;
    top: 16px;
    left: -10px;
    background-color: #000;
    margin: 0;
    padding: 10px 15px 10px 15px;
    display: none;
}

#menu_main .item li {
    list-style: none;
    padding: 2px 0;
    margin: 0;
    text-transform: none;
}

#menu_main .item a:hover {
    color: #b6e8ff;
}

/** Sidebar **/

#sidebar {
}

#sidebar .content_box {
    background-image: url(../images/bg-grad-sidebar-box.gif);
    background-repeat: no-repeat;
    background-position: top left;
    background-color: #000;
    padding: 15px;
    margin-bottom: 15px;
}

#sidebar .content_box h3 {
    font-family: times, serif;
    color: #0099cc;
    font-size: 15px;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0px auto 15px auto;
    text-align: center;
}

#sidebar .menu_sub {
    font-size: 13px;
}

#sidebar .menu_sub .item {
    padding: 0px 0px 3px 15px;
    background-image: url(../images/bullet-grey.gif);
    background-repeat: no-repeat;
    background-position: 0px 6px;
    line-height: 1.2em;
}

#sidebar .menu_sub .selected {
    background-image: url(../images/bullet-blue.gif);
    color: #0099cc;
}

#sidebar .menu_sub .selected ul {
    padding-top: 0.5em;
    color: #A5A5A5;
    font-size: 11px;
    line-height: 1.1em;
}

#sidebar .menu_sub .selected li {
    margin-bottom: 0.3em;
}

#sidebar .menu_sub .selected li.sub-selected {
 color: #0099cc;
}

#sidebar .menu_sub .item a {
    text-decoration: none;
}

#sidebar #mailing_list_form {
    text-align: center;
}

#sidebar #mailing_list_form .email {
    width: 100%;
    border: 1px solid #858585;
    margin: 0px auto 15px auto;
}

#sidebar #mailing_list_form .submit_button {
    width: 92px;
    height: 22px;
    background-image: url(../../../images/button-submit.gif);
    background-repeat: no-repeat;
    background-position: top left;
    border: 0px;
    margin: 0px auto 10px auto;
}

/** Main Body **/

#main_body {
    padding: 0px 30px;
}

#main_body h2 {
    font-family: times, serif;
    color: #0099cc;
    font-size: 20px;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 15px;
    
}

#main_body .content_image {
    float: right;
    margin: 0px 0px 10px 10px;
}

#main_body .content_image_container {
    float: right;
    margin: 0px 0px 20px 10px;
    width: 213px;
    font-size: .8em;
    text-align: right;
}

#main_body .quoteAuthor {
	text-align:right;
	margin-bottom:15px;
}

#main_body h3{
	font-size:1.5em;
	}

#main_body .formula{
	text-align:center;	
	display:block;
	font-size:1.2em;
}

#main_body .scienceQuote{
	display:block;
	text-align:center;
	font-weight:bold;
	font-size:1.2em;
}

#main_body .scienceLink{
	text-align: right;
	margin:0 0 15px 0;
}

#main_body #fermi{
	text-align: right;
	margin:0 0 15px 0;
}

/** Pages **/

#schedule th{
	border-bottom:1px solid #858585;
	}
#schedule td{
	padding:8px 0;
	border-bottom:1px solid #858585;
	}
#schedule td.leftCol{
	width:100px;
	padding-right:5px;
	}

#main_body .buy h3{
	font-size:12px;
	margin-bottom: 15px;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #858585;
	}

.buy .book_cover {
    float: right;
}

.buy .book_seller {
    background-color: #FFF;
    font-size: 9px;
    line-height: 1.4em;
    width: 195px;
    height: 60px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.buy .book_seller td {
    vertical-align: middle;
    text-align: center;
    padding: 0 8px;
}

.buy .book_seller td.buy_links {
    padding-left: 0;
}


.buy .book_seller a {
    color: #005b79;
}

.buy .book_seller_footer {
    clear: both;
    margin-bottom: 20px;
}

#blog_posts{
	margin:18px 0;
	padding:8px 0;
	border-top:1px solid #858585;
}
.post{
	margin:8px 0;
	padding:8px 0;
	border-bottom:1px solid #858585;
	}
.post h2 a{
	text-decoration:none;
	color:#09c;
	}
.blog_nav{
	border-top:1px solid #858585;
	font-weight:bold;
}
.blog_nav a{
	color:#0099cc;
}


/** Footer **/

#footer {
    width: 584px;
    margin: 0px auto;
    border-top: 1px solid #242424;
    padding: 10px 0px;
    text-align: center;
    color: #606060;
    font-size: 12px;
    line-height: 1em;
}

#footer a {
    text-decoration: none;
    color: #606060;
    font-weight: normal;
}

#footer a:hover {
    color: #0099cc;
}

#menu_footer table {
    margin: 0px auto 4px auto;
}

#menu_footer table td {
    padding: 0px;
    vertical-align: bottom;
    white-space: nowrap;
}

#menu_footer .item {
    border-right: 1px solid #606060;
    padding: 0px 5px;
}

#menu_footer .item.last {
    border-right: 0px solid #606060;
}

/** Errors */

.errors {
    text-align: left;
}
