/* Page fixes */
.col-lg-12.col-md-12.col-sm-12.col-xs-12.bannerStyle {
    width: 100%;
}

.container.content-wrapper {
    display: none;
}

.page-main {
    padding: 0;
}

.page-heading-section.container {
    padding: 0;
}

.template-basic .section-wrapper {
    margin: 0;
}

#with-care-and-class .content {
	position: relative;
    background: #fff;
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 767px) {
    html, body {
        overflow-x: hidden;
    }
}
/* Page fixes END */

.header-section img {
    height: 120px;
    margin: 0 auto;
    display: flex;
}

#with-care-and-class .hero-image+.header-section {
	position: relative;
	background-color: #fff;
	max-width: 1200px;
	width: 100%;
	padding: 2px;
	margin: -130px auto 0;
	border-top-right-radius: 14px;
	border-top-left-radius: 14px;
}

#with-care-and-class .hero-image+.header-section h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 44px;
    margin: 60px auto 20px;
    padding: 0 20px;
}

#with-care-and-class .hero-image+.header-section p {
	font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 24px;
    margin: 20px auto 0;
    padding: 0 20px;
}

#with-care-and-class .hero-image {
	width: 100%;
	max-width: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}


#with-care-and-class .hero-image {
    box-shadow: none !important;
}

.tile .copy {
    max-width: 386px;
    border-radius: 0 0 14px 14px;
    padding: 30px;
}

.tile .copy a {
    font-size: 16px;
}

.tile .copy p {
    font-weight: 400;
    font-size: 14px;
	min-height: 120px;
	margin-bottom: 0;
}

.tile .copy h3 {
    margin-bottom: 20px !important;
}

.tile {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.20);
    border-radius: 14px;
    margin: 20px 10px;
}

.tile img{
	border-radius: 14px 14px 0 0;
    max-height: 230px;
    object-fit: cover;
    object-position: top;
}

@media only screen and (max-width: 1024px) {
	#with-care-and-class .hero-image+.header-section {
		margin-top: -70px;
	}
}

@media only screen and (max-width: 1200px) {
	#with-care-and-class .hero-image+.header-section {
		width: calc(100% - 60px);
	}
}

@media only screen and (min-width: 1025px) {
	.tile .copy p{
		min-height: 170px;
	}
	#with-care-and-class .hero-image {
		background-image: url("https://www.aircanada.ca/content/dam/aircanada/portal/images/with-care-and-class/wcac-hero-d.png");
		height: 500px;
	}

	.header-section p {
		margin: 0 40px !important;
	}

    .bottom-img {
        background: url(https://www.aircanada.com/content/dam/aircanada/portal/images/with-care-and-class/img-bottom-d.png);
        background-size: cover;
        background-repeat: no-repeat;
        height: 570px !important;
        background-position: 100% 100%;
    }
}

@media only screen and (min-width: 1600px) {
	#with-care-and-class .hero-image {
		background-image: url("https://www.aircanada.ca/content/dam/aircanada/portal/images/with-care-and-class/wcac-hero-d.png");
		height: 600px;
	}

    #with-care-and-class .hero-image {
        background-position: unset;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
	.tile .copy p{
		min-height: 190px;
		margin-bottom: 0;
	}
    #with-care-and-class .hero-image {
		background-image: url("https://www.aircanada.ca/content/dam/aircanada/portal/images/with-care-and-class/wcac-hero-t.png");
		height: 300px;
	}

	#with-care-and-class .hero-image+.header-section h1 {
		margin: 20px auto;
	}

    .bottom-img {
        background: url(https://www.aircanada.com/content/dam/aircanada/portal/images/with-care-and-class/img-bottom-t.png);
        background-size: cover;
        background-repeat: no-repeat;
        height: 360px !important;
    }
}

@media only screen and (max-width: 767px) {
	.tile .copy p{
		min-height: 190px;
		margin-bottom: 0;
	}
    #with-care-and-class .hero-image {
		background-image: url("https://www.aircanada.ca/content/dam/aircanada/portal/images/with-care-and-class/wcac-hero-m.png");
		height: 250px;
	}

    #with-care-and-class .hero-image+.header-section p {
		margin: 20px auto;
		font-size: 20px;
		padding: 0 !important;
	}

    #with-care-and-class .hero-image+.header-section {
		padding: 5px 15px;
		margin-top: -90px;
	}

	.header-section h1 {
		font-size: 32px !important;
		margin: 20px 0 !important;
		padding: 0 !important;
	}

    .bottom-img {
        display: none;
    }

    .header-section p {
        font-size: 16px !important;
    }

    .tile-container {
        padding-bottom: 60px !important;
    }
}

@media only screen and (max-width: 1023px) {
    .tile img {
        width: 334px !important;
		max-height: 199px;
    }

    .tile {
        width: 334px !important;
        flex: 0 0 auto;
    }

}

@media only screen and (max-width: 1024px) {
    .tile-container {
        display: flex;
        flex-direction: row;
        padding-top: 50px;
        justify-content: initial !important;
        overflow: auto;
        padding-bottom: 20px;
        padding-left: 20px !important;
		padding-right: 20px !important;
    }

    .tile-container::-webkit-scrollbar {
        display: none; 
    }
    
    .tile-container {
        -ms-overflow-style: none;
        scrollbar-width: none;
        flex-wrap: nowrap !important;
    }
}

@media only screen and (min-width: 1024px) {
    .tile img {
        width: 386px;
    }
}

@media only screen and (min-width: 1211px) {
    .bottom-img {
        margin-top: -150px;
    }
}

@media only screen and (min-width: 1601px) and (max-width: 2501px) {
    .bottom-img {
        height: 700px !important; 
    }
}

@media only screen and (min-width: 2500px) {
    .bottom-img {
        height: 930px !important; 
    }
}

.tile-container {
    display: flex; 
    flex-direction: row;
    padding-top: 50px;
    width: 1220px;
    flex-wrap: wrap;
}

.header-section p {
    margin: 0 5% 20px !important;
}


.backToTop {
    display: flex;
    justify-content: center;
    text-decoration: none;
    margin: 60px 0;
}