/* Fade front-to-back card  */
.fader-container {
	width: 100%;
	height: 320px;
	position: relative;
	background-color: white;
	border-top: 15px solid #18387b;
}

.front, .back {
	width: 100%;
	height: 100%;
	padding: 5%;
	top: 0;
	left: 0;
	transition-duration: .5s;
	background-color: white;
}
.front {
	position: absolute;
	z-index: 2;
}
.fader-container:hover .front {
	opacity: 0;
}

.back {
	opacity: 0;
	position: absolute;
}
.fader-container:hover .back {
	opacity: 1;
	z-index: 5;
}


/* Circle image with text on left or right */
.circle-and-text {
	margin: 75px auto;
  max-width: 960px;
  position: relative;
  padding: 0 15px;
  display: table;
  width: 100%;
  table-layout: fixed;
}
.circle-and-text .image-container, 
.circle-and-text .content { 
	vertical-align: middle;
	display: table-cell;
}
.circle-and-text .image-container{
	width: 300px; 
}
.circle-and-text .border-wrapper {
	border-radius: 50%;
  width: 300px;
  height: 300px;
  margin: auto;
}
.circle-and-text .mobile-image { display: none; } /* hide mobile image copy */
.circle-and-text .image { 
  height: 300px;
  width: 300px;
  border-radius: 50%; 
}
.circle-and-text.document-and-text .border-wrapper {
  text-align: center;
}
.circle-and-text.document-and-text .image { 
	height: auto;
	width: auto;
	border-radius: 0; 
  border: 1px solid #ddd;
  max-width: 100%;
  max-height: 100%;
}
.circle-and-text.left .content { padding-left: 2em; }
.circle-and-text.right .content { padding-right: 2em; }

@media screen and (max-width: 767px) {
	.circle-and-text .image {
		margin: auto auto 1em auto;
	}
	#theme-page .circle-and-text .content  {
		display: block;
		padding: 0;
		text-align: center;
	}
	.circle-and-text .content > p {
		text-align: left;
	}
	.circle-and-text .secondary-button {
		margin-right: auto;
		margin-left: auto;
		display: block;
	}
	/* show mobile image copy */
	.circle-and-text .image-container { display: none; }
	.circle-and-text .mobile-image, 
	.circle-and-text .mobile-image .image-container {
		display: block;
		width: 100%;
		text-align: center;
	} 
}


/* Bar with donate button */
.donation-bar {
  text-align: center;
  background-color: #333;
  padding: .5em;
  width: 100%;
}
.donation-bar > .text {
	display: inline-block;
  margin: 0.5em;
  margin-bottom: 0;
	color: white;
  font-size: 36px;
  font-weight: bold;
	font-family: 'Trade Gothic W01 Cn_18';
}
.donation-bar > .primary-button {
	display: inline-block;
  margin: 0.5em;
  padding: .3em;
  font-size: 30px;
  font-weight: bold;
  border-width: 3px;
}
@media screen and (max-width: 767px ) {
	.donation-bar > .text {
		display: block;
		font-size: 20px;
		margin-bottom: 0;
	}
}


/* Zoom-in bullet points with checkmarks*/
.zoom-bullet-container {
	margin: auto;
	display: table;
}
.zoom-bullet-point {
  padding-left: 1.5em;
  position: relative;
	float: left;
	clear: both;
  margin: 20px 0;
  font-family: 'Trade Gothic W01 Cn_18';
  text-align: left;
}
.zoom-bullet-point:before {
  content: "\e26c";
  font-family: 'Icomoon';
  color: #AC0022;
  position: absolute;
  left: 0;
}

/* Small box with number and text to demonstrate achievement */
.impact-box {
  display: inline-block;
  margin: 5px;
  height: 160px;
  width: 230px;
  background-color: #18387B;
  padding: 1.5em .5em;
  text-align: center;
  line-height: 1;
  color: white;
  vertical-align: top;
}

.impact-box-number {
	font-size: 60px;
  font-family: 'TradeGothicW01-BoldCn20_675334';
}

.impact-box > .mini-hr {
 	margin: 1em 0;
 	border-color: white;
}

.impact-box-text {
  font-size: 20px;
  line-height: 1.3;
}
.impact-box-small {
	height: 120px;
	width: 150px;
}
.impact-box-small > .impact-box-number {
	font-size: 36px;
}
.impact-box-small > .mini-hr {
 	margin: 12px 0;
}
.impact-box-small > .impact-box-text {
	font-size: 16px;
}

/* Facebook gallery. Lots of possible customization */
.fb-gallery {}
.fb-photo {
	height: 250px;
	width: 250px;
	margin: .5em;
}
