/*
Theme Name: QBC Child Theme
Description: A child theme of Exodus for QBChurch.
Theme URI: http://www.qbchurch.org
Version: 1.0
Author: Mike Fahlsing
Template: exodus
*/
/*
This stylesheet is loaded by functions.php after the main template themes.
To override styles, copy them here from the original stylesheet, then change the properties.

Similarly, you can modify stylesheets in /css and /colors. For example, you could create a file
in this child theme at css/responsive.css containing @import url("../../exodus/css/responsive.css");

See http://churchthemes.com/guides/developer/child-theming/ and the WordPress Codex:
http://codex.wordpress.org/Child_Themes
*/

body {
  background-color:#F3F4EA; /* this was the original darker parchment #ECEDDD;*/
}

#exodus-top-bar-inner, #exodus-footer-top,
#exodus-footer.exodus-footer-no-location.exodus-footer-no-social-icons,
.exodus-caption-image-inner, .exodus-sidebar-widget, .exodus-logo-bar-right-item a,
.exodus-rounded .exodus-author-box, .single-post .bypostauthor > article {
  background-color: #E7DDBF; /*This was the light airforce blue #B2CBDC; /*#BCD5E6;*/
}

h1, h2, #exodus-logo-text a, .exodus-top-bar-right-item-date, #exodus-footer-top-address a {
  color: #1F1209;
}

li.sa-link-icon {
  background-image: url('https://www.qbchurch.org/wp-content/uploads/2020/03/sermon_audio_logo.jpg');
  background-repeat: no-repeat;
  background-position: left;
  background-size: 30px;
  padding-left: 35px;
}

.menu-icon-forward-alt:before {
  font-family: 'Elusive-Icons';
  speak: none;
  content: "\e6c0";
}

.menu-icon-book:before {
  font-family: 'Elusive-Icons';
  speak: none;
  content: "\e713";
}

#exodus-top-bar-custom-content  .sa-webcast-button {
  margin-top: -5px;
}

.sa-webcast-button-tiny {
  display: none;
}

.exodus-entry-content h3.book-subtitle {
  margin-top: 0px;
}

#exodus-logo-tagline {
  text-align: center;
}

/* Adjust top logo to match QBC wishes. Larger with less surrounding space*/
#exodus-logo-bar-content {
  padding: 30px 0; /* line height adds about 10px */
}

.homepage-featured-fb-video {
  align-items: center;
  align-content: center;
  text-align: center;
}

.homepage-featured-fb-video .wp-block-embed__wrapper {
  display: inline-block;
  max-width: 400px;
}

@media only screen and (min-width: 1180px) {
  #exodus-logo-bar-right-tagline {
    font-size: 1.5em;
  }
}

@media only screen and (min-width: 1024px) {
  #exodus-logo-content {
    width: 55%; /* more than half the space */
  }

  #exodus-logo-bar-right {
    max-width: 39%;
  }

  #exodus-logo-bar-right-tagline {
    font-size: 1.5em;
  }
}


/* Logo Image */
#exodus-logo-image {
  max-width: 750px; /* help Firefox/IE */
}



#exodus-middle-content {
  margin-top: 40px;
}

.exodus-main-title {
  margin: 0 0 20px 0;
}

blockquote cite {
    display: block;
    margin-top: 10px;
    /*font-size: 0.85em;
    font-weight: bold;
    font-style: normal;
    line-height: 1.6em;*/
    float: right;
}

#qbc-daily-thought .qbc-daily-thought-title {
  /*font-size: 28px;
  font-weight: bold;*/
  margin-bottom: -20px;
}

/*font #c85900*/

/************ HOMEPAGE HIGHLIGHTS *************/

/* Note: Change all 40px values together for even spacing */

