/*
Theme Name: Ajo Theme
Author: Empire Creative Marketing
License: GNU General Public License
License URI: license.txt
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/

/* =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; }
body { background: #fff; line-height: 1; }
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; }
/* 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; }
/* =Global

----------------------------------------------- */

body, input, textarea { color: #333; font-weight: 300; line-height: 1.625; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
/* Headings */

h1, h2, h3, h4, h5, h6 { clear: both; }
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: #9b4822; text-decoration: none; font-weight: normal; }
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%; }
/* CUSTOM FONT */

@font-face { font-family: 'ChunkFiveRegular'; src: url('fonts/Chunkfive-webfont.eot'); src: url('fonts/Chunkfive-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/Chunkfive-webfont.woff') format('woff'), url('fonts/Chunkfive-webfont.ttf') format('truetype'), url('fonts/Chunkfive-webfont.svg#ChunkFiveRegular') format('svg'); font-weight: normal; font-style: normal; }
/* =Structure------------------------------------- */

body { padding: 0; background: #934000;  }
#body_bg_wrap { background: #d7cbba url(images/body_bg2.jpg) no-repeat top center; margin:0; width:100%; clear:both; }
#page, .page_width { margin: 0 auto; width: 1000px; }
#branding { width: 100%; height: auto; position: relative; z-index: 2; }
#branding hgroup { margin: 27px 0 0 0; width: 100%; height: 125px; text-indent: -9999px; background: url(images/header_logo.png); }
#header_widgets { position: absolute; top: 15px; right: 0; width: 400px; height: 80px; }
#access { margin-top: 11px; z-index: 3; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; box-shadow: 0px 0px 4px #666; -moz-box-shadow: 0px 0px 4px #666; -webkit-box-shadow: 0px 0px 4px #666; }
#main { clear: both; padding: 0 0; background: #ffffff; 
	margin: 11px auto 50px auto; width: 1000px; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; box-shadow: 0px 0px 5px #333; -moz-box-shadow: 0px 0px 5px #333; -webkit-box-shadow: 0px 0px 5px #333; }
#primary { float: right; margin: 13px 20px 20px 0; width: 680px; }
#content { margin:;
width:;
}
#secondary { float: left; margin: 13px 0 13px 10px; width: 250px; padding: 10px; border: #999 1px solid; background: url(images/sidebar_bg.jpg); border-radius: 5px; -moz-border-radius: 5px; ; -webkit-border-radius: 6px; }
#footer_wrap { }
#colophon { color: #FFF; }

/*CUSTOM page backgound */
#main {background-position:right bottom !important; background-repeat:no-repeat !important;}
.home #main {background:#FFF url(images/home_bg.jpg);}
.page-id-10 #main {background:#FFF url(images/home_bg.jpg);}
.page #main {background:#FFF url(images/home_bg.jpg);}

/* =Header-------------------------------------- */

#header_widgets aside { float: right; margin-bottom: 10px; }
#header_widgets .widget_nav_menu ul li { float: left; clear: none; }
#header_widgets .widget_nav_menu ul li a { display: block; padding: 0px 8px; font-size: 12px; line-height: normal; color: #288379; border-right: #288379 solid 1px; }
#header_widgets .widget_search { margin-left: 3px; }
#header_widgets .social-profiles { clear: none; }
#header_widgets .social-profiles a { margin: 3px; }
#header_widgets .social-profiles a img { xmargin-top: 5px; }
/* Search Form */

#branding #searchform { text-align: right; }
#branding #searchform div { margin: 0; }
#branding #s { float: right; font-size: 10px; height: auto; background-color: #FFF; -webkit-transition-duration: 400ms; -webkit-transition-property: width, background; -webkit-transition-timing-function: ease; -moz-transition-duration: 400ms; -moz-transition-property: width, background; -moz-transition-timing-function: ease; -o-transition-duration: 400ms; -o-transition-property: width, background; -o-transition-timing-function: ease; width: 72px; }
#branding #s:focus { background-color: #f9f9f9; width: 196px; }
#branding #searchsubmit { display: none; }
#branding .only-search #searchform { top: 5px; z-index: 1; }
#branding .only-search #s { background-color: #666; border-color: #000; color: #222; }
#branding .only-search #s, #branding .only-search #s:focus { width: 85%; }
#branding .only-search #s:focus { background-color: #bbb; }
#branding .with-image #searchform { top: auto; bottom: -27px; max-width: 195px; }
#branding .only-search + #access div { padding-right: 205px; }
/* =Menu

-------------------------------------------------------------- */

