/*
--------------------------------------------------------------------------------
Theme Name: Spirit of Football
Theme URI: http://www.haystack.co.uk/
Description: A child theme for Twenty Eleven designed for the Spirit of Football CIC website.
Version: 1.0.1
Template: twentyeleven
Author: Christian Wach
Author URI: http://www.haystack.co.uk
--------------------------------------------------------------------------------
*/

@import url("../twentyeleven/style.css");

body
{
    background: #666;
	background: #69C;
	font-size: 18px;
	font-family: 'Asap', "Helvetica Neue", Helvetica, Arial, sans-serif;
}



/*
 * Markup free clearing (See: http://www.positioniseverything.net/easyclearing.html )
 */
.clearfix:after
{
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}



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

#branding
{
	border: 0;
	color: #e08a33;
	padding-bottom: 0;
	-webkit-box-shadow: #aaa 0 2px 5px;
	-moz-box-shadow: #aaa 0 2px 5px;
	-khtml-box-shadow: #aaa 0 2px 5px;
	box-shadow: #aaa 0 2px 5px;
}

#branding
{
	background: #0A0933;
}



/*
--------------------------------------------------------------------------------
Title & Description
--------------------------------------------------------------------------------
*/

#branding hgroup
{
	margin: 0 1.2em;
	padding: 0 0 0 0;
	/* background: transparent url('../images/ui/logo_60.png') left 50% no-repeat; */
}

#branding h1,
#branding h2,
#branding a
{
	color: #ccc;
}

#site-title
{
	background: transparent url('assets/images/misc/sof-logo-white-100-sq.png') left center no-repeat;
	background-size: 50px;
	padding-left: 58px;
	padding-top: 1em;
	padding-bottom: 1em;
}

#branding #site-title a:hover
{
	color: #fff;
}

#branding a:hover
{
	color: #fff;
}

#branding h2
{
	padding-bottom: 1em;
	margin-bottom: 0;
	/* color: #456db6; */ /* logo blue */
}

/* header image */
#branding > a
{
	display: block;
	line-height: 0;
}

#branding img
{
	margin-bottom: -8px;
}



/*
--------------------------------------------------------------------------------
Search Form
--------------------------------------------------------------------------------
*/

#branding #searchform
{
	position: absolute;
	top: 1.2em;
	right: 7.2em;
}

#branding #s
{
	width: 8em;
	background-color: #ccc;
	border-color: black;
	color: #222;
}



/*
--------------------------------------------------------------------------------
Main Menu
--------------------------------------------------------------------------------
*/

#access
{
	background: #202B6D;
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 0px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 0px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 0px;
	margin-bottom: 0;
}

#access div
{
	margin: 0 1.5em;
}

#access a
{
	color: #bbb;
	line-height: 2.4em;
}

#access ul ul
{
	top: 2.4em;
}

#access ul ul a
{
	line-height: 0.8em;
}



/*
--------------------------------------------------------------------------------
Showcase Clone
--------------------------------------------------------------------------------
*/

