/*
Theme Name: TSV Wiesentheid
Theme URI: http://tsv-djk-wiesentheid.de/
Description: A customized fork of the standard Twenty Eleven Wordpress Theme.
Author: <a href="http://beckspaced.com">Becki Beckmann;</a>
Author URI: <a href="http://beckspaced.com">http://beckspaced.com</a>
Template: twentyeleven
Version: 1.0
*/

/* @import url("../twentyeleven/style.css"); */


/* supersized set transparency / opacity
----------------------------*/

#supersized a {
	background: #fff;
}

#supersized img {
	opacity: 0.75;
}

/* pretty photo
----------------------------*/

div[class^="vdh"] {
	display: none; 
}

/* shariff
----------------------------*/

.shariff {
	margin-bottom: 25px;
}

/* = bfv.de
----------------------------------------------- */

div[id^="bfv"] > iframe {
	margin-left: auto;
	margin-right: auto;
	display: block;
	
}

/* = google calendar iframe
----------------------------------------------- */

iframe.google-calendar {
	margin-left: auto;
	margin-right: auto;	
	display: block;
}

/* = google adsense
----------------------------------------------- */

.google-adsense-footer {
	margin: 1.625em 1em;
	clear: both;
}

.google-adsense {
	margin: 1.625em 1em;
}

.google-adsense-sidebar {
	margin: 1.625em 0;
}

@media (max-width: 576px) {
	.google-adsense-sidebar {
		display: none;
	}
}

.google-adsense-sidebar-showcase-rss {
	margin: 1.625em 0;
	padding-right: 20px;
}

@media (max-width: 576px) {
	.google-adsense-sidebar-showcase-rss {
		display: none;
	}
}

.google-adsense-showcase-rss {
	margin: 1.625em 1em;
	clear: both;
}


.google-adsense-footer ins,
.google-adsense ins {
    background: #FFFFFF;
    text-decoration: none;
}

/* = Facebook Wrapper
-------------------------------------------------------------- */

.fb-wrapper {
	
}

.fb-page, 
.fb-page span, 
.fb-page span iframe[style] { 
    width: 100% !important; 
}

/*

#bfv1425981841570 > iframe,
#bfv1425981720769 > iframe,
#bfv1425981431255 > iframe,
#bfv1425980619048 > iframe {
	margin-left: auto;
	margin-right: auto;
	display: block;
}


*/

/* = Google Map 
----------------------------------------------- */

.google-map {
	margin-bottom: 50px;
}

.google-map > iframe {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

/* = Google Map @link https://benmarshall.me/responsive-iframes/
----------------------------------------------- */

.bs23-common-google-map-container {
  position: relative;
  height: 0;
  overflow: hidden;
}
 
/* 16x9 Aspect Ratio */
.bs23-common-google-map-container-16x9 {
  padding-bottom: 56.25%;
}
 
/* 4x3 Aspect Ratio */
.bs23-common-google-map-container-4x3 {
  padding-bottom: 75%;
}

.bs23-common-google-map-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* = Borlabs Cookie
----------------------------------------------- */

.BorlabsCookie ._brlbs-google-calendar,
.BorlabsCookie ._brlbs-google-maps,
.BorlabsCookie ._brlbs-bfv {
	max-width: 650px;
	margin: 0 auto;
	display: block !important;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-bfv a._brlbs-btn {

    background:#4267b2;
    border-radius: 2px;

}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-bfv a._brlbs-btn:hover {

    background: #3b5998;

}

/* = Main Font
----------------------------------------------- */

/* .widget-title, */
.entry-title,
h1,
h2,
h3,
#site-title {
	
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

/* =Global
----------------------------------------------- */
blockquote.wp-block-quote,
blockquote {
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: normal;
	background: #f4f4f4;
	color:#666;
	margin:0 0 1.6em 0.8em;
	padding:1.4em 1em 0.1em 1em !important;
	border-left:5px solid #af0000 !important;
}

del {
	color: #af0000;
	text-decoration: none;
	font-weight: bold;
}

ins {
	background: #ffffff;
	text-decoration: none;
}

.warning {
	color: #af0000;
	font-weight: bold;
}


/* =Structure
----------------------------------------------- */

body {
	background: #FFF;
}

#page {
	margin: 2em auto;
	max-width: 1200px;
	border-radius: 20px;
	-moz-border-radius: 20px;

}

#branding hgroup {
	margin-top: 20px;
	margin-right: 3.8%;
	margin-bottom: 50px;
	margin-left: 3.8%;
}
#access div {
	margin: 0 3.8%;
}
#primary {
	float: left;
	margin: 0 -28% 0 0;
	width: 100%;
}
#content {
	margin: 0 29% 0 1.5%;
	width: 69.5%;
}
#secondary {
	float: right;
	/* margin-right: 3.8%; */
	margin-right: 1.6%;
	width: 26.4%;
}

