/* CLEAR FIXES */

[class*="bth-section-container"]:before,
[class*="bth-container"]:before,
[class*="bth-spacing"]:before,
[class*="bth-content"]:before,
[class*="bth-heading"]:before,
[class*="bth-section-container"]:after,
[class*="bth-container"]:after,
[class*="bth-content"]:after,
[class*="bth-spacing"]:after,
[class*="bth-heading"]:after { 
	content: " ";
	display: table;
}

[class*="bth-section-container"]:after,
[class*="bth-container"]:after,
[class*="bth-content"]:after,
[class*="bth-spacing"]:after,
[class*="bth-heading"]:after {
	clear: both;
}

[class*="bth-section-container"],
[class*="bth-container"],
[class*="bth-content"],
[class*="bth-spacing"],
[class*="bth-heading"] { 
	*zoom: 1;
}

[class*="bth-container"] {
  position: relative;
  z-index:1;
  margin-left:auto;
  margin-right:auto;
}

[class*="bth-container"] > *:first-child {
  padding-top: 0px!important;
}

[class*="bth-container"] > *:last-child {
  padding-bottom: 0px!important;
}

/* BLOCK LEVEL ELEMENTS */

[class*='bth-section-container'] {
	position: relative;
}

.bth-section__seamless-top,
.bth-section__seamless + .bth-section__seamless,
.bth-section__seamless-bottom + *  {
	margin-top: 0px;
	padding-top: 0px;
}

.bth-section__bordered + .bth-section__bordered,
.bth-section__bordered-bottom + .bth-section__bordered,
.bth-section__bordered-bottom + .bth-section__bordered-top {
	padding-top: 0;
	margin-top: -1px;
	position:relative;
}


.bth-padding-offset > *:first-child {
	padding-top: 0;
}
.bth-padding-offset > *:last-child {
	padding-bottom: 0;
}


[class*="bth-content"] {
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

[class*="bth-content"] > *:first-child {
	margin-top: 0;
}

[class*="bth-content"] > p:first-child:not([class*="margin-top-neg"]) {
	margin-top: -0.375em !important;
}
[class*="bth-content"] > *:last-child {
	margin-bottom: 0;
}

[class*="bth-content"] > p:last-child:not([class*="margin-bottom-neg"]) {
	margin-bottom: -0.375em;
}


.bth-line-height-offset {
	margin-bottom: -0.375em;
	line-height: 1.5em;
	margin-top: -0.375em;
}

html body .offset-last-margin-bottom > *:last-child {
	margin-bottom: -0.375em !important;
}


/* DEFUALT SPACING */

/*Desktop Only*/
@media all and (min-width: 1021px) {
	.bth-spacing,
	.desktop-bth-spacing {
		padding-top: 30px;
	}
	.bth-spacing-bottom,
	html desktop-bth-spacing-bottom {
		padding-bottom: 30px;
	}
	
	.bth-element-spacing__extra-small .bth-spacing,
	.desktop-bth-element-spacing__extra-small .bth-spacing,
	html body .bth-spacing__extra-small,
	#bth-site-wrap .desktop-bth-spacing__extra-small {
		padding-top: 15px;
	}
	.bth-element-spacing__extra-small .bth-spacing-bottom,
	.desktop-bth-element-spacing-bottom__extra-small .bth-spacing,
	html body .bth-spacing-bottom__extra-small,
	#bth-site-wrap .desktop-bth-spacing-bottom__extra-small {
		padding-bottom: 15px;
	}
	
	.bth-element-spacing__small .bth-spacing,
	.desktop-bth-element-spacing__small .bth-spacing,
	html body .bth-spacing__small,
	#bth-site-wrap .desktop-bth-spacing__small {
		padding-top: 20px;
	}
	.bth-element-spacing__small .bth-spacing-bottom,
	.desktop-bth-element-spacing-bottom__small .bth-spacing,
	html body .bth-spacing-bottom__small,
	#bth-site-wrap .desktop-bth-spacing-bottom__small {
		padding-bottom: 20px;
	}
	
	.bth-element-spacing__regular .bth-spacing,
	.desktop-bth-element-spacing__regular .bth-spacing,
	html body .bth-spacing__regular,
	#bth-site-wrap .desktop-bth-spacing__regular {
		padding-top: 30px;
	}
	.bth-element-spacing__regular .bth-spacing-bottom,
	.desktop-bth-element-spacing-bottom__regular .bth-spacing,
	html body .bth-spacing-bottom__regular,
	#bth-site-wrap .desktop-bth-spacing-bottom__regular {
		padding-bottom: 30px;
	}
	
	.bth-element-spacing__large .bth-spacing,
	.desktop-bth-element-spacing__large .bth-spacing,
	html body .bth-spacing__large,
	#bth-site-wrap .desktop-bth-spacing__large {
		padding-top: 40px;
	}
	.bth-element-spacing__large .bth-spacing-bottom,
	.desktop-bth-element-spacing-bottom__large .bth-spacing,
	html body .bth-spacing-bottom__large,
	#bth-site-wrap .desktop-bth-spacing-bottom__large {
		padding-bottom: 40px;
	}
	
	.bth-element-spacing__extra-large .bth-spacing,
	.desktop-bth-element-spacing__extra-large .bth-spacing,
	html body .bth-spacing__extra-large,
	#bth-site-wrap .desktop-bth-spacing__extra-large {
		padding-top: 60px;
	}
	.bth-element-spacing__extra-large .bth-spacing-bottom,
	.desktop-bth-element-spacing-bottom__extra-large .bth-spacing,
	html body .bth-spacing-bottom__extra-large,
	#bth-site-wrap .desktop-bth-spacing-bottom__extra-large {
		padding-bottom: 60px;
	}
}

