/* ============================================================================
Basic Style Sheet - http://website.com

Version:    1.0
Author:     Ahmed Hashim
Email:      ahmed@tangentstudio.com
Website:    http://www.tangentstudio.com
============================================================================ */
/* GLOBAL STYLES
============================================================================ */

* {
  padding: 0;
  margin: 0;
}

body {
  background: #F8F8F8;
  font-family: "Arial","Helvetica",sans-serif;
  font-size: 100%;
  line-height: 1em;
}

p, li {
  font-size: .75em; /* 16px x .75em = 12px */
}

a:link,
a:visited {
  outline: none;
  text-decoration: none;
}

a:hover,
a:active {
  text-decoration: underline;
}

a img {
  border: none;
}

h2#title{
  line-height: 1.1;
}

/* FORM ELEMENTS
============================================================================ */

label {
  display: block;
  font-weight: 900;
}

input[type="text"],
input[type="password"]{
  border: 1px solid #999;
  font-family: 'lucida grande', arial, sans-serif;
  font-size: 11px;
  padding: .25em;
}

textarea {
  border: 1px solid #999;
  font-family: 'lucida grande', arial, sans-serif;
  font-size: 11px;
  padding: .25em;
}

input[type="checkbox"] {
  vertical-align: bottom;
}



/* FLOATS AND CLEARING
============================================================================ */

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}


/* LAYOUT
============================================================================ */

.wrapper {
  width: 918px;
  margin: 0 auto;
  padding: 0 9px;
  background: #F8F8F8 url("/images/sites/shared/bg.gif") repeat-y;
}

.footer_shadow{
  width: 918px;
  margin: 0 auto;
  padding: 9px 9px 0 9px;
  background: url("/images/sites/shared/bg_footer_shadow.png") repeat-x;
}


/* ICONS
============================================================================ */

li.energy {
  background: url("/images/sites/icons/lightbulb_small.png") no-repeat 4px 50%;
}

li.friend {
  background: url("/images/sites/icons/friend.png") no-repeat 4px 50%;
}

li.group {
  background: url("/images/sites/icons/group.png") no-repeat 0 50%;
}

li.purchase {
  background: url("/images/sites/icons/purchase.png") no-repeat 0 50%;
}

li.lower {
  background: url("/images/sites/icons/arrow_down.png") no-repeat 3px 50%;
}

li.event {
  background: url("/images/sites/icons/event.png") no-repeat 1px 50%;
}

li.message {
  background: url("/images/sites/icons/message.png") no-repeat 0 50%;
}

li.product {
  background: url("/images/sites/icons/product.png") no-repeat 0 50%;
}

li.meter {
  background: url("/images/sites/icons/meter.png") no-repeat 0 50%;
}

li.pay_bill {
  background: url("/images/sites/icons/money.png") no-repeat 0 50%;
}

li.direct_pay {
  background: url("/images/sites/icons/direct_pay.png") no-repeat 0 50%;
}

li.ebill {
  background: url("/images/sites/icons/ebill.png") no-repeat 0 50%;
}

li.chat {
  background: url("/images/sites/icons/chat_small.png") no-repeat 0 50%;
}

li.money {
  background: url("/images/sites/icons/money_circle.png") no-repeat 0 50%;
}

li.megawatts {
  background: url("/images/sites/icons/bright_bulb.png") no-repeat 0 50%;
}

li.carbon {
  background: url("/images/sites/icons/carbon.png") no-repeat 0 50%;
}

li.gasoline {
  background: url("/images/sites/icons/car_front.png") no-repeat 0 50%;
}

li.water {
  background: url("/images/sites/icons/waterdrop_small.png") no-repeat 6px 50%;
}

li.settings {
  background: url("/images/sites/icons/settings.png") no-repeat 0px 50%;
}


/* HEADER
============================================================================ */

#header .upper h1 {
  float: left;
  padding: 20px;
}

#header .upper h1 span { display: none; }

#header .upper .nav {
  float: left;
  margin: 0 0 0 20px;
}

#header .upper .nav li {
  display: inline-block;
  float: left;
  font-size: .875em;
  font-weight: 900;
}

#header .upper .nav li a:link,
#header .upper .nav li a:visited {
  display: block;
  padding: 38px 15px;
  text-decoration: none;
}

#header .upper .nav li.current a:hover,
#header .upper .nav li.current a:active {
  cursor: default;
}

#header .upper #user,
#header .upper #user_logged_out {
  float: right;
  padding: 5px 15px;
  margin-top: .5em;
}

#header .upper #user_logged_out {
  margin-top: 2em;
}

