/*
 Theme Name:   FBCI Theme
 Theme URI:    http://solostream.com
 Description:  Enlightened Child Theme
 Author:       Eric Saner
 Author URI:   http://eSaner.com
 Template:     wp-enlightened
 Version:      1.0.0
 Text Domain:  twenty-fourteen-child
*/

#header {
	margin: 0 auto 15px;
}

#header-banner, #header-banner-small {
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
	margin-top: 15px;
}

@media only screen and (max-width: 1024px) {
	#header-banner {
		width: 96%;
    	padding: 0 2%;
	}
}

#header-banner-small {
	width: 86%;
}

#header-banner img {
	width: 100%;
}

#sitetitle {
	display: none !important;
}

#topnav {
	padding: 0;
}

#page {
	border-top: none;
}

a {
	word-wrap: break-word;
}

select {
	-webkit-appearance: menulist-button;
}

.align-right {
	float: right !important;
	margin-left: 10px;
}

.no-bottom-margin {
	margin-bottom: 0;
}

img.border, .wp-caption.border {
	border: 1px solid #C3C3C3;
}

img.border.wide, .wp-caption.border.wide {
	border-width: 4px;
}

img.border.green, .wp-caption.border.green {
	border-color: #1E9582;
}


/* Fixed Nav */
#fixednav {
	background-color: #F3F3F3;
	border-bottom: 1px solid #C3C3C3;
}

ul.fixednav a {
	color: #1e9582;
}

ul.fixednav a:hover {
	color: #2D7065;
	font-weight: bold;
}

ul.fixednav li li.current-menu-item > a, ul.fixednav li li.current-menu-item > a:hover, ul.fixednav li li.current_page_item > a, ul.fixednav li li.current_page_item > a:hover, ul.fixednav li li.current-menu-parent > a, ul.fixednav li.current-menu-parent > a, ul.fixednav li.current-menu-item > a, ul.fixednav li.current_page_item > a {
	color: #2D7065;
	font-weight: bold;
}

ul.fixednav ul {
	width: 230px;
	border-right: 1px solid #C3C3C3;
	border-bottom: 1px solid #C3C3C3;
	border-left: 1px solid #C3C3C3;
}

ul.fixednav ul a {
	background-color: #F3F3F3;
	border: none;
}

#fixednav a.subicon {
	background-position: 0px 0px;
}


/* Buttons */
form input[type="submit"] {
	background: #5E89CD !important;
	border: none;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
}

form input[type="submit"]:hover {
	background: #2B569C !important;
	border-color: #2B569C !important;
}

a.button, .button {
	color: #000000 !important;
	border: none;
	border-radius: 0;
	margin-bottom: 10px;
}

.button.blue {
	color: #ffffff !important;
	background: #5E89CD;
	border: none;
}

.button.blue:hover {
	color: #ffffff;
	background: #2B569C;
}

.registration-button {
  float: left;
  margin: 0px 20px 0 0;
}

.large.registration-button {
  float: right;
  margin: 6px 0 0 20px;
}


/* Header2 (fix nav background color bug) */
#catnav {
	background: #1e9582 !important;
}

#catnav a:hover {
	background: #2D7065 !important;
}

#catnav li.current_page_item > a{
	color: #ffffff !important;
}

#catnav ul ul {
	border-top: none;
}


/* Site-wide Search field */
li.searchbox {
	height: 40px;
}

form#searchform {
	margin: 5px 10px 5px 0;
}

form#searchform input[type="text"] {
	margin: 0;
	padding: 6px;
	border: 0;
	border-color: #ffffff;
	background: #ffffff;
}

form#searchform input[type="submit"] {
	margin: 0;
	padding: 4px 6px;
	border: 2px solid #ffffff !important;
}

@-moz-document url-prefix() {
    form#searchform input[type="submit"] {
    	padding: 3px 6px;
    }
}


/* Homepage Slider Styles */
.featured.narrow .myflexslider .feature-video .video {
	padding-bottom: 66.4%;
}

