/* --------------------------------------------------------------
   digital butter front-end 
   
   @see grid.css for this info below

   == STRUCTURE: ========================
    * Page width:            850 px
    * Number of columns:     24 
    * Column width:          22 px
    * Margin width:          14 px
   ======================================
   
-------------------------------------------------------------- */
/* --------------------------------------------------------------
   superfriendly resources
-------------------------------------------------------------- */
@import url('reset.css');
@import url('typography.css');
@import url('forms.css');
@import url('grid.css');

a:focus {
	outline: none;
}

body {
  margin-bottom: 1em;
}
#middle h1 {
	color: white;
}
#middle {
  width: 990px; 
  margin-left: auto;
  margin-right: auto;
  background: url('../images/yellow-grey-background-y.jpg') top center repeat-y;
  overflow: hidden;
  color: white;
  position: relative;
}
#line-separator {
  height: 3px;
  background: #ffdd00;
  width: 950px;
  margin: 0 auto;
  border-bottom: 1px solid #b4a236;
}
#util, #loveThings {
  margin-left: 70px; 
  margin-right: 20px;
}
#util #tags {
  width: 700px;
  margin-top: -1px;
}
#tag-label {
  padding-left: 16px;
  padding-top: 3px;
  background: url('../images/tag-icon-label.jpg') 0 5px no-repeat;
}
#footer {
  width: 990px; 
  margin-left: auto;
  margin-right: auto;
  background: url('../images/yellow-grey-footer.jpg') center no-repeat;
  overflow: hidden;
  height: 123px;
}
#header {
  background: url('../images/yellow-grey-header.jpg') top center no-repeat;
}
#logo-box {
  padding-top: 2em;
}
#header-pad {
  background: url('../images/yellow-grey-background-y.jpg') top center repeat-y;
  overflow: hidden;
  padding-top: 2em;
}
#nav {
  padding-top: 70px;
  overflow: hidden;
}
#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#nav ul li {
  float: left;
  display: inline;
  margin-right: 1.5em;
  padding: 0 0 0.3em 0;
}

#nav ul li.active {
	border-bottom: 2px solid #FCE100;
}

#nav a {
  display: block;
  padding: 0.5em 0.25em;
  background: url(../images/butter_nav.png) top left no-repeat;
  text-indent: -9999px;
  float: left;
  height: 13px;
  padding: 0px;
}

#about-us a {
	background-position: 0 0;
	width: 43px;
}

	#about-us a:hover, #about-us a.active {
		background-position: 0 -20px;
	}
	
#work a {
	background-position: -75px 0;
	width: 36px;
}

	#work a:hover, #work a.active {
		background-position: -75px -20px;
	}
	
#services a {
	background-position: -143px 0;
	width: 59px;
}

	#services a:hover, #services a.active {
		background-position: -143px -20px;
	}
	
#blog a {
	background-position: -236px 0;
	width: 33px;
}

	#blog a:hover, #blog a.active {
		background-position: -237px -20px;
	}
	
#contact a {
	background-position: -300px 0;
	width: 56px;
}

	#contact a:hover, #contact a.active {
		background-position: -300px -20px;
	}			

#nav a:active {

}
#nav a.active {

}
#footer .container {
  width: 950px !important; 
  margin-left: auto;
  margin-right: auto;
}
#footer #footer-left, 
#footer #footer-right {
  width: 468px; /* (950 - 14) / 2 */
}

.thumbview-box a {
	color: white;
}