#qbc-subcategory-highlights,
#qbc-ministries {
	width: 100%;
	margin: 0px 0 50px -40px;
	float: none;
}

	#qbc-subcategory-highlights-inner {
		margin: -40px -40px 0 0;
	}

  #qbc-ministries-inner {
		margin: 0px -40px 0 0;
	}

	#qbc-subcategory-highlights .exodus-highlight,
  #qbc-ministries .qbc-nav-button {
		display: inline-block;
		margin: 40px -40px 0 40px;
		width: 33.3%; /* three columns totals 100% */
	}

		#qbc-subcategory-highlights .exodus-highlight .exodus-caption-image-inner,
    #qbc-ministries .qbc-nav-button-inner {
			margin-right: 40px;
		}
    #qbc-ministries .exodus-caption-image-caption {
      margin-right: 40px;
      height: 80px;
    }

		/* Bigger title on homepage */

		#qbc-subcategory-highlights .exodus-caption-image-title,
    #qbc-ministries .qbc-nav-button-inner {
			font-size: 1.5em;
		}

    #qbc-ministries .qbc-nav-button-inner {
      width: 88%;
    }

  #ctcom-home-widgets-wrap {
    width: 100%;
    margin: 90px 0 90px -40px;
    float: none;
  }

  .exodus-home-bottom-widgets-all #exodus-home-bottom-widgets {
    margin: -40px -40px 0 0;
  }

  /* Left Column */

	.exodus-home-bottom-widgets-all #exodus-home-bottom-widgets-left { /* make 50% only if both columns used */
    float: left;
    padding-right: 40px;
    width: 33.3%;
		/*float: left;*/
		/*width: 30%;*/
	}

  .exodus-home-bottom-widgets-all #exodus-home-bottom-widgets-center { /* make 50% only if both columns used */
    float: left;
    padding-right: 40px;
    width: 33.3%;
		/*float: left;*/
		/*width: 30%;*/
	}

	/* Right Column */

	.exodus-home-bottom-widgets-all #exodus-home-bottom-widgets-right { /* make 50% only if both columns used */
    float: left;
    padding-right: 40px;
    /*margin: 0px -40px 0 40px;*/
    width: 33.3%;
		/*float: right;*/
		/*width: 30%;*/
	}

/**********************************************
 * 1180px - Big Tablet, Laptop (Uncommon)
 **********************************************/

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

	/*************** CUSTOM STYLES ****************/

	/* Caption Image - Homepage Highlights and Sidebar (not Home Bottom) */

	#qbc-subcategory-highlights .exodus-caption-image-title { /* Homepage Highlight */
		padding: 10px 13px;
		font-size: 1.2em;
		line-height: 1.2em;
	}

		/* Font Adjustments */

		.exodus-heading-font-nothing-you-could-do #qbc-subcategory-highlights .exodus-caption-image-title {
			padding-top: 11px;
			padding-bottom: 9px;
		}

	/****************** HOMEPAGE ******************/

	/* Note: Change all 30px values together for even spacing */

	/* Reduce Margin */

	#qbc-subcategory-highlights,
  #qbc-ministries {
		margin-left: -30px;
	}

		#qbc-subcategory-highlights-inner,
    #qbc-ministries-inner {
			margin: -30px -30px 0 0;
		}

		#qbc-subcategory-highlights .exodus-highlight,
    #qbc-ministries .qbc-nav-button {
			margin: 30px -30px 0 30px;
		}

			#qbc-subcategory-highlights .exodus-highlight .exodus-caption-image-inner,
      #qbc-ministries .qbc-nav-button-inner {
				margin-right: 30px;
			}
}

/**********************************************
 * 1024px - Big Tablet, Small Laptop or Less
 **********************************************/

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

  /*************** CUSTOM STYLES ****************/

  /* Caption Image - Homepage Highlights and Sidebar (not Home Bottom) */

  #qbc-subcategory-highlights .exodus-caption-image-title,
  #qbc-ministries .qbc-nav-button-inner { /* Homepage Highlight */
    padding: 8px 10px;
    font-size: 1em;
    line-height: 1.3em;
  }

    /* Font Adjustments */

    .exodus-heading-font-nothing-you-could-do #qbc-subcategory-highlights .exodus-caption-image-title,
    .exodus-heading-font-nothing-you-could-do #qbc-ministries .qbc-nav-button-inner {
      padding-top: 9px;
      padding-bottom: 7px;
    }

  /*#qbc-subcategory-highlights .exodus-caption-image-description,
  #qbc-ministries .exodus-caption-image-description {  Homepage Highlight
    padding: 6px 10px;
    font-size: 0.8em;
  }*/
}

/**********************************************
 * 800px - Tablet, Small Netbook or Less
 **********************************************/

@media only screen and (max-width: 800px) {
  /* Homepage Highlights - Reduce Margin */

	#qbc-subcategory-highlights {
		margin: 70px 0 70px -20px;
	}

  #qbc-subcategory-highlights-inner {
    margin: -20px -20px 0 0;
  }

  #qbc-subcategory-highlights .exodus-highlight {
    margin: 20px -20px 0 20px;
  }

  #qbc-subcategory-highlights .exodus-highlight .exodus-caption-image-inner {
    margin-right: 20px;
  }

  /* Remove description (if it has title and description) */

  #qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-title {
    padding: 6px 10px;
    font-size: 0.95em;
    line-height: 1.4em;
  }

  /* Font Adjustments */

  .exodus-heading-font-nothing-you-could-do #qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-title {
    padding-top: 7px;
    padding-bottom: 5px;
  }

  #qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-description {
    display: none;
  }

  #exodus-top-bar-menu {
    float: left;
    margin-right: 15px;
  }

  .exodus-top-bar-right-content {
    display: block;
  }
}

/**********************************************
 * 759px - Small Tablet (just under 760px)
 **********************************************/

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

}

