/*
Theme Name: Smiles
Author: MatthewHsieh

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}

::-webkit-input-placeholder {
   color: #fff;
   font-style: italic;
}

:-moz-placeholder {
   color: #fff;
   font-style: italic;
}

body {
	background: #e8e8e8;
	line-height: 1;
	display: table;
	width: 100%;
}
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 img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}


/* =Structure
----------------------------------------------- */

body {
	padding: 0;
	margin: 0;
	font-size: 14px;
}
#page {
	margin: 0 auto;
	width: 100%;
}

#top {
	background: #000;
	height: 76px;
}

#footer_sponsor, #footer_bottom, #top_header {
	width: 960px;
}

#top_header { background: black; }

.wrapper {
	margin: 0 auto;
	max-width: 960px;
	position: relative;
}

#logo {
	position: absolute;
	top: 0;
	left: 0;
	
}

#logo h1 {
	width: 136px;
	height: 141px;
	background: url("images/home.png") top left no-repeat transparent;
	text-indent: -9999px;
}

#menu {
	margin: 0 0 0 150px;
	width: 960px;
	
}

#menu-right {
	float: right;
	margin-top: 20px;
}

#splash {
	color: #FFF;
	background: url("images/splash_bg.png") top center repeat-x transparent;
	height: 312px;
}

#splash .wrapper {
	background: url("images/splash.png") top center no-repeat transparent;
	height: 312px;
}

#splash .splash_padding {
	margin-left: 214px;
}

#splash #splash_content {
	margin-top: 0px;
	font-size: 16px;
	padding-top: 50px;
	width: 746px;
}

#splash #splash_content h1 {
	font-size: 26px;
	letter-spacing: 1px;
}

#splash #splash_contact {
	background: url("images/splash_truck.png") bottom left no-repeat transparent;
	width: 530px;
	height: 59px;
	position: absolute;
	bottom: 0px;
	font-size: 14px;
	padding-top: 8px;
}

#splash #splash_contact span {
	padding: 0 3px 0 15px;
}

#splash #splash_contact input[type="text"], #splash #splash_contact input[type="email"] {
	padding: 3px 5px 4px 5px;
	border: 0;	
	background: #4a83ba;
	margin-right: 2px;
	color: #FFF;
	line-height: 18px;
	font-size: 14px;
	height: 24px;
}



#splash #splash_contact input[type="text"]:focus, #splash #splash_contact input[type="email"]:focus {
	border: 2px solid #285b8c;
	margin-top: -2px;
	margin-left: -2px;
	margin-right: 0px;
}

#splash input.email {
	width: 102px;
}

#splash input.zip {
	width: 65px;
}

#splash .arrow-submit {
	background: url("images/arrow-btn.png") bottom left no-repeat transparent;
	width: 31px;
	height: 29px;
	border: 0;
	margin-top: 1px;
	position: relative;	
	padding: 0;
	vertical-align: top;
}

#primary {
	margin: 40px auto;
	width: 960px;
}

.widget, .shadow {
	-moz-box-shadow:    0px 0px 5px 3px #ccc;
  	-webkit-box-shadow: 0px 0px 5px 3px #ccc;
  	box-shadow:         0px 0px 5px 3px #ccc;
}

#home_content {
	background: #ffffff;
	padding: 19px;

}

#home_content h3 {
	color: #cede19;
	padding-bottom: 6px;
	margin-bottom: 12px;
	background: url("images/h3_border.png") bottom right repeat-x transparent;
	
}

#home_content h3 a {
	color: #cede19;
}

#home_content h3 a:hover {
	text-decoration: none;
}

#home_content2 {
	background: #FFF;
	margin-top: 23px;
	padding: 8px 19px 19px 19px;
}

#home_content2 .first {
	width: 46.5% !important;
}

#home_content2 .second {
	width: 19.75% !important;
}

#home_content2 h2 {
	font-size: 16px;
	color: #cede19;
	position: relative;
	left: -19px;
	background: #33679a;
	padding: 12px 25px 12px 17px;
	width: 75px;
	margin-bottom: 10px;
}

#home_content2 h3 {
	color: #33679a;
	padding-bottom: 18px;
	
}

