/* colors */
/* normal - #529f5b */
/* dark - #108041 */
/* og normal - #6e8d64 */
/* og dark - #005826 */

/* global */
body {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color: #333;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Walkway, 'Open Sans', sans-serif;
	color: #529f5b;
	letter-spacing: 1px;
	margin-top: 36px;
	line-height: 1.1;
}
.grey-bg {
	background: #f4f4f4;
	margin-top: 24px;
}
a {
	font-family: 'Open Sans', sans-serif;
	color: #529f5b;
	font-weight: 400;
	text-decoration: underline;
}
a:hover {
	color: #108041;
}
button, .button {
	font-family: 'Open Sans', sans-serif;
	outline: none;
	font-weight: 400;
	margin: 16px 16px 0 0;
	color: #fff;
	background-color: #529f5b;
	border-color: #108041;
	border-radius: 4px;
}
button:hover, .button:hover,
button:active, .button:active,
button:focus, .button:focus {
	background: #108041;
	color: #fff;
}
input, textarea, label {
	font-size: 16px !important;
}
p, ul, ol, dl {
	font-size: 14px;
}
.inline-dl {
	width: 100%;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
}
.inline-dl dt,
.inline-dl dd {
	width: 100px;
	margin: 0;
	padding: 10px 15px;
}
.inline-dl dd {
	width: calc(100% - 100px);
}
.inline-dl dt:nth-of-type(odd),
.inline-dl dd:nth-of-type(odd) {
	background: #f7f7f7;
	border-top: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
}
.row {
	max-width: 1200px;
}
[data-abide] .error small.error,
[data-abide] .error span.error,
[data-abide] span.error,
[data-abide] small.error,
.alert-box.alert {
	background: #c33a23;
}
.centered {
	text-align: center;
}
.hidden {
	display: none !important;
}
.hide-for-small {
	display: none;
}
.hide-for-medium-up {
	display: block;
}
.left {
	float: left;
}
.with-icon .fa {
	padding-right: 12px;
}
.sr-only {
	position: absolute;
	height: 1px;
	width: 1px;
	clip-path: polygon(0px 0px, 0px 0px, 0px 0px);
	overflow: hidden !important;
}
.note {
	font-size: 12px;
	font-style: italic;
	color: #757575;
}



/* slider */
.slider-content {
	float: right;
	width: calc(100% + 40px);
	padding: 0;
	margin: 0 -20px 24px;
}
.slick-dots {
	margin-left: 0;
}



/* ajax Loader */
@keyframes rotation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(359deg);
	}
}
.ajax-loader {
	height: 50px;
	width: 50px;
	position: fixed;
	left: 50%;
	top: 50%;
	margin-top: -25px;
	margin-left: -25px;
	animation: rotation .2s infinite linear;
	border-top: 6px solid rgba(255, 255, 255, 0.8);
	border-right: 6px solid rgba(255, 255, 255, 0.2);
	border-bottom: 6px solid rgba(255, 255, 255, 0.2);
	border-left: 0 solid rgba(255, 255, 255, 0.2);
	border-radius: 100%;
}
#ajax-loader-modal {
	background: none;
	border: none;
	box-shadow: none;
	z-index: 99999;
}



/* header */
.logo {
	display: inline-block;
	padding: 15px;
	margin: 0;
}
.logo img {
	width: auto;
	height: 100px;
}
.top-bar-white {
	background: white;
	border-bottom: 1px solid #e7e7e7;
	z-index: 999;
	position: relative;
}
.top-bar-white .top-bar {
	display: block;
	height: 45px;
}
.top-bar-white .top-bar-section ul {
	width: auto;
}
.top-bar-white .top-bar-section ul li {
	display: inline-block;
}
.top-bar-grey {
	background: #f4f4f4;
	margin: 0 auto;
	box-shadow: 0 0 5px #999;
}
.top-bar-green {
	display: none;
}
.top-bar {
	max-width: 1240px;
	margin: 0 auto;
	background: none;
	height: 125px;
	transition: height .25s ease-in-out;
}
.top-bar.expanded {
	height: 619px;
	background: #f4f4f4;
}
.top-bar .name {
	height: 125px;
}
.top-bar-section ul li > a {
	color: #333;
	font-family: 'Open Sans', sans-serif;
	text-decoration: none;
}
.top-bar-section li:not(.has-form) a:not(.button) {
	background: none;
}
.top-bar-section li:not(.has-form):not(.social-icon) a:not(.button):hover {
	background: #99b192;
	color: #fff;
}
.top-bar-section li.active:not(.has-form):not(.social-icon) a:not(.button),
.top-bar-section li.active:not(.has-form):not(.social-icon):hover a:not(.button) {
	background: #529f5b;
	color: #fff;
}
.top-bar.expanded .title-area,
.top-bar-section ul li {
	background: none;
}
.top-bar-section ul.top-row {
	display: none;
}
.top-bar-section li.social-icon:not(.has-form) a:not(.button) {
	display: inline-block;
	width: 40px;
	margin: 4px 0;
	padding: 10px;
	border-radius: 20px;
	color: #529f5b;
	font-size: 16px;
	line-height: 18px;
	text-align: center;
}
.social-icons-small a:hover,
.top-bar-section li.social-icon:not(.has-form) a:not(.button):hover {
	color: #fff;
	background: #529f5b;
}
.social-icons-small {
	padding: 8px;
	text-align: center;
	background: #ddd !important;
}
.social-icons-small li {
	display: inline-block;
	width: 30px;
}
.social-icons-small li a {
	width: 30px;
	border-radius: 16px;
	line-height: 30px;

	margin: 0 !important;
	padding: 0 4px !important;
	color: #529f5b !important;
}
.top-bar-section ul li.social-icons-small:hover:not(.has-form) > a {
	background: none;
	color: #fff;
}
.top-bar-section ul li.social-icons-small:hover a {
	background: #ddd;
}
.top-bar-section li.social-icons-small:not(.has-form):not(.social-icon) a:not(.button):hover {
	background: #fff !important;
	color: #529f5b !important;
}



