.container {
	max-width: 800px;
}
section {
	margin-top: 5rem;
	margin-bottom: 5rem;
}

section + section {
	border-width: 0;
  	border-top: 1px solid #E1E1E1; 
	padding-top: 4rem;
}

.center {
	margin: 0;
	padding-top: 1rem;
	text-align: center;
}

.hero {
	width: 100%;
	padding-top: 2rem;
	text-align: center;
}

.hero img {
	display: block;
	text-align: center;
	max-width: 100%;
	max-height: 100%;
	margin: 0.75rem auto 5rem auto;
}

#CNW img {
        width: 400px;
        display: block;
        max-width: 100%;
        max-height: 100%;
        margin: 0.75rem auto 5rem auto;
}

.carousel {
	position: relative;
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	min-height: 240px;
	overflow: hidden;
}
.carousel img {
	text-align: center;
	max-width: 110%;
}
.carousel .button {
	position: relative;
	left: 50%;
	-webkit-transform: translate(-50%, 180px);
	-ms-transform: translate(-50%, 180px);
	transform: translate(-50%, 180px);
	/*	width: 15rem;*/
	/*	margin: 0 auto;*/
}



.fader {
	position: absolute;
	transition: opacity .85s ease-in;
}
.fader + .fader {
	opacity: 0;
}
.navbar {
	display: none;
}

#video .youtube {
        position: relative;
        padding-bottom: 45%;
        padding-top: 0;
        height: 0;
        overflow: hidden;
}

#video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
}

.prettyLinks {
        text-decoration: none;
}

footer {
	background-color: #222;
	color: #fff;
	padding: 2rem;		
}

footer h6, footer h5 {
	font-size: 1rem;
	text-align: center;
	margin: 0.5rem;
}

.social-media {
	text-align: center;
	margin: 0 auto;
}

.social-media img {
		max-width: 32px;
		margin-left: 0.25rem;
		margin-right: 0.25rem;

}


/* Larger than phone */

@media (min-width: 550px) {
	.header {
		padding-top: 6rem;
		padding-bottom: 9rem;
	}
	.carousel {
		min-height: 320px;
	}
	.carousel .button {
		-webkit-transform: translate(-50%, 260px);
		-ms-transform: translate(-50%, 260px);
		transform: translate(-50%, 260px);
	}
	
	/* Navbar */	
	.navbar + .docs-section {
		border-top-width: 0;
	}
	.navbar,
	.navbar-spacer {
		display: block;
		width: 100%;
		height: 4rem;
		background: #fff;
		z-index: 99;
		border-top: 1px solid #eee;
		border-bottom: 1px solid #eee;
	}
	.navbar-spacer {
		display: none;
	}
	.navbar > .container {
		width: 100%;
	}
	.navbar-list {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;		 
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-box-orient: horizontal;	
		-webkit-box-direction: normal;	
		-webkit-flex-direction: row;	
		-ms-flex-direction: row;		
		flex-direction: row;
		list-style: none;
		margin-bottom: 0;
	}
	.navbar-item {
		position: relative;
/*		float: left;*/
		margin-bottom: 0;
	}
	.navbar-link {
		text-transform: uppercase;
		font-size: 11px;
		font-weight: 400;
		letter-spacing: .2rem;
		margin-right: 35px;
		text-decoration: none;
		line-height: 4rem;
		color: #222;
	}
	.navbar-link.active {
		color: #33C3F0;
	}
	.has-docked-nav .navbar {
		position: fixed;
		top: 0;
		left: 0;
	}
	.has-docked-nav .navbar-spacer {
		display: block;
	}
	/* Re-overiding the width 100% declaration to match size of % based container */
	.has-docked-nav .navbar > .container {
		width: 80%;
	}
	

	
	
/* Larger than phablet */
@media (min-width: 550px) {
	#contact {
		min-height: 340;			
	}
	
/* Larger than tablet */

@media (min-width: 750px) {	
	.carousel {
		min-height: 480px;
	}
	.carousel .button {
		-webkit-transform: translate(-50%, 380px);
		-ms-transform: translate(-50%, 380px);
		transform: translate(-50%, 380px);
	}
	
}

@media (min-width: 830px) {
	.carousel .button {
		-webkit-transform: translate(-50%, 420px);
		-ms-transform: translate(-50%, 420px);
		transform: translate(-50%, 420px);
	}
}
