html {
    overflow-y:scroll;
}

/* general */
body {
    color:white;
    background-color:black;
    margin:0px 0px 1em;
    font-family:sans-serif;
}

#content {
    margin:4em 1em 1em;
}

.center {
    text-align:center;
}

.right {
    text-align:right;
}

.focus {
    font-weight:bold;
}

.click {
    cursor:pointer;
}

.hide {
  display:none;
}

.search {
    width:19em;
}

table td {
    padding: 0.25em;
}

input.settings, select.settings {
    width:12em;
}

td.name {
    width:8em;
}
td.setting {
    width:11em;
}

#formContainer {
    position:absolute;
    top:0px;
    left:0px;
    height:2em;
    width:100%;
    overflow:hidden;
    background-color: #333;
    border-bottom:2px solid #111;
    border-top:1px solid #555;
    background-image:url("../img/bar.png");
    background-repeat:repeat-x;
    background-position:center left;
    z-index:3;
}

#formContainer label {
    font-weight:bold;
}

body > #formContainer {
    position: fixed;
}

* html #formContainer {
    z-index:3;
    top: expression( (ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) + 'px' );
}

#formContainer table {
    width:98%;
    margin:0px 1%;
    padding:0px;
    border-collapse:collapse;
    background-image:url("../img/search.gif");
    background-repeat:no-repeat;
    background-position:center left;
}

#formContainer table input {
    vertical-align:middle;
}


input#searchA, input#searchB {
    margin-left:24px;
    height:1.5em;
    border-width:1px;
    border-style:solid;
    border-color:#222 #777 #777 #222;
    background-color:#eee;
}

input#searchA:focus, input#searchB:focus {
    border-color: #ccaa33;
    background-color: #fff
}

#tabBar {
    line-height:1.5em;
    color:yellow;
    height:1.5em;
}

#tabBar .tab {
    border-style: solid;
    border-color: #222;
    border-width: 1px 1px 0px;
    float:left;
    background-color: #333;
    margin:0.2em 0.5em 0px 0px;
    overflow:hidden;
    height:1.5em;
    padding:0px 20px 0px 5px;
    background-repeat:no-repeat;
    background-position:center left;
}

#tabBar .tab img {
    vertical-align:middle;
    padding:0px 3px 0px 0px;
}

#tabBar #activeTab {
    font-weight:bold;
    background-color: #555;
    border-color:#000 #222 #000 #000;
    margin-top:0px;
    height:1.5em;
    background-image:url("../img/tab_on.png");
    background-color:transparent;
    background-repeat:no-repeat;
    background-position:top left;
    padding-top:0.2em;
}

#tabBar div.tab:hover , #tabBar div.hover, #tabBar div.tab:focus {
    background-color:#222;
    border-top-color:#ccaa33;
}

#foldButton {
    float:right;
    width:1.5em;
    font-weight:bold;
    display:none;
}

#tabBar .closeButton {
    display:block;
    cursor:pointer;
    width:24px;
    height:1.5em;
    border-style: solid;
    border-color:#ccaa33 #222;
    border-width: 1px 1px 0px;
    background-image:url("../img/tab_on.png");
    background-color:transparent;
    background-repeat:no-repeat;
    background-position:top left;
    padding-top:0.2em;
    border-color:#000 #222 #000 #000;
}

#tabContent {
    clear:both;
    margin-top:0.25em;
    border:1px solid #555;
    border-bottom-color: #333;
}

#tabContent .hide {
    border-width:1px;
    border-color: #333 #777 #777 #333;
    border-style:solid;
    background-color:#222;
}



/* species and author list */

#tabContent .tlist table {
    width:100%;
    border:hidden;
    border-collapse:collapse;
}

#tabContent .tlist td {
    width:20%;
    vertical-align:top;
    margin:0px;
    padding:0px;
}

#speciesList tr.category td {
    border-bottom:1px solid #333;
}

#tabContent .tlist tr.category {
    font-family:serif;
}

#tabContent .tlist span {
    text-decoration:none;
    display:block;
    border:1px solid #222;
    border-right:1px solid #333;
    line-height:1.5em;
    padding:0px 1em;
    color:#33ffff;
}

#tabContent .tlist ul {
    margin:0px;
    padding:0px;
    list-style:none;
}

#tabContent .tlist li {
    margin:0px;
    padding:0px;
}

#tabContent .tlist li span:hover, #tabContent .tlist li span.hover {
    background-color:#111;
    border-color: #000 #333 #333 #000;
}





/* story table */


#extraData {
	text-align:center;
}

#storyList {
    margin-top:2em;
    background-color:#555;
    border-width:1px;
    border-style:solid;
    border-color: #999 #333 #222 #888;
    background-image:url("../img/bar2.png");
    background-repeat:repeat-x;
    background-position:top left;
}

#storyList:after {
  display: block;
  margin: -100px 0 0 0;
  height: 100px;
  padding: 0;
  content: " ";
  background: transparent url("../img/bar3.png") scroll repeat-x top right;
    position:relative;
    top:0px;
    left:0px;
    z-index:1;
}

#storyList table, #storyList div {
    position:relative;
    top:0px;
    left:0px;
    z-index:2;
}

#storyList img.story {
    margin-right:5px;
}

#storyList span.storyCount {
    float:right;
    padding-right:1em;
    font-weight:bold;
}

#storyList div.nav {
    margin:1em 1px;
}

