/*
Theme Name: SEC base theme
Theme URI: http://upplex.de/bootstrap-3-wordpress-theme-framework/
Author: upplex
Author URI: http://upplex.de
Description: upBootWP is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc. and Twitter Bootstrap 3. Feel free to edit it. 
Version: 0.1
License: GNU General Public License
License URI: license.txt
Text Domain: upbootwp
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

upBootWP is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc. and Twitter Bootstrap 3 

*/

/**** webfonts **********/

@font-face {
    font-family: 'open_sansbold';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Bold-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansbold_italic';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-BoldItalic-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-BoldItalic-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-BoldItalic-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-BoldItalic-webfont.svg#open_sansbold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansextrabold';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBold-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBold-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBold-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBold-webfont.svg#open_sansextrabold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansextrabold_italic';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBoldItalic-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBoldItalic-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBoldItalic-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-ExtraBoldItalic-webfont.svg#open_sansextrabold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansitalic';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Italic-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Italic-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Italic-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanslight';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Light-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Light-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Light-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanslight_italic';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-LightItalic-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-LightItalic-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-LightItalic-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-LightItalic-webfont.svg#open_sanslight_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansregular';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Regular-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanssemibold';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Semibold-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Semibold-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanssemibold_italic';
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-SemiboldItalic-webfont.eot');
    src: url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-SemiboldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-SemiboldItalic-webfont.woff') format('woff'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-SemiboldItalic-webfont.ttf') format('truetype'),
         url('/wp-content/themes/sec_base/fonts/webfonts/OpenSans-SemiboldItalic-webfont.svg#open_sanssemibold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}


body { font-family: "open_sansregular",Arial,sans-serif; border-top: solid 6px #3b6cb3;color: #22235c; background-color: #303845 !important; line-height: 22px;}
.container {max-width: 992px;}
.row-offcanvas {background: #fff;  padding-top: 10px; }
h1, h1 a { font-family: "ff-spinoza-web-pro"; font-size: 30px; color:#22235c; font-weight: 100;}
.page-header {margin-top: 20px;}
h2 { font-family: "open_sansregular"; font-weight: 500; font-size: 19px; }
h3 { font-family: "ff-spinoza-web-pro"; font-size: 20px; color:#22235c;}
h4 { font-family: "open_sanslight"; font-weight: 700; font-size: 15px; color:#4278BC; }
p { margin: 0 0 20px; }
.responsiveImg, .doc-img-link img { width: 100%; height:auto;}
.quote { max-width: 100%; margin-left: 60px; margin-right: 60px; margin-bottom: 20px; padding: 0; clear: right; border-left: 1px solid #c3c3c3; background:url(images/bq-tl.png) top left no-repeat #f6f6f6; }
blockquote { padding: 50px; background:url(images/bq-br.png) bottom right no-repeat;}

/*** mobile icon menu ****/

#nav_button_wrapper { background: #3B6CB3; margin: -17px -16px 10px; padding:0; border-bottom: solid 4px #305893; }
#latest-vid img { max-width: 100%;}
.side_findAchurch { max-width: 300px;}
.side_findAchurch img { width: 100%; height: auto; max-width: 300px;}
.navbar_tab_title { float: left;}
#nav_button_wrapper .navbar_tab_icons { display: inline;
    float: left;
    height: 18px;
    width: 20px;
	margin-right: 5px;
	padding-bottom: 1px;
}
#nav_button_wrapper .icon-bar {background: #fff;display: block;
    float: left;
    height: 3px;
    width: 20px;
	margin: 2px 0 1px 0;
}

.mobBtn.btn {background-color: transparent; color: #fff; border-right: solid 1px #5482C6; border-left: solid 1px #5482C6; border-top: solid 1px #3B6CB3; border-radius: 0;
	padding-bottom: 12px;
    padding-top: 12px;
}

#searchMobWrapper { color: #fff;} 
#searchMobWrapper .collapse {padding: 15px; background: #294C7F; margin: -10px -15px 10px -15px;}
#searchMobWrapper .close_collapse { float: right; color: #fff; font-weight:bold; text-decoration: none; font-size: 20px; padding-top: 5px;}

/*** end of mobile menus ***/

#nav_button { }
#search_button {background:url(images/site_search.png) no-repeat 90% 6px; padding-right: 30px;}

.logo {font-size: 30px; color: #000;}

#masthead { position:relative; z-index: 100;}
.logo { 
	color: #000; 
	display:block;
	height: 140px; 
	padding: 20px 0 0 0;
}

.logo img {max-height: 120px; max-width: 100%; float: left; margin-right: 20px;}
.site-title { margin-top: 20px; line-height: 30px;}
.site-tagline { 
	color: #777777; 
	font-size: 18px; 
	font-family: "open_sanslight"; 
	font-weight: 400;
	margin-right: 10px;
	line-height: 40px;
}

@media screen and (max-width:767px) {.logo { margin-bottom: 10px;}}

#menu-c-top-menu, #menu-c-top-menu li {list-style: none; margin:0; padding:0; float: left; }

#menu-c-top-menu a { 
	color: #777777; 
	font-size: 13px; 
	font-family: "open_sanslight"; 
	font-weight: 400;
	margin-right: 10px;
}
#top_links { margin-bottom:8px;}
#social { float:right;}
#social a { display:block; float:left; margin-left:10px; overflow:hidden; width: 24px; height:24px; cursor:pointer;}
#twitter { background-image:url(images/twitter.jpg);}
#facebook { background-image:url(images/faceBook.jpg);}
#youtube { background-image: url(images/youTube.jpg);}
#vimeo { background-image:url(images/vimeo.jpg);}

.church_search { margin-bottom:6px;}
.church_search input { border:none; background: #282E67; color: #fff; height: 35px; margin-bottom: 5px; display: inline;}

.top_search { margin-bottom:6px;}
.top_search input { border:none; background: #282E67; color: #fff; height: 35px; margin-bottom: 5px; display: inline;}

#churchsearchform, #churchsearchformFooter, #churchsearchformTop {padding-bottom: 2px;}
#church_search_mob .church-finder, #site_search_mob .top_search { width: 85%; float: left;}
.search_field {width: 85%; padding-left: 12px; margin-right: -4px;}
.top_search_field {width: 85%; padding-left: 12px; margin-right: -4px;}
#church_search .top_search_field {background-color: #282e67;}
#site_search .top_search_field {background-color: #376fb2;}

.go {width: 15%; text-indent: -9999px;}
#church_search .go, #churchsubmit {background: url(images/church_search.png) no-repeat top center #535885;}

#church_search .go:hover, #churchsubmit:hover {background: url(images/church_search.png) no-repeat top center #464B77;}
#site_search .go {background: url(images/site_search.png) no-repeat top center #5f8cc1;}
#site_search .go:hover {background: url(images/site_search.png) no-repeat top center #4C7EB8;}

/*********** main menu items ***************/

#buttons {}

@media screen and (max-width:767px) {.main_site_nav { position: relative; top: -194px;}
	.navbar {
		display: block;
		height: 0;
		left: 0;
		margin: 0;
		min-height: 0;
		padding: 0;
		position: inherit;
		top: 0;
	}
	.navbar-header { float: none;}
	.navbar-header #side_nav_button {display: table; float: right; color: #fff; font-weight: bold; border: none;}
	.navbar-collapse { border-top: solid 0px #a9bdde !important; }
	.navbar-toggle { padding:0; margin-top:0;}
	.navbar-header .navbar-toggle:hover, .navbar-header .navbar-toggle:focus { background: none; color: #3B6CB3 !important;}
	
}

#main-menu {width: 100%; /*font-family: "ff-spinoza-web-pro";*/ border-bottom: solid 1px #3471b2; text-align: center; }
@media screen and (max-width:767px) { #main-menu {text-align: left; }}
.navbar-nav > li {margin: 10px 3.1% 0px; padding: 5px 10px 0; display: inline-block; float: none;}
@media screen and (min-width:992px) and (max-width:1180px) {.navbar-nav > li {margin: 10px 3.1% 0px;}}
@media screen and (min-width:868px) and (max-width:991px)  {.navbar-nav > li {margin: 10px 2.1% 0px;}}
@media screen and (min-width:768px) and (max-width:867px)  {.navbar-nav > li {margin: 10px 1.0% 0px;}}
@media screen and (min-width:768px) {.current_page_item, .current_page_granparent > a.dropdown-toggle {color: #376FB2 !important;}}

.navbar-collapse { padding:0; margin:0;}
.navbar .container,.navbar .sidebar-offcanvas { padding:0; margin:0;}
.navbar-nav > li > a { padding: 10px 2px; font-size: 22px;}
@media screen and (min-width:768px) {.dropdown-menu>li>a { padding: 10px 10px !important; font-size: 18px;}}
.navbar-default .navbar-nav > li > a { color: #22235c;}
@media screen and (max-width:767px) { .navbar-default .navbar-nav li a { color: #fff;} .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus { color: #ccc;} 
.open .dropdown-menu>li>a {}
.navbar-nav .open .dropdown-menu {float:left;}
.navbar-nav .open .dropdown-menu>li>a { line-height: 1.428571429;}}

@media screen and (min-width:767px) {
#main-menu > li:nth-child(1) > a { border-bottom: solid 7px #5f8cc1;}
#main-menu > li:nth-child(2) > a { border-bottom: solid 7px #7c3476;}
#main-menu > li:nth-child(3) > a { border-bottom: solid 7px #ed0513;}
#main-menu > li:nth-child(4) > a { border-bottom: solid 7px #282e67;}
#main-menu > li:nth-child(5) > a { border-bottom: solid 7px #000000;}

#main-menu li > a:hover { border-bottom: solid 7px #1A215E; color:#000;}
#main-menu .dropdown-menu  li > a:hover { border-bottom: solid 0px #1A215E; color:#fff;}

#main-menu-item-2:hover, #main-menu-item-3:hover, #main-menu-item-4:hover { padding:0; margin: 10px 3.1% -2px; background: #fff; }
#main-menu-item-2:hover a, #main-menu-item-3:hover a, #main-menu-item-4:hover a { margin-top: 5px; padding: 8px 10px 20px 10px;}

#main-menu-item-2:hover > a, #main-menu-item-3:hover > a, #main-menu-item-4:hover > a { margin-top: 5px; padding: 8px 10px 20px 10px; background: #fff; }


#main-menu-item-2:hover > a { border: solid 2px #7c3476; border-bottom: solid 0px #fff; }
#main-menu-item-3:hover > a  { border: solid 2px #ed0513; border-bottom: solid 0px #fff; }
#main-menu-item-4:hover > a  { border: solid 2px #282e67; border-bottom: solid 0px #fff; }

#main-menu-item-2:hover .dropdown-menu { border: solid 2px #7c3476; z-index:9;}
#main-menu-item-3:hover .dropdown-menu { border: solid 2px #ed0513; z-index:9;}
#main-menu-item-4:hover .dropdown-menu { border: solid 2px #282e67; z-index:9;}
}

@media screen and (min-width:992px) and (max-width:1180px) {#main-menu-item-2:hover, #main-menu-item-3:hover, #main-menu-item-4:hover {margin: 10px 3.1% -2px;}}
@media screen and (min-width:868px) and (max-width:991px) {#main-menu-item-2:hover, #main-menu-item-3:hover, #main-menu-item-4:hover {margin: 10px 2.1% -2px;}}
@media screen and (min-width:768px) and (max-width:867px) {#main-menu-item-2:hover, #main-menu-item-3:hover, #main-menu-item-4:hover {margin: 10px 1.0% -2px;}}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > .open > a { background-color: #fff !important;}

.caret {display: none;}

/************* sub menus **********/
.nav>li {position: relative;}
.inner-menu { padding-bottom: 18px; padding-top: 3px; overflow:hidden;}

.inner-menu .sub-menu, .inner-menu .sub-menu ul {margin: 0 !important; padding: 0;}
.inner-menu .sub-menu li { 
	list-style: none;
	margin-left: 0 !important;
	width: 100%;
}

.inner-menu li { 
	list-style: none;
	margin-left: 0;
}

.inner-menu a { 
	font-size:20px !important; 
	text-align: left !important;
	padding: 5px 0 !important;
	margin: 0 !important;
	border-bottom: 1px solid #ccc !important;
	width: 100%;
	display: block;
}

.inner-menu a:hover { background-color:#EEEEEE; text-decoration:none;}

.inner-menu li > a { 
	font-size:22px !important; 
}

.inner-menu li li > a { 
	font-size:18px !important; 
}

@media screen and (max-width: 768px) { .nav > li { display:block !important; width: 100%;} .dropdown-menu { display:block !important; position:relative; margin-bottom: 10px;} .inner-menu li > a { 
	font-size:20px !important; }}

.inner-menu img { max-width: 100%; height: auto;}

.inner-menu h3 { font-size: 22px !important; color: #000; margin: 5px 0;}


/*********** end of main menu items **********/

.navbar { position: inherit;}

/*********** dark sidenav **********/

@media screen and (max-width:767px) {
	#main-menu-item-1 > a, #main-menu-item-2 > a, #main-menu-item-3 > a, #main-menu-item-4 > a, #main-menu-item-5 > a { 
	background:none; border: none; color: #a8bfdf; margin: 0; padding: 5px 0; border-bottom: dotted 1px #fff;}
	.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > .open > a { background: none !important;}
	.dropdown-menu { background: none; border: none; box-shadow:0 0px 0px rgba(0, 0, 0, 0); -webkit-box-shadow:0 0px 0px rgba(0, 0, 0, 0); font-family: "open_sanslight"; font-weight: 600; }
	.inner-menu a { border-bottom: none !important; color: #fff;}
	.inner-menu li li a { color: #768dac; margin-left: 20px !important;}
	.inner-menu a:hover { color: #a8bfdf;}
	
	#main-menu a:hover {background-color: #39414f !important; color: #C5C9D1 !important; overflow:hidden;}
	.inner-menu { color: #a8bfdf;}
	.inner-menu h3 { color: #fff;}
	.inner-menu .col-sm-6 { padding-left: 0;}
}
@media (max-width:767px){.open a {color:#fff !important;} #main-menu{border-bottom:none;} #main-menu li {clear:both;}}

/***************** home slider *****************/

.homeSlide {}

.slider_caption { position:absolute; bottom:0; right:0; color: #fff; padding: 15px; line-height:normal;}

@media screen and (max-width: 767px) {.slider_caption { position: relative; width: 100%; margin-top: -50px;}}
	
.slider_caption a, .slider_caption h2 { color: #fff;}

.slider_caption h2 { font-family: "ff-spinoza-web-pro"; font-size: 35px; margin: 0; line-height: 32px; }
.slider_caption a { font-family: "open_sanslight"; font-weight: 400; font-size: 27px; }

/*********** side *******************/

#in-section {margin-bottom:30px;}

#in-section ul { list-style: none; margin:0; padding:0; }

#in-section li { display:block;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px dotted #A1A1A1;
	font-family:"open_sansregular",Arial,sans-serif !important;
}

#in-section .page_item_has_children.current_page_item { 
	border-bottom: 0px dotted #CCC;
}

#in-section .current_page_item li { display:block; 
	margin-left: 15px;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px dotted #CCC;
	font-family:"open_sanslight",Arial,sans-serif !important;
}

#in-section .current_page_item li a { font-family:"open_sanslight",Arial,sans-serif !important;}

#in-section li li, #in-section .current_page_item li li {display: none;}

#section-items ul { margin:0; padding:0;}

.current_page_item .children { margin: 10px 0 !important;}

#secondary img, .bx-wrapper img { width: 100%; height: auto;}

.side_findAchurch {}
.side_findAchurch h3 { font-family: "ff-spinoza-web-pro"; color: #fff; font-size: 20px; margin: 0 0 5px;}
.side_findAchurch_form { position: relative; top: -70px; height: 70px; margin-bottom: -70px; background:url(images/search_bar_bk.png); padding: 10px;}

.side_findAchurch { margin-bottom:6px;}
.side_findAchurch input { border:none; height: 23px; margin-bottom: 5px;}


.side_findAchurch .search_field {width: 70%; padding: 12px; margin-right: -4px;}
.side_findAchurch .search_field { background-color: #fff; color: #282e67; padding: 0 10px;}

.side_findAchurch .go {width: 25%; font-size: 14px; font-weight:bold; border-radius: 0 5px 5px 0; color: #fff;
	background: #b3b3b3 !important; /* Old browsers */
	background: -moz-linear-gradient(top,  #b3b3b3 0%, #9f9fa0 100%) !important; /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b3b3b3), color-stop(100%,#9f9fa0)) !important; /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #b3b3b3 0%,#9f9fa0 100%) !important; /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #b3b3b3 0%,#9f9fa0 100%) !important; /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #b3b3b3 0%,#9f9fa0 100%) !important; /* IE10+ */
	background: linear-gradient(to bottom,  #b3b3b3 0%,#9f9fa0 100%) !important; /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3b3b3', endColorstr='#9f9fa0',GradientType=0 ) !important; /* IE6-9 */
	text-indent: inherit;
}

/* Safari only override */
::i-block-chrome,.side_findAchurch .go {
	position: relative;
	top: 1px;
}

.side_findAchurch .go:hover { color: #eee;
	background: #A4A3A3 !important; /* Old browsers */
	background: -moz-linear-gradient(top,  #A4A3A3 0%, #9f9fa0 100%) !important; /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#A4A3A3), color-stop(100%,#9f9fa0)) !important; /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #A4A3A3 0%,#9f9fa0 100%) !important; /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #A4A3A3 0%,#9f9fa0 100%) !important; /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #A4A3A3 0%,#9f9fa0 100%) !important; /* IE10+ */
	background: linear-gradient(to bottom,  #A4A3A3 0%,#9f9fa0 100%) !important; /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#A4A3A3', endColorstr='#9f9fa0',GradientType=0 ) !important; /* IE6-9 */
}
.go_church:hover {background: url(images/church_search.png) no-repeat top center #464B77;}
#secondary .side_widgets { margin-bottom: 23px;}
.side-home { margin-top: -2px;}
.home-title {font-size: 22px;}
#footerContact .side_widgets { margin-top: 0px;}
.widget_links h4 { margin: 12px 0; padding-bottom: 12px; border-bottom: solid 1px #000; color: #000;}

.widget_links h4 a { color: #000;}

.related_links { list-style: none; margin: 0; padding: 0;}
.related_links li { border-left: solid 5px #3570b2; background: #f1f1f1; padding: 20px; border-bottom: solid 1px #D8D8D8; margin-bottom: 1px;}

#content-wrapper {padding-top: 0px;}
#content {padding-top: 10px;}
#churchAbout, #churchDetails { margin-bottom: 30px;}
#enquieryForm { margin: 20px 0;}
.gfield label {color: #434343; font-size: 13px;}
/*.ginput_container #input_1_4 {
   background: transparent;
   width: 268px;
   padding: 5px;
   font-size: 16px;
   line-height: 1;
   border: 0;
   border-radius: 0;
   height: 34px;
   -webkit-appearance: none;
   }
#field_1_4 .ginput_container {width: 240px;
   height: 34px;
   overflow: hidden;
   background: url(new_arrow.png) no-repeat right #ddd;
   border: 1px solid #ccc;}*/

.gform_wrapper .top_label input, .gform_wrapper .top_label input.large, .gform_wrapper .top_label select.large, .gform_wrapper .top_label textarea.textarea { 
	border-radius: 0px !important; margin-left: 0px !important; padding: 10px;}
#field_1_6 .ginput_container { width: 100%; overflow:hidden; background: url(images/sellect-arrow.jpg) right center no-repeat;}
.gfield_select {padding: 10px 20px !important; width: 140%; -moz-box-sizing: content-box; -webkit-appearance: none; background: transparent;}
.button.gform_button { background-color: #3671b3; border: solid 0; padding: 5px 10px; color: #fff; font-size: 20px; font-weight: 500;}
.ginput_container .gfield_select option {border-right: 1px solid #CCCCCC; width: 100%;}
#gform_submit_button_1, #gform_submit_button_2 { background-color: #3671b3; border: solid 0; padding: 5px 10px; font-family: "ff-spinoza-web-pro"; color: #fff; font-size: 20px; font-weight: 500;}
.gform_footer {margin-top: 0;}

#sliderSide_wrapper { overflow:hidden;}
.sliderSide_caption { margin-bottom:30px;}
#sliderHome li, #sliderSide li, #docSlide li {display: none;}
.bx-viewport #sliderHome li,.bx-viewport #sliderSide li,.bx-viewport #docSlide li {display: block;}
#sliderSide li { list-style:none; width: 0px; position:absolute;}
#sliderSide li img { max-width: 100%;}
.sliderSide_caption a { display: block; background: #f1f1f1; padding:10px;}
.side-cap-link, #sliderSide-prev a, #sliderSide-next a {padding:10px;}
#slideSide-nav-wrapper {position: relative; top:-62px; z-index: 1;}
#sliderSide-next {float: right;}
#sliderSide-prev, #sliderSide-next { z-index: 1; display:block; float:left; width: 50%; text-align:center;}

/****************** home ads ******************/

#homeads, #homeadsMob { margin-bottom: 20px;}

#homeads h3, #homeadsMob h3 { border-bottom: dotted 1px #22235c; padding-bottom:10px;}
#homeads ul, #homeadsMob ul { margin:0; padding:0; list-style:none;}
#homeads li a, #homeadsMob li a { padding:10px 0; display: block; color:#22235c; font-size:14px; font-weight: 500;}


/*************** posts ***********************/
.post {border-bottom: solid 1px #2A64A6;}
.btn-readmore { background: #283168; border:none; color: #fff; padding: 8px; display: block; width: 112px; font-family: "ff-spinoza-web-pro"; font-size: 18px; text-align: center; }

/**** list view *****/

.item_title { font-size: 18px; color: #000; font-weight: 500; font-family: "open_sanslight";}

/*** search results ****/
.search-header { font-size: 14px;}
.search-header h2 a { font-size: 17px; color: #000; font-weight: 400;}
.search-header h2 { text-decoration: underline; margin-bottom: 0;}
.pageLink {margin-bottom: 5px;}
.titleHilite {color:#428BCA;}

#search-side h3 { border-bottom: dotted 1px #22235c; padding-bottom:10px;}
#search-side ul { margin:0; padding:0; list-style:none;}
#search-side li a { padding:10px 0; display: block; color:#22235c; font-size:13px; font-weight: 600;}

.wp-post-image { max-width: 100%; height: auto;}
.feturedImg img, .grid-img-link { margin-bottom: 20px; display:block;}

.post_listings { margin: 20px 0px 20px -15px; min-height: 85px;}

/****** grid ***/

.gridRow { }
.gridItem { height:100%; position: relative;}
.gridItem .btn-readmore { width: 100%; }
.post_grid_img img { max-width: 100%; height: auto;}
.grid-header h2 a { font-size: 16px; color: #000; font-weight: 400;}

.postSmImg, .subImg, .mainImg {height: auto; width: 100%;}
.post_listings h2 { margin: 0 0 20px 0;}
.articleOuterWrapper { margin-bottom: 20px;}
.articleWrapper {position:relative; overflow:hidden;}

.articleOuterWrapper .btn-readmore { position: relative; top: -24px; margin-bottom: -22px; float:right;}
.post_listings {position:relative; overflow: hidden;}
.documents #bx-pager { margin-bottom: 20px;}
.documents h2 { font-family: "ff-spinoza-web-pro"; font-size: 20px; margin-bottom: 10px;}
.doc-links { margin-top: 10px;}
.doc-links .btn-pdf, .doc-links .btn-word { text-align:center; margin-right: 10px;}
.wrapDocLinks {width: 116px; float:right;}
.PDFfileLink { padding: 0 0 0 6px; text-align:right;}
.btn-pdf, .btn-word { background: #E9E9E9; padding: 5px 9px; float: right; width: 116px;}
.doc-main-links .btn-pdf, .doc-main-links .btn-word { float: left; width: 100%;}
.WfileLink { padding: 0 6px 0 0;}
.btn-readmore.doc-link {
    float: right;
    text-align: center;
	padding: 5px;
}
.btn-readmore:hover {background-color:#3671b3; text-decoration:none; color:#fff;}

/**** grid vid *****/

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 768px) {.gridRow { margin: 20px -15px 0;}}
@media screen and (max-width: 767px) {.video-item { margin: 20px 0 0 0;}}
.videos { margin-bottom: 20px;}
.video-item h2 { margin: 20px 0; font-weight: bold;}

/** church search **/
#main #church_search { margin-bottom: 20px; }
@media screen and (min-width: 992px) {#FAC-searchBox {text-align: right;}}
#FAC-searchBox .search_field { padding: 10px; width: 70%; border: solid 1px #ccc; margin-right: 20px; background: #fff; color: #000; float: left;}
#FAC-searchBox #churchsubmit { 
	background: url("images/site_search.png") no-repeat scroll 10px 0px #5e8dc1; 
	border: solid 1px #5e8dc1; 
	padding: 5px 52px 9px 52px;
	color: #fff;
	width: 27%;
	font-family: "ff-spinoza-web-pro"; 
	font-size: 20px;
	text-indent: inherit;
	text-align: center;
}

@media screen and (min-width: 992px) { #churchSearchSubmit { 
	background: url("images/site_search.png") no-repeat scroll 10px 5px #5e8dc1; 
	float: right;
	width: 17%;
	margin: 0;
}
.mapSearch .church_search_field { padding: 10px; width: 70%; border: solid 1px #ccc; margin-right: 20px;}
.searchTitle { padding-top: 5px;}
}

.churchR {margin: 30px -15px;}
.churchIntro {color: #3375b2; font-size: 14px; font-weight:500; margin-bottom: 30px; min-height: 204px;}
@media screen and (max-width: 767px) {.churchIntro img {margin-bottom: 20px;}}
.churchSearch-headers h2 { color: #3375b2; font-size: 15px; font-weight:600; overflow: hidden; height: 18px;}
.church-link { margin: 20px 0; display: block;}
.icons { background: #ececec; border-radius: 2px;}

/********* church details *******/
.church-details { margin-bottom: 30px;}

/********* church details side *******/
#churchSide {}

.churchSide .de-church-img {margin-bottom: 30px;}

.churchSide .de-church-img imf {max-width: 100%;}

.gform_wrapper .top_label input.large, .gform_wrapper .top_label select.large, .gform_wrapper .top_label textarea.textarea { border: solid 1px #ccc; border-radius: 3px; width: 100% !important;}
.gform_wrapper.gf_browser_gecko select {padding: 3px 5px !important;}

.churchSide .gform_body { width: 100%; margin-bottom: 20px;}
.churchSide .gform_wrapper .gform_footer { float: left;}

/*** sitemap ****/
#sitemapWrapper { margin-bottom: 20px;}
#sitemapWrapper ul {margin: 0; padding: 0; list-style:none;}
#sitemapWrapper ul li li {margin: 0 0 0 10px; }
#sitemapWrapper #pagesList li li {display:none;}

/************** footer **********************/

#footads { margin-top: 30px;}
.faceBook { overflow:hidden;}
@media screen and (min-width: 768px) {.visible-mob {display:none;}}
@media screen and (max-width: 767px) {.hidden-mob {display:none;}}
#footsep { border-top: solid 1px #6C6D8E; margin: 0 15px; padding: 0 0 20px 0;}
.footer-menu {list-style: none; padding:0; margin:0;}
.footer-menu li, .copyright { float: left; display:block;}
.footer-menu li a, .copyright { border-right: solid 1px; margin-right: 5px; padding-right: 5px;}
.footer-menu li:last-child a { border-right:none; margin-right: 0; padding-right: 0;}

#footads h3 { font-size: 16px; margin: 0 0 20px 0;}

#footSignup h3, #footSignup a {color:#fff;}
#newsSignup, #footerContact { padding: 20px; margin: 10px 0; min-height: 108px; color:#fff;}
#footerContact p { margin-bottom: 0;}

#newsSignup { background-color:#5f8cc1; overflow: hidden;}
#newsSignup .gform_wrapper div.validation_error { color: #fff;}
#newsSignup .gform_wrapper li.gfield.gfield_error.gfield_contains_required {padding:0 !important; margin:0 !important; background:none; width: 100%; border: none;}
#newsSignup .gform_wrapper .top_label .gfield_error .ginput_container { max-width: 100% !important;}
#newsSignup.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label, .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {margin:0 !important;}
#newsSignup .gform_wrapper .validation_message {padding:0 !important; margin:0 !important; color:#fff;}
#newsSignup #church_search { margin-bottom: 6px; }
#gform_fields_3 input {
	border: medium none;
    height: 23px;
    margin-bottom: 5px;
}

#newsSignup .gform_wrapper {
    max-width: 100%;
}

#gform_submit_button_3 {
  background: linear-gradient(to bottom, #B3B3B3 0%, #9F9FA0 100%) repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
  background-color: #999;
  border-radius: 0 5px 5px 0;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  width: 100%;
  border: 0px solid #B3B3B3;
  height: 23px;
  padding: 0 0 2px 0;
}

/* Safari only override */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	::i-block-chrome,#gform_submit_button_3 {
	  font-weight: normal;
	  position:relative;
	  top: 1px;
	  left: -1px;
	}
	::i-block-chrome,#church_search .go, ::i-block-chrome,#churchsubmit, ::i-block-chrome,#site_search .go { position:relative; top: 0px;}
	::i-block-chrome,.side_findAchurch .go { 
	  font-weight: normal;
	  position:relative !important;
	  top: 1px !important;
	  left: -1px;
	  border: solid 0px !important;
	}
}

#gform_3 .gform_body {width: 75%; float: left;}
.gform_body {width: 100%; float: left;}
#field_3_1 label {display: none;}
.ginput_container input { width: 100% !important; border: 1px solid #ccc;}
#gform_3 .ginput_container input { width: 100% !important; border: 1px solid #FFFFFF;}
#gform_3 .gform_footer { width: 25%; float: right; clear: none !important; margin:0 !important; padding:0 !important;}

#gform_2 .gform_footer { width: 100%; float: left; clear: both !important; margin: 20px 0 !important; padding:0 !important;}

#footerContact { background-color:#8fafd4;}

.site-footer {margin: 20px 0; overflow:hidden;}
.site-info {margin-bottom: 30px;}

footer, footer a { font-size: 13px; color: #22235C;}

/**** events *****/
#tribe-bar-views li.tribe-bar-views-option { display: block;}
.datepicker.dropdown-menu { z-index: 101 !important;}
.eventDetails { margin: 30px -15px;}
.tribe-events-event-image { margin-bottom: 0;}
.eventListImg .tribe-events-event-image { width: 100% !important;}
.eventsHeadings {font-size: 18px !important; margin-bottom: 15px;}
.time-details { color: #3671b3;}
.eventIntro .btn-readmore { margin-top: 15px; }
.tribe-events-meta-group-organizer { display: none !important;}
.tribe-events-gcal, .tribe-events-ical {padding: 10px !important; display: inline-block; border-radius: 3px; background-color: #eeeeee !important;}
.tribe-events-gcal:hover, .tribe-events-ical:hover {background-color: #dadada !important;}
.eventSimple { margin: -15px 0;}

.eventContent {margin-top: 30px;}
.tribe-events-schedule {margin-top: 0px;}
.tribe-events-schedule h3 {font-family: "open_sanslight"; font-weight: 400; font-size: 18px !important; color:#000; width: 100%;}
.websiteLink a { font-size: 12px;}

#tribe-events-content #breadcrumbs { margin-bottom: 30px;}
.tribe-events-single-event-description { margin: 30px 0;}
.single-tribe_events .tribe-events-cal-links { margin-bottom: -75px ; top: -100px; position: relative;}
.single-tribe_events .tribe-events-venue-map { width: 100%;}
.single-tribe_events .tribe-events-content { margin-bottom: 70px;}
.single-tribe_events #tribe-events-gmap { padding-top: 67%;}
.tribe-events-meta-group-details h2, .eventFooter h2 {
  color: #22235C;
  font-family: "ff-spinoza-web-pro";
  font-size: 30px !important;
  font-weight: 100 !important;
}

.eventsFootCatigories ul, .eventsFootUpEvents ol { list-style: none; margin: 0; padding:0;}
.eventsFootCatigories ul li, .eventsFootUpEvents ol li { list-style: none; margin: 10px 0 0; padding:0;}
.events-cat-menu li ul li {margin: 0 10px; font-size: 12px; display: none;}

.tribe-events-meta-group-details h2 { font-family: "ff-spinoza-web-pro"; font-size: 30px !important; color:#22235c; font-weight: 100 !important;}
.tribe-events-meta-group-venue {margin-top: 50px;}
.tribe-events-meta-group-venue .tribe-events-single-section-title, .tribe-events-meta-group-details h4 { font-family: "open_sanslight"; font-weight: 800; font-size: 17px; color:#000; }

#tribe-events-content.tribe-events-list.col-sm-8 {padding:0 15px !important;}

#tribe-events-footer.col-sm-12 { margin: 15px;}
.tribe-related-events .date-start {color:#428BCA; font-size: 14px;}
.tribe-related-events h3 {font-family: "open_sanslight"; font-size: 15px; font-weight: 500;}
.tribe-related-events h3 a {color: #000;}
.tribe-related-events h3 a:hover {color: #295F9B;}

.list-info h4 { margin-top: 0;}
.eventFooter h3 {
	color: #22235C;
	font-family: "ff-spinoza-web-pro";
	font-size: 30px !important;
	font-weight: 100 !important;
}

/************ news ********/
.post_grid_img img { width: 100%; height: auto;}
@media screen and (max-width: 767px) {.post_grid_img img { margin: 10px 0 20px;}}
.featured-link { margin-top: 10px;}
.btn-news { background:url(images/news-readmore-arrow.jpg) right center no-repeat; padding-right: 12px; color: #000;}
.featured-news hr { border-color: #000 -moz-use-text-color -moz-use-text-color; margin-bottom: 40px;}
.sub-featured-news hr { border-color: #ccc -moz-use-text-color -moz-use-text-color;}


/**** news footer *********/
.news-footer-nav { list-style: none; margin: 0; padding:0;}
.news-footer-nav li { margin: 0; padding:0;}
.news-footer h3 { font-size: 30px;}
.news-footer ul { margin: 10px 0;}
.news-footer li a {color: #22235c; font-family: "ff-spinoza-web-pro"; font-size: 20px; color:#22235c; font-weight: 100; display:block; margin: 10px 0; padding: 10px 0; border-bottom: dotted 1px;}

.news-by { margin: 10px 0; padding:0; list-style: none;}
.news-by li a {color: #22235c; font-family: "ff-spinoza-web-pro"; font-size: 18px; color:#22235c; font-weight: 100; display:block; margin: 5px 0; padding: 5px 0; border-bottom: dotted 1px;}

/******** news side ***/
.news-sidebar img { width: 100%; height: auto;}
#latest-vid h3 { color:#376fb2; font-size: 30px;}
#latest-vid .caption { background-color: #376fb2; color: #fff; display: block; padding: 10px;}
#menu-news-categories {margin: 5px 0 20px 0; padding: 0; list-style: none;}
#menu-news-categories li {margin: 5px 20px;}
#menu-news-categories li a {padding: 0 0 0 15px; background:url(images/news-cats-arrow.jpg) center left no-repeat; color: #000; display: block;}
.link-sep { height: 10px;}

.side_news_findAchurch h3 { color: #fff;}
.side_news_findAchurch .side_findAchurch_form { top: 0; margin-bottom: 0; background: #38396c; height: auto; padding-bottom: 0;}

/******** news article ***/

.news-share { margin: 5px 0 30px -2px;}
.news-share .stButton img, .news-share-foot .stButton img  { display: none !important;}

/****** Synod Block ********/

.synod_block {background-color: #7c3476; overflow: hidden; margin-bottom: 20px; color: #fff;}
.synod_block h1 { color: #fff;}
#synod_bl_inner {padding: 15px;}
.syn_text { margin-bottom: 15px;}
.syn_bl_footer {background-color: #894984; overflow:hidden; margin: 15px -15px -15px; padding: 15px 0;}
.syn_bl_footer h2 {border-bottom: solid 1px #fff; padding-bottom: 15px; font-size: 16px;}

.synod_block li, .synod_block ul {list-style: none; padding: 0; margin: 0 0 5px 0;}
.session-links li { background: url(/wp-content/themes/sec_base/images/time_icon.jpg) no-repeat left center; padding: 0 0 5px 30px; border-bottom: dotted 1px #fff;}
.session-docs li { background: url(/wp-content/themes/sec_base/images/file_icon.png) no-repeat left center; padding: 0 0 5px 30px; border-bottom: dotted 1px #fff;}
.synod_block a { color: #fff;}

.synod_feed { margin-bottom: 15px;}

/********* committees table ***********/

.com-headings .committee-col { background: #376fb2; color: #fff; } 
.com-headings .com-col-inner { padding: 10px 0;} 
.comRow .com-col-inner { padding: 5px 0;} 
.comRow.even .committee-col { background-color: #eee;} 

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
