/* GENERAL */

.panels-flexible-alsf_campaign_layout .panels-flexible-row {
	padding: 0;
}

.panels-flexible-alsf_campaign_layout .panels-flexible-row.row-full-1 {
	padding: 0;
}

.panels-flexible-alsf_campaign_layout .panels-flexible-row.row-full-2 {
	background: #EDF7FD;
	padding: 3% 0 5%;
}

.panels-flexible-alsf_campaign_layout .panels-flexible-row.row-full-3 {
	background: #B9CFF0;
	padding: 3%;
}

.panels-row-tabs,
.panels-flexible-row.row-full-1,
.panels-flexible-row.row-full-4 {
	background: #FFF5C0;
}

.panels-flexible-row.row-full-8,
.panels-flexible-row.row-full-6 {
	background: #003595;
}

/* HEADINGS */

.node-type-campaign #main-content .pane-campaign-activity h2 {
	color: #444;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 26px;
	font-style: italic;
	font-weight: 700;
	padding-top: 30px;
}

.node-type-campaign.page-panels #main-content h3 {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 700;
}

.node-type-campaign.page-panels #main-content #top-leaders-slides h3 {
	color: #444;
	margin: 20px 0 5px;
}

/*.node-type-campaign.page-panels #main-content #top-leaders-slides h4 {
	font-size: 15px;
	margin: 0;
}*/

/* BUTTONS */

.campaign-call-to-action-anonymous-user-text p {
	font-size: 14px;
}

/* TABS */

.panels-row-tabs .r-tabs .r-tabs-nav {
	border-bottom: none;
	margin-top: -120px;
	position: absolute;
	text-align: left;
}

.panels-row-tabs .r-tabs .r-tabs-nav .r-tabs-tab {
	margin: 0 3px 0 0;
}

.panels-row-tabs .r-tabs .r-tabs-nav .r-tabs-tab a {
	color: #fff;
	font-size: 19px;
	padding: 10px 16px;
}

.panels-row-tabs .r-tabs .r-tabs-nav .r-tabs-state-default a {
	color: #666;
}

.panels-row-tabs .r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
	background: #FFC629;
	border-radius: 0;
}

.panels-row-tabs .r-tabs .r-tabs-nav .r-tabs-state-default {
	background: rgba(255,255,255,0.8) !important;
	border-radius: 0;
}

/* CAMPAIGN TOTAL */

#campaign-total {
	color: #f7da47;
	font-family: 'Zilla Slab', serif;
	font-size: 23px;
	font-weight: 900;
	height: 60px;
	margin-top: -44px;
	text-align: center;
}

#campaign-total span {
	font-size: 31px;
}

/* AMM */


#content .pane-campaign-action {
	font-size: 14px;
	text-align: center;
}

#content .pane-campaign-action .button {
    display: table;
    margin: 5px auto !important;
    text-align: center;
}

#content .pane-campaign-action .button a {
	background: #FFE303;
	border-radius: 8px;
	color: #003595;
	display: inline-block;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 36px;
	letter-spacing: .5px;
	line-height: 100%;
	padding: 26px 30px 20px;
	margin: 15px auto 0;
	text-align: center;
}

#content .pane-campaign-action .button a:hover {
	background: #FFC629;
}

#content .pane-campaign-action a {
	margin: 0;
}

.dark #autocomplete,
.row-full-6 #autocomplete {
	background: #fff;
	margin: 0;
	padding: 0;
	text-indent: 0;
}

.dark #autocomplete li:last-child,
.row-full-6 #autocomplete li:last-child {
	font-size: 15px;
}

.dark #autocomplete a,
#autocomplete a {
	border-bottom: none;
	color: #003595;
	font-size: 16px !important;
}

.panels-flexible-row.row-full-6 .inside {
	margin: 0 auto;
	max-width: 990px;
	padding: 3% 0;
	text-align: center;
}

.panels-flexible-row.row-full-7 .inside {
	padding: 2% 0 0;
}

