@charset "UTF-8";
body  {
	background: #ffffff url(../images/design/page_bg.png) left top repeat-x;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
}

body#sub {
	background: #ffffff url(../images/design/subpage_bg.png) left top repeat-x;
}





#container { 
	width: 976px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
} 






#mainContent {
	position: relative; 

}

#mainContent #logo {
	float: left;
	margin-top: 20px;
	position: absolute;
}

#mainContent #top_links {
	float: right;
	padding-bottom: 50px;
}

#mainContent #tagline {
	clear: right;
	float: right;
	padding-bottom: 10px;
}
#mainContent #main_nav {
	clear: right;
	float: right;
	padding-bottom: 20px;
}
.hideNav {
	display: none;
}

#mainContent #flash {
	clear: both;
	float: right;
	padding-bottom: 30px;
	position: relative;
}
#mainContent #flash p.homepage_links{
	position: absolute;
	right: 20px;
	bottom: 40px;
	z-index: 200;
}
#mainContent #body {
	clear: both;
}

#mainContent #body #left_nav {
	float: left;
	width: 168px;
	margin-top: 40px;
}

#mainContent #body #left_body {
	float: left;
	width: 500px;
	margin-left: 160px;
	padding-right: 40px;
}

#sub #mainContent #body #left_body.admin{
	margin-left: 42px;
	width: 700px;
	padding: 0px;
}

#sub #mainContent #body #left_body {
	margin-left: 42px;
	width: 515px;
	padding: 0px;
}

#sub #mainContent #breadcrumb {
	padding-bottom: 20px;
}
#mainContent #body #right_body {
	float: right;
	width: 210px;
	padding-left: 20px;
	margin-top: 40px;
}




/* PORTFOLIO PAGES ONLY */
#mainContent #portfolio_body{
	margin-left: 215px;
	position: relative;
}
#mainContent #portfolio_body #newsletter_portfolio{
	width: 210px;
	position: absolute;
	right: 0px;
	top: 40px;
}	
#mainContent #portfolio_body p.home_body{
	width: 515px;
}
#mainContent #portfolio_body div.portfolio1 {
	border: 1px solid #d5d5d5;
	padding: 10px;
	height: 240px;
	margin-bottom:60px;
	position: relative;
	overflow:hidden;
}
#mainContent #portfolio_body div.portfolio2 {
	padding: 10px;
	height: 220px;
	margin-bottom: 30px;
	overflow:hidden;
}
#mainContent #portfolio_body.ads div.portfolio2{
	height: 250px; /*just so the bigger images fit... stupid inconsistency */
}
#mainContent #portfolio_body.reports div.portfolio2{
	height: 250px; /*just so the bigger images fit... stupid inconsistency */
}
#mainContent #portfolio_body img.featured {
	float: left;
	padding-top: 10px;
}
#mainContent #portfolio_body img.big_thumb {
	border: 1px solid #d5d5d5;
	float: left;
}
#mainContent #portfolio_body div.small_thumb{
	margin-left: 330px;
}
#mainContent #portfolio_body div.small_thumb img{
	float: left;
	margin-right: 10px;
	border: 1px solid #d5d5d5;
	cursor: pointer;
}
#mainContent #portfolio_body div.featured_logo {
	position: absolute;
	right: 5px;
//	bottom: 5px;
}
#mainContent #portfolio_body .portfolio_linky {
	position: absolute;
	right: 5px;
}
/****************** END PORTFOLIO PAGES ONLY *******************/


#mainContent #body #newsletter_signup {
	background: url(../images/design/newsletter_box.png) left top no-repeat;
	height: 56px;
	padding: 10px;
}
#mainContent #body #newsletter_signup form{
	margin: 0px;
	padding: 5px 0px 0px 0px;
}
#mainContent #body #newsletter_signup input {
	border: none;
}
#mainContent #body #newsletter_signup input.image{
	margin: 0px 0px -5px 10px;
}
#mainContent #body #newsletter_signup input.text{
	color: #b4b402;
}
#mainContent #body #newsletter_signup input#email{
	width: 140px;
}
#sub #mainContent #body #newsletter_signup input#email{
	width: 130px;
}
#mainContent div.why{
	position: absolute;
	top: 0px;
	left: 0px;
	border: 1px #cccccc solid;
	height: 65px;
	width: 275px;
	background-color: #ffffff;
	padding: 10px;
}
#mainContent div.why img.close {
	position: absolute;
	top: 3px;
	right: 3px;
}
#mainContent div.why img.close:hover{
	cursor: pointer;
}

/********** newsletter sub ***********/
#sub #mainContent #body #newsletter_signup {
	background: url(../images/design/newsletter_box_sub.png) left top no-repeat;
	height: 56px;
	padding: 10px;
}
#sub #mainContent #body #newsletter_signup form{
	margin: 0px;
	padding: 5px 0px 0px 0px;
}
#sub #mainContent #body #newsletter_signup input {
	border: none;
}
#sub #mainContent #body #newsletter_signup input.image{
	margin: 0px 0px -5px 10px;
}
#sub #mainContent #body #newsletter_signup input.text{
	color: #b4b402;
}
#sub #mainContent div.why{
	position: absolute;
	top: 0px;
	left: 0px;
	border: 1px #cccccc solid;
	height: 65px;
	width: 275px;
	background-color: #ffffff;
	padding: 10px;
}
#sub #mainContent div.why img.close {
	position: absolute;
	top: 3px;
	right: 3px;
}
#sub #mainContent div.why img.close:hover{
	cursor: pointer;
}
/********* end newsletter sub ************/



#mainContent #body #poll {
	height: 200px;
	border: 1px solid #bbbbbb;
	padding: 5px;
}

