/******************** 

Reseting Elements & IE Fixes:

Most major browsers add their own basic styles to elements, like a border around an input form or a margin under a paragraph block. Resetting them helps make sure that we style each element individually and that its cross-browser compatible.

********************/

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, a, blockquote, pre, fieldset, table, th, td, textarea, input{ 
	margin: 0; padding: 0; }

a img {border:none;}

/* This takes out the fuzzy line around links when you click them, it's an optional addition */

:focus {outline:none;}

/********************

Global:

Style elements that affect the whole page or multiple elements.

********************/

body {
	background:#4d4d4d url(images/bg.jpg) repeat-x;
	font-family:Arial, Helvetica, sans-serif;
	color:#666666;
	font-size:12px;
}
.container{
	width:1000px;
	margin:auto;
}
.clear {
	clear:both;
}

h1, p{
	margin-bottom:20px;
}

#body-content p, #footer p {
	line-height:20px;
}
p a{
	color:#ff8400;
	text-decoration:none;
	font-weight:bold;
}
li a{
	color:#ff8400;
	text-decoration:none;
}
p a:hover, li a:hover{
	background:#ff8400;
	color:#fff;
}

/********************

Header:

Style elements that affect the header; including menu & search.

********************/

#header {
	height:100px;
}
#header .container {background:url(images/header-bg.jpg) no-repeat;}

#logo {
	display:block;
	background:url(images/logo.jpg) no-repeat;
	width:342px;
	height:70px;
}

/* Menu */

#menu {
	position:absolute;
	z-index:9999;
	display:block;
	height:60px;
}
#menu li {list-style:none; float:left;}
#menu li a {
	font-family:Arial, Helvetica, sans-serif;
	font-size:18px;
	color:#000;
	text-decoration:none;
	line-height:50px;
	display:block;
	padding:0 20px;
	float:left;
	height:60px;
}
#menu li a:hover, #menu li a.active {background:url(images/menu-indent.png) no-repeat bottom; z-index:9999;}

/* Search */

#search-container {
	position:relative;
}
#search {
	position:absolute;
	right:0px;
	top:15px;
}
#search-input {
	color:#808080;
	width:230px;
	height:28px;
	padding:12px 0 0 20px;
	background:url(images/search-bg.png);
	border:none;
}
#search-btn {
	position:absolute;
	right:10px;
	top:11px;
	width:20px;
	height:18px;
	background:url(images/icons/search.png);
	border:none;
}

/********************

Body:

Style elements that affect the body, or content area of the page.

********************/

#body {
	background:#e6e6e6 /*url(images/body-end.jpg) repeat-x bottom*/;
	padding-bottom:20px;
	min-width:1000px;
}

/* Sub Menu */

#sub-menu-wrap {
	background:url(images/sub-menu-bg.jpg) repeat-x;
}
#sub-menu {
	z-index:9000;
	margin:0 0 0 10px;
	overflow:hidden;
}
#sub-menu li {display:inline;}
#sub-menu li a {
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	color:#808080;
	text-decoration:none;
	line-height:50px;
	display:block;
	padding:0 10px;
	float:left;
	height:60px;
}
#sub-menu li a:hover, #sub-menu li a.active {background:url(images/sub-menu-indent.png) no-repeat bottom;}

/* Tabs */

/* jQuery Essentials */

.ui-tabs .ui-tabs-hide {display: none !important;}

/* Tab Box */

#tab-box {
	background:url(images/tab-bg.jpg) no-repeat top;
	width:1000px;
	height:350px;
}
/* Tab Content */

.tab-content {
	height:300px;
	position:relative;
	background-image: url(images/tab-box/tab-other-bg.jpg);
}
/* Tab Content */

.tab-content2 {
	height:300px;
	position:relative;
	background-image: url(images/tab-box/tab-other-bg-2.jpg);
}/* Tab Content */

.tab-content3 {
	height:300px;
	position:relative;
	background-image: url(images/tab-box/tab-other-bg-3.jpg);
}/* Tab Content */

.tab-content4 {
	height:300px;
	position:relative;
	background-image: url(images/tab-box/tab-other-bg-4.jpg);
}
/* Tab Content */

.tab-content5 {
	height:300px;
	position:relative;
	background-image: url(images/tab-box/tab-other-bg-5.jpg);
}
/* Tab Content - Welcome */

#tab-welcome {
	background:url(images/tab-box/tab-welcome-bg.jpg);
}
#tab-welcome-content {
	padding-top:80px;
	padding-left:40px;
}
#tab-welcome-content h1 {
	font-size:36px;
	font-weight:100;
	width:540px;
}
#tab-welcome-content p {
	width:540px;
}
.tab-welcome-buttons {
	float:left;
	margin-right:20px;
}
#tab-welcome-content h1 {
	position:relative;
	width:520px;
	height:80px;
	text-indent:-9999px;
}
#tab-welcome-content h1 span {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:url(images/titles/welcome-title.png);
	z-index:1000;
}

/* Tab Navigation */

#tab-nav li {
	display:inline;
	float:left;
	position:relative;
}
#tab-nav a {
	display:block;
	width:150px;
	height:50px;
}
#tab-nav .ui-tabs-selected a {
	display:block;
	width:150px;
	height:51px;
}
.ui-tabs-selected {
	position:absolute;
	top:-1px;
}

