/*
Theme Name: purplearth_s
Theme URI: http://purplearth.net/
Author: Obbie King
Author URI: http://purplearth.net/
Description: purplearth theme based on _s. Features left-side nav menu, title and description superimposed on header image, responsive design, and rounded buttons for navigation links
Version: 1.0
License: GNU General Public License
Tags:

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/* Fonts
-------------------- */

   /* 
@font-face {
    font-family: 'HR-black';
    src: url('fonts/helvetica-rounded-black.eot');
    src: url('fonts/helvetica-rounded-black.eot?#iefix') format('embedded-opentype'),
         url('fonts/helvetica-rounded-black.otf') format('opentype'),*/
    /*src: url('fonts/BPreplayBold.eot?#iefix') format('embedded-opentype'),
         url('fonts/BPreplayBold.otf') format('opentype'),
    src: url('fonts/BPreplayBold.eot');*/

@font-face {
    font-family: 'HR-black';
	src: url('fonts/BPreplayBold.eot');
	src: local('☺'), url('fonts/BPreplayBold.woff') format('woff'), url('fonts/BPreplayBold.ttf') format('truetype'), url('fonts/BPreplayBold.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HR-bold';
    src: url('fonts/BPreplayBold.eot?#iefix') format('embedded-opentype'),
         url('fonts/BPreplayBold.otf') format('opentype'),
    src: url('fonts/BPreplayBold.eot');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gillsans';
    src: url('fonts/gill-sans-std.eot');
    src: url('fonts/gill-sans-std.eot?#iefix') format('embedded-opentype'),
         url('fonts/gill-sans-std.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gillsans-bold';
    src: url('fonts/gill-sans-mt-bold.eot');
    src: url('fonts/gill-sans-mt-bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/gill-sans-mt-bold.ttf') format('truetype'),
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'optima';
    src: url('fonts/optima.eot');
    src: url('fonts/optima.eot?#iefix') format('embedded-opentype'),
         url('fonts/optima.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}

/* =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, 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 {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #306;
	font-family: gillsans, optima, helvetica, arial, sans-serif;
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.35;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	/*clear: both;*/
}
h1,h2,h3 {
	font-family:HR-black,"Arial Black", Gadget, sans-serif;
}
h3 { font-size: 1.2em; }
h2 { font-size: 1.5em; }
h1 { font-size: 1.8em; }
h4,h5,h6 {
	font-weight:bold;
	font-family:gillsans-bold;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 0.6em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
	font-family:gillsans-bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
	font-family:gillsans-bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
	font-style: italic;
}
address {
	margin: 0 0 1.5em;
}
address p {
	margin-bottom:0;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.3em;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}

/* Form elements */
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-family:HR-bold,"Arial Black", Gadget, sans-serif;
	border: solid 2px #c9f;
	padding: 5px 10px 3px;
	border-radius: 15px;
	background-color: #111;
	color:#c9f;
	font-size:0.8em;
	
	
	border-color: #c9f #c9f #c9f #c9f;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	line-height: 1;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #ff0;
	color:#306;
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	-webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
	-moz-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
	box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type=text],
input[type=email],
input[type=password],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	max-width:95%;
	margin:0.3em auto;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus {
	color: #111;
}
input[type=text],
input[type=email],
input[type=password] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

span.required { color:red; }

label,
.must-log-in,
.logged-in-as,
.comment-notes,
form-allowed-tags {
	font-size:0.85em;
}

label {
	display: block;
	line-height:0.85em;
}
.comment-form-comment label {
	font-size:1em;
	font-weight:bold;
}

/* Links */
a {
	color: #30c;
	text-decoration:none;
}
a:visited {
	color: #609;
}
a:hover,
a:focus,
a:active {
	color: #90c;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}


/* =Menu
----------------------------------------------- */

.main-navigation {
	clear: both;
	display: block;
	float: left;
	width:25%;
	font-family:HR-black,"Arial Black", Gadget, sans-serif;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	
	width:80%;
	border-top: thin solid #306;
}
.main-navigation li {
	/*float: left;*/
	position: relative;
	background-color:#FF0;
	border-left: thin solid #306;
	border-right: thin solid #306;
	border-bottom: thin solid #306;
	
	background: linear-gradient(top, #ff6600,#ffff00 45%, #ff6600 );
	background: -moz-linear-gradient(top, #ff6600,#ffff00 45%, #ff6600 );
	background: -webkit-linear-gradient(top, #ff6600,#ffff00 45%, #ff6600 );
}
.main-navigation a {
	display: block;
	text-decoration: none;
	
	padding: 0.5em 1em 0.4em;
	color:#306;
}
.main-navigation ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	width:100%;
	position: absolute;
		top: -1px;
		left: 100%;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: -1px;
}
.main-navigation ul ul a {
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
	background-color:#306;
	color:#ff0;
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
	color:#fff;
}
.main-navigation li.current_page_item,
.main-navigation li.current-menu-item {
	background-color:#306;
	background: linear-gradient(top, #306,#609 45%, #306 );
	background: -moz-linear-gradient(top, #306,#609 45%, #306 );
	background: -webkit-linear-gradient(top, #306,#609 45%, #306 );
}
/* Small menu */
.menu-toggle {
	cursor: pointer;
	
	display: block;
	padding: 0.3em 0 0.1em;
	width: 75%;
	background-color: #ff0;
	margin: 5px auto 0;
	text-align: center;
	border: solid 2px #c9f;
	border-radius: 15px;
	line-height: 1em;
	font-size: 1.1em;
	
	background: linear-gradient(top, #ff6600,#ffff00 45%, #ff6600 );
	background: -moz-linear-gradient(top, #ff6600,#ffff00 45%, #ff6600 );
	background: -webkit-linear-gradient(top, #ff6600,#ffff00 45%, #ff6600 );
}
.main-small-navigation .menu {
	display: none;
}

.main-small-navigation {
	clear: both;
	display: block;
	font-family:HR-black,"Arial Black", Gadget, sans-serif;
}
.main-small-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	
	width:25%;
	margin-left:12.5%;
	border-top: thin solid #306;
}
.main-small-navigation li {
	/*float: left;*/
	position: relative;
	background-color:#FF0;
	border-left: thin solid #306;
	border-right: thin solid #306;
	border-bottom: thin solid #306;
	
	background: linear-gradient(top, #ff6600,#ffff00 45%, #ff6600 );
	background: -moz-linear-gradient(top, #ff6600,#ffff00 45%, #ff6600 );
	background: -webkit-linear-gradient(top, #ff6600,#ffff00 45%, #ff6600 );
}
.main-small-navigation a {
	display: block;
	text-decoration: none;
	
	padding: 0.5em 1em 0.4em;
	color:#306;
}
.main-small-navigation ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	width:100%;
	position: absolute;
		top: -1px;
		left: 88.5%;
	z-index: 99999;
}
.main-small-navigation ul ul ul {
	left: 87.5%;
	top: -1px;
}
.main-small-navigation ul ul a {
}
.main-small-navigation ul ul li {
}
.main-small-navigation li:hover > a {
	background-color:#306;
	color:#ff0;
}
.main-small-navigation ul ul :hover > a {
}
.main-small-navigation ul ul a:hover {
}
.main-small-navigation ul li:hover > ul {
	display: block;
}
.main-small-navigation li.current_page_item a,
.main-small-navigation li.current-menu-item a {
	color:#fff;
}
.main-small-navigation li.current_page_item,
.main-small-navigation li.current-menu-item {
	background-color:#306;
	background: linear-gradient(top, #306,#609 45%, #306 );
	background: -moz-linear-gradient(top, #306,#609 45%, #306 );
	background: -webkit-linear-gradient(top, #306,#609 45%, #306 );
}

/* =Content
----------------------------------------------- */

.sticky {
}
.hentry,
.not-found {
	margin: 0 5% 1.5em 0;
	border: solid thin #c9f;
	padding: 1.5%;
	border-radius: 15px;
	background-color: #f8f8f8;
}
.entry-meta {
	clear: both;
	font-size: 0.85em;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 1em 0 0;
}
.page-links {
	clear: both;
	margin: 1.2em 0 0.5em;
	font-family:HR-black,"Arial Black", Gadget, sans-serif;
}
.page-links a {
	display: inline-block;
	background-color: #306;
	padding: 0.3em 0.8em 0;
	border: 2px solid #c9f;
	border-radius: 10px;
	margin: 0 0.25em;	
	color:#ff0;
}
.page-links a:hover {
	background-color:#ff0;
	color:#306;
}

/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.site-header img,
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
.site-header img,
.entry-content img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.site-header img,
.entry-content img,
img.size-full {
	max-width: 100%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.entry-attachment .attachment a img {
	margin:auto;
}

.wp-caption {
	border: 2px solid #c9f;
	margin-bottom: 1.5em;
	max-width: 100%;
	background-color: #000;
	color: #ffc;
	font-size: 0.85em;
	border-radius:15px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 2.2% auto 0;
	max-width: 95%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 3.3%;
	text-align:left;
}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-content .site-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.site-content .nav-previous, 
.previous-image {
	float: left;
	/*width: 50%;*/
}
.site-content .nav-next,
.next-image {
	float: right;
	text-align: right;
	/*width: 50%;*/
}

/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/* =Widgets
----------------------------------------------- */

.widget {
	/*margin: 0 0 1.5em;*/
	margin: 0 5% 1.5em 0;
	border: solid thin #c9f;
	padding: 1.5%;
	border-radius: 15px;
	background-color: #f8f8f8;
	width:77%;
}


/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
#searchsubmit {
	display: none;
}

/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll #nav-above, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll #nav-below,
.infinite-scroll.neverending #colophon { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending #colophon {
	display: block;
}

/* ----------------------------------------
 purplearth_z added elements start here
------------------------------------------- */

.clearfix {
	clear: both;
}

#page {
	width:100%;
	max-width:1000px;
	margin: 1em auto;
	/*background-color: #f8f8f8;*/
}

#masthead {
	position: relative;
	width:100%;
}

#banner-img img {
	width:100%;
	display:block;
}

#logo {
	/*margin:0.5em;
	float:left;*/
	position:absolute;
	top:0;
	left:0;
	width:20%;
}
#logo img {
	width:80%;
	margin:10%;
}

hgroup {
	margin: 1.5em;
	/*float:left;*/
	position:absolute;
	top:0;
	left: 20%;
	text-shadow:0 0 10px #FFff00;
	/*filter:progid:DXImageTransform.Microsoft.Glow(Color=#ffff00,Strength=10);	/* half-assed attemp to make header drop-shadows work in IE */
}

.site-title {
	font-family:HR-black,"Arial Black", Gadget, sans-serif;
	font-size:3em;
	color:#306;
	line-height:1em;
}
.site-title a,
.entry-title a,
.site-title a:visited,
.entry-title a:visited {
	text-decoration: none;
	color: #306;
}
.site-title a:hover,
.entry-title a:hover {
	color:#90c;
}
.site-description {
	font-size:1.5em;
	font-weight:bold;
	color:#306;
	margin-top: 10px;
	line-height: 1.2em;
}

#primary,
#bottom-widgets {
	width:75%;
	float:right;
}

#content {
	margin-top:1em;
}

#content .site-navigation {
	margin-right:5%;
}
#nav-above a,
#nav-below a,
#image-navigation a {
	display:block;
	font-family:HR-bold,"Arial Black", Gadget, sans-serif;
	border: solid 2px #c9f;
	padding: 5px 10px 3px;
	border-radius: 15px;
	background-color: #111;
	color:#c9f;
	font-size:0.8em;
}

h1.page-title {
	color: #f60;
}

.entry-header {
	border-bottom: solid thin #c9f;
}

.entry-title{
	font-family:HR-black,"Arial Black", Gadget, sans-serif;
	font-size:2em;
	line-height:1em;
}

.hentry .feat-img {
	max-width: 50%;
	float: right;
	margin: 1em 0 0.7em 1em;
	height:auto;
}
.hentry .feat-img img {
	width:100%;
	height:auto;
}

.comments-area {
	margin: 0 5% 1.5em 0;
	border: solid thin #c9f;
	padding: 1.5%;
	border-radius: 15px;
	background-color: #f8e8f8;
}

.comments-title {
	margin-bottom:0.8em;
}

ol.commentlist {
	font-size:0.9em;
	list-style:none;
	counter-reset:comment-counter;
}
ol.commentlist li.comment.depth-1::before {
	content:counter(comment-counter);
	counter-increment:comment-counter;
	display:block;
	font-family:HR-bold,"Arial Black", Gadget, sans-serif;
	border: solid 2px #c9f;
	padding: 5px 10px 3px;
	border-radius: 15px;
	background-color: #111;
	color:#c9f;	
	margin: 0 0 0 -3.5em;
	width: 1em;
	float: left;
}
li.comment {
	margin-bottom:1.5em;
	border:dotted thin #c9f;
	padding:2%;
	border-radius:10px;
}
li.comment {
	background-color:#f8f8f8;
}
li.comment .depth-2,
li.comment .depth-4,
li.comment .depth-6 {
	background-color:#f8e8f8;	
}
li.comment ul.children {
	margin-top:1em;
	list-style:none;
}

.comment .vcard .avatar {
	float:left;
	margin-right:1em;
}
.comment .vcard cite.fn {
	font-size:1.2em;
	font-style:inherit;
	font-family:HR-bold,"Arial Black", Gadget, sans-serif;
}

.comment .commentmetadata {
	font-size:0.85em;
}

.comment .comment-content {
	margin-top:0.8em
}

.comment .reply {
	font-style:italic;
}

#respond { 
	border-top: solid thin #c9f;
	padding: 0.5em 5% 0;
}
#reply-title {
	margin: 0.2em 0 0.5em;
}

#secondary {
	width: 25%;
	float: left;
	clear:left;
	margin-top: 1.5em;
}

h1.widget-title {
	font-size: 1.2em;
	padding: 3px 3px 2px 10px;
	border-bottom: solid thin #c9f;
}

.widget ul {
	list-style: none;
	margin: 0;
}

.widget ul li {
	padding-left: 10px;
	padding-top: 5px;
	border-bottom: dotted thin #c9f;
}
.widget p {
	padding-left: 10px;
	padding-top: 5px;
}
.widget ul li,
.widget p {
	line-height:1.25em;
	font-size:0.9em;
}

#bottom-widgets .widget {
	width:41%;
	float:left;
}

.paypal-donations input[name="submit"] {
	display:block;
	margin:auto;
}

#colophon {
	width:97%;
	border: solid 2px #c9f;
	padding: 1.5%;
	border-radius: 15px;
	background-color: #111;
	color:#c9f;
}