.featured.narrow .myflexslider .flex-caption {
	bottom: 0;
	left: 0;
	right: 0;
}

.featured.narrow:hover .flex-direction-nav a {
	opacity: 0.6;
}

.featured.narrow .flex-direction-nav a:hover, .featured.narrow .flex-direction-nav a:active {
	opacity: 1.0;
}

.featured.narrow .myflexslider h2.post-title a, .featured.narrow .myflexslider .my-excerpt {
	background: rgba(0,0,0,0.6) !important;
}

.featured.narrow .myflexslider h2.post-title a, .featured.narrow .myflexslider h2.post-title a:link {
	font-weight: bold !important;
}

.featured.narrow .myflexslider a.more-link {
	background: #5E89CD;
}

.featured.narrow .myflexslider a.more-link:hover {
	background: #2B569C;
}

.slide-shadow.small {
	background: none;
	height: 22px;
	margin-bottom: 36px;
}

.flex-control-paging li a {
	border: 1px solid #C3C3C3 !important;
}

.flex-control-paging li a.flex-active, .flex-control-paging li a:active {
	background: #f3f3f3;
}


/* Homepage Icon Styles */
.homepage-icon {
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-bottom	: 1em;
}

.homepage-icon-text {
	text-align: center;
}

.donate {
	float: right;
	margin: 0 1em;
}


/* Widget Styles */
h3.widgettitle {
	font-size: 18px !important;
	text-transform: uppercase;
}

h5.widgettitle {
	margin: 20px 0 0 0;
}

ul.list-fbci {
	list-style: none;
	margin-left: 0;
	padding-left: 1em;
	text-indent: -1em;
}

.list-fbci li {
	list-style: none !important;
}

.list-fbci li:before {
	content: "»";
	font-size: 150%;
	padding-right: 5px;
	color: #EB7B2F;
}

#sidebar .widget .list-fbci li {
	margin: 0 0 15px;
}

.upcoming-course-featured-image {
	float: right;
	margin: 0 1em;
	width: 5.5em;
}

.widget_tag_cloud a:hover {
	background: #2B569C;
	border: 1px solid #2B569C;
}

.widget.subscribebox p.intro {
	background: none;
	padding-right: 0;
}

.widget.sidetabs .flextabs-custom-controls li {
	width: 33.33%;
}

blockquote, .widget.subscribebox {
	background: #F3F3F3;
	border: 1px solid #C3C3C3;
}

.email-form form input[type="submit"] {
	background: #5E89CD;
	border: 1px solid #5E89CD;
}

.email-form form input[type="submit"]:hover {
	background: #2B569C;
	border-color: #2B569C;
}

.widget_sf_widget_constantcontact {
	margin-bottom: 20px;
}

.subicon.rss-email { background-image:url(images/rss-email.png); }
.subicon.rss-email:hover { background-color:#ff9900; }

.DisplayCategoriesWidget {
	overflow: hidden;
}

#text-16 img {
	margin: 0 1em 0 0;
}


/* Narrow-Sidebar, Content layout to make narrow sidebar same 
width as Narrow-Sidebar, Content, Wide-Sibar layout */
.sn-c #page {
	background-position: 15.6% 0;
}

.sn-c #sidebar-narrow {
	width: 12.5%;
}

.sn-c #content {
	width: 81.3%;
}


/* Strip formatting <ul> <li> lists */
.no_style_list ul, ul.no_style_list {
	padding: 0;
	margin: 0 0 20px 0;
}

.no_style_list ul li, .no_style_list li {
	list-style: none !important;
	overflow: hidden;
}


/* Homepage */
#header-banner p, .what-are-form-based-codes.slideshow p {
	margin-bottom: 0;
}


/* Definitions Page */
a.sm2_button .pressplay-btn {
	background-color: #5E89CD;
}

a.sm2_button:hover .pressplay-btn,
a.sm2_button.sm2_playing .pressplay-btn,
a.sm2_button.sm2_playing:hover .pressplay-btn {
	background-color: #2B569C;
}


