html,body {
    margin:0;
    padding:0;
    height: 100%
    color:#5133c3;
    background:#9d88c9;
}
body {
    font:90%/135% "Lucida Grande", "Lucida Sans Unicode", 
    Arial, Helvetica, sans-serif;
}
html>body #wrap {height:100%;} /* 100 % height */
code {
    font-family:Monaco, Courier, "Courier New", monospace;
}
h1.title {
    font-size: 1.5em;
    margin-bottom: 2ex;
}
h1, h2 {
    font-size: 1.2em;
    margin-top: 1ex;
}
h1 { margin-bottom: 0.5ex; }
h2 { margin-bottom: 0.5ex; }
body ul, body p {
    margin-bottom: 1.2ex;
}
#content ul li { 
    margin-left: 2em;
}
blockquote {
    display: block;
    width: 95%;
    margin: -1ex auto 2ex auto;
    text-align: center;
    font: italic normal 110%  Georgia, "Times New Roman", serif;
}
blockquote p {
    margin-bottom: 0.1ex;
}
#wrap {
    width:750px;
    margin:0 auto;
    background: url(img/nw-bg.png) repeat-y;
}
#banner {
    width:750px;
    height:120px;
}
html>body #header {
    position:fixed;
    z-index:10; /* Prevent certain problems with form controls */
}
html>body #content-wrap {
    height:100%;
    background: url(img/nw-bg.png) repeat-y;
} 
html>body #content {
    padding:140px 30px 50px 30px;
    background: url(img/nw-bg.png) repeat-y;
}
#content {
    color: #322881;
}
#content a {
    color: #63359e;
}
#content a:visited {
    color: #522c81;
}
#content a:hover {
    background-color: #dcdbff;
}
h1, h2, h3, h4, h5, h6, #content h1 a, #content h2 a {
    color: #4441b6;
}
#content h1 a:hover, #content h2 a:hover {
    background-color: #d2d0ef;
}
#footer {
    width:750px;
    height:40px;
    background: url(img/nw-footer.png) no-repeat bottom;
    color: #211dd2;
}
html>body #footer {
    position:fixed;
    bottom:0;
    z-index:10; /* Prevent certain problems with form controls */
}
#footer p {
    margin-top: 18px;
    text-align: center;
    font-size: 90%;
}
#main {
    clear:both;
    margin:20px 80px;
}
.thumbnail {
    float: left;
    width: 90px;
    height: 90px;
    background: url(img/nw-tb-bg.png) no-repeat;
}
a.thickbox img {
    padding-left: 5px;
    padding-top: 5px;
    border-width: 0px;
}
#content div.thumbnail a:hover {
    background-color: transparent;
}
#gallery h2 {
    clear: both;
}

/* sidebars */
div.sidebar { 
    background-color: #e9d2eb; 
    border: 1px solid #9d88c9;
    float: right;
    margin: 0ex 0em 0.75ex 1em;
    padding: 0.333em 0.667em;
    width: 35%;
    font-size: 90%;
    line-height: 115%;
	clear: both;
}
div.left {
    margin: 0ex 1em 0.75ex 0em;
    float: left;
    clear: both;
}
p.sidebar-title { 
    font-size: 110%;
    font-weight: bold;
    padding-bottom: 1ex;
    color: #4441b6;
}
.sidebar p { 
  margin: 0ex 0em 1.5ex 0em;
}

.sidebar p.first {
    margin-bottom: 0em;
}
.comment {
    padding-top: 1ex;
    font-size: 90%;
    text-align: right;
}
#content div.sidebar a:hover {
    background-color: #fae4ff;
}

/* images and figures */
img.decor, img.decor-r, div.figure img {
    background: white;
    border: 1px solid #9d88c9;
    padding: 7px;
}
img.decor {
    margin: 0ex 1em 0.75ex 0em;
    float: left;
}
img.decor-r {
    margin: 0ex 0em 0.75ex 1em;
    float: right;
}
.figure { 
    text-align: center;
    margin-bottom: 3ex;
    margin-top: 1.5ex;
    font-size: 90%;
}
img.right {
    float: right
}

/* CSS for the tabs starts here */
#header {
    height:140px;
    background: transparent url(img/nw-banner.jpg) 0 0 no-repeat;
}
#nav {
    float:left;
    width:750px;
    margin-top:-19px;
    font-size:0.87em;
    line-height:0.87em;
}
#nav ul {
    margin:0;
    padding:0 0 0 28px;
    list-style:none;
}
#nav li {
    float:left;
    margin:0 0 0 -1px;
    padding:0 0 0 6px;
    background:url(img/nw-nav1.png) 0 100% no-repeat;
}
#nav li:hover {
    background-position:-6px 100%;
}
#nav a {
    float:left;
    display:block;
    color:#322881;
    font-weight:bold;
    font-family: "Lucida Grande", "Lucida Sans Unicode", 
    Arial, Helvetica, sans-serif;
    background:url(img/nw-nav2.png) 100% 100% no-repeat;
    padding:5px 14px 12px 8px;
    text-decoration:none;
}
#nav li:hover a {
    background-image:url(img/nw-nav1.png);
}
/* Hide from IE5-Mac \*/
#nav a {float:none;}
/* End IE5-Mac hack */
#nav a:hover {
    color:#000;
    text-decoration:underline;
}
#index #nav #t1,
#classes #nav #t2,
#about #nav #t3,
#questions #nav #t4,
#gallery #nav #t5,
#links #nav #t6,
#contact #nav #t7 {
    background-position:-12px 100%;
    padding-left:26px;
    margin:0 2px 0 1px;
}
#index #nav #t1 a,
#classes #nav #t2 a,
#about #nav #t3 a,
#questions #nav #t4 a,
#gallery #nav #t5 a,
#links #nav #t6 a,
#contact #nav #t7 a {
    background-image:url(img/nw-nav2s.png);
    padding-left:0;
    padding-right:19px;
}
#nav #t1,
#index #nav #t1 {
    margin-left:0;
}
#nav #t5,
#gallery #nav #t5 {
    margin-right:0;
}
