/* Eric Meyer's CSS Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
strong{
  font-weight:bold;
}

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear { display: inline-block; }   
.clear:after, .container:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }

/* Globals */

html,body{
  background:#369;
}
body{
  font-family:Verdana,sans-serif;
  font-size:100%;
}
a{
  color:#0099ff;
}
a:hover,a:focus{
  color:#33ccff;
}
a:active{
  color:#0066cc;
}
a.btn{
  
}
a.btn:hover,a.btn:focus{
  
}
a.btn:active{
  
}

/* Globals > Headers */

h2{
  margin:0 0 1.5em 0;
  font-size:1.5em;
  font-weight:bold;
  letter-spacing:-1px;
}

/* Globals > Forms */

form{
  width:500px;
  margin:10px auto;
  background:#f0f0f0;
  border:1px solid #cccccc;
}
form label{
  display:block;
  float:left;
  width:100px;
  padding:10px 10px 0 5px;
  font-size:0.75em;
  font-weight:bold;
  text-align:right;
}
form div.section{
  margin:10px auto;
}
form span.input{
  display:block;
}
form span.input input,
form span.input textarea{
  margin:10px auto;
}
form span.noteRight{
  display:block;
  float:right;
  padding:15px 10px 0 0;
  color:#999999;
  font-size:0.625em;
}
form span.noteUnder{
  display:block;
  margin:0 0 0 120px;
  color:#999999;
  font-size:0.625em;
}
form div.sectionError{
  background:#cc3333;
}
form div.sectionError span.errorDesc{
  display:block;
  margin:0 0 0 120px;
  font-size:0.625em;
}
form div.sectionError span.note{
  color:#ffffff;
}
form div.submit{
  margin:10px auto;
  text-align:center;
}
form div.submit input{
  font-size:1.125em;
}

/* Globals > Messages */

div.msg,div.error{
  width:75%;
  margin:10px auto;
  padding:20px 10px;
/*  font-size:12pt;*/
/*  line-height:14pt;*/
  text-align:center;
}
div.msg{
  background:#cccccc;
  border:1px solid #999999;
}
div.error{
  background:#cc3333;
  border:1px solid #990000;
}

/* Globals > Lists */

ul.links{}
ul.links li{
  display:inline;
  margin:0 0.5em 0 0;
  padding:0 0.75em 0 0;
  border-right:1px solid #295077;
}
ul.links li.cur a{
  color:#000;
  font-weight:bold;
  text-decoration:none;
}
ul.links li.last{
  margin:0;
  padding:0;
  border-right:none;
}

/* Globals > Site header */

div#site-header{
  width:800px;
  height:105px;
  margin:0 auto;
  background:#000;
}
div#site-header h1{
  float:left;
  width:525px;
  height:105px;
}
div#site-header h1 a{
  display:block;
  width:100%;
  height:100%;
  background:transparent url(../img/logo-ava.jpg) 0 0 no-repeat;
  text-indent:-9999em;
}
div#site-header h2{
  float:right;
  width:255px;
  height:105px;
  margin:0;
  text-indent:-9999em;
}
div#site-header h2.adams-1{
  background:transparent url(../img/header-adams-1.jpg) 0 0 no-repeat;
}
div#site-header h2.adams-2{
  background:transparent url(../img/header-adams-2.jpg) 0 0 no-repeat;
}

/* Globals > Site footer */

div#site-footer{
  clear:both;
  width:800px;
  margin:20px auto 10px auto;
  font-size:0.75em;
  text-align:center;
}

/* Globals > Site content */

div#site-content{
  width:800px;
  margin:0 auto;
  background:transparent url(../img/bg-sidebar.jpg) 0 0 repeat-y;
}

/* Globals > Site content > Site sidebar */

div#site-sidebar{
  float:left;
  width:130px;
  height:100%;
}
div#site-sidebar ul li a{
  display:block;
  width:130px;
  height:29px;
  background-color:transparent;
  background-position:0 0;
  background-repeat:no-repeat;
  text-indent:-9999em;
}
div#site-sidebar ul li a.home{
  background-image:url(../img/sidebar-home.jpg);
}
div#site-sidebar ul li a.latest{
  background-image:url(../img/sidebar-latest.jpg);
}
div#site-sidebar ul li a.news{
  background-image:url(../img/sidebar-news.jpg);
}
div#site-sidebar ul li a.archives{
  background-image:url(../img/sidebar-archives.jpg);
}
div#site-sidebar ul li a.contact{
  background-image:url(../img/sidebar-contact.jpg);
}
div#site-sidebar ul li a.links{
  background-image:url(../img/sidebar-links.jpg);
  border-bottom:1px solid #426686;
}
div#site-sidebar ul li a:hover,
div#site-sidebar ul li a:focus,
div#site-sidebar ul li a:active{
  background-position:0 -29px;
}
div#site-sidebar ul li.cur a,
div#site-sidebar ul li.cur a:hover,
div#site-sidebar ul li.cur a:focus,
div#site-sidebar ul li.cur a:active{
  background-position:0 -58px;
}
div#site-sidebar div.admin{
  margin:5px 5px 0 5px;
  padding:0.5em;
  background:#295077;
  border:1px solid #194067;
}
div#site-sidebar div.admin h2{
  margin:0 0 0.5em 0;
  color:#000;
  font-size:1.25em;
  font-weight:bold;
  line-height:1.5em;
}
div#site-sidebar div.admin ul{
  margin:0 0 0 1.5em;
  font-size:0.875em;
  line-height:1.5em;
  list-style:disc;
}
div#site-sidebar div.admin ul li a{
  display:inline;
  width:auto;
  height:auto;
  text-indent:0;
}

