@font-face {
	font-family: Walkway-bold;
	src: url(../fonts/Walkway_Bold.ttf);
}

@font-face {
	font-family: Walkway-black;
	src: url(../fonts/Walkway_Black.ttf);
}

html, html a {
    -webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

* {
	/*font-family: Walkway-bold, 'Trebuchet MS', sans serif;*/
	font-size: 1.04em;
	
}

h1 {
	font-family: Walkway-bold, 'Trebuchet MS', sans serif;
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
}

h2 {
	font-family: Walkway-bold, 'Trebuchet MS', sans serif;
	font-size: 2.5em;
	font-style: normal;
	font-weight: bold;
}

a, a:link, a:active, a:visited, a:hover {
	color: inherit;
	outline: none;
	border: none;
}

body {
	background-color: #1e1e1e;
}

header {	
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 30px;
	margin: auto;
	padding: 20px;
	background-color: #333;
	z-index: 100;
	font-family: Walkway-bold, 'Trebuchet MS', sans serif;
}

#menu-button {
	margin-left: 5px;
	width: 40px;
}

#menu-button-label{
	padding: 0px 10px 5px 20px;
	font-size: 1.5em;
	color: #ddd;
}

.uk-nav {
	font-size: 1.4em;
	font-family: Walkway-bold, 'Trebuchet MS', sans serif;
}

.uk-nav-sub li{
	padding-left: 20px;
}

.header-facebook {
	position: absolute;
    top: 15px;
    right: 70px;
    font-size: 2.5em;
}

.header-facebook i { color: #ddd; }
.header-facebook:hover i { color: white; }

#login {
	height: 100%;
	
}

#login input {
	width: 100px;
	font-size: .8em;
}

#login_errors ul{
	color: red;
	list-style-type: none;
	padding: 5px;
}

#logged_in {
	height: 100%;
	margin-right: 45px;
	font-size: 1.1em;
	color: #ddd;
}

.wrapper {
	max-width: 1200px;
	margin: auto;
	margin-top: 70px;
	padding: 0;
	font-family: Walkway-bold, 'Trebuchet MS', sans serif;
	overflow-x: hidden;
}

.grid {
	
}

.banner {
	position: relative;
	padding: 0;
	max-width: 1200px;
	z-index: -1;
}

.banner h1 {
	position: absolute;
	top: 0;
	margin: 2% 5%;
	color: #ddd;
}

.fixed {
	position: fixed;
	margin: auto;
	width: 100%;
	max-width: 1200px;
	z-index: -1;
}

.overlay {
	max-width: 1200px;
	width: 100%;
}

.button_bar {
	display: block;
	width: 100%;
	background-image: url('../images/debut-blue.jpg');
	text-align: center;
}

.button_bar h2 { color: white; }

.button_bar_button {
	padding: 100px 0px;
	text-align: center;
}

.button_bar_button div {
	display: inline-block;
	margin: 0px 10px;
}

.home-map {
	border-top: 6px solid #222;
	border-bottom: 6px solid #222;
}

.home-map iframe { display: block; }

.home-times { padding: 30px 0; }
.home-times, .home-times * { color: white!important; text-align: center; }
.home-times blockquote { display: inline-block; vertical-align: top; margin: 10px 20px; border: none; font-size: 1.1em; font-style: normal;}

.home-sermons { padding: 50px 0; }
.vm_label {
	width: 200px;
	text-align: justify;
	color: #ddd;
	font-family: 'Trebuchet MS', sans serif;
	line-height: 1em;
	font-size: 1.60em;
}

.bracket {
	color: #ddd;
	font-size: 8em;
	padding-bottom: 15px;
}

.vm_button {
	height: 100px;
	width: 100px;
	background-color: #ddd;
	border: 10px solid #003d3e;
	box-shadow: 3px 3px 0px 5px #ddd,
				-3px 3px 0px 5px #ddd,
				3px -3px 0px 5px #ddd,
				-3px -3px 0px 5px #ddd;
	border-radius: 70px;
	color: #003d3e;
	text-align: center;
	line-height: 1.25em;
	font-family: Walkway-black, 'Trebuchet MS', sans serif;
	font-size: 5em;
	transition: ease-out .25s;
}

.vm_button:hover {
	background: none;
	border: 10px solid #ddd;
	box-shadow: none;
	border-radius: 85px;
	color: #ddd;
}

#members .vm_button {
	line-height: 1.1em;
}

.content {
	padding: 20px 40px 60px 40px;
	background: url('../images/debut-yellow.jpg');
	
}

.content.uk-grid { padding: 0; text-align: center;}
.content.uk-grid .btn-secondary { display: block; margin: 20px; padding: 20px; line-height: 1.1em;}

.content h2{
	font-family: inherit;
	font-weight: bold;
	font-size: 1.6em;
}

.tabs {
	position: relative;
	top: -57px;
	z-index: 1;
	border: none;
}

.tabs li a {
	color: inherit;
	background-color: #d0bd64;
	border-radius: 6px 6px 0 0;
	border-color: #777;
}

.tabs li a:hover {
	color: inherit;
	background-color: #e3d075;
}

.uk-tab > li.uk-active > a {
	background: #e3d075;
}

.tab_panes {
	font-size: 1.3em;
	text-align: justify;
	line-height: 1.1em;
}

#welcome {
	padding: 100px 40px;
	text-align: center;
	color: #003d3e;
}

#welcome h1 {
	color: inherit;
}

#welcome #message {
	width: 60%;
	margin: 20px auto 60px auto;
	text-align: justify;
	font-size: 1.8em;
	line-height: 1em;
}