/* LEADERBOARD FLEXSLIDER */

.pane-campaign-leaderboard div.item-list,
#top-leaders-slides div.item-list {
	clear: left;
	display: table;
	margin: 0 auto;
	max-width: 750px;
}

.pane-campaign-leaderboard .item-list ul li,
#top-leaders-slides li li {
	float: left;
	list-style: none;
	margin: 0 30px;
	text-align: center;
	width: 185px;
}

.pane-campaign-leaderboard .item-list ul li:nth-child(4) {
	clear: left;
}

#top-leaders-leaderboard-link {
	float: right;
	margin-top: 80px;
	text-align: center;
	width: 155px;
}

#top-leaders-leaderboard-link a {
	background: #003595;
	border-radius: 50%;
	display: block;
	color: #FFE303;
	font-size: 19px;
	font-weight: 700;
	line-height: 120%;
	padding: 20px;
}

#top-leaders-leaderboard-link a:hover {
	background: #003595;
}

#top-leaders-leaderboard-link a span {
	color: #fff;
	display: block;
	font-size: 15px;
	line-height: 120%;
	margin: 8px 0 0;
}

.top-leaders-item-image-wrapper {
	position: relative;
}

.top-leaders-item-total {
    background: #437ED6;
    border-radius: 50%;
    bottom: 0;
    color: #fff;
    display: block;
    font-size: 16px;
	font-weight: 700;
    padding: 27px 7px;
    position: absolute;
    right: 0;
	text-align: center;
	white-space: nowrap;
	width: 60px;
}

#top-leaders-slides {
	float: left;
	width: 800px;
}

.node-type-campaign #main-content .pane-campaign-leaderboard h2,
.node-type-campaign #main-content #top-leaders-slides h2 {
  background: #437ED6;
  color: #fff;
	font-family: 'Zilla Slab', serif;
	font-size: 30px;
	letter-spacing: 1px;
	margin: 0 0 30px;
  padding: 3px 20px;
	position: relative;
}

.node-type-campaign #main-content .pane-campaign-leaderboard h2:before,
.node-type-campaign #main-content #top-leaders-slides h2:before {
	border-left: 10px solid transparent;
	border-top: 10px solid #437ED6;
	content: '';
	height: 0;
	left: 0;
	position: absolute;
	top: 100%;
	width: 0;
}

.node-type-campaign #main-content .pane-campaign-leaderboard h2:after,
.node-type-campaign #main-content #top-leaders-slides h2:after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 20px 20px 20px 0;
	border-color: transparent #EDF7FD transparent transparent;
	float: right;
	margin: -2px -20px;
}

h4.top-leaders-miles-all-individuals,
h4.top-leaders-miles-today-individuals,
h4.top-leaders-funds-all-individuals,
h4.top-leaders-funds-today-individuals {
	border-top: 1px dotted #437ED6;
	margin: 25px auto 0 !important;
	padding: 25px 0 20px;
}

h4.top-leaders-miles-all-teams,
h4.top-leaders-miles-all-individuals,
h4.top-leaders-funds-all-individuals,
h4.top-leaders-funds-all-teams, 
h4.top-leaders-funds-today-individuals,
h4.top-leaders-funds-today-teams, 
h4.top-leaders-miles-today-individuals,
h4.top-leaders-miles-today-teams {
    font-size: 140%;	
	padding-bottom: 20px;
	text-align: center;
    text-transform: uppercase;
}

#top-leaders-slides .flex-control-nav {
	bottom: -40px;
	left: 0;
	position: relative;
	width: auto;
}

#amm .pane-campaign-top-leaders {
	padding-bottom: 30px;
}

#top-leaders-slides .flex-control-paging li a {
    background: #EDF7FD;
    border: 1px solid #729EE0;
    border-radius: 30px;
    height: 14px;
    width: 14px;
}

#top-leaders-slides .flex-control-paging li a:hover,
#top-leaders-slides .flex-control-paging li a.flex-active {
	background: #729EE0;
}

