/* @override 
	http://civicscience-css.s3.amazonaws.com/clients/civicscience/css/panel.css
	https://civicscience-css.s3.amazonaws.com/clients/civicscience/css/panel.css
*/

/*////////////// Reusables //////////////*/

/* Color 1: #FFA33F (orange) */
/* Color 2: #DD8E38 (darker orange) */
/* Color 3: #4F415A (dull purple) */
/* Color 4: #412454 (brighter purple) */
/* Color 5: #B3A9BA (light purple) */
/* Color 5: #E4E0E6 (lighter purple) */
/* Color 5: #F0EEF1 (lightest purple) */

* { font-family: helvetica, arial, sans-serif;}

/* Logged Out */ 

body.home div.forgot a:link, body.home div.forgot a:visited, body.home div.forgot a:hover, body.home div.forgot a:active {
   color: #fff;
}

body.home div.login_options {
   margin-right: -6px;
}

div.home_page h4 {
   border-top: none;
   padding-top: 0;
   font-weight: bold;
   color: #4F415A;
}

/* Logged In */
body.home div.nav_shell, div.nav_shell { background-color: #4F415A; border-bottom: 1px solid #412454; }

div.nav_container li div.text:hover { background-color: #412454; }

h1 {
   color: #4F415A; text-shadow: #ddd 1px 1px 0;
   margin-bottom: 10px;
   font-weight: bold;
}

h2 { 
	color: #4F415A; text-shadow: #ddd 1px 1px 0;
   margin-bottom: 10px;
   font-weight: bold;
   display: table;
   padding-right: 20px;
}

h3 {
	color: #4F415A;
	font-weight: bold;
}

h4 {
   border-top: 1px solid #ddd;
   padding-top: 4px;
   font-weight: bold;
   color: #4F415A;
}

h5 {
  font-weight: bold;
  color: #4F415A;
}

h5 span {
   font-weight: normal;
   margin-left: 10px;
}

div.table div.tbody div.row { 
	border: 1px solid #ddd; 
	background-color: #f5f5f5; 
	margin-bottom: 1px;
}    

div.table div.tbody div.row:first-child { border: 1px solid #ddd; }
div.table div.tbody div.row:hover { background-color: #f0f0f0; }

div.table div.tbody div.row.old { font-weight: lighter; }
div.table div.tbody div.row.new { font-weight: normal; }

span.mini.link, a:link, a:hover, a:active, a:visited, div.table_controls div.control, div.page_controls div.control, div.topic_box div.description span.congressmember_name, div.css_locations div.add_location, ul.component_list li.add_button, ul.component_list li.is_deleted div.undo_cell, ul.component_list li.condition ul.component_list li.add_button, div.answer_controls div.add_new, div.set_controls div.add_new, div.table div.add_new, div.question_details p.link_section, ul.constraints li.removed div.undo_cell, div#constraint_section div.add_new, div#create_campaign_button.add_new, p.change_link, h5 span.link, #panel_settings_form #spectrum_category_link, p span#spectrum_back.link, span.link, span.inbox_vote, span.policy_vote { 
	color: #4F415A; 
}

span.inbox_vote, span.policy_vote, span.policy_abstain, span.policy_nay, span.policy_yea {
   font-weight: bold;
}


div.table_controls div.control:hover, div.page_controls div.control:hover, div.css_locations div.add_location:hover, ul.component_list li.add_button:hover, ul.component_list li.condition ul.component_list li.add_button:hover, div.answer_controls div.add_new:hover, div.set_controls div.add_new:hover, div.table div.add_new:hover, div#constraint_section div.add_new:hover, div#create_campaign_button.add_new:hover, p.change_link:hover, .spectrum_category_tree .category_item.selected {
   background-color: #eee;
   color: #4F415A;
}

div.table div.tbody div.row:hover, div.settings div.setting.gray, div.question_search_list li:hover, ul.component_list li:hover, ul.component_list li.condition ul.component_list li:hover, div.centered_form.q3 ul.component_list li.add_button:hover, ul.panel_email_manager_list li:hover, .spectrum_category_tree .category_item:hover {
   background-color: #eee;
}

div.footer span.link {
   color: #ccc;
}

div#targets div.table div.tbody div.row { 
	border: 1px solid #ddd; 
	border-top: none;
	background-color: #fff; 
	margin-bottom: 0;
}    

div#targets  div.table div.tbody div.row:first-child { border: 1px solid #ddd; }
div#targets  div.table div.tbody div.row:hover { background-color: #f0f0f0; }

form#squestions_form div.table div.tbody div.row { 
	border: 1px solid #ddd; 
	border-top: none;
	background-color: #fff; 
	margin-bottom: 0;
}    

