/* Local overrides */

/* Local Nav */
@media only Screen and (max-width: 360px) {
	#ac-localnav {
		padding: 10px 0 15px;
	}

	#ac-localnav .ac-ln-menu .ac-ln-actions {
		padding-top: 25px;
	}

	#ac-localnav .ac-ln-title > a {
		max-width: 100px;
		white-space: normal;
	}
}

/* headline footnote colour */
.section-resources .footnote a {
	color: inherit;
}

.section-resources .footnote a:hover {
	color: #2997ff;
}

/* Student Challenge tile */
@media only screen and (min-width: 735px) and (max-width: 1239px) {
	.section-swift .card-student-challenge .card-text.card-headline {
		font-size: 30px;
	}
	.section-swift .card-student-challenge .card-text.typography-body-alt {
		font-size: 17px;
	}
}

.cafr-asteriks {
	display: inline-block;
}

.cafr-line-break-fix {
	white-space: nowrap;
}

/* Resources Section */
@media only screen and (min-width: 1240px) {
	.section-resources .card {
		padding: 114px 99px;
	}
}

@media only screen and (min-width: 891px) {
	.section-resources .card {
		padding: 90px 69px;
	}
}

@media only screen and (max-width: 734px) {
	.section-resources .card {
		padding: 60px 10%;
	}
}

/* Helper Styles */
.large-only {
	display: block;
}
.medium-only {
	display: none;
}
.small-only {
	display: none;
}

@media only screen and (max-width: 1068px) {
	.large-only {
		display: none;
	}
	.medium-only {
		display: block;
	}
	.small-only {
		display: none;
	}
}

@media only screen and (max-width: 735px) {
	.large-only {
		display: none;
	}
	.medium-only {
		display: none;
	}
	.small-only {
		display: block;
	}
}

/* Film Shanghai */
.image-cards-shanghai-business-startframe {
	height: 675px;
	background-size: 1200px 675px;
}

@media only screen and (max-width: 1068px) {
	.image-cards-shanghai-business-startframe {
		height: 458px;
		background-size: 791px 458px;
	}

	.section-hero .section-content-extended {
		max-width: 791px;
	}
}

@media only screen and (max-width: 734px) {
	.image-cards-shanghai-business-startframe {
		height: auto;
	}
}
@media only screen and (max-width: 890px) {
	.quote-jose .quote-text br.medium {
		display: none;
	}
}
@media only screen and (max-width: 414px) and (min-width: 376px) {
	.section-opportunities .quote-block.quote-jose .quote-text {
		max-width: 90%;
	}
}
@media only screen and (max-width: 734px) and (min-width: 535px),
	only screen and (max-width: 496px) and (min-width: 416px) {
	.quote-jose .quote-text br.small {
		display: none;
	}
}
@media only screen and (max-width: 415px) {
	.quote-jose .quote-text br.small {
		display: block;
	}
}
@media only screen and (max-width: 734px) {
	.quote-jose .quote-text br.small + br.small {
		display: block;
	}
}
@media only screen and (max-width: 534px) {
	.quote-jose .quote-text br.small + br.small l {
		display: none;
	}
}

/* other tiles */

@media only screen and (max-width: 1068px) and (min-width: 735px) {
	.grid-bentos .tile-overlay-copy {
		margin-bottom: 0px;
	}
}

/* Opportunities section */
@media only screen and (min-width: 735px) and (max-width: 890px) {
	.section-opportunities .card-opportunities .card-headline {
		font-size: 42px;
		line-height: 46px;
	}
}
