/* Typography */

body {
  font-size: 100%;
}

a, a:link {
	text-decoration: none;
	color: #79C8FF;
	}

a:hover, a:focus {
	color: #E1BD4A;
}
	
p {
	color: #6A6969;
	font-size: 0.9em;
	line-height: 1.3em;
	margin-bottom: 1em;
}

h2 {
	color: #70C4FF;
	font-family: VAG, "VAG Rounded", Arial, Helvetica, sans-serif;
	font-size: 1.5em;
  font-weight: bold;
	padding-bottom: 0.15em;
}

h3 {
	color: #767474;
	font-family: VAG, "VAG Rounded", Arial, Helvetica, sans-serif;
	font-size: 1.2em;
  font-weight: bold;
  margin-bottom: .5em;
}

h4 {
	color: #767474;
	font-size: 1em;
  font-weight: bold;
  margin-bottom: .5em;
}

table {
  width: auto;
}

hr {
  height:1px;
}

/*------------ Primary Layout ------------*/
html { 
  background: url(../images/html_bg.png) repeat 0 0;
  }

body { 
  background: url(../images/body_bg.png) repeat-x 0 0;
  height: 650px;
  }

div#site_wrap {
	width: 980px;
	margin: 0 auto;
  position: relative;
}

div#main_column {
}

div#main_column_inner {
  display:block;
  background: #fff;
  margin: 0 -20px;
  padding: 20px;
}

div#side_column {
  background:url(../images/pipe.gif) 0 35px repeat-y;
}

div#side_column_inner {
  margin-left:40px;
  margin-right:-20px;
  padding:20px;
  background:#fff;
}


/*------------ Header ------------*/
div#header {
	background-color: transparent;
}

h1#logo {
  position:relative;
  left:-22px;
  float:left;
	margin: 20px 0 0;
	width: 312px;
	height: 72px;
}

h1#logo a {
  display:block;
	width: 312px;
	height: 72px;
	text-indent: -999999px;
	background: url(../images/cloudfab_logo.gif) 0 0 white no-repeat;
  outline:0;
}

h1#logo a:focus { /* need some focus effect, because outline is disabled above */
  position:relative;
  top:2px;
}

div#user_menu {
  position: absolute;
  right: 0px;
  text-align: center;
  line-height:1em;
}

div#user_menu h5 {
	margin-top: 35px;
	font-family: Georgia, "Times new Roman", Times, serif;
	font-weight: normal;
	font-size: 0.75em;
	color: #79C8FF;
	font-style: italic;
	padding-bottom: 0.55em;
	border-bottom: 1px solid #D9EFFF;
	margin-bottom: 0.35em;	
}

div#user_menu ul {

}

div#user_menu ul li {
	float: left;
	padding-right: 0.5em;
	border-right: 1px solid #AFAEAE;
	margin-right: 0.5em;
}

div#user_menu ul li.last {
	padding: 0;
	border: none;
	margin: 0;

}

div#user_menu ul li a {
	font-size: 0.75em;
}

div#file_to_object h4 a {
	width: 580px;
	height: 150px;
	background: url(../images/home_file_to_object.gif) 0 0 no-repeat;
	text-indent: -99999px;
	display: block;
  outline: 0;
}

div#file_to_object h4 a:hover, div#file_to_object h4 a:focus {
	background-position: 0 -150px;
}



/*------------ Main Navigation ------------*/
	
ul.menu {
  margin:0;
  list-style:none;
}

ul#main_nav {
  background:url(../images/main_nav.gif);
  width:436px;
  height:45px;
  margin-left:-20px;
}

body.section-your-stuff ul#main_nav {
  background-position: 0 -45px;
}

body.section-how-it-works ul#main_nav {
  background-position: 0 -90px;
}

body.section-fab-blog ul#main_nav {
  background-position: 0 -135px;
}

ul#main_nav li {
  float:left;
}