/* =Header
----------------------------------------------- */

#branding {
	border-top: 0px solid #DDD;
	padding-bottom: 10px;
	padding-top: 10px;
	position: relative;
	z-index: 999;
}

#site-logo {
	float: left;
	margin-right: 20px;
}

.logo {
	max-width: 89px;
	max-height: 100px;
}

#site-title {
	margin-right: 0px;
	padding: 1em 0 0;
	clear: none;
}

#site-title a {
	/* color: #1982d1; */
	color: #1982d1;
	font-size: 30px;
	font-weight: bold;
	line-height: 36px;
	text-decoration: none;
}
#site-title a:hover,
#site-title a:focus,
#site-title a:active {
	color: #1982d1;
}

#site-description {
	clear: none;

}

/* =Content
----------------------------------------------- */

.entry-title {
	clear: both;
	color: #222;
	font-size: 26px;
	font-weight: bold;
	line-height: 1.5em;
	padding-bottom: .3em;
	padding-top: 0px;
}

.entry-title,
.entry-title a {
	color: #af0000;
	text-decoration: none;
}

.entry-content,
.entry-summary {
	padding: 0;
	padding-top: 1.625em;
}

.entry-content h1,
.entry-content h2,
.comment-content h1,
.comment-content h2 {
	color: #af0000;
	font-weight: bold;
	margin: 0 0 .8125em;
	clear: none;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	clear: none;
}


.entry-content h1 {
	font-size: 24px;
}

.entry-content h2 {
	font-size: 20px;
}

.entry-content h3 {
	font-size: 16px;
	line-height: 1.5em;
	margin-bottom: 1em;
}

.entry-content h4 {
	font-size: 16px;
	color: #af0000;
}

.entry-content h5 {
	font-size: 14px;
	color: #af0000;
}
.entry-content h6 {
	font-size: 12px;
}

#content .gallery-columns-4 .gallery-item img {
	width: auto;
	height: auto;
}

/* =Showcase
----------------------------------------------- */

/* Intro */
article.intro {
	background: #fff;
	border-bottom: none;
	margin: -1.855em 0 1.625em;
	padding: 0;
}

/* Featured Slider */
.featured-posts {
	border-bottom: 1px solid #ddd;
	display: block;
	height: 328px;
	margin: 1.625em 0;
	max-width: 1000px;
	padding: 0;
	position: relative;
	overflow: hidden;
}

/* Small featured post */

