/*  
blue: #2fa89b;
orange: #ffa35f;
*/
@font-face {
    font-family: 'quicksandbook';
    src: url('../fonts/quicksand_book-webfont.eot');
    src: url('../fonts/quicksand_book-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/quicksand_book-webfont.woff') format('woff'),
         url('../fonts/quicksand_book-webfont.ttf') format('truetype'),
         url('../fonts/quicksand_book-webfont.svg#quicksandbook') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'quicksandbold';
    src: url('../fonts/quicksand_bold-webfont.eot');
    src: url('../fonts/quicksand_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/quicksand_bold-webfont.woff') format('woff'),
         url('../fonts/quicksand_bold-webfont.ttf') format('truetype'),
         url('../fonts/quicksand_bold-webfont.svg#quicksandbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Droid Serif';
    src: url('../fonts/DroidSerif-webfont.eot');
    src: url('../fonts/DroidSerif-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/DroidSerif-webfont.woff') format('woff'),
         url('../fonts/DroidSerif-webfont.ttf') format('truetype'),
         url('../fonts/DroidSerif-webfont.svg#droid_serifregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

*, body {
	font-size: 1em;
	font-family: Verdana, Arial, Helvetica Neue, serif;
}

h1,h2,h3,h4 {
	font-family: quicksandbold;
	font-size: 3em;
	font-style: normal;
	font-weight: normal;
	color: inherit;
	line-height: 1em;
}

h2 {
	line-height: .9em;
	color: inherit;
}

a, a:link, a:active, a:visited, a:hover {
	color: inherit;
	outline: none;
	border: none;
}

em {
	color: inherit;
	font-family: inherit;
}

body {
	background-color: #eee;
	overflow-x: hidden;

}

ul li {
	list-style-type: none;
}

form ul li {
	display: inline-block;
}

.main_header {
	position: absolute;
	width: 100%;
	height: 150px;
	margin: auto;
	z-index: 100;
}

.header_rotate {
	position: absolute;
	top: 40px;
	left: 0px;
	width: 120%;
	height: 100px;
	background-color: #eee;
	transform:rotate(2deg);
	-ms-transform:rotate(2deg); /* IE 9 */
	-webkit-transform:rotate(2deg); /* Opera, Chrome, and Safari */
	z-index: 100;
}

.header_address {
	text-align: right;
    
    position: absolute;
    top: 0;
    right: 50px;
    
	}
.header_address a {
	background: #666;
    color: #ccc;
    border-radius: 0 0 5px 5px;
    padding: 5px 10px;
}
.header_address a:hover {
	text-decoration: none;
	color: #eee;
	background: #9f473d;
}

.color_border {
	position: relative;
	float: left;
	width: 21%;
	height: 10px;
	z-index: 100;
	margin: 0;
	padding: 0;
}

.header_rotate .color_border {
	top: 95px;
}

.green_border {
	background-color: #c5d75d;
}

.red_border {
	background-color: #d9847a;
}

.yellow_border {
	background-color: #f6d73c;
}

.blue_border {
	background-color: #42c2b1;
}

#logo {
	position: absolute;
	display: inline-block;
	margin: 0 20px 20px;
	max-height: 150px;
}

#menu_button {
	display: none;
	position: absolute;
	vertical-align: middle;
	height: 54px;
	right: 35px;
	top: 35px;
	margin: 0;
	opacity: .7;
}

#menu_button:hover {
	opacity: .8;
}

#menu {
	font-size: 1.4em;
}

.uk-offcanvas {
	background-color: rgba(0,0,0,0.4);
}

#menu .uk-offcanvas-bar {
	background-color: #111;
	width: 200px;
}

#menu .uk-nav-sub li {
	padding-left: 15px;
}

nav {
	position: absolute;
	top: 25%;
	right: 50px;
	display: inline-block;
	text-align: right;
	padding-left: 9px;
}

nav ul {
	border-bottom: 5px solid #f6d73c;
	padding: 0;
}

nav ul li {
	display: inline-block;
	margin: 0;
	padding: 17px 8px 5px;
	color: inherit;
	font-size: 1.5em;
	font-weight: bold;
	line-height: .8em;
	transition: .5s;
	-webkit-transition: .5s;
	-o-transition: .5s;
	-moz-transition: .5s;
}

nav ul li a:hover {
	text-decoration: none;
}

nav ul li:hover {
	background-color: #f5e17c;
}

nav ul li i {
	font-size: 1.9em;
}

nav ul li i, nav ul li span {
	vertical-align: middle;
}

nav .nav_dropdown {
	text-align: center;
	border: 3px solid #545454;
	opacity: .9;
	top: 29px;
}

nav .nav_dropdown ul {
	padding: 0;
	border: none;
	margin: 0;
}