#header .upper #user .avatar {
  float: right;
  padding: 1px;
  margin: 0 0 0 .5em;
  border: 1px solid #D7D7D7;
}

#header .upper #user .avatar img {
  border: 1px solid #D7D7D7;
  display: block;
}

#header .upper #user .name {
  color: #FFF;
  font-size: .85em;
  margin: 1em 0 0;
  text-align: right;
}

#user .header_info,
#user_logged_out .header_info{
  float:right;
}

#user .header_info .info,
#user_logged_out .header_info .info  {
  font-size: 1.05em;
  height:18px;
  white-space:nowrap;
  font-weight: normal;
}

#user_logged_out .header_info .info  {
  font-size: .9em;
}

#header .lower {
  position: relative;
  padding: 2px 0;
  border-top: 1px solid #F3F3F3;
}

#header .lower .nav {
  padding: 0 0 0 1em;
}

#header .lower li {
  display: inline-block;
}

#header .lower .nav li {
  margin: 0 1em 0 0;
  float: left;
}

#header .lower .nav li a {
  display: block;
  padding: 3px 10px;
}

#header .lower .my_stuff {
  position: absolute;
  bottom: 0;
  right: 0;
}

#header .lower .my_stuff ul {
  margin: 0 0 0 10px;
  padding: 9px 0 8px;
}

#header .lower .my_stuff ul li {
  float: left;
  margin: 0 15px 0 5px;
  font-size: .8125em;
}

#header .lower .my_stuff ul li a:link,
#header .lower .my_stuff ul li a:visited {
  color: #555;
}

#header .lower .my_stuff ul li a:hover,
#header .lower .my_stuff ul li a:active {
  color: #333;
}

#header .lower_nav {
  height: 7px;
  background: url("/images/sites/shared/bg_lower_nav.png") repeat-x;
  position: absolute;
  width: 918px;
  z-index: 10;
}

#signup_area p span{
  font-weight:bold;
}

/* CONTENT
============================================================================ */

#content {
  padding: 0 0 0;
}

#users_settings #content{
  background-image: none !important;
}

/* FLASH MESSAGES
============================================================================ */

div#errorExplanation {
  background: #FEE url("/images/sites/icons/alert2.png") no-repeat 24% 18px;
  border-bottom:2px solid #FAA;
  color: #666;
  font-size: 1em;
  margin: 0;
  padding: 36px 0 3px 30%;
  width: 70%;
}

#users_create div#errorExplanation {
  margin: 0 0 0 -9px;
}

div.errorExplanation h2{
  border-bottom: 1px solid #F88;
  color: #F33;
  font-size: 1.1em;
  margin-bottom: .5em;
  padding: 0 0 .125em .25em;
  width: 400px;
}

div.errorExplanation ul{
  list-style: disc;
  padding: 15px;
}

div.errorExplanation ul li{
  padding-bottom: 0px;
  margin-bottom: 0px;
}

#flash-msg{
  background-color: #ffd;
  color: #666;
  width: 918px;
  height: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  margin-left: 0;
  padding: 12px 0 3px 0;
  border-bottom: 2px solid #EEC;
}

/* FOOTER
============================================================================ */

#footer .helper {
  padding: .5em;
  color: #FFF;
}

#footer .helper p {
  font-size: .9375em;
  font-weight: 900;
  display: inline-block;
  padding: .5em 0;
}

#footer .helper p.chat {
  float: left;
  padding-left: 3em;
  background: url("/images/sites/icons/chat_large.png") no-repeat 0 50%;
}

#footer .helper p.chat span {
  font-weight: 100;
}

#footer .helper p.friends {
  float: right;
  padding-left: 2.5em;
  background: url("/images/sites/friends.png") no-repeat 0 50%;
}

#footer ul.meta {
  float: left;
  padding: .5em;
}

#footer .meta li {
  display: inline-block;
  float: left;
  padding: 0 0 0 1em;
}

#footer .company {
  float: right;
  padding: .5em;
}

/* BUTTONS
============================================================================ */

/* REQUIRED BUTTON STYLES: */
button {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: visible; /* removes extra side padding in IE */
}

button::-moz-focus-inner {
  border: none;  /* overrides extra padding in Firefox */
}

button span {
  position: relative;
  display: block;
  white-space: nowrap;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  /* Safari and Google Chrome only - fix margins */
    button span {
    margin-top: -1px;
  }
}

/* GO BUTTON STYLES applying custom look and feel: */