.thumbview-box {
  width: 198px;
  min-height: 150px;
  border: 2px solid #666666;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  background: #fff;
  margin-top: 14px;
}
.thumbview-box:hover {
  border-color: #ffdd00;
  cursor: hand;
  cursor: pointer
}
.thumbview-box .thumb-image {
  width: 194px; 
  margin-left: 2px;
  margin-right: auto;
  margin-top: 3px;
}
.thumbview-box .thumb-image img {
  width: 194px !important;
  height: auto !important;
}
.listview-box {
  background: #fff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;  
}
.listview-box .item-info {
  margin-bottom: 0;
}
.item-info {
	color: #000;
}
.item-info a {
	text-decoration: none;
	color: black;
}
.item-info a:hover {
	text-decoration: underline;
}
.listview-box .item-tag {
  background: url('../images/tag-icon-label-gow.jpg') 0 5px no-repeat;
}
.listview-box .item-tag.notags {
	background: none;
}
.listview-box .item-tag.notags .tags {
	height: 14px;
}
.listview-box .tags {
  padding: 2px 2px 7px 18px;
}
.listview-box .item-tag hr {
  background: #ffdd00;
  margin-bottom: 0;
}
.listview-box .thumb-image {
  padding: 3px 2px;
  width: 270px !important;
}
.listview-box .thumb-image img {
  width: auto !important;
  height: auto !important;
  margin: 0;
  padding: 0;
}

.thumb-image, .thumb-image img, .thumb-image a {
	float: left;
}

.listview-box .listview-info {
  padding-top: 1.75em;
}
.listview-box .listview-info h4 {
  color: #444;
  margin-bottom: 0.5em;
}
.listview-info p {
	color: #333;	
}
.listview-box .listview-info .small {
  font-size: 0.85em;
}
.container hr.space {
  background: transparent;
  float: left;
}
#footer .container a, #view-switcher a, a.case-study {
  display: block;
  background: url('../images/icon-graphics.png') no-repeat;
}
#view-switcher a { 
  float: left;
  height: 20px;
  margin-right: 16px;
}
#footer .container a span {
  display: none;
}
#a-client-login, #a-twitter-follow {
  width: 152px;
  height: 30px;
  float: left;
  margin-right: 14px;
}
#a-return-top {
  display: block;
  width: 60px;
  height: 20px;
}
#footer .container a#a-return-top {
  background-position: 0 -75px;
}
#footer .container a#a-return-top:hover {
  background-position: -1px -105px;
}
#footer .container a#a-client-login {
  background-position: -131px -96px;
}
#footer .container a#a-twitter-follow {
  background-position: -296px -96px;
}
#footer .container a#a-client-login:hover {
  background-position: -131px -142px;
}
#footer .container a#a-twitter-follow:hover {
  background-position: -296px -142px;
}
#view-switcher {
  padding-top: 1em;
}
#view-switcher a span {
  display: none;
}
#util #view-switcher a#a-view-thumb {
  background-position: -189px -23px;
  width: 60px;   
}
#util #view-switcher a#a-view-list {
  width: 50px; 
  background-position: -131px -23px;
}
#util #view-switcher a#a-view-thumb:active,
#util #view-switcher a#a-view-thumb:hover,
#util #view-switcher a#a-view-thumb.active {
  background-position: -189px 0;
}
#util #view-switcher a#a-view-list:active,
#util #view-switcher a#a-view-list:hover,
#util #view-switcher a#a-view-list.active {
  background-position: -131px 0;
}
#util #tags a {
  display: block;
  float: left;
  padding-left: 1.25em;
  padding-right: 1.25em;
  padding-top: 3px;
}
#util #tags a:hover, #util #tags a.active {
  background: url('../images/tag-drop-arrow.jpg') top center no-repeat;
  color: #ffdd00;
}
a.case-study {
  width: 75px;
  height: 22px;
  float: left;
  background-position: 0 -24px;
}
a.case-study:hover, .listview-box:hover a.case-study {
  background-position: 0 0;
}

.listview-box {
	border: 3px solid white;
}

.listview-box:hover {
	border: 3px solid #FFDD00;
}

.case-study span {
  display: none;
}
.cs-right{
  margin-top: -28px;
}

/* TYPOGRAPHY */
#footer #footer-right address {
	float: right;
	text-indent: -9999px;
	background: url(../images/digital_butter_address.jpg) top left no-repeat;
	display: block;
	height: 16px;
	width: 460px;
	margin-top: 10px;
	margin-bottom: 0px;
}