/* Tab Nav - Normal State */

#tab-nav-welcome {background:url(images/tab-box/tab-welcome.jpg);}
#tab-nav-portfolio {background:url(images/tab-box/tab-portfolio.jpg);}
#tab-nav-news {background:url(images/tab-box/tab-news.jpg);}
#tab-nav-testimonials {background:url(images/tab-box/tab-testimonials.jpg);}
#tab-nav-connect {background:url(images/tab-box/tab-connect.jpg);}

/* Tab Nav - Active State */

.ui-tabs-selected #tab-nav-welcome{ background:url(images/tab-box/tab-welcome-active.jpg); }
.ui-tabs-selected #tab-nav-portfolio{ background:url(images/tab-box/tab-portfolio-active.jpg); }
.ui-tabs-selected #tab-nav-news{ background:url(images/tab-box/tab-news-active.jpg); }
.ui-tabs-selected #tab-nav-testimonials{ background:url(images/tab-box/tab-testimonials-active.jpg); }
.ui-tabs-selected #tab-nav-connect{ background:url(images/tab-box/tab-connect-active.jpg); }

/* Content */

#body-sep {
	margin:20px 0;
	width:1000px;
	height:2px;
	background:url(images/body-sep.jpg) repeat-x;
	position:relative;
}
#body-content{
	clear:both;
}
#body-left {
	position:relative;
	float:left;
	width:680px;
}
#body-right {
	float:right;
	width:320px;
}
p strong{
	color:#4c4c4c;
}

/* Slider */

#slider-wrap {
	border:1px solid #cccccc;
	padding:9px;
	background:#f2f2f2;
	overflow:hidden;
	width:460px;
	position:relative;
	float:left;
}
#slider {
	position:relative;
}
#slider ul li {
	list-style:none;
	width:460px;
	height:200px;
	overflow:hidden;
	position:relative;
}
#prevBtn a, #nextBtn a {
	display:block;
	position:absolute;
	top:80px;
	width:30px;
	height:60px;
}
#nextBtn a {
	background:url(images/slider/right.png);
	right:9px;
}
#prevBtn a {
	left:9px;
	background:url(images/slider/left.png);
}

/* List */

ul#what-we-do-list {
	line-height:30px;
	list-style:none;
	width:160px;
	float:right;
}
ul#what-we-do-list img {
	vertical-align:middle;
	margin-right:10px;
}

/* Testimonials */

.testimonial-uber-wrap {
	width:320px;
	background:url(images/testimonial-bg.jpg) repeat-y;
	clear:both;
}
.testimonial-wrap{
	background:url(images/testimonial-start.jpg) no-repeat top;
}
.testimonial{
	background:url(images/testimonial-end.jpg) no-repeat bottom;
	padding:30px;
}
.testimonial p{
	margin-bottom:0;
}
.testimonial-author{
	margin:10px 0;
	font-style:italic;
	float:right;
}

/* Portfolio */

#portfolio-content li {
	list-style:none;
}
#portfolio-content li {
	position:relative;
	padding:9px;
	background:#f2f2f2;
	border:1px solid #ccc;
	width:300px;
	float:left;
	margin-top:20px;
	margin-right:20px;
}

/* The following takes out the right margin on the right portfolio items */

#portfolio-content li.portfolio-item3, #portfolio-content li.portfolio-item6, #portfolio-content li.portfolio-item9 {
	margin-right:0;
}
	
.portfolio-item {
	position:relative;
}
.portfolio-item img {
	width:300px;
	height:180px;
}
.portfolio-description {
	padding:10px;
	background:#000;
	width:280px;
	position:absolute;
	bottom:0px;
	left:0px;
}
.portfolio-description * {
	margin-bottom:10px;
	color:#fff;
}

/********************

Footer:

Style elements that affect the footer.

********************/

#footer {
	background:url(images/footer-bg.jpg) repeat-x;
	color:#b2b2b2;
	min-width:1000px;
}
#footer .container {
	background:url(images/footer-bg-start.jpg) no-repeat top;
	min-height:80px;
}
#footer-content {
	padding-top:40px;
}
.footer-sec {
	width:235px;
	float:left;
	margin-right:20px;
}
#footer h1 {
	color:#e5e5e5;
}

/* Fresh Off the Press */

.post {
	margin-bottom:20px;
	clear:both;
}
.post-content {
	width:175px;
	float:right;
}
.date {
	background:url(images/date-bg.jpg) no-repeat;
	height:60px;
	float:left;
	width:40px;
	text-align:center;
	position:relative;
}
p.day, p.month {
	margin-bottom:0;
}
p.day {
	margin-top:15px;
	font-size:26px;
	font-weight:bold;
}
p.month {
	text-transform:uppercase;
	font-size:10px;
}

/* Who We Are */

.employee {
	clear:both;
}
.employee-pic {
	padding:9px;
	border:1px solid #000;
	background:#333;
	width:80px;
	float:left;
}
.employee-description {
	float:right;
	width:115px;
}

/* Legal */

#legal {
	margin-right:0;
}
