/*
Theme Name: LGG Child Theme
Theme URI: http://www.montereypremier.com/
Description: A Custom Blank Child Theme
Author: Jerry Simmons
Author URI: http://www.montereypremier.com/
Template: Divi
Version: 1.0
*/


/** COLORS  **

Light Gray: #a7a9ac
Dark Gray: #231f20

**/

.et_pb_ajax_pagination_container {
  grid-template-columns: calc(33% - 20px) calc(33% - 20px) calc(33% - 20px) !important;
}

/* FIX BUTTON STUDIES */
.et_pb_row .et_pb_module.et_pb_text.txt {
	padding: 0px !important;
    background: transparent !important;
}
.et_pb_row .et_pb_module.et_pb_text.txt:hover {
	background: transparent !important;
	border: none  !important;
}
.et_pb_row .et_pb_module.et_pb_text.txt .tve-leads-two-step-trigger {
	padding: 20px !important;
	border: solid 2px #000 !important;
	background: #000 !important;
	display: block !important;
	min-width: 100% !important;
}
.et_pb_row .et_pb_module.et_pb_text.txt .tve-leads-two-step-trigger:hover {
	background: #fff !important;
	border-color: #000 !important;
}


/*------------------------------------------------*/
/*-------------------[GENERAL]--------------------*/
/*------------------------------------------------*/

/*** TYPOGRAPHY ***/
	@media (max-width: 767px) {
		h1 {
			letter-spacing: 2px !important;
			padding-bottom: 0px;
		}
	}
	@media (max-width: 500px) {
		h1 {
			font-size: 25px !important;
			padding-bottom: 0px;
		}
		h2 { letter-spacing: 2px !important; }
	}

/*** SUBPAGE HEADER ***/
	@media (max-width: 767px) {
		.et_pb_section_0 .et_pb_row_0 .et_pb_text_0 {
			padding: 0px !important;
			max-width: 100%;
		}
	}


/*------------------------------------------------*/
/*----------------[ CUSTOM HEADER ]---------------*/
/*------------------------------------------------*/


	.custom_top_header_section {
		padding: 0px !important;
		background-color: #a7a9ac;
	}
	.custom_top_header_section .et_pb_row { padding: 0px !important; }
	.custom_top_header_section .et_pb_column:last-child { text-align: right; }