/*Tablet Only*/
@media all and (min-width: 768px) and (max-width: 1020px){
	.bth-spacing,
	.tablet-bth-spacing {
		padding-top: 30px;
	}
	.bth-spacing-bottom,
	html tablet-bth-spacing-bottom {
		padding-bottom: 30px;
	}
	
	.bth-element-spacing__extra-small .bth-spacing,
	.tablet-bth-element-spacing__extra-small .bth-spacing,
	html body .bth-spacing__extra-small,
	#bth-site-wrap .tablet-bth-spacing__extra-small {
		padding-top: 15px;
	}
	.bth-element-spacing__extra-small .bth-spacing-bottom,
	.tablet-bth-element-spacing-bottom__extra-small .bth-spacing,
	html body .bth-spacing-bottom__extra-small,
	#bth-site-wrap .tablet-bth-spacing-bottom__extra-small {
		padding-bottom: 15px;
	}
	
	.bth-element-spacing__small .bth-spacing,
	.tablet-bth-element-spacing__small .bth-spacing,
	html body .bth-spacing__small,
	#bth-site-wrap .tablet-bth-spacing__small {
		padding-top: 20px;
	}
	.bth-element-spacing__small .bth-spacing-bottom,
	.tablet-bth-element-spacing-bottom__small .bth-spacing,
	html body .bth-spacing-bottom__small,
	#bth-site-wrap .tablet-bth-spacing-bottom__small {
		padding-bottom: 20px;
	}
	
	.bth-element-spacing__regular .bth-spacing,
	.tablet-bth-element-spacing__regular .bth-spacing,
	html body .bth-spacing__regular,
	#bth-site-wrap .tablet-bth-spacing__regular {
		padding-top: 30px;
	}
	.bth-element-spacing__regular .bth-spacing-bottom,
	.tablet-bth-element-spacing-bottom__regular .bth-spacing,
	html body .bth-spacing-bottom__regular,
	#bth-site-wrap .tablet-bth-spacing-bottom__regular {
		padding-bottom: 30px;
	}
	
	.bth-element-spacing__large .bth-spacing,
	.tablet-bth-element-spacing__large .bth-spacing,
	html body .bth-spacing__large,
	#bth-site-wrap .tablet-bth-spacing__large {
		padding-top: 40px;
	}
	.bth-element-spacing__large .bth-spacing-bottom,
	.tablet-bth-element-spacing-bottom__large .bth-spacing,
	html body .bth-spacing-bottom__large,
	#bth-site-wrap .tablet-bth-spacing-bottom__large {
		padding-bottom: 40px;
	}
	
	.bth-element-spacing__extra-large .bth-spacing,
	.tablet-bth-element-spacing__extra-large .bth-spacing,
	html body .bth-spacing__extra-large,
	#bth-site-wrap .tablet-bth-spacing__extra-large {
		padding-top: 40px;
	}
	.bth-element-spacing__extra-large .bth-spacing-bottom,
	.tablet-bth-element-spacing-bottom__extra-large .bth-spacing,
	html body .bth-spacing-bottom__extra-large,
	#bth-site-wrap .tablet-bth-spacing-bottom__extra-large {
		padding-bottom: 40px;
	}
}


