/* @override http://localhost:3000/stylesheets/global.css?1238619517 */

/* @override 
	http://spotus.local:3000/stylesheets/global.css?1238615431
	http://localpolitics.in/stylesheets/global.css?1238612725
	http://spotus.local:3000/stylesheets/global.css?1238612324
	http://spotus.local:3000/stylesheets/global.css?1238617423
	http://spotus.local:3000/stylesheets/global.css?1238618062
*/

/*
----------------------------------------
Apps for America - Localpolitics.in
     Author:    Dennis Eusebio
---------------------------------------- */

/* zeros out everything */
@import "whitespace-reset.css";

body {
  background: #1a294d url(../images/bg.jpg) center -390px no-repeat;
  font: .8em/150% Arial, sans-serif;
  color: #333;
}

p { margin-bottom: .8em; }
p.small_margin { margin-bottom: .5em; }

small { font-size: 90%; }

/* links
---------------------------------------- */
a:link { 
  color: #1a294d; 
  font-weight: bold; 
  outline: none;
}
a:visited {
  color: #1a294d; 
  font-weight: bold;
  outline: none;
}
a:hover {
  color: #e54141; 
  font-weight: bold;
  outline: none;
}
a:active {
  color: #1a294d; 
  font-weight: bold;
  outline: none;
}

/* headers
---------------------------------------- */
h1, h2, h3, h4 {
  line-height: normal;
  color: #0c1b3d;
}
h1 { font-size: 250%; }
h2 { 
  margin-bottom: 20px;
  font-size: 200%; 
  font-family: 'Times New Roman', Times, serif;
  font-weight: normal;
}
h3 {
  margin-bottom: 20px; 
  font-size: 160%; 
  font-family: 'Times New Roman', Times, serif;
  font-weight: normal;
}
h4 { font-size: 110%; }


/* universal
---------------------------------------- */
#container {
  margin: 20px auto;
  width: 950px;
}
  #header {
    margin-bottom: 20px;
    float: left;
    width: 950px;
  }
    #logo {
      margin-left: 20px;
      text-indent: -9999px;
      display: block;
      width: 129px; height: 56px;
      background: url(../images/logo.png) no-repeat;
    }
      #logo a {
        display: block;
        width: 129px; height: 56px;
      }

  #application {
    float: left;
    width: 950px;
  }

  #footer {
    margin: 20px 0; padding: 10px 20px 20px 20px;
    float: left;
    width: 860px;
    font-size: 90%;
    color: #999;
    border-top: 1px dotted #666;
  }
  
  #footer p { margin: 0; }
  #footer a:link, #footer a:visited, #footer a:hover, #footer a:active { 
    margin-right: 10px;
		color: #ccc;
	}
  #footer a:hover { 
		color: #fff; 
	}
    
  .small {
    font-size:0.8em;
    line-height:1.875em;
    margin-bottom:1.875em;
  }

  .hashrocket {
    background:transparent url(/images/logo_hr.png) no-repeat scroll left bottom;
    float:left;
    margin:5px 0 0 0;
    padding:5px 0 5px 30px;
  }

  .sunlight_foundation {
    background:transparent url(/images/sunlight_foundation.jpg) no-repeat scroll left bottom;
    float:left;
    margin:5px 0 0 20px;
    padding:5px 0 5px 65px;
  }

  .thought_and_theory {
    background:transparent url(/images/thought_and_theory.gif) no-repeat scroll left bottom;
    float:left;
    margin:0 0 10px 20px;
    padding:10px 0 10px 128px;
  }

