/* General styles for the modal */

/*
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the
perspective effects (not including the modals and the overlay).
*/

/* Individual modal styles with animations/transitions */

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

/* Effect 2: Slide from the right */
.md-effect-2 .md-content {
	-webkit-transform: translateX(20%);
	-moz-transform: translateX(20%);
	-ms-transform: translateX(20%);
	transform: translateX(20%);
	opacity: 0;
	-webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	-moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.md-show.md-effect-2 .md-content {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	opacity: 1;
}

/* Effect 3: Slide from the bottom */
.md-effect-3 .md-content {
	-webkit-transform: translateY(20%);
	-moz-transform: translateY(20%);
	-ms-transform: translateY(20%);
	transform: translateY(20%);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-3 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

/* Effect 4: Newspaper */
.md-effect-4 .md-content {
	-webkit-transform: rotate(0deg) scale(0);
	-moz-transform: rotate(0deg) scale(0);
	-ms-transform: rotate(0deg) scale(0);
	transform: rotate(0deg) scale(0);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	opacity: 0;
}

.md-show.md-effect-4 ~ .md-overlay,
.md-effect-4 .md-content {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.md-show.md-effect-4 .md-content {
	-webkit-transform: rotate(720deg) scale(1.0); /* Chrome 4+, Op 15+, Saf 3.1, iOS Saf 3.2+ */
		 -moz-transform: rotate(720deg) scale(1.0); /* Fx 3.5-15 */
			-ms-transform: rotate(720deg) scale(1.0); /* IE 9 */
			 -o-transform: rotate(720deg) scale(1.0); /* Op 10.5-12 */
					transform: rotate(720deg) scale(1.0);
	opacity: 1;
}

/* Effect 5: fall */
.md-effect-5.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-5 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(600px) rotateX(20deg);
	-moz-transform: translateZ(600px) rotateX(20deg);
	-ms-transform: translateZ(600px) rotateX(20deg);
	transform: translateZ(600px) rotateX(20deg);
	opacity: 0;
}

.md-show.md-effect-5 .md-content {
	-webkit-transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	transition: all 0.3s ease-in;
	-webkit-transform: translateZ(0px) rotateX(0deg);
	-moz-transform: translateZ(0px) rotateX(0deg);
	-ms-transform: translateZ(0px) rotateX(0deg);
	transform: translateZ(0px) rotateX(0deg);
	opacity: 1;
}

/* Effect 6: side fall */
.md-effect-6.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-6 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translate(30%) translateZ(600px) rotate(10deg);
	-moz-transform: translate(30%) translateZ(600px) rotate(10deg);
	-ms-transform: translate(30%) translateZ(600px) rotate(10deg);
	transform: translate(30%) translateZ(600px) rotate(10deg);
	opacity: 0;
}

.md-show.md-effect-6 .md-content {
	-webkit-transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	transition: all 0.3s ease-in;
	-webkit-transform: translate(0%) translateZ(0) rotate(0deg);
	-moz-transform: translate(0%) translateZ(0) rotate(0deg);
	-ms-transform: translate(0%) translateZ(0) rotate(0deg);
	transform: translate(0%) translateZ(0) rotate(0deg);
	opacity: 1;
}

/* Effect 7:  slide and stick to top */
.md-effect-7{
	top: 0;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.md-effect-7 .md-content {
	-webkit-transform: translateY(-200%);
	-moz-transform: translateY(-200%);
	-ms-transform: translateY(-200%);
	transform: translateY(-200%);
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	opacity: 0;
}

.md-show.md-effect-7 .md-content {
	-webkit-transform: translateY(0%);
	-moz-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
	border-radius: 0 0 3px 3px;
	opacity: 1;
}

/* Effect 8: 3D flip horizontal */
.md-effect-8.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-8 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateY(-70deg);
	-moz-transform: rotateY(-70deg);
	-ms-transform: rotateY(-70deg);
	transform: rotateY(-70deg);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	opacity: 0;
}

.md-show.md-effect-8 .md-content {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
	opacity: 1;
}

/* Effect 9: 3D flip vertical */
.md-effect-9.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-9 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateX(-70deg);
	-moz-transform: rotateX(-70deg);
	-ms-transform: rotateX(-70deg);
	transform: rotateX(-70deg);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	opacity: 0;
}