/* Contact Us Link */
	.custom_top_header_section .mp_m_topheader_contact_button {
		display: inline-block;
		position: relative;
		margin-bottom: 0px !important;
		padding: 8px 15px;
		background: transparent;
		text-transform: uppercase;
		font-weight: 600;
		font-family: gotham-book;
		font-size: 16px;
		letter-spacing: 3px;
		transition: all .35s ease;
	}
	.custom_top_header_section .mp_m_topheader_contact_button a { color: #fff; }
	.custom_top_header_section .mp_m_topheader_contact_button:hover {
		background-color: rgba(35,31,32,.5) !important;
		transition: all .35s ease;
	}

/* Search Icon & Form */
	.custom_top_header_section .mp_m_topheader_search {
		display: inline-block;
		margin-bottom: 0px !important;
	}
	.custom_top_header_section #lgg_top_search #et_search_icon { color: #fff; }
	.custom_top_header_section #lgg_top_search #et_search_icon::before {
		top: -7px !important;
		font-weight: 800;
		-moz-transform: scale(-1, 1);
		-webkit-transform: scale(-1, 1);
		-o-transform: scale(-1, 1);
		-ms-transform: scale(-1, 1);
		transform: scale(-1, 1);
	}
	.custom_top_header_section #lgg_top_search #et_search_icon:hover {  color: #231f20 !important; }

	/* Search Dropdown Box */
	.custom_top_header_section .lgg_search_form_container {
		position: absolute;
		z-index: 0;
		opacity: 0;
		bottom: 0px;
		height: 40px;
		width: 350px;
		margin-left: 25px;
	}
	.custom_top_header_section .lgg_search_form_container.et_pb_search_visible { bottom: -23px; }
	.container.lgg_search_form_container.et_pb_search_visible {
		z-index: 99999 !important;
		-webkit-animation: fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
		-moz-animation: fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
		-o-animation: fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
		animation: fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
	}

	.custom_top_header_section form.et-search-form {
		max-width: 350px !important;
		background: #231f20 !important;
		border-radius: 3px !important;
	}
	.custom_top_header_section .et-search-form input {
		width: 310px;
		border: none;
		color: #231f20;
		position: absolute;
		top: 0;
		bottom: 0;
		right: 30px;
		margin: 5px;
		background: rgb(255, 255, 255); }
	/* input box */
	.custom_top_header_section span.et_close_search_field {
		margin-top: -20px;
		margin-right: 5px;
	}
	.custom_top_header_section .custom_top_header_section span.et_close_search_field:after {
		color: #fff !important;}
	/* input box */
	.custom_top_header_section .lgg_search_form_container input {
		color: #000 !important;
		background-color: #f5f5f5;
		border-radius: 3px;
		text-transform: uppercase;
		font-weight: 600;
		font-family: gotham-book;
		font-size: 14px;
		letter-spacing: 2px;
		padding-left: 10px;
	}



/* Social Icons */
	.custom_top_header_section .et_pb_social_media_follow {
		display: inline-block;
		padding-right: 20px;
		margin-bottom: 0px !important;
	}
	.custom_top_header_section .et_pb_social_media_follow .et_pb_social_icon a {
		background-color: #f5f5f5 !important;
		border-radius: 15px !important;
		margin: 4px 5px;
		transition: all .35s ease;
	}
	.custom_top_header_section .et_pb_social_media_follow .et_pb_social_icon a::before {
		color: #333 !important; }
	.custom_top_header_section .et_pb_social_media_follow .et_pb_social_icon a:hover {
		background-color: rgba(245,245,245,.5) !important;
		transition: all .35s ease;
	}

/* Donate Link */
	.custom_top_header_section .mp_m_topheader_donate_button {
		display: inline-block;
		position: relative;
		padding: 8px 15px;
		background: #231f20;
		text-transform: uppercase;
		font-weight: 600;
		font-family: gotham-book;
		font-size: 16px;
		letter-spacing: 3px;
		transition: all .35s ease;
	}
	.custom_top_header_section .mp_m_topheader_donate_button a { color: #fff; }
	.custom_top_header_section .mp_m_topheader_donate_button:hover {
		background-color: rgba(35,31,32,.5) !important;
		transition: all .35s ease;
	}

/* Custom Header - Screen Size Adjustments */
	@media (max-width: 980px) {
		.custom_top_header_section .et_pb_column {
			width: 50% !important;
			margin-bottom: 0px !important;
		}
	}
	@media (max-width: 767px) {
		.custom_top_header_section .et_pb_row { width: 100%;}
		.custom_top_header_section .et_pb_column:first-child { display: none; }
		.custom_top_header_section .et_pb_column {
			width: 100% !important;
			margin-bottom: 0px !important;
			text-align: center !important;
		}
		.custom_top_header_section .et_pb_social_media_follow li {
			margin-bottom: 0px !important;
			top: 2px !important;
		}
	}


/*------------------------------------------------*/
/*----------------[ CUSTOM FOOTER ]---------------*/
/*------------------------------------------------*/

	@media (max-width: 980px) {
		#custom_footer_section .et_pb_text { border: none; }
	}


/*------------------------------------------------*/
/*--------------------[ HOME ]--------------------*/
/*------------------------------------------------*/

	/* Testimonial Slider Width */
	.home_testimonial_slider {
		width: 90%;
		margin-left: 5%;
	}


	.home_community_cta_row {
		padding: 50px 3% !important;
	}
	.home_community_cta_row img { border-radius: 50%; }
	.home_community_cta_row .et_pb_blurb { margin: 0px 10px; }
	.home_community_cta_row .et_pb_blurb_container {
		position: relative;
		z-index: 999;
		background-color: #231f20;
		width: 80%;
		height: 60px;
		display: grid;
		grid-template-rows: 60px;
		grid-template-columns: 100%;
		grid-gap: 0px;
		margin: -70px 10% 0px;
	}
	.home_community_cta_row .et_pb_module_header {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		text-align: center;
		padding: 8px 22% 8px;
		font-size: 14px;
		line-height: 1.4em;
		font-family: 'gotham-book',Georgia,"Times New Roman",serif!important;
		text-transform: uppercase!important;
		transition: 0.5s;
	}

	.home_community_cta_row .et_pb_module_header:hover {
    	color: #000!important;
    	border: 2px solid #000;
		transition: 0.5s;}

/*------------------------------------------------*/
/*--------------[ SINGLE BLOG POST ]--------------*/
/*------------------------------------------------*/

	/* Remove bottom space under post */
	.single .et_pb_post {
		margin-bottom: 0;
	}

	/* Remove Right Border */
	.single .container::before { display: none; }

	.single #left-area {
		padding-right: 50px;
		width: 75%; }
	.single #sidebar {
		background-color: #f6f7f8;
		padding: 20px;
		width: 25%; }

	/* Featured Image */
	.lgg_single_slim_featured_image {
		height: 250px;
		background-size: cover;
		background-position: 50%;
		margin-bottom: 40px;
	}

	/* Single Post - Screen Size Adjustments */
	@media (max-width: 980px) {
		.single #left-area {
			padding-right: 0px;
			width: 100%;
		}
	}

