/*
Theme Name: Themage 
Description: A simple, lightweight, responsive, accessible, future-friendly theme
Author: Peter Massey-Plantinga
Author URI: http://massey-plantinga.com
Theme URI: http://github.com/pplantinga/themage-wordpress.git
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: flexible-width, one-column, two-columns, three-columns, left-sidebar, right-sidebar, blue, dark, custom-header, custom-menu
*/

/*****************************
 * Wordpress-specific styles *
 *****************************/
.wp-caption-text,
.gallery-caption {
	font-style: italic;
	color: #999;
}
.sticky {
	border-top: 4px double #CCC;
	border-bottom: 4px double #CCC;
	padding-bottom: 1em;
}
.bypostauthor {
	color: #FFF;
	background: #27B;
}
.alignleft {
  float: left;
	margin-right: 14px;
}
.alignright {
  float: right;
	margin-left: 14px;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.gallery-item {
	padding: 0;
}

/*****************
 * Global styles *
 *****************/
html {
	font-size: 14px;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
body {
	font-family: sans-serif;
	color: #CCC;
	line-height: 1.5;
	background: #42698f;
	margin: 0;
	padding: 0;
}

/* Treat html5 stuffs correctly */
article, aside, section, footer, main {
	display: block;
}

/* Indented stuffs */
ul, dl, ol {
	padding-left: 21px;
	padding-left: 1.5rem;
}
li, dt, dd {
	margin-bottom: 7px;
	margin-bottom: 0.5rem;
}
dt {
	font-weight: bold;
}
dd {
	margin-left: 14px;
	margin-left: 1rem;
}
blockquote {
	margin-left: 14px;
	margin-left: 1rem;
	padding-left: 14px;
	padding-left: 1rem;
	border-left: 4px solid #8C8;
	font-style: italic;
}
blockquote cite,
blockquote em {
	font-weight: bold;
}

/* Links */
a {
	color: #89C;
	text-decoration: none;
	border-bottom: 1px solid #666;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	transition: all 0.2s;
}
a:visited {
	color: #A7A;
}
a:hover {
	color: #B66;
	border-bottom: 1px solid #B66;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	font-weight: normal;
	font-family: Lobster, serif;
	text-shadow: 0 1px 0 #000;
} 
h1 { font-size: 200% }
h2 { font-size: 180% }
h3 { font-size: 160% }
h4 { font-size: 140% }
h5 { font-size: 120% }
h6 { font-size: 110% }

/* Form Elements */
input,
textarea {
	border: 1px solid #CCC;
	font-size: 13px;
	font-size: 0.93rem;
	border-radius: 3px;
}
input[type="image"] {
	border: none;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
textarea {
	padding: 7px;
	padding: 0.5rem;
}
input[type="button"],
input[type="submit"],
input[type="cancel"],
kbd,
.button {
	font-weight: bold;
	background: #DDD;
	background-image: linear-gradient(#FFF, #CCC);
	background-image: -o-linear-gradient(#FFF, #CCC);
	background-image: -ms-linear-gradient(#FFF, #CCC);
	background-image: -moz-linear-gradient(#FFF, #CCC);
	background-image: -webkit-linear-gradient(#FFF, #CCC);
	text-shadow: 0 1px 0 #FFF;
	padding: 7px 14px;
	padding: 0.5rem 1rem;
	color: #555;
	border: 1px solid #CCC;
	border-radius: 3px;
	cursor: pointer;
}
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="cancel"]:hover,
a .button:hover {
	background-image: none;
}
input[type="button"]:active,
input[type="submit"]:active,
input[type="cancel"]:active,
a .button:active {
	background-image: none;
	box-shadow: inset 0 0 8px #777;
}
/* kbd shouldn't look _too_ clickable */
kbd {
	cursor: default;
	font-family: sans-serif;
	box-shadow: 1px 2px 0 #666;
	font-size: 12px;
	font-weight: normal;
}
/* Labels on their own lines */
label {
	display: block;
}

/* Tables */
table {
	margin-bottom: 14px;
	margin-bottom: 1rem;
	border-collapse: collapse;
	border-spacing: 0;
}
th, td {
	padding: 7px;
	padding: 0.5rem;
	border-bottom: 1px solid #666;
}
th {
	font-weight: bold;
	text-align: left;
}

/* Code */
pre,
code,
samp {
	background: #000;
	overflow: auto;
	padding: 3px 7px;
	padding: 0.2rem 0.5rem;
	border: 1px solid #333;
	border-radius: 3px;
	word-wrap: normal;
}

/* Articles */
article {
	padding-bottom: 14px;
	padding-bottom: 1rem;
	margin-bottom: 14px;
	margin-bottom: 1rem;
}
article footer {
	clear: both;
	padding: 7px 0;
	padding: 0.5rem 0;
}

/* Fluid width */
#page {
	padding: 4%;
	margin: 4%;
	background: #000;
	background: rgba( 0, 0, 0, 0.7 );
	box-shadow: 0 0 7px #000;
	border-radius: 10px;
}

/* Make sure images don't expand off pages */
img, .wp-caption {
	max-width: 100%;
	height: auto;
	border-radius: 3px;
	border: 0px;
}

/**********
 * Header *
 **********/
#skip-link {
	background: #333;
	color: white;
	border: none;
	text-align: center;
	font-size: 16px;
	padding: 5px;
	top: 0;
	width: 100%;
}
#skip-link:hover {
	color: #59D;
}
.invisible {
	position: absolute !important;
	height: 1px;
	overflow: hidden;
	clip: rect(1px 1px 1px 1px);
}
.invisible.focusable:active,
.invisible.focusable:focus {
	position: static;
	clip: auto;
	height: inherit !important;
	overflow: inherit !important;
}
#home-link {
	border: none;
	float: left;
	margin-bottom: 14px;
}
#home-link img {
	float: left;
}
.site-name,
.site-description {
	margin: 0;
	font-weight: normal;
	display: block;
	text-shadow: 0 1px 0 black;
}
.site-name {
	color: #CCC;
	font-size: 35px;
	font-size: 2.5rem;
	font-family: Lobster, serif;
}
.site-description {
	color: #999;
	font-size: 16px;
	font-size: 1.14rem;
	font-family: sans-serif;
}

/********
 * Menu *
 ********/
.menu {
	overflow: hidden;
	clear: both;
	list-style-type: none;
	margin: 14px 0;
	margin: 1rem 0;
	padding: 0;
	border-bottom: 1px solid #666;
}
.menu li {
	float: left;
	padding: 7px 0;
	padding: 0.5rem 0;
	margin-bottom: 0;
}
.menu li a {
	margin: 0;
	padding: 7px 14px;
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: #CCC;
	border-bottom: 4px solid #000;
	border-bottom: 4px solid rgba( 0, 0, 0, 0 );
}
.menu .current-menu-item > a,
.menu .current-menu-parent > a,
.menu li a:hover {
	color: #89C;
	border-bottom: 4px solid #89C;
}

/***********
 * Content *
 ***********/
#content {
	overflow: hidden;
	clear: both;
}
/* Current page should look different */
.pager > span {
	background: #999;
	cursor: default;
}
#nav-below {
	overflow: hidden;
	margin-bottom: 14px;
	margin-bottom: 1rem;
}

/************
 * Sidebars *
 ************/
.widget {
	padding-bottom: 14px;
	padding-bottom: 1rem;
}
.header-region {
	float: right;
}
.footer-region {
	padding-top: 7px;
	padding-top: 0.5rem;
	border-top: 1px solid #666;
}
.sidebar {
	width: 25%;
}
.two-sidebars .sidebar {
	width: 20%;
}
.sidebar.left {
	float: left;
	margin-right: 3%;
}
.sidebar.right {
	float: right;
}
/* Squish main content */
.two-sidebars #page-main {
	float: left;
	width: 53%;
	margin-right: 3%;
}
.one-sidebar #page-main {
	float: left;
	width: 68%;
	margin-right: 3%;
}

/*****************
 * Small Screens *
 *****************/
@media screen and (max-width: 800px) {
	#page-main,
	.sidebar {
		width: 100% !important;
	}
}
