/*
Theme Name: Tealgray Retro Theme
Theme URI: http://www.mip-design.com/
Version: 2.0
Author: Mip Design Studio

*/

/* Base
------------------------------------------------------*/

*
{
	margin: 0px;
	padding: 0px;
}

body
{
	background: #fff;
	font: normal 0.8em/145% Arial, Tahoma, sans-serif;
	color: #3F3F3F;
	text-align: center;
	padding-bottom: 20px;
}

p
{
	margin: 0px 0px 10px 0px;
	line-height: 140%;
	color: #3F3F3F;
}

a
{
	outline: none;
	text-decoration: underline;
}

a:hover
{
	text-decoration: none;
}

.hide
{
	display: none;
}

img
{
	border: 0px;
}


/* Clearing method
------------------------------------------------------*/

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}


/* Layout
------------------------------------------------------*/
#wrapper{
width: 920px;
margin: 0 auto;
}

#page-container
{
	width: 900px;
	margin: 0px auto;
	text-align: left;
}

#page-navigation
{
	background: url("images/bg_page_navigation.png") no-repeat 0% 0%;
	padding: 10px 0px 0px 20px;
}

#page-content
{
	background: url("images/bg_page_content.png") repeat-y 0% 0%;
	padding: 0px 10px 0px 10px;
}

#page-footer
{
	background: url("images/bg_page_footer.png") no-repeat 0% 100%;
	padding: 10px 25px 20px 20px;
	text-align: right;
}

#content-wrapper
{
	padding: 20px 30px 40px 30px;
}

#content-main
{
	width: 525px;
	float: left;
	padding: 0px 0px 30px 0px;
}

#content-main.wide
{
	width:950px;
	float: none;
}

#content-sidebar
{
	width: 290px;
	float: right;
}

#content-extras
{
	background: #C4E2EA url("images/bg_content_extras.gif") repeat-x 0% 100%;
	padding: 0px 25px 20px 25px;
}


/* Branding
------------------------------------------------------*/
#banner-top{
    width: 920px;
    height: 90px;
   margin: 0 auto;
}

.rec_ad{
float: right;
}

.sq_ad{
float: right;
margin-left: 10px;
}

#branding
{
	height: 70px;
        clear: both;
}

#logo h1
{
        font: bold 24px Helvetica, Arial, sans-serif;
	color: #9C4A7A;
	width: 320px;
        height: 70px;
	float: left;
	padding: 15px 0px 0px 20px;
        display: block;
        text-indent: -9999px;
        background: transparent url(images/smartscale-logo.jpg) no-repeat 0 0;
}

#logo h2 /* tagline */
{
	font: italic 18px Helvetica, Arial, sans-serif;
	color: #777;
	float: left;
        margin-top: 40px;

}

#search
{
	width: 300px;
	float: right;
	margin: -30px 10px 0px 0px;
        z-index: 100;
}

#search .box
{

	padding: 2px;
}

#search input
{
	font: bold 1.0em Arial, tahoma, sans-serif;
	color: #9C4A7A;
	width: 180px;
	float: left;
	margin: 0px 6px 0px 6px;
	padding: 3px;
	border: 1px solid #AFAFB5;
	background-color: #eee;
}

#search input.submit
{
	font: bold 1.0em Arial, tahoma, sans-serif;
	color: #3f3f3f;
	text-transform: uppercase;
	width: 60px;
	margin: 0px;
	padding: 2px 6px;
	border: 1px solid #AFAFB5;
}


/* Page navigation
------------------------------------------------------*/

#page-navigation .rss
{
	background:  url("images/icon_feed.gif") no-repeat 0% 0%;
	display: block;
	float: right;
	width: 48px;
	height: 40px;
	text-indent: -9999px;
	margin: 15px 15px -15px 0px;
}

#nav {
  position: relative;
	height: 40px;
  padding: 0px;
	margin: 0px;
}

#nav li {
  float: left;
  list-style: none;
	z-index: 10;
}

#nav li.back {
  background: #C4E2EA url("images/page_nav_hover.gif") no-repeat 0% 100%;
  width: 2px; 
	height: 40px;
  z-index: 8;
  position: absolute;
}

