/*
Theme Name: Faith in the Fallen
Version: 1.0
Description: Custom Child theme of Divi for Faith in the Fallen
Author: Dan Dobbertin
Template: Divi
*/

/*@import url("../Divi/style.css");*/

@font-face {
	font-family: Grunge;  
	src: url(https://faithinthefallen.com/wp-content/uploads/et-fonts/Grunge.woff);  
	src: url(https://faithinthefallen.com/wp-content/uploads/et-fonts/Grunge.woff2); 
	src: url(https://faithinthefallen.com/wp-content/uploads/et-fonts/Grunge.ttf); 
	font-weight: normal;  
}
.et_pb_post a img {
float: left;
margin-right: 4%;
width: 40% ;
}
/*Bandsintown Styling*/
.bit-widget .bit-button{background-color:transparent !important;border:2px solid #fff;}
.bit-widget .bit-button:hover,.bit-past-events-show-all-button:hover{background-color:#ec0928 !important;}
/*Band Bio Row */
div.band-members-row.et_pb_row.et_pb_row_0.et_pb_row_fullwidth,#fitfnationals{width:100% !important;max-width:100% !important;}
/* Band Bio Columns */
.et_pb_module.five-columns,#fitfnationals .fitf_nationals {width: 20% !important; float: left !important;overflow:hidden;height:250px;}
.et_pb_module.five-columns .et_pb_blurb_content {height:100%;}
.et_pb_module.five-columns .et_pb_blurb_content .et_pb_blurb_container{position:absolute;width:100%;bottom:0;}
/* National & Local Tiles */
#fitfnationals .fitf_nationals{
	height:200px;
}
/*#fitfnationals .fitf_nationals .et_pb_module_header{padding-top:10px;background:rgba(7,7,7,.5);}*/
#fitfnationals .et_pb_blurb_content{height:100%;}
#fitfnationals .et_pb_blurb_container{
  height: 100%;
  position: absolute;
  width: 100%;
}
#fitfnationals .et_pb_main_blurb_image{
  visibility: hidden;
  margin: 0;
}
#fitfnationals .et_pb_blurb_container h4 {
  padding: 0;
  width: 100%;
  height:100%;
}
#fitfnationals .et_pb_blurb_container h4 a {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
}
#fitfnationals .et_pb_blurb_container h4 a:hover {
  background: rgba(255,255,255,0.5);
  color:#000 !important; 
  transition: all .2s ease-in-out;
  transform:scale(1.5);
}

a.sbi_load_btn,div.sbi_follow_btn a{width:300px;border-radius:0px !important;font-family:'Grunge',Helvetica,Arial,Lucida,sans-serif!important;font-size:20px !important;letter-spacing:2px;}
#sb_instagram .sbi_follow_btn svg{font-size:25px !important;}



.dl-slim-optin1 .et_pb_newsletter_footer {
	flex-basis: 100%;
	margin-top: 0;
	font-size: 80%;
}	
.dl-slim-optin1 .et_pb_newsletter_field,
.dl-slim-optin1 .et_pb_newsletter_button_wrap {
	flex-basis:49%;
}

/*News Gridcards */
.ds-limit-excerpt .post-content p {
    display: block;
    max-height: 6em;
    overflow: hidden;
}
.et_pb_blog_grid .et_pb_image_container {overflow:hidden;height:200px;}
#gridcard .column:first-child article:nth-child(odd){
background: #333;
}
#gridcard .column:first-child article:nth-child(odd) .entry-title,
#gridcard .column:first-child article:nth-child(odd) .post-meta,
#gridcard .column:first-child article:nth-child(odd) .post-meta a,
#gridcard .column:first-child article:nth-child(odd) .post-content p {
color: #ffffff !important;
}

#gridcard .column:nth-child(2) article:nth-child(even) {
background: #333;
}
 
#gridcard .column:nth-child(2) article:nth-child(even) .entry-title,
#gridcard .column:nth-child(2) article:nth-child(even) .post-meta,
#gridcard .column:nth-child(2) article:nth-child(even) .post-meta a,
#gridcard .column:nth-child(2) article:nth-child(even) .post-content p  {
color: #fff;
}

#gridcard .column:last-child article:nth-child(odd){
background: #333;
}
 