/* animation for menu */
* {
	margin: 0;
	padding: 0;
}
#nav-icon {
	width: 28px;
	height: 22px;
	margin: -12px 12px 0 auto;
	transform: rotate(0deg);
	transition: .5s ease-in-out;
	cursor: pointer;
	top: 50%;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
#nav-icon span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #529f5b;
	border-radius: 9px;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}
#nav-icon span:nth-child(1) {
	top: 0;
}
#nav-icon span:nth-child(2),
#nav-icon span:nth-child(3) {
	top: 10px;
}
#nav-icon span:nth-child(4) {
	top: 20px;
}
#nav-icon.open span:nth-child(1) {
	top: 10px;
	width: 0;
	left: 50%;
}
#nav-icon.open span:nth-child(2) {
	transform: rotate(45deg);
}
#nav-icon.open span:nth-child(3) {
	transform: rotate(-45deg);
}
#nav-icon.open span:nth-child(4) {
	top: 10px;
	width: 0;
	left: 50%;
}



/* donate */
.secure,
.donate-small {
	color: #fff !important;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 1px;
	border-radius: 4px;
	width: 100%;
	background: #529f5b;
	transition: background .25s ease-in-out;
}



/* home */
.youtube-video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}
.youtube-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.benefit-button {
	background: #b31e20;
}
.benefit-button:focus,
.benefit-button:hover,
.benefit-button:active {
	background: #9e1c1e;
}



/* research */
.research .tabs {
	border-bottom: 1px solid #e7e7e7;
	overflow-x: scroll;
	width: 100%;
	white-space: nowrap;
}
.research .tabs dd,
.research .tabs .tab-title {
	float: none;
	display: inline-block;
}
.research .tabs dd > a,
.research .tabs .tab-title > a {
	font-family: Walkway, 'Open Sans', sans-serif;
	font-weight: 700;
	font-size: 18px;
	background: #fff;
	text-decoration: none;
	position: relative;
}
.research .tabs dd > a:after,
.research .tabs .tab-title > a:after {
	display: block;
	content: '';
	width: 0;
	border-bottom: 3px solid green;
	position: absolute;
	bottom: 0;
	left: 30%;
	transition: width .2s;
}
.research .tabs dd.active a:after,
.research .tabs .tab-title.active a:after {
	width: 40%;
}
/*.research .tabs dd:first-child > a,*/
/*.research .tabs .tab-title:first-child > a {*/
/*	padding-left: 0;*/
/*}*/
/*
.research-project:nth-child(even) {
	background: #f4f4f4;
	margin-top: 24px;
	padding-bottom: 16px;
}
*/



/* contact */
.facebook {
	background: #3a5795;
}
.facebook:hover {
	background: #133783;
}
.instagram {
	background: #ddd;
	color: #333;
}
.instagram:hover {
	background: #b9b9b9;
}



