/* Global */
strong, h1, h2, h3, h4 {
	font-family: "Futura-PT-Bold";
	font-weight: normal !important;
}

.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: #000;
	font-size: 18px;
	padding: 4px;
	text-transform: capitalize;
	font-weight: 600;
}

.ti-explore-view-all a {
	color: #212120;
	font-size: 18px;
	line-height: 8px;
	text-transform: capitalize;
	font-weight: 600;
}

.ti-explore-view-all i {
	border: solid #212120;
	border-width: 0 3px 3px 0;
	padding: 3px;
	display: inline-block;
	transform: rotate(-45deg) translateY(-.2em);
}

.ti-explore-view-all a:hover {
	color: #F16028;
	cursor: pointer;
}

.ti-explore-view-all:hover i {
	border-color: #f16029;
}

.ti-explore-sub-header {
	text-align: center;
	text-transform: capitalize;
	padding: 0 5px;
	font-size: 18px;
	display: block;
	line-height: 1.75em;
	margin: 1em .5em;
	position: relative;
	justify-self: anchor-center;
}

.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;
	border: 1px solid transparent;
}

.ti-window-display-container a,
.ti-door-popular-display-container a {
	color: #212120;
}

:where(.ti-window-display-container, .ti-door-popular-display-container) {
	position: relative;
}

:where(.ti-window-display-container, .ti-door-popular-display-container) a:hover .ti-explore-sub-header::before {
	content: '';
	position: absolute;
	display: inline-block;
	width: calc(100% + 1em);
	height: .2rem;
	bottom: 0;
	left: 0;
	transform: translateX(-.5em);
	background: #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: 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;
}

.home-page-top-2 {
	padding: 1rem 0%;
	color: #212120;
	max-width: 1028px !important;
	font-size: 1.33em;
}

.home-page-top-2 .welcome-text {
	font-weight: bold;
	font-size: 1.5rem;
	line-height: 3rem;
	letter-spacing: .01em;
}

.home-page-top-2 :where(.welcome-text, .sub-welcome-text, .heading, .title) {
	text-align: center;
}

.home-page-top-2 :where(.sub-welcome-text, .heading, .title) {
	font-size: 1.45rem;
	line-height: 2rem;
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.home-page-top-2 .title {
	margin-bottom: 0;
}

.home-page-top-2 .arrangement:nth-of-type(3) .title {
	padding-left: 2rem;
}

.home-page-top-2 .box-area .arrangement {
	padding: 0 1.5rem 1rem 1.5rem;
	display: flex;
	flex-direction: column;
	background: #f8f6f4;
}

.home-page-top-2 .box-area .arrangement:nth-child(2) {
	margin-bottom: 1em;
}

.home-page-top-2 .box-area .arrangement:nth-child(2) .title + div {
	font-size: 1.2em;
	margin-bottom: 1.5em;
}

.home-page-top-2 .box-area .arrangement:nth-child(3) .title + div {
	font-size: 1.2em;
	margin: 2em 0 2em;
}

.home-page-top-2 .box-area .arrangement:nth-child(3) .title + div + div {
	display: grid;
	grid-template-rows: 1fr 1fr 1fr;
	grid-template-columns: 1fr;
	grid-gap: 2em;
}

.home-page-top-2 .box-area .arrangement:nth-child(3) a {
	font-size: 1.25em;
	background: transparent;
	color: #ed6733;
	font-weight: 600;
}

.home-page-top-2 .box-area .arrangement:nth-child(3) a > span:first-child {
	border-bottom: 1px solid;
}

.home-page-top-2 .box-area .arrangement:nth-child(3) a > span:last-child {
	transform: translate(.25em, .25em);
}

.home-page-top-2 .box-area .arrangement:nth-child(3) a:hover {
	color: #000;
}

.home-page-top-2 .first-arrangement {
	flex-grow: 2;
}

.home-page-top-2 .second-arrangement {
	padding: 1.5rem 0 1rem;
	text-align: center;
}

.home-page-top-2 .third-arrangement {
	min-height: 3rem;
	display: flex;
	align-items: flex-end;
	background: #CB4C0C;
	color: #FFF;
}

.home-page-top-2 .orange.heading {
	border: 1px solid #CB4C0C;
	padding: .25rem 1rem;
	margin: -1px calc(-1.5rem - 1px) 0;
	background: #FFF;
}

.home-page-top-2 .title ~ div:has(img) {
	text-align: center;
	margin-top: 1.5rem;
}

.home-page-top-2 .arrangement:nth-of-type(3) .title ~ div:has(img) {
	margin: 1rem;
}

.home-page-top-2 .arrangement a {
	background: #FFF;
}

.home-page-top-2 img {
	max-height: 6rem;
}

.home-page-top-2 a.button-look {
	border: .2em solid #ed6733;
	color: #000;
	border-radius: 5em;
	padding: 1em 1em;
	display: inline-block;
	font-weight: bold;
	text-align: center;
	font-size: 1.1em;
}

.home-page-top-2 a.button-look:hover {
	background: #ed6733;
	color: #FFF;
}

.home-page-top-2 .box-area .arrangement:nth-child(4) a {
	color: #000;
	background: #FFF;
	border-radius: 5em;
	padding: .25em 1em;
	display: inline-block;
	font-weight: bold;
	text-align: center;
	font-size: 1.1em;
}

.home-page-top-2 .box-area .arrangement:nth-child(4) a > span {
  transform: translate(0, .25em);
  line-height: .1em;
}

.home-page-top-2 .box-area .arrangement:nth-child(4) a:hover {
	background: #000;
	color: #FFF;
}

.home-page-top-2 .third-arrangement .note {
	font-style: normal;
	margin: auto;
	font-size: .8rem;
	line-height: 1rem;
	padding: 0 1rem;
}

.home-page-top-2 .box-area .arrangement:nth-child(4) div {
	text-align: center;
}

.arrangement .center {
	text-align: center;
}

@media (orientation: landscape) {
	.home-page-top-2 .box-area .arrangement:nth-child(2) {
		margin-bottom: 0em;
	}

	.home-page-top-2 .box-area .arrangement:nth-child(2), .home-page-top-2 .box-area .arrangement:nth-child(3) {
		border: 1px solid #ececec;
		padding: 0 1.5rem 1rem 1.5rem;
		display: flex;
		flex-direction: column;
		background: #f8f6f4;
		border-bottom-color: #9F9f9f;
		box-shadow: 0 2px 1px 0px #9F9f9f;
	}


	.home-page-top-2 .welcome-text {
		font-size: 3.15rem;
		line-height: 120%;
	}

	.home-page-top-2 :where(.sub-welcome-text, .heading, .title) {
		font-size: 2.25rem;
				line-height: 120%;
	}

	.home-page-top-2 .box-area {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto 1fr auto;
		grid-column-gap: 1.5rem;
		background-size: cover;
		padding: 1rem 0rem;
	}

	.home-page-top-2 .box-area .arrangement:nth-child(1) {
		grid-row: 1 / 2;
		grid-column: 1 / 2;
		padding-bottom: 0;
	}

	.home-page-top-2 .box-area .arrangement:nth-child(2) {
		grid-row: 2 / 3;
		grid-column: 1 / 2;
	}

	.home-page-top-2 .box-area .arrangement:nth-child(3) {
		grid-row: 2 / 3;
		grid-column: 2 / 3;
	}

	.home-page-top-2 .box-area .arrangement:nth-child(4) {
		grid-row: 3 / 4;
		grid-column: 1 / 3;
		border: 0;
		background: #ed6733;
		color: #FFF;
		margin-top: 1.5rem;
	}
}

@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;
	}
}