form#squestions_form div.table div.tbody div.row:first-child { border: 1px solid #ddd; }
form#squestions_form div.table div.tbody div.row:hover { background-color: #f0f0f0; }

ul.constraints div.connector_label {
   background-color: #412454;
}

div.ballotbox {
   float: right;
   margin: -10px -30px 0 20px;
   display: table;
   color: #fff;
   font-size: 12px;
}

.csw {
   position: relative;
}

.csw .csw {
   position: absolute;
}

div.csw div.small_widget {
   width: 400px;
   height: 160px;
	background: url(../images/small_bg.png);
   
}

div.csw div.small_widget div.first_question {
	padding: 50px 10px 10px 10px;
	height: 60px;
}

div.csw div.small_widget div.button {
	margin-left: 10px;
}

div.csw div.small_widget div.button input {
   background: url(../images/vote.png);
   border: none;
   width: 75px;
   height: 25px;
}

div.csw div.widget div.top {
   background-color: #ffa33e;
   height: 40px;
   background: url(../images/top_bg.png);
}

div.csw div.widget div.middle {
   background-color: #ffa33e;
   padding: 0 10px 10px 10px;
   width: 380px;
   min-height: 70px;
}

div.csw div.widget div.middle div.poll_title {
	display: none;
}

div.csw div.widget div.middle div.question_number {
	display: none;
}

div.csw div.widget div.middle div.question_text {
   padding: 0 0 10px 0;
}

div.csw div.widget div.middle div.answer {
   clear: both;
   margin: 0 0 10px 0;
}

div.csw div.widget div.middle div.answer label {
   margin: 0;
}

div.csw div.widget div.middle div.answer div.answer_radio {
   float: left;
   margin: 0 10px;
}

div.csw div.widget div.bottom {
   height: 44px;
   background: url(../images/bottom_bg.png) bottom;
}

div.csw div.widget div.middle div.result0, div.csw div.widget div.middle div.result1, div.csw div.widget div.middle div.result2, div.csw div.widget div.middle div.result3, div.csw div.widget div.middle div.result4 {
   margin: 0 0 10px 0;
   clear: both;
}

div.csw div.widget div.middle div.result_percent {
 float: left;
 margin: 0 0 0 10px;
 width: 50px;
}

div.csw div.widget div.bottom div.button {
   margin-left: 10px;
}

div.csw div.widget div.bottom div.button input.vote {
   background: url(../images/vote.png);
   border: none;
   width: 75px;
   height: 25px;
}

div.csw div.widget div.bottom div.button input.next {
   background: url(../images/next.png);
   border: none;
   width: 25px;
   height: 25px;
}

div.csw div.widget div.bottom div.button input.previous {
   background: url(../images/prev.png);
   border: none;
   width: 25px;
   height: 25px;
   margin-right: 20px;
}

div.csw div.widget div.middle div.thank_you_title {
   display: none;
}

div.csw div.close {
   width: 14px;
   height: 13px;
   background: url(../images/close.png);
   float: right;
   margin: 5px 5px 0 0;
}

div.csw div.close:hover {
   cursor: pointer;
}