article.feature-image.small .entry-summary p a {
	background: #222;
	color: #eee;
	display: block;
	left: -23.8%;
	padding: 9px 26px 9px 85px;
	position: relative;
	text-decoration: none;
	top: 20px;
	width: 180px;
	z-index: 1;
	background: -moz-linear-gradient(#cc0000, #990000);
	background: -ms-linear-gradient(#cc0000, #990000);
	background: -o-linear-gradient(#cc0000, #990000);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cc0000), to(#990000)); /* older webkit syntax */
	background: -webkit-linear-gradient(#cc0000, #990000);
}

section.recent-posts .other-recent-posts li {
	padding: 0.6125em 0;
	position: relative;
}

section.recent-posts .other-recent-posts a[rel="bookmark"] {
	color: #990000;
	float: left;
	max-width: 84%;
}

/* = Singular
----------------------------------------------- */

.singular #primary {
	margin: 0;
}
.singular #content,
.left-sidebar.singular #content {
	margin: 0 3.8%;
	position: relative;
	width: auto;
}
.singular .entry-header,
.singular .entry-content,
.singular footer.entry-meta,
.singular #comments-title {
	margin: 0 auto;
	width: 98.9%;
}

.singular.page .hentry {
	padding: 0 0 3.5em 0;
}

.singular .entry-title {
	color: #af0000;
	font-size: 26px;
	font-weight: bold;
	line-height: 48px;
	padding-top: 0;
}

.singular .entry-meta .edit-link a {
	bottom: auto;
	left: 50px;
	position: inherit;
	right: auto;
	top: 80px;
}

/* = Showcase Frontpage
----------------------------------------------- */
.page-template-showcase-php #primary,
.left-sidebar.page-template-showcase-php #primary {
	margin: 0;
}
.page-template-showcase-php #content,
.left-sidebar.page-template-showcase-php #content {
	margin: 0 3.8%;
	width: auto;
}
.page-template-showcase-php section.recent-posts {
	float: right;
	margin: 0 0 0 31%;
	width: 69%;
}
.page-template-showcase-php #main .widget-area {
	float: left;
	margin: 0 -25.15% 0 0;
	width: 25%;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCC;	
}

/* =Showcase Widget Frontpage
-------------------------------------------------------------- */