#top-leaders-slides .flex-direction-nav {
	display: none;
}

/* ALMOST THERE */

.info-area {
	background: #437ED6;
	border-radius: 8px;
	color: #fff;
	font-family: 'Zilla Slab', serif;
	font-size: 1.077em;
	padding: 15px 10px;
}

.info-area dl {
    margin: 0;
    padding: 0 15px 5px 9px;
    overflow: hidden;
    color: #fff;
}

.info-area dl dt {
	clear: left;
	float: left;
	margin: 5px 5px 0 0;
	width: auto;
}

.info-area dl dt {
	color: #fff;
	max-width: 75%;
}

.info-area dl dd {
  color: #FFE964;
  display: block;
  font-size: 1.43em;
  line-height: 1.1em;
	margin: 0 0 6px;
  text-align: right;
}

.progress-bar {
    background: #fff;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    margin: 0 10px;
    /*width: 95%;*/
		height: 25px;
    overflow: hidden;
    position: relative;
}

.progress-bar span {
    background: #FFE303;
	  border-top-left-radius: 7px;
    -moz-border-top-left-radius: 7px;
    -webkit-border-top-left-radius: 7px;
		border-bottom-left-radius: 7px;
		-moz-border-bottom-left-radius: 7px;
		-webkit-border-bottom-left-radius: 7px;
    height: 25px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.progress-bar strong {
	color: #003595;
  display: block;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 13px;
	line-height: 150%;
  height: 25px;
  padding: 0 14px;
	position: relative;
  text-align: right;
	z-index: 3;
}

.node-type-campaign #main-content .pane-campaign-soclose h2 {
	color: #003595;
	font-size: 27px;
	font-style: italic;
	margin: 0 0 20px;
}

.pane-campaign-soclose .block-inner {
	text-align: center;
}

.soclose-item {
	display: inline-block;
	margin: 0 20px 20px;
	width: 28%;
}

.soclose-item .inner {
	margin: 0 0 20px;
}

.soclose-item .button {
	background: #145ECC;
}

.soclose-item .button:hover {
	background: #003595;
}

/* MILES THERMOMETER */

#sidebar-top .block-alsf-mmr .block-content {
	background: none;
}

#campaign-thermometer-wrapper {
  border: none;
  margin-top: 110px;
  position:relative;
}

#campaign-thermometer-overlay.goal-not-reached {
  background: url(/sites/all/themes/alsf/images/mmr-header.png);
  display: block;
  height: 179px;
  margin: -155px 0 0 49px;
  position: absolute;
  width: 176px;
  z-index: 10;
}

#campaign-thermometer-overlay.goal-reached {
  background: url(../images/mmr-header-complete.png);
  display: block;
  height: 290px;
  margin: -155px 0 0 40px;
  position: absolute;
  width: 206px;
  z-index: 10;
}

#campaign-thermometer-tube {
  background: url(/sites/all/themes/alsf/images/bg-mmr-unmarked.png) bottom left no-repeat !important;
  position:relative;
  left:100px;
  height:515px;
  width:134px;
}

#campaign-thermometer-marker {
  background: url(/sites/all/themes/alsf/images/bg-mmr-marker.png) no-repeat;
  color: #fff;
	font-family: 'Zilla Slab', serif;
  font-size: 19px;
	font-weight: 700;
  margin: -30px 0 0 -10px;
  padding: 40px 10px;
  position: absolute;
  width: 173px;
  z-index: 12;
}

#campaign-thermometer-incomplete {
  position:absolute;
  width:70px;
  top:0;
  left:0;
  text-align:center;
}

#campaign-thermometer-complete {
  background: url(/sites/all/themes/alsf/images/bg-mmr-complete-unmarked.png) bottom no-repeat;
  position:absolute;
  width:73px;
  bottom:0px;
  left: 0;
  text-align:center;
}

