/* NOW: let us slowly put the pieces back together */

/* THE BASICS */

body {
  background: #78a7c4;
  color: rgba(30,40,30,.65);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 62.5%;
	font-weight: 200;
	line-height: 1.125em;
}

strong { 
  font-weight: bold;
  font-size: 1.125em;
}

em {
  font-family: Palatino, Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.125em;
  letter-spacing: 0;
}

input,
button,
textarea { 
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a:link, a:visited {
	color: #2d2b25;
	text-decoration: none;
}

a:hover {
	color: #403a20;
}


/* SOME USELESS HEADERS */

h1 {
  font-size: 4.8em;
  letter-spacing: -.05em;
  font-weight: bold;
  line-height: 1.1em;
}

h2 {
  font-size: 3.6em;
  letter-spacing: -.05em;
  font-weight: bold;
  line-height: 1.1em;
}

h3 {
  font-size: 3em;
  letter-spacing: -.05em;
  font-weight: bold;
  line-height: 1.05em;
}

h3.serif {
  padding: .0 0 0;
  font-size: 2.1em;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 0;
  font-weight: normal;
}

h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.8em;
  line-height: 1.1em;
  letter-spacing: 0;
  font-weight: normal;
  line-height: 1.1em;
}

h4.sans {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	letter-spacing: -.05em;
	font-weight: bold;
}


/* A POTPURRI OF TEXT */

.simple-text {
  font-size: 1.4em;
}

.plain-text {
  font-size: 1.4em;
  line-height: 1.6em;
}

.plain-text a, .plain-text a:visited {
  font-weight: bold;
  border-bottom: 1px dashed #d9d9d1;
}

.plain-text a:hover {
  border-bottom: 1px solid #d9d9d1;
}

.plain-text p,
.plain-text ul {
  margin-bottom: 1em;
}

.plain-text .intro {
  font-size: 1.125em;
  font-weight: bold;
}

.serif-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.8em;
  line-height: 1.2em;
}

.serif-text strong {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.serif-text a, .serif-text a:visited {
  font-weight: bold;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-bottom: 1px dashed #403a20;
}

.serif-text a:hover {
    border-bottom: 1px dashed #595336;
}

p.serif-text,
.serif-text p,
.serif-text ul {
    margin-bottom: 1em;
}

.serif-text .intro {
    font-size: 1.125em;
    font-weight: bold;
}


/* LIST STYLE SALMAGUNDI */

/* plain list */

.plain-list {
  text-align: left;
}

.plain-list li em {
  font-size: 1.25em;
  font-style: italic;
  font-family: Palatino, Georgia, 'Times New Roman', serif;
  font-weight: 200;
}

ol.plain-list.numbered {
  margin-top: .75em;
  list-style-type: none;
}

.plain-list.numbered li {
  margin: 0;
  padding: .75em 0 .85em 42px;
  border-top: 1px dashed #ebe8e1;
  background-position: .5em left;
  background-repeat: no-repeat;
}


/* A VARIETY OF MEDIOCRE FORM STYLINGS */

label {
  display: block;
  font-weight: bold;
  font-size: 1.4em;
  padding: 1.5em 1em 0;
  text-align: right;
}

.checkbox input {
  font-size: 1.4em;
  margin: 1.5em 0em 0;
  float: left;
}

legend {
  font-weight: bold;
  font-size: 1.4em;
}

input[type='text'], input[type='password'], textarea {
  color: rgba(99,132,153,1);
  border: 0;
  font-weight: bold;
  border: .1em rgba(99,132,153,.25) solid;
  border-width: .1em 0;
  width: 14em;
  font-size: 2em;
  padding: .4em .25em .1em;
  margin: .25em 0;
  background: rgba(255,255,255,.8);
}

input[type="file"] {
  color: rgba(99,132,153,1);
  border: 0;
  font-weight: bold;
  width: 14em;
  font-size: 2em;
  padding: .4em .25em .1em;
  margin: .25em 0;
}

input[type='text'].attenuated {
  font-size: 1.4em;
  padding: .571em .357em .142em;
  margin: .357em 0;
  font-weight: 200;
}

textarea {
  width: 28em;
  resize: none;
  font-size: 1.4em;
  padding: .7em .25 .1em;
  height: 1.8em;
}

textarea.deep {
  height: 8em;
}

textarea.shallow {
  height: 1em;
}

input[type='text']:focus, input[type='password']:focus, textarea:focus {
  color: rgba(0,0,0,1);
  background: rgba(255,255,255,.95);
}

.field {
  clear: both;
}

.buttons {
  text-align: right;
  background: transparent;
  border: 0;
  padding: 1em 2em 0;
}

.tight .buttons {
  padding-bottom: 1em;
}

.buttons p {
  display: inline;
}

/* THE FLIPPIN' STRUCTURE */

h1 a {
  display: block;
  margin: 0 auto;
  text-indent: -9999em;
  text-decoration: none;
  overflow: hidden;
  width: 512px;
  height: 72px;
  background: url('../images/h1.png');
}


/* navigation */

#navigation li {
  display: inline;
  padding: 0 1em;
}