#home_content2 h3 a {
	color: #33679a;
}

#twitter_update_list ul {
	margin: 0;
	list-style: none;
}

.blog-list {
	margin: 0;
	list-style: none;
}

.blog-list li:first-child {
	padding: 0 0 10px 0;
}

.blog-list li:last-child {
	border-bottom: 0 !important;
}

.blog-list li {
	padding: 10px 0 10px 0;
	border-bottom: 1px dotted #000000;
	clear: both;
}

.blog-list li a {
	color: #353535;
}

.blog-list li a:hover {
	text-decoration: none;
}

.blog-list span {
	display: inline-block;
	position: relative;
}

.blog-list li .col1 {
	color: #cede19;
	width: 25%;
	font-weight: bold;
	vertical-align: top;
}

.blog-list li .col2 {
	clear: right;
	width: 70%;
}

.submit-form label {
	display: block;
}

.submit-form input[type="text"], .submit-form input[type="email"], .submit-form input[type="phone"] {
	width: 50%;
}

.submit-form textarea {
	height: 100px;
	width: 50%;
}

.submit-form .button {
	font-family: "Alfa Slab One";
	font-size: 16px;
	color: #cede19;
	background: #33679a;
	padding: 5px 8px;
	-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
	border: 0;	
}

.submit-form .button:hover {
	cursor: pointer;
}

#promo {
	background: url("images/promo.png") top center repeat-x transparent;
	height: 141px;
}


#promo h1 {
	float: right;
	color: #FFF;
	font-size: 26px;
	margin-top: 50px;
	letter-spacing: 1px;
}


#colophon {
	background: #FFF;
	margin-top: 86px;
}

#sponsor_heading {
	background: url("images/sponsors.png") top center no-repeat transparent;
	position: absolute;
	top: -58px;
	height: 116px;
	width: 100%;
}

#sponsor_blurb {
	padding-top: 78px;
	text-align: center;
	width: 500px;
	margin: 0 auto;
}

#sponsor_logo {
	margin: 25px auto 0;
	width: 570px;
	text-align: center;
}

#sponsor_truck {
	text-align: center;
	margin-top: 30px;
	background: url("images/sponsor_truck.png") bottom center no-repeat transparent;
	height: 66px;
	width: 100%;
}

#sponsor_truck .sponsor-btn {
	background: #444444;
	color: #CEDE19;
	font-family: "Alfa Slab One";
	padding: 7px 13px;
	position: relative;
	top: 12px;
	left: -24px;
}

#sponsor_truck .sponsor-btn:hover {
	text-decoration: none;
}


#sponsor_logo img {
	padding-right: 40px;
}

#sponsor_logo img.last {
	padding-right: 0px;
}

#footer {
	padding: 80px 0 50px 0;
	background: #000;
	color: #FFF;
}

#footer h2 {
	margin-bottom: 20px;
}

#footer_logo {
	background: url("images/footer_logo.png") top left no-repeat transparent;
	height: 108px;
	width: 110px;
	margin-bottom: 18px;
}

#footer #footer_extra {
	margin-top: 20px;
	line-height: 24px;
}

#footer .blog-list li .col1 {
	width: 10%;
}

#footer .blog-list li .col2 {
	width: 85%;
}

#footer .blog-list li {
	border-bottom: 1px dotted #FFFFFF;
}

.shift_left { padding-left: 100px;}
.one_half, .one_third, .two_third, .one_fourth , .three_fourth { float:left; margin-right:6.5%; position:relative; }
.one_half { width: 48%; }
.one_third { width: 29%; }
.two_third { width:65.32%; }
.one_fourth { width:22%; }
.three_fourth { width:74%; }
.last { margin-right: 0px !important; clear:right; }
.clear { clear:both; }

/* Corner radius */
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.ui-corner-right {  -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

/* =Nav
----------------------------------------------  */
#menu .nav {
font-size: 14px;
width: 810px;
}

.nav, .nav ul{

margin:0;
padding:0;
list-style-type:none;
list-style-position:outside;
position:relative;
line-height:50px; 
z-index:5;
}

