.apply_hero {
	position: relative;
	margin-bottom: 3rem;
	padding-top: 1em;
}

.apply_hero .info {
	position: absolute;
	top: 10%;
	left: 2%;
	width: 60%;
	padding: 0 3%;
}

.apply_hero .info p {
	color: var(--black22percent);
    font-size: 2.5rem;
	font-style: italic;
}

.apply_hero .info span {
	display: inline-block;
	border-bottom: 3px solid var(--black22percent);
	text-transform: uppercase;
	font-size: 2.8em;
	font-weight: bold;
	font-style: normal;
	line-height: 1;
}

.apply_hero img {
	z-index: -1;
	width: 100%;
}

.steps {
	margin-top: 10rem;
}

a.apply_step {
	position: relative;
	display: inline-block;
	vertical-align: top;
	height: 3rem;
	margin-right: 0.8em;
	padding: 1.7rem 0 0 5rem;
	background-image: url('../../_ui/apply-steps.svg');
	background-repeat: no-repeat;
	background-size: 11rem 8rem;
	background-position: -5rem -3rem;
	font-size: 1.4rem;
	text-decoration: none;
	color: var(--anthracite);
}

.page_youlau_program .page_title span {
    display: none;
}

html body .apply_step:hover {
	color: var(--primarygreen);
}

.apply_step:before {
	position: absolute;
	top: -0.6rem;
	left: 0;
	font-family: 'Bree Serif', serif;
	font-size: 2em;
}
.apply_step:nth-of-type(1):before { content: "1"; }
.apply_step:nth-of-type(2):before { content: "2"; }
.apply_step:nth-of-type(3):before { content: "3"; }

.apply_step.active {
	background-image: url('../../_ui/apply-steps-active.svg');
	font-weight: bold;
}

.applicant_type_grid {
	padding: 0;
	list-style-type: none;
}

.ie .applicant_type_grid {
	clear: both;
}

.applicant_type_grid a {
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	height: 10rem;
	background-color: var(--anthracitelightgrey);
	text-decoration: none;
}

.ie9 .applicant_type_grid a {
	display: block;
}

/* FBK */
.applicant_type_grid li {
	display: inline-block;
	vertical-align: top;
	width: 14rem;
	margin: 0 8px 8px 0;
}

.applicant_type_grid a:hover {
	background-color: var(--primarygreen55percent);
}

.applicant_type_grid span {
	padding: 10%;
	box-sizing: border-box;
	text-align: center;
	z-index: 5;
	font-size: 1.375rem;
	line-height: 1.3;
	color: var(--anthracite);
}
.page_youlau_program time, .page_event span.time{
	font-size: 1.4em;
}

.page_youlau_program .event_location {
	margin: 0.2em 0 1.5em;
	font-style: italic;
	color: var(--primarygreen);
}
.ie .applicant_type_grid span {
	display: inline-block;
	width: 100%;
}

.applicant_type_grid a:hover span {
	font-weight: bold;
	color: var(--white);
}

.page_apply .main_size li {
	margin-bottom: 0.7rem;
}

.page_apply .video {
	outline: 1px solid var(--anthracite15percent);
}

.page_apply .list_2_col, .page_admission .list_2_col {
	padding: 30px 0 0;
}

.page_undergraduate table.special, .page_graduate table.special, .page_transfer table.special, .page_additional-degree table.special {display: none;} /* used for hiding certain tables on undergraduate and graduate index pages only */
.page_additional-degree table tr.hide, .page_transfer-student table tr.hide {display:none;}

.links_with_icons {
	margin: 1rem 0;
}

.links_with_icons a {
	display: block;
	min-height: 2.5rem;
	margin-bottom: 1rem;
	padding-left: 3.5rem;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 3.3rem 2.2rem;
	color: inherit;
	text-decoration: none;
}

.links_with_icons a:hover {
	text-decoration: underline;
}

.deadlines { background-image: url(../../_ui/deadlines.svg); }
.tuition { background-image: url(../../_ui/tuition.svg); }
.visit { background-image: url(../../_ui/visit.svg); }
.contact { background-image: url(../../_ui/contact.svg); }
.chat { background-image: url(../../_ui/chat.svg); }
.vtour { background-image: url(../../_ui/vtour.svg); }
.career-plan { background-image: url(../../_ui/career-plan.svg); }
.career-portal { background-image: url(../../_ui/career-portal.svg); }
.career-mentoring { background-image: url(../../_ui/career-mentoring.svg); }
.career-contact { background-image: url(../../_ui/career-contact.svg); }
.email { background-image: url(../../_ui/email-icon.svg); }
.whatsapp { background-image: url(../../_ui/whatsapp-logo.svg); }