ul#main_nav li a {
  display:block;
  background:url(../images/main_nav.gif);
  height:45px;
  text-indent:-99999px;
  outline: 0;
}

/* Get a quote menu item */
ul#main_nav li.get-a-quote a {
  width: 126px;
  background-position: 0 -225px;
}

body.section-get-a-quote ul#main_nav li.get-a-quote a {
  background-position: 0 -180px;
}

ul#main_nav li.get-a-quote a:hover,
ul#main_nav li.get-a-quote a:focus {
  background-position: 0 -270px;
}

/* Your stuff menu item */
ul#main_nav li.your-stuff a {
  width: 101px;
  background-position: -126px -225px;
}

body.section-your-stuff ul#main_nav li.your-stuff a {
  background-position: -126px -180px;
}

ul#main_nav li.your-stuff a:hover,
ul#main_nav li.your-stuff a:focus {
  background-position: -126px -270px;
}

/* How it works menu item */
ul#main_nav li.how-it-works a {
  width: 126px;
  background-position: -227px -225px;
}

body.section-how-it-works ul#main_nav li.how-it-works a {
  background-position: -227px -180px;
}

ul#main_nav li.how-it-works a:hover,
ul#main_nav li.how-it-works a:focus {
  background-position: -227px -270px;
}

/* Fab blog menu item */
ul#main_nav li.fab-blog a {
  width: 83px;
  background-position: -353px -225px;
}

body.section-fab-blog ul#main_nav li.fab-blog a {
  background-position: -353px -180px;
}

ul#main_nav li.fab-blog a:hover,
ul#main_nav li.fab-blog a:focus {
  background-position: -353px -270px;
}


/*------------ Secondary Nav ------------*/


	
/*------------ Content ------------*/
div#content {
	clear: both;
	padding-top: 25px;
  position: relative;
}

a.fancy-button {
	color:white;
}

.fancy-button {
	background: url(../images/submit_button_bg.gif) 0 0 repeat-x;
	border: 1px solid #88E540;
	padding: 0.5em 0.85em;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
  cursor: pointer;
	color: white;
	float: left;
  line-height:1;
  font-size: 0.9em;
	font-weight: bold;
}

a.accept_quote:hover, .fancy-button.hover {
	color: white;
	background-position: 0 -48px;
  text-decoration: underline;
}

.price {
	float: left;
	margin-right: 20px;
	font-size: 2.4em;
	font-weight: normal;
	color: #888;
}

.turnaround {
	clear: left;
  font-weight: normal;
  position: relative;
  top: -.5em;
}

.turnaround-time {
  font-weight: bold;
}

body.page-quote .quote, body.page-quote .job, body.page-quote .company {
	border-bottom: 1px solid #ccc;
	margin-bottom: 1.5em;
}


td, th {
	padding: 0.5em 0.65em;
	border-right: 2px solid white;
}

th.sortby {
	background: url(../images/sort_arrow.gif) right center no-repeat #CEE3F6;
	color: #555;
	font-size: 0.9em;
	text-align: left;
	padding-right: 22px;
	font-weight: bold;
  cursor:pointer;
}

th.empty {
	background: none transparent;
}


td {
	color: #333;
	font-size: 0.8em;
	border-bottom: 1px solid white;
}

tr.odd {
	background-color: #ECEAEA;
}

tr.even {
	background-color: #F1F0EF;
}

tr.even td.category, tr.odd td.category {
	background-color: #CEE3F6;
	color: #555;
	font-size: 0.9em;
	font-weight: bold;	
}

/* Star Rating */
.star_rating span {
	background: url(../images/star_rating_quote_preview.gif) 0 0 no-repeat;
	width: 72px;
	height: 12px;
	text-indent: -99999px;
	display: block;
}

.star_rating .zero_star {background-position: 0 0;}
.star_rating .one_star {background-position: 0 -12px;}
.star_rating .two_star {background-position: 0 -24px;}
.star_rating .three_star {background-position: 0 -36px;}
.star_rating .four_star {background-position: 0 -48px;}
.star_rating .five_star {background-position: 0 -60px;}
.star_rating .no_rating {background-position: 0 -72px;}