.nav a{
color: #e8e8e8;
text-transform: uppercase;
height:30px;
line-height:30px;
display:block;
margin:0 8px;
padding: 0 8px 14px 8px;
text-decoration:none;
text-align:center;
outline:none;
z-index:35;
position:relative;
float:left;
}

.nav a:hover {
text-decoration: none;
border-bottom: 8px solid #cede19;
}

#top .nav li.current_page_item a{
	border-bottom: 8px solid #cede19;
}

#top .nav li{
float:left;
position:relative;
z-index:20;
padding-top: 24px;
}

#top .nav li li{
border-left:none;
margin-top:0;
border-top:1px solid;
}

#top .nav ul {
display:none;
left:0;
position:absolute;
top:29px;
width:202px;
border-width:1px;
border-style: solid;
border-bottom: none;
}

#top .nav li ul a{
width:160px;
height:auto;
float:left;
text-align:left;
border-bottom-width:1px;
border-bottom-style: solid;
line-height:24px;
padding:4px 21px;
font-size: 12px;
}



#top .nav li:hover ul ul, #top .nav li:hover ul ul ul,#top  .nav li:hover ul ul ul ul{
display:none;	
}
#top .nav li:hover ul, #top .nav li li:hover ul, #top .nav li li li:hover ul, #top .nav li li li li:hover ul{
display:block;
}

.donate-btn {
	background: url("images/donate_btn.png") top left no-repeat transparent;
	width: 89px;
	height: 39px;
	text-indent: -9999px;
	display: block;
}


/* error404 */
.error404 #primary {
	float: none;
	margin: 0;
}
.error404 #primary #content {
	margin: 0 7.6%;
	width: auto;
}

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

/* Right Content */
.left-sidebar #primary {
	float: right;
	margin: 0 0 0 -26.4%;
	width: 100%;
}
.left-sidebar #content {
	margin: 0 7.6% 0 34%;
	width: 58.4%;
}
.left-sidebar #secondary {
	float: left;
	margin-left: 7.6%;
	margin-right: 0;
	width: 18.8%;
}

#like_us, .connect_widget_like_button {
	display: block !important;
	width: 97px !important;
	height: 34px !important;
	background: url("images/like_us.png") top left no-repeat transparent !important;
	text-indent: -9999px !important;
}

#follow_us {
	display: block;
	width: 114px;
	height: 34px;
	background: url("images/follow_us.png") top left no-repeat transparent;
	text-indent: -9999px;
}

#rss_feed {
	display: block;
	width: 114px;
	height: 34px;
	background: url("images/rss_feed.png") top left no-repeat transparent;
	text-indent: -9999px;
}


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

body, input, textarea {
	color: #373737;
	font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	line-height: 1.625;
}
body {
	background: #e2e2e2;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
	font-family: "Alfa Slab One", serif;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 18px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 15px;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.625em;
}