.md-show.md-effect-9 .md-content {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1;
}

/* Effect 10: 3D sign */
.md-effect-10.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-10 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateX(-60deg);
	-moz-transform: rotateX(-60deg);
	-ms-transform: rotateX(-60deg);
	transform: rotateX(-60deg);
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	transform-origin: 50% 0;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-10 .md-content {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1;
}

/* Effect 11: Super scaled */
.md-effect-11 .md-content {
	-webkit-transform: scale(2);
	-moz-transform: scale(2);
	-ms-transform: scale(2);
	transform: scale(2);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-11 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

/* Effect 12:  Just me */
.md-effect-12 .md-content {
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-12 ~ .md-overlay {
	background: #e74c3c;
}

.md-effect-12 .md-content h3,
.md-effect-12 .md-content {
	background: transparent;
}

.md-show.md-effect-12 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

/* Effect 13: 3D slit */
.md-effect-13.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-13 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(-3000px) rotateY(90deg);
	-moz-transform: translateZ(-3000px) rotateY(90deg);
	-ms-transform: translateZ(-3000px) rotateY(90deg);
	transform: translateZ(-3000px) rotateY(90deg);
	opacity: 0;
}

.md-show.md-effect-13 .md-content {
	-webkit-animation: slit .7s forwards ease-out;
	-moz-animation: slit .7s forwards ease-out;
	animation: slit .7s forwards ease-out;
}

@-webkit-keyframes slit {
	50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;}
	100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@-moz-keyframes slit {
	50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;}
	100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@keyframes slit {
	50% { transform: translateZ(-250px) rotateY(89deg); opacity: 1; animation-timing-function: ease-in;}
	100% { transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

/* Effect 14:  3D Rotate from bottom */
.md-effect-14.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-14 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateY(100%) rotateX(90deg);
	-moz-transform: translateY(100%) rotateX(90deg);
	-ms-transform: translateY(100%) rotateX(90deg);
	transform: translateY(100%) rotateX(90deg);
	-webkit-transform-origin: 0 100%;
	-moz-transform-origin: 0 100%;
	transform-origin: 0 100%;
	opacity: 0;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.md-show.md-effect-14 .md-content {
	-webkit-transform: translateY(0%) rotateX(0deg);
	-moz-transform: translateY(0%) rotateX(0deg);
	-ms-transform: translateY(0%) rotateX(0deg);
	transform: translateY(0%) rotateX(0deg);
	opacity: 1;
}

/* Effect 15:  3D Rotate in from left */
.md-effect-15.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-15 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	-moz-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	-ms-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	-webkit-transform-origin: 0 100%;
	-moz-transform-origin: 0 100%;
	transform-origin: 0 100%;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-15 .md-content {
	-webkit-transform: translateZ(0px) translateX(0%) rotateY(0deg);
	-moz-transform: translateZ(0px) translateX(0%) rotateY(0deg);
	-ms-transform: translateZ(0px) translateX(0%) rotateY(0deg);
	transform: translateZ(0px) translateX(0%) rotateY(0deg);
	opacity: 1;
}

/* Effect 16:  Blur */
.md-show.md-effect-16 ~ .md-overlay {
	background: rgba(180,46,32,0.5);
}

.md-show.md-effect-16 ~ .container {
	-webkit-filter: blur(3px);
	-moz-filter: blur(3px);
	filter: blur(3px);
}

.md-effect-16 .md-content {
	-webkit-transform: translateY(-5%);
	-moz-transform: translateY(-5%);
	-ms-transform: translateY(-5%);
	transform: translateY(-5%);
	opacity: 0;
}

.md-show.md-effect-16 ~ .container,
.md-effect-16 .md-content {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-16 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

/* Effect 17:  Slide in from bottom with perspective on container */
.md-show.md-effect-17 ~ .container {
	height: 100%;
	overflow: hidden;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
}

.md-show.md-effect-17 ~ .container,
.md-show.md-effect-17 ~ .md-overlay  {
	-webkit-transform: rotateX(-2deg);
	-moz-transform: rotateX(-2deg);
	-ms-transform: rotateX(-2deg);
	transform: rotateX(-2deg);
	-webkit-transform-origin: 50% 0%;
	-moz-transform-origin: 50% 0%;
	transform-origin: 50% 0%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.md-effect-17 .md-content {
	opacity: 0;
	-webkit-transform: translateY(200%);
	-moz-transform: translateY(200%);
	-ms-transform: translateY(200%);
	transform: translateY(200%);
}

.md-show.md-effect-17 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
	-webkit-transition: all 0.3s 0.2s;
	-moz-transition: all 0.3s 0.2s;
	transition: all 0.3s 0.2s;
}

/* Effect 18:  Slide from right with perspective on container */
.md-show.md-effect-18 ~ .container {
	height: 100%;
	overflow: hidden;
}

.md-show.md-effect-18 ~ .md-overlay {
	background: rgba(143,27,15,0.8);
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.md-show.md-effect-18 ~ .container,
.md-show.md-effect-18 ~ .md-overlay {
	-webkit-transform-style: preserve-3d;
	-webkit-transform-origin: 0% 50%;
	-webkit-animation: rotateRightSideFirst 0.5s forwards ease-in;
	-moz-transform-style: preserve-3d;
	-moz-transform-origin: 0% 50%;
	-moz-animation: rotateRightSideFirst 0.5s forwards ease-in;
	transform-style: preserve-3d;
	transform-origin: 0% 50%;
	animation: rotateRightSideFirst 0.5s forwards ease-in;
}

@-webkit-keyframes rotateRightSideFirst {
	50% { -webkit-transform: translateZ(-50px) rotateY(5deg); -webkit-animation-timing-function: ease-out; }
	100% { -webkit-transform: translateZ(-200px); }
}

@-moz-keyframes rotateRightSideFirst {
	50% { -moz-transform: translateZ(-50px) rotateY(5deg); -moz-animation-timing-function: ease-out; }
	100% { -moz-transform: translateZ(-200px); }
}

@keyframes rotateRightSideFirst {
	50% { transform: translateZ(-50px) rotateY(5deg); animation-timing-function: ease-out; }
	100% { transform: translateZ(-200px); }
}

.md-effect-18 .md-content {
	-webkit-transform: translateX(200%);
	-moz-transform: translateX(200%);
	-ms-transform: translateX(200%);
	transform: translateX(200%);
	opacity: 0;
}

.md-show.md-effect-18 .md-content {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	opacity: 1;
	-webkit-transition: all 0.5s 0.1s;
	-moz-transition: all 0.5s 0.1s;
	transition: all 0.5s 0.1s;
}

/* Effect 19:  Slip in from the top with perspective on container */
.md-show.md-effect-19 ~ .container {
	height: 100%;
	overflow: hidden;
}

.md-show.md-effect-19 ~ .md-overlay {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.md-show.md-effect-19 ~ .container,
.md-show.md-effect-19 ~ .md-overlay {
	-webkit-transform-style: preserve-3d;
	-webkit-transform-origin: 50% 100%;
	-webkit-animation: OpenTop 0.5s forwards ease-in;
	-moz-transform-style: preserve-3d;
	-moz-transform-origin: 50% 100%;
	-moz-animation: OpenTop 0.5s forwards ease-in;
	transform-style: preserve-3d;
	transform-origin: 50% 100%;
	animation: OpenTop 0.5s forwards ease-in;
}

@-webkit-keyframes OpenTop {
	50% {
		-webkit-transform: rotateX(10deg);
		-webkit-animation-timing-function: ease-out;
	}
}

@-moz-keyframes OpenTop {
	50% {
		-moz-transform: rotateX(10deg);
		-moz-animation-timing-function: ease-out;
	}
}

@keyframes OpenTop {
	50% {
		transform: rotateX(10deg);
		animation-timing-function: ease-out;
	}
}

.md-effect-19 .md-content {
	-webkit-transform: translateY(-200%);
	-moz-transform: translateY(-200%);
	-ms-transform: translateY(-200%);
	transform: translateY(-200%);
	opacity: 0;
}

.md-show.md-effect-19 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
	-webkit-transition: all 0.5s 0.1s;
	-moz-transition: all 0.5s 0.1s;
	transition: all 0.5s 0.1s;
}

#donateMsg {
	font-size:16px;
	font-family: "Open Sans", Arial, sans-serif;
	-webkit-text-size-adjust: 100%;
}

#donateMsg button, #donateMsg input, #donateMsg select, #donateMsg textarea{
	font-family:inherit;
}
#donateMsg select, #donateMsg textarea, #donateMsg input[type="text"] {
	color: #555;
	background-color: #fff;
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	-webkit-transition: border linear .2s,box-shadow linear .2s;
	-moz-transition: border linear .2s,box-shadow linear .2s;
	-o-transition: border linear .2s,box-shadow linear .2s;
	transition: border linear .2s,box-shadow linear .2s;
	display:inline-block;
	padding:4px 6px;
	margin-bottom: 11px;
	line-height:22px;
	vertical-align: middle;
	box-sizing: content-box;

}
#donateMsg select:focus, #donateMsg textarea:focus, #donateMsg input[type="text"]:focus {
	border-color:rgba(82,168,236,0.8);
	outline: 0;
	outline: thin dotted \9;
	outline-color: initial;
	outline-style: initial;
	outline-width: 0px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
}

#donateMsg .spn-logo img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border-style: none;
	border:0;
}
.btn {
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align:middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: .37rem .75rem;
	line-height:1.5;
	border-radius: .25rem;
	-webkit-border-radius: .25rem;
	-moz-border-radius:.25rem;
	background-clip:         padding-box;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.btn-primary {
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}
.modalCloseButton {
	float:right;
	position:absolute;
	top:20px;
	left:92%;
	height:28px;
	color:#333;
	width:28px;
	border-radius:1px;
	-webkit-border-radius: 1px;
	-moz-border-radius:1px;
	text-align:center;
	vertical-align:middle;
	padding: 0;
	background-color:transparent;
	border: 1px solid #B8B7B8;
}
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.container {
	/* background: #e74c3c; */
	background: #f5f5f7;
	min-height: 100%;
}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 724px;
	height: 450px;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
	/* Fix blurry text issue */
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(33,37,41,0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	color: #fff;
	background: #f5f5f7;
	position: relative;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius:3px;
	margin: 0 auto;
	font-family: "Open Sans", Arial, sans-serif;
	-webkit-box-shadow: 6px 6px 15px 1px #000;
	-moz-box-shadow: 6px 6px 15px 1px #000;
box-shadow: 6px 6px 15px 1px #000;

}
.screen-reader-offscreen {
	position:absolute;
	left:-999px;
	width:1px;
	height:1px;
	top:auto;
}
.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 2.4em;
	font-weight: 300;
	opacity: 0.8;
	background: rgba(0,0,0,0.1);
	border-radius: 3px 3px 0 0;
	-webkit-border-radius: 3px 3px 0 0;
	-moz-border-radius:3px 3px 0 0;
	background-clip: padding-box;
}

