/* TDWN - Global */
body {
        background: #EEE6C3 url(../../../images/tdwn/bg_body.jpg) repeat;
        background-attachment: fixed;
        color: #333;
}

#header {
  position: relative;
}

#wrap-footer, #wrap {
        background: transparent url(../../../images/tdwn/border_container.png) repeat-y center;
        position: relative;
        margin: 0 auto;
        width: 1080px;
}

#wrap-footer {
		background: transparent url(../../../images/tdwn/border_footer.png) no-repeat center;
        height: 24px;
}

a.button:link, a.button:hover, a.button:visited, a.button:active {
    background: #d4dae8 url(../../../images/tdwn/tcat.png) repeat-x;
}

a:link {
	color: #005471;
	text-decoration: none;
}

a:visited {
	color: #005471;
	text-decoration: none;
}

a:hover, a:active {
	color: #333;
	text-decoration: underline;
}

#tdwn-header {
	background: #EEF0E3 url(../../../images/tdwn/bg_header.jpg) no-repeat top;
    height: 315px;
    left: 25px;
    position: absolute;
    width: 1030px;
}

#tdwn-icon {
  	background: transparent url(../../../images/tdwn/tdwn-icon.png) no-repeat center;
	display: block;
	height: 65px;
    width: 50px;
    margin: 0 15px 0 5px;
    float: left;
}

#tdwn-footerlinks {
	font-size: 10px;
    text-align: center;
    color: #555;
    padding: 1em 0;
}

#container {
	width: 860px;
	background: #e7daa3 url(../../../images/tdwn/bg_paper.png) repeat;
	margin: auto auto;
	padding: 300px 20px 20px 20px;
	text-align: left; /* IE 5 fix */
}

#content {
  background: none;
  padding: 0 10px 20px 10px;
}

#panel {
	background: #D4DAE8 url(../../../images/tdwn/bg_panel.png) repeat-x;
	color: #333;
	font-size: 11px;
	border: 1px solid #415D8C;
}

.tcat,
#panel .upper {
  background: #d4dae8 url(../../../images/tdwn/tcat.png) repeat-x;
}

.wrapper fieldset {
  background: #fff;
}

.thead {
	background: #415D8C url(../../../images/tdwn/thead_bg.gif) top left repeat-x;
	color: #ffffff;
}

.menu ul {
  list-style: outside none none;
	color: #333;
	font-weight: normal;
	text-align: right;
	padding: 4px;
}

.menu ul li {
  display: inline;
}

.menu ul a img {
  margin-right: 3px;
}

.menu ul a:link {
	color: #333;
	text-decoration: none;
}

.menu ul a:visited {
	color: #333;
	text-decoration: none;
}

.menu ul a:hover, .menu ul a:active {
	color: #005471;
	text-decoration: none;
}

/* TDWN - Bits */
.txtc
{
	text-align:center;
}
span.link
{
	color:#1E90FF;
        font-style:italic;
}
cite span.link,
cite span.linklabel
{
        display: none;
	font-size: smaller;
}
.small
{
        color:#555;
        font-size:10px;
}
.post .post_author div.author_avatar img {
    background: transparent;
    border: none;
}

/* TDWN - NewPosts Plugin */
table#newposts td
{
        padding:0 .5em;
}
table#newposts tr.odd
{
	background:#e7e7e7;
}
table#newposts tr.even
{
	background:#f7f7f7;
}
table#newposts tr:hover
{
	background:#d4dae8;
}
a.thread.new
{
	font-weight:bold;
}

/* Make extra-small text bigger */
#posts_container .post_body span[style*="small"],
#posts_container .post_body span[style*="small"] * {
  font-size: 12px !important;
}

#posts_container .post_body span[style*="small"] span[style*="Calibri"] {
  font-family: Tahoma,Verdana,Arial,sans-serif !important;
}

/* TDWN - Moonphase Plugin */
#moonphase
{
	font-size: 11px;
        margin-bottom: 1.5em;
}

#moonphase h3
{
	border-bottom: 1px solid #415D8C; 
        margin: 0 0 .5em;
        padding: 0;  
        font-size: 12px;
}

/* TDWN - Responsive */
@media only screen and (max-width: 1050px) {
	.wrapper {
		margin: 0;
		min-width: 300px;
		width: auto;
	}
	
	.tborder {
		width: 100%;
		border-spacing: 0;
	}
	
	.tborder td {
		padding: .5em 0;
		white-space: normal;
	}
	
	#content {
		padding: 0;
	}
	
	#container {
		padding: 0;
		min-width: 300px;
		width: auto;
	}
	
	#moonphase {
		margin: 1em;
	}
	
	#tdwn-header {
		background: none;
		height: 0;
	}
		
	#wrap { 
		background: none; 
		width: auto;
	}

	#wrap-footer {
		background: none;
		height: unset;
		width: auto;
	}
}
