/*

CSS organized with SMACSS

Base
Layout
Module
State
Theme 

*/

/* ===== Base ===== */

a, 
a:visited {
	color: #263779;
	font-weight: 700;
}

a:focus,
a:hover {
	color: #263779;
	font-weight: 700;
	opacity: 0.8;
}

body {
	background-color: #ffffff;
	color: #000000;
	font-family: "Lato", serif;
	font-size: 1.125rem;
	font-weight: 400;
}

button,
button:visited {
	background-color: #c32d27;
	border: none;
	border-radius: 5px;
	color: #ffffff;
	margin-bottom: 15px;
	padding: 15px;
	text-align: center;
	width: 100%;
}

button:focus,
button:hover {
	background-color: #611714;
	color: #ffffff;
	text-decoration: none;
}

footer {
	color: #ffffff;
	background-color: #263779;
	border-top: solid 5px #e2b13c;
	font-size: 1rem;
	padding-bottom: 30px;
	padding-top: 30px;
	text-align: center;
}

@media (min-width: 768px) {
	footer {
		text-align: initial;
	}
}

footer a,
footer a:visited {
	color: #ffffff;
	font-weight: 400;
	text-decoration: none;
}

footer a:focus,
footer a:hover {
	color: #ffffff;
	font-weight: 400;
	opacity: 0.8;
}

footer .bi {
	margin-right: 15px;
}

footer .contact,
footer .social-icons {
	margin: 0 0 30px 0;
	padding: 0;
}

footer .contact li,
footer .social-icons li {
	list-style: none;
}

footer h1 {
	font-size: 1.125rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-transform: uppercase;
}

h1 {
	font-size: 2.25rem;
}

h2 {
	font-size: 2rem;
}

header {
	background-color: #ffffff;
	padding-bottom: 15px;
	padding-top: 15px;
}

html {
  scroll-behavior: smooth;
}

input {
	background-color: #ffffff;
 	border: solid 1px #aab6bc;
	border-radius: 5px;
}

input[type=radio] {
	background-color: #ffffff;
	border: solid 1px #aab6bc;
	box-shadow: none;
}

input[type=email],
input[type=tel],
input[type=text] {
	width: 100%;
}

input[type=email],
input[type=month],
input[type=number],
input[type=tel],
input[type=text] {
    padding: 5px;
}

input[type=month] {
	width: auto;
}

input[type=number] {
	width: 90px;
}

label {
	display: block;
	margin: 15px 0 5px 0;
}

li {
	list-style: square;
}

main {
	background-color: #ffffff;
	padding: 15px 0;
}

@media (min-width: 768px) {
	main {
		padding: 15px 30px;
	}	
}

select {
	background-color: #ffffff;;
	border: solid 1px #aab6bc;
	border-radius: 5px;
	font-size: 16px;
	padding: 6.5px;
	width: 100%;
	-webkit-appearance: none;
  	-moz-appearance: none;
}

/* ===== Layout ===== */

.apple-pay-button {
	text-align: center;
}

.apple-pay-button a,
.apple-pay-button a:visited {
	background-color: #000000;
	border-radius: 5px;
	color: #ffffff;
	display: inline-block;
	font-weight: normal;
	margin-bottom: 30px;
	margin-top: 15px;
	padding-bottom: 15px;
	padding-top: 15px;
	text-decoration: none;
	width: 100%;
}

.apple-pay-button a:focus,
.apple-pay-button a:hover {
	background-color: #151515;
}

.apple-pay-or {
	color: #66737d;
	display: flex;
	flex-direction: row;
}

.apple-pay-or:before,
.apple-pay-or:after {
	border-bottom: 1px solid #aab6bc;
    content: "";
    flex: 1 1;
	margin: auto 15px;
}

.container {
	max-width: 1140px;
}

.go-back,
.go-back:visited {
	background-color: transparent;
	color: #263779;
	font-weight: 700;
	padding: 0;
}

