/*
Theme Name: Gambit
Theme URI: http://www.gambica.com/
Description: The theme identical to Gambit's main website.
Version: 1.0
Author: Joel Pearson
Author URI: http://gambica.com/

*/

/*Testing*/
/* New Styles */
#commentswrapper {
	clear: both;
	padding-top: 10px;
	padding-left: 70px;
	margin-left: 2px;
}

h4#comments, h4#reply {
	color: gray;
	border-bottom: dotted;
	margin-top: 20px;
	border-width: 2px;
	border-color: silver;
}
.commentlist {
	margin: 10px 0px;
	padding-left: 20px;
	line-height: 130%;
}
.commentlist li{
	padding: 5px 10px;
	position: relative;
}
.commentlist .avatar {
	position: absolute;
	top: 5px;
	right: 5px;
	border: solid 1px #ededed;
	padding: 1px;
	background: #fff;
}
.commentlist .alt {
	background: #f1fedb;
}
.commentlist cite, .commentlist cite a, .commentlist cite a:visited {
	font-weight: bold;
	font-style: normal;
	font-size: 120%;
	color: #507f2b;
}
.commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 87%;
}

#commentform {
	padding: 0;
	margin: 0;
	font: 110% Arial, Helvetica, sans-serif;
}

#commentform p {
	padding: 2px 0px;
	margin: 0px;
}

#commentform label{
	color: #666666;
	font-size: 100%;
}

#commentform input{
	width: 153px;
	border: 1px dotted silver;
	padding: 3px;
	margin-top: 3px;
}

#commentform textarea{
	width: 478px;
	height: 115px;
	border: 1px dotted silver;
	padding: 2px;
	margin-top: 3px;
}

#commentform textarea:focus, #commentform input[type="text"]:focus {
	background: #f2f2f2;
}


/* Remove padding and margin */
* {
	margin: 0;
	padding: 0;
}

/* Put it back on certain elements */
h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, fieldset, table, ul {
  	margin: 1em 0;
}

/* Class for clearing floats */
.clear {
	clear:both;
}

br {
	margin: 0;
	padding: 0;
	border-width: 0;
	line-height: 0;
}

/* =Images
-----------------------------------------------------------------------------*/
/* Remove border around linked images */
img {
	border: 0;
}
/* @end */


/* @group Layout */
/* =Layout
-----------------------------------------------------------------------------*/
html, body {
	height: 100%;
}

body {
	min-width: 940px;
	background: #f9f9f9 url(img/bg2.gif) repeat-x;
}

#wrapper {
	width: 940px;
	margin: 0 auto;
	text-align: left;
	background-color: white;
}

#header {
	width: 940px;
	height: 150px;
	margin: 0 auto;
}

/* @group Top Contact */
#contact-top {
	width: 940px;
	height: 150px;
	display: none;
	margin: 0 auto;
	background: url(img/contactbg11.gif) no-repeat;
}

#title {
	width: 600px;
	height: 50px;
	padding: 20px 40px 0;
	clear: left;
	float: left;
}

#building {
	width: 244px;
	height: 150px;
	background-image: url(img/building.gif);
	float: right;
	clear: right;
}


/*Contact Link Navigation*/
a.contactlink:link {
	font: 1.2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-bottom: none;
	border-style: none;
	text-align: center;
	color: gray;
}

a.contactlink:visited {
	font: 1.2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-bottom: none;
	border-style: none;
	text-align: center;
	color: gray;
}

a.contactlink:hover {
	color: #507f2b;
	border-bottom-style: none;
}

a.contactlink:active {
	color: black;
	border-bottom-style: none;
}

/*Contact Link B Navigation*/
a.contactlinkb:link {
	font: 1.0em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-style: none;
	text-align: center;
	color: silver;
}

a.contactlinkb:visited {
	font: 1.0em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-style: none;
	text-align: center;
	color: silver;
}

a.contactlinkb:hover {
	color: #507f2b;
	border-bottom-style: none;
}

a.contactlinkb:active {
	color: gray;
	border-bottom-style: none;
}

/* @end */