nav .nav_dropdown ul li {
	display: block;
	line-height: 1em;
	font-size: 1.2em;
	font-weight: normal;
	padding: 8px;
	color: #545454;
}

nav .nav_dropdown ul li a:hover {
	color: #888;
}

.uk-nav-sub li {
	padding: 5px;
	font-size: .9em;
}

input[type="text"], input[type="password"], textarea {
	padding: 5px;
}

input[type='submit'], button {
	opacity: 0.7;
	background-color: #eee;
	border: none;
	min-height: 38px;
	min-width: 38px;
	padding: 10px;
	color: #222;
	border-radius: 2px;
}
input[type='submit']:hover, button:hover {
	opacity: 0.9;
}

.uk-form input[type="text"], .uk-form textarea {
	box-shadow: inset 1px 1px 2px rgba(0,0,0,0.3);
	padding: 5px;
	height: auto;
	font-size: .9em;
}

.wrapper {
	position: relative;
	min-height: 500px;
	width: 100%;
	margin: auto;
	padding: 20px 0 0;
}

.section1 {
	position: relative;
	padding: 0;
	text-align: center;
	margin: 85px 0 0;
	background-color: #209081;
	background-image: url('../images/logo-bg.png');
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}

.banner {
	margin: auto;
	padding: 80px 0;
	max-width: 100%;
	font-size: 1.5em;
	text-align: left;
}

#tagline {
	display: inline-block;
	width: 70%;
	vertical-align: middle;
}

.banner h1 {
	color: #f6d73c;
	margin-left: 40px;
}

.banner div.edit_area {
	display: inline-block;
	font-size: 2em;
	margin-left: 60px;
	line-height: 1.2em;
	color: #fff;
}

.home_buttons {
	padding: 0;
	display: inline-block;
	vertical-align: middle;
	width: 25%;
}

.home_buttons li {
	padding: 10px;
	background-color: #eee;
	color: #209081;
	text-align: left;
	width: 150px;
	margin: 10px auto;
}

.home_buttons li:hover {
	background-color: #ddd;
}

.home_buttons li span {
	display: inline-block;
	width: 30px;
	text-align: center;
}

.home_buttons a:hover {
	text-decoration: none;
}

.section2 {
	position: relative;
	background-color: #9f473d;
	color: #eee;
	padding: 40px 0;
}

.section2 h2 {
	position: relative;
	color: #f6d73c;
	margin: 20px;
	z-index: 5;
}

.section2 #description {
	margin: 20px;
	font-size: 1.8em;
	line-height: 1em;
}

.section2_rotate {
	position: absolute;
	top: -30px;
	left: 0px;
	width: 120%;
	height: 100px;
	background-color: #9f473d;
	transform:rotate(-2deg);
	-ms-transform:rotate(-2deg); /* IE 9 */
	-webkit-transform:rotate(-2deg); /* Opera, Chrome, and Safari */
	z-index: 1;
}

.section2_rotate .color_border {
	top: 0;
}

.section2 article {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	width: 65%;
	z-index: 5;
}

.events_home {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	width: 25%;
	margin: 0 40px;
	font-size: .85em;
	z-index: 5;
}

.events_home h3 {
	margin: 0;
	padding: 10px;
	background-color: #eee;
	font-size: 2.3em;
	color: #9f473d;
}

.events_home h3 a {
	font-family: inherit;
}

.events_home div.edit_area {
	margin: 0;
	padding: 20px;
	background-color: #c9645a;
	border: 2px solid #eee;
	font-size: 1.5em;
}

.events_home div.edit_area #events_link {
	display: block;
	margin: 20px 0 0;
	font-size: .8em;
}

#sidebar {
	display: inline-block;
	margin: 0;
	text-align: center;
	border-left: 4px solid #545454;
	vertical-align: top;
}

#sidebar h2 {
	color: #019b92;
}

#sidebar .sidebar_img {
	width: 100%;
	height: 260px;
	margin: 0;
	padding: 0;
	background-color: #545454;
	border-bottom: 4px solid #545454;
}

#sidebar img {
	opacity: .75;
}

#sidebar .contact_us_button {
	display: block;
	color: #fff;
	font-size: 1.2em;
}

.info_section {
	max-width: 100%;
	min-height: 500px;
	padding: 40px 0;
	text-align: center;
}

.info_header {
	display: inline-block;
	margin-top: 20px;
	width: 100%;
	max-width: 1400px;
	text-align: left;
}

.info_header h1, .info_header p {
	display: inline-block;
	margin: 0;
	padding: 5px 20px;
	vertical-align: middle;
}

.info_header h1, .info_header h1 div.edit_area {
	color: #f6d73c;
	font-family: quicksandbold;
}

.info_header p {
	color: #ddd;
	font-size: 1.4em;
}


.info_section ul {
	margin: 0;
	padding: 0;
}