/* Text elements */
p {
	margin-bottom: 1.625em;
}
ul, ol {
	margin: 0 0 1.625em 2.5em;
}
ul {
	list-style: square;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 1.625em;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.625em;
}
strong {
	font-weight: bold;
}
cite, em, i {
	font-style: italic;
}
blockquote {
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
blockquote cite {
	color: #666;
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
pre {
	background: #f4f4f4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}
code, kbd {
	font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 1.625em;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

/* Forms */
input[type=text],
input[type=password],
textarea {
	background: #fafafa;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	border: 1px solid #ddd;
	color: #888;
}
input[type=text]:focus,
textarea:focus {
	color: #373737;
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text] {
	padding: 3px;
}
input#s {
	background: url(images/search.png) no-repeat 5px 6px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-size: 14px;
	height: 22px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
}
input#searchsubmit {
	display: none;
}

/* Links */
a {
	color: #1982d1;
	text-decoration: none;
}
a:focus,
a:active,
a:hover {
	text-decoration: underline;
}

/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}


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


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

#main {
	clear: both;
	padding: 0;
}
.page-title {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	margin: 0 0 2.6em;
	text-transform: uppercase;
}
.page-title a {
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0;
	text-transform: none;
}
.hentry,
.no-results {
	border-bottom: 1px solid #ddd;
	margin: 0 0 1.625em;
	padding: 0 0 1.625em;
	position: relative;
}
.hentry:last-child,
.no-results {
	border-bottom: none;
}
.blog .sticky .entry-header .entry-meta {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.entry-meta {
	color: #666;
	clear: both;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a {
	font-weight: bold;
}
.single-author .entry-meta .by-author {
	display: none;
}
.entry-content,
.entry-summary {
	padding: 0;
}

.entry h2,
.entry-content h2,
.comment-content h2 {
	color: #356799;
	font-size: 18px;
	margin: 0 0 .8125em;
}

.entry-title,
.entry-content h3,
.comment-content h3 {
	font-size: 18px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
	border-bottom: 1px dotted #000;
	color: #356799;
}

.entry-title a, .entry-content h3 a {
	color: #356799;
}
.entry-content table,
.comment-content table {
	border-bottom: 1px solid #ddd;
	margin: 0 0 1.625em;
	width: 100%;
}
.entry-content th,
.comment-content th {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}
.entry-content td,
.comment-content td {
	border-top: 1px solid #ddd;
	padding: 6px 10px 6px 0;
}
.entry-content #s {
	width: 75%;
}

.left-content {
	width: 710px;
	float: left;
}

.content-block {
	margin: 0 0 1.5em 0;
}

.content-block img {
	float: left;
	padding: 0;
	margin: 20px 15px 0 0;
	border: 7px solid #FFF;
	-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
}

.right-content {
	width: 250px;
	float: right;
}

.widget, .right-content .content-box {
	width: 200px;
	float: right;
	padding: 7px;
	background: #FFF;
	margin-bottom: 15px;
}

.widget .widget-title, .right-content .content-title {
	background: #cede19;
	color: #356799;
	font-size: 14px;
	font-family: "Alfa Slab One";
	text-align: center;
	width: 100%;
	-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
	line-height: 34px;
	text-transform: uppercase;
	
}

.widget ul, .right-content .content-list {
	list-style: none;
	margin: 0;
	font-size: 12px;
}

.widget ul li, .right-content .content-list li {
	border-bottom: 1px dashed #cede19;
	text-transform: uppercase;
	padding: 10px 0;
}

.widget ul li:last-child, .right-content .content-list li:last-child {
	border-bottom: 0;
}

.widget ul li a, .right-content .content-list li a {
	color: #222223;
}

.widget ul li a:hover, .right-content .content-list li a:hover {
	text-decoration: none;
}

.comment-content ul,
.comment-content ol {
	margin-bottom: 1.625em;
}
.comment-content ul ul,
.comment-content ol ol,
.comment-content ul ol,
.comment-content ol ul {
	margin-bottom: 0;
}
dl.gallery-item {
	margin: 0;
}
.page-link {
	clear: both;
	display: block;
	margin: 0 0 1.625em;
}
.page-link a {
	background: #eee;
	color: #373737;
	margin: 0;
	padding: 2px 3px;
	text-decoration: none;
}
.page-link a:hover {
	background: #888;
	color: #fff;
	font-weight: bold;
}
.page-link span {
	margin-right: 6px;
}
.entry-meta .edit-link a,
.commentlist .edit-link a {
	background: #eee;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #666;
	float: right;
	font-size: 12px;
	line-height: 1.5em;
	font-weight: 300;
	text-decoration: none;
	padding: 0 8px;
}
.entry-meta .edit-link a:hover,
.commentlist .edit-link a:hover {
	background: #888;
	color: #fff;
}
.entry-content .edit-link {
	clear: both;
	display: block;
}

/* Images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large {
	max-width: 97.5%;
	width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.entry-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 1.625em;
}
p img,
.wp-caption {
	margin-top: 0.4em;
}
.wp-caption {
	background: #eee;
	margin-bottom: 1.625em;
	max-width: 96%;
	padding: 9px;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	color: #666;
	font-family: Georgia, serif;
	font-size: 12px;
}
.wp-caption .wp-caption-text {
	margin-bottom: 0.6em;
	padding: 10px 0 5px 40px;
	position: relative;
}
.wp-caption .wp-caption-text:before {
	color: #666;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}
#content .gallery {
	margin: 0 auto 1.625em;
}
#content .gallery a img {
	border: none;
}
img#wpstats {
	display: block;
	margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
	width: 23%;
	padding-right: 2%;
}
#content .gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border: 1px solid #ddd;
	padding: 6px;
}
.wp-caption img {
	border-color: #eee;
}
a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
	background: #eee;
	border-color: #bbb;
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {/* ... including captioned images! */
	background: #fff;
	border-color: #ddd;
}

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