/*Mobile Only*/
@media all and (max-width: 767px) {
	.bth-spacing,
	.mobile-bth-spacing {
		padding-top: 25px;
	}
	.bth-spacing-bottom,
	html mobile-bth-spacing-bottom {
		padding-bottom: 25px;
	}
	
	.bth-element-spacing__extra-small .bth-spacing,
	.mobile-bth-element-spacing__extra-small .bth-spacing,
	html body .bth-spacing__extra-small,
	#bth-site-wrap .mobile-bth-spacing__extra-small {
		padding-top: 15px;
	}
	.bth-element-spacing__extra-small .bth-spacing-bottom,
	.mobile-bth-element-spacing-bottom__extra-small .bth-spacing,
	html body .bth-spacing-bottom__extra-small,
	#bth-site-wrap .mobile-bth-spacing-bottom__extra-small {
		padding-bottom: 15px;
	}
	
	.bth-element-spacing__small .bth-spacing,
	.mobile-bth-element-spacing__small .bth-spacing,
	html body .bth-spacing__small,
	#bth-site-wrap .mobile-bth-spacing__small {
		padding-top: 20px;
	}
	.bth-element-spacing__small .bth-spacing-bottom,
	.mobile-bth-element-spacing-bottom__small .bth-spacing,
	html body .bth-spacing-bottom__small,
	#bth-site-wrap .mobile-bth-spacing-bottom__small {
		padding-bottom: 20px;
	}
	
	.bth-element-spacing__regular .bth-spacing,
	.mobile-bth-element-spacing__regular .bth-spacing,
	html body .bth-spacing__regular,
	#bth-site-wrap .mobile-bth-spacing__regular {
		padding-top: 25px;
	}
	.bth-element-spacing__regular .bth-spacing-bottom,
	.mobile-bth-element-spacing-bottom__regular .bth-spacing,
	html body .bth-spacing-bottom__regular,
	#bth-site-wrap .mobile-bth-spacing-bottom__regular {
		padding-bottom: 25px;
	}
	
	.bth-element-spacing__large .bth-spacing,
	.mobile-bth-element-spacing__large .bth-spacing,
	html body .bth-spacing__large,
	#bth-site-wrap .mobile-bth-spacing__large {
		padding-top: 30px;
	}
	.bth-element-spacing__large .bth-spacing-bottom,
	.mobile-bth-element-spacing-bottom__large .bth-spacing,
	html body .bth-spacing-bottom__large,
	#bth-site-wrap .mobile-bth-spacing-bottom__large {
		padding-bottom: 30px;
	}
	
	.bth-element-spacing__extra-large .bth-spacing,
	.mobile-bth-element-spacing__extra-large .bth-spacing,
	html body .bth-spacing__extra-large,
	#bth-site-wrap .mobile-bth-spacing__extra-large {
		padding-top: 40px;
	}
	.bth-element-spacing__extra-large .bth-spacing-bottom,
	.mobile-bth-element-spacing-bottom__extra-large .bth-spacing,
	html body .bth-spacing-bottom__extra-large,
	#bth-site-wrap .mobile-bth-spacing-bottom__extra-large {
		padding-bottom: 40px;
	}
}


/* HEADINGS */


[class*="bth-heading"] > *:first-child {
	padding-top: 0px!important;
}

[class*="bth-heading"] > *:last-child {
	padding-bottom: 0px!important;
}

/* IMAGE OVERLAY */
.bth-image-overlay {
	position:relative;
}

.bth-image-overlay:after {
    content: "";
	background-color: rgba(0,0,0,1);
    opacity: 0.4;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.bth-background-image-element {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}