/*

	Main stylesheet

*/

/* =General
---------------------------------------------------------------------------------------------------- */
* {
	margin: 0;
	padding: 0;
	border: 0;
}

ul, ul li {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 17px;
}

body {
	background: #fff url(../images/wrapper/body-bg.png) center top repeat-x;
	font-family: Calibri, GillSans, Trebuchet, sans-serif;
	font-size: 12px;
	color: #666;
}

table tr td {
	font-family: Calibri, GillSans, Trebuchet, sans-serif;
	font-size: 12px;
	vertical-align: top;
}

input, select, textarea {
	font-family: Calibri, GillSans, Trebuchet, sans-serif;
	font-size: 12px;
}

img, a img {
	border: 0;
	display: block;
}

.clearit:after { 
    content: "."; 
    display: block; 
    clear: both; 
    height: 0; 
    visibility: hidden; 
}

.clearit { 
    min-height: 0; 
    height: 0; 
}

html>body .clearit { 
    height: auto; 
}

.clear {
	clear: both;
	display: block;
	width: 100%;
	height: 0;
	font-size: 1px;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}


/* =Links
---------------------------------------------------------------------------------------------------- */
a, a:link {
	outline: none;
	color: #f37736;
	text-decoration: none;
}

a:focus, a:active {
	outline: none;
	color: #f37736;
}

a:hover {
	outline: none;
	color: #f37736;
}

.link {
	color: #f37736;
}


/* =Typography
---------------------------------------------------------------------------------------------------- */
p {
	line-height: 17px;
	margin: 0 0 17px 0;
	color: #666;
}

h1 {
	margin: 0;
}

h2 {
	color: #4180c0;
	font-size: 20px;
	margin: 0 0 15px 0;
}

h3 {
	color: #666;
	font-size: 14px;
	margin: 0 0 0 0;
}

h4 {
	color: #4180c0;
	font-size: 14px;
	margin: 0 0 10px 0;
}

h5 {
	color: #666;
	font-size: 14px;
	margin: 30px 0 0 0;
}

.blue {
	color: #4180c0;
}

.orange {
	color: #f37736;
}

/* =Lists
--------------------------------------------------------------------------------------------------- */
#content ul, ol {
	margin: 0 0 18px 15px;
}

#content ul li {
	list-style: disc;
	margin-bottom: 6px;
}

ul.newsside {
	padding: 0 !important;
	margin: 0 !important;
}

ul.newsside li {
	color: #666;
	line-height: 15px;
	border-bottom: 1px solid #dcdcdc;
	margin: 3px 0 6px 0 !important;
	list-style: none !important;
}

ul.newsside li a.link {
	color: #666; !important;
}

ul.newsside li a:hover {
	color: #f37736;
}

ul.newsside li.last  {
	border-bottom: none;

}



/* =Layout
--------------------------------------------------------------------------------------------------- */
#logo {
	width: 134px;
	position: absolute;
	top: 21px;
	left: 50%;
	margin-left: -49px;
	z-index: 20;
}

#content-wrapper {
	background: url(../images/wrapper/content-bg.png) bottom left repeat-x;
	margin-top: 139px;
	padding-bottom: 50px;
}

#content {
	width: 984px;
	margin: 0 auto;
}

#spacer {
	height: 50px;
}


/* =Layout (3-column)
---------------------------------------------------------------------------------------------------- */
#thirds-col-1 {
	float: left;
	width: 309px;
	background: url(../images/wrapper/column-divider.png) top right no-repeat;
	padding-right: 15px;
}

#thirds-col-2 {
	float: left;
	width: 289px;
	background: url(../images/wrapper/column-divider.png) top right no-repeat;
	padding: 0 15px;
}

#thirds-col-3 {
	float: left;
	padding-left: 15px;
	width: 316px;
}


/* =Layout (3-column)
---------------------------------------------------------------------------------------------------- */
#twothirds-col-1 {
	float: left;
	width: 628px;
	padding-right: 15px;
}

#twothirds-col-2 {
	float: left;
	width: 317px;
	background: url(../images/wrapper/column-divider.png) top left no-repeat;
	padding-left: 15px;
}

#twothirds-col-1.shaded {
	padding-left: 15px;
	width: 613px;
	background: url(../images/wrapper/shaded-top-bg.jpg) 0 41px no-repeat;
}

/* =Layout (Home)
--------------------------------------------------------------------------------------------------- */

body#home {
	background: #fff url(../images/home/body-bg.gif) center top repeat-x;
}