/* Password Protected Posts */
.post-password-required .entry-header .comments-link {
	margin: 1.625em 0 0;
}
.post-password-required input[type=password] {
	margin: 0.8125em 0;
}
.post-password-required input[type=password]:focus {
	background: #f7f7f7;
}

/* Author Info */
#author-info {
	font-size: 12px;
	overflow: hidden;
}
.singular #author-info {
	background: #f9f9f9;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 2.2em -35.6% 0 -35.4%;
	padding: 20px 35.4%;
}
.archive #author-info {
	border-bottom: 1px solid #ddd;
	margin: 0 0 2.2em;
	padding: 0 0 2.2em;
}
#author-avatar {
	float: left;
	margin-right: -78px;
}
#author-avatar img {
	background: #fff;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 2px #bbb;
	-moz-box-shadow: 0 1px 2px #bbb;
	box-shadow: 0 1px 2px #bbb;
	padding: 3px;
}
#author-description {
	float: left;
	margin-left: 108px;
}
#author-description h2 {
	color: #000;
	font-size: 15px;
	font-weight: bold;
	margin: 5px 0 10px;
}

/* Comments link */
.entry-header .comments-link a {
	background: #eee url(images/comment-bubble.png) no-repeat;
	color: #666;
	font-size: 13px;
	font-weight: normal;
	line-height: 35px;
	overflow: hidden;
	padding: 0 0 0;
	position: absolute;
	top: 1.5em;
	right: 0;
	text-align: center;
	text-decoration: none;
	width: 43px;
	height: 36px;
}
.entry-header .comments-link a:hover,
.entry-header .comments-link a:focus,
.entry-header .comments-link a:active {
	background-color: #1982d1;
	color: #fff;
	color: rgba(255,255,255,0.8);
}
.entry-header .comments-link .leave-reply {
	visibility: hidden;
}

/*
Post Formats Headings
To hide the headings, display: none the ".entry-header .entry-format" selector,
and remove the padding rules below.
*/
.entry-header .entry-format {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	position: absolute;
	text-transform: uppercase;
	top: -5px;
}
.entry-header hgroup .entry-title {
	padding-top: 15px;
}
article.format-aside .entry-content,
article.format-link .entry-content,
article.format-status .entry-content {
	padding: 20px 0 0;
}
article.format-status .entry-content {
	min-height: 65px;
}
.recent-posts .entry-header .entry-format {
	display: none;
}
.recent-posts .entry-header hgroup .entry-title {
	padding-top: 0;
}

/* Singular content styles for Posts and Pages */
.singular .hentry {
	border-bottom: none;
	padding: 1em 0 0;
	position: relative;
}
.singular.page .hentry {
	padding: 0;
}

blockquote.pull {
	font-size: 21px;
	font-weight: bold;
	line-height: 1.6125em;
	margin: 0 0 1.625em;
	text-align: center;
}
.singular blockquote.pull {
	margin: 0 -22.25% 1.625em;
}
.pull.alignleft {
	margin: 0 1.625em 0 0;
	text-align: right;
	width: 33%;
}
.singular .pull.alignleft {
	margin: 0 1.625em 0 -22.25%;
}
.pull.alignright {
	margin: 0 0 0 1.625em;
	text-align: left;
	width: 33%;
}
.singular .pull.alignright {
	margin: 0 -22.25% 0 1.625em;
}
.singular blockquote.pull.alignleft,
.singular blockquote.pull.alignright {
	width: 33%;
}
.singular .entry-meta .edit-link a {

}




/* =Responsive Structure
----------------------------------------------- */
/*
@media (max-width: 800px) {
*/
	/* Simplify the basic layout */