.md-content > div {
	padding: 15px 20px;
	margin: 0;

}

.md-content > div p {
	margin: 0;
	padding: 10px 0;
	color: #333;
	font-weight: 300;
	font-size: 1.3em;
	word-spacing:1px;
	line-height:33.6px!important;
}

.md-content > div p:first-child {
	padding:0;
}

p.pop-msg{
	margin-bottom: 15px!important;
}

.md-leftcolumn .bold {
	font-weight: 700;
}

.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content > div ul li {
	padding: 5px 0;
}

.md-content button {
	display: block;
	margin: 0 auto;
	font-size: 1em;
}

/* Individual modal styles with animations/transitions */

.md-leftcolumn, .md-rightcolumn{
	margin-top:15px;
	margin-bottom:20px;
}
.md-leftcolumn{
	float:left;
	padding-right:15px;
	padding-left:15px
}
.md-rightcolumn{
	float:right;
	padding-left:5px;
	padding-top:15px;
}

.md-leftcolumn .form-control {
	float:left;
	width:49%;
	font-size:1.3em;
}
.md-leftcolumn select.form-control:not([size]):not([multiple]),.donateamt{
	height:56px;
	width:calc(49% - 50px);
	margin-left:10px;
	margin-top:6px;
	float:left;
}
.form-group form{
	margin:0!important;
}
#donateBtn {
	color: #fff;
	margin-top:8px;
	background-color:#428bca;
  background-image:-moz-linear-gradient(top,#428bca,#2e5e88);
  background-image:-webkit-gradient(linear,0 0,0 100%,from(#428bca),to(#2e5e88));
  background-image:-webkit-linear-gradient(top,#428bca,#2e5e88);
  background-image:-o-linear-gradient(top,#428bca,#2e5e88);
  background-image:linear-gradient(to bottom,#428bca,#2e5e88);
  background-repeat:repeat-x;
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff000099',endColorstr='#ff000066',GradientType=0);
	border-color:#2e5e88 #2e5e88 #000019;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  *background-color:#2e5e88;
  filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);
	position:relative;
}

#donateBtn:hover,#donateBtn:focus {
	background-position: 0 -70px;
	border-color:#054488;
}

#donateBtn:hover, .btn-donate:hover {
	color:#fff;
	background-color:#2e5e88;
	background-image:-moz-linear-gradient(top,#2e5e88,#428bca);
	background-image:-webkit-gradient(linear,0 0,0 100%,from(#428bca),to(#428bca));
	background-image:-webkit-linear-gradient(top,#2e5e88,#428bca);
	background-image:-o-linear-gradient(top,#2e5e88,#428bca);
	background-image:linear-gradient(to bottom,#2e5e88,#428bca);
	background-repeat:repeat-x;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff000099',endColorstr='#ff000066',GradientType=0);
	border-color:#428bca #428bca #000019;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
	*background-color:#428bca;
	filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
#donateBtn span.paylink {
	margin-left:-15px;
}
#donateBtn span.paylink:after{
	content: "\27A6";
	font-size:1.6em;
	line-height: 0.8em;
	margin-right: -5px;
	margin-left: 5px;
	position:absolute;
	top: calc(50% - 13px);

}
span.paylink.monthly{
	font-size:90%;
}


.spn-logo {
	float: left;
	border: 1px solid rgba(0,0,0,.2);
	width:64px;
	height:64px;
	border-radius:100%;
	box-shadow: 1px 1px 5px 1px #333;
	margin-right:15px;
	background-color:#fff;
	box-sizing: border-box;
}

.other-amount{
	float:left;
	width: calc(49% - 50px);
	position:relative;
}
.other-amount input[name="other-amount"]{
	width:calc(100% - 30px);
	height:38px;
	margin-top:8px;
	padding-left:30px!important;
	font-size:1.3em;
	border-radius:4px;
	-webkit-border-radius: 4px;
	-moz-border-radius:4px;
	background-clip:         padding-box;
	border: 1px solid #ccc;
	color:#555;
}
.other-amount .dollar-sign{
	position:absolute;
	left:20px;
	top:23px;
	color:#999;
	font-size:1.2em;
}

@media screen and (min-width:701px){
	.spn-logo {
		float: left;
		border: 1px solid rgba(0,0,0,.2);
		width:64px;
		height:64px;
		border-radius:100%;
		box-shadow: 1px 1px 5px 1px #333;
		margin-right:15px;
		background-color:#fff;
	}
	.select-amount {
		float:left;
		width: auto;
		width:calc(49% - 50px);
	}

	.otherbox {
	  width: calc(100% - 25px);
		margin: 10px 20px 0 10px;
	}

	#donateBtn {
		width:calc(49% - 50px);
		float:right;
		height:48px;
		border-radius: 4px;
		-webkit-border-radius: 4px;
		-moz-border-radius:4px;
		background-clip:         padding-box;
	}

}

/*************************
The following section deals with donation form with button amount selection
**************************/

.tabs.time-amount {
	width:100%;
	display:table;
	table-layout:fixed;
	margin-bottom: 25px;
	color: #333;
}
.tabs>.tab{
	display: table-cell;
	text-align: center;
	cursor: pointer;
	border: 1px solid #c9c9c9;
	position:relative;

}
.tabs>.tab.is-active {
	color: #fff;
	border-bottom: 1px solid #1d6191;
	background-color: #1d6191;
	font-weight: 700;
}
.tabs>.tab.is-active:after{
	content:'';
	width:100%;
	height:4px;
	border-top:2px solid #1d6191;
	top:100%;
	left:0;
	position:absolute;
	margin-top:4px;
}

.btn-container{
	width:100%;
	display:table;
	table-layout:fixed;
	white-space:nowrap;
	margin-bottom: 15px;
}
.amt-selector {
	display:table-cell;
	text-align:center;
	padding-left:5px;
	padding-right:5px;
}
.amt-selector:first-child{
	padding-right:10px;
	padding-left:0px;
}
.amt-selector button {
	color:#000;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f5f5f5+0,d5d5d5+100 */
background: #f5f5f5; /* Old browsers */
background: -moz-linear-gradient(top, #f5f5f5 0%, #d5d5d5 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #f5f5f5 0%,#d5d5d5 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #f5f5f5 0%,#d5d5d5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#d5d5d5',GradientType=0 ); /* IE6-9 */
	border: 1px solid #B8B7B8;

}
.btn-donate.is-active{
	color: #fff;
	background-color:#428bca;
  background-image:-moz-linear-gradient(top,#428bca,#2e5e88);
  background-image:-webkit-gradient(linear,0 0,0 100%,from(#428bca),to(#2e5e88));
  background-image:-webkit-linear-gradient(top,#428bca,#2e5e88);
  background-image:-o-linear-gradient(top,#428bca,#2e5e88);
  background-image:linear-gradient(to bottom,#428bca,#2e5e88);
  background-repeat:repeat-x;
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff000099',endColorstr='#ff000066',GradientType=0);
	border-color:#2e5e88 #2e5e88 #000019;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  *background-color:#2e5e88;
  filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.amt-selector:last-child {
	padding-left:10px;
	padding-right:0;
}
.single-payment, .monthly-payment{
	display:table-row;
}
.btn-container .btn-donate{
	font-size:1.3em;
	height:50px;
	display:block;
	width:100%;
}

.is-hidden{
	display:none;
}



/* BEGIN MEDIA QUERIES */

@media screen and (max-width: 860px) {
	.md-content > div p {
		font-size: 16px;
		line-height:25.2px!important;
	 }
	 #donateMsg button, #donateMsg input[type="text"] {
		 font-size:16px;
		 margin-top:0px;
	 }
	 .other-amount input[name="other-amount"]{
	 }
	 .paylink {
		 font-size:16px;
	 }

	.md-modal .dollar-sign { font-size:16.8px;}
	span.paylink.monthly {font-size: 100%;}
	.btn-container .btn-donate {
		 font-size:15.6px;
		height:30px;
	}
	p.pop-msg {padding-top:0!important;margin-bottom:10px!important;}
	.md-content > div p:first-child {padding:10px 0;}
	/* Target Safari */
	@supports (-webkit-appearance:none) {
		.other-amount .dollar-sign {
			top: 13px;
		}
	}
}

@media screen and (min-width:600px) and (max-width: 860px){
	.md-modal {
		width: 500px;
	}
	.modalCloseButton {
		left: calc(92% - 15px);
	}
	.spn-logo {
		margin-top: 15px;
		margin-right: 25px;
	}
	.md-leftcolumn select.form-control:not([size]):not([multiple]), .donateamt{
		height: 50px;
		width: calc(100% - 90px);
		margin-left:0;
	}
	#donateBtn {
		width: calc(100% - 90px);
		float: left;
		height: 35px;
		line-height:1.2em;
	}
	.other-amount{
		float:left;
		width: calc(100% - 90px);
		height:30px;
		margin-bottom:25px;
	}
	.other-amount input[name="other-amount"]{
		width:calc(100% - 39px);
		margin-bottom:25px;
		height:30px;
	}
	.other-amount .dollar-sign{
		left:15px;
		top:13px;
	}

	.md-content>.form-group {
		margin: 0;
	}
	.dollar-sign{
		top: calc(50% + 3px);
	}
}

@media screen and (max-width: 600px) {
	.md-modal {
		padding-left:5px;
		padding-right:5px;
		width: 340px;
	}
	.md-leftcolumn {
		padding-left:0;
		padding-right:0;
		margin-bottom:15px;
		margin-top:0;
	}
	.modalCloseButton {
		left: calc(92% - 15px);
	}
	.logo-container{
		width:100%;
		float:left;
		border-top: 1px solid  #9999994d;
		padding-top:15px;
		margin-bottom:15px;
	}

	.spn-logo {
		margin: 0 auto;
		float:none;
		width:44px;
		height:44px;
	}
	.md-leftcolumn select.form-control:not([size]):not([multiple]),.donateamt{
		height: 30px;
		width: 100%;
		margin-left:0;
		margin-bottom: 15px;
	}
	.other-amount{
		height: 30px;
		width: 100%;
		margin-left:0;
		margin-bottom: 25px;
	}
	.other-amount .dollar-sign{
		padding-top:3px;
		font-size:1.2em;
		left: 15px;
		top: 8px;
	}
	.other-amount input[name="other-amount"]{
		width:calc(100% - 40px);
		height:30px;
		margin-bottom: 25px;
	}

	#donateBtn {
		width: calc(100% - 1px);
		float: left;
		height: 40px;
	}
	.dollar-sign{
		top: calc(50% + 3px);
	}
}

/* Target Firefox */
@-moz-document url-prefix() {
  .modalCloseButton {
    border: 1px solid #B8B7B8;
		background-color:#d5d5d5;
	  background-image:-moz-linear-gradient(top,#d5d5d5,#F5F5F5);
	  background-image:-webkit-gradient(linear,0 0,0 100%,from(#d5d5d5),to(#F5F5F5));
	  background-image:-webkit-linear-gradient(top,#d5d5d5,#F5F5F5);
	  background-image:-o-linear-gradient(top,#d5d5d5,#F5F5F5);
	  background-image:linear-gradient(to bottom,#d5d5d5,#F5F5F5)
	  background-repeat:repeat-x;
	  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff000099',endColorstr='#ff000066',GradientType=0);
	  *background-color:#F5F5F5;
	  filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);
  }
}

/* Safari 10.1+ */

@media not all and (min-resolution:.001dpcm) {
	@supports (-webkit-overflow-scrolling: touch) {
  /* CSS specific to iOS devices */
		.modalCloseButton {
			line-height: 26px;
		}
		.tabs .tab {
			font-size: 18px;
		}
		#donateMsg input[type="text"]{
			line-height:26px;
		}
		.other-amount .dollar-sign {
			top:23px;
		}
		#donateBtn span.paylink:after{
			top: calc(50% - 15px);
		}
	}
}
/*********** TARGET MOBILE PHONES w/ration 2 ***********/
@media only screen
	and (max-device-width: 767px)
	and (orientation: portrait)
	and (-webkit-min-device-pixel-ratio: 2) {
		.md-modal {
			width: 80%;
			height: auto;
		}
		.md-content > div p {
			font-size: 2.5rem;
			line-height: 3.5rem!important;
		}

		.md-content button {
			font-size: 2.5rem;
		}

		.modalCloseButton {
			line-height:2.8rem;
			height:3rem;
			width:3rem;
			border: 2px solid #B8B7B8;
			top: 30px;
			right: 40px;
		}

		.md-leftcolumn {
			margin-bottom: 2.5rem;
		}

		.btn-container {
			margin-bottom: 2.5rem;
		}

		.btn-container .btn-donate {
			font-size: 2.5rem;
			height: 5rem;
		}

		.btn-donate.is-active {
			font-weight:bold;
		}
		.tabs.time-amount {
			margin-bottom: 50px;
		}
		.tabs .tab {
			font-size: 2.5rem;
			margin-bottom:50px;
		}

		.tabs>.tab.is-active:after{
			border-top: 4px solid #1d6191;
			margin-top: 8px;
		}
		.logo-container{
			width: 100%;
			float:left;
			border-top: 2px solid  rgba(153, 153, 153, .6);
			padding-top: 35px;
			margin-bottom: 30px;
		}

		.spn-logo {
			width: 100px;
			height: 100px;
			margin: 0 auto;
			float: none;
		}
		.other-amount {
			width: 100%;
			height: 100%;
			margin-bottom: 10px;
		}
		.other-amount input[name="other-amount"] {
			line-height: 3rem;
			height: 4.3rem;
			padding-left: 40px!important;
			font-size: 2.5rem;
			width: calc(100% - 70px);
		}
		.other-amount .dollar-sign {
			font-size: 2.5rem;
			top:28px;
			font-weight:bold;
		}
		#donateBtn {
			height: 5rem;
			width:calc(100% - 23px);
			float:left;
			margin-left:10px;
		}
		#donateMsg input[type="text"]{
			line-height:4.3rem;
		}
		#donateBtn span.paylink{
			font-size:2.5rem;
			font-weight:bold;
		}
		#donateBtn span.paylink:after {
			top: 13%;
		}

}
/* ----------- iPhone X ----------- */

@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 812px)
	and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 3) {
		.md-modal {
			width: 80%;
			height: auto;
		}
		.md-content > div p {
			font-size: 2.5rem;
			line-height: 3.5rem!important;
		}

		.md-content button {
			font-size: 2.5rem;
		}

		.modalCloseButton {
			line-height:2.8rem;
			height:3rem;
			width:3rem;
			border: 2px solid #B8B7B8;
			top: 30px;
			right: 40px;
		}

		.md-leftcolumn {
			margin-bottom: 2.5rem;
		}

		.tabs.time-amount {
			margin-bottom: 50px;
		}

		.btn-container {
			margin-bottom: 2.5rem;
		}

		.btn-container .btn-donate {
			font-size: 2.5rem;
			height: 5rem;
		}

		.btn-donate.is-active {
			font-weight:bold;
		}

		.tabs .tab {
			font-size: 2.5rem;
			margin-bottom:50px;
		}

		.tabs>.tab.is-active:after{
			border-top: 4px solid #1d6191;
			margin-top: 8px;
		}
		.logo-container{
			width: 100%;
			float:left;
			border-top: 2px solid  #9999994d;
			padding-top: 35px;
			margin-bottom: 30px;
		}

		.spn-logo {
			width: 100px;
			height: 100px;
			margin: 0 auto;
			float: none;
		}
		.other-amount {
			width: 100%;
			height: 100%;
			margin-bottom: 10px;
		}
		.other-amount input[name="other-amount"] {
			line-height: 3rem;
			height: 4.3rem;
			padding-left: 40px!important;
			font-size: 2.5rem;
			width: calc(100% - 70px);
		}
		.other-amount .dollar-sign {
			font-size: 2.5rem;
			top:28px;
			font-weight:bold;
		}
		#donateBtn {
			height: 5rem;
			width:calc(100% - 23px);
			float:left;
			margin-left:10px;
		}
		#donateMsg input[type="text"]{
			line-height:4.3rem;
		}
		#donateBtn span.paylink{
			font-size:2.5rem;
			font-weight:bold;
		}
		#donateBtn span.paylink:after {
			top: 13%;
		}
}
