/*
 * Overall grid and layout
 */

/* Page types */
#call-form          { width: 40%; }
#call-story         { width: 60%; }
#donation-contact   { width: 40%; }
#donation-details   { width: 60%; }
#event-attend-form  { width: 40%; }
#event-create-form  { width: 50%; }
#letter-form        { width: 40%; }
#letter-story       { width: 60%; }
#letter-story .box  { width: 100% }
#letter-story textarea { font-size: 1.2em; height: 14em; }
#lte-prelim         { width: 40%; }
#lte-letter         { width: 100%; }
#lte-help           { width: 100%; }
#petition-box       { width: 60%; }
#petition-story     { width: 60%; }
#petition-form      { width: 40%; }
#recurring-cancel   { width: 60%; }
#recurring-update   { width: 60%; }
#signup-form        { width: 40%; }
#signup-story       { width: 60%; }
#survey-contact     { width: 40%; }
#survey-questions   { width: 60%; }
#taf-form           { width: 50%; }
#taf-preview        { width: 50%; }
#thanks-notaf       { width: 100%; }
#unsub-form         { width: 50%; }

/* [whipcount/login/account tools/recurring cancel/update] */

/* Box sizing so percents work the way we want. Our JS makes it work on IE7 */
.container, .col, input, select, textarea {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

/* Sizes and padding */
body { margin: 0px; }
.container { 
  width: 900px; 
  padding: 0px 20px; 
  max-width: 100%;
}
.col, .border.col {  padding: 5px 15px; margin: 0px !important; }
.col { float: left; }
.col.end { float: right; }
.area { padding: 15px; }

/* Headers */
.header { border-bottom: solid #ddd 1px; padding: 10px; }
h1, h2, h3 { margin: 0px; font-weight: bold; line-height: 1.2em; padding: 15px; color: rgb(80, 80, 80); }
.header h1 { padding: 5px; }
.col h2, .col h2, .area h2, .area h3 { padding: 0px; }

/* Footer */
.footer-holder { padding-top: 15px; }
.footer { border-top: solid #ddd 1px; 
    padding: 15px; 
    margin-top: 25px; 
    text-align: right; 
}
.footer span:before { content: "\00b7\00a0"; }
.footer span:first-child:before { content: ""; }
.footer-holder { clear: both; }

.ak-rtl .footer { text-align: left; }
.ak-rtl .col { float: right; }
.ak-rtl .col.end { float: left; }

/* 
 * Details: specific form elements, input styles, default font
 */

/* Emphasized box, para spacing, headers */
.box { background-color: rgb(200,200,200); padding: 20px; }
.col p, .box p, .area p { margin: 1em 0px 0px 0px; }
.col p:first-child, .box p:first-child, .area p:first-child { margin: 0px; }

/* Input and text styles */
fieldset { padding-top: 0.5em; border: 1px solid #aaa; border-radius: 10px; }
legend { margin-left: -5px; padding: 0px 5px; }
textarea { height: 4em; width: 100%; }
input, select, textarea, .taf_body { border-radius: 4px; }
select { padding: 3px 0px; }
p, div { line-height: 1.7em; }
p { margin-top: 1.5em; margin-bottom: 0em; }
label { font-weight: normal; }
button { float: none; /* Blueprint makes them float. */ } 
button:hover { background-color: #DEDEDE; border-color: #CECECE; color: #464646; }

/* Thanks and tellafriend */
.social-links { float: right; width: 100px}
.facebook-share-button { height: 20px; width: 110px; margin: 1px; }
.twitter-share-button { height: 20px; margin: 1px; }
.fb-like { float:right; clear:right; border:none; overflow:hidden; width:300px; height:80px; padding-top: 5px; }
.floating-progress { float: right; clear: right; width: 300px /* f/ie7 */; margin-left: 0px; margin-right: 15px; }
#taf { clear: both; }
#id_comment, #id_taf_emails { height: 4em; width: 100%; }
#id_taf_note { height: 6em; }
.area #progress { margin-right: 0px; }

/* Thanks page redesigned */

button.ak-share-button, .ak-share-button {
	display: inline-block;
	font-size: 22px;
	padding: 10px 20px;
		-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	line-height: 130%;
	margin: 0.1em 0.5em 0.7em 0;
	color: white;
}
button.ak-share-button:hover, .ak-share-button:hover {
	cursor: pointer;
}
.ak-margin-none {
	margin: 0em !important;
}
.ak-emphasized-text {
	font-weight: bold;
	//color: #37b34a;
}
.ak-sharebox {
	padding: 10px 0px 10px 15px;
}
.ak-header {
	font-size: 40px;
	line-height: 42px;
}
.ak-facebook-text, .ak-twitter-text, .ak-email-text {
	width: 25px;
height: 3px;
position: relative;
padding: 15px 0px 0px 0px;
background-repeat: no-repeat;
display: inline-block;
}
.ak-facebook-text {
	background-image: url('/media/images/facebook-transparent-18px.png');
	background-image: url('/media/images/facebook-transparent.svg'), none;
	background-size: 18px;
	position: relative;
	top: 3px;
}
.ak-twitter-text {
		background-image: url('../media/images/twitter-transparent-18px.png');
      	        background-image: url('/media/images/twitter-transparent.svg'), none;
		background-size: 18px;
		position: relative;
		top: 3px;
}
.ak-email-text {
		background-image: url('../media/images/icon-envelope.png');
		background-size: 16px;
		padding-right: 15px;
}
.ak-share-message {
	height: 208px;
	background: #FAFAFA;
	padding: 10px;
}
.ak-share-url-text {
	color: white;
	background: #666;
	padding: 8px 20px;
		border: 1px solid #666;

}
.ak-share-url {
	border: 1px solid #eee;
	background: #efefef;
	width: 380px;
	padding: 8px;
		position: relative;
		left: -3px;
}

.ak-emailalt:hover {
	cursor: pointer;
}

.ak-sendmessage, .ak-sendmessage:hover {
	background: #fcac42;
}
.ak-sharebox-tafsubject {
	height: 25px;
	color: #777;
	background: white;
	border: solid rgb(160,160,160) 1px;
	padding: 3px;
	background: #FAFAFA;
	margin: 3px 0px;
	border-radius: 4px;
	overflow-y: scroll;
}
.ak-sharebox-tafbody {
	height: 180px;
	background: white;
	color: #777;
	border: solid rgb(160,160,160) 1px;
	padding: 3px;
	background: #FAFAFA;
	margin: 3px 0px;
	border-radius: 4px;
	overflow-y: scroll;
}
/* Functional CSS Classes  */
.ak-hide {
	display: none;
}
.ak-padding-left-none {
	padding-left: 0;
}
.ak-percent-full {
	width: 100% !important;
}
.ak-float-none {
	float: none;
}
.ak-pull-left {
	float: left;
}
.ak-pull-right {
	float: right;
}
.ak-clear {
	clear: both;
}
.ak-center {
	text-align: center;
}
.ak-weight-normal {
	font-weight: normal;
}
.ak-visible-mobile {
	display: none;
}
.ak-border-test {
	border: 1px solid black;
}
.ak-share-intro {
	border-bottom: 1px solid #eee;
}
.ak-border-top {
	border-top: 1px solid #eee;
}
.ak-uppercase {
	text-transform: uppercase;
}
.ak-blurb {
	font-size: 18px;
	line-height: 22px;
	color: rgb(80, 80, 80);
}

/* Colors */
.ak-facebook, .ak-facebook:hover {
	background: #3b5998;
	color: white;
}
.ak-twitter, .ak-twitter:hover {
	background: #4099FF;
	color: white;
}

.ak-email, .ak-email:hover {
	background: #37b34a;
	color: white;
}

/* Tables */
.ak-styled-tables tr.target:nth-child(even) {
	background: #f9f9f9;
}



/*Responsive Thanks page */
@media (max-width:800px) {
	* {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	}
img {
	max-width: 100%;
}
.ak-thanks div.area, div.ak-sharebox {
	padding: 0px 10px;
}
.ak-thanks div.social-links {
	display: none;
}
.ak-sharebox {
	width: 100%;
	padding: 0;
	background: none;
	border: none;
}

button.ak-share-button, .ak-share-button {
	font-size: 25px;
	padding: 10px 20px;
	width: 100%;
	text-align: center;
}
[class*="span"] {
	width: 100%;
}
.push-1, .prepend-1 {
	margin: 0;
	padding: 0;
}
.ak-hidden-mobile {
	display: none;
}
.ak-center-mobile {
	display: block;
	text-align: center;
}
.ak-mobile-only {
	display: inline-block;
}
}/*end responsive media query*/


/* Donate */
#card_num { width: 100%; }
#card_code_box, #exp_date_box { width: 50%; float: left; }
#progress { margin: 15px; }
#product_list td, #candidate_list td { vertical-align: top; }
#product_list th, #candidate_list th { background-color: #eee; }
#products-label, #candidates-label { position: absolute; left: -999em; }
.candidate-portrait { float: left; margin: 0px 10px 0px 0px; }
.candidate-name, .product-name { font-weight: bold; }
.candidate-amount, .product-quantity, .product-amount { width: 1%; }
.donation-total { background-color: #ffc; padding: 5px; }
.donation-total label { font-weight: bold; }
.ak-currency { margin-right: 12pt; }
label[for=pay_by_paypal] { vertical-align: -50%; }

label.ak-btn {
	display: inline-block;
	width: 80px;
	height: 44px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	line-height: 44px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
	color: white;
	background: #3080f7;
	font-size: 16px;
	text-align: center;
	box-shadow: rgba(0,0,0,1) 0 1px 0;
	text-shadow: 0 2px 0 rgba(0,0,0,0.5);
	color: white;
	vertical-align: middle;
}
label.ak-btn:hover {
   background: #3080f7;
   color: #ffffff;
   cursor: pointer;
}
.ak-radio-checked {
	background: #37b34a !important;
	box-shadow: inset 0 1px 1px 1px rgba(0,0,0,0.3) !important;
	border: 1px solid #fff;
}
div#amount_list ul.ak-unstyled {
	list-style-type: none;
	margin-left: 0;
}
div#amount_list ul.ak-unstyled li {
	width: 80px;
	height: 50px;
	margin-bottom: 5px;
}
div#amount_list ul.ak-unstyled li label.ak-btn input[type="radio"] {
	display: none;
}

/*Global new ak styles*/
.ak-border-left {
	border-left: 1px solid #eee;
}
.ak-styled-fields input[type="text"], .ak-styled-fields input[type="number"]{
	height: 38px;
	padding: 5px 10px;
	border: 1px solid #ccc;
	font-size: 18px;
}
.ak-styled-fields select {
	height: 38px;
	font-size: 18px;
	color: rgb(100,100,100);
}

.ak-styled-fields select[multiple] {
	width: 100%;
	height: 100%;
}
.ak-styled-fields textarea {
	border: 1px solid #ccc;
	padding: 10px;
	font-size: 18px;
}
.ak-styled-fields .ak-labels-overlaid label {
	padding: 10px;
	font-size: 18px;
}
.ak-styled-fields input[type="checkbox"], .ak-styled-fields input[type="radio"], .ak-styled-fields textarea, div.checkbox-item, div.radio-item {
	font-size: 18px;
	line-height: 18px;
}
.ak-styled-submit-button {
	display: inline-block;
	font-size: 22px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	line-height: 130%;
	margin: 0.5em 0.5em 0.7em 0;
	background: #3080f7;
	color: white;
	box-shadow: inset 0 1px 1px 1px #3080f7, 0px 1px 1px 1px #083f54;
	border: none;
	padding: 15px !important;
}
.ak-styled-submit-button:hover {
	box-shadow: inset 0 1px 1px 1px rgba(0,0,0,0.1);
	border: none;
	background: #3080f7;
	color: #fff;
	position: relative;
	top: 1px;
	left: 1px;
}
.ak-styled-button {
	display: inline-block;
	font-size: 14px;
	padding: 5px 10px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	line-height: 130%;
	margin: 0.1em 0.5em 0.7em 0;
	background: #3080f7;
	color: white;
	box-shadow: inset 0 1px 1px 1px #3080f7, 0px 1px 1px 1px #083f54;
	border: none;
	padding: 5px;
	text-align: center;
}
.ak-styled-button:hover {
	box-shadow: inset 0 1px 1px 1px rgba(0,0,0,0.1);
	border: none;
	background: #3080f7;
	color: #fff;
	position: relative;
	top: 1px;
	left: 1px;
}

.ak-styled-description {
    background: #f9f9f9;
}
.ak-styled-description p {
	font-size: 18px;
	line-height: 22px;
	padding: 10px 0;
}
.ak-padding-top-none {
	padding-top: 0;
}
.ak-styled-zip input[name="zip"] {
	width: 50%;
}

/* Thermometer */
.ak-original-progress-meter {
 	width: 250px;
 	height: 50px;
 	margin-left: 0px !important; 
 }
 .ak-original-progress-meter .progress-caption {
	text-align: left;
 }

.ak-original-progress-meter .progress-holder .progress-bar {
	background: #37b34a;
	height: 20px;
}
.ak-original-progress-meter .progress-holder {
	height: 20px;
	margin: 0px;
	width: 100%;
	background: rgb(80,80,80);
	background: #777;
	color: white;
	border-radius: 0;
	border: none;
}
.ak-original-progress-meter .progress-holder .progress-percent {
	font-size: 14px;
	line-height: 14px;
	padding-top: 2px;
	border-radius: 0px;
}
/* LTE */
#lte-submit { clear: both; }

.ak-quote {
	background: #f9f9f9;
	border-left: 10px solid #ccc;
	padding: 10px;
	margin: 10px 0;	
}
.ak-quote p {
	font-size: 18px;
	line-height: 22px;
	padding-left: 20px;	
}
.ak-pull-right {
	float: right;
}
.ak-pull-left {
	float: left;
}
/* A default font */
p, body, input, select, textarea, button, div {
  font-size: 13px; 
  font-family: Georgia, serif;
}

/*Whipcount*/
.ak-styled-tables tr.target.opposed { 
	background-color: red; 
}

/* Changes for mobile */
@media (max-width:750px) {
  body {  background-image: none; }
  .container, .area { padding: 0px; }
  .col, .container, .area, .sidebar { width: 100% !important; }
  .border { border-right: none !important; }
  .ak-mobile-lead, .ak-continued { position: static !important; left: auto !important; }
  
  /* a mobile screen isn't wide enough for two-column grid of labels/inputs, so flatten it */
  .ak-labels-before label, .ak-labels-before input, .ak-labels-before select, .ak-labels-before textarea, .ak-labels-before .ak-err { width: 100%; }
  .ak-labels-before label { text-align: left; }
  .ak-rtl .ak-labels-before label { text-align: right; }
  .ak-mobile-padding { padding: 0px 15px; }
}
@media (max-width:915px) {
	.ak-mobile-flatten {
		width: 100%;
	}
}

@media (max-width:880px) and (min-width: 800px) {
 .ak-span-12-fix {width: 380px !important;}
}
@media (max-width:799px) and (min-width: 751px) {
 .border { border-right: none !important; }
}