div.showcase .widget-title {
	background: transparent; 
	background-image: none;
	background: -moz-linear-gradient(#cc0000, #990000);
	background: -ms-linear-gradient(#cc0000, #990000);
	background: -o-linear-gradient(#cc0000, #990000);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cc0000), to(#990000)); /* older webkit syntax */
	background: -webkit-linear-gradient(#cc0000, #990000);
	color: #FFF;
	font-size: 16px;
	font-weight: normal;
	letter-spacing: 0;
	line-height: normal;
	text-transform: none;
	padding: .5em;
	text-align: center;
	border-top-right-radius: 0; 
	border-top-left-radius: 0;
	margin-bottom: .25em;
	
}

div.showcase .widget {
	margin: 0 0 2em 0;
	background-color: transparent;
	padding: 5px;
	padding-right: 20px;
	border: 0px solid #ddd;
	border-bottom-right-radius: 0; 
	border-bottom-left-radius: 0;
	font-size: 100%; 
}

div.showcase .widget-area {
	font-size: 14px;
}





/* =Widget Areas
-------------------------------------------------------------- */

.widget-title {
	background: #990000; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#cc0000, #990000);
	background: -ms-linear-gradient(#cc0000, #990000);
	background: -o-linear-gradient(#cc0000, #990000);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cc0000), to(#990000)); /* older webkit syntax */
	background: -webkit-linear-gradient(#cc0000, #990000);
	color: #FFF;
	font-size: 13px;
	font-weight: normal;
	letter-spacing: 0;
	line-height: 2.6em;
	text-transform: none;
	padding: 0 0.5em 0 0.5em;
	text-align: center;
	border-top-right-radius: 10px; 
	border-top-left-radius: 10px;
	margin-bottom: 10px; 
}

.widget {
	margin: 0 0 2em 0;
	background-color: #f9f9f9;
	padding: 10px;
	border: 1px solid #ddd;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

.widget ul li {
	color: #777;
	font-size: 13px;
	list-style: circle;
	margin-left: 20px;
}

/* =Widget Search need different styling
-------------------------------------------------------------- */

.widget_search {
	background-color: transparent;
	border: 0px solid #ddd;
	padding: 0;
}

.widget_search #s {
    width: 85%;
}

/* =Widget Nextgen Gallery Sidebar Widget
-------------------------------------------------------------- */

.ngg-sidebar-widget img {
    border: 2px solid #a9a9a9;
    margin: 0 6px 5px 0;
    padding: 3px;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	background: #990000; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#cc0000, #990000);
	background: -ms-linear-gradient(#cc0000, #990000);
	background: -o-linear-gradient(#cc0000, #990000);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cc0000), to(#990000)); /* older webkit syntax */
	background: -webkit-linear-gradient(#cc0000, #990000);
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	clear: both;
	display: block;
	float: left;
	margin: 0 auto 6px;
	width: 100%;
	min-height: 30px;
}

/* https://www.keshkesh.com/wordpress/how-to-make-the-wordpress-twenty-eleven-theme-fully-responsive/ */

@media (max-width: 992px) {
	#access .menu-primary-menu-container {
		display: none;
	}
}

/* admin bar height is 30 px
 * if it's 2 rows then additional 30
 */

.admin-bar #responsive-menu-button {
	top: 50px;
}

@media (max-width: 992px) {
	.admin-bar #responsive-menu-button {
		top: 80px;
	}
}

.admin-bar #responsive-menu-container {
	margin-top: 50px;
}

@media (max-width: 992px) {
	.admin-bar #responsive-menu-container {
		margin-top: 80px;
	}
}

/*
#access .highlighted {
	font-weight: bold;
	font-size: 14px;
}
*/

/* =Responsive Menu
----------------------------------------------- */

@media screen and (max-width: 992px) {
	.rmp-container .rmp-menu-wrap .rmp-menu .rmp-menu-item {
		/* width: 80% !important; */
	}
}






/* =Footer
----------------------------------------------- */

#colophon {
	clear: both;
	background: #F9F9F9;
}

#colophon .widget {
	margin: 0 0 0 0;
	background-color: transparent;
	padding: 3px;
	border: 0px solid #ddd;
	border-bottom-right-radius: 10px; 
	border-bottom-left-radius: 10px; 
}

#supplementary {
	border-top: 1px solid #ddd;
	padding: 0.625em 3.8%;
	overflow: hidden;
	background: #990000; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#cc0000, #990000);
	background: -ms-linear-gradient(#cc0000, #990000);
	background: -o-linear-gradient(#cc0000, #990000);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cc0000), to(#990000)); /* older webkit syntax */
	background: -webkit-linear-gradient(#cc0000, #990000);
	color: #FFF;
	font-weight: bold;
	letter-spacing: 0.05em;
}

#supplementary a {
	color: #CCC;
}
	


/* Site Generator Line */
#site-generator {
	border-top: 1px solid #999999;
	color: #CCC;
	font-size: 13px;
	line-height: 2.2em;
	text-align: center;
	background-color: #333333;
	padding: 0.5em;
	clear: both;
}
#site-generator a {
	color: #CCC;
	font-weight: bold;
}


/* = Footer Menu
-------------------------------------------------------------- */

#footer-nav {
	clear: both;
	display: block;
	float: right;
	width: 100%;
	background: #F9F9F9;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#footer-nav ul {
	font-size: 13px;
	list-style: none;
	margin: 0 0 0 -0.8125em;
	padding-left: 0;
}

#footer-nav li {
	float: right;
	position: relative;
}

#footer-nav a {
	color: #1982d1;
	display: block;
	line-height: 2.333em;
	padding: 0 1.2125em;
	text-decoration: none;
}

/* =Table Contact
----------------------------------------------- */

table.contact {
  border: 0px solid #dddddd;
}

table.contact th,
table.contact td {
  border-left: 0px solid #dddddd;
  border-top: 0px solid #dddddd;
  vertical-align: top;
}

/* =Button
----------------------------------------------- */

.button {
    -moz-box-sizing: border-box;
    background-position: 100% 0;
    background-repeat: no-repeat;
    border: medium none;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px 2px #000000;
    font-size: 12pt;
    font-weight: normal;
    height: 47px;
    line-height: 47px;
    margin: 15px 0;
    outline: medium none;
    overflow: hidden;
    padding: 0 34px 0 17px;
    text-decoration: none;
    float: left;
    margin-left: 0;
    margin-right: 20px !important;
    margin-bottom: 25px;
}

.button:hover, .button:focus {
	text-decoration: none;
	background-position: 100% -48px;
}
.button:active {
	background-position: 100% -95px;
	padding-top: 1px;
	height: 46px;
}

