.header-text {
	color: #6FBFE5;
	text-shadow: 1px 1px 2px black, 0 0 1em #2a4b9d, 0 0 .5em #29469e;
	padding: 15px;
	background-color: rgba(50, 50, 50, .3);
	border-radius: 25px;
}

.flex-container {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:  flex;
	flex-wrap: wrap;
	align-items: center;
}

.past-sponsor-img {
	height: 200px;
}

.banner-image {
	min-width: 100%;
	height: 600px;
	background-image: url(/images/general/banner-lg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.no-photo {
	background: #70A647;
	padding: 10px;
	border-radius: 5px;
	color: #315EAC;
}

.no-photo .contact {
	color: #FFF;
}

.no-photo .name {
	color: #FFF;
}

@media screen and (max-width: 1000px) {
	.banner-image {
		background-image: url(/images/general/banner-med.jpg);
	}
}

@media screen and (max-width: 800px) {
	.banner-image {
		background-image: url(/images/general/banner-sm.jpg);
	}
}

@media screen and (max-width: 500px) {
	.banner-image {
		background-image: url(/images/general/banner-xs.jpg);
	}
}

.join-container {
	position: relative;
	padding-bottom: 50%;
	height: 0;
	overflow: hidden;
}

.join-container iframe {
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
}

.card-img-sm {
	border-radius: 5px;
	margin-bottom: 5px;
}

.btn a {
	color: white;
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
	.header-item-small {
		display: block;
		width: 20%;
		text-align: center;
		font-size: 14px;
		padding: 0px;
		margin: auto;
	}
}

@media screen and (max-width: 991px) {
	#ndhes-logo {
		-ms-flex-order: 2;
		-webkit-box-ordinal-group: 2;
		-webkit-order: 2;
		order: 2;
	}

	#join-logo {
		-ms-flex-order: 3;
		-webkit-box-ordinal-group: 3;
		-webkit-order: 3;
		order: 3;
	}

	#list-nav {
		-ms-flex-order: 1;
		-webkit-box-ordinal-group: 1;
		-webkit-order: 1;
		order: 1;
	}

	.flex {
		display: -webkit-box;
		display: -moz-box;
		display: -webkit-flex; /* Safari */
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: wrap; /* Safari 6.1+ */
		-ms-flex-direction: row;
		flex-wrap: wrap;
	}

	.right-box-wrapper {
		margin-left: auto;
		margin-right: auto;
	}

	.collapsing {
		height: auto;
	}

	.collapse {
		visibility: visible;
		display: block;
	}

	.image {
		padding-bottom: 25px;
	}

	/*.header-item-small {
		text-align: center;
		position: ;
	}

	.nav-small {
		width: 100%;
		float: none;
		display: inline-block;
		position: relative;
	}

	.right-box-wrapper {
		min-width: 100%;
	}*/
}

@media screen and (max-width: 767px) {
	.header-text {
		font-size: 24px;
	}

	nav {
		text-align: center;
		margin: auto;
	}

	.right-box-wrapper {
		width: 100%;
		padding: 0 25%;
		margin-left: auto;
		margin-right: auto;
	}

	.header .right-box-wrapper {
		text-align: center;
		display: block;
		height: auto;
		vertical-align: middle;
	}

	nav ul li {
		text-align: center;
	}
}

@media screen and (max-width: 400px) {
	.header-text {
		font-size: 22px;
	}
}

@media screen and (min-width: 1550px) {
	#id_Header2 {
		padding: 0 375px 0 375px;
	}
}

@media screen and (max-width: 1550px) {
	#id_Header2 {
		padding: 0 120px 0 120px;
	}
}

@media screen and (max-width: 550px) {
	#id_Header2 {
		padding: 0 60px 0 60px;
	}
}