/* page specific
---------------------------------------- */
/* index */
#search_zip {
  padding: 0 60px 0 45px;
  float: left;
  width: 820px; 
  height: 64px;
  background: url(../images/bg_search.png) no-repeat;
}
  #search_zip p { 
    margin: 0;
    float: left;
  }
  #search_zip label { display: none; }
  #search_zip h2 {
    margin-top: 9px;
    float: left;
    font-size: 180%;
    line-height: normal;
    color: #fff;
  }
  #search_zip input { 
    margin: 7px 0 0 0; 
    vertical-align: middle;
  }
  #search_zip input#f_address {
    margin: 7px 10px 0 10px; padding: 5px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 120%;
    font-weight: bold;
    color: #333;
    width: 120px;
  }
  
  #search_zip a {
	float: right;
	color: #ddd;
	display: block;
	margin-top: 9px;
	position: relative;
	top: 0.2em;
  }

  #search_zip a:hover {
    color: white;
  }

	
	div#search_help{
		position: relative;
		display: block;
		float: left;
	}

	
	div#search_help div.tooltip{
		position: absolute;
		border: 5px solid #ddd;
		background: white;
		display: block;
		width: 272px;
		height: 3em;
		top: -4.67em;
		left: 10px;
		padding: 5px;
	}
	
	div#search_help div.tooltip span.indicator{
		position: absolute;
		bottom: -17px;
		display: block;
		background: url(../images/tooltip_indicator.png) no-repeat;
		width: 12px;
		height: 12px;
	}
  
  /* back to */
  #banner_detail {
    padding: 0 5px 0 45px;
    float: left;
    width: 895px; height: 64px;
    background: url(../images/bg_search.png) no-repeat;
  }
    #banner_detail h2 {
      margin-top: 9px;
      float: left;
      width: 500px;
      font-size: 180%;
      line-height: normal;
      color: #fff;
    }
      #banner_detail .current {
        margin: 0 20px 0 0; padding: 2px 5px;
        background: #bc2020;
      }
      #banner_detail h2 small { font-size: 70%; }
      #banner_detail a:link, #banner_detail a:visited, #banner_detail a:hover, #banner_detail a:active {
        margin: 12px 100px 0 0;
        float: right;
        width: 200px;
        text-align: right;
        color: #ddd;
        display: inline;
      }
        #banner_detail a:hover { color: #fff; }
  
#intro_benefits {
  margin: 20px; padding: 20px 10px;
  float: left;
  width: 830px;
  display: inline;
  background: #fff;
}
  #intro_benefits h2 {
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
  }
  #benefits li {
    padding-right: 20px;
    float: left;
    width: 255px;
  }

/* search results */
h1#logo span {
  padding: 5px;
  background: blue;
  color: #fff;
}

#filters {
  margin-top: 20px;
  float: left;
  width: 950px;
}
  #filters a:link, #filters a:visited, #filters a:hover, #filters a:active {
    padding: 10px;
    float: left;
    width: 200px;
    background: #eee;
    text-align: center;
  }
    #filters a:hover, #filters a.selected { 
      background: blue; 
      color: #fff; 
    }
    
#spending_information {
  margin: 20px; padding: 20px 10px;
  float: left;
  width: 830px;
  display: inline;
  background: #fff;
}
  #spending_information h2 {
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
  }
  .contract {
    margin-bottom: 10px; padding: 0 10px;
    float: left;
    width: 395px;
  }
    .contract .rank {
      float: left;
      width: 19px;
      border-right: 1px solid #ddd;
    }
    .contract .contract_info {
      float: right;
      width: 355px;
    }

#flash_errors, #zip_code_error, #representative_information {
  margin: 20px; padding: 20px 10px;
  float: left;
  width: 830px;
  background: #fff;
  display: inline;
}
  #representative_information h2 {
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    float: left;
    width: 830px;
  }
  .profile {
    margin-right: 10px;
    float: left;
    width: 235px;
    display: inline;
    padding: 10px;
    border: 5px solid #ccc;
    background: #eee;
  }
    .profile .shot {
      margin-bottom: 10px; 
      float: left;
      width: 100px;
      height: 128px;
    }
    .profile img {
      border: 1px solid #ccc;
      width: 100px;
    }
      
    .profile_info {
      float: right;
      width: 125px;
    }
      div.meta span {
        padding: 5px;
        font-weight: bold;
        color: #fff;
      }
      .democrat { background: #1a294d; }
      .republican { background: #e54141; }
      .independent { background: #666666; }
    ul.contact {
      float: left;
      width: 235px;
    }
      ul.contact li { display: inline; }
        ul.contact li a { 
          float: left;
          width: 48%;
        }
    .summary {
      margin-top: 10px; padding-top: 10px;
      float: left;
      width: 235px;
    }
    #equalize .summary {
      border-top: 1px solid #ddd;
    }
      .summary a {
        font-weight:normal;
      }
      .summary_label td { width: 50%; }
      .summary_label { font-weight: bold; }
    .profile .more {
      margin: 10px 0 0 0;
      float: left;
      width: 235px;
      border-top: 1px solid #ddd;
      text-align: center;
    }
      .profile .more a { 
        padding: 10px 0 0 0;
        display: block; 
      }
      .profile .more span {
        padding: 10px 0 0 0;
        display: block; 
      }
      
  .record {
    float: right;
    width: 545px;
  }
    .odd .record {
      float: left;
    }
    .records {
      float: left;
      width: 545px;
    }
      .record_entry {
        padding: 20px 10px;
        float: left;
        width: 525px;
        border-bottom: 1px solid #ddd;
      }

#preferred_party {
  float: left;
  width: 830px;
  display: inline;
  color: #fff;
  text-align:center;
}
  #preferred_party div { 
    padding: 5px; 
    font-weight: bold;
  }

