a#add-reward {
	/* float: none !important; */
}


s/* ----- Override Bootstrap ----- */

.form-actions {
	border-top: none;
}


/* ----- Breadcrumbs ----- */

ul.breadcrumbs {
	margin: 15px 0 0;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 10px;
	border-bottom: none;
	background-image: none;
}

ul.breadcrumbs li {
	position: relative;
	display: block;
	float: left;
	white-space: nowrap;
	margin: 0;
	padding: 10px 15px;
}


ul.breadcrumbs li:after {
	content: none;
	margin: 0;
}

ul.breadcrumbs li h1 {
	display: inline;
	line-height: 0;
	font-size: 28px;
	color: #333333;
}

ul.breadcrumbs li span.progress-bar {
	position: relative;
	display: block; 
	height: 10px; 
	margin: 10px -15px 0;
	background: white; 
	border: 1px solid #eeeeee;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-right: none;
	border-left: none;
}

.progress-bar .half-fill {
	display: block;
	height: inherit;
	width: 50%;
	background: white;
}

/* Save for later! */
/* .pointer {
	display: block;
	width: 0; 
	height: 0; 
	border-top: 5px solid transparent; 
	border-left: 2.5px solid black; 
	border-bottom: 5px solid transparent; 
} */

.cursor {
	position: absolute;
	top: -5px;
	left: -10px;
	display: none;
	width: 10px; 
	height: 10px;
	background: #003366;
	border: 5px solid white;
	border-radius: 10px;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
	z-index: 2;
}

/* Show the cursor */
li.last .cursor {
	/* display: block; */
}

/* Progress bar colours */

/* Unviewed */
ul.breadcrumbs li.unviewed span.progress-bar {
}

/* Any visited step */
ul.breadcrumbs li.not-last span.progress-bar {
	background: #0088cc; 
}

/* Current step */
ul.breadcrumbs li.current-step span.progress-bar {
}

/* Last (i.e. incomplete) step */
ul.breadcrumbs li.last span.progress-bar {
}

/* Half fill of last (i.e. incomplete) step */
ul.breadcrumbs li.last span.progress-bar:before {
    position:absolute;
    top: -1px;	/* offset for border */
    bottom: 0;
    left: 0;
    width: 50%;
    height: 100%;
    content: "";
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-right: none;
    border-left: none;
    background-color: #0088cc;
    box-sizing: content-box;
}

ul.breadcrumbs li.last:first-child span.progress-bar::before {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px 0 0 10px;
}

/* Progress, hover */

ul.breadcrumbs li.goto:hover {
	cursor: pointer;
}

ul.breadcrumbs li.goto:hover span.progress-bar,
ul.breadcrumbs li.last-step:hover span.progress-bar:before {
	background: #8cccff;
}

ul.breadcrumbs li.last-step:hover span.progress-bar {
	background: white;
}

ul.breadcrumbs li.goto a:hover,
ul.breadcrumbs li.last-step a:hover {
	text-decoration: none; 
}

ul.breadcrumbs li:first-child span.progress-bar {
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px 0 0 10px;
}

ul.breadcrumbs li:last-child span.progress-bar {
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0 10px 10px 0;
}


/* ----- Type ----- */

p.intro {
	display: none; /* Hidden 20150313 */
	color: #666666;
	margin: 20px 0;
}

.title-bar {
	color: #737373;
	padding: 25px 20px !important;
	border-bottom-color: #eee !important;
}

.title-bar #snapshot {
	display: inline-block;
	height: 77px;
	width: 77px;
	float: left;
	margin-right: 1em;
	border: 1px solid #ddd;
	border-radius: 3px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.control-group.welcome {
	margin-bottom: 10px;
	padding-top: 20px;
	padding-bottom: 0;
	border-bottom: none;
}

.editor-panel.wizard-step {
	margin-top: 25px;
	/* background-color: #fcfcfc; */
}

.editor-panel.wizard-step .divider-right {
	border-right: none;
}

.editor-panel.wizard-step > [class*="span"]:first-child {
	min-height: 350px; 	/* Prevent flickering of background colors */
	padding-top: 0; 	/* Override editor.css */
	/* border-right: 1px solid #dddddd; */
	background: white;
}


/* ----- Layout ----- */

/* Overrides editor.css */
.editor-panel .container-fluid {
	padding: 5px 20px !important; 
	/* padding: 15px 20px !important; */
}

.control-group.row {
	margin-left: 0;
	padding: 40px 20px;
}

.editor-panel .control-group:last-child:not(:only-child) {
	border-bottom: none;
}