/* Globals > Site content > Site body */

div#site-body{
  margin:0 0 0 130px;
  padding:20px;
  border-top:5px solid #295077;
  border-left:5px solid #295077;
}
div#site-body div#user-box{
  height:3em;
}
div#site-body div#user-box p{
  float:right;
  padding:0.5em;
  background:#295077;
  border:1px solid #194067;
}

/* Main > Index */

div#main-index{
  padding:1px;
  background:#aeb6c1;
  border:1px solid #000;
}
div#main-index div.latest-comic{
  background:#f0cb59 url(../img/bg-yellow.png) 0 0 repeat;
  border-top:1px solid #000;
  border-left:1px solid #000;
  border-right:1px solid #000;
}
div#main-index div.latest-comic h2{
  width:309px;
  height:34px;
  margin:20px auto 0 auto;
  background:transparent url(../img/main-index-header-latest-comic.png) 0 0 no-repeat;
  text-indent:-9999em;
}
div#main-index div.latest-comic div.adam-g,
div#main-index div.latest-comic div.adam-m{
  width:115px;
  height:135px;
  background-color:transparent;
  background-position:0 0;
  background-repeat:no-repeat;
  text-indent:-9999em;
}
div#main-index div.latest-comic div.adam-g{
  float:left;
  margin:-30px 0 0 40px;
  background-image:url(../img/main-index-circle-adamg-bw.jpg);
}
div#main-index div.latest-comic div.adam-m{
  float:right;
  margin:-30px 40px 0 0;
  background-image:url(../img/main-index-circle-adamm-bw.jpg);
}
div#main-index div.latest-comic div.adam-g-cur{
  background-image:url(../img/main-index-circle-adamg.jpg);
}
div#main-index div.latest-comic div.adam-m-cur{
  background-image:url(../img/main-index-circle-adamm.jpg);
}
div#main-index div.latest-comic div.thumbnail-wrapper{
  width:309px;
  height:85px;
  margin:0 auto;
  background:transparent url(../img/main-index-thumbnail-wrapper.png) 0 0 no-repeat;
}
div#main-index div.latest-comic div.thumbnail-wrapper a.thumbnail{
  display:block;
  width:294px;
  height:71px;
  margin:0 0 0 15px;
  background:transparent url(../img/main-index-latest-comic-thumbnail.jpg) 0 0 no-repeat;
  text-indent:-9999em;
}
div#main-index div.latest-news{
  clear:both;
  border:1px solid #000;
}
div#main-index div.latest-news h2{
  width:312px;
  height:51px;
  margin:0 auto;
  background:transparent url(../img/main-index-header-latest-news.jpg) 0 0 no-repeat;
  text-indent:-9999em;
}
div#main-index div.latest-news p{
  padding:50px 0;
  font-size:0.875em;
  font-style:italic;
  text-align:center;
}

/* Login */

form#login{
  width:350px;
}
form#login div.section label{
  padding:5px 10px 0 0;
}
form#login div#username input,
form#login div#password input{
  width:200px;
}

/* Logout */

/* Comics > Index */
/* Comics > Show */

div#comics{
  padding:1px;
  background:#aeb6c1;
  border:1px solid #000;
}
div#comics div.comics-content{
  background:#000;
}
div#comics div.nav{
  width:185px;
  margin:0 auto;
  padding:20px 0;
  overflow:auto;
  text-align:center;
}
div#comics div.nav a{
  float:left;
  padding:27px 0 0 0;
  color:#fff;
  font-size:9px;
  text-decoration:none;
}
div#comics div.nav a.first{
  width:48px;
  background:transparent url(../img/nav-first.jpg) 0 0 no-repeat;
}
div#comics div.nav a.prev{
  width:46px;
  background:transparent url(../img/nav-prev.jpg) 0 0 no-repeat;
}
div#comics div.nav a.next{
  width:45px;
  background:transparent url(../img/nav-next.jpg) 0 0 no-repeat;
}
div#comics div.nav a.last{
  width:45px;
  background:transparent url(../img/nav-last.jpg) 0 0 no-repeat;
}
div#comics div.subject{
/*  clear:both;*/
  color:#fff;
  font-family:Times,serif;
  font-size:1.25em;
  font-weight:bold;
  text-align:center;
}
div#comics div.comic{
  text-align:center;
}
div#comics div.commentary{
  margin:10px 40px;
  color:#fff;
}
div#comics div.commentary p.header{
  margin:0 0 0.5em 0;
  color:#666;
  font-size:0.75em;
  font-weight:bold;
}
div#comics div.keywords{
  margin:10px 40px;
  color:#ccc;
  font-size:0.75em;
}

/* Comics > New */
/* Comics > Edit */

form#comics-edit div#subject input,
form#comics-edit div#commentary textarea,
form#comics-edit div#keywords input{
  width:300px;
}
form#comics-edit div#comic input,
form#comics-edit div#thumbnail input{
  width:200px;
}
form#comics-edit div#subject input{
  font-size:12pt;
}
form#comics-edit div#commentary textarea{
  height:200px;
}

/* Links > Index */

div#links-index dl dt{
  font-size:1.25em;
  line-height:1.5em;
}
div#links-index dl dd{
  margin:0 0 1.5em 0;
}