/*
Theme Name: SGnTN
Theme URI: http://wordpress.org/
Description: Based on Twenty Ten
Version: 1.0
Tags: 

- Colors -
#5c94fc / blue / sky
#c84c0c / orange-brown /  block
#01a800 / green /  hill

#204080	/ dark blue / not in bkg
#99bbff / brt blue / not in bkg
#c76a3c / brt orange-brown / not in bkg
-------------------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	text-decoration: none;
	list-style: none;
	background: 0;
	font-family: "Gill Sans", "Gill Sans MT", Arial, Helvetica, sans-serif;
	font-weight: lighter;
	color: #fff;
}

html {
	height: 100%;
	margin: 0;
	padding: 0;
	background: url('/img/bkg.png') repeat;
}

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

p, table, pre, code, blockquote {
	margin-bottom: 1em;
}

s, strike, del {
	text-decoration: line-through;
}

td, th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.625rem;
	background: #000;
	border-radius: 0.25rem;
	padding: 0.25rem;
}

td {
	text-align: right;
}

table {
	border-radius: 4px;
	border: 1px solid #5c94fc;
	background: #5c94fc;
}

pre {
    background-color: #f8f8f8;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #c84c0c;
    color: #000;
}

code {
	white-space: pre-wrap;
	font-family: Monaco;
	font-size: 0.75rem;
	color: #01a800;
}

blockquote {
	background-color: #333;
	border-color: #5c94fc;
	border-left-width: 0.25rem;
	border-radius: 0.25rem;
	border-style:  solid;
	padding: 0.5rem;
}

.inline {
    background-color: #f8f8f8;
    padding: 2px;
}

.overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #000;
	opacity: 0.90;
	border-radius: 0.5rem;
	border: 1px solid #c84c0c;
	box-shadow: 0.25rem 0.25rem 1.0rem #000;
}

.content {
	position: relative;
}

#top-section {
	margin: 1.0rem;
	flex: 1 0 auto;
}

/* Header
-------------------------------------------------------------------*/

#header {
	height: 2.375rem;
	padding: 0.5rem 0.75rem;
	position: relative;
}

#header h1 {
	font-size: 2rem;
}

#header h1 a:hover {
	color: #5c94fc;
}

.subtitle {
	font-size: 1.0rem;
}

#title {
	float: left;
	display: flex;
}

.title_logo {
	margin-top: -2px;
	margin-right: 0.5rem;
	width: 2.625rem;
	height: 2.625rem;
}

/* Search
-------------------------------------------------------------------*/
#search {
	margin-top: 0.25rem;
	height: 1.75rem;
	background: #fff;
	border-radius: 0.5rem;
	border: 1px solid #000;
	float: right;
}

#search input {
	width: 12rem;
	color: #444;
	font-size: 1.0rem;
	margin: 0 0.5rem;
	line-height:  1.75rem;
}

/* Navigation
-------------------------------------------------------------------*/
#nav {
	height: 1.5rem;
	padding: 0.5rem 0.75rem;
	margin-top: 1.0rem;
	position: relative;
	font-size: 1.2rem;
}

#nav ul { 
	float: left;
}

#nav ul li {
	display: inline;
	margin-right: 1.25rem;
}

#nav a:hover {
	border-bottom: 2px solid #fff;
}

#feed {
	background: url('/img/social/rss_16.png') no-repeat;
	padding-left: 1.5rem;
	float: right;
	background-size: 1.2rem;
	font-size: 1.2rem;
}

.navigation {	/* clipping shadow */
	clear: both;
	height: 2.4rem;
	overflow: visible;
	margin-top: 2.0rem;
}

.nav-previous a, .nav-next a {
	background: #5c94fc;
	border-radius: 1.0rem;
	border: 1px solid #000;
	box-shadow: 0.25rem 0.25rem 1.0rem #000;
	font-size: 0.8rem;
	float: left;
	margin-right: 0.5rem;
	padding: 0.4rem 0.8rem;
}

.nav-next a {
	float: right;
}

.nav-previous a:hover, .nav-next a:hover {
	background: #fff;
	color: #000;
}

/* Main
-------------------------------------------------------------------*/
#center-section {
	position: relative;
}

#main {
	margin: 1.0rem 0;
	overflow: hidden;
	padding-right: 1.0rem;
}