/* Discussion */

#quote_discussion {
  padding-left:20px;
}

#quote_discussion .message {
  position:relative;
  margin-bottom: 1.5em;
	background-color: #ECEAEA;
}

#quote_discussion .message h4 {
	font-weight: normal;
	font-size: 0.9em;
	color: white;
	padding: 0.35em 0.5em 0 0.5em;
	margin-bottom: 0;
}

#quote_discussion .message h5 {
	font-weight: normal;
	font-size: 0.7em;
	color: #DDDCDC;
	padding: 0.35em 0.5em 0.5em 0.65em;
	margin-bottom: 0.15em;
}

#quote_discussion .message-body {
  padding: 0 0.5em;
  padding-bottom: 0.5em;
}

#quote_discussion .message p {
  font-size: 0.8em;
  line-height: 1.4;
  margin-bottom:0.5em;
}

#quote_discussion .their-message {
	background-color: #E9F2FB;
	}

#quote_discussion .their-message h4 {
	background-color: #5DBCFF;
}

#quote_discussion .their-message h5 {
	color: #CFEBFF;
	background-color: #5DBCFF;
}


#quote_discussion .my-message {
	}

#quote_discussion .my-message h4 {
	background-color: #8C8B8B;
	}	

#quote_discussion .my-message h5 {
	background-color: #8C8B8B;
}

#quote_discussion .new-message h4, #quote_discussion .new-message h5 {
	background-color: #aCaBaB;
}

#quote_discussion .message .speech-tail {
  position:absolute;
  left:50px;
  bottom:-10px;
  width:20px;
  height:10px;
  background:url(../images/comment_arrow.gif) -5px 10px;
}

#quote_discussion .their-message .speech-tail {
  background-position:-5px -14px;
  left: 250px;
}

#quote_discussion textarea {
  width:295px;
  height:100px;
}

.ui-resizable-s {
  height: 7px;
  bottom: 0;
}


/*------------ Welcome Page ------------*/

body.welcome-page div#content {
  margin: 0 auto 50px auto;
  padding-top: 70px;
	width: 580px;
}

body.welcome-page h2.page-title {
  float: left;
  width: 360px;
  margin: 0;
  text-align:left;
}

body.welcome-page div#intro {
  float: left;
  width: 360px;
  text-align:left;
}

body.welcome-page div#sellers {
	position:absolute;
	width: 180px;
  right: 0px;
	background: url(../images/home_sellers.gif) -360px 0 repeat-y;
}

body.welcome-page div#sellers.linkify-focus {
  cursor:pointer;
	background: url(../images/home_sellers.gif) -540px 0 repeat-y;
}

body.welcome-page div#sellers * {
  margin: 0;
}

body.welcome-page div#sellers h3, div#sellers p, div#sellers a {
	text-align: center;
}

body.welcome-page div#sellers div#sellers_top {
	background: url(../images/home_sellers.gif) 0 0 no-repeat;
	padding-top: 20px;
  position:relative;
  z-index:1;
}

/* TODO: use image replacement, as sIFR doesn't like the gradient bg */
body.welcome-page div#sellers div#sellers_top h3 {
  color: #70C4FF;
}

body.welcome-page div#sellers.linkify-focus div#sellers_top {
	background: url(../images/home_sellers.gif) -180px 0 no-repeat;
}

body.welcome-page div#sellers_content p, div#sellers_content a {
	padding: 0 10px;
}

body.welcome-page div#sellers div#sellers_bottom {
	background: url(../images/home_sellers.gif) -720px 0 no-repeat;
	height: 30px;
  width: 180px;
  position:absolute;
  bottom:-12px;
  left: 0;
}

body.welcome-page div#sellers.linkify-focus div#sellers_bottom {
	background: url(../images/home_sellers.gif) -900px 0 no-repeat;
}

