/*
Theme Name: Mid Atlantic Pigments
Author: Joslex, LLC
Author URI: http://www.joslex.com
Version: 1.0
Template: toolbox
*/


/* Import
-------------------------------------------------------------- */
@import url("http://fonts.googleapis.com/css?family=Droid+Sans:400,700");
@import url("css/global.min.css");
@import url("css/flexboxgrid.min.css");


/* Typography
-------------------------------------------------------------- */
body {
	color: #000;
	font-family: "Droid Sans", Helvetica, Arial, "Nimbus Sans L", sans-serif;
	font-size: 81.25%;
	line-height: 1.75em;
}

#content h1, #content .h1,
#content h2, #content .h2,
#content h3, #content .h3,
#content h4, #content .h4,
#content h5, #content .h5,
#content h6, #content .h6 {
	font-family: Baskerville, Georgia, Palatino, Times, serif;
}

.widget h1, .widget .h1,
.widget h2, .widget .h2,
.widget h3, .widget .h3,
.widget h4, .widget .h4,
.widget h5, .widget .h5,
.widget h6, .widget .h6 {
	font-weight: bold;
}

h1, .h1 {
	font-size: 2.25em;
	margin: 0.888em 0 0.444em;
}

h2, .h2 {
	font-size: 2em;
	margin: 1em 0 0.5em;
}

h3, .h3 {
	font-size: 1.75em;
	margin: 1.15em 0 0.575em;
}

h4, .h4 {
	font-size: 1.5em;
	margin: 1.333em 0 0.666em;
}

h5, .h5 {
	font-size: 1.25em;
	margin: 1.6em 0 0.8em;
}

h6, .h6 {
	font-size: 1em;
	margin: 2em 0 1em;
}

.entry-title {
	margin-bottom: 0.5em;
}

.page-title {
	border-bottom: #cd3343 solid 1px;
	margin-bottom: 0.75em;
	padding-bottom: 0.25em;
}

a:link,
a:visited {
	color: #cd3343;
	text-decoration: none;
}

a:active,
a:focus,
a:hover {
	color: #a11524;
	text-decoration: underline;
}


/* Forms
-------------------------------------------------------------- */
.button,
.button:link,
.button:visited,
button,
input[type="submit"] {
	cursor: pointer;
	font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
	font-size: 1em;
	font-weight: bold;
	line-height: 1em;
	padding: 0.5em 0.75em;
	text-decoration: none;
}

.button:active,
.button:hover,
button:active,
button:focus,
button:hover,
input[type="submit"]:active,
input[type="submit"]:focus,
input[type="submit"]:hover,
.button.white,
.button.white:link,
.button.white:visited,
button.white,
input[type="submit"].white {
	background: #bfbfbf url("images/button-bg-white.png") repeat-x;
	border-color: #bfbfbf;
	color: #a21625;
	text-shadow: rgba(255, 255, 255, .75) 1px 1px 0;
}

.button,
.button:link,
.button:visited,
button,
input[type="submit"],
.button.white:active,
.button.white:hover,
button.white:active,
button.white:focus,
button.white:hover,
input[type="submit"].white:active,
input[type="submit"].white:focus,
input[type="submit"].white:hover {
	background: #a21625 url("images/button-bg-red.png") repeat-x;
	border: #a21625 solid 1px;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-o-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.75) -1px -1px 0;
}

.button:active,
.button:hover {
	background: #bfbfbf url("images/button-bg-white.png") repeat-x;
	border-color: #bfbfbf;
	color: #a21625;
	text-shadow: rgba(255, 255, 255, .75) 1px 1px 0;
}

.button {
	display: block;
	display: inline-block;
}

input:not([type="file"]):not([type="hidden"]):not([type="submit"]),
textarea,
#content textarea {
	background: #fff;
	border: #999 solid 1px;
	font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
	font-size: 1em;
	line-height: 1em;
	padding: 0.5em;
	outline: none;
}

textarea,
#content textarea {
	line-height: 1.5em;
}

