/* -----------------------------------------------------------------------
   
   Main Framework
   CSS Framework For The Dreamercomic.com website  
   
----------------------------------------------------------------------- */


/* ------- Main Container ------- */
body {background-color:#2e1d18;}
.container {margin: 0px auto; width:960px; background-color:#ece5d8; position:relative;} 
.container a {color:#3366CC;}
.container a:visited {color: #64809A;}
.container a:hover {color:#274f9f;}
.container a:active {color: #3366CC;}
.hdrimg { margin-bottom:-60px; }

#main {padding:10px; width:605px; margin: 20px 0 20px 20px; float:left;}

/* ------- HEADERS AND IMAGES ------- */
.hdrline {border-bottom:#342415 1px solid; margin: 0 0 7px 0; display:block;}  
.floatright {float:right; margin:0 0 3px 5px; border: #CCCC99 1px solid; }
.awards img, .awards p {margin:10px;}
.top {margin-top:20px;}
.signature {display:block; margin:8px 0px 0px;}
.bioimage, .awardimage {float:left; margin:0 10px 5px 0;}

/* ------- DREAM TEAM ------- */
#meetteambox {float:right; width:205px; padding:15px; background-color:#DFD7B6; margin:5px 0 10px 10px;}
#meetteambox p {margin:3px 0px;}
#meetteambox h4 {margin:0; text-indent:0;}
#dreamteambios em {color:#a77d4b; font-size:.9em;}
#dreamteambios strong {font-size:1.125em;}
#dreamteambios img {margin:0 10px 20px 0; float:left; border: 1px solid #666666;}
#dreamteambios table {border:none; border-spacing:0 10px;}

/* ------- READ COMIC PAGES ------- */
#comicnav {margin:20px 0 0 0; text-align:center;}
#comicnav a, #comicnav p {margin-right:15px; font-size:1.5em; font-weight:300; text-decoration:none;}
#comicnav img {margin:20px 0;}
.comicnav {margin-right:15px; font-size:1.5em; font-weight:300; text-decoration:none;}
#comicnav a.inactive {color:#000000; text-decoration:none;}

#issues img {margin:0 15px 25px 15px; float:left;}
#issues ul {list-style-type:none; margin:22px 0 0 91px;}
#issues li {float:left; padding:7px}
#issues a {text-decoration:none; font-size:1.2em;}
#issues h3 {padding:0 0 5px 0; border-bottom:#a77d4b 1px solid; color:#a77d4b; text-indent:0;}

/* ------- TEXT CONFIG ------- */
.container { line-height: 1.4em; font-family: Helvetica, sans-serif; font-size:13px; }
.container h1 { font-size: 1.9em;  margin: 1em 0 .5em; }
.container h2 { font-size: 1.7em;  margin: 1.07em 0 .535em; }
.container h3 { font-size: 1.4em;  margin: 1.14em 0 .57em; }
.container h4 { font-size: 1.125em;  margin: 1em 0 .075em 0; font-weight:bold; color: #a77d4b;}
.container h5 { font-size: 1em; margin: 1.33em 0 .67em; }
.container h6 { font-size: 1em; margin: 1.6em 0 .8em; }
.container h3, h4, h5, h6 { text-indent:7px;}

.nobullets {list-style-type:none;}

.paraspace {margin: 0 0 10px 3px; padding: 0 0 0 3px;}
.nobr {white-space:nowrap;}
em {font-style:italic;}
strong {color: #a77d4b;}
.tiny {font-size: 10px;}

.bannerwarn {font-size:10px; margin-left: 7px;}

.biomain {color:#555555; margin:9px 0px; font-style:italic;}

/* ------- DREAMER STORE ------- */
#terms p {margin:10px 0;}
#terms h2 {font-weight: bold; font-size:16px;}
#terms h1 {margin-bottom: 30px;}
#store table {border-spacing:5px;}
#store a.checkoutbtn {padding:7px 12px; background-color:#342415; font-size:14px; color:#FFFFFF; -moz-border-radius: 4px; -webkit-border-radius: 4px; display:block; margin:-10px 0 0 0;}
#store a.checkoutbtn, a.checkoutbtn:visited, a.checkoutbtn:hover {color:#FFFFFF; text-decoration:none;}


/* ------- TEXT CONFIG ------- */
#thankyou p {margin:10px 0;}
#thankyou h1.thirtytop {margin-top:70px;}

/* -------ACCORDION FOR CHARACTERS ------- */
.element {background-color:#f2f0e9; padding:10px;}
.element p {padding:10px;}
.container .toggler {font-size:1.125em; margin-bottom:2px;}
.container .toggler:hover {cursor:pointer;}

/* ------- LISTS AND TABLES------- */
.dreamerweb,.presslist, .imglists { list-style-type:none; /* border-bottom: #ecead8 2px solid;*/ padding-bottom:7px; margin: 0 0 10px 0; text-indent:7px; }

.imglists li {margin: 0 10px 7px 0;}
.imglists img {margin:5px 10px 0 0;}

.dreamerweb {width:auto; border:0;}
.dreamerweb td {white-space:nowrap;}

.donatetab {border:none; padding:10px;}
tr.highlight {background-color:#F2F0E9;}
table.donatetab p {padding:0 10px; margin: 10px 0;}



/* ------- FORMS ------- */

fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend { font-weight: bold; font-size:1.2em; }
label { font-weight: bold; }
textarea, input[type='text'], select { border: 1px solid #ccc; background: #fff; }
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover { border-color: #aaa; }
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus { border-color: #888; outline: 2px solid #ffffaa; }
input, select { cursor: pointer; }
input[type='text'] { cursor: text; }
/* --commenting out for now .container form {margin-left:50px;} */
.container form.centerthis {margin-left:0px;}


/* ------- SIDE BAR ------- */

#sidebar {
	width: 210px;
	background: #dbd7bd;
	border: 1px solid #5a3300;
	padding: 15px;
	margin: 50px 20px 20px 0;
	float:right;
	
}

.sidehead { border-bottom: #ecead8 2px solid; margin: 0 0 7px 0; }

/* ------- EXTRA STYLES ------- */

.centerthis, .readbtns { text-align:center;}
.centerthis p {margin: 10px 0;}
.centerthis table {margin: 0 auto;}

.floatleft {float:left;}
.floatright {float::right;}
.tentop {margin-top: 10px;}
.thirtytop {margin-top:30px;}
.tenbottom {margin-bottom: 10px;}
.bottomtwenty {margin-bottom:20px;}
.righttwenty {margin-right:20px;}
.clearboth {clear:both;}
.clearleft {clear:left;}
h3.storytitle {text-indent:0px;}

.minusfifty {margin-top:-50px;}

.storytitle a { text-decoration:none;}
.storytitle a:hover { text-decoration:underline;}
.post p {margin:0 0 10px 0;}
.storytitle, .post {margin-left:7px;}


/* ------- Link Icons and Misc ------- */

/* Makes sure the icons are not cut */

a[href^="mailto:"], a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"], 
a[href$=".rdf"], a[href^="aim:"], .sdtwitter, .sddeviant, .sdgoodreads, .sdetsy, .sddrunk, .sdmyspace, .sdfanflow {
  padding:2px 0 2px 22px;
  margin:-2px 0;
  background-repeat: no-repeat;
  background-position: left center;
}


.sdtwitter  { background-image: url(../img/icons/twitter.png); } 
.sddeviant  { background-image: url(../img/icons/deviantart.png); }
.sdgoodreads { background-image: url(../img/icons/goodreads.png); }
.sdetsy  { background-image: url(../img/icons/etsy.png); }   
.sddrunk  { background-image: url(../img/icons/drunkduck.png); } 
.sdmyspace  { background-image: url(../img/icons/myspace.png); } 
.sdfanflow { background-image: url(../img/icons/fanflow.png); }

a[href^="mailto:"] { background-image: url(../img/icons/email.png); }
a[href$=".pdf"]   { background-image: url(../img/icons/pdf.png); }  
a[href$=".doc"]   { background-image: url(../img/icons/doc.png); }  
a[href$=".xls"]   { background-image: url(../img/icons/xls.png); }  

a[href$=".rss"], 
a[href$=".rdf"]   { background-image: url(../img/icons/feed.png); }


/* ------- Footer ------- */

#footer { clear:both  }
#footer ul {
	width: 800px;
	height: 24px;
	margin: 20px 0 0px 20px;
	padding: 0;
	list-style-type:none;
	white-space:nowrap;
	overflow: hidden;
}

#footer li { display:inline; }

#footer li a {
	margin: 0 auto;
	padding: 0 .5em;
	display: block;
	font-size:11px;
	float:left;
	text-decoration:underline;
}

.copyright {font-size:11px; color:342415; padding:0 0 20px 0; margin: 0 0 0 20px;}

/* ------- NAVIGATION MATRIX ------- */
#nav {
width: 826px;
height: 24px;
position: relative;
/*background: url(../img/nav_main.png);*/
margin: 0 auto;
padding: 0;
list-style-type:none;
}

#nav li { float: left; }

#nav li a {
position: absolute;
top: 0;
margin: 0;
padding: 0;
display: block;
height: 24px;
background: url(../img/nav_main.png) no-repeat;
text-indent: -9999px;
overflow: hidden;
}

/*up state*/
li#nav_home a {
left: 0;
width: 68px;
background-position: 0 0;
}

li#nav_read a {
left: 68px;
width: 156px;
background-position: -68px 0;
}

li#nav_blog a {
left: 224px; /* 68 + 156 */
width: 68px;
background-position: -224px 0;/*same as left value */
}

li#nav_store a {
left: 292px; /* next value comes from adding left and width from previous link */
width: 78px;
background-position: -292px 0;
}

li#nav_characters a {
left: 370px;
width: 124px;
background-position: -370px 0;
}

li#nav_fun a {
left: 494px;
width: 112px;
background-position: -494px 0;
}

li#nav_press a {
left: 606px;
width: 74px;
background-position: -606px 0;
}

li#nav_about a {
left: 680px;
width: 81px;
background-position: -680px 0;
}

li#nav_links a {
left: 761px;
width: 65px;
background-position: -761px 0;
}


/*--- Hover state---*/

li#nav_home a:hover {
background-position: 0 -24px;
}

li#nav_read a:hover {
background-position: -68px -24px;
}

li#nav_blog a:hover {
background-position: -224px -24px;
}

li#nav_store a:hover {
background-position: -292px -24px;
}

li#nav_characters a:hover {
background-position: -370px -24px;
}

li#nav_fun a:hover {
background-position: -494px -24px;
}

li#nav_press a:hover {
background-position: -606px -24px;
}

li#nav_about a:hover {
background-position: -680px -24px;
}

li#nav_links a:hover {
background-position: -761px -24px;
}


/*--- current state ---*/
#body_home li#nav_home a {
background-position: 0 -48px;
}

#body_read li#nav_read a {
background-position: -68px -48px;
}

#body_blog li#nav_blog a {
background-position: -224px -48px;
}

#body_store li#nav_store a {
background-position: -292px -48px;
}

#body_characters li#nav_characters a {
background-position: -370px -48px;
}

#body_fun li#nav_fun a {
background-position: -494px -48px;
}

#body_press li#nav_press a {
background-position: -606px -48px;
}

#body_about li#nav_about a {
background-position: -680px -48px;
}

#body_links li#nav_links a {
background-position: -761px -48px;
}