#nav li a {
	background: url("images/page_nav_default.gif") no-repeat 50% 100%;
	font: bold 1.2em Helvetica, sans-serif;
	color: #3F3F3F;
	text-decoration: none;
  z-index: 60;
  display: block;
  float: left;
  position: relative;
  overflow: hidden;
	padding: 12px 15px 12px 15px;
}

#nav li li a, #nav li li a:visited, #nav li li a:active {
	background: none;
	font: bold 0.95em Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
	padding: 7px 5px 7px 15px
}

#nav li.current_page_item a {
  color: #9C4A7A;
}

#nav li.current_page_item li a {
  color: #fff;
}

#nav li a:hover, #nav li a:active, #nav li a:visited {
  border: none;
}


/* Breadcrumbs
------------------------------------------------------*/

#breadcrumbs
{
	padding: 0px 20px 12px 30px;
	background-color: #41A0B6;
}

#breadcrumbs a
{
	color: #fff;
}

#breadcrumbs strong
{
	color: #fff;
}



/* Page content
------------------------------------------------------*/

#content-head
{
	height: 240px;
}

#content-head img
{
	display: block;
	border-top: 10px solid #b5ba6c;
	border-bottom: 10px solid #41A0B6;
	min-height: 220px;
}

#content-wrapper h2
{
	font: bold 1.6em Georgia, "Times New Roman", Times, serif;
	color: #9C4A7A;
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 5px 0px;
	border-bottom: 1px dashed #584624;
}

#content-wrapper h2 a{
	color: #9C4A7A;
}

#content-wrapper h2 span
{
	color: #b5ba6c;
}

#content-wrapper h3
{
	font: bold 1.3em/140% Arial, Tahoma, sans-serif;
	color: #777;
	margin: 20px 0px 10px 0px;
	text-transform: uppercase;
}

#content-wrapper h3 span
{
	color: #9C4A7A;
}

#content-wrapper h3.posted
{
	font: bold 1.0em/140% Arial, Tahoma, sans-serif;
	color: #777;
	margin: -15px 0px 20px 0px;
	text-transform: none;
	xtext-align: right;
}

#content-wrapper h4
{
	font: normal 1.3em/140% Arial, Tahoma, sans-serif;
	color: #9C4A7A;
	margin: 20px 0px 10px 0px;
}

#content-wrapper p strong
{
	color: #9C4A7A;
}

#content-wrapper img
{
	border: 1px solid #bcb99e;
	background-color: #dcd8c5;
	margin: 0px 0px 10px 0px;
	padding: 6px;
}

#content-wrapper a
{
	color: #41A0B6;
}

#content-main ul
{
	margin: 0px 0px 15px 0px;
	padding: 0px 0px 0px 16px;
	list-style-type: square;
}


/* Page content - topics
------------------------------------------------------*/

#content-main .post-item
{
	margin: 0px 0px 20px 0px;
}

#content-main .post-item h2 /* Post Title */
{
	margin-bottom: 10px;
}

#content-main .post-item h2 a /* Post Title Link */
{
	text-decoration: none;
}

#content-main .post-item h2 a:hover /* Post Title Hover */
{
	color: #520635;

}

#content-main .post-item h3 /* Date */
{
	font: normal 1.0em Arial, Tahoma, sans-serif;
	margin: 0px 0px 7px 0px;
	padding: 3px 0px 0px 0px;
	text-transform: none;
}

#content-main .post-item img
{
	float: left;
	margin: 3px 15px 3px 0px;
}

#content-main .post-item a.detail /* Continue Reading */
{
	font: bold 1.1em Arial, tahoma, sans-serif;

}

#post-navigation 
{
	margin: 50px 0px 0px 0px;
	padding: 8px;
	background-color: #eee;
}

#post-navigation a
{
	display: block;
	float: left;
	font: bold 0.9em Arial, Tahoma, sans-serif;
	color: #41A0B6;
	text-decoration: none;
	text-transform: uppercase;
}

#post-navigation .next a
{
	float: right;
}

#post-navigation a:hover
{
	color: #45371b;
}