body.welcome-page div#sellers a.seller_link {
	display: block;
	font-size: 0.9em;
	line-height: 1.2em;
	padding: 0.6em 10px 0.6em 0;
  margin-right: 15px;
  color:#73EB45;
  background:url(../images/seller_arrow.gif) right center no-repeat;
}



body.welcome-page div#buyers {
	clear: both;
	padding-top: 15px;
}

body.welcome-page h2.page-title {
  visibility:visible;
  background:url(../images/home_makes_your_stuff.gif) no-repeat;
  width:357px;
  height:34px;
  padding:0;
  margin:0;
  text-indent:-99999px;
}

body.page-get-a-quote h2.page-title {
  visibility:visible;
  background:url(../images/file_object.gif) no-repeat;
  width:389px;
  height:55px;
  padding:0;
  margin:0;
  text-indent:-99999px;
}


/*------------ Form Display ------------*/

form {
  overflow:auto;
}

.expander {
  background-color:#E8E8E8;
  padding: 10px;
  border: 0;
  position:relative;
}

.expander.hover {
  background-color:#FFEBCC;
}

.expander.active {
  background-color:#eee;
}

.js .expander .expander-content {
  display: none;
}

.expander h3 {
  margin:0;
  color: #79C8FF;
}

.expander-content {
  margin-top: 1em;
  color: #767474;
}

.expander-content label {
  font-weight: normal;
  margin-right: 0.5em;

}

.expander ul {
	margin: 0;
}

.expander ul li {
	list-style: none;
}



#add_a_part {
  font-size:.9em;
  position:relative;
  top:-1em;
  background: url(../images/plus.gif) left center no-repeat;
  padding-left: 22px;
}

.ui-datepicker {
  background:#fff;
}

.object_data, .part_data {
	margin-bottom: 0.65em;
}

div.last {
	margin-bottom: 0;
}

.controls {
	font-size: 0.9em;
	text-align: right;
	margin-top: -1.5em;
	color: #BCE3FF;
}

.remove, .minimize, .remove:link, .minimize:link, .expand, .expand:link {
	margin-left: 1.5em;
	padding-left: 20px;
	color: #A8DBFF;
}

.remove:hover, .minimize:hover, .remove:focus, .minimize:focus, .expand:hover, .expand:focus {
	color: #79C8FF;
}

.remove {
	background: url(../images/fieldset_remove.gif) left center no-repeat;	
}

.minimize {
	background: url(../images/fieldset_minimize.gif) left center no-repeat;	
}

.expand {
  font-size:.8em;
  font-weight:normal;
	background: url(../images/fieldset_expand.gif) 0 0 no-repeat;
  position:absolute;
  top: 2px;
  right: 20px;
}

.expand:hover {
	background: url(../images/fieldset_expand.gif) 0 -45px no-repeat;	
}

.expander-readout {
	color: #40B0FF;
}

/*------------ Help / Tooltip ------------*/

.help-icon {
  display:inline-block;
  vertical-align:text-bottom;
  background:url(../images/question_mark.gif);
  text-indent:-999999px;
  width: 20px;
  height: 20px;
  overflow: hidden;
  position: relative;
  left: 10px;
}

.bt-content {
  color: #666;
font-size: 0.8em;
	
}

/*------------ Footer ------------*/
#footer {
	margin-top: 10px;
	border-top: 1px solid #C6E7FF;
	padding-top: 0.5em;
	padding-bottom: 40px;
}

#footer p {
	color: #E2F3FF;
	font-size: 0.8em;
  margin: 0;
}

/*------------ Sidebar ------------*/
#side_column h3 {
	margin-bottom: 0;
}

#side_column h4 {
	font-weight: normal;
	color: #444;
	font-size: 0.9em;
}

.sidebar_item {
	border-bottom: 1px solid #ccc;
	margin-bottom: 1em;
}

#side_column p {
	font-size: 0.85em;
}

