/* Global */
.main-content .home-page-middle {
  display: none;
}

.main-content .box {
    text-align: center;
}

.page_index .main-content > div {
    max-width: 100%;
}

.home-page-top .top-container-wrapper {
	max-width: 88.25em;
	margin: 0 auto;
}

.ti-explore-inner-wrapper {
	display: flex;
	justify-content: space-between;
}

/* Kate changed to center align and added margin */
.ti-header-view-all-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

/* Remove margin because added to parent  */
.ti-explore-header {
	color: #212120;
	font-size: 18px;
	padding: 4px;
	text-transform: uppercase;
}

.ti-explore-view-all a {
	color: #212120;
	font-size: 14px;
	line-height: 8px;
	text-transform: uppercase;
}

.ti-explore-view-all i {
	border: solid #212120;
	border-width: 0 2px 2px 0;
	padding: 3px;
	display: inline-block;
	margin-left: 10px;
}

.ti-explore-view-all a:hover {
	color: #F16028;
	cursor: pointer;
}

.ti-explore-view-all:hover i {
	border: solid #f16029;
	border-width: 0 2px 2px 0;
	cursor: pointer;
}

.ti-explore-sub-header {
	text-align: center;
	text-transform: uppercase;
	padding: 0 5px;
	font-size: 1.675em;
	display: block;
	line-height: 1.75em;
	margin: 1em .5em;
}

.ti-right {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

.ti-image-box-shadow {
	display: flex;
	justify-content: center;
	background-color: #FFFFFF;
	box-shadow: 0 0 20px rgba(0,0,0,0.14);
	height: 192px;
	margin: 0 5px;
	align-items: center;
}

.ti-window-display-container a,
.ti-door-popular-display-container a {
	color: #212120;
}

.ti-window-display-container a:hover,
.ti-door-popular-display-container a:hover {
	color: #F16028;
}

.ti-window-display-container a:hover .ti-image-box-shadow,
.ti-door-popular-display-container a:hover .ti-image-box-shadow {
	border: solid 1px rgb(241,96,40);
}

/* Explore Window Parts Section */
.ti-window-display-container {
	width: 20%;
	min-width: 150px;
}

.ti-explore-window-parts-wrapper {
	padding: 60px 11%;
}

#ti-casement-png {
	height: 149px;
}

#ti-awning-png {
	height: 134px;
}

#ti-double-png {
	max-height: 160px;
	width: auto;
}

#ti-gliding-png {
	height: 141px;
}

#ti-safety-png {
	height: 137px;
}

.ti-supplies-png {
	height: 129px;
}
/* Explore Door Parts Section */
.ti-door-popular-display-container {
	width: 20%;
	min-width: 150px;
}

.ti-explore-door-parts-wrapper {
	padding: 60px 11%;
	background-color: #EFEFEF;
}

/* Other Popular Categories Section */
.ti-explore-popular-wrapper {
	padding: 60px 11%;
}


/* Tablet & Mobile */
@media (max-width: 1024px) {
	/* Change from 100% to vw for mobile  */
	.page_index .main-content > div {
		max-width: 100vw;
	}

	.ti-explore-sub-header {
			line-height: 20px;
	}

	/* Smaller font  */
	.ti-explore-header {
		font-size: 18px;
	}

	/* Less padding for mobile  */
	.ti-explore-window-parts-wrapper,
	.ti-explore-door-parts-wrapper,
	.ti-explore-popular-wrapper {
		padding: 30px 10px;
		box-sizing: border-box;
		position: relative;
	}

	/* Stole from your code  /
	.ti-window-display-container,
	.ti-door-popular-display-container {
		min-width: 140px;
	}
	*/

	.ti-explore-inner-wrapper {
	background-image: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
	}

	/* Removed the nowrap */
	.ti-explore-inner-wrapper {
		overflow: auto;
	}

	.ti-image-box-shadow {
		height: 140px;
		margin: 5px;
		box-shadow: 0 2px 10px rgba(0,0,0,0.14);
	}

	/* Smaller max-height for the images for mobile */
	.ti-image-box-shadow img {
		height: auto;
		max-height: 130px;
	}

	.ti-explore-door-parts-wrapper.ti-gradient:after {
			content: '';
			position: absolute;width: 100px;
			top: 70px;
			bottom: 0;
			right: 0;
			background-image: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
			pointer-events: none;
			-webkit-touch-callout: none;
			-webkit-user-select: none;
			-khtml-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
	}

	.ti-explore-window-parts-wrapper.ti-gradient:after {
			content: '';
			position: absolute;width: 100px;
			top: 70px;
			bottom: 0;
			right: 0;
			background-image: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
			pointer-events: none;
			-webkit-touch-callout: none;
			-webkit-user-select: none;
			-khtml-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
	}

	.ti-explore-popular-wrapper.ti-gradient:after {
			content: '';
			position: absolute;width: 100px;
			top: 70px;
			bottom: 0;
			right: 0;
			background-image: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
			pointer-events: none;
			-webkit-touch-callout: none;
			-webkit-user-select: none;
			-khtml-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
	}
}