/*
	#main #content {
		margin: 0 7.6%;
		width: auto;
	}
	#nav-below {
		border-bottom: 1px solid #ddd;
		margin-bottom: 1.625em;
	}
	#main #secondary {
		float: none;
		margin: 0 7.6%;
		width: auto;
	}

	.page-template-showcase-php .featured-posts {
		min-height: 280px;
	}
	.featured-posts section.featured-post {
		height: auto;
	}
	.page-template-showcase-php section.recent-posts {
		float: none;
		margin: 0;
		width: 100%;
	}
	.page-template-showcase-php #main .widget-area {
		float: none;
		margin: 0;
		width: auto;
	}
	.page-template-showcase-php .other-recent-posts {
		border-bottom: 1px solid #ddd;
	}

	section.featured-post .attachment-small-feature,
	.one-column section.featured-post .attachment-small-feature {
		border: none;
		display: block;
		float: left;
		height: auto;
		margin: 0.625em auto 1.025em;
		max-width: 30%;
		position: static;
	}
	article.feature-image.small {
		float: right;
		margin: 0 0 1.625em;
		width: 64%;
	}
	.one-column article.feature-image.small .entry-summary {
		height: auto;
	}
	article.feature-image.small .entry-summary p a {
		left: 0;
		padding-left: 20px;
		padding-right: 20px;
		width: auto;
	}

	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular #comments-title {
		width: 100%;
	}

	.singular blockquote.pull {
		margin: 0 0 1.625em;
	}
	.singular .pull.alignleft {
		margin: 0 1.625em 0 0;
	}
	.singular .pull.alignright {
		margin: 0 0 0 1.625em;
	}
	.singular .entry-meta .edit-link a {
		left: 0;
		position: absolute;
		top: 40px;
	}
	.singular #author-info {
		margin: 2.2em -8.8% 0;
		padding: 20px 8.8%;
	}

	.commentlist {
		width: 100%;
	}
	.commentlist > li.comment,
	.commentlist .pingback {
		margin-left: 102px;
		width: auto;
	}

	#respond {
		width: auto;
	}

	#colophon #supplementary .widget-area {
		float: none;
		margin-right: 0;
		width: auto;
	}

	.error404 #main .widget {
		float: none;
		margin-right: 0;
		width: auto;
	}

}
*/

@media (max-width: 650px) {
	/* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */
	/*
	body, input, textarea {
		font-size: 13px;
	}
	#site-title a {
		font-size: 24px;
	}
	#site-description {
		font-size: 12px;
	}
	#access ul {
		font-size: 12px;
	}
	article.intro .entry-content {
		font-size: 12px;
	}
	.entry-title {
		font-size: 21px;
	}
	.featured-post .entry-title {
		font-size: 14px;
	}
	.singular .entry-title {
		font-size: 28px;
	}
	.entry-meta {
		font-size: 12px;
	}
	blockquote {
		margin: 0;
	}
	blockquote.pull {
		font-size: 17px;
	}
	*/
	/* Reposition the site title and description slightly */
	/*
	#site-title {
		padding: 5.30625em 0 0;
	}
	#site-title,
	#site-description {
		margin-right: 0;
	}
	*/
	/* Make sure the logo and search form don't collide */
	#branding #searchform {
		top: 1.625em !important;
	}
	/* Floated content doesn't work well at this size */
	.alignleft,
	.alignright {
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	/* Make sure the post-post navigation doesn't collide with anything */
	#nav-single {
		display: block;
		position: static;
	}
	.singular .hentry {
		padding: 1.625em 0 0;
	}
	.singular.page .hentry {
		padding: 1.625em 0 0;
	}
	/* Talking avatars take up too much room at this size */
	.commentlist > li.comment,
	.commentlist > li.pingback {
		margin-left: 0 !important;
	}
	.commentlist .avatar {
		background: transparent;
		display: block;
		padding: 0;
		position: static;
	}
	.commentlist .children .avatar {
		background: none;
		left: 2.2em;
		padding: 0;
		position: absolute;
		top: 2.2em;
	}
	/* Use the available space in the smaller comment form */
	#respond input[type="text"] {
		width: 95%;
	}
	#respond .comment-form-author .required,
	#respond .comment-form-email .required {
		left: 95%;
	}
	#content .gallery-columns-3 .gallery-item {
		width: 31%;
		padding-right: 2%;
	}
	#content .gallery-columns-3 .gallery-item img {
		width: 100%;
		height: auto;
	}

}
@media (max-width: 450px) {
/*
	#content .gallery-columns-2 .gallery-item {
		width: 45%;
		padding-right: 4%;
	}
	#content .gallery-columns-2 .gallery-item img {
		width: 100%;
		height: auto;
	}
*/
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
/*
	body {
		padding: 0;
	}
	#page {
		margin-top: 0;
	}
	#branding {
		border-top: none;
	}
*/
}