/* Webinars Page */
.meta.webinars {
	height: 100% !important;
}

.dot-separator {
  background: url(/content/themes/wp-enlightened/images/dotvert.png) 0 50% no-repeat;
  padding: 4px;
  margin: 0 0 0 8px;
}


/* People pages */
.person-featured-image {
  float: left;
  margin: 0 1em .5em 0;
}


/* Instructor lists for courses and webinars */
.instructor-list {
	font-size: 14px;
	line-height: 1.5em;
}


/* Library of Codes */
.code-search {
	clear: both;
	margin-bottom: 1em;
	overflow: hidden;
}

input[name=wpv_post_search] {
	display: inline !important;
	width: 100% !important;
}


/* News Page */
.cats-by-2 .single-video {
	margin-bottom: 0;
}

.index-3-4-archives {
	display: none;
}


/* Contact Page */
.wpcf7 form input[type="text"], .wpcf7 form input[type="email"] {
	margin: 0;
}


/* Donor Page */
.donor-featured-image {
  margin: 0 1em 1em 0;
}

/* Course Descriptions */
.course-id-course-description .button.register {
	margin: 20px 0;
}

/* Single Posts */
.single .auth-bio img.avatar {
	float: right;
	margin: 0 0 15px 15px;
}

.auth-url {
	padding: 12px 0 0 5px !important;
}


/* Remove horizontal dotted line and padding at bottom of single pages */
.page.hentry {
	background: none;
	padding-bottom: 0;
}


/* Footer Styles */
#footer-widgets {
	border-top: 12px solid #f3f3f3;
}


/* DESKTOP ONLY STYLES
---------------------------------------------------------------------------------
Add styles inside the media query below that you only want to be applied to the desktop layout of your site */

@media only screen and (min-width: 801px) {


	/* Desktop styles go here */

/* Header Stytles */
#wrap, .limit, #head-content {
	width: 1000px;
}

.header2 #sitetitle {
	margin: 0 auto 0;
}

li.searchbox {
	float: right !important;
}

#header-banner-small {
	display: none;
}

#header-banner-extra-small {
	display: none;
}

}


/* Max-width 930 ONLY STYLES
---------------------------------------------------------------------------------
Add styles inside the media query below that you only want to be applied to the smaller layout of your site */

@media only screen and (max-width: 930px) {

/* Remove search form from main menu */
form#searchform input[type="text"] {
	width: 100px;
}


}


/* Max-width 850 ONLY STYLES
---------------------------------------------------------------------------------
Add styles inside the media query below that you only want to be applied to the smaller layout of your site */

@media only screen and (max-width: 850px) {

/* Remove search form from main menu */
form#searchform input[type="text"] {
	width: 65px;
}

form#searchform {
	margin: 5px 5px 5px 0;
}

}


/* Max-width 800 ONLY STYLES
---------------------------------------------------------------------------------
Add styles inside the media query below that you only want to be applied to the smaller layout of your site */

@media only screen and (max-width: 800px) {

#topnav {
	display: none !important;
}

#catnav {
	margin: 0 auto 0 !important;
}

#header-banner {
	display: none;
}

#header-banner-extra-small {
	display: none;
}

#header-banner-small {
	display: block;
	background: url(../../uploads/2014/04/header-small.jpg);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-repeat: no-repeat;
	height: 80px;
}

#header-banner-small a {
	display: block;
	width: 100%px;
	height: 80px;
}

}


/* Max-width 560 ONLY STYLES
---------------------------------------------------------------------------------
Add styles inside the media query below that you only want to be applied to the smaller layout of your site */

@media only screen and (max-width: 560px) {

#header-banner {
	display: none;
}

#header-banner-small {
	display: block;
	background: url(../../uploads/2014/04/header-extra-small.jpg);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-repeat: no-repeat;
	height: 80px;
}

#header-banner-small a {
	display: block;
	width: 100%px;
	height: 80px;
}

.registration-button {
	width: 100%;
	clear: both;
}

}

/* Custom */

tr:nth-child(even){background-color: #f2f2f2}