#footer-right .prepend-top {
	float: right;
	clear: right;
}

#footer-right .prepend-top p#copyright {
	float: right;
	text-indent: -9999px;
	background: url(../images/digital_butter_copyright.jpg) top left no-repeat;
	display: block;
	height: 16px;
	width: 152px;
	margin-top: 5px;
}


.thumb-title h4 {
  color: #999;
  text-align: center;
  margin-bottom: 0;
  font-size: 0.9em;
  margin-top: 5px;
}

.hovered h4 {
	color: #666;
}

#tags {
  color: #999;
}
#nav a, #tags a {
  font-family: Verdana;
  text-decoration: none;
}
#tags a  {
  color: #ccc;
}
#nav a {
  color: #dedede;
  border-bottom: 1px solid transparent;
}
#nav a:active {
  color: #ffdd00;
}
#tag-label {

}
.listview-box .tags, .listview-box .tags a {
  color: #666;
  font-size: 0.8em;;
}

#project {
	position: relative;
}

#project_top {
	padding: 40px 0 0 0;
}

#project h1 {
	color: white;
	width: 300px;
	float: left;
	font-size: 1.5em;
}

#project_inner {
	width: 300px;
	float: left;
}

#product_shots {
	position: relative;
	top: -65px;
	right: 0px;
}

#product_shots img, .screenshot {
	position: relative;
}

#product_shots img, .screenshot, #product_shots {
	float: right;
}

#product_shots, #product_shots img {
	width: 543px !important; 
}

#project_buttons {
	position: absolute;
	left: 345px;
	top: 30px;
}

#project_buttons a {
	display: block;
	float: left;
	height: 8px;
	width: 7px;
	text-indent: -9999px;
}

#project_buttons #project_left {
	background: url(../images/left.png) top left no-repeat;
	margin-right: 10px;
}

#project_buttons #project_right {
	background: url(../images/right.png) top left no-repeat;
}

.screenshot .caption {
	position: absolute;
	left: -121px;
	background: #797979;
	padding: 30px 10px;
	font-size: 0.75em;
	font-style: italic;
	color: white;
	bottom: 13px;
	width: 120px;
}

#project_inner {
	color: white;
	font-size: 0.9em;
}

#project_inner ul {
	margin: 0px;
	padding-left: 0px;
}

#project_inner ul li, #project_inner ul {
	list-style-type: none;
}

#project_inner ul li .label {
	color: #333;
	padding-right: 2px;
}

#project_inner ul li a {
	color: #FCE100;
	text-decoration: none;
}

#project_summary {
	padding: 10px 0 20px 0;
}

#project_tagging {
	background-image: url(../images/tag.jpg);
	background-repeat: no-repeat;
	background-position: 0 5px;
	padding: 0 0 0 20px;
	float: left;
	margin: 20px 0 0 0;
}

#project_tagging a {
	float: left;
	color: white;
	text-decoration: none;
	margin-right: 5px;
	margin-bottom: 2px;
}

#project_tagging a:hover {
	color: #FCE100;
}


#project_tagging span.cap {
	background-image: url(../images/tag_bg.png);
	background-repeat: no-repeat;
}

#project_tagging span {
	float: left;
	display: block;
	height: 18px;
	padding: 7px 0px
}

#project_tagging span.tag {
	background: url(../images/tag_bg_repeat.png) top left repeat-x;
}

#project_tagging span.endCap {
	width: 10px;
	background-position: -60px 0;
}

#project_tagging span.startCap {
	width: 10px;
	background-position: 0 0px
}

.tpl_5 #line-separator {
	position: absolute;
	z-index: 1;
	top: 130px;
	left: 20px;
}

#content_top {
	position: relative;
	z-index: 2;
	display: block;
	height: 150px;
}

#content_top img {
	position: absolute;
	left: 0px;
	top: 0px;
}