.info_section .info_section_ul {
	display: inline-block;
	width: 100%;
	max-width: 1400px;
	vertical-align: top;
	text-align: left;
}

.info_section .info_section_ul li {
	text-align: justify;
	list-style-type: none;
	color: #fff;
	font-size: 1.2em;
	margin: 20px 40px;
}

.info_section ul li h3 {
	color: inherit;
	font-weight: normal;
	margin-bottom: 20px;
	font-size: 2em;
	text-align: left;
}

.info_section ul li img {
	border: 3px solid #eee;
	max-width: 500px;
}

.info_section ul li #back_to_top {
	margin-top: 20px;
}

.info_section h2 {
	font-size: 2em;
}

.info_section .sermon_table {
	display: inline-block;
}

.info_section .sermon_table h3 {
	font-size: 1.3em;
	margin: 0;
	padding: 0;
}

.info_section .sermon_table tr td {
	padding: 5px 10px;
}

.info_section form ul {
	text-align: left;
}

.info_section .info_section_ul form ul li {
	display: inline-block;
	margin: 10px;
}

.info_section form input {
	padding: 5px;
	margin: 5px;
	float: none;
	clear: both;
}

.info_section form textarea {
	max-width: 100%;
	min-width: 300px;
	min-height: 200px;
	padding: 5px;
	margin: 5px;
}

.float_img {
	position: relative;
	z-index: 10;
	float: right;
	margin: 20px;
}

.section1 div.like_button {
	position: relative; 
	z-index: 100; 
	display:inline-block; 
	float:right; 
	margin:0; 
	vertical-align:middle;
}

.num_prayers {
	display:block; 
	max-width: 200px;
	font-size:.8em; 
	color:#bbb;
	text-align: left;
}

.section1 form input[type='submit'].prayer_button {
	font-size:.8em;
	margin:0 5px;
	background-color: rgb(0,120,140);
	border: none;
	min-height: 42px;
	min-width: 38px;
	padding: 10px;
	color: #222;
	border-radius: 2px;
	opacity: 1;
}

.section1 form input[type='submit'].prayer_button:hover {
	background-color: rgb(0,160,200);
	color: #fff;
	opacity: 1;
}

.section1 div.prayed_button {
	position: absolute; 
	z-index: 20; 
	display:inline-block; 
	right: 12px;
	top: 12px; 
	margin:0 0 0 10px; 
	padding: 5px;
	width: 100px;

	text-align: right;
	vertical-align:middle; 
	font-size:.75em;
	line-height: 1em;
}

.hide {
	display: none;
}

.info_section .leader_ul li {
	margin: 0 0 30px;
	display: inline-block;
	vertical-align: top;
	color: inherit;
}

.info_section .leader_ul {
	text-align: center;
	color: #fff;
}

.leader_ul h3 {
	text-align: center;
}

.leader_pic {
	overflow: hidden;
	display: inline-block;
	vertical-align: middle;
	max-width: 300px;
	max-height: 200px;
	margin: 10px;
	border: 3px solid #eee;
}

.info_section .leader_pic img {
	max-width: 100%;
	margin: 0;
	box-shadow: none;
	border: none;
	display: block;
	border-radius: 0;
}

.leader_bio {
	display: block;
	vertical-align: middle;
	max-width: 300px;
	text-align: center;
}

#times {
	clear: both;
	display: block;
	text-align: center;
}

#contact_info {
	display: inline-block;
	text-align: middle;
	padding: 20px;
}

#contact_pic img {
	max-width: 300px;
}

.info_section li.bulletin_frame {
	display:inline-block; 
	margin: 20px;
	width: 220px; 
	padding: 10px;
	text-align:center;
	border: 2px solid #666;
	border-radius: 4px;
	background-color: rgba(255,255,255,0.1);
}

.info_section li.bulletin_frame a {
	color: #aaa;
}

.section1 div.like_button {
	position: relative; 
	z-index: 100; 
	display:inline-block; 
	float:right; 
	margin:0; 
	vertical-align:middle;
}

#prayers_ul .request_wrapper {
	position:relative; 
	margin:20px 0; 
	box-shadow:5px 5px 10px rgba(0,0,0,0.3);
}

#prayers_ul .request_header {
	background-color:#555; 
	vertical-align:middle; 
	padding: 10px; 
	min-height: 40px;
}

#prayers_ul .request_content {
	clear:both; 
	min-height: 40px; 
	padding:10px; 
	background-color:#444;"
}

.num_prayers {
	display:block; 
	max-width: 200px;
	font-size:.8em; 
	color:#bbb;
	text-align: left;
}

.section1 form input[type='submit'].prayer_button {
	font-size:.8em;
	margin:0 5px;
	background-color: rgb(0,120,140);
	border: none;
	min-height: 38px;
	min-width: 38px;
	padding: 10px;
	color: #222;
	border-radius: 2px;
	opacity: 1;
}