/* sidebar social media follow widget */
	#sidebar_social_media_follow {
		text-align: center!important;}


/*------------------------------------------------*/
/*-------------[ LGG STUDY LAYOUTS ]--------------*/
/*------------------------------------------------*/

	.language_buttons_heading {
		text-align: center;
		padding: 20px 0px 0px !important;
	}

	/* Fix Divider Spacing */
	.project_category-bible-studies .et_pb_column .et_pb_divider { margin-bottom: 8px !important; }





/*------------------------------------------------*/
/*---------[ LGG REGISTER & LOGIN FORMS ]---------*/
/*------------------------------------------------*/

/*** FORM SECTION ***/
	.logged-in .lgg_downloads_logged_out_section { display: none; }

	.lgg_downloads_logged_out_section .et_pb_login { padding: 0px; }
	.lgg_downloads_logged_out_section .et_pb_login_form { padding: 0px; }

	.lgg_downloads_logged_out_section input,
	.lgg_downloads_logged_out_section .erf-reg-form-container .rendered-form .fb-text.form-group input.form-control {
		border: solid 1px #ddd !important;
		border-radius: 0px !important;
		padding: 14px 4% !important;
		height: auto !important;
		width: 100%;
		font-size: 18px !important;
		font-family: 'caslon-regular',Georgia,"Times New Roman",serif;
		box-shadow: none !important;
		color: #111 !important;
	}

	.lgg_attachments_form .et_pb_button {
		color: #414042!important;
		border-width: 1px!important;
		border-color: #414042;
		border-radius: 0px;
		letter-spacing: 5px;
		font-size: 14px;
		font-family: 'Gotham Book',sans-serif!important;
		font-weight: 600!important;
		text-transform: uppercase!important;
		padding: 0.3em 1em !important;
		width: 200px;
		margin-left: calc(50% - 100px);
	}
	.lgg_attachments_form .et_pb_button::after { display: none !important; }
	.lgg_attachments_form .et_pb_button:hover {
		color: #ffffff!important;
		background: #414042!important;
		border-color: #414042!important;
		padding: 0.3em 1em !important;
	}

	.lgg_attachments_form {
		float: none;
		margin: 0 auto;
		max-width: 80%;
		width: 400px;
	}
	.lgg_attachments_form .lost_password { text-align: center; }
	.lgg_downloads_logged_out_section .et_pb_toggle_title { padding-right: 0px !important; }

	@media (max-width: 767px) {
		.lgg_downloads_logged_out_section .et_pb_row{ width: 95%; }
		.lgg_downloads_logged_out_section .lgg_attachments_form {
			width: 100%;
			max-width: 100%;
		}
	}