.campaign-thermometer-increment {
  background: url(/sites/all/themes/alsf/images/bg-mmr-increment.png) 1px center no-repeat !important;
  color: #0291ba;
	font-family: 'Zilla Slab', serif;
  font-size: 14px;
	font-weight: 700;
  width: 100px;
  height: 40px;
  text-indent: 30px;
  position: absolute;
  line-height: 40px;
}

#sidebar-top .block #campaign-thermometer-incomplete p,
#sidebar-top .block #campaign-thermometer-complete p {
  color: #fae72b;
	font-family: 'Zilla Slab', serif;
  font-size: 15px;
	font-weight: 700;
  line-height: 120%;
  margin: 70px 0 0 5px !important;
  position: relative;
  width: 62px;
  z-index: 11;
}

#sidebar-top .block #campaign-thermometer-complete p.below {
  color: #0291ba;
}

/* Horizontal Thermometer */

#dashboard-wrapper .dashboard-thermometer {
	clear: both;
	height: 117px;
	margin: 10px 23px;
	max-width: 1070px;
	width: 100%;
}

#dashboard-wrapper .dashboard-thermometer h3 {
	color: #005897;
	float: left;
	font-style: italic;
	font-size: 17px;
	text-transform: none;
}

.dashboard-thermometer a {
	color: #30969c;
	float: left;
	font-weight: 700;
	margin: 3px 0 0 10px;
}

#campaign-thermometer-h-wrapper {
	clear: both;
	margin: 35px 0 20px;
	position: relative;
}

#campaign-thermometer-h-overlay.goal-not-reached {
  background: url(/sites/all/themes/alsf/images/amm-goal.png);
  display: block;
  height: 109px;
  margin: -27px -10px 0;
  position: absolute;
  right: 0;
  width: 110px;
  z-index: 10;
}

#campaign-thermometer-h-overlay.goal-reached {
  background: url(/sites/all/themes/alsf/images/amm-goal.png);
  display: block;
  height: 109px;
  margin: -27px -5px 0;
  position: absolute;
  right: 0;
  width: 110px;
  z-index: 10;
}

#campaign-thermometer-h-tube {
  position:relative;
  width: 99%;
  height:58px;
  background-color:#fff;
}

#campaign-thermometer-h-incomplete {
  position:absolute;
  height:58px;
  top:0;
  left:0;
  text-align:center;
  background-color:#035c96;
	z-index: 3;
}

#campaign-thermometer-h-complete {
  background: url(../images/bg-amm-complete.png);
  position:absolute;
  height:58px;
  top:0;
  left:0;
  text-align:center;
	width: 100%;
}
#campaign-thermometer-h-increments {
  position: relative;
  width: 100%;
  height: 58px;
	z-index: 8;
}

.campaign-thermometer-h-increment {
  border-left:1px solid #145ECC;
  height: 20px;
  position: absolute;
  bottom:0;
  left:0;
  z-index: 1;
}

.completed-above-threshold {
	float: left;
	margin: 12px 0 0 10px !important;
}

/* LEAFLET */

.leaflet-popup-content-wrapper {
	border-radius: 0;
}

.leaflet-container a.leaflet-popup-close-button {
	color: #fff;
}

.node-type-campaign #main-content .leaflet-popup-content h4 {
	color: #fff;
  font-size: 14px;
  margin: -13px -19px;
  padding: 3px 8px;
  text-transform: uppercase;
}

.node-type-campaign #main-content .miles .leaflet-popup-content h4 {
	background: #FFC629;
}

.node-type-campaign #main-content .donation .leaflet-popup-content h4 {
	background: #00953B;
}

.node-type-campaign #main-content .member .leaflet-popup-content h4 {
	background: #e0217f;
}

.node-type-campaign #main-content .newteam .leaflet-popup-content h4 {
	background: #437ED6;
}

#leaflet-activity {
	margin: 0 auto;
}

.leaflet-clickable {
	stroke: none;
}