/**********************************************
 * 640px - Big Phone, Small Tablet or Less
 **********************************************/

@media only screen and (max-width: 640px) {
  /* Homepage Highlights */

	#qbc-subcategory-highlights {
		margin: 60px 0;
	}

		#qbc-subcategory-highlights-inner {
			margin: 0;
		}

		#qbc-subcategory-highlights .exodus-highlight {
			display: block;
			width: 100%;
			margin: 40px 0 0 0;
		}

			#qbc-subcategory-highlights .exodus-highlight:first-child {
				margin-top: 0;
			}

			#qbc-subcategory-highlights .exodus-highlight .exodus-caption-image-inner {
				margin-right: 0;
			}

			/* Restore original caption size */

			#qbc-subcategory-highlights .exodus-caption-image-title,
			#qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-title {
				padding: 10px 15px;
				font-size: 1.5em;
			}

				/* Font Adjustments */

				.exodus-heading-font-nothing-you-could-do #qbc-subcategory-highlights .exodus-caption-image-title,
				.exodus-heading-font-nothing-you-could-do #qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-title {
					padding-top: 11px;
					padding-bottom: 9px;
				}

			#qbc-subcategory-highlights .exodus-caption-image-description,
			#qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-description {
				display: inline-block; /* show again */
				padding: 9px 15px;
				font-size: 0.9em;
				line-height: 1.4em;
			}
  .exodus-home-bottom-widgets-all #exodus-home-bottom-widgets-left,
  .exodus-home-bottom-widgets-all #exodus-home-bottom-widgets-right,
  .exodus-home-bottom-widgets-all #exodus-home-bottom-widgets-center {
    float: none;
    width: 100%;
  }

  #exodus-top-bar {
    visibility: visible;
    height: 41px;
  }

  blockquote {
    font-size: 100% !Important;
  }
}

/**********************************************
 * 480px - Phone, Very Small Tablet or Less
 **********************************************/

@media only screen and (max-width: 480px) {
  /*************** CUSTOM STYLES ****************/

	/* Caption image / Highlight widget - shrink caption (all widget areas same at this resolution) */

	#qbc-subcategory-highlights .exodus-caption-image-title, /* Homepage Highlight */
	#qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-title {
		padding: 10px 13px;
		font-size: 1.2em;
		line-height: 1.2em;
	}

		/* Font Adjustments */

		.exodus-heading-font-nothing-you-could-do #qbc-subcategory-highlights .exodus-caption-image-title,
		.exodus-heading-font-nothing-you-could-do #qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-title {
			padding-top: 11px;
			padding-bottom: 9px;
		}

	#qbc-subcategory-highlights .exodus-caption-image-description, /* Homepage Highlight */
	#qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-description {
		padding: 7px 13px;
	}

  /* Homepage Highlights */

	#qbc-subcategory-highlights {
		margin: 50px 0;
	}

		#qbc-subcategory-highlights-inner {
			margin: 0;
		}

		#qbc-subcategory-highlights .exodus-highlight {
			display: block;
			width: 100%;
			margin: 30px 0 0 0;
		}

			#qbc-subcategory-highlights .exodus-highlight:first-child {
				margin-top: 0;
			}

			#qbc-subcategory-highlights .exodus-highlight .exodus-caption-image-inner {
				margin-right: 0;
			}
  .sa-webcast-button-tiny {
    display: block;
  }

  .sa-webcast-button-wide {
    display: none;
  }

}

/**********************************************
 * 320px - Small Phone
 **********************************************/

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

	/*************** CUSTOM STYLES ****************/

	#qbc-subcategory-highlights .exodus-caption-image-title, /* Homepage Highlight */
	#qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-title {
		padding: 7px 10px;
		font-size: 1em;
		line-height: 1.4em;
	}

		/* Font Adjustments */

		.exodus-heading-font-nothing-you-could-do #qbc-subcategory-highlights .exodus-caption-image-title,
		.exodus-heading-font-nothing-you-could-do #qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-title {
			padding-top: 8px;
			padding-bottom: 6px;
		}

	#qbc-subcategory-highlights .exodus-caption-image-description, /* Homepage Highlight */
	#qbc-subcategory-highlights .exodus-highlight-has-title .exodus-caption-image-description {
		padding: 6px 10px;
		font-size: 0.8em;
	}

  /* Homepage Highlights */

	#qbc-subcategory-highlights .exodus-highlight {
		margin: 20px 0 0 0;
	}
}

.qbc_rec_reading .exodus-entry-image img {
  max-height: 160px;
}

/* Bloom and MailChimp */
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }

.et_bloom .et_bloom_widget_content .et_bloom_form_header h2 { text-align:center; }

.et_bloom .et_bloom_widget_content .et_bloom_form_header p { text-align:center; font-size:100%; margin-top:20px; }