/*
Theme Name: Abison
Theme URI: http://www.abison.com/
Description: The pilot WordPress theme for abison.com.
Version: 1.0
Author: Steven Hauser
Tags: abison, redesign, pilot
*/


/* 	This file contains global styles for the header, footer,
	buttons, and a few other miscellany which are used globally
	across the website.

	Styles are split between the brochure-style site and the blog.
	Which stylesheet is used on a page is determined in header.php.
*/

/* 	Swatches -------------------------------------------
	color:	light values -------> dark values
	green:	#7faa23 #5f8339
	orange:	#fa6d36 #c55a2f		
	blue:	#00aff5 #009ddb #007cad #0b5a7a #094f6b
*/


@import url("_lib/css/reset.css");



html, body	{ height: 100%; }

body {
	font: 15px/1.5 "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	color: #333;
	background: #fcfcfc;
}

#wrapper {
	background: #fcfcfc;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -220px;
}

a						{ text-decoration: none; border-bottom: 1px solid #d3e4ae; }
a:link					{ color: #009ddb; }
a:visited				{ color: #0b5a7a; }	
a:hover					{ color: #fa6d36; }
a span					{ color: #fa6d36; }

h1						{ font-size: 35px; }
h2						{ font-size: 28px; }
h3						{ font-size: 21px; margin-bottom: 15px; }
h4						{ font-size: 15px; margin-bottom: 15px; }

input[type=text],
textarea,
.txtbox {
	border: 1px solid #ddd;
	padding: 3px 6px;
	font: inherit;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	background: -moz-linear-gradient(top, #fdfdfd, #fff);
	background: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#fff));
}

input[type=text]:focus,
textarea:focus,
.txtbox:focus {
	border-color: #00aff5 !important;
	outline: none;
	background: #fff;
}



/* Buttons ------------------------------------------------------------ */

button {
	color: #fff;
	background: url("_lib/img/shine.png") repeat-x 0 50% #7faa23;
	border: 1px solid #5f8339;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 1px;
	padding: 6px 10px 3px;
	text-shadow: 0 -1px 0 #5f8339;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

button:hover,
button:focus {
	cursor: pointer;
	background-color: #009ddb;
	border-color: #0b5a7a;
	text-shadow: 0 -1px 0 #0b5a7a;
}

/* Using "a" in selectors for more specificity
   to override some regular link styles */
a.btn,
a.demoBtn,
a.btn:visited,
a.demoBtn:visited {
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	display: block;
	height: 35px;
	line-height: 37px;
	width: 215px;
	border: none;
	text-decoration: none !important;
	background: url('_lib/img/btn-sprites.png') no-repeat;
	text-shadow: 0 -1px 0 rgba(0,0,0,.3);
}

a.btn,
a.btn:visited				{ background-position: 0 bottom; }
a.btn:hover 				{ background-position: 0 -105px; }

a.demoBtn,
a.demoBtn:visited			{ background-position: 0 -35px; }
a.demoBtn:hover				{ background-position: 0 -70px; }

button:active,
.demoBtn:active,
.btn:active					{ position: relative; top: 1px; }




/* Masthead ------------------------------------------------------------------------- */

#masthead {
	height: 170px;
	background: url('_lib/img/blue-grad.jpg') repeat-x left bottom #009ddb;
	border-bottom: 10px solid #555;
	margin: 0 0 30px 0;
}

.wrap			{ width: 960px; margin: 0 auto; }


/* Branding --------------------------------------------- */

#branding {
	width: 450px;
	float: left;
	margin: 110px 0 0;
}

#branding h1 {
	border: none; 
	margin: 0 20px 0 0;
	padding: 0;
	width: 175px;
	height: 25px;
	float: left;
}

a.logo {
	display: block;
	text-indent: -9999em;
	background: url("_lib/img/logo.png") no-repeat;
	width: 175px;
	height: 25px;
	border: none;
}

#branding p {
	color: #eefdff;
	float: left;
	font-size: 12px;
	line-height: 1.1;
	margin: 1px 0 0;
	text-transform: uppercase;
	text-shadow: 0 -1px 0 #0b5a7a;
}


/* Header Contact Info ---------------------------------- */

#headContact {
	float: right;
	margin: 50px 0 15px 0;
	width: 450px;
}

#headContact p {
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	float: left;
	width: 215px;
	margin: 8px 20px 0 0;
	line-height: 1;
	text-shadow: 0 -1px 0 #0b5a7a;
}

#headContact .demoBtn			{ float: right; }
#headContact .demoBtn:hover		{ background-position: 0 top; }


/* Primary Navigation ------------------------------------ */

#primNav {
	width: 450px;
	height: 50px;
	float: right;
	clear: right;
	background: url('_lib/img/nav-bg-grad.png') repeat-x left 20% #0b5a7a;
	text-transform: lowercase;
	border: 1px solid #094f6b;
	border-color: #094f6b #094f6b #009ddb;
	overflow: hidden;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#primNav li {
	list-style: none;
	display: inline;
	line-height: 54px;
	font-size: 15px;
}

