/*------------------------------------*\

    Page Footer CSS

    Page footer...........The main page footer.

\*------------------------------------*/

.page-footer {
    margin-top: auto; /* used to affix footer at bottom of page */
    background-color: #1A1917;
    padding: 25px 0 0;
    position: relative;
    margin-top: 220px;
}

.home .page-footer {
    margin-top: 0 !important;
}

/* Please do not delete, this is to adjust for the spacing of the tear graphic in the footer on all pages */
.page-body > section:last-of-type,
.page-content > section:last-of-type {
	padding-bottom: 160px !important;
	margin-bottom: 0 !important;
}
.page-body > section:last-of-type:after {
	display: none;
}

.page-footer:before {
	content: "";
	background-image: url(/https/www.mustangcat.com/wp-content/uploads/2021/09/mob-torn-transition-dark-top-final-footer.png);
	width: 100%;
	height: 152px;
	background-size: 100%;
	position: absolute;
	top: -125px;
	left: 0;
	display: block;
	background-position: center;
	z-index: 0;
	background-repeat: no-repeat;
    pointer-events: none;
}

.logo-block span[class^="icon-"] {
	font-size: 29px;
	color: #fff;
}

.social-media-wrapper {
	padding: 30px 0;
	display: flex;
	justify-content: space-between;
	max-width: 300px;
	margin: 0 auto;
}

.page-footer a.site-logo {
	display: block;
	text-align: center;
}

.page-footer a.site-logo img {
	max-width: 225px;
}

.col-md-3.location-block {
	text-align: center;
	margin-bottom: 30px;
}

.location-block a.white-link {
	display: block;
	color: #fff;
}

.location-block a.inline-link {
	font-family: 'Oswald';
	text-transform: uppercase;
}

.location-block a.inline-link:hover {
	text-decoration: none;
	border-bottom: 1px solid;
}

.white-link span.icon-location {
	margin-right: 5px;
}

.inline-link span.icon-arrow {
	margin-left: 5px;
}

.col-md-3.quick-links-block {
	text-align: center;
}

ul#menu-footer-quick-links {
	padding-left: 0;
	margin-left: 0;
	list-style: none;
}

#menu-footer-quick-links li {
	line-height: 1.4em;
	padding-bottom: 5px;
}

#menu-footer-quick-links li a {
	color: #fff;
}

.col-md-3.buttons-block {
	text-align: center;
	margin: 30px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.buttons-block a.btn.btn-primary {
	padding: 6px 20px;
}

.buttons-block a.btn.btn-primary:first-of-type {
	margin-bottom: 10px;
}

.phone-btn span.icon-phone {
	font-size: 18px;
	margin-right: 5px;
}

.bottom-bar {
	background-color: #0F0E0E;
	position: relative;
	margin-top: 34px;
}

button.back-to-top.js-back-to-top {
	position: absolute;
	bottom: calc(100% + 9px);
	left: calc(50% - 76px);
	padding: 6px 20px;
	font-family: 'Oswald';
	text-transform: uppercase;
	font-weight: 500;
	background: #262421;
	color: #fff;
	border: none;
	border-bottom: 2px solid #171515;
}

.back-to-top i.icon-arrow {
	font-size: 22px;
	position: relative;
	top: 3px;
	margin-left: 10px;
	transform: rotate(-90deg);
	display: inline-block;
	font-weight: 400;
}

.lower-links-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
	padding: 30px 0;
}

.lower-links-wrapper a,
.lower-links-wrapper p {
	margin: 10px 0;
	line-height: 1.4em;
	color: #fff;
}

.lower-links-wrapper a:first-of-type {
	margin-top: 0;
}

.lower-links-wrapper p {
	margin-bottom: 0;
}

@media (min-width: 500px) {

	.page-footer:before {
		background-position: 85% 0;
		background-image: url(/https/www.mustangcat.com/wp-content/uploads/2021/09/tab-torn-transition-dark-top-final-footer.png);
		background-size: cover;
		top: -160px;
		height: 220px;
		z-index: 0;
	}
	/* Please do not delete, this is to adjust for the spacing of the tear graphic in the footer on all pages */
	.page-content > section:last-of-type {
		padding-bottom: 180px !important;
	}
}

@media (min-width: 700px) {
	.page-footer:before {
		background-position: center right;
		background-image: url(/https/www.mustangcat.com/wp-content/uploads/2021/09/tab-torn-transition-dark-top-final-footer.png);
		background-size: cover;
		top: -160px;
		height: 220px;
		z-index: 0;
	}
	/* Please do not delete, this is to adjust for the spacing of the tear graphic in the footer on all pages */
	.page-content > section:last-of-type {
		padding-bottom: 180px !important;
	}
}