/* gallery */
.gallery-grid {
	padding: 0 20px;
}
.gallery-grid h1 {
	padding-bottom: 30px;
}
.gallery-grid li {
	position: relative;
}
.preview {
	width: 100%;
	padding: 5px;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 0 20px 0 rgba(0,0,0,.25);
}
.preview:hover {
	box-shadow: 0 0 20px 0 rgba(0,0,0,.75);
}
.reveal-modal {
	position: fixed;
}
.reveal-modal .close-reveal-modal {
	color: #fff;
	border-radius: 20px;
	text-decoration: none;
	background: #aaa;
	width: 40px;
	text-align: center;
	right: 0.625rem;
}
.reveal-modal .close-reveal-modal:hover {
	background: #999;
}
.reveal-modal-bg {
	position: fixed;
}
#view-larger-image {
	width: 100%;
}
.add-image-form {
	margin: 50px 50px 30px;
	padding: 20px;
	border: 3px dashed #666;
}
.delete-image span {
	display: none;
	font-size: 96px;
	font-weight: bold;
	position: absolute;
	top: 0;
	left: 10px;
	color: #fff;
	background: rgba(195, 58, 35, 0.5);
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	padding: 35% calc(50% - 20px);
}
.delete-image:hover span {
	display: block;
	box-shadow: 0 0 20px 0 #c33a23;
}
.add-image-form .submit {
	width: 100%;
	margin: 0;
}
.alert-box {
	color: #fff;
	background: #3a945b;
	font-weight: 400;
	font-size: 16px;
	border: none;
	padding: 16px 32px 17px;
	text-align: center;
}
.alert-box.alert {
	background: #c33a23;
}
.alert-box.info {
	background: #34aae2;
}
#delete-modal {
	width: 400px;
}
.cancel-delete,
.confirm-delete {
	color: #fff;
	font-weight: 400;
	width: 100%;
}
.confirm-delete,
.remove-image {
	background: #c33a23;
}
.confirm-delete:hover,
.remove-image:hover {
	background: #a5311d;
}



/* blog and more champs */
.blog-header {
	position: relative;
	float: left;
	width: 100%;
}
.blog-title,
.blog-date {
	float: left;
	width: 100%;
}
.blog-title h1 {
	margin-bottom: 24px;
}
.blog-date {
	margin: -24px 0 24px;
}
.blog-pagination {
	position: absolute;
	bottom: 24px;
	right: 0;
	font-size: 20px;
	font-weight: 700;
}
.blog-pagination a {
	text-decoration: none !important;
	padding: 0 8px;
}
.slider-images button {
	background: none;
	color: #ccc;
	padding: 10px;
	margin: 0;
	border: 2px dashed #ccc;
	width: 100%;
	min-height: 175px;
}
.slider-images button:hover {
	color: #000;
	border: 2px dashed #000;
}
.slider-images .fa {
	font-size: 36px;
}
.blog .slider-content img,
.champ-profile .slider-content img {
	width: 100%;
}
.blog .images,
.champ-profile .images {
	padding-top: 10px;
	max-height: 240px;
	overflow: scroll;
}
.selected img {
	box-shadow: 0 0 20px 3px #04426b;
}
.use-selected {
	background: #3281b4;
}
.use-selected:hover {
	background: #04426b;
}
.blog .add-image-form,
.champ-profile .add-image-form {
	margin: auto;
}
.older-entries {
	background: #f4f4f4;
	border-top: 1px solid #e4e4e4;
	padding-bottom: 48px;
	margin-top: 36px;
}
.older-entries h2 {
	margin-bottom: 20px;
}
.older-entries ul {
	list-style: none;
	margin: 0;
}
.older-entries li {
	margin-bottom: 8px;
}
.admin .button.delete-blog,
.admin .button.delete-champ {
	width: auto;
	float: right;
	margin: 0;
}
.more-champs-grid a {
	color: #000;
	text-decoration: none;
}
.more-champs-grid img {
	width: 100%;
}
.more-champs-grid a:hover {
	text-decoration: underline;
}
.more-champs-grid a:hover img {
	box-shadow: 0 0 20px 0 rgba(0,0,0,.25);
}



/* admin pages */
.login .main-section,
.admin .main-section {
	margin-top: 2rem;
}
.admin .button {
	width: 100%;
}
.all-blogs,
.all-champs {
	display: none;
}
.champ-button {
	background-color: #008CBA;
	border-color: #007095;
}
.champ-button:hover, .champ-button:focus {
	background-color: #007095;
}



/* buffalo benefit */
.benefit h1,
.benefit h3,
.benefit h4,
.benefit a {
	color: #b31e20;
}
.google-maps {
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
}
.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}
.flier {
	padding: 20px 0 30px;
}



/* newly diagnosed */
ol li + li {
	margin-top: 10px;
}
.sample-letter {
	padding: 20px;
	background: #fff;
}
table {
	border-collapse: collapse;
}
thead {
	border-bottom: 1px solid #ddd;
}



/* board of directors */
.bio-card {
	margin-top: 50px;
}
.bio-card img {
	display: block;
	border-radius: 100%;
	max-width: 250px;
	margin: 0 auto;
}
.bio-card .name {
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	margin: 20px 0 0;
}
.bio-card .title {
	text-align: center;
	margin: 0;
	font-size: 13px;
	color: #757575;
}
.bio-card a {
	display: block;
	text-align: center;
	margin-top: 10px;
	font-weight: 400;
	font-size: 14px;
}
.bio-card p {
	text-align: justify;
	margin-bottom: 10px;
}
.bio-card .short-overview {
	text-align: justify;
	margin-top: 20px;
}
.bio-card a.show-more-bio,
.bio-card a.show-less-bio {
	text-align: right;
	margin-top: 12px;
}
.show-more-bio-content {
	display: none;
}