/* =Print
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		font-size: 10pt;
	}
	footer.entry-meta a[rel=bookmark]:link:after,
	footer.entry-meta a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}
	#page {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}
	#branding {
		border-top: none !important;
		padding: 0;
	}
	#branding hgroup {
		margin: 0;
	}
	#site-title a {
		font-size: 21pt;
	}
	#site-description {
		font-size: 10pt;
	}
	#branding #searchform {
		display: none;
	}
	#branding img {
		display: none;
	}
	#access {
		display: none;
	}
	#main {
		border-top: none;
		box-shadow: none;
	}
	#primary {
		float: left;
		margin: 0;
		width: 100%;
	}
	#content {
		margin: 0;
		width: auto;
	}
	.singular #content {
		margin: 0;
		width: 100%;
	}
	.singular .entry-header .entry-meta {
		position: static;
	}
	.entry-meta .edit-link a {
		display: none;
	}
	#content nav {
		display: none;
	}
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular #comments-title {
		margin: 0;
		width: 100%;
	}
	.singular .hentry {
		padding: 0;
	}
	.entry-title,
	.singular .entry-title {
		font-size: 21pt;
	}
	.entry-meta {
		font-size: 10pt;
	}
	.entry-header .comments-link {
		display: none;
	}
	.page-link {
		display: none;
	}
	.singular #author-info {
		background: none;
		border-bottom: none;
		border-top: none;
		margin: 2.2em 0 0;
		padding: 0;
	}
	#respond {
		display: none;
	}
	.widget-area {
		display: none;
	}
	#colophon {
		display: none;
	}

	/* Comments */
	.commentlist > li.comment {
		background: none;
		border: 1px solid #ddd;
		-moz-border-radius: 3px 3px 3px 3px;
		border-radius: 3px 3px 3px 3px;
		margin: 0 auto 1.625em;
		padding: 1.625em;
		position: relative;
		width: auto;
	}
	.commentlist .avatar {
		height: 39px;
		left: 2.2em;
		top: 2.2em;
		width: 39px;
	}
	.commentlist li.comment .comment-meta {
		line-height: 1.625em;
		margin-left: 50px;
	}
	.commentlist li.comment .fn {
		display: block;
	}
	.commentlist li.comment .comment-content {
		margin: 1.625em 0 0;
	}
	.commentlist .comment-edit-link {
		display: none;
	}
	.commentlist > li::before,
	.commentlist > li.bypostauthor::before {
		content: '';
	}
	.commentlist .reply {
		display: none;
	}

	/* Post author highlighting */
	.commentlist > li.bypostauthor {
		color: #444;
	}
	.commentlist > li.bypostauthor .comment-meta {
		color: #666;
	}
	.commentlist > li.bypostauthor:before {
		content: none;
	}

	/* Post Author threaded comments */
	.commentlist .children > li.bypostauthor {
		background: #fff;
		border-color: #ddd;
	}
	.commentlist .children > li.bypostauthor > article,
	.commentlist .children > li.bypostauthor > article .comment-meta {
		color: #666;
	}

}


/* =IE7
----------------------------------------------- */

#ie7 article.intro {
	margin-left: -7.6%;
	margin-right: -7.6%;
	padding-left: -7.6%;
	padding-right: -7.6%;
	max-width: 1000px;
}
#ie7 section.featured-post {
	margin-left: -7.6%;
	margin-right: -7.6%;
	max-width: 850px;
}
#ie7 section.recent-posts {
	margin-right: 7.6%;
}