#footer-widgets .widget {
	width:27.9%;
	float:left;
	margin: 5px 1%;
}
#footer-widgets .widget h1.widget-title {
	color:#306;
}

.site-info {
	text-align: center;
	font-size: 0.85em;
	margin-top: 0.5em;
	padding-top: 0.5em;
	border-top: solid thin;
}

/************************
 * responsive structure
 *************************/

@media (max-width: 800px) {	/* 800 pixels or smaller */
	/* downsize the fonts site-wide */
body,
button,
input,
select,
textarea {
	font-size: 14px;
	font-size: 1.4rem;
}	
pre {
	font-size:12px;
	font-size:1.2rem;
}
#page {
	margin:0;
}
}

@media (max-width: 650px) { /* 650 pixels or smaller */
	/* squeeze the header titles down some more */
hgroup {
	margin: 0.8em;
	font-size: 0.8em;
}
	
	/* primary fills the width */
#primary, #secondary, #bottom-widgets {
	width:100%;
	float: none;
}
.hentry,
.comments-area {
	margin:5px 2%;
}
#content .site-navigation {
	margin:0 2%;
}
.entry-title {
	font-size: 1.5em;
	line-height: 1em;
}
	
	/* menu button sits on top */
	
	/* move and/or resize widgets */
.widget,
#bottom-widgets .widget,
#footer-widgets .widget {
	width:42%;
	margin: 5px 2%;
	float: left;
}
}

@media (max-width: 450px) { /* 450 pixels or smaller */
	/* squeeze the header titles down some more */
hgroup {
	margin: 0.5em;
	font-size: 65%;
}
.site-description {
	display:none;
}

.entry-content img.alignleft,
.entry-content img.alignright {
	max-width:50%;
}

.main-small-navigation ul {
	width: 50%;
}
.main-small-navigation ul ul {
	left:20%;
}
.main-small-navigation ul ul ul {
	left:20%;
}
	
	/* all widget areas full width, one above the other */
.widget,
#bottom-widgets .widget,
#footer-widgets .widget {
	width:95%;
	margin: 5px 2%;
	float: none;
}

}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { /* smartphones in landscape mode */

}