.site_button{
  border-style:solid !important;
  border-width:2px !important;
  color: #FFFFFF !important;
  cursor: pointer !important;
  font-family: arial, helvetica, sans-serif !important;
  font-size: 12px;
  font-weight: normal !important;
  padding: .4em 1em !important;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.small{
  padding: .15em .5em !important;
}

.site_button:hover{
  text-decoration: none;
  opacity: .85;
}

.help_button{
  -moz-border-radius: 40px;
  -webkit-border-radius: 40px;
  min-width: 0;
  padding: 0 .4em !important;
}


/* LISTED ITEMS (groups, events, people)
============================================================================ */

ul.search_listing{
  list-style-type: none;
  border-bottom: 1px solid #ddd;
}

ul.search_listing li{
  margin: 0 0 0 10px;
  padding: 4px 0 2px 0;
  display:inline-block;
  font-size: .70em;
  height: 45px;
}

ul.listings{
  list-style-type:none;
  font-size: 1.25em;
}

.listing{
  background-image: url("/images/home/main_div_background.png");
  color: #555;
  margin-bottom: .5em;
  padding: .5em 0;
  float: right;
  width: 100%;
}

.listing img{
  float: left;
  margin: 0 .5em;
  border: 1px solid #FFF;
}

.listing .item{
  display:block;
  font-size: .8em;
  margin: 0 0 0 .5em;
}

.listing .header{
  font-size: 1em;
  margin-bottom: .5em;
}

.listing .actions{
  float: right;
  margin: -3.5em 0 0;
  padding-right: .5em;
  text-align: right;
}

.listing .actions img{
  border:none;
  margin-top: 1em;
}

.listing .actions a{
  display: block;
  color: #FFF;
  font-size: .75em;
  padding: .3em 0;
  margin-bottom: .5em;
  text-align:center;
  width: 10em;
}

.listing .actions span{
  font-size: .7em;
  margin-left: -8.5em;
}

.users_show .listing .actions span{
  font-size: .8em;
}

.users_show .short-entry p{
  font-size: .8em;
}

.listing .actions a:hover{
  opacity: 0.85;
  text-decoration:none;
}

.friend-buttons a,
.friend-buttons form input{
  color: #FFF;
  float:left;
  margin-left: .5em;
  text-align:center;
  width: 10em;
}

ul.friend-container{
  list-style-type:none;
}

.pagination{
  float: right;
  color: #555;
  font-size: .8em;
  margin-right: .5em;
}

/* ANTI-CC (sometimes stuff needs to be countermanded globally)
============================================================================ */

.section_header{
  display:none;
}

/* SN POPUP STYLES (TEMP?)
============================================================================ */

.body #message-new-container{

  color: #333;
  font-size: .93em;
  margin: 1em;
  padding: 1em;
}

.body .smallbold{
  font-size: .8em;
  font-weight: bold;
  color: #555;
}

.body input[type="text"]{
  border: 1px solid #999;
  font-family: 'lucida grande', arial, sans-serif;
  font-size: 12px;
  padding: .25em;
  margin: .5em 0;
}

.body  #message-new-container textarea{
  font-family: 'lucida grande', arial, sans-serif;
  font-size: 12px;
}

.body  #message-new-container input#send_message{
  margin: .5em 0 0 0;
}

.body  #message-new-container input#send_message:hover{
  opacity: .8;
}

.body  #message-new-container a.close{
  font-size: .8em;
  margin: .5em 0 0 0;
}

.body  #message-new-container a.close:hover{
  opacity: .8;
  text-decoration:none;
}

.body h2.confirm-header{
  border-bottom: 1px solid #ddd;
  padding: 1em .3em 0 .3em;
  margin-bottom: 1em;
  font-size: 1.15em;
}

p.are-you-sure{
  margin-left: .5em;
}

.body .confirm_buttons{
  padding-top: .5em;
  text-align:right;

}

/* NEW EVENTS AND GROUPS
============================================================================ */

.new_top p,
.new_top dl.form{
  margin:1.5em 0 1em;
}

.new_top dl.form{
  font-size: .8em;
}

.new_top input[type="text"],
.new_top .form input[type="text"],
.new_top input[type="textarea"],
.new_top .form input[type="textarea"],
.new_top input[type="password"],
.new_top .form input[type="password"] {
  border: 1px solid #999;
  margin: 0 0 .5em;
  padding: .25em;
}

.new_top label ,
.new_top .form label {
  display: block;
  color: #555;
  float: left;
  width: 105px;
  margin: .25em 1em 0 0;
  font-weight: 900;
  text-align: right;
}

.new_top span.helper-text{
  color:#666666;
  display:block;
  font-size:0.917em;
  font-style:italic;
  margin: 0 0 0 135px;
}

div.new_invite{
  padding-left: 2em;
}