#rightheader {
	height: 150px;
	width: 680px;
	clear: right;
	float: right;
}

#logo {
	height: 150px;
	width: 150px;
	clear: left;
	float: left;
	margin-left: 40px;
	background-image: url(img/logo.jpg);
}

#navigation {
	height: 100px;
	width: 660px;
	clear: right;
	display: inline;
	float: right;
	margin-top: 25px;
}


#banner {
	width: 940px;
	height: 230px;
	margin: 0 auto;
	background: black;
}

#content {
	width: 860px;
	height: 100%;
	margin: 0 auto;
	text-align: left;
	overflow: hidden;
	background: white url(img/blog/blogdivide.gif) no-repeat left top;
}

#contentwrapper {
	width: 660px;
	height: 100%;
	margin: 0 auto;
	float: right;
	clear: right;
	text-align: left;
	background-color: white;
	overflow: hidden;
}

#sidebar {
	width: 140px;
	margin: 0 auto;
	text-align: left;
	float: left;
	clear: left;
}

#sidebarwrapper {
	width: 140px;
	margin: 0 auto;
	text-align: left;
	float: right;
	clear: right;
	position: absolute;
}

#sidebarlinks {
	width: 140px;
	margin: 0 auto;
	text-align: left;
	float: left;
	clear: left;
}

/* Wrapper/Footer fix */
#wrapper {
	min-height: 100%;
	margin-bottom: -100px;
	position: relative;
}


/* @end */


/* @group Blog */
/* @group Blog Navigation */
#blognavigation {
	height: 35px;
	background-color: #e9facc;
}

ul.blognav {
	list-style: none;
	width: 900px;
	float: right;
	background: url(../images/nav-bg.jpg) no-repeat;
	margin-bottom: 20px;
}

ul.blognav li {
	float: left;
}

/*Blog Home Navigation*/
ul.blognav a#bloghome {
	font: 1.0em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-style: none;
	text-align: center;
	color: #507f2b;
	margin: 0 10px 0 0;
	padding: 10px 15px 10px 35px;
	background: url(img/blog/bloghome.gif) no-repeat left top;
}

ul.blognav a#bloghome:hover {
	border-bottom-style: none;
	background: url(img/blog/bloghomeover.gif) no-repeat left top;
}

ul.blognav a#bloghome:active {
	color: black;
	border-bottom-style: none;
}

/*Blog Links Navigation*/
ul.blognav a#bloglinks {
	font: 1.0em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-style: none;
	text-align: center;
	color: #507f2b;
	margin: 0 10px 0 0;
	padding: 10px 15px 10px 35px;
	background: url(img/blog/bloglinks.gif) no-repeat left top;
}

ul.blognav a#bloglinks:hover {
	border-bottom-style: none;
	background: url(img/blog/bloglinksover.gif) no-repeat left top;
}

ul.blognav a#bloglinks:active {
	color: black;
	border-bottom-style: none;
}

/*Blog RSS Navigation*/
ul.blognav a#blogrss {
	font: 1.0em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-style: none;
	text-align: center;
	color: #507f2b;
	margin: 0 10px 0 0;
	padding: 10px 15px 10px 35px;
	background: url(img/blog/blogrss.gif) no-repeat left top;
}

ul.blognav a#blogrss:hover {
	border-bottom-style: none;
	background: url(img/blog/blogrssover.gif) no-repeat left top;
}

ul.blognav a#blogrss:active {
	color: black;
	border-bottom-style: none;
}
/* @end */

.post {
	width: 660px;
	float: right;
	clear: both;
	padding-top: 20px;
	padding-bottom: 20px;
	background: url(img/blog/divider.gif) no-repeat center bottom;
}
.post-date {
	width: 60px;
	height: 60px;
	float:left;
	background: url(img/circle.gif) no-repeat;
}

.post-month {
	font-size: 11px;
	text-transform: uppercase;
	color: #507f2b;
	text-align: center;
	display:block;
	line-height: 11px;
	padding-top: 6px;
}
.post-day {
	font-size: 3em;
	text-transform: uppercase;
	color: white;
	text-align: center;
	display:block;
	line-height: 18px;
	padding-top: 7px;
	font-weight: bold;
}