.leaflet-popup-content p {
	font-family: 'Source Sans Pro', sans-serif;
}

.leaflet-popup-content p:first-of-type {
	float: left;
	padding-top: 10px;
	width: 65%;
}

.leaflet-popup-content p:first-of-type a {
	color: #145ECC;
	font-size: 19px;
	font-weight: 700;
}

.leaflet-popup-content p.activity-value {
	float: right;
	font-size: 40px;
	font-weight: 900;
	line-height: 100%;
	padding-top: 10px;
	text-align: center;
}

.leaflet-popup-content p.activity-value span {
	display: block;
	font-size: 15px;
	margin-top: -10px;
}

.leaflet-popup-content p.activity-interval {
	clear: both;
	color: #666;
	font-size: 13px;
}

.node-type-campaign #main-content .page .leaflet-popup-content h4 {
	background: #2273b8;
}

#miles-slider-label,
#fundraising-slider-label {
	font-weight: 700;
	top: 3px;
}

/* Litza added for new thermometer pane */

#campaign-thermometer-h-wrapper {
  clear: both;
  position: relative;
}

#campaign-thermometer-h-overlay.goal-not-reached {
  background: url(/sites/all/themes/alsf/images/amm-goal.png);
  display: block;
  height: 109px;
  margin: -27px -10px 0;
  position: absolute;
  right: 0;
  width: 110px;
  z-index: 10;
}

#campaign-thermometer-h-overlay.goal-reached {
  background: url(/sites/all/themes/alsf/images/amm-goal.png);
  display: block;
  height: 109px;
  margin: -27px -5px 0;
  position: absolute;
  right: 0;
  width: 110px;
  z-index: 10;
}

#campaign-thermometer-h-tube {
  position:relative;
  width: 99%;
  height:58px;
  background-color:#ccc;
}

#campaign-thermometer-h-incomplete {
  position:absolute;
  height:58px;
  top:0;
  left:0;
  text-align:center;
  background-color:#035c96;
  z-index: 3;
}

#campaign-thermometer-h-complete {
  background: url(../images/bg-amm-complete.png);
  position:absolute;
  height:58px;
  top:0;
  left:0;
  text-align:center;
  width: 100%;
}
#campaign-thermometer-h-increments {
  position: relative;
  width: 100%;
  height: 58px;
  z-index: 8;
}

.campaign-thermometer-h-increment {
  border-left:1px solid #1e82a8;
  height: 20px;
  position: absolute;
  bottom:0;
  left:0;
  z-index: 1;
}

/* Change the color of the jquery countdown timer */
.section-campaign #jquery-countdown-timer {
	border-top: 1px solid #fff;
	max-width: 400px;
	padding-top: 20px;
}

.section-campaign #jquery-countdown-timer-note {
	border-bottom: 1px solid #fff;
	color: #fff;
	margin-bottom: 20px;
	padding-bottom: 20px;
	text-shadow: none;
}

.section-campaign .digit {
	background-color: #FFE303;
	color: rgba(0, 60, 115, 0.9);
}

.section-campaign .digit.static {
	background-image: linear-gradient(bottom, #FFE303 50%, #FFE303 50%);
	background-image: -o-linear-gradient(bottom, #FFE303 50%, #FFE303 50%);
	background-image: -moz-linear-gradient(bottom, #FFE303 50%, #FFE303 50%);
	background-image: -webkit-linear-gradient(bottom, #FFE303 50%, #FFE303 50%);
	background-image: -ms-linear-gradient(bottom, #FFE303 50%, #FFE303 50%);
}


@media screen and (max-width:800px) {
	.section-campaign #jquery-countdown-timer,
	.section-campaign #jquery-countdown-timer-note {
		max-width: 100%;
		text-align: center;
	}
	
	/* Change the font size of jquery countdown timer */
	.lemon-run .countdownHolder {
		font: 19px/1.5 'Open Sans Condensed',sans-serif;
		text-align: inherit;
	}

}