@media (min-width: 768px) {
	.page-footer {
		padding: 60px 0 0;
	}
	.page-footer a.site-logo img {
		max-width: 280px;
	}
	.page-footer a.site-logo {
		text-align: left;
		padding-left: 40px;
	}
	.social-media-wrapper {
		padding: 10px 0 20px 40px;
		max-width: 320px;
		margin: 0 auto 0 0;
	}
	.col-md-3.location-block {
		text-align: left;
		padding-left: 56px;
	}
	.col-md-3.quick-links-block {
		text-align: left;
		padding-left: 56px;
		margin-top: 20px;
	}
	ul#menu-footer-quick-links {
		column-count: 2;
	}
	#menu-footer-quick-links li {
		display: block;
	}
	.buttons-block a.btn.btn-primary {
		font-size: 16px;
	}
	.location-block a.white-link {
		margin-bottom: 8px;
	}
	.col-sm-5.col-md-3.buttons-block {
		margin-top: 20px;
		align-items: initial;
		padding-right: 56px;
	}
	.col-sm-5.col-md-3.buttons-block a.btn {
		margin-left: 0;
	}
	.buttons-block a.btn.btn-primary:first-of-type {
		margin-bottom: 0;
	}
	.bottom-bar {
		margin-top: 100px;
	}
	button.back-to-top.js-back-to-top {
		padding: 12px 45px;
		left: calc(50% - 103px);
		bottom: calc(100% + 15px);
	}
	.lower-links-wrapper {
		flex-direction: row;
		padding: 15px 0;
		justify-content: space-between;
	}
	.lower-links-wrapper a, .lower-links-wrapper p {
		margin: 0;
	}
	span.vertical-line {
		display: block;
		height: 22px;
		width: 1px;
		background: #2F2D29;
	}
}

@media (min-width: 1025px) {

	.page-footer:before {
		background-size: 100%;
		background-image: url(/https/www.mustangcat.com/wp-content/uploads/2021/09/torn-transition-dark-top-final-footer-2.png);
		height: 175px;
		top: -173px;
		z-index: 2;
		background-position: bottom right;
	}
	.page-footer {
		padding: 40px 0 0; z-index: 1;
	}
	.page-footer a.site-logo img {
		max-width: 340px;
	}
	.page-footer a.site-logo {
		padding-left: 0;
	}
	.social-media-wrapper {
		padding: 10px 0 20px 0;
	}

	.location-block a.white-link {
		margin-bottom: 0px;
	}

	.col-sm-6.col-md-3.location-block {
		margin-bottom: 0;
		margin-top: 30px;
		padding-left: 40px;
		width: 22%;
	}

	.col-md-3.quick-links-block {
		margin-top: 30px;
		width: 33%;
		padding-left: 16px;
		padding-right: 46px;
	}

	.col-md-3.quick-links-block {
		margin-top: 30px;
	}

	.buttons-block a.btn.btn-primary:first-of-type {
		margin-bottom: 8px;
	}

	.col-sm-5.col-md-3.buttons-block {
		width: 20%;
		padding-right: 16px;
		margin-bottom: 0;
	}

	.row.upper-footer {
		padding-bottom: 35px;
	}

	.bottom-bar {
		margin-top: 0;
	}

	.lower-links-wrapper {
		max-width: 60%;
		margin-left: auto;
	}

	button.back-to-top.js-back-to-top {
		left: 16px;
		bottom: 0;
		padding: 10px 45px;
	}

	/* Please do not delete, this is to adjust for the spacing of the tear graphic in the footer on all pages */
	.page-content > section:last-of-type {
		padding-bottom: 190px !important;
		margin-bottom: 0 !important;
	}

	.buttons-block a.btn.btn-primary {
		padding: 6px 13px !important;
	}

}

@media (min-width: 1200px) {
	.buttons-block a.btn.btn-primary {
		padding: 6px 20px !important;
	}

}

@media (min-width: 2000px) {

	.page-footer {
		padding: 20px 0 0;
	}

	.page-footer:before {
		height: 200px;
	}

}


@media (min-width: 2500px) {

	.page-footer:before {
		height: 400px;
		top: -396px;
		background-size: cover;
		background-position: center;
	}

}

@media(min-width: 4000px){
	.page-template-page-compare-products .page-footer:before {
		top:  -370px;
	}
}

@media(min-width: 1025px){
	body.page-template-page-compare-products .page-footer:before{
		top: -165px;
	}

}