.post-title {
	float: left;
	margin-left: 10px;
	width: 590px;
	padding-bottom: 10px;
	border-bottom: 2px dotted #e7ffbf;
}

.entry {
	clear: both;
	padding-top: 10px;
	padding-left: 70px;
	margin-left: 2px;
}

.post-cat {
	background: url(img/blog/tag.jpg) no-repeat left center;
	padding-left: 18px;
	float:left;
	font-size: 95%;
	color: #999999;
}

.post-comments {
	background: url(img/blog/comment.jpg) no-repeat left center;
	padding-left: 18px;
	float: right;
	font-size: 95%;
}

h2 a:link, a:visited {
	text-decoration: none;
	border-bottom: none;
	color: #a8d167;
}

h2 a:hover {
	color: #81a04f;
	border-bottom: none;
	background-color: #e9facc;
}

h2 a:active {
	color: #507f2b;
	border-bottom: none;
	background-color: #e9facc;
}

.nextprevious {
	clear: both;
	padding: 10px 0px 60px 70px;
}

.nextprevious a:link {
	color: gray;
	padding: 0 0 0 0;
	font-size: 1.4em;
	font-weight: bold;
	border-bottom: none;
}

.nextprevious a:hover {
	color: black;
	border-bottom: none;
}

.previous-entries {
	float: left;
	padding-left: 18px;
	background: url(img/blog/left.jpg) no-repeat left center;
}
.next-entries {
	float: right;
	padding-right: 18px;
	background: url(img/blog/right.jpg) no-repeat right center;
}

#searchform {
	width: 140px;
	float: left;
	clear: both;
}

#searchform #s {
	border: 1px solid #203346;
	width: 90px;
	height: 22px;
	padding: 2px 5px 0px 5px;
	border: 1px solid #bed881;
	background: #e9facc;
	vertical-align: middle;
}

#searchform #searchsubmit {
	border-style: none;
	width: 33px;
	height: 27px;
	font: bold 12px "Helvetic Neue", Helvetica, Arial, sans-serif;
	color: #507f2b;
	vertical-align: middle;
	background-image: url(img/blog/go-up.jpg);
}

#searchform label {
	font-size: 11px;
	color: #7ac142;
	font-weight: bold;
}

.ul-categories {
	width: 140px;
	list-style: none;
	margin:0px 0px 15px;
	padding:0px;
	border-bottom: 1px solid #dceeb7;
}
.ul-categories li{
	width: 100%;
	margin: 0px;
	border-top: 1px solid #dceeb7;
	text-align: left;
}
.ul-categories li a, .ul-categories li a:visited{
	width: 135px;
	color: gray;
	border-bottom: none;
	text-decoration: none;
	padding: 0 0 0 5px;
}
.ul-categories li a:hover{
	color: #507f2b;
	text-decoration: none;
}

.ul-archives {
	width: 140px;
	list-style: none;
	margin:0px 0px 15px;
	padding:0px;
	border-bottom: 1px solid #dceeb7;
}
.ul-archives li{
	width: 100%;
	margin: 0px;
	border-top: 1px solid #dceeb7;
	background: url(images/mini-category.gif) no-repeat left center;
	text-align: left;
}

.ul-archives li a, .ul-archives li a:visited{
	padding: 0 0 0 5px;
	margin: 0;
	width: 135px;
	color: gray;
	border-bottom: none;
	text-decoration: none;
}

.ul-archives li a:hover{
	color: #507f2b;
	text-decoration: none;
}

#login {
	width: 140px;
	height: 27px;
	clear: both;
	margin-bottom: 20px;
	background: url(img/blog/login.jpg) no-repeat;
}

#logintext {
	width: 100px;
	font: bold 12px "Helvetic Neue", Helvetica, Arial, sans-serif;
	color: #507f2b;
	text-transform: uppercase;
	text-align: center;
	padding-top: 5px;
}


/* @end */


/* @group Typography */
/* =Typography (inc. Headings)
-----------------------------------------------------------------------------*/
body {
  	font: 76%/1.8 "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  	margin: 0;
  	padding: 0;
}

