*{
    margin: 0px;
    padding: 0px;
}

html { 
    /*background: url('img/gp1.jpg') no-repeat center center fixed;*/ 

    /*background: url('img/bg.jpg') no-repeat center center fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;*/
    overflow-y: scroll;
    background-color:#e6e6e6;
    -webkit-text-size-adjust: 100%;
    /*text-size-adjust: none;*/
    /*-webkit-text-size-adjust: auto;*/
    
    /*font-family: Tahoma, Geneva, sans-serif;*/
    /*min-device-width: 1100px;*/
    /*-webkit-text-size-adjust: none;*/
}

h1{
    font: bold 20px Tahoma;
}

h2{
    font: bold 16px Tahoma;
}

p{
    font: 16px Tahoma;
}

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

body{
    text-align:center;
    
}

#big_wrapper{
    width:1000px;
    margin:0px auto;
    text-align: left;
    display:block;
    margin-top:10px;
    margin-bottom:10px;
}

#lrb{
    width:1100px;
    margin:0px auto;
    text-align: left;
    max-height: 999999px;
    display:block;
    margin-top:10px;
    margin-bottom:10px;
}

#bg_wrapper{

    width:1050px;
    margin:0px auto;
    margin-top:10px;
    margin-bottom:10px;
    padding-top:10px;
    box-shadow: 0px 0px 8px #888888;
    background-color:white;
}
/*box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);*/
/*box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;*/
/*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);*/

/*
#bg_wrapper{

width:1500px;
margin:0px auto;
background-attachment:fixed;
background-repeat: no-repeat;
background-position:center; 
background-image:url('img/bg.jpg');
background-size: 1500px Auto;
}*/
/*border:1px solid black;*/
/*min-height:500px;*/
/*FOR SOME REASON WONT CENTER PROPERLY WITHOUT HEYGHT SET

background-position: 0 0;
background-repeat: no-repeat;
background-attachment: fixed;*/
/*display:block;*/

#gallery{
    clear:both;
    /*width:1000px;*/
    width:984px;
    height:360px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin: 0px auto;
}


#top_header img {
    float:left;
    /*padding-right:15px;*/
    width:88px;
    height:83px;
}

#top_header h1{
    font: bold 20px Tahoma;
}

#header_space {
    /*border:1px solid black;*/
    float:left;
    width:910px;
    height:40px;
}
#title_space {
    float:left;
    width:912px;
    height:43px;
}

#top_menu ul
{
    list-style-type:none;
    overflow:hidden;
    
    /*margin:0;*/
    /*margin:0px auto;*/
    /*padding:0;*/
}

#top_menu li{
    float:left;
    display:inline-block;
    height:13px;
    /*vertical-align: bottom;*/
    /*list-style:none;*/
    font: 12px Tahoma;
    /*padding:0px;*/
}

#top_menu a:link, #top_menu a:visited
{
    display:block;
    color:black;
    /*background-color:white;*/
    text-decoration:none;
    min-width:70px;
    /*min-height:20px;*/
    /*width:70px;*/
    /*height:20px;*/
    /*padding:4px;*/
    text-align:center;
}

#top_menu a:hover, #top_menu a:active
{
    font-weight:bold;
}

#nav ul, #nav li {
text-align:center;

font: 12px Tahoma;
display: inline-block;
/*position: relative;*/
/*border-right: solid 1px #e1e1e1;*/
height: 12px;
margin: 0px;
width: 70px;
}

#nav ul, #nav li a:hover { 
text-align:center;
font-weight:bold;
/*margin-right:35px;*/
}

#nav a:link, #nav a:visited
{
    color:black;
    text-decoration:none;
}



.s_box {
    background-color:white;
    margin: 8px 8px;
    box-shadow: 0px 0px 8px #888888;
}
.s_box p {
    padding-left: 10px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    font: 16px Tahoma;
}

/*
.s_box a {
    padding-left: 10px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    font: 16px Tahoma;
}*/

.s_box h2 {
    /*padding: 10px 10px;*/
    padding-top: 0px;
    padding-left: 0px;
}

.s_big_box {
    width:984px;
    /*height:300px;*/
    background-color:white;
    margin: 8px 8px;
    box-shadow: 0px 0px 8px #888888;
}

.s_big_box p {
    /*padding: 10px 10px;*/
    padding-left: 10px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    font: 16px Tahoma;
}
.s_big_box h2 {
    /*padding: 10px 10px;*/
    /*padding-top: 10px;*/
    padding-left: 0px;
}

