/* Global */
.main-content .home-page-middle {
  display: none;
}

.main-content .box {
    text-align: center;
}

video {
    display: block
}

.page_index .main-content > div {
    max-width: 100%;
}

.page_index .main-content > div.home-page-top {
	display: none;
	height: 320px !important;
	overflow: hidden;
	background: url(../contentImages/homepage/AW18-17734_1800x435.jpg) no-repeat;
	background-size: cover;
	width: 100%;
	max-width: 100%;
	margin:0;
}

#home-page-background-image {
	display: none;
}

.home-page-top .top-container-wrapper {
	max-width: 88.25em;
	margin: 0 auto;
}

.home-page-top .top-container-wrapper {
	margin-left: 16%;
}

.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: 18px;
	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: #CB4C0C;
}

.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: 18%;
	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;
}

#ti-gliding-patio-png {
	height: 160px;
}

#ti-inswing-png {
	height: 161px;
}

#ti-outswing-png {
	height: 160px;
}

#ti-storm-png {
	height: 188px;
}

/* Other Popular Categories Section */
.ti-explore-popular-wrapper {
	padding: 60px 11%;
}

#ti-window-insect-png {
	height: 180px;
}

#ti-door-insect-png {
	height: 180px;
}

#ti-top-windows-png {
	height: 190px;
}

#ti-top-doors-png {
	height: 190px;
}

#ti-locks-png {
	height: 180px;
}

.ti-value-props-container {
    background-color: #090a05;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 1%;
}

.ti-value-props-box {
    display: flex;
    align-items: center;
}

#ti-free-shipping .ti-icon {
    background-position: 0 0;
}

.ti-icon {
    background-image: url(https://storage.googleapis.com/images.trinity.one/PartsAndersenWindows/PAW-A-Homepage-ValueProps-March2021/imagesprite-2x.webp);
    background-size: cover;
    height: 60px;
    width: 60px;
    margin-right: 20px;
}

.ti-value-props-text {
    width: 270px;
    color: #fff;
}

.ti-value-props-title {
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1.5;
}

.ti-value-props-content {
    font-size: 14px;
    line-height: 18px;
}

#ti-warranty .ti-icon {
    background-position: 125px 0;
}

#ti-quality .ti-icon {
    background-position: 60px 0;
}

picture img {
  display: block;
}

.box picture img {
  display: inline-block;
}

@media screen and (max-width: 1360px) {

  .ti-value-props-container {
    padding: 20px 0;
    justify-content: center;
  }
}

@media (max-width: 1075px) {
  .ti-value-props-box {
    margin: 10px 0;
    justify-content: center;
   }
}


@media (min-width: 1075px) {
  .ti-value-props-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }
}

/* 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;
	}

	/* Shorten hero image on mobile */
	.page_index .main-content > div.home-page-top {
			height: 170px !important;
			overflow: hidden;
			background: url(../contentImages/homepage/AW18-17734_1800x435.jpg) no-repeat;
			background-size: 1600px;
			background-position: 85% 60%;
			width: 100%;
			max-width: 100%;
			margin:0;
		}

		#home-page-background-image {
			display: none;
		}

	/* 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;
	}
}

/* Mobile only */
@media (max-width: 767px) {
	/* Margin in top banner  */
	.home-page-top .top-container-wrapper {
		margin-left: 0;
	}
}