#gridcard .column:last-child article:nth-child(odd) .entry-title,
#gridcard .column:last-child article:nth-child(odd) .post-meta,
#gridcard .column:last-child article:nth-child(odd) .post-meta a,
#gridcard .column:last-child article:nth-child(odd) .post-content p {
color: #ffffff;
}

#gridcard .column:first-child article:nth-child(odd),
#gridcard .column:last-child article:nth-child(odd),
#gridcard .column:nth-child(2) article:nth-child(even)  {
background: #333;
}
 
#gridcard .column:first-child article:nth-child(odd) .entry-title,
#gridcard .column:first-child article:nth-child(odd) .post-meta,
#gridcard .column:first-child article:nth-child(odd) .post-meta a,
#gridcard .column:first-child article:nth-child(odd) .post-content p,
#gridcard .column:last-child article:nth-child(odd) .entry-title,
#gridcard .column:last-child article:nth-child(odd) .post-meta,
#gridcard .column:last-child article:nth-child(odd) .post-meta a,
#gridcard .column:last-child article:nth-child(odd) .post-content p,
#gridcard .column:nth-child(2) article:nth-child(even) .entry-title,
#gridcard .column:nth-child(2) article:nth-child(even) .post-meta,
#gridcard .column:nth-child(2) article:nth-child(even) .post-meta a,
#gridcard .column:nth-child(2) article:nth-child(even) .post-content p  {
color: #fff;
}
 
#gridcard .column:nth-child(2) article:nth-child(even):hover img,
#gridcard .column:first-child article:nth-child(odd):hover img,
#gridcard .column:last-child article:nth-child(odd):hover img {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}
 
#gridcard .column:nth-child(2) article:nth-child(odd):hover img,
#gridcard .column:first-child article:nth-child(even):hover img,
#gridcard .column:last-child article:nth-child(even):hover img {
  -webkit-filter: brightness(1.5);
  filter: brightness(1.5);
}

#gridcard .column article, #gridcard .column article img {
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    transition: all 0.8s;
}
 
#gridcard .column:first-child article:nth-child(odd):hover,
#gridcard .column:last-child article:nth-child(odd):hover,
#gridcard .column:nth-child(2) article:nth-child(even):hover {
background: #fff;
}
 
#gridcard .column:first-child article:nth-child(odd):hover .entry-title,
#gridcard .column:first-child article:nth-child(odd):hover .post-meta,
#gridcard .column:first-child article:nth-child(odd):hover .post-meta a,
#gridcard .column:first-child article:nth-child(odd):hover .post-content p,
#gridcard .column:last-child article:nth-child(odd):hover .entry-title,
#gridcard .column:last-child article:nth-child(odd):hover .post-meta,
#gridcard .column:last-child article:nth-child(odd):hover .post-meta a,
#gridcard .column:last-child article:nth-child(odd):hover .post-content p,
#gridcard .column:nth-child(2) article:nth-child(even):hover .entry-title,
#gridcard .column:nth-child(2) article:nth-child(even):hover .post-meta,
#gridcard .column:nth-child(2) article:nth-child(even):hover .post-meta a,
#gridcard .column:nth-child(2) article:nth-child(even):hover .post-content p  {
color: #333;
}
 
#gridcard .column:first-child article:nth-child(even):hover,
#gridcard .column:last-child article:nth-child(even):hover,
#gridcard .column:nth-child(2) article:nth-child(odd):hover {
background: #333;
}
 
#gridcard .column:first-child article:nth-child(even):hover .entry-title,
#gridcard .column:first-child article:nth-child(even):hover .post-meta,
#gridcard .column:first-child article:nth-child(even):hover .post-meta a,
#gridcard .column:first-child article:nth-child(even):hover .post-content p,
#gridcard .column:last-child article:nth-child(even):hover .entry-title,
#gridcard .column:last-child article:nth-child(even):hover .post-meta,
#gridcard .column:last-child article:nth-child(even):hover .post-meta a,
#gridcard .column:last-child article:nth-child(even):hover .post-content p,
#gridcard .column:nth-child(2) article:nth-child(odd):hover .entry-title,
#gridcard .column:nth-child(2) article:nth-child(odd):hover .post-meta,
#gridcard .column:nth-child(2) article:nth-child(odd):hover .post-meta a,
#gridcard .column:nth-child(2) article:nth-child(odd):hover .post-content p  {
color: #fff;
}