#home #logo {
	margin-left: -67px;
}

#home #spacer {
	height: 0px;
}

#home #content { 
	width: 971px; 
}

#banner {
	width: 936px;
	height: 297px;
	background: url(../images/home/banner-bg.png) top left no-repeat;
	padding: 18px 21px;
}

#banner #prev {
	position: absolute;
	margin-top: 118px;
	z-index: 99999;
	cursor: pointer;
}

#banner #next {
	position: absolute;
	margin-top: 118px;
	margin-left: 911px;
	z-index: 99999;
	cursor: pointer;
}

#banner #slider {
	background: white;
	width: 942px;
	height: 286px;
	overflow: hidden;
}

#banner #slider div {
	width: 942px;
	height: 286px;
	background: grey;
}

#case-studies-marion {
	padding-bottom: 28px;
}

#case-studies-marion h2 img {
	margin: 0 auto;
}

#case-studies {
	background: url(../images/home/divider.png) bottom center no-repeat;
	padding-bottom: 28px;
}

#case-studies h2 img {
	margin: 0 auto;
}

#case-studies ul {
	background: url(../images/home/case-studies-bg.png) top left no-repeat;
	width: 978px;
	height: 92px;
	margin: 0;
	padding-left: 8px;
}

#case-studies li {
	float: left;
	width: 223px;
	height: 60px;
	background: black;
	margin: 16px 10px 16px 9px;
	list-style: none !important;
}

#blog, #twitter {
	padding-left: 12px;
	clear: both;
	overflow: hidden;
}

#blog ul, #twitter ul {
	margin: 0 !important;
}

#blog li, #twitter li {
	list-style: none !important;
}

#blog h2, #twitter h2 {
	margin-bottom: 12px;
}

#blog h2 .float-right a, #twitter h2 .float-right a {
	color: #999;
	font-weight: normal;
	font-size: 14px;
	padding-right: 15px;
	padding-top: 2px;
	display: block;
}

#blog h2 .float-right a:hover, #twitter h2 .float-right a:hover {
	color: #f37736;
}

#blog a, #twitter a {
	color: #333333;
}

#blog {
	padding-top: 5px;
	height: 83px;
}

#twitter {
	padding-top: 26px;
	height: 83px;
}

#green  {	
	padding-top: 30px;
	height: 50px;
	padding-left: 330px; !important;
	clear: both;
}


/* =Nav
---------------------------------------------------------------------------------------------------- */
#nav {
	width: 984px;
	margin: 0 auto;
}

#nav li {
	float: left;
}

#nav li ul {
	display: none;
	position: absolute;
	background: url(../images/spacer.gif) top left;
	padding-top: 12px;
}

#nav li ul li {
	float: none;
	line-height: 17px;
	text-align: center;
}

#nav li ul li a {
	color: #999;
}

#nav li ul li a:hover {
	color: #f37736;
}

#nav-left {
	position: absolute;
	margin-left: 86px;
	margin-top: 71px;
}

#nav-right {
	position: absolute;
	margin-left: 581px;
	margin-top: 71px;
}


/* =Footer
---------------------------------------------------------------------------------------------------- */
#footer {
	margin-top: 8px;
	padding-bottom: 10px;
}

#footer p {
	text-align: center;
	color: #ccc;
	font-size: 12px;
}


/* =Tooltips
---------------------------------------------------------------------------------------------------- */

#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid #d8d8d8;
	background: #f1f5f6 url(../images/tooltip-bg.gif) bottom left repeat-x;
	padding: 3px 20px;
	text-align: center;
}

#tooltip h3, #tooltip div { 
	margin: 0; 
	color: #333333;
	font-size: 11px;
	font-weight: normal;
}



/* =Blog
---------------------------------------------------------------------------------------------------- */
h2.blog {
	font-size: 24px;
	margin: 0 0 5px 0;
	color: #666;
}

h3.blog {
	font-weight: normal;
	margin-bottom: 15px;
}

/* =Page Elements
---------------------------------------------------------------------------------------------------- */
div.hr, div.half-hr {
	border-bottom: 1px solid #cfd8de;
	margin: 1em 0;
}

div.hr hr, div.half-hr hr {
	display: none;
}

div.half-hr {
	width: 50%;
}

.undent {
	margin: 0 -3px;
}

.undent img {
	display: inline;
	margin: 0 -2px;
}

ul.links {
	padding: 0 !important;
	margin: 0 !important;
}