.row.shaded-bottom {
	background: url("/National_Library/oe_/https://fundrazr.com/img/home/banner-shading_960x75.png") no-repeat scroll center bottom / 100% 3px rgba(0, 0, 0, 0);
}

.form-horizontal .control-label,
.form-horizontal .controls {
	font-weight: normal;
}

.control-label {
}

.control-label h3 {
	margin-top: 0;
}

.control-label h4,
#reward-label div:first-child {
	font-size: 18px;
	font-weight: bold;
	margin-top: 0;
}

/* .control-label h4 [class*="icon-"] */
.control-label h4 [class="icon-ok"]{
	float: left;
	width: 25px;
	height: 25px;
	line-height: 25px;
	color: white;
	text-align: center;
	vertical-align: middle;
	margin-top: -2.5px;
	margin-right: .3em; 
	background-color: #006699; 
	border-radius: 20px;
}

.control-label h4 [class="icon-ok-sign"] {
	color: #0088cc;
	display: inline-block;
	font-size: 30px;
	margin-top: -2.5px;
	vertical-align: middle;
}

.control-label .org-picture {
	float: right;
	height: 76px;
	width: 76px;
	margin: 0 0 0 20px;
	border-radius: 3px;
}

/* .editor-panel > .control-group:first-child {
  margin-top: 0;
  padding-top: 20px;
} */

 /* Refer to editor.css */
/* .editor-panel .control-group.welcome:last-child {
	margin-bottom: 25px;
} */

.welcome p {
	margain: 5px 0;
}

.control-group.welcome .control-label {
	float: none;
	width: auto;
}

.control-group.welcome a.cluetip {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px dotted #bbbbbb;
}

.control-group.welcome a.cluetip:hover {
	color: black;
	border-bottom: 1px solid black;
}

.control-group.no-border {
	border-bottom: none;
	padding-bottom: 0;
}

.radio input[type="radio"],
.radio input[type="radio"]:focus {
	outline: none;
}

.radio input[type="radio"] {
	margin-right: 10px;
}

label.radio:not(:last-of-type) {
	margin-bottom: 25px;
}

label.radio .help-block {
	/* color: inherit; */
	margin-top: 3px !important;
}

/* Increase help font size */
.help-block {
	font-size: 14px;
	margin-bottom: 0;
}

/* Revert to smaller size in controls in dialogs */
.modal .help-block {
	font-size: 10pt;
}

.help-block.styled {
	margin-top: 20px;
	padding-top: 10px;
	border-top: 1px solid #dddddd;
}

.help-block .collapse {
	/* margin-top: 15px; */
}


/* ----- Incentives ----- */

#reward-grid.control-group {
	padding-bottom: 0;
	border-bottom: none;
}

#reward-grid:empty {
	/* padding: 0;
	border-bottom: none; */
	display: none;
}

/* Reinstate styles removed in editor.css */
.reward:last-child {
	border-bottom: 1px solid #eee;
	padding-bottom: 25px;
}

/* #reward-label #title-editor {
	display: none;
} */

/* #reward-label #title-quickstart {
	display: inline-block;
} */

.visible-enrollment {
	/* display: initial !important; */
	display: inherit !important;
}

/* .hidden-enrollment {
	display: none !important;
} */


/* ----- Sidebars ----- */

.sidebar h4 {
	margin-top: 30px;
}

.sidebar h4:first-child {
	margin-top: 10px;
}

/* Sidebar stats in welcome page */
#total-raised h4 {
	font-size: 30px;
}

#total-raised p {
	font-size: 16px;
}

.list-dot {
	background: none repeat scroll 0 0 #f39223;
	border-radius: 50%;
	color: #FFFFFF;
	display: inline-block;
	font-style: normal;
	height: 1.4em;
	text-align: center;
	vertical-align: top;
	width: 1.4em;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

/* Video in sidebar */
#sidebar-video {
	width: 275px;
	height: 154px
}

@media (max-width: 990px) {
	#sidebar-video {
		width: 205px;
		height: 114px
	}
}

#auth-dialog {
	background-color: white;
	z-index: 10000;
}

#auth-dialog h2 {
	line-height: 1.05em;
	margin: 5px 0 10px;
}


/* ----- Auth dialog A/B tests ----- */

h3.auth-header {
	margin: 10px 0 15px;
}

#auth-blurb-b i[class^="icon-"] {
	/* display: block; */
	display: inline-block;
	float: left;
	width: 90%;
	width: 22px;
	color: #006699;
	font-size: 18px;
}

#auth-blurb-b p {
	display: block;
	float: left;
	width: calc(100% - 22px);
	color: #555555;
	line-height: 1.3em;
	margin-top: 0;
	margin-bottom: 10px;
}