#access { background: #288379; clear: both; display: block; float: left; width: 100%; }
#access div { margin: 0; }
#access ul { font-size: 13px; list-style: none; margin: 0; padding-left: 0; }
#access li { float: left; position: relative; }
#access a { color: #FFF; text-transform: uppercase; display: block; line-height: 1; font-size: 13px; font-weight: bold; padding: 14px 20px; text-decoration: none; }
#access a span { text-transform: none; display: block; clear: both; font-size: 9px; font-weight: normal; }
#access ul ul { -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none; float: left; margin: 0; position: absolute; top: 49px; left: 0; width: 188px; z-index: 99999; }
#access ul ul ul { left: 100%; top: 0; }
#access ul ul a { background: #fbfcfc url(images/sub_nav_bg.png) no-repeat bottom center; color: #576664; padding: 14px 20px; font-size: 12px; font-weight: normal; text-transform: none; height: auto; width: 150px; }
#access ul li a:hover, #access ul li a:focus { background-color: #35a095; background-image: url(images/nav_hover_bg.png); background-repeat: no-repeat; background-position: 20px bottom; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
#access ul ul a:hover { color: #288379; background-color: #fbfcfc !important; background: #fbfcfc url(images/sub_nav_bg.png) no-repeat bottom center; border-radius: 0 !important; -moz-border-radius: 0 !important; -webkit-border-radius: 0 !important; }
#access li:hover > a, #access a:focus { }
#access ul li:hover > ul { display: block; }
#access .current-menu-item > a, #access .current-menu-ancestor > a, #access .current_page_item > a, #access .current_page_ancestor > a { }
/* home slider */

#home_slider { margin: 9px 0 0!important; }
#cs-wpcontent_slider, #wpcontent_slider, #wpcontent_slider_container, .coin-slider { border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; box-shadow: 0px 0px 4px #666; -moz-box-shadow: 0px 0px 4px #666; -webkit-box-shadow: 0px 0px 4px #666; }
#home_slider .cs-title { background: none !important; width: 320px !important; height: 230px !important; top: 31px; right: 15px; left: auto !important; padding: 0 !important; text-align: center; color: #FFF !important; color:#666666 !important/9;
font-size: 15px; opacity: .99; font-weight: bold !important; }
#home_slider .cs-title h4 { font: 32px/1 'ChunkFiveRegular'; color: #9B4822; margin-bottom: .5em; display: block; padding-bottom: 8px; background: url(images/red_dots.png) no-repeat center bottom; text-shadow: 0px 0px 11px #FAF7FA; }
#home_slider .cs-title p { text-shadow: 2px 2px 3px #000; font-weight: bold; }
#home_slider .cs-title span { color: #3F9 !important; font-weight: bold; clear: both; display: block; font-size:bold !important:
}
#cs-navigation-wpcontent_slider { opacity: .3 !important; }
#home_slider #cs-buttons-wpcontent_slider { display: none !important; }
/* custom content */