h1 {
	color: #7ac142;
	font: 1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	margin: 0;
	padding: 0;
}

h2 {
	color: #a8d167;
	margin: 0;
	padding: 0;
	font: bold 2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

h3 {
	color: gray;
	font: bold 1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	margin: 0;
	padding: 0;
}

h4 {
	color: #a8d167;
	font: bold 1.6em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	margin: 0;
	padding: 0;
	text-indent: 2px;
}

h5 {
	font: bold 1.0em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-style: none;
	color: #507f2b;
	margin: 0;
	padding: 0;
	text-indent: 2px;
}

p {
	text-align: left;
	font: 1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	color: gray;
	white-space: normal;
	margin: 0 0 0.6em;
	padding: 0;
}

/*p classes*/
.news {
	color: silver;
}

.large {
	font-size: 1.2em;
}

/* @end */


/* @group Main Nav */
/* =Main Nav
-----------------------------------------------------------------------------*/
ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
	width: 680px;
	float: right;
	background: url(../images/nav-bg.jpg) no-repeat;
}

ul li {
	float: left;
}

ul a {
	display: block;
	float: left;
	text-decoration: none;
	color: #fff;
	margin: 0;
	padding: 0;
}

/*Home Navigation*/
ul a#home {
	font: bold 1.2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	width: 63px;
	height: 60px;
	border-style: none;
	background: url(img/nav/home.jpg) 0 -100px;
	text-align: center;
	color:  #7ac142;
	padding-top: 40px;
}

ul a#home:hover {
	background: url(img/nav/home.jpg) 0 0;
	border-bottom-style: none;
}

ul a#home:active {
	color: white;
	background: url(img/nav/home.jpg) 0 -200px;
	border-bottom-style: none;
}

/*Who We Are Navigation*/
ul a#whoweare {
	font: bold 1.2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	width: 111px;
	height: 60px;
	border-style: none;
	background: url(img/nav/whoweare.jpg) 0 -100px;
	text-align: center;
	color: #7ac142;
	padding-top: 40px;
}

ul a#whoweare:hover {
	background: url(img/nav/whoweare.jpg) 0 0;
	border-bottom-style: none;
}

ul a#whoweare:active {
	color: white;
	background: url(img/nav/whoweare.jpg) 0 -200px;
	border-bottom-style: none;
}

/*What We Do Navigation*/
ul a#whatwedo {
	font: bold 1.2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	width: 109px;
	height: 60px;
	border-style: none;
	background: url(img/nav/whatwedo.jpg) 0 -100px;
	text-align: center;
	color: #7ac142;
	padding-top: 40px;
}

ul a#whatwedo:hover {
	background: url(img/nav/whatwedo.jpg) 0 0;
	border-bottom-style: none;
}

ul a#whatwedo:active {
	color: white;
	background: url(img/nav/whatwedo.jpg) 0 -200px;
	border-bottom-style: none;
}

/*Portfolio Navigation*/
ul a#portfolio {
	font: bold 1.2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	width: 83px;
	height: 60px;
	border-style: none;
	background: url(img/nav/portfolio.jpg) 0 -100px;
	text-align: center;
	color: #7ac142;
	padding-top: 40px;
}

ul a#portfolio:hover {
	background: url(img/nav/portfolio.jpg) 0 0;
	border-bottom-style: none;
}

ul a#portfolio:active {
	color: white;
	background: url(img/nav/portfolio.jpg) 0 -200px;
	border-bottom-style: none;
}

/*Case Studies Navigation*/
ul a#casestudies {
	font: bold 1.2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	width: 116px;
	height: 60px;
	border-style: none;
	background: url(img/nav/casestudies.jpg) 0 -100px;
	text-align: center;
	color: #7ac142;
	padding-top: 40px;
}

ul a#casestudies:hover {
	background: url(img/nav/casestudies.jpg) 0 0;
	border-bottom-style: none;
}

ul a#casestudies:active {
	color: white;
	background: url(img/nav/casestudies.jpg) 0 -200px;
	border-bottom-style: none;
}

