/**************************************************

LANDING PAGES
Single-sourced custom styles for landing pages.

Contributors: Logan
Created: 2017-09-12
Updated: 2018-08-24

**************************************************/
/* RFI Form Styling */
.form_question_698047cf-672c-46cd-a6e1-a93d58571618, .form_question_25c72bc0-c917-4bbe-ad1c-fdeb23b3fc6f {display: none !important;}
div.form_h2 .form_label {font-size: .9em !important;}
div.form_p .form_label {font-size: .7em !important;}
div.form_question {margin: 0 0 .5em 0 !important;}
#form_question_32612fde-5c95-4401-9a66-d4419aa75826 {font-size: .875em; color:#4d4c4c;}
#form_157ee3f0-7c66-4353-906a-3137afe8aa36_container {border:none !important; padding: 0px !important; background-color: #fff !important; box-shadow: none !important;line-height: 1em !important;}

/* Normalize UNC Styles */
.unc-mega-nav, .site-header { display: none }
#de { display: none }

/* Intro hero image (will be angled!) */
.intro-hero:before {
	content: '';
	position: absolute;
	width: 100%;
	min-height: 100%;
	background: #000000;
	opacity: .4;
}
.intro-hero {
	position: relative;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.intro-hero .intro-container {
	padding-top: 2em;
}
.intro-hero .intro-container .intro-logo p {
	margin-bottom: 0;
}
.intro-hero .intro-container .intro-logo img {
	max-width: 15em;
	-webkit-filter: drop-shadow(10px 2px 30px rgba(0, 0, 0, 1));
	filter: drop-shadow(10px 2px 30px rgba(0, 0, 0, 1));
	margin-bottom: 1.25rem;
}
.intro-hero .intro-container .program-name, .intro-hero .intro-content {
	text-shadow: 10px 2px 30px rgba(0,0,0,1);
}
.intro-hero .intro-container .program-name {
	text-align: center;
}
.intro-hero .intro-container .button.small.rounded {
	border-radius: 5px;
}
@media only screen and (min-width: 40.063em) {
	.intro-hero .intro-container .intro-content {
		padding: 3.5em 0;
	}
	.intro-hero .intro-container .intro-logo img {
		margin-bottom: 0;
	}
	.intro-hero .intro-container .program-name {
		position: relative;
		height: 100%;
	}
	.intro-hero .intro-container .program-name p {
		text-align: right;
		position: absolute;
		width: 100%;
		top: 50%;
		transform: translateY(-50%);
	}
}

/* Angle for top row */
.angled-bottom {
	position: relative;
	overflow: hidden;
	padding-bottom: 8em;
	margin-bottom: -1px;
}
.angled-bottom:after {
	content: '';
	width: 150%;
	height: 100%;
	position: absolute;
	bottom: -100%;
}
.angled-bottom.angle-right:after {
	left: -50%;
	-webkit-transform: rotate(3deg);
	-ms-transform: rotate(3deg);
	transform: rotate(3deg);
	-webkit-transform-origin: top right;
	-ms-transform-origin: top right;
	transform-origin: top right
}
.angled-bottom.angle-left:after {
	right: -50%;
	-webkit-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	transform: rotate(-3deg);
	-webkit-transform-origin: top left;
	-ms-transform-origin: top left;
	transform-origin: top left
}
.angled-bottom.angle-white:after {
	background-color: #ffffff;
	border: solid 1px #ffffff
}
.angled-bottom.angle-black:after {
	background-color: #000000;
	border: solid 1px #000000;
	opacity: .5
}

/* Modifications to beginning body row */
.body-start {
	margin-top: 4em 0;
}
.body-start.main-grab p.intro-text {
	font-size: 1.4rem;
}
@media only screen and (max-width: 40em) {
	.body-start.main-grab p.intro-text {
		margin-top: 2em;
	}
}
.body-start.main-grab .intro-text span.focused {
	position: relative;
	display: inline-block;
}
.body-start.main-grab .intro-text span.focused:after {
	position: absolute;
	z-index: -1;
	left: 0;
	margin-top: 8px;
	height: 1em;
	width: 100%;
	content: '';
	border-bottom: .5rem solid rgba(254, 189, 54, .7);
}
.body-start .panel {
	margin-top: -8em;
	border-radius: 5px;
	-webkit-box-shadow: 0 15px 35px rgba(96, 105, 122, 0.3), 0 5px 15px rgba(0, 0, 0, 0.07);
	box-shadow: 0 15px 35px rgba(96, 105, 122, 0.3), 0 5px 15px rgba(0, 0, 0, 0.07);
	background-color: white;
	background-image: url(/_resources/images/landing-page/form-unc-header-blue.jpg);
	background-repeat: no-repeat;
	background-size: 100%;
}
.body-start .panel h2 {
	padding-bottom: .75em;
	border-width: 0px!important;
	border-radius: 5px;
	background-color: white;
	padding: .75em 0;
	text-transform: uppercase;
	margin-top: 2.5em;
}

/* Fix for video embeds */
.video-container { padding-top: 0 }

/* Add class for balancing text */
.balance-text { text-wrap: balance; }

/* Fast Facts modifications on dark row */
.unc-difference .fast-facts .heading.figure { padding-top: 1.5rem!important }
.unc-difference .fast-facts svg.icon { fill: #fff }
.unc-difference .fast-facts .heading.figure { font-size: 2.5em }
.unc-difference .fast-facts .heading.figure { font-size: 2.5em }
.unc-difference .fast-facts .description { font-size: 1em }
.unc-difference .fast-facts .small { font-size: .9em }
.unc-difference .fast-facts .heading,
.unc-difference .fast-facts .heading.figure,
.unc-difference .fast-facts .description,
.unc-difference .fast-facts .description span.figure,
.unc-difference .fast-facts .small,
.unc-difference .fast-facts .small a,
.unc-difference .fast-facts span.figure { color: #fff }
.unc-difference .fast-facts .small a.learn-more { background-image: url('/_resources/images/icons/circle-arrow/right/circle-arrow-right_white.svg') }

/* Quote Row */
@media only screen and (min-width: 40.063em) {
	.quote-row .quote-text.quote-text--centered {
		position: absolute;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
		width: 95%;
	}
}

/* Updated profile photo with border */
.profile-photo {
	position: relative;
	background: -webkit-linear-gradient(135deg, #013c65, #007991);
	background: -o-linear-gradient(135deg, #013c65, #007991);
	background: linear-gradient(135deg, #013c65, #007991);
	border-radius: 50%;
	width: 9em;
	height: 9em;
	margin: auto;
}
@media only screen and (max-width: 40em) {
	.profile-photo { margin-bottom: 1.5em }
}
.profile-photo:after {
	position: absolute;
	display: block;
	top: .25em;
	left: .25em;
	width: 8.5em;
	height: 8.5em;
	content: '';
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 50%;
	overflow: hidden;
}
.profile-photo img {
	position: relative;
	z-index: 1;
	width: 8em;
	top: .5em;
	left: .5em;
	border-radius: 50%;
}
.profile-photo img::-moz-selection {
	background: none;
}
.profile-photo img::selection {
	background: none;
}
.profile-photo img::-moz-selection {
	background: none;
}
.profile-photo.small {
	width: 7em;
	height: 7em;
}
.profile-photo.small:after {
	width: 6.5em;
	height: 6.5em;
}
.profile-photo.small img {
	width: 6em;
}
.profile-photo.large {
	width: 11em;
	height: 11em;
}
.profile-photo.large:after {
	width: 10.5em;
	height: 10.5em;
}
.profile-photo.large img {
	width: 10em;
}