/* homepage intro */
article.intro
{
	background-color: #AFC2DC;
	margin-left: -9%;
	margin-right: -9%;
	margin-bottom: 0;
	padding-top: 2.6em;
	padding-bottom: 1.3em;
	font-family: 'Asap', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

article.intro h1.showcase-heading
{
	color: #333;
}

article.intro .entry-content
{
	padding: 0;
}

article.intro .entry-title
{
	display: block;
}

article.intro p
{
	color: #202B6D;
	margin-bottom: 1em;
	margin-right: 40%;
}

article.intro a.call-to-action,
article.post-144 a.call-to-action
{
	text-transform: uppercase;
	font-size: 150%;
	font-weight: bold;
	padding: 10px 14px;
	color: #202B6D;
	background-color: #fff;
	text-decoration: none;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

#content article.post-144 a.call-to-action
{
	color: #fff;
	background-color: #547DB4;
}

article.intro a:hover,
#content article.post-144 a:hover
{
	color: #fff;
	background-color: #202B6D;
}

article.intro div.the_balls
{
	float: right;
	width: 222px;
}

article.intro div.the_balls img
{
	display: inline-block;
	width: 100px;
	height: 100px;
	border: none;
	margin: 0 10px 0 0;
	padding: 0;
}

article.intro span.vvqbox
{
	display: block;
	text-align: left;
	margin: 0 0 20px 0;
}



/* custom featured posts */
.featured-posts
{
	margin-top: 0;
	margin-left: -9%;
	margin-right: -9%;
	margin-bottom: 30px;
	padding-top: 0;
	background-color: #fff;
	height: auto;
	border: none;
	clear: both;
	background-color: #AFC2DC;
}

.featured-posts h1.showcase-heading
{
	padding-top: 1em;
	padding-bottom: 1em;
	padding-left: 7.6%;
	color: #333;
}

.featured-posts .featured-germany
{
	float: left;
	width: 25%;
}

.featured-posts .featured-2010
{
	float: left;
	width: 25%;
}

.featured-posts .featured-brazil,
.featured-posts .featured-germany
{
	float: left;
	width: 50%;
}

.featured-project
{
}

.featured-project .featured-inner
{
	position: relative;
}

.featured-project h2
{
	font-size: 90%;
	font-weight: bold;
	position: absolute;
	width: 100%;
	top: 14px;
	left: 14px;
	top: 0;
	left: 0;
	padding: 6px 12px;
	background: rgba( 175, 194, 220, 0.7); /* #AFC2DC */
	background: rgba( 32, 43, 109, 0.6); /* #202B6D */
	color: #202B6D;
	line-height: 1.25;
}

.featured-project h2 a
{
	color: #fff;
	color: #AFC2DC;
	text-decoration: none;
	display: block;
}

.featured-project h2 a:hover
{
	color: #AFC2DC;
	color: #fff;
}

.featured-project .featured-inner > a
{
	display: block;
	padding: 0;
	margin: 0;
	line-height: 0;
}

@media (max-width: 800px) {
	.page-template-showcase-php .featured-posts
	{
		min-height: 0;
	}
}




/* downloads */
body.home .recent-posts .entry-content
{
	padding-top: 0.5em;
}

body.home .recent-posts .hentry
{
	padding-bottom: 0.5em;
}

/* widget title */
.widget-title
{
	padding: 0;
}



/* Get Involved variant */
body.page-template-showcase-clone-php #main .featured-posts
{
	background-color: #fff;
	margin-bottom: 0;
}

body.page-template-showcase-clone-php .featured-posts h1.showcase-heading
{
	padding-left: 2.6%;
	display: none;
}

body.page-template-showcase-clone-php.singular #primary,
body.page-template-showcase-clone-php.singular #content
{
	padding-bottom: 0;
}

body.page-template-showcase-clone-php.singular #content
{
	margin: 0 7.6%;
	position: relative;
	width: auto;
}

body.page-template-showcase-clone-php.singular article.page
{
	float: left;
	margin: 0 41% 0 0;
	width: 59%;
	padding-bottom: 30px;
}

body.page-template-showcase-clone-php.singular .page .entry-header,
body.page-template-showcase-clone-php.singular .page .entry-content
{
	margin: 0;
	position: relative;
	width: auto;
}

body.page-template-showcase-clone-php.singular #main .widget-area
{
	padding-top: 18px;
	float: right;
	margin: 0 0 0 -32.15%;
	width: 32.15%;
}

body.page-template-showcase-clone-php.singular #main .widget-area a.read-more
{
	text-transform: uppercase;
	font-size: 150%;
	font-weight: bold;
	padding: 10px 14px;
	color: #202B6D;
	background-color: #AFC2DC;
	text-decoration: none;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

body.page-template-showcase-clone-php.singular #main .widget-area a.read-more:hover
{
	color: #AFC2DC;
	background-color: #202B6D;
}



/* adapt or die! */
@media (max-width: 800px) {
	body.page-template-showcase-clone-php.singular article.page
	{
		float: none;
		width: auto;
		margin: 0;
	}
}



/*
--------------------------------------------------------------------------------
Single Page
--------------------------------------------------------------------------------
*/

#content nav
{
	padding-bottom: 0;
}

.singular.page .hentry
{
	padding: 1em 0 0 0;
}

.singular.page .entry-title
{
	margin: 0;
	padding: 0;
}

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

.singular.page .entry-content
{
	padding-top: 1em;
	width: 75%;
}

.singular.page .hentry
{
	margin-bottom: 4em;
}

#post-170 .entry-content div.alignleft
{
	font-size: 15px;
}

/* existing media page */
#existing-media-list
{
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-size: 80%;
}

#existing-media-list h4
{
	margin: 0;
	padding: 0;
	color: #1982D1;
	font-weight: bold;
	font-style: normal;
}

#existing-media-list ul
{
	margin: 0 20px 20px 20px;
}

#existing-media-list ul.existing-last
{
	margin: 0 20px 10px 20px;
}

#primary
{
	background: #fff url("assets/images/misc/page-corner-2.jpg") right bottom no-repeat;
	padding-bottom: 20px;
	-webkit-box-shadow: #aaa 0 2px 3px;
	-moz-box-shadow: #aaa 0 2px 3px;
	-khtml-box-shadow: #aaa 0 2px 3px;
	box-shadow: #aaa 0 2px 3px;
}

.singular #content
{
	padding-bottom: 20px;
}

.wp-caption img
{
	max-width: 100%;
	height: auto;
}



/*
--------------------------------------------------------------------------------
Quotes listing
--------------------------------------------------------------------------------
*/
.post-type-archive-quote .entry-content,
.post-type-archive-quote .entry-summary,
.post-type-archive-quote .hentry,
.post-type-archive-quote .no-results
{
	padding: 0;
}

.type-quote blockquote,
.post-type-archive-quote blockquote
{
	margin: 0 5em 0 0;
}

.type-quote blockquote p,
.post-type-archive-quote blockquote p
{
	font-size: 100%;
	line-height: 1.4;
	margin-bottom: 0.8em;
}

.type-quote .entry-content > p,
.post-type-archive-quote .entry-content > p
{
	font-size: 85%;
	margin-left: 1em;
}

.singular.page .hentry .hentry,
.singular.page .hentry .hentry .entry-content
{
	display: block;
	padding: 0;
	margin: 0;
	width: auto;
}

/* Right-aligned */
.singular.page .hentry .alignright.hentry
{
	float: right;
	width: 36%;
	background: #D6E0ED;
	padding: 1em;
	margin: 0 0 0 1em;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	border: 1px solid #AFC2DC;
}

/* Left-aligned */
.singular.page .hentry .alignleft.hentry
{
	float: left;
	width: 36%;
	background: #D6E0ED;
	padding: 1em;
	margin: 0 1em 0 0;
	border: 1px solid #AFC2DC;
}

.singular.page .hentry .alignright.hentry blockquote,
.singular.page .hentry .alignleft.hentry blockquote
{
	padding: 0;
	margin: 0;
	font-size: 80%;
	line-height: 1.2;
}

/* Non-aligned */
.singular.page .hentry .alignnone.hentry
{
	background: #D6E0ED;
	padding: 0.8em 1em 0.5em 1em;
	margin: 0 0 1.625em 0;
	-moz-border-radius: 12px;
	-khtml-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
	border: 1px solid #AFC2DC;
}

.singular.page .hentry .alignnone.hentry blockquote
{
	padding: 0;
	margin: 0;
	font-size: 90%;
}

.singular.page .hentry .alignnone.hentry blockquote p
{
	margin-bottom: 1em;
}



/* random quote styling for showcase homepage */
body.home #sofcic_widget-2 ol
{
	list-style: none;
	margin: 1em 0 0 0;
	padding: 0;
}

body.home #sofcic_widget-2 ol li
{
	list-style: none;
	margin: 0;
	padding: 0;
}

body.home #sofcic_widget-2 ol li .hentry
{
	background: #D6E0ED;
	padding: 1em 1em 0.5em 1em;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	border: 1px solid #AFC2DC;
}

body.home #sofcic_widget-2 ol li .entry-content
{
	padding: 0;
}

body.home #sofcic_widget-2 ol li blockquote
{
	margin: 0;
	padding: 0;
}

body.home #sofcic_widget-2 ol li blockquote p
{
	font-style: italic;
	font-size: 120%;
}

.quote img[class*="align"],
.quote img[class*="wp-image-"],
.quote img
{
	padding: 3px;
	background-color: #fff;
	border: 1px solid #AFC2DC;
}



/*
--------------------------------------------------------------------------------
Gallery styles
--------------------------------------------------------------------------------
*/
.entry-header .entry-format
{
	left: 0;
}

.post-type-archive-gallery .entry-header .entry-format
{
	display: none;
}

.entry-thumb
{
	float: left;
	margin: 0 20px 0 0;
}

/* gallery widget */
.widget.karin_widget ol
{
	margin: 0;
	padding: 0;
}

.widget.karin_widget ol li
{
	list-style: none;
	margin: 0;
	padding: 1em 0;
}

.widget.karin_widget h4
{
	font-weight: bold;
	color: #222;
	margin: 0 0 0.5em 0;
	font-size: 110%;
}

.widget.karin_widget h4 a
{
	color: #222;
}

.widget.karin_widget h4 a:hover
{
	color: #1982D1;
	text-decoration: none;
}

.widget.karin_widget img
{
	border: 1px solid #DDD;
	padding: 6px;
}



/*
--------------------------------------------------------------------------------
SOF Team
--------------------------------------------------------------------------------
*/

#sof_team
{
}

.sof_team_member
{
	clear: left;
	padding: 1em;
	margin: 0 0 2em 0;
	background-color: #D6E0ED;
	border: 1px solid #AFC2DC;
	-moz-border-radius: 12px;
	-khtml-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
}

.sof_team_member h2
{
}

.sof_team_member img
{
	float: left;
	margin: 0.2em 0 0 0;
	padding: 3px;
	background-color: #fff;
	border: 1px solid #AFC2DC;
}

.sof_team_member p
{
	margin: 0 0 0 220px;
	font-size: 15px;
}



/*
------------------------------------------------------------
Contact Form
------------------------------------------------------------
*/

#content form.customcontactform
{
	margin: 0;
	padding: 20px;
	background-color: #AFC2DC;
	-moz-border-radius: 12px;
	-khtml-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
}

#content form.customcontactform div input,
#content form.customcontactform div textarea
{
	width: 70%;
}

#content form.customcontactform div textarea
{
	height: 10em;
}



/*
------------------------------------------------------------
Footer
------------------------------------------------------------
*/

#colophon
{
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#supplementary
{
	background-color: #AFC2DC;
	background-color: #D6E0ED;
}

#supplementary form.customcontactform-sidebar
{
	margin: 0;
	padding: 0;
	width: 100%;
}

#supplementary .widget ul
{
	margin-left: 1em;
}

#site-generator
{
	background-color: #fff;
}

#sponsors
{
	clear: both;
	margin: 0;
	padding: 5px 28px 15px 28px;
	text-align: center;
}

	#sponsors h2
	{
		color: #fff;
		text-transform: uppercase;
	}

	#sponsors ul
	{
		list-style: none;
		margin: 0 auto;
		padding: 0;
	}

	#sponsors ul li
	{
		display: inline;
		margin: 5px 15px 0 0;
		padding: 0;
	}

	#sponsors a
	{
		background: transparent;
		border: 0;
	}

	img.partner_logo
	{
		display: inline-block;
		vertical-align: top;
		border: 0;
		margin-bottom: 1em;
	}


	#site-generator a
	{
		color: #888;
		font-weight: normal;
		font-size: 90%;
	}



/*
--------------------------------------------------------------------------------
WP Book Module
--------------------------------------------------------------------------------
*/

#content nav a
{
	font-size: 140%;
}

#content nav .nav-next span.next-book-page
{
	font-style: italic;
}

.nav-previous
{
	display: none;
}

.nav-next
{
	width: 100%;
}



/*
--------------------------------------------------------------------------------
Edit links
--------------------------------------------------------------------------------
*/

#content .edit-link a
{
	background: #AAA;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: white;
	font-size: 12px;
	font-weight: normal;
	padding: 0 8px;
	position: absolute;
	top: 20px;
	right: 20px;
	left: auto;
	text-decoration: none;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}

#content .quote .edit-link a
{
	top: 4px;
	right: 4px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}





/*
--------------------------------------------------------------------------------
Adaptive stuff
--------------------------------------------------------------------------------
*/

/* Old screens and Tablet Landscape */
@media only screen and (max-width: 1024px) {

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

}



/* Old screens */
@media only screen and (max-width: 800px) {

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

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

}



/* Tablet portrait and less */
@media only screen and (max-width: 768px) {
}



/* Mobile landscape and less */
@media only screen and (max-width: 640px) {

	/* Right-aligned & Left-aligned Quotes */
	.singular.page .hentry .alignright.hentry,
	.singular.page .hentry .alignleft.hentry
	{
		float: none;
		width: auto;
		margin: 0;
		margin-bottom: 1.625em;
	}

	/* Homepage balls */
	article.intro div.the_balls
	{
		float: none;
		width: auto;
		margin-bottom: 1em;
	}

	article.intro .entry-content
	{
		font-size: 16px;
	}

	article.intro div.the_balls img
	{
		float: left;
		margin-bottom: 1em;
		margin-right: 15px;
	}

	article.intro div.the_balls img.the_balls_last
	{
		margin-right: 0;
	}

	article.intro p
	{
		margin-bottom: 1.5em;
		margin-right: 0;
	}

	#branding #searchform
	{
		top: 1em !important;
	}

}



/* Mobile portrait and less */
@media only screen and (max-width: 480px) {

	.featured-posts .featured-brazil,
	.featured-posts .featured-germany
	{
		float: none;
		width: auto;
	}

	#branding hgroup
	{
	}

	#branding #searchform
	{
		display: none;
	}

}