#content_top h1 {
	position: absolute;
	left: 350px;
	top: 85px;
	display: block;
	text-align: left;
	text-indent: -9999px;
	background-position: 0 0;
	background-repeat: no-repeat;
	padding: 0px;
}

#page_about-us #content_top h1 {
	background-image: url(../images/passion_and_pride.jpg);
	height: 31px;
	width: 185px;	
}

#page_services #content_top h1 {
	background-image: url(../images/our-services.jpg);
	height: 31px;
	width: 127px;
}

#page_contact #content_top h1 {
	background-image: url(../images/enquiry.jpg);
	height: 31px;
	width: 85px;
	left: 0px;
}

#page_services #content_top img {
	top:70px;
}

#page_services p {
	margin: 0 0 40px;
}

.tpl_5 #util {
	padding-left: 350px;
	position: relative;
	z-index: 3;
}

.tpl_5 #util h3, #page_services #loveThings h3 {
	color: #FCE100;
	font-size: 14px;
	text-transform: lowercase;
}

.tpl_5 #util span, #page_services #loveThings span {
	color: #fff;
	text-transform: none;
	font-size: 10px;
}

.tpl_5 #page_contact #loveThings {
	padding-left: 50px;
	
}

#page_about-us #loveThings {
	background: url(../images/white-bg.png) top left repeat;
	float: right;
	margin-right: 60px;
	width: 470px;
	padding: 20px;
	font-size: 0.9em;
	margin-bottom: 10px;
}

#page_about-us #loveThings h3 {
	color: white;
	font-size: 1.4em;
	text-transform: lowercase;
}

#page_about-us #loveThings h4, #page_about-us #loveThings h4 a {
	float: left;
	clear: left;
	margin-bottom: 1px;
}

#page_about-us #loveThings h4 a {
	display: block;
	width: 120px;	
	font-size: 0.9em;
	margin-bottom: 3px;
}

#page_about-us #loveThings p {
	font-style: italic;
	margin-bottom: 3px;
}

#page_services #loveThings {
	margin-left: 10px;
}

#page_services #util, #page_services #loveThings {
	width: 240px;
	float: left;
}

#project h1#the-wine-guide {
background: url(../images/the-wine-guide.png) no-repeat;
width: 200px;
height: 35px;
text-indent: -9999px;
}

#project h1#gizzy-nacho {
background: url(../images/gizzy-nacho.png) no-repeat;
width: 200px;
height: 35px;
text-indent: -9999px;
}

#project h1#knit-collage {
background: url(../images/knit-collage.png) no-repeat;
width: 200px;
height: 35px;
text-indent: -9999px;
}

#project h1#latitude {
background: url(../images/latitude.png) no-repeat;
width: 200px;
height: 35px;
text-indent: -9999px;
}

#project h1#avantara-residences {
background: url(../images/avantara-residences.png) no-repeat;
width: 250px;
height: 35px;
text-indent: -9999px;
}

#project h1#mobart-gallery {
background: url(../images/mobart-gallery.png) no-repeat;
width: 250px;
height: 35px;
text-indent: -9999px;
}

#project h1#andatee-china-marine-fuel {
background: url(../images/andatee.png) no-repeat;
width: 350px;
height: 35px;
text-indent: -9999px;
}

#project h1#vipbox {
background: url(../images/vipbox.png) no-repeat;
width: 350px;
height: 35px;
text-indent: -9999px;
}

#project h1#tanya-b {
background: url(../images/tanya-b.png) no-repeat;
width: 350px;
height: 35px;
text-indent: -9999px;
}

#project h1#azurance {
background: url(../images/azurance.png) no-repeat;
width: 350px;
height: 35px;
text-indent: -9999px;
}

#project h1#haven-books-publishing {
background: url(../images/haven-books-publishing.png) no-repeat;
width: 350px;
height: 35px;
text-indent: -9999px;
}

#page_services p {
	height: 110px;
}

.right_info {
	float: right;
	padding-top: 45px;
}