/* comic list */

.comic-list li {
  margin: 0 0 2em;
  float: left;
}

.comic-list li .cite {
  padding-top: .45em;
}

.comic-list li .buttons {
  padding-right: 1em;
}

.comic-list li form {
  float: right;
  padding-right: 3em;
}

.button {
  opacity: .25;
  cursor: pointer;
  margin: 0 .25em;
  float: right;
  border: 0;
  padding: 0;
  display: block;
  width: 20px;
  height: 20px;
  text-indent: -9999em;
  text-decoration: none;
  overflow: hidden;
}

.button:hover {
  opacity: .5;
}

.edit-button {
  background: transparent url(../images/edit-button.png) no-repeat;
}

.delete-button {
  background: transparent url(../images/delete-button.png) no-repeat;
}



/* THE STRUCTURE TYPES */

.bound {
  width: 60em;
  margin: 0 auto;
}

.primary {
  width: 42em;
  float: left;
}

.tertiary {
  width: 18em;
  float: left;
}


/* THE BLOCK TYPES */

.block {
  overflow: auto;
  padding: 1em 2em;
}

.flush {
  overflow: auto;
  padding-left: 0;
  padding-right: 0;
}

.headspace {
  padding-top: 3em;
  padding-bottom: 3em;
}

.tight {
  padding: 0;
}

.header {
  padding: 4em 2em 1em;
}

.padded {
  padding: 2em 2em 4em;
}

.centered {
  text-align: center;
}

.framed {
  margin: 2em 10em;
  background: rgba(255,255,255,.05);
}

.top-delineated {
  border-top: 1px dashed rgba(255,255,255,.3);
}

.bottom-delineated {
  border-bottom: 1px dashed rgba(255,255,255,.3);
}

.top-delineated-dark {
  border-top: 1px solid rgba(99,132,153,.25);
}

.bottom-delineated-dark {
  border-bottom: 1px solid rgba(99,132,153,.25);
}

.text-column {
  width: 42em;
  margin-left: 18em;
}

.comic {
  margin: 0 auto;
  padding: 1em 0;
  background: rgba(99,132,153,.4);
  text-align: center;
}

.comic img {
  width: 58em;
  -webkit-box-shadow: 0 0 1em rgba(0,0,0,.1);
  -moz-box-shadow: 0 0 1em rgba(0,0,0,.1);
}

.overflow {
  overflow: visible;
}

.illustration {
  width: 14em;
}




/* THE UTILITIES */

.white {
  color: rgba(255,255,255,.8);
}

.white a, .white a:visited {
  color: rgba(255,255,255,.8);
}

.white a:hover {
  color: rgba(255,255,255,1);
}

.dim {
  color: rgba(255,255,255,.4);
}

.dim a, .dim a:visited {
  color: rgba(255,255,255,.4);
}

.dim a:hover {
  color: rgba(255,255,255,.8);
}

.quiet {
  font-size: 1.2em;
  color: rgba(255,255,255,.6);
}

.quiet.dark {
color: rgba(0,0,0,.1);
}

h2.quiet {
  font-size: 1.8em;
}

.clear {
  clear: both;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

.hidden {
  display: none;
}