#campaign-form-account .tab-pane .control-group:last-child {
	border-bottom: 1px solid #eee !important;
}


/* ---- Org selector ----- */

#org-type option {
	padding: 5px;
}

#organization-signup-existing .dropdown-menu a,
#existing-organizations .dropdown-menu a {
	line-height: 30px;
	padding: 8px 20px 8px 15px;
	background-image: none; 	/* Override BS */
	overflow: hidden;
	text-overflow: ellipsis;
}

#organization-signup-existing .dropdown-menu a:hover,
#existing-organizations .dropdown-menu a:hover {
	background-color: #0088cc;
}

#organization-select {
	width: 85%;
	width: calc(100% - 54px);
	background-color: #fff;
	color: #333;
	cursor: default;
	overflow-x: hidden;
	text-overflow: ellipsis;
	
	/* For big avatar */
	height: auto;
	width: calc(100% - 64px);
	line-height: 32px;	/* img height + border */
	padding: 8px 12px;
}

#organization-select + .btn.dropdown-toggle {
	height: 50px;	/* img + padding + border */
}

#organization-select.active {
	color: white;
	background-color: #0088cc;
	border-color: #0088cc;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
}

#organization-signup-existing img.org-picture,
#existing-organizations img.org-picture {
	float: left;
	width: 30px;
	height: 30px;
	margin-right: 10px;
	border: 1px solid #dddddd;
	border-radius: 1px;
}

.row-fluid .twitter-typeahead,
.row-fluid .twitter-typeahead input {
	width: 100%;
	height: inherit;
	overflow: hidden;
}


/* ---- TinyMCE right border fix for Chrome ----- */

/* In Chrome, in Bootstrap fluid layout, sub-pixel column widths 
   can cause the right border on TinyMCE editor  not to render.
   Fix: subtract 1px then add 1px from the width of every immediate 
   child of the column.
 */

.container-fluid #story-column > div {
	/* width: 99.5%;
	width: calc(100% - 1px + 1px); */
	
	/* Revised 20150418 */
	width: 100.5%;
}


/* ----- Org signup form ----- */

/* #organization-signup-existing,
#organization-signup-new {
	margin-top: -50px;
	background: white;
} */

#organization-signup-wrapper .control-label {
	font-size: inherit;
	font-weight: normal;
}

#organization-signup-wrapper .controls .row div {
	margin-bottom: 12px;
}

/* Text input should be 100% wide in org signup form */
/* #campaign-form-account input[type="text"], */
#organization-signup-wrapper input[type="text"] {
	width: 100%;
	height: 30px;
	margin-bottom: 5px;
}

#organization-signup-wrapper input[type="text"] {
	margin-bottom: 20px;
}

#organization-signup-wrapper .controls label {
	/* color: #737373; */
	/* font-size: small; */
	margin-bottom: 3px;
}

.btn-group.stacked .or-divider {
	display: none;
	
	min-height: 0px !important; 
	color: #bbbbbb; 
	text-align: center; 
	font-size: 12px; 
	line-height: 1em;
	font-weight: normal;
	text-transform: uppercase; 
	margin: -2px 0 8px !important; 
}

#org-image.logo {
	border: 1px solid #dddddd;
	border-radius: 3px;
}


/* ----- Campaign preview ----- */

#preview-lightbox {
	position: absolute;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	
	/* 	About width and height:
		Setting an explicit width or height prevents horizontal browser scrollbar
		when needed. Solution: removed modal class from element and rely on inherent 
		block-level behaviour of the div.   */
		
	/* width: 100%; */
	
	/* width: 100%;
	width: calc(100% - 40px);
	height: auto !important; */
	/* padding: 0 20px; */
	
	z-index: 1600;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	border: none;
	/* background-color: rgba(0,0,0,.6); */
	overflow: visible !important;
}

#preview-lightbox .modal-body {
	text-align: center;
	padding: 0;
	overflow: visible !important;
}

#preview-lightbox #preview-header {
	position: fixed;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	margin: 0;
	padding: 20px;
	background: rgb(4, 4, 4);
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.9);
	box-shadow: 0 1px 3px 0 rgba(0,0,0,.2);
	z-index: 9000;
}

#preview-lightbox ul.nav {
	display: block;
	/* width: 100%;
	margin: 30px 0; */
	
	/* For fixed nav */
	/* position: fixed;
	top: 0;
	left: 0;
	margin: 0;
	padding: 20px 0;
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.9);
	box-shadow: 0 1px 3px 0 rgba(0,0,0,.2);
	z-index: 9000; */
}