.links li {
	background: url(../images/wrapper/bullet.gif) 0 2px no-repeat;
	padding-left: 14px;
	margin: 3px 0 0 0 !important;
	list-style: none !important;
}

ul.twitter {
	padding: 0 !important;
	margin: 0 !important;
}

.twitter li {
	background: url(../images/icon_twitter.png) 0 2px no-repeat;
	padding-left: 30px;
	padding-top:4px;
	padding-bottom:5px;
	margin: 3px 0 0 0 !important;
	list-style: none !important;
}

.table {
	background: #e8e8e8;
	margin-top: 10px;
}

.table table {
	width: 100%;
}

.table td {
	background: #fff url(../images/table-bg.gif) bottom left repeat-x;
	padding: 10px;
}

/* =Twitter Sidebar
---------------------------------------------------------------------------------------------------- */
#twitter_feed2 ul, #twitter_feed2 ul li {
	margin: 0;
	padding: 0 0 0 0;
	list-style: none;
}


/* =Fancybox
---------------------------------------------------------------------------------------------------- */


div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 30;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('../case-studies/fancybox/fancy_progress.png') no-repeat;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 20px 20px 40px 20px;
    margin: 0;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	background: #FFF;
}

div#fancy_content {
	margin: 0;
	z-index: 100;
	position: absolute;
}

div#fancy_div {
	background: #000;
	color: #FFF;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -15px;
	height: 30px;
	width: 30px;
	background: url('../case-studies/fancybox/fancy_closebox.png') top left no-repeat;
	cursor: pointer;
	z-index: 181;
	display: none;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#fancy_ajax {
	width: 100%;
	height: 100%;
	overflow: auto;
}

a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 0px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	z-index: 111; 
	display: none;
	background-image: url("data:image/gif;base64,AAAA");
	outline: none;
	overflow: hidden;
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

span.fancy_ico {
	position: absolute; 
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112; 
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: -9999px;
	background: transparent url('../case-studies/fancybox/fancy_left.png') no-repeat;
}

span#fancy_right_ico {
	right: -9999px;
	background: transparent url('../case-studies/fancybox/fancy_right.png') no-repeat;
}

a#fancy_left:hover, a#fancy_right:hover {
	visibility: visible;
	background-color: transparent;
}

a#fancy_left:hover span {
	left: 20px; 
}

a#fancy_right:hover span {
	right: 20px; 
}

#fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#fancy_bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div#fancy_bg_n {
	top: -20px;
	left: 0;
	width: 100%;
	height: 20px;
	background: transparent url('../case-studies/fancybox/fancy_shadow_n.png') repeat-x;
}

div#fancy_bg_ne {
	top: -20px;
	right: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('../case-studies/fancybox/fancy_shadow_ne.png') no-repeat;
}

div#fancy_bg_e {
	right: -20px;
	height: 100%;
	width: 20px;
	background: transparent url('../case-studies/fancybox/fancy_shadow_e.png') repeat-y;
}

div#fancy_bg_se {
	bottom: -20px;
	right: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('../case-studies/fancybox/fancy_shadow_se.png') no-repeat;
}

div#fancy_bg_s {
	bottom: -20px;
	left: 0;
	width: 100%;
	height: 20px;
	background: transparent url('../case-studies/fancybox/fancy_shadow_s.png') repeat-x;
}

div#fancy_bg_sw {
	bottom: -20px;
	left: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('../case-studies/fancybox/fancy_shadow_sw.png') no-repeat;
}

div#fancy_bg_w {
	left: -20px;
	height: 100%;
	width: 20px;
	background: transparent url('../case-studies/fancybox/fancy_shadow_w.png') repeat-y;
}

div#fancy_bg_nw {
	top: -20px;
	left: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('../case-studies/fancybox/fancy_shadow_nw.png') no-repeat;
}

div#fancy_title {
	position: absolute;
	z-index: 100;
	display: none;
}

div#fancy_title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 3px;
	white-space: nowrap;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title table td {
	padding: 0;
	vertical-align: middle;
}

td#fancy_title_left {
	height: 32px;
	width: 15px;
	background: transparent url('../case-studies/fancybox/fancy_title_left.png') repeat-x;
}

td#fancy_title_main {
	height: 32px;
	background: transparent url('../case-studies/fancybox/fancy_title_main.png') repeat-x;
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	background: transparent url('../case-studies/fancybox/fancy_title_right.png') repeat-x;
}