/*** DONATE SECTION ***/
	/*
	Commented this out on 06/20/19 - Client would like this block to show to all users now
	.lgg_donate_cta_section { display: none; }
	.logged-in .lgg_donate_cta_section { display: block; }*/
	.lgg_donate_cta_section p { padding: 20px 0px; }
	.lgg_donate_cta_section h3 {
		font-size: 23px;
		font-weight: 600;
	}
	.lgg_donate_cta_section .et_pb_button {
		margin-top: 0px;
		text-transform: uppercase;
		display: inline-block;
		text-transform: uppercase;
		font-weight: 600;
		font-family: gotham-book;
		font-size: 16px;
		letter-spacing: 3px;
		padding: 10px 20px !important;
	}
	.lgg_donate_cta_section .et_pb_button::after { display: none !important; }
	.lgg_donate_cta_section .et_pb_button:hover { background-color: #a7a9ac; }



/*------------------------------------------------*/
/*-------------[ WOOCOMMERCE STYLES ]-------------*/
/*------------------------------------------------*/

/*** PRODUCT CATEGORY PAGES - FIXED HEIGHT PRODUCTS ***/

	.tax-product_cat .products.columns-4 {
		position: relative;
		width: 100%;
		display: grid;
		grid-gap: 10px 20px;
		grid-template-columns: calc(25% - 15px) calc(25% - 15px) calc(25% - 15px) calc(25% - 15px);
	}
	.tax-product_cat ul.products li.product {
		height: auto !important;
		float: none !important;
		clear: none !important;
		width: 100%;
	}
	.tax-product_cat ul.products li.product:first-child { grid-column: 1; }

	.tax-product_cat .et_shop_image img {
		height: 300px !important;
		object-fit: cover;
		object-position: top;
	}
	.tax-product_cat .woocommerce-loop-product__title { padding: 10px !important;  }

	@media (max-width: 1080px) {
		.tax-product_cat .products.columns-4 {
			grid-template-columns: calc(33% - 8px) calc(33% - 8px) calc(33% - 8px) !important;
		}
	}
	@media (max-width: 767px) {
		.tax-product_cat .products.columns-4 {
			grid-template-columns: calc(50% - 15px) calc(50% - 15px) !important;
		}
	}
	@media (max-width: 550px) {
		.tax-product_cat .products.columns-4 {
			grid-template-columns: 100% !important;
		}
	}



/*------------------------------------------------*/
/*-------------[ POST GRID LAYOUTS ]--------------*/
/*------------------------------------------------*/

/* APPLIES TO:
 * Bible Studies Page		/lgg/bible-studies/
 * Single Bible Study Post	/lgg/thessalonians-bible-study/
 * Blog Post Page			/lgg-blog/
 * Shop Page				/store/
 */

.custom_post_grid_layout {}

/*** GRID LAYOUT ***/

	/* Portfolio Grid */
	@media (min-width: 768px) {
		.custom_post_grid_layout.lgg_bible_study_portfolio .et_pb_grid_item:nth-child(n),
		.custom_post_grid_layout.lgg_bible_study_portfolio .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item:nth-child(n),
		.custom_post_grid_layout.lgg_bible_study_portfolio .et_pb_grid_item:nth-child(3n) {
			float: left !important;
			clear: none !important;
			width: calc(33% - 20px) !important;
			margin: 0 30px 7.5% 0 !important;
		}
		.custom_post_grid_layout.lgg_bible_study_portfolio .et_pb_grid_item:nth-child(1n) { margin-right: 30px !important; }
		.custom_post_grid_layout.lgg_bible_study_portfolio .et_pb_grid_item:nth-child(2n) { margin-right: 30px !important;  }
		.custom_post_grid_layout.lgg_bible_study_portfolio .et_pb_grid_item:nth-child(3n) { margin-right: 0px !important;  }
		.custom_post_grid_layout.lgg_bible_study_portfolio .et_pb_grid_item:nth-child(3n+1) { clear: both !important; }
	}

	/* Blog Post Grid */
	.custom_post_grid_layout.et_pb_posts .et_pb_ajax_pagination_container {
		position: relative;
		width: 100%;
		display: grid;
		grid-gap: 40px 36px;
		grid-template-columns: calc(33% - 20px) calc(33% - 20px) calc(33% - 20px);
	}
	.custom_post_grid_layout.et_pb_posts .et_pb_post .post-content { display: none; }

	/* Post Thumbnail / Featured Image */
	@media (min-width: 768px) {
		.custom_post_grid_layout .et_portfolio_image,
		.custom_post_grid_layout .et_portfolio_image img,
		.custom_post_grid_layout.et_pb_posts img {
			max-height: 239px !important;
		}
	}
	.custom_post_grid_layout.et_pb_posts .entry-featured-image-url { margin-bottom: 0px !important; }

	/* Post Title Layout */
	.custom_post_grid_layout.et_pb_portfolio_grid .et_pb_module_header,
	.shop_products_section .et_pb_blurb .et_pb_module_header,
	.custom_post_grid_layout .entry-title {
		position: relative;
		z-index: 9999;
		width: 90%;
		margin-left: 5% !important;
		margin-top: -15px !important;
		padding: 10px 10px !important;
		text-transform: uppercase;
		text-align: center !important;
		height: calc(2em + 20px);
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Post Title - Limit Link To 2 Lines */
	.custom_post_grid_layout.et_pb_portfolio_grid .et_pb_module_header a,
	.shop_products_section .et_pb_blurb .et_pb_module_header a,
	.custom_post_grid_layout.et_pb_posts .entry-title a {
		overflow: hidden;
		max-height: 2em;
	}

	/* Post Meta Layout */
	.custom_post_grid_layout .et_pb_post .post-meta { display: none; }

/*** GRID STYLING ***/

	/* Post Title */
	.custom_post_grid_layout.et_pb_portfolio_grid .et_pb_module_header,
	.shop_products_section .et_pb_blurb .et_pb_module_header,
	.custom_post_grid_layout.et_pb_posts .entry-title {
		color: #fff;
		font-weight: 600;
		background-color: #231f20;
		border: solid 2px #231f20;
	}

	.custom_post_grid_layout.et_pb_portfolio_grid .et_pb_module_header,
	.shop_products_section .et_pb_blurb .et_pb_module_header,
	.shop_products_section .et_pb_blurb .et_pb_module_header a,
	.custom_post_grid_layout.et_pb_posts .entry-title {
		font-size: 14px !important;
	}


	/* Post Meta */
	.custom_post_grid_layout .et_pb_post .post-meta {
		background-color: #d1d3d4;
	}
	.custom_post_grid_layout .et_pb_post .post-meta a {
		color: #231f20;
		font-size: 12px !important;
	}

	/* Hover Effect */
	.custom_post_grid_layout.et_pb_portfolio_grid .et_pb_module_header,
	.shop_products_section .et_pb_blurb .et_pb_module_header,
	.shop_products_section .et_pb_blurb .et_pb_module_header a,
	.custom_post_grid_layout.et_pb_posts .entry-title,
	.custom_post_grid_layout.et_pb_posts .et_pb_post:hover .entry-title {
		transition: all .5s ease;
	}

	.custom_post_grid_layout.et_pb_portfolio_grid .et_pb_grid_item:hover .et_pb_module_header,
	.shop_products_section .et_pb_blurb:hover .et_pb_module_header,
	.custom_post_grid_layout.et_pb_posts .et_pb_post:hover .entry-title {
		color: #231f20!important;
		background-color: #fff;
	}
	.shop_products_section .et_pb_blurb:hover .et_pb_module_header a,
	.shop_products_section .et_pb_blurb:hover .et_pb_module_header { color: #231f20!important; }


/*** SHOP PRODUCT BLURB ADJUSTMENTS ***/
/*** /store/ ***/
	.shop_products_section .et_pb_blurb {
		background-color: transparent !important;
	}
	.shop_products_section .et_pb_blurb .et_pb_blurb_container {
		margin-top: -15px !important;
		border: solid 1px transparent;
	}


/*** SCREEN SIZE ADJUSTMENTS ***/
	@media (max-width: 980px) {
		.custom_post_grid_layout .et_pb_module_header {
			font-size: 16px !important;
		}
		.custom_post_grid_layout.et_pb_posts .et_pb_ajax_pagination_container {
			grid-gap: 40px 30px;
			grid-template-columns: calc(50% - 15px) calc(50% - 15px);
		}
	}

	@media (max-width: 767px) {
		.custom_post_grid_layout.et_pb_posts .et_pb_ajax_pagination_container {
			position: relative;
			display: block;
		}
	}

/*------------------------------------------------*/
/*--[ADDITIONAL CSS CUSTOMIZATION FOR -/lgg-blog/]--*/
/*------------------------------------------------*/

.lgg-blog .post-content {
	display:none !important;
}
.lgg-blog .et_pb_post .post-meta {
	bottom: -40px;
}

/*------------------------------------------------*/
/*--[END OF ADDITIONAL CSS CUSTOMIZATION FOR -/lgg-blog/]--*/
/*------------------------------------------------*/

.et_pb_newsletter_button {
	background:#ffffff;
	color:#000000;
	font-family: 'gotham-book',Georgia,"Times New Roman",serif !important;
	font-weight: 100 !important;
	text-transform:uppercase;
	font-size:18px !important;
}
.et_pb_newsletter_button::after {
	font-size:28px !important;
}
.et_pb_newsletter_button:hover {
	background:#000000;
	color:#fff;
}
.product_title {
	text-align: left !important;
	line-height: 1.5em;
}
.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: none;
    width: 100%;
    font-size: 17px;
}
#af-form-572256073 .buttonContainer input.submit:hover {
    background: #ffffff !important;
	color: #000 !important;
}
#af-body-572256073 .af-element img {
	background-image:url('https://lovegodgreatly.info/single/wp-content/uploads/2018/05/12Thessalonians-bible-study.jpg');
}


/*** PopUp Maker ***/
.privacyPolicy p , .privacyPolicy a {
	color:#231f20 !important;
}
#af-form-572256073 .buttonContainer input.submit {
    width: 97.5% !important;
    background: #231f20 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-family: 'gotham-book',Georgia,"Times New Roman",serif !important;
    cursor: pointer;
    padding: 8px;
    font-weight: 100 !important;
    text-transform: uppercase;
    float: left !important;
}
/*** Logo ***/
.et_header_style_centered #logo {
    width: auto !important;
}

/*------------------------------------------------*/
/*----------------[ CONTACT FORM ]----------------*/
/*------------------------------------------------*/

/* remove success box green border */
div.wpcf7-mail-sent-ok {
    border: 0px solid #398f14;
    color: #226b03;
    line-height: 61px;
    padding: 40px 0px 0px;}


/*------------------------------------------------*/
/*--------------[ NEW PROJECT PAGE ]--------------*/
/*------------------------------------------------*/


