/*
Theme Name: AOP12
Version: 1.2
Author: BET
Description: A fruity Apple Orange Pair theme. Based on toolbox by Automattic.
License: GNU General Public License
License URI: license.txt

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Color reference from new logo
red: #be1e2d  orange: #f15a29  green: #8ba632
*/

@import url(http://fonts.googleapis.com/css?family=Noto+Sans:400,700);

body {
	font-family: 'Noto Sans', sans-serif;
	color: #000000;
	margin: 0 2em;
	background: #fff;
}

/* =Structure
-------------------------------------- */

#page {
	max-width: 976px;
/*	min-width: 720px; */
	margin: 0 auto;
	background: white;
}
#primary {
	float: left;
	margin: 10px -320px 20px 0;
	width: 100%;
}
#primary-left {
	float: right;
	margin: 10px 0 20px -340px;
	width: 100%;
}
#content {
	margin: 0 320px 0 0;
}
.left-sidebar #content {
	margin: 0 0 0 300px;
}
#main {
	display: block;
	height: 100%;
}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 260px;
	padding: 0 0 0 20px;
	margin: 10px 0 10px 0;
	border-left: 0.12em solid #d43201;
}
#main .widget-area-left {
	float: left;
	overflow: hidden;
	width: 260px;
	padding: 0 20px 0 0;
	margin: 10px 0 10px 0;
	border-right: 0.12em solid #d43201;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.section-heading {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 20px;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 20px;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Button */
a.button {
	background: #C82b01;
	background: #8ba632;
	padding: 5px 10px;
	color: white;
	text-decoration: none;
}
a.button:hover {
	background: white;
	color:#d43201;
	background: #cdcdcd;
	text-decoration: none;
}

/* =Header ----------------------------------- */

#branding {
	position: static;
	display: block;
}
hgroup {
	background:url(images/bannernew.jpg) top left no-repeat;
}
body hgroup {
	height:347px;
}
body.home hgroup {
	height:347px;
}
img.header-logo {
	position: relative;
	left: 70px;
	float: left;	
	max-width: 60%;
}
body.home img.header-logo {
	top: 85px;
}
body img.header-logo {
	top: 45px;
}
img.header-ec {
	float: right;
	padding: 0;
	top: 0px;
	box-shadow: -3px 0 3px rgba(0, 0, 0, 0.2);
}
#site-title {
	font: 2em bold;
	margin: .67em 0;
	color: #FFFFFF;
	background: transparent;
}
#site-title a {
	color: #FFFFFF;
}
#site-description {
	font: 1em normal;
	margin: 0 0 1em;
}

/* =Menu
-------------------------------------------------------------- */

#access {
	display: block;
	float: left;
	margin: 0;
	width: 100%;
	background: #ddd;
	background: -moz-linear-gradient(#aaa, #eee);
	background: -o-linear-gradient(#aaa, #eee);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#aaa), to(#eee)); /* older webkit syntax */
	background: -webkit-linear-gradient(#aaa, #eee);
	font-size: 1em;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	background: #eee;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
	text-transform: lowercase;
	color:#000000;
}
#access li.current_page_item,
#access li.current_page_item > a {
	background: #f15a29;
/*	background: -moz-linear-gradient(#3f2f30, #4F4243);
	background: -o-linear-gradient(#3f2f30, #4F4243);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3f2f30), to(#4F4243)); /* older webkit syntax */
	background: -webkit-linear-gradient(#3f2f30, #4F4243); */
	color: #d43201;
	color: white;
}
#access li {
	float: left;
	position: relative;
	color:#000000;
	text-align: center;
	font-weight: bold;
	width: 162.5px;
	white-space: nowrap;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em .5em;
/*	width: 10em;*/
	height: auto;
	font-size: 0.8em;
}
#access li:hover > a,
#access ul ul :hover > a {
	color:#d43201;
	background: #cdcdcd;
}
#access ul li:hover > ul {
	display: block;
}

/* =Content
-------------------------------------------------------------- */

.entry-meta {
	clear: both;
	display: block;
	font-size: 0.8em;
	text-transform: uppercase;
}
footer.entry-meta {
	padding-bottom: 0.5em;
	border-bottom: 1px dotted #bbb;
	text-align: right;
}
#content h1 {
	font-size: 1.5em;
	font-weight: normal;
	color:#d43201;
	margin: 1.5em 0 0.2em 0;
	padding: 0;
}
#content h2 {
	margin: 0 0 0.2em 0;
	font-size: 1.2em;
	font-weight: bold;
	color:#d43201;
	line-height: 1em;
}
#content img {
	border: 0.12em solid #d43201;
	padding: 10px;
	margin: 0 0 10px 0;
}
#content img.alignright {
	margin-left: 10px;
}
#content img.alignleft {
	margin: 0 1em 1em 0;
}
#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;
	margin-bottom: 20px;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	margin: 0 0 1em;
}

a {
/*	color:#001f29; */
/*	color: #034053; */
	color: #006686;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* 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;
}

footer.entry-meta {
	margin-bottom: 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;
}

/* Aside Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin-right: 1em;
}

/* =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;
}


/* =Forms
-------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
----------------------------------------------- */

article.comment {
	display: block;
}
#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;
}


/* =Widgets / Sidebar
--------------------------------------------- */

.widget {
	display: block;
}
#secondary .widget-area
	border-left: 1px solid #d43201;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}
/*
.widget-title {
	font-size:18px;
	color:#d43201;
	margin-bottom:10px;
	font-weight:normal;
}
*/
#secondary {
	font-size: 90%;
}
#secondary h1 {
	font-size: 1.4em;
	color: #d43201;
	margin: 40px 0 10px 0;
	font-weight: normal;
}
#secondary h2 {
	font-size: 1.2em;
	color: #d43201;
	font-weight: bold;
	margin: 1em 0 0.1em 0;
}
#secondary h3 {
	font-size: 1em;
	color: #d43201;
	font-weight: normal;
	margin: 1em 0 0.1em 0;
}
#secondary p {
	margin: 0;
}


/* =Special homepage footer
----------------------------------------------- */
#homepage-footer {
	width: 100%;
	margin: 0;
	background-color: #3f2f30;
	clear: both;
	display: block;
	color: white;
	padding: 20px 0;
}
#homepage-footer p,
#homepage-footer h1,
#homepage-footer h2 {
	padding: 0 20px;
}
#homepage-footer img {
	border: 0.12em solid #d43201;
	padding: 10px;
	background: white;
	clear: none;
	margin: 0 20px 0 0;
}
#homepage-footer div.hpfootertext {
	clear: none;
	display: inline;
	float: right;
	width: 370px;
}
#homepage-footer div.hpfooterimg {
	clear: none;
	display: inline;
	height: 100%;
}
#homepage-footer h1 {
	font-size: 1.2em;
/*	color: #d43201;*/
	color: white;
	font-weight: bold;
	margin: 0 0 10px 0;
}
#homepage-footer h2 {
	font-size: 1em;
	color: #d43201;
	margin-top: 0;
	font-weight: bold;
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
	border-top: 0.12em solid #d43201;
	padding: 1em 0 0;
	font-size: 0.8em;
	text-align: left;
	margin: 15px 0 15px 0;
}


@media screen and (max-width: 700px) {
	#primary {
		float: none;
		width: auto;
		clear: both;
		margin: 0;
		padding: 0.5em 0;
	}
	#content {
		margin: 0;
	}
	#main .widget-area {
		border-top: 1px solid #d43201;
		border-left: none;
		width: auto;
		float: none;
		margin: 1em 0;
		padding: 1em 0;
	}
	img.header-ec {
		display: none;
	}
}