.new_invite h3{
  margin: 0 0 1em -2em;
}

.new_invite ul{
  list-style-type:none;
  margin: 1em 0;
}

.new_invite ul li{
  font-size: .8em;
  padding-bottom: .2em;
}

.new_invite .form_notice{
  color: #333;
  font-size: 1em;
  margin: .7em 0;
  font-weight: bold;
}

.new_invite span.private{
  font-size: .75em;
  margin-bottom: .5em;
  display:block;
}

.new_invite li span.form_notice{
  font-size: 1.4em;
  display:block;
}

.new_invite textarea#emails{
  border: 1px solid #999;
  margin: .5em 0 .5em;
  padding: .165em 0;
}

.new_invite #event_confirm, .new_invite #group_submit{
  float: right;
  margin: 0 25% 1em 0;
}


#savings{
  background-image: url(/images/sites/shared/bg_savings.jpg);
}


div#reduction-action-detail-plan p{
  padding: 0;
  font-size: 1em;
}

#comparison_dropdown{
  margin-right: 15px;
}

#events_create .new_top{
  margin: 1em 0 0 2em;
}

#events_create .new_invite{
  margin: 1em 0 0 3em;
}

#events_create .new_top h3{
  margin-left: 2em;
}

#events_create .new_invite h3{
  margin-left: -1em;
}

/* SITE MESSAGES (not flash messages)
============================================================================ */
.site_message{
  border: 1px solid #000;
  margin: .5em;
  padding: 1em;
}

#zillow_updates{
  margin: 4.4em .5em 1em 0;
}

#zillow_updates .site_button{
  position: relative;
  right: .5em;
  bottom: 1.7em;
}

#zillow_updates table{
  color: #555;
}

#zillow_updates table td{
  padding: .15em 4em .15em 0;
}

#zillow_updates a:hover{
  text-decoration: none;
}

.scroll_container {
 border-top: none;
 border-bottom: 1px solid #e1e1e1;
 overflow-y: scroll;
 overflow-x: hidden;
}

#city_comparisons table tbody {
  display: block;
}

#pages_home #city_comparisons table thead tr {
  padding: 0px;
  height: 40px;
}

#pages_home #city_comparisons table thead th {
  height: 40px;
}

#city_comparisons table thead tr {
  display: block;
}

#city_comparisons table thead th:last-child,
#city_comparisons table tbody td:last-child {
  width: 150px;
}

#city_comparisons table .rank{
  width: 10%
}

#city_comparisons table .name{
  width: 30%
}

#city_comparisons table .memberships_count{
  width: 10%
}

#city_comparisons table .savings{
  width: 25%
}

#city_comparisons table .percent_energy_reduced{
  width: 25%
}

/* ERRORS
============================================================================ */

.error,
.fieldWithErrors { color: #f00;}
.address_errors { border: 1px solid #f00;}


/* LEADERBOARDS
============================================================================ */
.leaderboard_table th a,
.leaderboard_table th a:link,
.leaderboard_table th a:visited,
.leaderboard_table th a:active {
  color: #fff;
}

.leaderboard_table a.selected {
  text-decoration: underline;
}

.leaderboard_table a.asc {
}

.leaderboard_table a.desc {
}


#facebox .b {
  background:url(/images/facebox/b.png);
}

#facebox .tl {
  background:url(/images/facebox/tl.png);
}

#facebox .tr {
  background:url(/images/facebox/tr.png);
}

#facebox .bl {
  background:url(/images/facebox/bl.png);
}

#facebox .br {
  background:url(/images/facebox/br.png);
}

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  border: none;
  padding: 0;
}

#facebox .body {
  padding: 10px;
  background: #fff;
  width: 370px;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox .footer {
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

.facebox_hide {
  z-index:-100;
}


/* Sitwide Facebox changes */

#facebox {
 border: 1px solid #999;
}
#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 0px;
  width: 0px;
}

div#facebox .footer .close {
	display:none;
	height: 20px;
	color: white;
}
div#facebox .footer .close a{
	color: white;
}
div#facebox .footer .close a:hover{
	color: white;
}


/* the class name is configurable using $.Spinner.className = 'otherspinnerclass' */
.spinner {
  background: #fff url('../images/spinner.gif') no-repeat center center;
  opacity: 0.75;
  filter: alpha(opacity: 75);
  -moz-opacity: 0.75;
  -khtml-opacity: 0.75;
}

.green-spinner{
  background: #fff url('../images/green-loader.gif') no-repeat center center;
  opacity: 0.75;
  filter: alpha(opacity: 75);
  -moz-opacity: 0.75;
  -khtml-opacity: 0.75;
}