div.post, div.page, .page-title-container {
	padding: 0.75rem;
	margin-bottom: 1.0rem;
	position: relative;
}

.post p::first-letter, .page p::first-letter {
	font-size: 125%
}

.page-title {
	position: relative;
}

h1.page-title {
	text-align: center;
	font-size: 1.5rem;
}

.post p a, .page p a, .page ul a {
	color: #99bbff;
}

.post p a:hover, .page p a:hover, .page ul a:hover {
	color: #c76a3c;
}

#main .post ul, #main .page ul {
	margin-left: 1.5em;
	margin-bottom: 1em;
}

.post li, .page li{
	list-style-type: disc;
}

.post-overlay, .page-title-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #000;
	opacity: 0.9;
	border-radius: 0.5rem;
	border: 1px solid #c84c0c;
	box-shadow: 0.25rem 0.25rem 1.0rem #000;
}

.post-content {
	position: relative;
}

.post-title-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #5c94fc;
	opacity: 0.90;
	border-radius: 0.25rem;
}

.post-title {
	padding: 0.25rem 0.5rem;
	position: relative;
	height: 1.75rem;
}

.post-title a, .post-title h1, .post-title h2 {
	color: #fff;
	font-size: 1.25rem;
	position: relative;
	float: left;
	line-height:  1.75rem;
}

.post-date {
	color: #fff;
	font-size: 0.8rem;
	line-height: 1.75rem;
	position: relative;
	float: right;
}

.post-text {
	padding: 0.5rem;
}

.post-large {
	overflow: scroll; 
}

.post-info {
	margin-top: -1.0rem;
	display: flex;
	justify-content: space-between;
	flex-wrap:  wrap;
}

.imagebox-left, .imagebox-right {
	background: #c84c0c;
	padding: 0.25rem;
	margin: 0.5rem;
	float: left;
	border: 1px solid #000;
	border-radius: 0.25rem;
	text-align: center;
	font-size: 0.825rem;
}

.imagebox-right {
	float: right;
}

.imagebox-left img, .imagebox-right img {
	border: 1px solid #000;
}

.post-comment span, .post-comment a, .post-edit a {
	padding: 0.4rem 0.8rem;
	margin-right: 0.5rem;
	background: #01a800;
	border-radius: 1.0rem;
	font-size: 0.8rem;
	/* float: left; */
	display: inline-block;
	margin-top: 1.0rem;
}

.post-tags a {
	padding: 0.4rem 0.8rem;
	margin-right: 0.5rem;
	background: #5c94fc;
	border-radius: 1.0rem;
	font-size: 0.8rem;
	display: inline-block;
	margin-top: 1.0rem;
}

.post-comment span, .post-comment a:hover, .post-edit a:hover, .post-tags a:hover {
	background: #fff;
	color: #000;
}

.notfound-img {
	margin-top: 1rem;
	text-align: center;
}

.notfound-img img {
	max-width: 100%;
}

/* Comments
-------------------------------------------------------------------*/
#comments {
	padding: 0.75rem;
	margin-bottom: 1.0rem;
	position: relative;
}

#comments-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #000;
	opacity: 0.90;
	border-radius: 0.5rem;
	border: 1px solid #c84c0c;
	box-shadow: 0.25rem 0.25rem 1.0rem #000;
}

#comments-content {
	position: relative;
}

.comment {
	margin-bottom: 0.5rem;
	border: 1px solid #5c94fc;
	border-radius: 0.25rem;
	font-size: 0.9rem;
}

.comment-author {
	background: #5c94fc;
	height: 2.25rem;
}

.comment-author cite {
	color: #fff;
	font-size: 1.0rem;
	line-height: 2.25rem;
	margin-left: 0.25rem;
}

.comment-author cite a {
	padding: 0.25rem 0.5rem;
	border-radius: 1.0rem;
	background: #204080;
	color: #fff;
}

.comment-author cite a:hover {
	color: #000;
	background: #fff;
	border: 1px solid #000;
}

.avatar {
	margin: 0.25rem;
	border-radius: 1.0rem;
	float: left;
	margin-left: 0.5rem;
}
.comment-meta {
	margin-right: 0.5rem;
	float: right;
	font-size: 0.75rem;
	line-height:  2.25rem;
}

.comment-meta a {
	color: #fff;
}