.c_big_box {
    width:984px;
    /*height:300px;*/
    margin: 8px 8px;
}

.s_img_box {
    margin: 8px 8px;
    box-shadow: 0px 0px 8px #888888;
}
.s_img_box img {
    display: block;
}

.img_box {
    display: inline-block;
    /*margin-bottom: 10px;*/
}
.img_box img {
    /*display: block;*/
    margin-left: 10px;
    margin-right: 10px;
    
    /*
    padding-left: 10px;
    padding-right: 10px;
    */
    /*border: 1px solid black;*/

}
.img_box h2{
    
    padding-top:0px;
    padding-bottom:10px;
    text-align:center;
    font-weight:bold;
    /*
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    */
}

.s_head h2{
    padding-left:8px;
    padding-top:12px;
}

.s_head h1{
    padding-left:8px;
    padding-top:12px;
}



/*.s_head a:link, .s_head a:visited{*/

.s_head_a a{
text-decoration:none;
color:black;
}

#shaded_big_box {
    width:984px;
    /*height:300px;*/
    background-color:white;
    margin: 8px 8px;
    box-shadow: 0px 0px 8px #888888;
}


#shaded_big_box h1 {
    text-align:center;
}
#shaded_big_box h2 {
    text-align:center;
}

#shaded_big_box p {
    padding: 10px;
}


#half_box_header {
    padding: 10px;
    float:left;
    width:480px;
    /*background-color:white;*/
}

#half_box_header a, #half_box_header a:link, #half_box_header a:visited
{
    text-decoration:none;
    color:black;
}


#shaded_half_box {
    float:left;
    width:484px;
    height:300px;
    background-color:white;
    margin: 8px 8px;
    box-shadow: 0px 0px 8px #888888;
}

#clear_half_box {
    float:left;
    width:500px;
    height:300px;
}

#contents {
    float:left;
    margin: 7px 8px;
    border: 1px solid black;
}
#contents h2 {
    text-align:center;
    font-weight:bold;
}
#contents a {
    font: 11px Tahoma;
}

#clear_1_3_box {
    float:left;
    width:331px;
    height:300px;
    border: 1px solid black;
}

#shaded_2_3_box {
    float:left;
    width:650px;
    height:300px;
    background-color:white;
    margin: 8px 8px;
    box-shadow: 0px 0px 8px #888888;
}

#shaded_half_box p {
    padding: 15px;
}

#projects {
    /*width:980px;*/
    /*background-color:white;*/
    margin: 0px 8px;
    border-top: 1px solid black;
    height: 13px;
    border-bottom: 1px solid black;
}

#contact {
    /*width:980px;*/
    /*background-color:white;*/
    margin: 1px 8px;
    border-top: 1px solid black;
}

article footer{
    text-align:right;
}

#foot{
    clear:both;
    text-align:left;
    /*padding:8px;*/
    margin:0px 8px;
    padding-top:8px;
    border-top: 1px solid black;
}

#bg {
    position: fixed; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
}
#bg img {
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    margin: auto; 
    min-width: 50%;
    min-height: 50%;
}


.fraction, .fullfraction {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
}
.fraction .fraction {
	font-size: 80%;
	line-height: 100%;
}
span.numerator {
	display: block;
}
span.denominator {
	display: block;
	padding: 0ex;
	border-top: thin solid;
}
sup.numerator, sup.unit {
	font-size: 70%;
	vertical-align: 80%;
}
sub.denominator, sub.unit {
	font-size: 70%;
	vertical-align: -20%;
}
span.sqrt {
	display: inline-block;
	vertical-align: middle;
	padding: 0.1ex;
}
sup.root {
	font-size: 70%;
	position: relative;
	left: 1.4ex;
}
span.radical {
	display: inline-block;
	padding: 0ex;
	font-size: 150%;
	vertical-align: top;
}
span.root {
	display: inline-block;
	border-top: thin solid;
	padding: 0ex;
	vertical-align: middle;
}
.formula {
	text-align: center;
	font-family: "DejaVu Serif", serif;
	margin: 1.2em 0;
}
span.formula {
	white-space: nowrap;
}
div.formula {
	padding: 0.5ex;
	margin-left: auto;
	margin-right: auto;
}
span.ignored, span.arraydef {
	display: none;
}