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


/* ------- Main Container ------- */
body {background-color:#290F07;}
p, h1, h2, h3, h4, h5, h6, {font-family:Helvetica, Arial, sans-serif;}
.container {margin: 0px auto; width:990px; min-height:800px; background: #ece5d8 url(../img/bkg_papertexture.jpg) repeat-y center fixed; position:relative; box-shadow: 0px 2px 3px #000; -moz-box-shadow: 0px 2px 3px #000; -webkit-box-shadow: 0px 2px 3px #000;} 
a {color:#004B8B;}
a:visited {color: #113A64;}
a:hover {color:#1460A9;}
a:active {color: #3366CC;}
.hdrimg { margin-bottom:-60px; }
.distressleft {position:absolute; left:0px; top:0px; z-index:9999; }
.distressright {position:absolute; right:0px; top:0px; z-index:9999; }
#main {padding:10px; width:595px; margin: 10px 0 20px 20px; float:left;}

a.reveal, a.reveal:hover, a.reveal:active, a.hide, a.hide:hover, a.hide:active {color:#291D08; text-decoration:none; font-weight:bold; padding: 0 11px 0 7px; background: url(../img/arrow_down.png) no-repeat center right;}
a.hide, a.hide:hover, a.hide:active {background: url(../img/arrow_up.png) no-repeat center right;}
a.reveal:active, a.hide:active {color:000#;}

/* ------- PRESS PAGE ------- */
body#body_press ul.presslist li a {color:#004B8B; text-decoration:none; padding: 0 13px 0 0; background: url(../img/icons/external.png) no-repeat right center;}
ul.presslist li a:hover {text-decoration:underline;}
.container h2.presshdr {border-bottom:1px solid; padding-bottom:7px;}

/* ------- HOME PAGE ------- */
.entry-content, .entry-summary {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(41, 15, 7, 0.2);
    clear: both;
    margin: 5px 0 10px;
    padding: 20px 20px 10px;
}
body#body_home #main h2:first-child {border-bottom: 1px solid; padding-bottom:7px;}
body#body_home #main h2.less {margin-top: 0px;}
 
/* ------- HEADERS AND IMAGES ------- */
.awards img, .awards p {margin:10px;}
.top {margin-top:20px;}
.signature {display:block; margin:8px 0px 0px;}
.bioimage {float:left; margin:0 15px 5px 0; border: 1px solid rgba(41,15,7,0.6);}
.awardimage {float:left; margin:0 10px 5px 0;}
div#main div#article {
	padding:10px 10px 5px 15px;
	margin-top: -13px;
}
.container h2.cast {font-size:2.3em; margin:25px 0 15px;}

/* ------- AD COLUMNS ------- */
#adcolumn {width:310px; margin: 40px 25px 0 0; float:right; text-align:center; min-height:650px;}
#adcolumn p {color:#290F07; font-size:13px;}
#skyscraperleft, #skyscraperright {position:absolute; width:160px; top:250px;}
#skyscraperleft {left:12px;}
#skyscraperright {right:12px;}
/* ---#skyscraperleft div, #skyscraperright div {margin:20px 0;}--- */

/* ------- STORE ------- */
#content h2.storesubhead {font-size: 1.5em;  margin: 1.07em 0 .535em; color:#850627; font-weight:bold; line-height:1em; }

/* ------- DREAM TEAM ------- */
#meetteambox {
	position:absolute;
	top:700px;
	right:60px;
	width:205px; 
	padding:15px;
	margin:0;
	background-color:#E6D1A1; /*The Fallback Color*/ 
	background-color: rgba(255, 255, 255, 0.3); margin:5px 0 10px 10px;
}
#meetteambox p {margin:3px 0px;}
#meetteambox h4 {margin:0; text-indent:0;}
#dreamteambios em {color:#850627; font-size:1em;}
#dreamteambios strong {font-size:1.125em;}
#dreamteambios img {margin:0 10px 20px 0; float:left; border: 1px solid rgba(41,15,7,0.6);}
#dreamteambios table {border:none; border-spacing:0 10px;}


/* ------- READ COMIC PAGES ------- */
#comicnav {margin:25px 0 0 0; text-align:center;}
#comicnav a, #comicnav p {margin-right:15px; font-size:1.5em; font-weight:bold; text-decoration:none;}
#comicnav img {
	margin:14px 0;
	-moz-box-shadow: 0 2px 4px #291D08;
	-webkit-box-shadow: 0 2px 4px #291D08;
	box-shadow:0 2px 4px #291D08; 
}
.comicnav {margin-right:15px; font-size:1.5em; font-weight:300; text-decoration:none;}
#comicnav a.inactive {color:#000000; text-decoration:none;}
#comicnav a.spread {font-size:1.2em; margin-bottom:20px; line-height:2.5em;}

/*#issues ul.current li:last-child {padding-right:57px; background:url(../img/newpg.png) right top no-repeat;} */

#issues {width:555px; margin-left:15px;}
#issues img {
	margin:0 15px 25px 15px; 
	float:left;
	border: 1px solid rgba(41,15,7, .7);
	-moz-box-shadow: 0px 1px 3px #291D08;
	-webkit-box-shadow: 0px 1px 3px #291D08;
	box-shadow: 0px 1px 3px #291D08;
}
#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:#291D08; 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; color:#850627; font-weight:bold; }
.container h3 { font-size: 1.4em;  margin: 1.14em 0 .57em; }
.container h4 { font-size: 1.125em;  margin: .5em 0 .8em 0; font-weight:bold; color:#291D08;}
.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;}
.tiny {font-size: 10px;}
.bannerwarn {font-size:10px; margin-left: 7px;}
.biomain {color:#850627; margin:9px 0px; font-style:italic;}
a.synopsis {text-decoration:none;}

/* ------- 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;}

#thankyou {height: 700px; overflow:hidden;}
.cancelart {position:absolute; top:80px; right:85px;}
#thankyou p {margin:10px 0; font-size:15px; width:450px;}
#thankyou h1.thirtytop {margin-top:50px; color:#850627;}
#thankyou p.red {color:#850627;}
#thankyou ul.nobullets {font-size:1.5em; line-height:1.35em; }

#content div.eStore-product-description p.description {margin: 4px 0 -11px 0;}
#content div.eStore-product-description input {font-size:13px; line-height:1.4em; margin: 5px 0;}

/* -------ACCORDION FOR CHARACTERS ------- */
.element {
	background-color:#E6D1A1; /*The Fallback Color*/
	background-color: rgba(255, 255, 255, 0.2);
	box-shadow: 0px 0px 2px #333333; -moz-box-shadow: 0px 0px 2px #333333; -webkit-box-shadow: 0px 0px 2px #291D08;
	margin:0 0 10px 10px;
	padding: 5px 0 0 5px;
}
.element p {padding: 0 10px 0 10px; margin:15px 0 15px 0;}
.element img {margin:10px; float:right; border: 1px solid rgba(41, 29, 8, 0.7);}
.container .toggler {font-size:1.125em; margin:0 0 2px 15px;}
.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; }

.imglists li {margin: 0 10px 7px 0;}
.imglists img {margin:5px 10px 0 0; border: 1px solid rgba(41,15,7, .7);}
ul.presslist img.righttwenty {border: 1px solid rgba(41,15,7, .7);}

.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;}


/* ------- 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;}

#terms {    
	float: left;
    margin: 10px 0 20px 50px;
    padding: 10px;
    width: 860px;
}
.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;}

.funstuffart {position:absolute; top:80px; right:30px;}
.linksart {position:absolute; top:90px; right:70px;}
.donateart {position:absolute; top:150px; right:5px;}
.orderart {position:absolute; top:100px; right:165px;}
.aboutart {position:absolute; top:100px; right:5px;}

.comichdr {display:block; margin:0 auto;}

.wallpaperthumbs {
	margin:0 33px 25px 0; 
	border: 1px solid rgba(41, 29, 8, 0.7);
	-moz-box-shadow: 1px 1px 2px #291D08;
	-webkit-box-shadow: 1px 1px 2px #291D08;
	box-shadow: 1px 1px 2px #291D08; 
}

/* ------- 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, .sdforum, .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); }   
.sdforum  { background-image: url(../img/icons/forum.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: 927px;
height: 52px;
position: relative;
/*background: url(../img/nav_main.png);*/
margin: 0 auto;
padding: 0;
list-style-type:none;
text-wrap:none;
}

#nav li { float: left; }

#nav li a {
position: absolute;
top: 1.1em;
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: 86px;
background-position: 0 0;
}

li#nav_read a {
left: 86px;
width: 180px;
background-position: -86px 0;
}

li#nav_blog a {
left: 266px; /* 86 + 180 */
width: 79px;
background-position: -266px 0;/*same as left value */
}

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

li#nav_characters a {
left: 430px;
width: 141px;
background-position: -430px 0;
}

li#nav_fun a {
left: 571px;
width: 122px;
background-position: -571px 0;
}

li#nav_press a {
left: 693px;
width: 81px;
background-position: -693px 0;
}

li#nav_about a {
left: 774px;
width: 92px;
background-position: -774px 0;
}

li#nav_links a {
left: 865px;
width: 59px;
background-position: -870px 0;
}


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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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