#donor_information {
  margin: 20px; padding: 20px 10px;
  float: left;
  width: 830px;
  display: inline;
  background: #fff;
}
  #donor_information h2 {
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
  }
  #donor_graph {
    margin-bottom: 20px; padding: 10px;
    float: left;
    width: 808px;
    border: 1px solid #ddd;
  }
    #donor_graph p { margin: 0; }
    #donor_stat_dem {
      padding: 0 10px;
      float: left;
      width: 200px;
      text-align: right;
    }
    #donor_stat_graph {
      text-indent: -9999px;
      float: left;
      width: 368px; height: 20px;
      background: url(../images/bg_donor_graph.gif) no-repeat;
    }
    #donor_stat_rep {
      padding: 0 10px;
      float: left;
      width: 200px;
      text-align: left;
    }
  .donor {
    margin-bottom: 10px; padding: 0 10px;
    float: left;
    width: 395px;
  }
    .donor .rank {
      float: left;
      width: 19px;
      border-right: 1px solid #ddd;
    }
    .donor .donation {
      float: right;
      width: 355px;
    }
    .donor span {
      padding: 5px;
      color: #fff;
      font-weight: bold;
    }

#representative_details {
  margin: 20px; padding: 20px 10px;
  float: left;
  width: 830px;
  background: #fff;
  display: inline;
}
  #representative_details h1 {
    margin-bottom: 10px;
    font-size: 300%; 
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
  }
  #representative_details .photo {
    padding-right: 10px;
    width: 200px;
    float: left;
  } 
  .contact_detail {
    padding: 10px 10px 0 10px;
    float: left;
    width: 180px;
  }
  .tweets {
    margin-top: 20px; padding: 10px;
    float: left;
    width: 180px;
  }
    .tweets h3 {
      margin-bottom: 10px; padding: 2px 0 10px 22px;
      border-bottom: 1px solid #ddd;
      background: url(../images/icon_twitter.gif) 0 6px no-repeat;
    }
    .tweets ul {
      float: left;
      width: 180px;
    }
      .tweets li { padding: 5px 0; }
      .tweets li p.tweet_date {
        font-size: 90%;
        color: #999;
      }
  .basic_info {
    float: right;
    width: 620px;
  }
    #detail_tabs {
      margin: 20px 0; padding: 0 10px;
      float: left;
      width: 600px;
      border-bottom: 1px solid #ddd;
    }
      #detail_tabs li { float: left; }
      #detail_tabs li a:link, #detail_tabs li a:visited, #detail_tabs li a:hover, #detail_tabs li a:active {
        margin: 0 1px; padding: 10px 0;
        float: left;
        width: 196px; 
        text-align: center;
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
        display: inline;
        background: #eee;
        color: #999;
      }
        #detail_tabs li a:hover { color: #666; }
        #detail_tabs li.ui-tabs-selected a {
          background: #fff;
          color: #0c1b3d;
        }
        .ui-tabs .ui-tabs-hide { display: none; }
    #bio, #latest_words, #sponsored_bills, #committee_memberships, .introduced_bills, .sponsored_bills {
      margin: 20px 0; padding: 0 10px;
    }

.row {
  margin: 10px 0;
  clear: both;
}
  .row input, .row textarea {
    width: 250px;
  }
  .row .field {
    float: left;
    width: 100px;
  }
  .row .field.required label:after {
    content: " *";
    color: #990000;
  }
.invitation_text {
  padding: 0 15px;
}

#government_spending {
  margin: 20px; padding: 20px 10px;
  float: left;
  width: 830px;
  display: inline;
  background: #fff;
}
  #government_spending h2 {
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
  }
  .recipient {
    margin-bottom: 10px; padding: 0 10px;
    float: left;
    width: 395px;
  }
    .recipient .rank {
      float: left;
      width: 19px;
      border-right: 1px solid #ddd;
    }
    .recipient .recipient_detail {
      float: right;
      width: 355px;
    }
#senator_comparison {
  margin: 20px; padding: 20px 10px;
  float: left;
  width: 830px;
  display: inline;
  background: #fff;
}
.youtubes {
  padding-left:300px;
  padding-top:10px;
}
.introduced_bills {
  padding-bottom:20px;
}
.senator_comparison_credit {
  clear: both;
}
.tooltip{
  width: 250px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: none;
  border: 5px solid #CCCCCC;
  background-color: #FFFFFF;
  padding: 5px;
}