#primNav a,
#primNav a:link,
#primNav a:visited {
	border: none;
	color: #fff;
	display: block;
	width: 95px; /* IE didn't like using pure padding */
	float: left;
	text-align: center;
	text-shadow: 0 -1px 0 #000;
}

#primNav #pnBlog 	{ width: 70px; }

#pnSoftware {
	/* Parent's radius doesn't  clip */
	-moz-border-radius: 3px 0 0 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-bottom-left-radius: 3px
	border-radius: 3px 0 0 3px;
}

#pnContact {
	/* Parent's radius doesn't  clip */
	-moz-border-radius: 0 3px 3px 0;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px
	border-radius: 0 3px 3px 0;
}


#software #pnSoftware,
#ccs-web #pnSoftware,
#ccs-fulfillment #pnSoftware,
#pain-relief #pnPainRelief,
#blog #pnBlog,
#about-us #pnAboutUs,
#contact-us #pnContact {
	background: url('_lib/img/nav-btn-bg.png') left top repeat-x #029bd8;
	text-shadow: 0 -1px 0 #007cad;
}

#wrapper #primNav a:hover { /* specific selector to override current nav highlight */
	background: url('_lib/img/nav-btn-bg.png') left bottom repeat-x #029bd8;
	text-shadow: 0 -1px 0 #007cad;
}





/* Main content ---------------------------------------------------------------- */

#mainContent {
	width: 960px;
	margin: 0 auto;
	position: relative;
}

.error {
	color: #c00;
	background: #fdd;
	border: 1px solid #c00;
	padding: 3px 6px;
	font-size: 11px;
	line-height: 1.2;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

label.error {
	display: inline-block;
	margin: 3px 0;
}

.spinner {
	float: right;
	margin: 7px 15px 0 0;
	width: 16px;
	height: 16px;
	background: url("_lib/img/ajax-loader-fff.gif") no-repeat;
	text-indent: -9999px;
}

/* Footer ---------------------------------------------------------------------- */

#push {
	clear: both;
	height: 220px;
}

#footer {
	height: 150px;
	padding: 30px 0 30px;
	background: url('_lib/img/blue-grad.jpg') repeat-x left bottom #009ddb;
	border-top: 10px solid #555;
	color: #fff;
	clear: both;
	position: relative;
}


/* Footer Links ----------------- */

#footer a						{ border: none; text-decoration: none; }

#footer a:link,
#footer a:visited				{ color: #eefdff; }

#footer a:hover					{ text-decoration: underline; color: #fff; }


/* Footer branding ---------------------- */

#footer a.logo					{ margin: 0 0 10px; }

#copyright {
	width: 175px;
	float: left;
	margin: 5px 105px 0 0;
}

#copyright p					{ font-size: 11px; margin: 0 0 0 8px; color: #fff; }


/* Footer Nav ------------------------ */

#footer li						{ list-style: none; font-size: 12px; }

#footer li a					{ display: block; padding: 0 2px; /* Aesthetic micro-push under rule */ }

#footer .wrap > ul {
	width: 680px;
	float: left;
	margin: 0;
}

#footer .wrap > ul > li {
	width: 116px; /* 680px parent width / 5 children - 20 margin-right */
	float: left;
	margin: 0 20px 0 0;
}

#footer li li					{ margin: 0 0 5px; }

#footer h6 {
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 1px solid #007cad;
	margin-bottom: 7px;
	padding: 0 0 8px;
	text-shadow: 0 -1px 0 #0b5a7a;
	font-size: 12px;
}

#footer h6 a:link,
#footer h6 a:visited {
	color: #fff;
}

#toTop {
	display: block;
	position: absolute;
	font-size: 11px;
	top: 95px;
	right: 0;
	padding: 10px 20px 7px 10px;
	background: #007cad;
	-moz-border-radius: 3px 0 0 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	border-radius: 3px 0 0 3px;
}

#toTop span {
	color: inherit;
	position: relative;
	top: -2px;
}

#footer #toTop:hover {
	text-decoration: none;
	background: #009ddb;
}





/* IE6 crap ----------------------------------------------------------------------- */

* html body 		{ height: 100%; }

#ie6-flag {
	background: #00aff5;
	color: #ffffff;
	width: 100%;
	height: 200px;
	top: 0;
	left: 0;
	z-index: 10000;
	border-bottom: 10px solid #555;
}

#ie6-flag div		{ margin: 30px auto; width: 720px; }
#ie6-flag h1		{ border: none; }
#ie6-flag h3		{ margin: 1em 0 .5em; }
#ie6-flag p,
#ie6-flag li		{ font-size: 1.6em; color: #eee; }
#ie6-flag li		{ display: inline; margin-right: 20px; }
#ie6-flag a:link	{ color: #fff; text-decoration: underline; border: none; }
#ie6-flag a:hover	{ color: #fff; text-decoration: none; border: none; }