input:not([type="file"]):not([type="hidden"]):not([type="submit"]):focus,
textarea:focus,
#content textarea:focus {
	border-color: #cd3343;
}


/* Structure
-------------------------------------------------------------- */
html {
}

body {
	background: #cd3241 url("images/bg.png");
}

#page {
	background: #fff url("images/page-bg.png") repeat-x bottom;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-o-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	border-top: #fff solid 1px;
	box-shadow: rgba(0, 0, 0, 0.25) 0 0 15px inset, rgba(0, 0, 0, 0.75) 0 0 15px;
	-moz-box-shadow: rgba(0, 0, 0, 0.25) 0 0 15px inset, rgba(0, 0, 0, 0.75) 0 0 15px;
	-o-box-shadow: rgba(0, 0, 0, 0.25) 0 0 15px inset, rgba(0, 0, 0, 0.75) 0 0 15px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.25) 0 0 15px inset, rgba(0, 0, 0, 0.75) 0 0 15px;
	margin: 20px auto;
	overflow: hidden;
	padding: 19px 20px 20px;
	width: 920px;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* Header
-------------------------------------------------------------- */
#branding {
	background: #fff url("images/header-bg.png");
	border-bottom: #a7a7a7 solid 0.5em;
	box-shadow: rgba(0, 0, 0, .5) 0 0 40px;
	-moz-box-shadow: rgba(0, 0, 0, .5) 0 0 40px;
	-o-box-shadow: rgba(0, 0, 0, .5) 0 0 40px;
	-webkit-box-shadow: rgba(0, 0, 0, .5) 0 0 40px;
	height: 120px;
	margin-bottom: 20px;
	position: relative;
}

#branding hgroup {
	left: 50%;
	margin-left: -480px;
	position: absolute;
	top: 7px;
}

#site-title a {
	background: url("images/logo.png");
	display: block;
	height: 106px;
	overflow: hidden;
	text-indent: -9999em;
	width: 149px;
}

#branding .phone-number {
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1.5em;
	right: 50%;
	margin-right: -480px;
	position: absolute;
	text-align: right;
	top: 20px;
}

#branding .phone-number span {
	color: #999;
}

#access {
	bottom: 0;
	margin-right: -480px;
	position: absolute;
	right: 50%;
}

#access ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#access li {
	float: left;
	margin-left: 0.1em;
}

#access a {
	background: #a22531 url("images/nav-bg.png") repeat-x;
	border-top-left-radius: 0.5em;
	-moz-border-radius-topleft: 0.5em;
	-o-border-top-left-radius: 0.5em;
	-webkit-border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
	-moz-border-radius-topright: 0.5em;
	-o-border-top-right-radius: 0.5em;
	-webkit-border-top-right-radius: 0.5em;
	display: block;
	color: #fff;
	font-weight: bold;
	height: 30px;
	line-height: 30px;
	padding: 0 1em;
	text-decoration: none;
	text-shadow: rgba(0, 0, 0, 0.75) -1px -1px 0;
}

#access .current_page_item a {
	background: #a6a6a6 url("images/nav-active.png") repeat-x;
	color: #666666;
	text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0;
}


/* Banner
-------------------------------------------------------------- */
#banner {
	background: #c0c0c0;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-o-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	height: 340px;
	margin-bottom: 40px;
	padding: 10px;
}

#slides {
	height: 340px;
	overflow: hidden;
}

.slide {
	height: 340px;
	position: relative;
}

.slide .preview {
	bottom: 20px;
	left: 20px;
	position: absolute;
	width: 360px;
}

.slide .button {
	box-shadow: rgba(0, 0, 0, .75) 0 0.1em 0.25em;
	-moz-box-shadow: rgba(0, 0, 0, .75) 0 0.1em 0.25em;
	-o-box-shadow: rgba(0, 0, 0, .75) 0 0.1em 0.25em;
	-webkit-box-shadow: rgba(0, 0, 0, .75) 0 0.1em 0.25em;
	font-size: 1.15em;
}