.section1 form input[type='submit'].prayer_button:hover {
	background-color: rgb(0,160,200);
	color: #fff;
	opacity: 1;
}

.section1 div.prayed_button {
	position: absolute; 
	z-index: 20; 
	display:inline-block; 
	right: 12px;
	top: 10px; 
	margin:0 0 0 10px; 
	padding: 5px;
	width: 100px;
	text-align: right;
	vertical-align:middle; 
	font-size:.75em;
	line-height: 1em;
}

#contact_form_text div.edit_area {
	margin: 0;
	padding: 20px;
}

.directory_table {
	margin: auto;
}

.directory_table tr td {
	padding: 5px 10px;
	text-align: left;
}

.directory_table tr:nth-child(even) {
	background-color: rgba(255,255,255,0.1);
}

.member_buttons a {
	display: inline-block;
	margin: 20px;
	padding: 20px;
	background-color: #eee;
	opacity: .8;
	color: #333;
}

.member_buttons a:hover {
	opacity: 1;
	text-decoration: none;
}

::-webkit-scrollbar {
	width: 15px;
}
::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,0.05);
} /* the new scrollbar will have a flat appearance with the set background color */
::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.5);
      border-radius: 7px;
} /* this will style the thumb, ignoring the track */
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.6);
}
::-webkit-scrollbar-button {
      
} /* optionally, you can style the top and the bottom buttons (left and right for horizontal bars) */
::-webkit-scrollbar-corner {
      background-color: black;
}

footer {
	position: relative;
	background-color: #545454;
	color: #ddd;
	padding: 20px 20px;
	text-align: center;
	border-top: 10px solid #eee;
}

footer input[type="password"] {
	width: 150px;
}

.footer_div {
	text-align: center;
}

#back_to_top {
	display: inline-block;
	text-align: right;
	margin-bottom: 20px;
	color: #545454;
}

#back_to_top div{
	display: inline-block;
	margin: 3px;
	color: #545454;
}

#back_to_top a {
	color: #ebebeb;
}

.triangle-up {
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	
	border-bottom: 10px solid #ebebeb;
}

footer #back_to_top a {
	color: #bbb;
}

footer .triangle-up {
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	
	border-bottom: 10px solid #bbb;
}

#CR_logo {
	opacity: .5;
	width: 125px;
	transition: opacity .5s;
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-o-transition: opacity .5s;
}

#CR_logo:hover {
	opacity: 1;
}

@media only screen and (min-width: 1201px) {


}

@media only screen and (max-width: 1200px) {
	nav {
		right: 20px;
		font-size: .9em;
	}
	.header_address {
		right: 20px;
	}
}

@media only screen and (max-width: 1000px) {
	nav, .header_address {
		display: none;
	}

	#menu_button {
		display: block;
	}

	.section1 {
		font-size: .9em;
	}

	#contact_pic img {
		max-width: 250px;
	}
}

@media only screen and (max-width: 940px) {
	.home_buttons {
		display: none;
	}

	.events_home div.edit_area {
		display: none;
	}

	.events_home {
		width: 180px;
	}

	.section2 {
		padding: 10px 0;
		font-size: .8em;
	}

	.section2 article {
		width: calc(100% - 300px);
		
	}

	.banner h1 {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	#tagline {
		width: auto;
		text-align: center;
	}

	.banner div.edit_area {
		margin-left: 20px;
		margin-right: 20px;
	}

	.info_section .info_section_ul li {
		margin-top: 0px;
	}

	.info_section ul li img {
		max-width: 350px;
	}
}

@media only screen and (max-width: 767px) {

	footer .uk-grid .uk-width-medium-1-3 {
		margin: 10px 0;
	}
}

@media only screen and (max-width: 752px) {

	
}

@media only screen and (max-width: 650px) {
	#logo {
		width: 300px;
		margin-left: 0px;
	}

	#menu_button {
		top: 20px;
		right: 20px;
	}

	.header_rotate {
		top: 0;
	}

	.main_header {
		height: 80px;
	}

	.section1 {
		margin-top: 70px;
	}

	.banner {
		padding: 60px 0;
	}

	.events_home {
		display: block;
		margin-right: auto;
		margin-left: auto;
	}

	.section2 article {
		width: auto;
		text-align: center;
	}

	.info_section .info_section_ul li {
		text-align: left;
	}

	.info_section ul li img {
		max-width: 200px;
	}
}

@media only screen and (max-width: 450px) {

	.info_section ul #leader_div ul li img {
		display: inline-block;
	}

	.banner {
		font-size: 1.1em;
	}

	#logo {
		top: 15px;
		left: 5px;
		width: 200px;
	}

	.info_section form textarea {
		max-width: 100%;
		min-width: 200px;
	}

	.leader_pic, .leader_bio {
		display: block;
	}
}