.go-back:hover,
.go-back:focus {
	background-color: transparent;
	color: #263779;
	opacity: 0.8;
}

.nwasp-footer-logo {
	width: 150px;
	margin: 0 0 30px 0;
}

@media (min-width: 768px) {
	.nwasp-footer-logo {
		display: block;
		margin: 0 auto;
	}
}

.nwasp-header-logo {
	width: 175px;
}

.payment-type {
	background-color: #f5f5f5;
	border-radius: 5px;
	margin: 15px 0;
	padding: 15px;
}

/* Begin scroll button */
#scrollButton {
	animation: downup 1s infinite;
	background-color: #c32d27;
	border-radius: 5px;
	color: #ffffff;
	cursor: pointer;
	font-size: 12px;
	padding: 8px;
	position: fixed;
	letter-spacing: 1px;
	line-height: 16px;
	right: 20px;
	text-align: center;
	text-decoration: none;
  	top: 20px;	
    transition: opacity 0.2s ease;
	z-index: 1;
}

#scrollButton:hover {
	background-color: #611714;
}

#scrollButton.hidden {
  	opacity: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
	#scrollButton {
		display: none;
	}
}

@keyframes downup {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
/* End scroll button */

.signed img {
	width: 100%;
}

.signed .lisa-signature {
	height: auto;
	margin-bottom: 15px;
	max-width: 200px;
}

.signed .rachael-signature {
	height: auto;
	margin-bottom: 15px;
	max-width: 200px;
}

/* Sticky donation area */
@media (min-width: 768px) {
	.sticky-form {
    	position: sticky;
        top: 20px; 
    }
}

/* ===== Module ===== */

.btn,
.btn:visited {
	background-color: #c32d27;
	border: none;
	border-radius: 5px;
	color: #ffffff;
	font-weight: 400;
	margin-bottom: 15px;
	padding: 15px;
	text-align: center;
	width: 100%;
}

@media (min-width: 768px) {
	.btn,
	.btn:visited {
		width: auto;
	}
}

.btn:focus,
.btn:hover {
	background-color: #611714;
	color: #ffffff;
	font-weight: 400;
	opacity: 1;
	text-decoration: none;
}

@media print {
	
	/* ===== Base ===== */
	
	h1 {
		margin-top: 10px;
	}

	h1,
	h2 {
		font-size: 16px;
		margin-bottom: 0;
	}
	
	input,
	.payment-type,
	select {
		border: none !important;
		border-bottom: solid 2px #aab6bc !important;
		border-radius: 0 !important;
	}
	
	input[type=radio] {
		background-color: #ffffff;
		border: solid 2px #aab6bc;
	}
	
	label {
		margin: 10px 0 0 0;
	}
	
	p {
		font-size: 1rem;
	}
	
	/* ===== Layout ===== */
	
	footer {
		display: none;
	}
	
	header {
		display: none;
	}
	
	main {
		font-size: 1rem;
	}
	
	main > .container {
		padding-bottom: 0;
		padding-top: 0;
	}
	
	.payment-type {
		background-color: transparent;
		border: none;
		border-bottom: none !important;
		margin: 15px 0 30px 0;
		padding: 0;
	}
	
	#printForm .col-sm-6:nth-child(1),
	#printForm .col-sm-6:nth-child(2) {
		float: left;
		position: relative;
		width: 50%;
	}
	
	#printForm .col-sm-3:nth-child(1),
	#printForm .col-sm-3:nth-child(2),
	#printForm .col-sm-3:nth-child(3),
	#printForm .col-sm-3:nth-child(4) {
		float: left;
		position: relative;
		width: 25%;
	}
	
	.tracking-number {
		text-align: right;
	}
	
	/* ===== Module ===== */
	
	.red-text {
		color: #961a1d;
	}

	button {
		display: none;
	}
	
	@media (min-width: 768px) {
	
		button {
			width: auto;
		}
	}
}

@media screen {
	
	.tracking-number {
		display: none;
	}
}