/*
 Theme Name: OA
 Theme URI: www.owenandassoc.com
 Description: Custom Theme
 Author: Intersection Design
 Author URI: www.intersectiondesign.com
 */

/*====================================================================================================
 * G L O B A L                                                                             G L O B A L  
 =====================================================================================================*/

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size: 100.01%; }
body { 
	  font-size: 80%;   
	  color: #E8E8E8; 
	  background-color: #333333;
	  font-family: Verdana /* "Helvetica Neue", Arial, Helvetica, sans-serif */;	  
}

/* Links
-------------------------------------------------------------- */

a, 
a:link,
a:visited   { color: #81c1d7; text-decoration: none; }
a:hover,
a:active,
a:focus     { color: #fff; outline:none; /*deletes dotted outline border*/ }
a img       { border: none; /*resets the amazing border*/ } 

/* Alignment
-------------------------------------------------------------- */

.aligncenter,
div.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft      { float: left;  }
.alignright     { float: right; }

/* Headings
-------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6     { font-weight: bold; }
/*this should remain the only h1 tag on whole site*/
.headermeta h1             { font-size: 2.0em; }
/*title of the post*/
.post-content h2.permalink { position: relative; display: block; width: 570px; height: 68px; margin: 0 0 0 -20px; line-height: 68px; padding: 0 0 0 42px; font-size: 1.8em; background: url(images/title-bg.jpg) no-repeat; color: #333333; font-weight: normal; text-transform: uppercase; }
.post-content2 h2.permalink { position: relative; display: block; width: 570px; height: 68px; margin: 0 0 0 -20px; line-height: 68px; padding: 0 0 0 42px; font-size: 1.8em; background: url(images/title-bg2.jpg) no-repeat; color: #333333; font-weight: normal; text-transform: uppercase; }
/*search results for...*/
h2#search                  { margin: 0 0 0 0; padding: 0.5em 10px 0.5em 10px; font-size: 1.5em; } 
/*title of the widget*/
h3.widgettitle             { width: 200px; height: 30px; padding: 0 8px 0 8px; font-size: 1.5em; font-style: italic; line-height: 30px; background-color: #505050; color: #ffffff; }
h3.widgettitle a, h3.widgettitle a:visited { color: #ffffff;}
h3.widgettitle a:hover, h3.widgettitle a:active { color: #81c1d7;}

/* Headings - post content
-------------------------------------------------------------- */

.entry h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
.entry h2 { font-size: 2em; margin-bottom: 0.75em; }
.entry h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
.entry h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
.entry h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
.entry h6 { font-size: 0.8em; font-weight: normal; }

/* Misc
-------------------------------------------------------------- */

.indent-9999px { text-indent: -9999px; }
.display-none  { display: none; }
.no-bg         { background: none !important; }
.breadcrumb {
	font-size: 0.7em;
	color: #fff;
	margin: 0px 0 10px 10px;
	position: relative;
}

.css_class { list-style: none!important; margin-bottom: 5px; }
.css_class li { display: inline !important; margin-left: 2px; padding-left: 4px; border-left: 1px solid #666666; }
.css_class a { text-transform: uppercase; }
.css_class li a:link, .css_class li a:visited { color: #cccccc !important;}
.css_class li a:hover, .css_class li a:active { color: #ffffff !important;}


.subpage-style {font-size: 0.4em; list-style: none; }
.subpage-style ul { list-style: none !important; font-size: 0.7em; }
.subpage-style ul li { display: inline; margin-left: 2px; padding-left: 4px; border-left: 1px solid; }

/*====================================================================================================
 * S T R U C T U R E                                                                 S T R U C T U R E
 ====================================================================================================*/

#container    { position: relative; width: 960px; height: auto; margin: 0 auto; text-align: left; background: url(images/container-bg.jpg) repeat-y; }
#header       { position: relative; width: auto; height: 440px; background: url(images/header.jpg) no-repeat; z-index: 99999; }
/*wraps content and sidebar - important when using more than 2 columns*/
#wrapper      { position: relative; width: 860px; margin: 0 auto; }
/*wraps posts*/
#content      { position: relative; float: left; width: 580px; height: auto; }
/*wraps a post*/
.post-content { position: relative; width: auto; padding: 0 0 50px 0; }
#sidebar      { position: relative; float: right; width: 220px; height: auto; margin: 0 30px 0 0; padding: 80px 0 0 0; display: inline; }
#footer       { position: relative; width: 800px; height: 145px; margin: 0 auto 20px 0; padding: 15px 80px 0 80px; background: url(images/footer.jpg) no-repeat; clear: both; font-size: 0.8em; line-height: 1.8em; }

/*====================================================================================================
 * H E A D E R                                                                             H E A D E R
 ====================================================================================================*/

a.logo                 { position: absolute; width: 460px; height: 160px; top: 70px; left: 70px; text-indent: -9999px; }
.headermeta              { position: absolute; top: 80px; left: 25px; }
.headermeta .description { font-size: 1.6em; }

#social { position: absolute; width: auto; height: 20px; top: 7px; right: 30px; font-family: Verdana; font-size: 1.0em; }
#social a.bookmark { height: 20px; line-height: 20px; float: right; margin: 0 0 0 10px; padding: 0 0 0 30px; color: #777777; }
#social a.bookmark:hover { color: #81c1d7;}
#social a.linkedin { background: url(images/ico-linkedin.jpg) no-repeat; }
#social a.facebook { background: url(images/ico-facebook.jpg) no-repeat; }
#social a.twitter { background: url(images/ico-twitter.jpg) no-repeat; }

#top-menu { position: absolute; width: auto; height: 24px; right: 55px; top: 250px; font-family: Verdana; text-transform: uppercase; z-index: 99999; }

#flash { position: absolute; width: 860px; height: 150px; top: 288px; left: 50px; z-index: -1; }

/*====================================================================================================
 * S I D E B A R                                                                         S I D E B A R
 ====================================================================================================*/

/*Sidebar - widget
-------------------------------------------------------------- */

.widget            { width: auto; margin: 0px 0 10px 0; }
.widget p          { padding: 10px 10px 10px 10px; }  
.widget ul         { list-style: none; padding: 10px 10px 10px 10px; }
.widget ul ul      { margin: 0 0 0 10px; padding: 0 0 0 0; }

.widget img { display: block; margin: 0 auto; }
.widget img.blueborder { border: 1px solid #81C1D7; }

/*Sidebar - Twitter
-------------------------------------------------------------- */
/*p.twitter-message       { margin-bottom: 50px !important; color: #000000; }
ul.twitter              { margin: 0 10px 0 0; } */
li.twitter-item         { margin-bottom: 10px !important; list-style-type: circle; }


/*Sidebar - search form
-------------------------------------------------------------- */

#searchform        { display: block; width: 216px; height: 40px; line-height: 50px; background-color: #7B7B7B; }
#searchform p       { padding: 0 0 0 0; }
#searchform #searchfield { float: left; width: 140px; height: 20px; line-height: 20px; margin: 10px 0 0 10px; padding: 0px 2px 0 2px; border: 1px solid #ffffff; background: #505050; color: #ffffff; }
#searchform #searchsubmit { float: right; width: 46px; height: 22px /* #searchfield height +2px */; margin: 10px 10px 0 0px; border: 1px solid white; background: #505050; color: white;  cursor: pointer; }

/*====================================================================================================
 * F O O T E R                                                                             F O O T E R
 ====================================================================================================*/
 
 #footer ul.links { list-style: none; text-transform: uppercase; }
 #footer ul.links li { display: inline; }
 #footer img.logo { position: absolute; width: 260px; height: 23px; top: 60px; right: 65px; }

/*====================================================================================================
 * C O N T E N T                                                                         C O N T E N T
 ====================================================================================================*/

.postmetadata               { padding: 0px 10px 0px 20px; font-size: 10px; font-style: italic; }
.entry { padding: 0 10px 0 20px; font-size: 0.9em; /*post itself without permalink*/ }

/* Post content - text elements
-------------------------------------------------------------- */

.entry a,
.entry a:link,
.entry a:visited { color: #f1f2f2; text-decoration: underline; }
.entry a:hover,
.entry a:active { color: #81c1d7; text-decoration: none; }

.entry p              { margin: 1em 0 1em 0; }
.entry img.left,
.entry img.alignleft  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
.entry img.right,
.entry img.alignright { float: right; margin: 1.5em 0 1.5em 1.5em; }
.entry img            { max-width:100%; /*..because some images are too wide*/}

.entry blockquote          { margin: 1.5em; color: #666; font-style: italic; }
.entry strong              { font-weight: bold; }
.entry em, .entry dfn      { font-style: italic; }
.entry dfn                 { font-weight: bold; }
.entry sup, .entry sub     { line-height: 0; }

.entry abbr, 
.entry acronym     { border-bottom: 1px dotted #666; }
.entry address     { margin: 0 0 1.5em; font-style: italic; }
.entry del         { color: #666; }

.entry pre 				{ margin: 1.5em 0; white-space: pre; }
.entry pre, .entry code, .entry tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }

/* Post content - lists
-------------------------------------------------------------- */

.entry li ul, 
.entry li ol       { margin: 0 1.5em; }
.entry ul,
.entry ol          { margin: 0 1.5em 1.5em 1.5em; }

.entry ul          { list-style-type: disc; }
.entry ol          { list-style-type: decimal; }

.entry dl          { margin: 0 0 1.5em 0; }
.entry dl dt       { font-weight: bold; }
.entry dd          { margin-left: 1.5em;}


/* Post content - tables
-------------------------------------------------------------- */

.entry table       { margin-bottom: 1.4em; width:100%; }
.entry th          { font-weight: bold; }
.entry thead th    { background: #c3d9ff; }
.entry th,
.entry td,
.entry caption     { padding: 4px 10px 4px 5px; }
.entry tr.even td  { background: #e5ecf9; }
.entry tfoot       { font-style: italic; }
.entry caption     { background: #eee; }

/* Post content - WP-captions - post content (optional rounded corners for browsers that support it)
-------------------------------------------------------------- */

.wp-caption        { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; /* -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; */ }
.wp-caption img    { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }

/* Post content - page navigation
-------------------------------------------------------------- */
.navigation           { line-height: 30px; }
.navigation .next     { float: left; max-width: 50%; }
.navigation .previous { float: right; max-width: 50%; }

/*====================================================================================================
 * H A C K S                                                                                 H A C K S 
 ====================================================================================================*/

/* clearfix 
-------------------------------------------------------------- */

.clear:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clear { min-width: 0; display: inline-block; /* \*/ display: block; }
* html .clear { /* \*/ height: 1%; }


/* BUTTONS */
/* FANCY BUTTONS */



a.button, span.button, del.button{
	display:-moz-inline-box;
	display:inline-block;
	cursor:pointer;

	border:none;

    font-size:0;

    line-height:0;

	/*

	for Safari, read this first

	http://creativebits.org/webdev/safari_background_repeat_bug_fix

	*/

	background-position:0 0;
	background-repeat:no-repeat;
	height:37px;
	text-decoration:none!important;
	color:#fff;
	font-style:normal;
	margin:0 6px 0px -5px;
	padding:0 10px 0 0;
	vertical-align:middle;	
        padding-top:-2px;
	_position:relative;
	_width:10px;
	_overflow-y:hidden;
}



a.button, span.button, del.button,
a.button span, span.button button, span.button input, del.button span{



    background-image:url(images/btn0.png);



    _background-image:url(images/btn0.png);



}



a.button span, span.button button, span.button input, del.button span{



white-space:nowrap;



	cursor:pointer;



    color:#fff;



	display:-moz-inline-box;



	display:inline-block;



	line-height:1;



    letter-spacing:0 !important;



    font-family:"Arial" !important;



    font-size:14px !important;



    font-style:normal;



text-decoration: none !important;



    background-color:transparent;



	background-position:100% 0;



	background-repeat:no-repeat;



	height:37px;



	padding:11px 20px 0 10px;



	margin:0 -16px 0 10px;



	border:none;



	vertical-align:text-top;



	zoom:1;



	_position:relative;



    _padding-left:0px;



	_padding-right:12px;



	_margin-right:-10px;



	_display:block;



	_top:0;



	_right:-5px;







}



span.button button{



   line-height:2.5;/*Opera need this*/



}







html.safari a.button span,



html.safari del.button span{



  line-height:1.3;



}







html.safari span.button button{



  line-height:2.6;



}







html.safari a.button:focus,



html.safari span.button button:focus{



    outline:none;



}



del.button{



	/* cursor:not-allowed;	*/



	background-position:0 -134px;







}



del.button span{



	cursor:default;



    color:#aaa !important;



	background-position:100% -134px;



}



span.button button, span.button input{



	padding-top:0px;



	line-height:2.5;/*Opera need this*/



}



/** optional **/



/*



a.button:visited{



	color:#fff;



}



*/



/*Hover Style*/



a.button:hover,



span.button:hover,



a.button:focus,



a.dom-button-focus,



span.button-behavior-hover{



	background-position:0 -75px;



	color:#000;



	text-decoration:none;



}



a.button:hover span,



span.button:hover button,



a.button:focus span,



span.button-behavior-hover button,



span.button-behavior-hover input{



	background-position:100% -75px;



}



a.button:active, a.button:focus span{



	color:#000;



}



del.button-behavior-hover, del.button:hover{



	background-position:0 -194px;



	/* cursor:not-allowed; */



}



del.button-behavior-hover span, del.button:hover span{



	background-position:100% -194px;



	/* cursor:not-allowed; */



}



/*Optional hack for IE6 to simulate :hover selector*/



span.button button, del.button span, span.button input{



	_behavior:expression(



		(function(el){



			if( typeof( behavior_onMouseEnter) == 'undefined'){



				behavior_onMouseEnter = function(el){



					var dEl = this.parentNode;



					var sClass = dEl.className ;



					dEl.__defaultClassName = sClass ;



					dEl.className = sClass + ' button-behavior-hover';



					this.setCapture();



				};



				behavior_onMouseLeave = function(el) {



					var dEl = this.parentNode;



					dEl.className = dEl.__defaultClassName ;



					dEl.__defaultClassName = undefined;



					this.releaseCapture();



				};



			};



			el.runtimeStyle.behavior = 'none';



			el.onmouseenter = behavior_onMouseEnter;



			el.onmouseleave = behavior_onMouseLeave;



		})(this));



}
