body, html {
	padding: 0;
	margin: 0;
	color: #000000;
	background-color: #ffffff;
}

a img {
    border: 0;
    vertical-align: middle;
}

h1 {
	font-size: 300%;
	text-align: center;
}

.related_menu {
    position: absolute;
    top: 2em;
    right: 1ex;
    border: 1px solid lightgray;
    padding: 0 0.5ex;
    font-family: sans-serif;
    font-size: 90%;
}
.related_menu h3 {
    font-size: 110%;
    margin: 1ex;
}
.related_menu ul {
    margin: 1ex;
    padding: 0 0 0 1em;
    list-style-type: none;
}

div.entry {
	margin: 3em 5em 0 5em;
	text-align: center;
}

p.cite { text-align: right; }

.citation {
    text-align: right;
    margin-top: 2ex;
}
.citation:before { content: "  -- "; }
.citation cite { font-style: normal; }

.rating_box {
	float: right;
	font-face: sans-serif;
	border: 1px solid lightgray;
	border-width: 0 0 1px 1px;
    border-bottom-left-radius: 1ex;
    -moz-border-radius-bottomleft: 1ex;
    -webkit-border-bottom-left-radius: 1ex;
	margin: -1em -1em 1em 1em;
	padding: 1ex;
}

#tabs ul.tabbar { float: left; margin: 0px; }
#tabs ul.tabbar-right { float: right; }
#tabs .tabbar li, #tabs .tabbar li a { float: left; }
#tabs .tabbar-right li, #tabs .tabbar-right li a { float: left; }

#tabs ul.tabbar, #tabs ul.tabbar-right {
    background: #fff;
    padding-top: 4px;
}
#tabs .tabbar li, #tabs .tabbar-right li {
    margin-left: 8px;
    margin-bottom: -1px;
    list-style: none;
}
#tabs .tabbar li.tab, #tabs .tabbar-right li.tab {
    border: 1px lightgray solid;
    border-top-left-radius: 1ex;
    border-top-right-radius: 1ex;
    -moz-border-radius-topleft: 1ex;
    -moz-border-radius-topright: 1ex;
    -webkit-border-top-left-radius: 1ex;
    -webkit-border-top-right-radius: 1ex;
    background: #f9f9f9;
}
* html #tabs .tabbar li, * html #tabs .tabbar-right li  {
    display: inline;
}

.tabbar li.tab:hover, .tabbar-right li.tab:hover  { background: #e9e9e9 !important; }
.tabbar li.active:hover, .tabbar-right li.active:hover  { background: lightgray !important; }

#tabs .tabbar li a, #tabs .tabbar-right li a {
    margin-left: 1ex;
    margin-right: 1ex;
}
#tabs ul.tabbar li.active, #tabs ul.tabbar-right li.active {
    border: 1px transparent solid;
    border-top:1px #f0f0f0 solid;
    border-bottom:1px lightgray solid;
    background: lightgray;
}
#tabs ul.tabbar li.active a, #tabs ul.tabbar-right li.active a { color: #333333; }
#tabs div.tab {
    border:1px lightgray solid;
    border-radius: 1ex;
    -moz-border-radius: 1ex;
    -webkit-border-radius: 1ex;
    background: lightgray;
    clear: both;
    padding: 5px;
}
#tabs div.tab blockquote {
    margin: 0;
    border:1px white solid;
    border-radius: 1ex;
    -moz-border-radius: 1ex;
    -webkit-border-radius: 1ex;
    background-color: white;
}
#tabs ul.tabbar li input { margin: 8px; }
#tabs ul.tabbar li a {
    text-decoration: none;
    padding: 8px;
    color: #000;
    font-weight: bold;
}

.box blockquote { margin-top: 0; }
blockquote {
	text-align: left;
	font-family: monospace;
	border: 1px dotted black;
	padding: 1em;
	position: relative;
}

.rating_val { vertical-align: middle; }

p.stats {
    display: inline-block;
    margin: -2px auto 1em auto;
    padding: 0.5ex 1ex;
    border: 2px solid lightgray;
    border-bottom-left-radius: 1ex;
    border-bottom-right-radius: 1ex;
    -moz-border-radius-bottomleft: 1ex;
    -moz-border-radius-bottomright: 1ex;
    -webkit-border-bottom-left-radius: 1ex;
    -webkit-border-bottom-right-radius: 1ex;
}
/* ficfan.org common */
.ie_warn { 
	background-color: #F2F2F2;
	text-align: center; 
	border: 1px solid black;
	width: 80%;
	margin: auto;
}

.ficfan_nav, .ficfan_nav * { margin: 0; }
.ficfan_nav li { display: inline; }
.ficfan_nav .title, .ficfan_nav a { padding: 0 1.0ex 0 1.5ex; }

.ficfan_nav { 
	background-color: #898989;
	color: #F2F2F2;
	padding: 0.2ex 0.5ex 0.2ex 0.5ex;
}
.ficfan_nav .title { 
	font-weight: bold; 
	border-left: 0;
}
.ficfan_nav a { 
	width: 100%;
	color: #F2F2F2; 
	border-left: 0.3ex solid #F2F2F2;
	text-decoration: none;
}
.ficfan_nav a:hover { background-color: #9A9A9A; }

/* TODO: Get this all fixed up and working properly
.ficfan_nav .nfsn_badge { float: right; }
.ficfan_nav .nfsn_badge img { vertical-align: middle; }
*/