/*Divi Blurb Module hover effects by yatesdesign.com.au*/
.memberinfo{
	filter: opacity(0);
}
.blurb-hover .et_pb_column .et_pb_module:hover .memberinfo{
	filter:opacity(1);
}
.blurb-hover .et_pb_column:hover {
 background: #0f2c41;
}
 
.blurb-hover .et_pb_blurb p {
 zoom: 1;
 filter: opacity(0);
 opacity: 0;
 -webkit-transition: opacity .2s,-webkit-transform .35s;
 transition: opacity .2s,transform .35s;
 -webkit-transform: translate3d(0,20px,0);
 transform: translate3d(0,20px,0);
}
 
.blurb-hover .et_pb_column .et_pb_module:hover p {
 color: #fff;
 -webkit-transition-delay: .05s;
 transition-delay: .05s;
 -webkit-transition-duration: .35s;
 transition-duration: .35s;
 -webkit-transform: translate3d(0,0,0);
 transform: translate3d(0,0,0);
 zoom: 1;
 filter: opacity(1);
 opacity: 1;
}
 
.blurb-hover .et_pb_column .et_pb_module:hover h4 {
 color: #dc1d49;
 -webkit-transform: translate3d(0,0,0);
 transform: translate3d(0,0,0);
}
 
.blurb-hover .et_pb_blurb h4 {
 -webkit-transition: -webkit-transform .35s;
 transition: transform .35s;
 -webkit-transform: translate3d(0,20px,0);
 transform: translate3d(0,20px,0);
}
 
.blurb-hover .et_pb_column:hover .et-pb-icon {
 background-color: transparent !important;
 color: #fff !important;
 border-color: #fff !important;
 -webkit-transition-delay: .05s;
 transition-delay: .05s;
 -webkit-transition-duration: .35s;
 transition-duration: .35s;
 -webkit-transform: translate3d(0,0,0);
 transform: translate3d(0,0,0);
}
 
.blurb-hover .et_pb_blurb .et-pb-icon {
 background: transparent !important;
 -webkit-transition-delay: .05s;
 transition-delay: .05s;
 -webkit-transition-duration: .35s;
 transition-duration: .35s;
 -webkit-transform: translate3d(0,0,0);
 transform: translate3d(0,0,0);
 -webkit-transform: translate3d(0,40px,0);
 transform: translate3d(0,40px,0);
}
 
.blurb-hover .et_pb_column {
 position: relative;
}
 
.blurb-hover .et_pb_button {
 zoom: 1;
 filter: opacity(0);
 opacity: 0;
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}


@media only screen and (max-width: 981px) {
#logo {
    width: auto;
    max-width: 80% !important;
    }
/* Band Bio Columns Pics */
.et_pb_module.five-columns {width: 100% !important; float: left !important;overflow:hidden;height:300px;margin-bottom:0 !important;}
	a.sbi_load_btn{width:80%;border-radius:0px;}
#fitfnationals .et_pb_module {width:50% !important;}
.blurb-hover .et_pb_column .et_pb_module p {
 color: #fff;
 -webkit-transition-delay: .05s;
 transition-delay: .05s;
 -webkit-transition-duration: .35s;
 transition-duration: .35s;
 -webkit-transform: translate3d(0,0,0);
 transform: translate3d(0,0,0);
 zoom: 1;
 filter: opacity(1);
 opacity: 1;

}
.blurb-hover .et_pb_column .et_pb_module h4 {
 color: #dc1d49;
 -webkit-transform: translate3d(0,0,0);
 transform: translate3d(0,0,0);
}
}

@media (max-width:980px) {
	.et_pb_column_4_4 .dl-slim-optin1 {
		display:block;
	}
	.dl-slim-optin1 .et_pb_newsletter_description,
	.dl-slim-optin1 .et_pb_newsletter_form {
		width: 100%;
		padding: 0;
	}
	.et_pb_column_4_4 .dl-slim-optin1 .et_pb_newsletter_description {
		margin-bottom: 10px;
		text-align:center;
	}
	.dl-slim-optin1 .et_pb_newsletter_footer {
		text-align:center;
	}
}
@media (max-width:479px) {
	.dl-slim-optin1 .et_pb_newsletter_field,
	.dl-slim-optin1 .et_pb_newsletter_button_wrap {
		flex-basis:100%;
	}
}
/*Testing Area */