#mainContent #body #right_body_home {
	float: right;
	width: 276px;
	/*padding-left: 20px;*/
}

#mainContent #portfolio {
	clear: both;
}
#mainContent #portfolio #access_portfolio {
	width: 138px;
	height: 79px;
	float: left;
	/*background-image: url(/images/content/access_portfolio_faded.png);*/
	border: 1px solid #cccccc;
}
#mainContent #portfolio #clients {
	border: 1px solid #cccccc;
	margin-left: 160px;
	height: 79px;
}
#mainContent #portfolio #clients div{
	float: left;
	padding: 0px 8px 0px 8px;
	background-position: 8px top;
	background-repeat: no-repeat;
}

#mainContent p.portfoliotable{
	width: 500px;
}

#mainContent p.portfoliotable img{
	float: left;
	border: #cccccc 1px solid;
	margin: 0px 2px 0px 2px;
}

#mainContent p.portfoliolarge img{
	float: right;
	border: #cccccc 1px solid;
}




 
#footer { 
	margin-left: 160px; 
	padding-top: 10px;
	padding-bottom: 10px;
} 
#sub #footer {
	margin-left: 210px;
	padding: 20px 0px 30px 0px;
}



#footer_left {
    float: left;

    text-align: left;
}

/*     margin-left: 160px;
*/

#footer_right {
	float: right;
}








.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

#rsslink {
	display: none;
}

#blog_tab {
	width: 103px;
	height: 19px;
	background: #b4b402;
	border-left: 1px solid #fff;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	float: left;
	cursor: pointer;
	padding-top: 5px;
	padding-left: 29px;
}

#blog_tab.acttab {
	border-bottom: none;
	height: 21px;
}

#twitter_tab {
	width: 112px;
	height: 21px;
	background: url(http://www.sandstormdesign.com/images/design/ssd_tweet_tab_bg.png) no-repeat;
	float: left;
	cursor: pointer;
	padding-left: 29px;
	padding-top: 5px;
}

#twitter_tab.acttab {
	
}


#connect_content {
	width: 254px;
	height: 230px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	clear: both;
	padding: 10px;
}

#connect_content.blog {
	background: #b4b402;
}

#connect_content #blog {
	background: #fff;
	padding: 13px;
}

#connect_content.twitter {
	background: #165a94;
}

#connect_content #blog {
	background: #fff;
}

#facebook {
	width: 256px;
	height: 33px;
	background: url(http://www.sandstormdesign.com/images/design/ssd_fb_bg.png) no-repeat;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 15px;
	padding-left: 20px;
}

#connect_content.blog a {
	margin-top: 3px;
	display: block;
}

.twtr-hd, .twtr-ft {
	display: none;
}

#twitter, .twtr-bd {
	background: #fff;
	font-size: 90%;
}

#twitter {
	padding-top: 5px;
	padding-bottom: 5px;
}

#teaser {
	padding-left: 13px;
	margin-bottom: 10px;
	margin-top: 10px;
}

.twtr-widget .twtr-tweet-wrap {
	padding: 11px 8px;
}

#likebutton {
	float: right;
}

#wbenc {
	margin-left: 5px;
	float: right;
}

.caps {
	text-transform: uppercase;
}

h4.caps {
    color: #666666;
    font-family: Arial;
    font-weight: bold;
    margin-bottom: 5px;
}

/* --------------- Flickr --------------- */

#flickr_badge_source_txt {
	padding: 0;
	font: 11px Arial, Helvetica, Sans serif;
	color: #666666;
}

#flickr_badge_icon {
	display: block;
	margin: 0;
	border: none;
}

#flickr_icon_td {
	padding: 0 5px 0 0;
}

.flickr_badge_image {
	text-align: center;
}

.flickr_badge_image img {
	border:none;
	width:56px;
	height:56px;
	margin-right:4px;
}

#flickr_www {
	display:block;
	padding:0 10px 0 10px;
	font: 11px Arial, Helvetica, Sans serif;
	color:#3993ff;
}

#flickr_badge_uber_wrapper a:hover,
#flickr_badge_uber_wrapper a:link,
#flickr_badge_uber_wrapper a:active,
#flickr_badge_uber_wrapper a:visited {
	text-decoration:none;
	background:inherit;
	color:#3993ff;
}

#flickr_badge_source {
	padding:0;
	font: 11px Arial, Helvetica, Sans serif;
	color:#666666;
}

#flickr_badge_wrapper {
	display:block;
}

#flickr_badge_wrapper,
#flickr_badge_uber_wrapper {
	float:left;
	padding:0;
	margin:0;
}

#footer-services .inner,
#footer-bottom,
#footer-bottom a {
	margin: 0 auto;
    width: 976px;
	overflow:hidden;
    color: #808080;
    line-height: 14px;
    text-align: left;
	text-decoration:none;
}

#footer-bottom {
	margin:10px auto;
}

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

#footer-services .section {
    color: #666666;
    display: inline;
    float: left;
    line-height: 14px;
    margin: 15px 5px;
    overflow: hidden;
    text-align: left;
    width: 150px;
}

#footer-services .section.wordlength-short {
    width: 110px;
}

#footer-services .section a {
	color: #999999;
	text-decoration:none;
}

#footer-services .section a:hover {
	text-decoration:underline;
}

#footer-services .section.first {
    margin: 15px 5px 20px 160px;
}

#footer-services #email-and-flickr {
    margin: 15px 0 15px 40px;
    width: 220px;
}

#footer-services {
    background-color: #F0F3F4;
    margin: 5px 0 0;
    overflow: hidden;
    width: 100%;
}