/* small displays only - max-width: 767px */
@media only screen and (max-width: 47.9375em) {
	.home .slider-content {
		width: 100%;
		margin: 20px 0;
	}
}


/* medium displays - min-width: 768px */
@media only screen and (min-width: 48em) {
	/* global */
	.hide-for-small {
		display: block;
	}
	.hide-for-medium-up {
		display: none;
	}
	.donate-small {
		display: none;
	}
	h1 {
		font-size: 2.125rem;
	}
	h2 {
		font-size: 1.6875rem;
	}
	h3 {
		font-size: 1.375rem;
	}
	h4 {
		font-size: 1.125rem;
	}
	h5 {
		font-size: 1.125rem;
	}
	h6 {
		font-size: 1rem;
	}

	/* slider */
	.slider-content {
		width: 45%;
		margin: 5px 0 30px 30px;
		padding: 8px;
		border: 1px solid #ddd;
		border-radius: 4px;
		box-shadow: 0 0 20px rgba(0,0,0,.25);
	}

	/* header */
	.logo {
		padding-left: 23px;
	}
	.logo img {
		width: auto;
		height: 150px;
	}
	.top-bar {
		height: 175px;
	}
	.top-bar-grey {
		box-shadow: 0 0 10px #108041;
		z-index: 1;
		position: relative;
	}
	.top-bar-green {
		display: block;
		box-shadow: 0 -10px 10px -10px #108041 inset;
		background: #529f5b;
		margin: 0 auto;
	}
	.top-bar-green .top-bar {
		display: block;
		height: 45px;
	}
	.top-bar .name {
		height: 175px;
	}
	.top-bar-section ul.top-row {
		display: block;
		position: absolute;
		top: 65px;
		right: 0;
	}
	.top-bar-section ul.right {
		margin-right: 8px;
	}
	.top-bar-section ul li {
		position: relative;
		z-index: 99;
	}
	.top-bar-section ul li > a {
		color: #fff;
	}
	.top-bar-section ul li:hover:not(.has-form) > a {
		background: none;
	}
	.top-bar-section li:not(.has-form) a:not(.button) {
		padding: 0 11px;
	}
	.top-bar-section li.register-button:not(.has-form) a:not(.button),
	.top-bar-section li.donate-button:not(.has-form) a:not(.button) {
		color: #fff;
		font-size: 15px;
		font-weight: 400;
		letter-spacing: 0.5px;
		border-radius: 4px;
		background: #529f5b;
		transition: background .25s ease-in-out;
	}
	.top-bar-section li.register-button:not(.has-form) a:not(.button) {
		color: #000;
		background: #fff;
		border: 1px solid #e7e7e7;
	}
	.top-bar-section li.active:not(.has-form):not(.social-icon) a:not(.button),
	.top-bar-section li.active:not(.has-form):not(.social-icon):hover a:not(.button) {
		background: #99b192;
	}
	.top-bar-section li.register-button:not(.has-form) a:not(.button):hover {
		color: #000;
		background: #fafafa;
		border: 1px solid #e7e7e7;
	}
	.top-bar-section li.donate-button:not(.has-form) a:not(.button):hover {
		background: #108041;
	}
	.donate-button {
		margin: 0 23px 0 16px;
	}
	.social-icons-small {
		display: none;
	}

	/* home */
	.home .slider-content {
		padding: 8px;
		margin-top: 36px;
	}

	/* blog */
	.blog-content b {
		font-size: 16px;
	}
	.blog .images,
	.champ-profile .images {
		max-height: 300px;
	}
	.previous-entries {
		column-count: 2;
	}

	/* gallery */
	.preview {
		padding: 8px;
	}

	/* admin */
	.admin:not(.gallery) .top-bar-grey,
	.login .top-bar-grey {
		box-shadow: 0 0 5px #999;
	}

	/* newly diagnosed */
	.sample-letter {
		padding: 60px;
		margin: 20px 0 40px;
	}
}

/* large displays - min-width: 1025px */
@media only screen and (min-width: 64.063em) {
	/* global */
	.top-bar-section li:not(.has-form) a:not(.button) {
		padding: 0 15px;
	}

	/* blog */
	.previous-entries {
		column-count: 3;
	}
}

/* xlarge displays - min-width: 1441px */
@media only screen and (min-width: 90.063em) {

}

/* xxlarge displays - min-width: 1921px */
@media only screen and (min-width: 120.063em) {

}