.comment-body {
	padding: 0.5rem;
}

.comment-body p a, .comment-body p a, .comment-body ul a {
	color: #99bbff;
}

.comment-body p a:hover, .comment-body p a:hover, .comment-body ul a:hover {
	color: #c76a3c;
}

.comment-wrapper p:last-child {
	margin: 0;
}

li.comment {
	list-style-type: none;
}

#respond {
	border: 1px solid #c84c0c;
	border-radius: 0.25rem;
}

#reply-title {
	padding: 0px 0.5rem;
	background: #c84c0c;
	height: 2.25rem;
}

h3#reply-title {
	font-size: 1.25rem;
	line-height: 2.25rem;
}

#commentform {
	padding: 0.5rem;
}

#commentform * {
}

#commentform input {
	margin-left: 1.0rem;
	background: #fff;
	border: 1px solid #5c94fc;
	border-radius: 0.25rem;
	font-size: 1.0rem;
	color: #000;
	margin-right: 0.5rem;
	padding: 0.25rem;
}

#commentform a:hover {
	border-bottom: 1px solid #fff;
}

.comment-form-comment {
	display: flex;
	justify-content: stretch;
}

#respond label {
}

#respond textarea {
	margin-left: 1.0rem;
	background: #fff;
	border: 1px solid #5c94fc;
	border-radius: 0.25rem;
	font-size: 1.0rem;
	color: #000;
	margin-right: 0.5rem;
}

#respond input {
}

input#url, textarea#comment {
	flex-grow:  1;
}

.form-submit {
	margin-bottom: 0.5rem;
	text-align: center;
}

input#submit {
	background: #01a800;
	border: 1px solid #000;
	border-radius: 1.0rem;
	color: #fff;
	cursor: pointer;
	font-size: 1.0rem;
	padding: 0.25rem 1.0rem;
}

/* Sidebar
-------------------------------------------------------------------*/
#sidebar {
	margin-bottom: 1.0rem;
	width: 16.0rem;
	float: right;
	position: relative;
}

.sidebar-block {
	margin: 0.5rem;
	background: #000;
	border: 1px solid #5c94fc;
	border-radius: 0.25rem;
}

.sidebar-title {
	background: #5c94fc;
	font-size: 1.25rem;
	text-align: center;
}

.sidebar-content {
	padding: .5rem;
	font-size: 0.875rem;
}

.sidebar-content li  {
	margin-left: 1em;
	list-style-type: disc;
}

#sidebar-about {
	text-align: center;
}

#sidebar-quietspark {
}

#sidebar-quietspark-icons {
	display: flex;
	flex-wrap:  wrap;
	padding: 0 1.0rem;
	justify-content: space-between;
}

#sidebar-social {
}

#sidebar-social-icons {
	display: flex;
	flex-wrap:  wrap;
	padding: 0 1.0rem;
	justify-content: center;
}

#sidebar-social img {
	margin: 1px;
}

#icon-credit {
	margin-top: 0.5rem;
	font-size: 0.625rem;
	text-align:  right;
}

#icon-credit a {
	color: #444;
}

#sidebar-archives a:hover {
	border-bottom: 1px solid #fff;
}

#sidebar-twitter {
	height: 30rem;
	/* padding: 0; */
}

/* Footer
-------------------------------------------------------------------*/
#bottom-section {
	width: 100%;
	height: 6.0rem;
	background: url('/img/block.png') repeat;
	float: left;
	flex-shrink: 0;
}

#footer {
	margin: 1.0rem 2.0rem;
	margin-top: 1.5rem;
	height: 3.0rem;
	position: relative;
	text-align: center;
	line-height: 3.0rem;
	font-size: 0.75rem;
}

/* --- Overrides --- */

@media screen and (max-width: 768px) {
	:root {
		font-size: 90%;
	}
	
	#sidebar {
		display: none;
		width: 0px;
	}
	
	#header .subtitle {
		display: none;
	}

	#nav ul li {
		font-size: 1.0rem;
		margin-right:  1.0rem;
	}
	
	#main {
		overflow: visible;
		padding-right: 0;
	}
}

@media screen and (max-width: 480px) {
	#search input {
		width: 8rem;
	}
	
	#feed {
		display: none;
	}
	
	#footer {
	margin:  1.0rem;
	margin-top:  1.5rem;
	}
}
