/*
 * @copyright	Copyright (C) 2011 Simplify Your Web, Inc. All rights reserved.
 * @license		GNU General Public License version 3 or later; see LICENSE.txt
 */

@charset "UTF-8";

/* html elements */

html {
  	height: 101%;
  	margin-bottom: 1px;
  	-webkit-text-size-adjust: none; /* disable text size adjust on the iPhone */
}

body {
	margin: 0;
	padding: 0;	
	min-height: 100%;
    font-size: 16px; /* it is the default (or 100%)  */ 
	line-height: 1.5em; /* 16 × 1.5  = 24 */
}

/* headings */

h1, .h1, h2, .h2, h3, .h3 {
	letter-spacing: 2px;    
	text-transform: capitalize;
}

.sidepane h3, .h3 {
	text-transform: uppercase;
}

/* paragraphs */

p {
	margin-top: 0;
	margin-bottom: 0;
}

p + p {
    margin-top: 1.5em;
}

p + :not(p) { /* add space between p and the next element if it not a p */
    margin-top: 1.5em;
}

/* links */

a {
	text-decoration: none;
}

a:hover,
a:active,
a:focus {
	text-decoration: underline;
}

a img {
	border: none;
}

/* lists */

ul, 
ol {
  	margin: 0 0 1.5em 0;
}

ul {
	list-style: square outside none;
}

ul ul,
ol ol,
ul ol,
ol ul {
  	margin: 5px 0 5px 30px;
}

dl {
	margin-bottom: 1.5em;
	font-size: 0.875em;
}

dt {
	font-weight: bold;
}

dd {
	margin-left: 20px;
}

/* quotes */

blockquote {
    margin: 0 60px 0 45px;
  	padding-left: 10px;
  	text-indent: -0.4em;
}

blockquote b {
	display: block;
	text-indent: 0;
}

/* code */

pre,
code {
	font-family: monospace;
}

pre {
	overflow: auto;
}

/* tables */

table {
	max-width: 100%;
	width: 100%;
}

caption {
	text-align: center;
	font-size: 0.8em;
}

/* forms */

fieldset { 
	padding: 10px;
	margin-bottom: 1em;
    border: none;
}

fieldset > :last-child {
	margin: 0;
}

legend {
	font-size: 1em;
	line-height: inherit;
}

label {
	display: inline-block;
}

input,
textarea {
	font-size: 0.875em;
	line-height: 1.5em;
}

select {
	border-width: 1px;
	border-style: solid;
	margin: 0.5em 0;
}

/* miscellaneous */

q,
i,
em,
cite {
	font-style: italic;
	font-weight: inherit;
}

s,
del {
	text-decoration: line-through;
}

small {
	font-size: 0.75em;
	line-height: 1em;
}

/* images */

img {
	max-width: 100%;
	height: auto;
	font-style: italic;
}

figure {
    margin: 20px auto;
    text-align: center;
    padding: 20px;
    width: fit-content;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

figcaption {
    font-size: .9em;
    padding-top: 20px;
}