#learn, .btn-secondary {
	
	margin: 60px auto 0 auto;
	padding: 10px 40px;
	background-color: #003d3e;
	color: #e9d678!important;
	font-size: 2em;
	transition: ease-out .5s;
}

#learn:hover, .btn-secondary:hover {
	text-decoration: none;
	background: none;
	color: #003d3e!important;
}

.btn-primary {
	
	margin: 60px auto 0 auto;
	padding: 10px 40px;
	background-color: #e9d678;
	color: #003d3e;
	font-size: 2em;
	transition: ease-out .5s;
}

.btn-primary:hover {
	text-decoration: none;
	background: none;
	color: #e9d678;
}

.leader_div {
	text-align: center;
	margin: 20px 0;
	
}

.leader_pic, .leader_bio {
	display: inline-block;
	vertical-align: top;
}

.leader_pic {
	display: inline-block;
	width: 100%;
	max-width: 300px;
	border: 2px solid #555;
}

.leader_bio {
	display: inline-block;
	text-align: justify;
	margin-bottom: 40px;
}

.tab_panes .member_button {
	list-style-type: none;
	display: inline-block;
	margin: 20px 10px;
}

.tab_panes .member_button a {
	background-color: #003d3e;
	color: #e9d678;
	padding: 10px;
	font-size: 1.2em;
}

.tab_panes .member_button a:hover {
	text-decoration: none;
	opacity: .7;
}

.tab_panes .bulletin_feed ul {
	padding: 0;
}

.tab_panes .bulletin_feed ul li {
	position: relative;
	list-style-type: none;
	display: inline-block;
	margin: 20px;
	padding: 20px 0;
	width: 250px;
	background-color: rgba(0,0,0,0.1);
	border-radius: 5px;
	border: 2px solid #444;
	font-size: .9em;
}

.tab_panes .bulletin_feed ul li a {
	font-size: .9em;
	text-decoration: underline;
}

.tab_panes .bulletin_feed ul li .bulletin_delete_button {
	text-decoration: none;
	position: absolute;
	top: 0;
	left: -20px;
	color: red;
}

footer {
	background-color: #444;
	color: #ddd;
	padding: 20px;
}

.footer_div {
	padding: 40px;
	font-size: 1.25em;
	line-height: 1.1em;
}

#contact {
	text-align: right;
}

#cr_logo {
	text-align: center;
}

#cr_logo p {
	margin-bottom: 2px;
}

#back_to_top {
	text-align: right;
}

#back_to_top div{
	display: inline-block;
	margin: 3px;
}

.triangle-up {
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	
	border-bottom: 10px solid #ddd;
}

.sermon_img {
	width: 225px;
	border: 2px solid grey;
	margin: 10px;
}
.sermon_img_header {
	margin: 0 20px 30px 20px;
	width: 300px;
	border: 2px solid grey;
}
.sermon_table tr td {
	font-family: inherit;
	vertical-align: center;

	padding: 10px 10px;
}
.sermon_table tr td h3 {
	font-family: inherit;
	font-weight: bold;
	font-size: 1.5em;
	margin: 0;
}
.sermon_table tr td h3 a:hover {
	text-decoration: none;
	color: #111;
}

.sermon_series:nth-child(4n) .sermon_no_img { background: #034446; }
.sermon_series:nth-child(4n-1) .sermon_no_img { background: #3b0201; }
.sermon_series:nth-child(4n-2) .sermon_no_img { background: #0c6063; }
.sermon_series:nth-child(4n-3) .sermon_no_img { background: #5d0907; }
.sermon_series:hover { opacity: .8; }
.sermon_no_img h3 { color: white; padding: 0 20px; }

@media only screen and (max-width: 960px) {
	.banner h1 {
		font-size: 2em;
		margin: 1% 5%;
	}
	
	.button_bar_button {
		padding: 50px 0px;
	}
	
	.content {
		padding: 20px 20px 60px 20px;
	}
	
	.tabs {
		top: -57px;
	}
	
	#welcome {
		padding: 60px 20px;
	}
	
	#welcome #message {
		width: 90%;
	}
	
	.footer_div {
		text-align: center;
		margin: 30px 0;
		padding: 0;
	}
	
	#contact {
		text-align: center;
	}
	
	#back_to_top {
		text-align: center;
	}
}

@media only screen and (max-width: 550px) {
	#menu-button-label{
		display: none;
	}
	
	#login {
		
	}
	
	.banner h1 {
		font-size: 1.5em;
		margin: 0;
		padding: 0 10px;
		width: 100%;
		
	}
	
	.about h1 {
		background-image: url('../images/debut-red.jpg');
	}
	
	.outreach h1 {
		background-image: url('../images/debut-green.jpg');
	}
	
	.resources h1 {
		background-image: url('../images/debut-blue.jpg');
	}
	
	.content {
		font-size: .8em;
	}
	
	.button_bar_button {
		padding: 40px 0px;
	}
	
	.button_bar_button div {
		margin: 0px 5px;
	}
	
	#welcome {
		font-size: .8em;
	}
	
	.tabs li{
		font-size: .7em;
	}	
	
	.vm_button {
		height: 50px;
		width: 50px;
		border: 5px solid #003d3e;
		box-shadow: 1px 1px 0px 3px #ddd,
				-1px 1px 0px 3px #ddd,
				1px -1px 0px 3px #ddd,
				-1px -1px 0px 3px #ddd;
		font-size: 2.5em;
	}
	
	.vm_button:hover {
		border: 5px solid #ddd;
	}
	
	.vm_label {
		width: 130px;
		font-size: 1em;
	}
	
	.bracket {
		font-size: 4em;
		padding-bottom: 5px;
	}
	
	.footer_div {
		font-size: .85em;
	}
}