#storyList div.nav span.wrapper {
    border-style:solid;
    border-width:1px;
    border-color: #333 #777 #777 #333;
    background-color: #222;
    float:left;
}

#storyList div.nav span.wrapper span {
    border-style:solid;
    border-width:1px;
    border-color: #222;
    display:block;
    height:1.5em;
    width:1.5em;
    float:left;
    text-align:center;
    padding: 0px 0.25em;
    line-height:1.5em;
}

#storyList div.nav .current {
    font-weight:bold;
}

#storyList div.nav span.link {
    color:#33ffff;
    font-weight:normal;
    cursor:pointer;
}

#storyList div.nav span.wrapper span.link:hover, #storyList div.nav span.wrapper span.hover {
    font-weight:bold;
    background-color:#111;
    border-color: #000 #333 #333 #000;
}

#storyList li.right {
    float:right;
}

#storyList p {
    clear:both;
    text-align:center;
}

#storyList div.buttonbar span.button, #storyList span.chapterNav span.button {
    border-width:1px;
    border-style:solid;
    border-color: #777 #333 #333 #777;
    padding:0.07em 0.5em;
    margin:0.25em 0.5em 0.25em 0px;
    background-color:#555;
    cursor:pointer;
}

#storyList span.button:hover, #storyList div.buttonBar span.hover, #storyList span.chapterNav span.hover{
    border-color: #999 #222 #222 #999;
}


#storyList div.buttonbar {
    margin:0.5em;
}

#storyList div.gallery, #storyList div.list {
    margin:0px 1px 1em;
    border-style:solid;
    border-width:1px;
    border-color: #333 #777 #777 #333;
    background-color: #222;
}

#storyList table {
    width:100%;
    padding:0.25em;
    text-align:left;
    font-size:100%;
    border-collapse:collapse;
    color:white;
}

#storyList td {
    padding:0.35em 0.5em;
    text-align:left;
    background-color:#111;
}

#storyList tr.even td {
    background-color:#161616;
}

#storyList td * {
    vertical-align:middle;
}

#storyList table td {
    font-style:italic;
    font-weight:bold;
    font-family:times;
}

#storyList td.title {
    
    border-bottom:1px solid #222 !important;
    background-color: #333;
    background-image:url("../img/bar.png");
    background-repeat:repeat-x;
    background-position:center left;
}

#storyList table span {
    font-style:normal;
    font-weight:normal;
    font-family:sans-serif;
}

#storyList td.title a {
    font-weight:bold;
    font-style:normal;
    font-family:sans-serif;
}

#storyList td.title span.date {
    float:right;
}

#storyList td.desc {
    border-bottom:1px dotted #222222;
}

#storyList td.images {
    border-top:1px dotted #222222;
}

#storyList td.images a {
}

#storyList td.images a img {
    margin:0px 1em; 
    border-width:1px;
    border-style:dotted;
    border-color: #33ffff;
}

#storyList span.desc {
    font-style:italic;
    font-weight:bold;
    font-family:times;
}

#storyList a.rate {
    font-size:80%;
    text-align:right;
    float:right;
}

#storyList span.rate {
    float:left;
}

#storyList span.click {
    cursor:pointer;
}

#storyList span.click:hover {
    text-decoration:underline;
    
}

#storyList span.rate span.click {
    font-weight:bold;
    text-decoration:none;
}



#storyList div.list td {
    border-top: 1px solid #222222;
    font-style:normal;
    font-weight:normal;
    font-family:sans-serif;
}

#storyList div.list tr:hover {
    background-color:#111111;
}

#storyList div.list thead td, #storyList div.gallery thead td {
    background-color:#333;
    color:yellow;
    font-weight: bold;
    text-decoration: none;
    cursor:pointer;
    text-align:left;
    vertical-align:bottom;
    border-bottom: 1px solid #222;
    padding-left:20px;
    background-image:url("../img/bar.png");
    background-repeat:repeat-x;
    background-position:center left;
}

#storyList div td.sortDown {
    background-image:url("../img/down.gif") !important;
    background-repeat:no-repeat !important;
}

#storyList div td.sortUp {
    background-image:url("../img/up.gif") !important;
    background-repeat:no-repeat !important;
}

#storyList div td.sortUp, #storyList div td.sortDown {
    border-bottom: 2px solid #ccaa33 !important;
    background-color:#222 !important;
    border-right:1px solid #555 !important;
    border-left:1px solid #111 !important;
    border-top:1px solid #111 !important;

}

#storyList div.gallery thead td {
    background-color:#222;
    border-width:0px;
    border-left:1px solid #333;
    font-family:sans-serif;
    font-style:normal;
}

#storyList tr.content td {
    padding:0px;
    border-width: 0px;
}

#storyList tr.content td iframe {
    color:#000;
    background-color:fff;
}


#storyList div.error {
    margin-top:1em;
}

#storyList .error td {
    border-top: 1px solid #222222;
    font-style:normal;
    font-weight:normal;
    font-family:sans-serif;
    text-align:center;
    padding:0.75em;
}


#storyList .error thead td {
    background-color:#1F1F1F;
    color:yellow;
    font-weight: bold;
    text-decoration: none;
    text-align:center !important;
    vertical-align:bottom;
    padding:0.5em;
}

#storyList select.chapters {
    margin:0px;
}


/* link */
a {
    color:#33ffff;
    text-decoration:underline;
    cursor:pointer;
}

a:focus {
    outline: #fff dotted thin;
}

a:link {
    color:#33ffff;
}

a:visited {
    color:#99ccff;
}