#post-indexing
{
	margin: 50px 0px 0px 0px;
	padding: 8px;
	background-color: #eee;
}


/* Page content - images
------------------------------------------------------*/

#content-main .alignleft
{
	float: left;
	margin: 3px 15px 10px 0px;
}

#content-main .alignright
{
	float: right;
	margin: 3px 0px 10px 15px;
}



/* Page content - portfolio
------------------------------------------------------*/

#portfolio-list
{
	margin-top: 20px; 
}

#portfolio-list .portfolio-item
{
	width: 260px;
	float: left;
	margin: 0px 20px 25px 0px;
}

#portfolio-list .last
{
	margin-right: 0px;
}

#portfolio-list h3
{
	font: bold 1.0em Arial, tahoma, sans-serif;
	color: #9C4A7A;
	margin: 0px 0px 5px 0px;
	padding: 0px;
	text-transform: none;
}

#portfolio-list p
{
	font: normal 1.0em/130% Arial, tahoma, sans-serif;
}


/* Page content - comments
------------------------------------------------------*/

#content-main .commentlist
{
	margin: 25px 0px 0px 0px;
	padding: 0px;
	list-style: none;
}

.commentlist li
{
	margin: 0px;
	padding: 0px 10px 0px 0px;
	border-bottom: 1px solid #ddd;
}

.commentlist cite
{
	display: block;
	padding-top: 12px;
}

#content-main .commentlist h4
{
	font-size: 1.0em;
}

#content-main .commentlist h4 strong
{
	font: bold 1.2em Georgia, "Times New Roman", Times, serif;
}

#content-main h4 img 
{
	float: left;
	width: 53px;
	height: 53px;
	padding: 4px;
	margin: 0px 20px 0px 0px;
	background-color: #fff;
	border: 1px solid #dcd8c5;
}
		
.commentinfo {
	float: left;
	padding-top: 5px;
	font-size: 0.9em;
}

.commentlist li.my_comment 
{
	background-color: #eee;
	padding-left: 10px;
}

.commenttext 
{
	font-size: 0.9em;
}

.commentlist code 
{
	font-size: 1.3em;
	line-height: 120%;
}

#content-main .commentlist .wp-smiley 
{
	border: none;
	padding: 0px;
	background: none;
}



/* Page content - comment forms
------------------------------------------------------*/

#post-comment
{
	border-top: 5px solid #e9e9e9;
	background-color: #f3f3f3;
	padding: 20px;
}

#content-main #post-comment input, #content-main #post-comment textarea
{
	background-color: #fff;
}

#content-main label
{
	display: block;
	font: bold 1.0em/120% Arial, tahoma, sans-serif;
	color: #45371b;
	float: left;
	width: 180px;
	margin: 5px 0px 10px 0px;
}

#content-main input, #content-main textarea
{
	float: left;
	width: 290px;
	background-color: #f3f3ec;
	border: 1px solid #ddd;
	font: normal 1.1em/120% Arial, tahoma, sans-serif;
	color: #45371b;
	margin: 0px 0px 10px 0px;
	padding: 4px;
}

#content-main textarea
{
	width: 320px;
	height: 150px;
}

#content-main .comment
{
	display: block;
	float: none;
	margin: 0px 0px 5px 0px;
	width: 470px;
}

#content-main label.comment
{
	margin-top: 10px;
}

#content-main input.submit
{
	display: block;
	float: left;
	width: 150px;
	background-color: #ddd;
	border: 1px solid #ddd;
	font: normal 1.2em/120% Georgia, Times, serif;
	color: #45371b;
	margin: 10px 0px 10px 0px;
	padding: 5px;
}

#content-main input.submit:hover
{
	color: #9C4A7A;
}

#content-main input:focus, #content-main textarea:focus
{
	border: 1px solid #45371b;
}


/* Page content - comment form 7 plugin
------------------------------------------------------*/

#content-main .wpcf7
{
	margin-top: 50px;
}

#content-main .wpcf7 textarea
{
	width: 470px;
}



/* Page content - sidebar
------------------------------------------------------*/