#preview-lightbox ul.nav > li a {
	display: inline-block;
}

ul.dot-between > li:before, 
ul.dot-between .hidden-phone li:before, 
ul.dot-between .dot-after:after {
  opacity: .5;
}

#preview-lightbox ul.nav a:hover {
	background-color: transparent;
}

#preview-lightbox ul.nav li.active a,
#preview-lightbox ul.nav li.active a:hover {
	color: #eee;
	color: rgba(255, 255, 255, 0.9);
	padding-bottom: 3px;
	border-bottom: 5px solid white;
}

#preview-lightbox ul.nav a:hover {
	color: #fff;
}

#preview-lightbox .modal-header h3,
#preview-lightbox .modal-header button {
	color: #ccc;
	opacity: 1.0;
}

#preview-lightbox #preview-footer {
	position: absolute;
	bottom: 0;
	display: block;
	width: 100%;
	text-align: center;
	padding: 20px;
	background: rgba(0,0,0,.9);
}

.assurance-msg {
	margin: 10px auto 0; 
}

#preview-lightbox iframe {
	background-color: #fff;
	background-color: rgba(255,255,255,.1);
	background-image: url('/National_Library/oe_/https://fundrazr.com/img/loader-light-big.gif'); 
	background-repeat: no-repeat;
	background-position: center 20px;
	border-radius: 3px;
}


/* ----- Buttons ----- */

.btn-group.stacked > .btn {
	display: block;
	float: none;
	margin: 0 0 15px;
	padding-top: 15px;
	padding-bottom: 15px;
	border-radius: 4px;
}

.btn-group.stacked > .btn:last-child {
	margin-bottom: 0;
}

.btn-solo {
	text-align: left;
	white-space: normal;
	padding: 15px 20px;
	cursor: default;
}

.btn-solo .doodad {
	top: -20px;
}


/* ----- Validation ----- */

.validation-message {
	clear: both;
	margin-top: 20px !important;
	text-align: center;
}

.account-validation {
	clear: both;
}


/* ----- Responsive ----- */

@media (max-width: 990px) {
	
	#total-raised h4 {
		font-size: 23px;
	}
	
	#story-placeholder {
		top: 90px !important;
	}
	
}

@media (max-width: 759px) {
	
	ul.breadcrumbs {
		display: flex;
		width: 100%;
		margin: 0;
	}
	
	ul.breadcrumbs li span.progress-bar {
		margin: 10px 0 0;
	}
	
	ul.breadcrumbs li.last span.progress-bar:before {
		/* background: transparent; */
	}
	
	ul.breadcrumbs li.current-step span.progress-bar {
		/* background: #33bbff; */
	}
	
	ul.breadcrumbs li {
		flex: 1;
		padding: 0;
		text-align: center;
	}
	
	ul.breadcrumbs li h1 {
		font-family: inherit;
		font-size: inherit;
	}
	
	ul.breadcrumbs li span.progress-bar {
		/* height: 6px; */
	}
	
	.editor-panel .form-actions {
		padding: 15px;
	}
	
	.wizard-step .span12 .container-fluid {
		padding: 0 !important;
	}
	
	.editor-panel .form-actions button[type="button"] {
		margin-left: 0;
	}
	
	.editor-panel .form-actions .btn-large {
		font-size: medium;
	}
	
	.help-callout {
		margin-bottom: 20px;
	}
	
	.editor-panel .help-block {
		margin-top: 10px !important;
		margin-bottom: 10px !important;
	}
	
	.control-label + * {
		margin-top: 10px;
	}
	
	.control-label h4, 
	#reward-label div:first-child {
		margin-bottom: 10px !important;
	}
	
	.modal .form-horizontal .control-label {
		float: none !important;
	}
	
	.modal .form-horizontal .controls {
		margin-left: 0 !important;
	}
	
	#details-deadline-duration {
		width: 57px;
	}
	
	#campaign-form-account .twitter-typeahead {
		width: 85%;
	}
	
	#organization-select {
		display: inline-block;
	}
	
	#signup-complete-checkmarks {
		margin-left: 0;
	}
	
	#story-placeholder {
		top: 60px !important;
	}
}