/*News Navigation*/
ul a#newsnav {
	font: bold 1.2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	width: 58px;
	height: 60px;
	border-style: none;
	background: url(img/nav/news.jpg) 0 -100px;
	text-align: center;
	color: #7ac142;
	padding-top: 40px;
}

ul a#newsnav:hover {
	background: url(img/nav/news.jpg) 0 0;
	border-bottom-style: none;
}

ul a#newsnav:active {
	color: white;
	background: url(img/nav/news.jpg) 0 -200px;
	border-bottom-style: none;
}

/*Contact Navigation*/
ul a#contact {
	font: bold 1.2em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	width: 82px;
	height: 60px;
	border-style: none;
	background: url(img/nav/contact.jpg) 0 -100px;
	text-align: center;
	color: #7ac142;
	padding-top: 40px;
}

ul a#contact:hover {
	background: url(img/nav/contact.jpg) 0 0;
	border-bottom-style: none;
}

ul a#contact:active {
	color: white;
	background: url(img/nav/contact.jpg) 0 -200px;
	border-bottom-style: none;
}

/* @end */


/* @group General Link Styles */
/* =Links
-----------------------------------------------------------------------------*/
a:link, a:visited {
	text-decoration: none;
	border-bottom: 1px dotted #a8d167;
	color: #a8d167;
	padding: 0 2px;
}

a:hover, a:active {
	color: #81a04f;
	border-bottom-style: solid;
	border-bottom-color: #a8d167;
	background-color: #e9facc;
	padding: 0 2px;
}


/* @end */


/* @group Tables */
/* =Tables
-----------------------------------------------------------------------------*/

table { 
 	border-spacing: 0;
	border-collapse: collapse;
}

td {
 	text-align: left;
	font-weight: normal;
}
/* @end */


/* @group Footer */
/* =Footer
-----------------------------------------------------------------------------*/
#footer {
	height: 100px;
	width: 100%;
	background: url(img/f-bg.gif);
	position: relative;
}

#footercontainer {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	text-align: left;
	padding: 15px 20px 0;
	background: url(img/gbg-top.jpg) no-repeat 20px;
	line-height: 14px;
}

#footer-logo {
	width: 150px;
	height: 85px;
	float: left;
	display: inline;
	clear: left;
	background: url(img/gbg-bottom.jpg) no-repeat;
}

#footercolumn1 {
	width: 250px;
	height: 75px;
	float: left;
	display: inline;
	clear: right;
}

#footercolumn2 {
	width: 180px;
	height: 75px;
	float: left;
	display: inline;
	clear: right;
}

#footercolumn3 {
	width: 220px;
	height: 75px;
	float: left;
	display: inline;
	clear: right;
}

#footercolumn4 {
	width: 100px;
	height: 75px;
	float: left;
	display: inline;
	clear: right;
	text-align: right;
}


.clearfooter {
	height: 100px;
	clear: both;
}

/* =Footer Links
-----------------------------------------------------------------------------*/
/*Footer Link Navigation*/
a.footerlink:link {
	font: 1.0em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-style: none;
	color: white;
	margin-bottom: 0;
	padding-bottom: 0;
}

a.footerlink:visited {
	font: 1.0em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-style: none;
	color: white;
	margin-bottom: 0;
	padding-bottom: 0;
}

a.footerlink:hover {
	color: #507f2b;
	border-bottom-style: none;
}

a.footerlink:active {
	color: black;
	border-bottom-style: none;
}


/*Welcome Navigation*/
ul a#f-contact {
	border-style: none;
}

ul a#welcomenav:hover {
	background: url(../images/navigation.jpg) -94px -39px;
	border-bottom-style: none;
}

ul a#welcomenav:active {
	background: url(../images/navigation.jpg) -94px -78px;
	border-bottom-style: none;
}

/* @end */

/* =Forms
-----------------------------------------------------------------------------*/

/* Removes fieldset borders, even on Opera 7 */
fieldset {
 	border: 1px solid transparent;
}

/* =Misc
-----------------------------------------------------------------------------*/