.slide h6 {
	color: #fff;
	font-size: 1.15em;
	font-weight: bold;
	text-shadow: rgba(0, 0, 0, .75) 0.1em 0.1em 0.1em;
}

.slide .preview p {
	margin: 0;
}

.slide .preview .button {
	margin: 0 auto;
}


/* Body
-------------------------------------------------------------- */
#main {
}

#primary {
	float: left;
	margin: 0 -302px 0 0;
	width: 100%;
}

#content {
	margin: 0 302px 0 0;
}

#secondary {
	float: right;
	margin-bottom: -40px;
	width: 282px;
}

.widget {
	margin-bottom: 40px;
}

.widget-title {
	border-bottom: #333 solid 1px;
	padding-bottom: 0.25em;
}

.widget ul {
	margin: 0;
}

.widget ul h4 {
	margin: 0;
}

.widget #s {
	width: 60%;
}

.widget #searchbutton {
	position: relative;
	top: 1px;
}

.widget_text {
	background: url("images/widget-text-bg.png");
	margin: 0 0 40px -3px;
	width: 293px;
}

.widget_text .widget-wrapper {
	background: url("images/widget-text-foot.png") bottom no-repeat;
	padding: 60px 19px 25px 24px;
	width: 250px;
}

.front-page .widget_text {
	margin-top: -25px;
}


/* Footer
-------------------------------------------------------------- */
#colophon {
	background: #d6d6d6;
	border-top: #a3a3a3 solid 2px;
	box-shadow: rgba(0, 0, 0, 0.25) 0 0 0.5em inset;
	-moz-box-shadow: rgba(0, 0, 0, 0.25) 0 0 0.5em inset;
	-o-box-shadow: rgba(0, 0, 0, 0.25) 0 0 0.5em inset;
	-webkit-box-shadow: rgba(0, 0, 0, 0.25) 0 0 0.5em inset;
	clear: both;
	color: #333;
	line-height: 2em;
	margin: 40px -40px 0;
	padding: 20px;
	text-align: center;
}

#colophon p,
#colophon ul {
	margin: 0;
}

#colophon ul {
	list-style: none;
}

#colophon li {
	display: inline;
}

#colophon li:before {
	content: "|";
	margin: 0 1em;
}

#colophon li:first-child:before {
	display: none;
}

#colophon a {
	color: #333;
}

#colophon a:active,
#colophon a:hover {
	color: #000;
}

.veteran-notice {
	color: #333;
	line-height: 40px;
	margin: 0 0 -20px;
	text-align: center;
}

.veteran-notice img {
	margin-right: 0.5em;
	vertical-align: middle;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#comments {
	margin-top: 3em;
}
#respond {
	margin-top: 3em;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}

ol.commentlist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.commentlist li {
	margin: 0 0 1em;
}

.commentlist cite {
	padding: 0.5em 1em;
	display: block;
	background:#eee;
	border-top: 1px solid #cd3343;
	border-bottom: 1px solid #a11524;
	color: #444;
}

.commenttext {
	background: #cd3343;
	border-top: 1px solid #df5f70;
	padding: 0.5em 1em;
	color: #fff;
}


/* Article
-------------------------------------------------------------- */
article .entry-title {
}

article .entry-meta {
	color: #6b6b6b;
	font-weight: bold;
	margin-bottom: 1em;
}

article ul {
	list-style: disc;
	margin: 0 0 1em 2em;
}

article footer {
	margin-top: 2em;
}

article footer ul {
	margin-bottom: -1em;
}

article footer ul:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html article footer ul             { zoom: 1; } /* IE6 */
*:first-child+html article footer ul { zoom: 1; } /* IE7 */

article footer ul li {
	background: none;
	float: left;
	padding-left: 0;
	width: 50%;
}


/* Navigation
-------------------------------------------------------------- */
#nav-above,
#nav-below {
	height: 1em;
	line-height: 1em;
}

#nav-above {
	margin-bottom: 2em;
}

#nav-below {
	margin-top: 2em;
}

.nav-previous {
	float: left;
}

.nav-next {
	float: right;
}

@import url("css/custom.css");