.button.style {
    background-color: #cc0000;
    background-image: url("images/button.png");
    color: #FFFFFF;
}

/* = Form Styles
-------------------------------------------------------------- */

input[type=tel],
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number],
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="tel"],
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"] {

    padding: 3px;

}

/* = Contact Form 7
-------------------------------------------------------------- */
.wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

/* = Google reCaptcha Badge
----------------------------------------------- */

.grecaptcha-badge { 
    display:none !important; 
}

/* =SU Shortcode Ultimate
 * Custom Style Spoiler Seite Leistungen
----------------------------------------------- */

.su-spoiler-title {
	color: #333;
    font-size: 1.1em;
    font-weight: bold;
}

.su-spoiler-icon {
	color: #cc0000;
	font-size: 1.1em;
}


.su-spoiler-style-default {
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    color: #333;
}

.su-spoiler-style-default > .su-spoiler-title {
    border-bottom: 1px solid #ccc;
    border-radius: 10px;
    background: #f0f0f0;
    font-size: 0.9em;
}

.su-spoiler-style-default > .su-spoiler-content {
    border-radius: 10px;
}

/* = Custom Styles
-------------------------------------------------------------- */

p.abteilung {
	text-align: center;
}

.wp-block-image.no-border img,
img.no-border {
	border: 0px solid #ddd;
}



div.colorbox p {
	margin-bottom: 0.75em;
}

div.border {
	border: 1px solid #e2e2e2;
	margin-bottom: 15px;
	margin-top: 15px;
	padding: 10px;
	border-radius: 10px;
	-moz-border-radius: 10px;	
}

div.border-red-left {
	font-family: Georgia, "Bitstream Charter", serif;
    font-style: italic;
    font-weight: normal;
    background: #f4f4f4;
    color: #666;
    margin: 0 0 1.6em 0.8em;
    padding: 1.4em 1em 0.1em 1em;
    border-left: 5px solid #af0000;
}

/* = Senior Fussball Experte
-------------------------------------------------------------- */
.senior-fussball-experte {
	background-color: #f9f9f9;
	border: 1px solid #DDD;
	border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
	overflow: auto;
	padding: 20px;
	margin-bottom: 25px;
}

.senior-fussball-experte:after {
	display: block;
	clear: both;
}

.senior-fussball-experte .wp-block-image {
  margin: 0 0 0em;
}

/* = Tablepress
-------------------------------------------------------------- */

.entry-content .tablepress thead th, .tablepress tfoot th {
    background-color: #fcc;
}

.entry-content .tablepress .small {
    font-size: 12px;
}



/* =Responsive Structure
----------------------------------------------- */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See https://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

@media (max-width: 992px) {
	/* 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;
	}
	/* Simplify the showcase template */
	.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;
	}
	/* Simplify the showcase template when small feature */
	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;
	}
	/* Remove the margin on singular articles */
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular #comments-title {
		width: 100%;
	}
	/* Simplify the pullquotes and pull styles */
	.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%;
	}
	/* Make sure we have room for our comment avatars */
	.commentlist {
		width: 100%;
	}
	.commentlist > li.comment,
	.commentlist .pingback {
		margin-left: 102px;
		width: auto;
	}
	/* And a full-width comment form */
	#respond {
		width: auto;
	}
	/* No need to float footer widgets at this size */
	#colophon #supplementary .widget-area {
		float: none;
		margin-right: 0;
		width: auto;
	}
	/* No need to float 404 widgets at this size */
	.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 {
		display: block;
		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;
	}
	.singular .entry-header .entry-meta,
	.singular .entry-header .entry-format,
	.singular .entry-meta .edit-link a {
		position: static;
	}
	/* 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 .featured-posts {
	margin: 0 -7.6%;
}
#ie7 .featured-post {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}
#ie7 section.recent-posts {
	margin-right: 7.6%;
}


/* =IE8
----------------------------------------------- */

#ie8 section.feature-image.large img {
	width: auto;
}
#ie8 section.featured-post .attachment-small-feature {
	max-width: none;
}