.viewbook {
	margin: 1rem auto 0;
	border: 1px solid var(--anthracite15percent);
	padding: 0.5rem;
	background-color: var(--white);
	font-size: 0.8947em;
}

.viewbook figcaption {
	font-style: normal;
}

.page_followup iframe,
.page_accepted iframe {
	max-width: 100%;
}

.page_followup .large_labels label span,
.page_accepted .large_labels label span {
	min-width: 9rem;
}


/* call to action */

.cta {
    width: 47%;
    margin: 3rem 0;
    padding: 4% 4% 4% 8%;
    background-color: var(--anthracitelightgrey);
    font-size: 1.1em;
}

.extra .cta {width: 61%;}

h3.call-to-action{
    width: 34%;
    padding: 4% 3%;
    background-color: var(--primarygreen);
    color: var(--white);
    transform: scale(1.08) translateX(4%);
    outline: 10px solid rgb(255 255 255 / 0.8);

}

h3.call-to-action a {color: var(--white)!important;}

.cta, h3.call-to-action {
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
}



/* CSS GRID */

@supports (display: grid) {
	
	.applicant_type_grid li { width: auto; margin: 0; }
	
	.applicant_type_grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 8px; }
	
	.applicant_type_grid li:nth-child(-n+4) {
		-webkit-clip-path:polygon(0% 0%,100% 0%,100% 80%,0% 100%);
		clip-path:polygon(0% 0%,100% 0%,100% 80%,0% 100%);
	}

	.applicant_type_grid li:nth-child(n+5) {
		margin-top: -12%;
		-webkit-clip-path:polygon(0% 20%,100% 0%,100% 100%,0% 100%);
		clip-path:polygon(0% 20%,100% 0%,100% 100%,0% 100%);
	}
	
	
	@media only screen and (max-width: 1130px) {
		.applicant_type_grid li:nth-child(n+5) { margin-top: -15%; }
	}
	@media only screen and (max-width: 780px) {
		.applicant_type_grid li:nth-child(n+5) { margin-top: -20%; }
	}
	@media only screen and (max-width: 650px) {
		.applicant_type_grid { grid-template-columns: repeat(2, 1fr); }
	}
	
	
}



/* Edge Hack */
@supports (-ms-ime-align:auto) {
	
	.applicant_type_grid li { margin-bottom: 8px; }
	
}



@media only screen and (max-width: 1130px) {
	
	.apply_hero .info p { font-size: 2rem; font-size: 3.3vw; }
	.steps { margin-top: 12vw; }
	a.apply_step { margin-right: 0.4em; padding-top: 1.85rem; font-size: 1.2rem; }
	.apply_step:before { top: 0; left: 0.3em; font-size: 1.5em; }
	
}

@media only screen and (max-width: 980px) {
	
	.viewbook { max-width: 25rem; margin-left: 0; margin-right: 0; box-sizing: border-box; }
	.apply_hero .info { top: 4%; }
	.steps { margin-top: 5vw; }
	a.apply_step { display: block; max-width: 7em; height: auto; min-height: 2.5em; padding-top: 1.2rem; background-size: 10rem 8rem; background-position: -4rem -3.5rem; }
	
}

@media only screen and (max-width: 780px) {
	
	.apply_hero .info { top: 6%; padding: 0 1%; }
	.apply_hero .info span { font-size: 2em; }
	.steps { margin-top: 3vw; }
	a.apply_step { padding-top: 0.85rem; padding-left: 4.2rem; background-size: 8rem 8rem; background-position: -3.5rem -3.5rem; }
	.apply_step:before { top: -0.3em; left: 0.2em; }
	
	h3.call-to-action {width: auto;}
	.cta {width: 100%; margin-top: 0;}
	.extra .cta {width: auto;}
	
}

@media only screen and (max-width: 650px) {
		
	.applicant_type_grid li:nth-child(n+0),
	.applicant_type_grid li { -webkit-clip-path: none; clip-path: none; margin-top: 0; }
	.applicant_type_grid a { height: auto; min-height: 7rem; }
	
}

@media only screen and (max-width: 480px) {
	
	.apply_hero .info p { font-size: 4vw; }
	a.apply_step { font-size: 1rem; }
	.apply_step:before { top: -0.1em; left: 0.2em; }
	
}