#content-sidebar h2
{
	font: bold 1.4em Georgia, "Times New Roman", Times, serif;
	color: #fff;
	text-transform: none;
	margin: 0px 0px 10px 0px;
	padding: 42px 5px 13px 15px;
	border: none;
	background: url("images/widget_titles/default.gif") no-repeat 0px 0px;
clear: both;
}

#sidebar
{
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#sidebar li
{
	margin-bottom:10px;
	padding-bottom: 15px;
/*	background: #eee url("images/bg_sidebar_widget.gif") no-repeat 0% 100%; */
}


#sidebar li .textwidget
{
	color: #888e65;
	padding: 0px 15px 0px 15px;
}

#sidebar li li
{
	margin-bottom: 2px;
	padding: 0px 10px 0px 12px;
	background: url("images/bullet_2.gif") no-repeat 0px 5px;
}

#sidebar li ul
{
	margin: 0px;
	padding: 0px 0px 0px 15px;
	list-style: none;
	display: inline-block;
}

#sidebar li ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#sidebar li.widget_categories h2	{	background: url("images/widget_titles/categories.gif") no-repeat 0px 0px; }
#sidebar li.widget_recent_comments h2	{	background: url("images/widget_titles/posts.gif") no-repeat 0px 0px; }
#sidebar li.widget_recent_entries h2	{	background: url("images/widget_titles/news.gif") no-repeat 0px 0px; }
#sidebar li.widget_tag_cloud h2	{	background: url("images/widget_titles/categories.gif") no-repeat 0px 0px; }
#sidebar li.widget_calendar h2	{	background: url("images/widget_titles/calendar.gif") no-repeat 0px 0px; }
#sidebar li.widget_archive h2	{	background: url("images/widget_titles/archives.gif") no-repeat 0px 0px; }

#sidebar li a
{
	font: normal 0.9em Arial, Tahoma, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
}

#sidebar li.widget_recent_comments li
{
	background: url("images/icon_comment.gif") no-repeat 0px 5px;
	padding-left: 17px;
}

#sidebar li.widget_recent_comments li a
{
	font: normal 1.0em Arial, Tahoma, sans-serif;
	text-transform: none;
	text-decoration: underline;
}

#sidebar li.widget_recent_entries ul
{
	
	padding-left: 10px;
}

#sidebar li.widget_recent_entries li
{
	background: url("images/icon_star.gif") no-repeat 0px 0px;
	padding-left: 22px;
	margin-bottom: 5px;
}

#sidebar li.widget_archive li
{
	background: url("images/icon_calendar.gif") no-repeat 0px 1px;
	padding-left: 24px;
}

#sidebar li.widget_categories ul
{
	
	padding-left: 10px;
}

#sidebar li.widget_categories li
{
	
	float: left;
	background: url("images/icon_category.gif") no-repeat 0px 0px;
	width: 105px;
	margin: 0px 0px 2px 0px;
	padding: 0px 0px 0px 22px;
}

#sidebar li.widget_tag_cloud a
{
	padding: 0px 0px 0px 15px;
}

#sidebar li.widget_flickrRSS img
{
	widht: 43px;
	height: 43px;
	border: 3px solid #fff;
	padding: 0px;
	margin: 0px 0px 8px 10px;
}

#sidebar li a:hover
{
	text-decoration: underline;
}


/* Portfolio list - sidebar
------------------------------------------------------*/

#project-list .project-item 
{
	border-bottom: 1px solid #e8e8d9;
}

#project-list .project-item a
{
	display: block;
	padding: 10px;
	color: #45371b;
	text-decoration: none;
}

#content-sidebar #project-list h2
{
	font: bold 1.6em Georgia, "Times New Roman", Times, serif;
	color: #9C4A7A;
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 5px 0px;
	background: none;
	border-bottom: 1px dashed #584624;
}

#project-list .project-item h3
{
	font: bold 1.0em Arial, tahoma, sans-serif;
	color: #9C4A7A;
	margin: 0px 0px 5px 0px;
	padding: 0px;
	text-transform: none;
	background: none;
}

#project-list .current a, #project-list .project-item a:hover
{
	background-color: #f3f3ec;
}



/* Page content - advertise
------------------------------------------------------*/

#advertise
{
	margin: 30px 0px 20px 0px;
}

#advertise img
{
	margin: 0px;
	border: 0px;
	padding: 0px;
}


#advertise a
{ 
	display: block;
	float: left;
	margin: 0px 15px 10px 0px;
}

#advertise a.right
{ 
	margin-right: 0px;
}



/* Page content - project list
------------------------------------------------------*/

#project-list h2
{
	font: bold 1.0em Arial, Tahoma, sans-serif;
	color: #9C4A7A;
	margin: 0px 0px 3px 0px;
	padding: 0px;
	text-transform: none;
}

#gallery 
{
	margin: 0px;
	padding: 0px;
}

#gallery .thumb 
{
	display: block;
}

#gallery_changer li 
{
	display: inline;
	padding: 0px 10px 0px 0px;
}

#gallery_changer .first 
{
	padding-left: 0px;
	margin-left: 0px;
	background: none;
}

#gallery_changer a 
{
	font: bold 1.2em Arial, tahoma, sans-serif;
}

#gallery_changer .current a 
{
	color: #45371b;
	text-decoration: none;
}


/* Page content extras
------------------------------------------------------*/

#content-extras h3
{
	background: url("images/bg_content_extras_title.png") no-repeat 0% 0%;
	font: bold 1.6em Georgia, "Times New Roman", Times, serif;
	margin: 0px 0px 10px 0px;
	padding: 25px 0px 20px 15px;
	position: relative;
}

#content-extras a
{
	color: #90380e;
}

#extras-about { width: 261px; float: left; margin: -20px 25px 0px 0px; }
#extras-comments { width: 261px; float: left; margin: -20px 0px 0px 0px; }
#extras-flickr { width: 261px; float: right; margin-top: -20px; }


#content-extras .inner
{
	padding: 0px 15px 0px 15px;
}

#extras-about .pdf
{
	display: block;
	background: url("images/icon_pdf.gif") no-repeat 0% 50%;
	padding: 18px 0px 18px 60px;
	font: normal 1.0em/120% Arial, tahoma, sans-serif;
	color: #90380e;
}

#extras-about .pdf strong
{
	display: block;
	font-weight: bold;
	text-decoration: none;
}

#extras-comments ul
{
	margin: -5px -5px 0px -5px;
	padding: 0px;
	list-style: none;
}

#extras-comments li
{
	border-bottom: 1px solid #abab7b;
}

#extras-comments li a
{
	display: block;
	font: normal 1.0em/120% Arial, tahoma, sans-serif;
	color: #45371b;
	text-decoration: none;
	padding: 5px 10px 5px 20px;
	background: url("images/icon_comment_2.gif") no-repeat 3px 8px;
}

#extras-comments li a:hover
{
	background-color: #cbcba9;
}

#extras-comments li a span
{
	display: block;
	color: #90380e;
}

#extras-flickr img
{
	float: left;
	widht: 43px;
	height: 43px;
	border: 3px solid #fff;
	margin: 0px 8px 8px 0px;
}

#extras-flickr a:hover img
{
	border: 3px solid #90380e;
}


/* Page footer
------------------------------------------------------*/

#page-footer p
{
	font: normal 1.0em/150% Arial, tahoma, sans-serif;
	color: #45371b;
	text-decoration: none;
	margin: 0px;
}

#page-footer a
{
	color: #45371b;
}



/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-menu {
	line-height:	1.0;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			10em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width:			150%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			40px; /* match top ul list item height */
	z-index:		100;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			15em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.sf-menu {
	float:			left;
	margin-bottom:	1em;
}
.sf-menu a {
	padding: 		.75em 1em;
	text-decoration:none;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#13a;
}

.sf-menu li li {
	background:		#b5ba6c;
}
.sf-menu li li li {
	background:		#8D9158;

}
.sf-menu li li:hover, .sf-menu li li.sfHover,
.sf-menu li li a:focus, .sf-menu a:hover, .sf-menu li li a:active {
	background:		#8D9158;

	outline:		0;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('../images/arrows-ffffff.png') no-repeat 100% 50%; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url('../images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