/* Up to landscape phone */
@media (max-width: 480px) {
	
	
	/* ----- Breadcrumbs ----- */
	
	/* Lighter default labels */
	ul.breadcrumbs li {
		color: #ccc;
	}
	
	/* Label modifications */
	ul.breadcrumbs li > *:first-child {
		font-size: small;
		line-height: 0;
		text-transform: uppercase;
	}
	
	/*	Prevent space between breadcrumb 
		labels from collapsing.
     */
	ul.breadcrumbs li > *:first-child {
		padding-left: 5px;
		padding-right: 5px;
	}
	
	/*	Keep this code!
		Hide text labels in previous 
		and next steps.
	 */
	/* ul.breadcrumbs li.unviewed > *:first-child,
	ul.breadcrumbs li.goto > *:first-child {
		display: block;
		visibility: hidden;
		width: 0;
		padding: 0;
	} */
	
	/* 	Keep this code!
		Text label substitution before current step.
		00B7 is middle dot.
	 */
	/* ul.breadcrumbs li.goto > *:first-child::after {
		position: absolute;
		left: 49%;
		content: "\00B7";
		visibility: visible;
	} */
	
	/* 	Keep this code!
		Text label substitution after current step
	 */
	/* ul.breadcrumbs li.unviewed > *:first-child::after {
		position: absolute;
		left: 49%;
		content: "\00B7";
		visibility: visible;
	} */
	
	/* 	Keep this code!
		Prevent text label substitution 
		in step after current
	 */
	/* ul.breadcrumbs li.unviewed:first-of-type > *:first-child::after */
	/* ul.breadcrumbs li.current-step + li.unviewed > *:first-child::after {
		content: none;
	} */
	
	/* 	Keep this code!
		Show dividers in progress bar.
	 */
	ul.breadcrumbs li span.progress-bar {
		border-right: 1px solid #ddd;
		border-right: 1px solid rgba(111,111,111,.2);
	}
	
	ul.breadcrumbs li.not-last span.progress-bar {
		border-right: 1px solid #80c4e6;
		border-right: 1px solid rgba(255,255,255,.3);
	}
	
	/* 	Always show the step after current
		and the last step viewed.
	 */
	ul.breadcrumbs li.current-step + li.unviewed > *:first-child,
	ul.breadcrumbs li.last-step > *:first-child {
		visibility: visible;
		width: auto;
	}
	
	
	/* ----- Title bar ----- */
	
	.title-bar {
		display: none;
		padding: 30px 0 !important;
	}
	
	/* .title-bar #snapshot {
		width: 50px;
		height: 50px;
	} */
	
	/* .title-bar #qs-title {
		height: 50px !important;
	} */
	
	
	/* ----- Panels layout ----- */
	
	.editor-panel.wizard-step {
		margin-top: 10px;
	}
	
	.editor-panel .control-group {
	}
	
	/* .editor-panel .help-block {
		margin-top: 10px !important;
		margin-bottom: 10px !important;
	} */
	
	.editor-panel .form-actions {
		padding: 15px 0;
	}
	
	.control-group.row {
		margin: 0 -20px;
		padding: 30px 20px;
	}
	
	/* .control-label + * {
		margin-top: 15px;
	} */
	
	/* .control-label h4, 
	#reward-label div:first-child {
		margin-bottom: 10px !important;
	} */
	
	.org-info-value {
		padding: 0;
	}
	
	/* Override inline style on country selector */
	#organization-signup-wrapper .row-fluid {
		margin-bottom: 0 !important;
	}
	
	#organization-signup-wrapper select {
		margin-bottom: 20px;
	}
	
	#org-image.logo {
		margin-bottom: 10px;
	}
	
	
	/* ----- Image uploader ----- */
	
	/* 	Is this required?
		Commented out 20161027 AC
	 */
	/* #media-upload-box {
		display: block !important;
	} */
	
	/* #media-upload-progress {
		width: 100%;
		height: 100%;
	} */
	
	/* 16:9 */
	.image-preview {
		width: 270px;
		height: 152px !important;
		/* margin-left: auto;
		margin-right: auto; */
	}
	
	#media-upload-progress {
		padding: 66px 0 !important;
	}
	
	#story-placeholder {
		top: 90px !important;
	}
	
	#search-charities-input {
		width: 80.5% !important;
	}
	
	#search-charities-location {
		display: none;
	}
	
	
	/* ----- Forms ----- */
	
	/* 	Prevent inline label spans from displaying as block */
	label.inline[class*="span"] {
		float: left;
		white-space: nowrap;
		margin-left: initial !important;
		margin-right: 10px !important;
	}
	
	label.inline.span6 {
		max-width: 50%;
	}
	
	label.inline.span4 {
		max-width: 33%;
	}
	
	label.inline.span3 {
		max-width: 25%;
	}
	
	label.inline.span2 {
		max-width: 16.5%;
	}
	
}

@media (max-width: 375px) {
	#story-placeholder {
		top: 120px !important;
	}
}