.home #main { margin-top: 0 !important; }
p a { text-decoration: underline; }
.home_text { float: left; height: 170px; width: 365px; clear: none; display: block; }
.home_feature_img { float: right; width: 265px; clear: none; display: block; position: absolute; top: 10px; right: 5px; }
.alt_widget { border: #e3e3e3 solid 1px; background: #f9f4e4; padding: 12px 10px; }
.alt_widget .widget-title { color: #2b9388; font-size: 20px; }
/* custom widgets */

#secondary .widget-title { background: url(images/sidebar_title_bg.png) no-repeat center bottom; padding-bottom: 3px; font-size:20px; margin: 0 0 5px; display: block; }
#secondary aside { margin-bottom: 10px; }
.widget-title { color: #9b4822; font: 26px/1em 'ChunkFiveRegular'; font-weight: normal; line-height: 1.5em; text-transform: none; }
#home_widgets aside { margin-bottom: 10px; }
.ajo_videos { width: 648px; padding-right: 0; }
.ajo_videos ul li { display: block; float: left; width: 180px; margin: 0 10px; }
.ajo_videos ul li span { margin: 0 5px; display: inline-block; font-style: italic; text-align: center; }
.video_placeholder { width: 173px; height: 134px; margin: 0 auto 5px auto; }
.vid1 { background: url(images/vid_1.png) no-repeat; }
.vid2 { background: url(images/vid_2.png) no-repeat; }
.vid3 { background: url(images/vid_3.png) no-repeat; }
.recent_event_photos .widget-title p { clear: both; display: block; }
.ngg-widget img { border: 1px solid #ddd !important; padding: 4px !important; margin: 0 10px !important; box-shadow: 0px 0px 3px #999 !important; -moz-box-shadow: 0px 0px 3px #999 !important; -webkit-box-shadow: 0px 0px 3px #999 !important; }
.ajo_events ul li {margin-bottom:.5em;}
.ajo_events ul li a {xdisplay:block; xclear:both; font-weight:bold;}
.event h3.entry-name a {font: 14px/1em 'ChunkFiveRegular'; }

.ajo_events span {display:block; clear:both;}
.ajo_events .date {color: #288479;}
.ajo_events .name {font: 15px/1em 'ChunkFiveRegular';}
.ajo_events .excerpt {}
.fc-button-content {height:auto !important;}


/* =Content
----------------------------------------------- */
.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 { margin: 0; padding: 0; 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-title, .entry-header .entry-meta { padding-right: 76px; }
.entry-title { clear: both; color: #9b4822; font: 26px/1em 'ChunkFiveRegular'; font-weight: normal; padding-bottom: 5px; padding-top: 4px; }
.entry-title a { color: #2b9489; text-decoration: none; }
.entry-title a:hover, .entry-title a:focus, .entry-title a:active { color: #1982d1; }
.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: 1.5em 0 0; }
.entry-content h1 { clear: both; color: #9B4822; font: 25px/1em 'ChunkFiveRegular'; margin: 0 0 .8125em; }
.entry-content h2 {color:#288479; xfont-size:15px; font: 15px/2em 'ChunkFiveRegular';}
.entry-content h2 strong {font-weight:normal !important;}
.entry-content h3 {xcolor:#288479; font: 15px/2em 'ChunkFiveRegular'; }
.entry-content .force_h2 {color:#288479; font: 15px/2em 'ChunkFiveRegular';}
.entry-content .teal {color:#288479;}
.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%; }
.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 */ 
	xborder: 1px solid #ddd; padding: 4px; xbox-shadow: 0px 0px 3px #999; x-moz-box-shadow: 0px 0px 3px #999; x-webkit-box-shadow: 0px 0px 3px #999; }
.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; }
/* =Link

----------------------------------------------- */

.format-link .entry-title, .format-link .entry-header .comments-link { display: none; }
.singular .format-link .entry-title { display: block; }
.format-link .entry-content { padding: 0; }
.singular .format-link .entry-content { padding: 1.625em 0 0; }
/* =Gallery

----------------------------------------------- */

.format-gallery .gallery-thumb { float: left; display: block; margin: .375em 1.625em 0 0; }
/* =Status

----------------------------------------------- */



.format-status .entry-title, .format-status .entry-header .comments-link { display: none; }
.singular .format-status .entry-title { display: block; }
.format-status .entry-content { padding: 0; }
.singular .format-status .entry-content { padding: 1.625em 0 0; }
.format-status img.avatar { -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 2px #ccc; -moz-box-shadow: 0 1px 2px #ccc; box-shadow: 0 1px 2px #ccc; float: left; margin: 4px 10px 2px 0; padding: 0; }
/* =Quote

----------------------------------------------- */



.format-quote blockquote { color: #555; font-size: 17px; margin: 0; }
/* =Image

----------------------------------------------- */

.indexed.format-image .entry-header { min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */ }
.indexed.format-image .entry-content { padding-top: 0.5em; }
.indexed.format-image p, .indexed.format-image p img { margin-bottom: 0; }
.indexed.format-image footer.entry-meta { background: #ddd; margin-top: -7px; padding: 20px 30px; overflow: hidden; }
.indexed.format-image div.entry-meta { display: inline-block; float: left; width: 35%; }
.indexed.format-image div.entry-meta + div.entry-meta { float: none; width: 65%; }
.indexed.format-image .entry-meta span.cat-links, .indexed.format-image .entry-meta span.tag-links, .indexed.format-image .entry-meta span.comments-link { display: block; }
.indexed.format-image footer.entry-meta a { color: #444; }
.indexed.format-image footer.entry-meta a:hover { color: #fff; }
#content .indexed.format-image img { border: none; max-width: 100%; padding: 0; }
.indexed.format-image .wp-caption { background: #111; margin-bottom: 0; max-width: 96%; padding: 11px; }
.indexed.format-image .wp-caption .wp-caption-text { color: #ddd; }
.indexed.format-image .wp-caption .wp-caption-text:before { color: #444; }
.indexed.format-image a:hover img { opacity: 0.8; }
/* =error404

----------------------------------------------- */



.error404 #main #searchform { background: #f9f9f9; border: 1px solid #ddd; border-width: 1px 0; margin: 0 -8.9% 1.625em; overflow: hidden; padding: 1.625em 8.9%; }
.error404 #main #s { width: 95%; }
.error404 #main .widget { clear: none; float: left; margin-right: 3.7%; width: 30.85%; }
.error404 #main .widget_archive { margin-right: 0; }
.error404 #main .widget_tag_cloud { float: none; margin-right: 0; width: 100%; }
.error404 .widgettitle { font-size: 10px; letter-spacing: 0.1em; line-height: 2.6em; text-transform: uppercase; }
/* Recent Posts */

section.recent-posts { padding: 0 0 1.625em; }
section.recent-posts .hentry { border: none; margin: 0; }
section.recent-posts .other-recent-posts { border-bottom: 1px solid #ddd; list-style: none; margin: 0; }
section.recent-posts .other-recent-posts li { padding: 0.3125em 0; position: relative; }
section.recent-posts .other-recent-posts .entry-title { border-top: 1px solid #ddd; font-size: 17px; }
section.recent-posts .other-recent-posts a[rel="bookmark"] { color: #373737; float: left; max-width: 84%; }
section.recent-posts .other-recent-posts a[rel="bookmark"]:after { content: '-'; color: transparent; font-size: 11px; }
section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { }
section.recent-posts .other-recent-posts .comments-link a, section.recent-posts .other-recent-posts .comments-link > span { border-bottom: 2px solid #999; bottom: -2px; color: #444; display: block; font-size: 10px; font-weight: 500; line-height: 2.76333em; padding: 0.3125em 0 0.3125em 1em; position: absolute; right: 0; text-align: right; text-transform: uppercase; z-index: 1; }
section.recent-posts .other-recent-posts .comments-link > span { border-color: #bbb; color: #888; }
section.recent-posts .other-recent-posts .comments-link a:hover { color: #1982d1; border-color: #1982d1; }
section.recent-posts .other-recent-posts li:after { clear: both; content: '.'; display: block; height: 0; visibility: hidden; }
/* =Attachments

----------------------------------------------- */

.image-attachment div.attachment { background: #f9f9f9; border: 1px solid #ddd; border-width: 1px 0; margin: 0 -8.9% 1.625em; overflow: hidden; padding: 1.625em 1.625em 0; text-align: center; }
.image-attachment div.attachment img { display: block; height: auto; margin: 0 auto 1.625em; max-width: 100%; }
.image-attachment div.attachment a img { border-color: #f9f9f9; }
.image-attachment div.attachment a:focus img, .image-attachment div.attachment a:hover img, .image-attachment div.attachment a:active img { border-color: #ddd; background: #fff; }
.image-attachment .entry-caption p { font-size: 10px; letter-spacing: 0.1em; line-height: 2.6em; margin: 0 0 2.6em; text-transform: uppercase; }
/* =Navigation

-------------------------------------------------------------- */

#content nav { clear: both; overflow: hidden; padding: 0 0 1.625em; }
#content nav a { font-size: 12px; font-weight: bold; line-height: 2.2em; }
#nav-above { padding: 0 0 1.625em; }
#nav-above { display: none; }
.paged #nav-above { display: block; }
.nav-previous { float: left; width: 50%; }
.nav-next { float: right; text-align: right; width: 50%; }
#content nav .meta-nav { font-weight: normal; }
/* Singular navigation */

#nav-single { float: right; position: relative; top: -0.3em; text-align: right; z-index: 1; }
#nav-single .nav-previous, #nav-single .nav-next { float: none; width: auto; }
#nav-single .nav-next { padding-left: .5em; }
/* =Widgets

----------------------------------------------- */

.widget-area { }
.widget { clear: both; }
.widget ul { margin: 0; }
.widget ul ul { margin-left: 1.5em; }
.widget ul li { xcolor: #777; list-style: none; }
.widget a:hover, .widget a:focus, .widget a:active { text-decoration: underline; }
/* Search Widget */

.widget_search form { margin: 0; }
.widget_search #s { width:;
}
.widget_search #searchsubmit { background: #ddd; border: 1px solid #ccc; -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); color: #888; font-size: 13px; line-height: 25px; position: relative; top: -2px; }
.widget_search #searchsubmit:active { background: #1982d1; border-color: #0861a5; -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); color: #bfddf3; }
/* =Comments

----------------------------------------------- */

#comments-title { color: #666; font-size: 10px; font-weight: 500; line-height: 2.6em; padding: 0 0 2.6em; text-transform: uppercase; }
.nopassword, .nocomments { color: #aaa; font-size: 24px; font-weight: 100; margin: 26px 0; text-align: center; }
.commentlist { list-style: none; margin: 0 auto; width: 68.9%; }
.content .commentlist, .page-template-sidebar-page-php .commentlist { width: 100%; /* reset the width for the one-column and sidebar page layout */ }
.commentlist > li.comment { background: #f6f6f6; border: 1px solid #ddd; -moz-border-radius: 3px; border-radius: 3px; margin: 0 0 1.625em; padding: 1.625em; position: relative; }
.commentlist .pingback { margin: 0 0 1.625em; padding: 0 1.625em; }
.commentlist .children { list-style: none; margin: 0; }
.commentlist .children li.comment { background: #fff; border-left: 1px solid #ddd; -moz-border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0; margin: 1.625em 0 0; padding: 1.625em; position: relative; }
.commentlist .children li.comment .fn { display: block; }
.comment-meta .fn { font-style: normal; }
.comment-meta { color: #666; font-size: 12px; line-height: 2.2em; }
.commentlist .children li.comment .comment-meta { line-height: 1.625em; margin-left: 50px; }
.commentlist .children li.comment .comment-content { margin: 1.625em 0 0; }
.comment-meta a { font-weight: bold; }
.comment-meta a:focus, .comment-meta a:active, .comment-meta a:hover { }
.commentlist .avatar { -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 2px #ccc; -moz-box-shadow: 0 1px 2px #ccc; box-shadow: 0 1px 2px #ccc; left: -102px; padding: 0; position: absolute; top: 0; }
.commentlist > li:before { content: url(images/comment-arrow.png); left: -21px; position: absolute; }
.commentlist > li.pingback:before { content: ''; }
.commentlist .children .avatar { background: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; left: 2.2em; padding: 0; top: 2.2em; }
a.comment-reply-link { background: #eee; -moz-border-radius: 3px; border-radius: 3px; color: #666; display: inline-block; font-size: 12px; padding: 0 8px; text-decoration: none; }
a.comment-reply-link:hover, a.comment-reply-link:focus, a.comment-reply-link:active { background: #888; color: #fff; }
a.comment-reply-link > span { display: inline-block; position: relative; top: -1px; }
/* Post author highlighting */

.commentlist > li.bypostauthor { background: #ddd; border-color: #d3d3d3; }
.commentlist > li.bypostauthor .comment-meta { color: #575757; }
.commentlist > li.bypostauthor .comment-meta a:focus, .commentlist > li.bypostauthor .comment-meta a:active, .commentlist > li.bypostauthor .comment-meta a:hover { }
.commentlist > li.bypostauthor:before { content: url(images/comment-arrow-bypostauthor.png); }
/* Post Author threaded comments */

.commentlist .children > li.bypostauthor { background: #ddd; border-color: #d3d3d3; }
/* sidebar-page.php comments */

/* Make sure we have room for our comment avatars */

.page-template-sidebar-page-php .commentlist > li.comment, .page-template-sidebar-page-php.commentlist .pingback { margin-left: 102px; width: auto; }
/* And a full-width comment form */

.page-template-sidebar-page-php #respond { width: auto; }
/* Comment Form */

#respond { background: #ddd; border: 1px solid #d3d3d3; -moz-border-radius: 3px; border-radius: 3px; margin: 0 auto 1.625em; padding: 1.625em; position: relative; width: 68.9%; }
#respond input[type="text"], #respond textarea { background: #fff; border: 4px solid #eee; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); -moz-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); position: relative; padding: 10px; text-indent: 80px; }
#respond .comment-form-author, #respond .comment-form-email, #respond .comment-form-url, #respond .comment-form-comment { position: relative; }
#respond .comment-form-author label, #respond .comment-form-email label, #respond .comment-form-url label, #respond .comment-form-comment label { background: #eee; -webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); -moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); box-shadow: 1px 2px 2px rgba(204,204,204,0.8); color: #555; display: inline-block; font-size: 13px; left: 4px; min-width: 60px; padding: 4px 10px; position: relative; top: 40px; z-index: 1; }
#respond input[type="text"]:focus, #respond textarea:focus { text-indent: 0; z-index: 1; }
#respond textarea { resize: vertical; width: 95%; }
#respond .comment-form-author .required, #respond .comment-form-email .required { color: #bd3500; font-size: 22px; font-weight: bold; left: 75%; position: absolute; top: 45px; z-index: 1; }
#respond .comment-notes, #respond .logged-in-as { font-size: 13px; }
#respond p { margin: 10px 0; }
#respond .form-submit { float: right; margin: -20px 0 10px; }
#respond input#submit { background: #222; border: none; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); box-shadow: 0px 1px 2px rgba(0,0,0,0.3); color: #eee; cursor: pointer; font-size: 15px; margin: 20px 0; padding: 5px 42px 5px 22px; position: relative; left: 30px; text-shadow: 0 -1px 0 rgba(0,0,0,0.3); }
#respond input#submit:active { background: #1982d1; color: #bfddf3; }
#respond #cancel-comment-reply-link { color: #666; margin-left: 10px; text-decoration: none; }
#respond .logged-in-as a:hover, #respond #cancel-comment-reply-link:hover { text-decoration: underline; }
.commentlist #respond { margin: 1.625em 0 0; width: auto; }
#reply-title { color: #373737; font-size: 24px; font-weight: bold; line-height: 30px; }
#cancel-comment-reply-link { color: #888; display: block; font-size: 10px; font-weight: normal; line-height: 2.2em; letter-spacing: 0.05em; position: absolute; right: 1.625em; text-decoration: none; text-transform: uppercase; top: 1.1em; }
#cancel-comment-reply-link:focus, #cancel-comment-reply-link:active, #cancel-comment-reply-link:hover { color: #ff4b33; }
#respond label { line-height: 2.2em; }
#respond input[type=text] { display: block; height: 24px; width: 75%; }
#respond p { font-size: 12px; }
p.comment-form-comment { margin: 0; }
.form-allowed-tags { display: none; }
/* =Footer

----------------------------------------------- */

#footer_wrap { height: 80px; xbackground: url(images/footer_tile.png) repeat-x top; }
#colophon { clear: both; padding-top: 15px; height: 65px; }
#colophon a { text-decoration: none; color: #FFFFFF }
#colophon a:hover { text-decoration: underline; }
#footer_left { width: 600px; float: left }
#footer_left aside { float: left; margin: 5px 0; }
#footer_left .widget_nav_menu ul li { float: left; }
#footer_left .widget_nav_menu a { padding: 0 5px; border-right: #FFF solid 1px; }
#footer_right { width: 250px; height: 60px; position: relative; display: block; float: right; text-align: right; background: url(images/empire_logo.png) no-repeat top center; }
#footer_right span { width: 100%; text-align: center; position: absolute; bottom: 0; right: 0; }

/* =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; }
/* 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 { 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 screen and (max-width: 1024px) {
	#body_bg_wrap { background-image: url("http://www.ajochamber.com/wp-content/themes/ajo_theme/images/body_bg_mobile.jpg")!important;}
	#body_bg_wrap {max-width:1024px; width:auto !important; margin:0;}
}


 @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; }
	#body_bg_wrap { background-image: url("http://www.ajochamber.com/wp-content/themes/ajo_theme/images/body_bg_mobile.jpg")!important;}

}
 @media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
body { padding: 0; }
#page { margin-top: 0; }
#branding { border-top: none; }
	#body_bg_wrap { background-image: url("http://www.ajochamber.com/wp-content/themes/ajo_theme/images/body_bg_mobile.jpg")!important;}

}





/* =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%; }
/* CLEARFIX */

.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }

#nav ul {
border-color:#E3E0D5 -moz-use-text-color -moz-use-text-color;
border-right:0 none;
border-style:solid none none;
border-width:1px 0 0;
font-weight:normal;
height:auto;
left:-999em;
line-height:20px;
position:absolute;
width:151px;
}