/**
 * Custom CSS styles
 */

/* Faculty archive page, Single CPT People page, Research areas changes */
.entity {
	flex-wrap: wrap;
}

.entity .entity_footer .entity_meta_detail_research_areas span:not(:last-of-type):after {
	content:"•";
}

.entity .entity_footer {
	margin-top: 14px;
}

.entity_meta .entity_meta_detail.research_areas {
	margin-top: 14px;
}

.entity_meta .entity_meta_detail.research_areas span.entity_meta_detail_label {
	margin-right: 20px;
}

.entity_meta .entity_meta_detail.research_areas span.entity_meta_detail_item {
	display: inline-block;
}

.entity .entity_detail_link span {
	word-wrap: break-word;
}

/* Carousel banner component */
.carousel_banner {
	background-color: #12122d;
	padding: 50px 0;
}
.carousel_banner .carousel_banner_inner {
	max-width: 1024px;
	margin: 0 auto;
}
.carousel_banner .carousel_banner_slide_figure {
	width: 250px;
	margin-top: 20px;
	position: relative;
	z-index: 1;
}

.carousel_banner .carousel_banner_slide_figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.carousel_banner  .carousel_banner_slide_img_image_wrapper {
	padding-top: 100%;
}

.carousel_banner .carousel_banner_item_links {
	margin-bottom: 10px;
}
.carousel_banner .carousel_banner_item_link {
	cursor: pointer;
	font-family: Gentona, "Myriad Pro", sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.42857;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: 3px solid #68ace5;
	padding: 12px 15px 10px;
	text-align: center;
	transition: background 0.25s, color 0.25s;
	max-width: 240px;
	display: block;
	background: #12122D;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
	color: #fff;
	margin-top: 16px;
	white-space: nowrap;
}


.carousel_banner .carousel_banner_item_link:hover, .carousel_banner .carousel_banner_item_link:focus {
	background-color: #68ace5;
}


.carousel_banner .carousel_banner_slide_img_image_wrapper {
	position: relative;
	padding-top: 100%;
}

.carousel_banner .carousel_banner_item {
	margin-bottom: 35px;
}

.carousel_banner  p.carousel_banner_item_title {
	font-size: 28px;
	font-weight: 800;
	font-family: Gentona,myriad pro,sans-serif;
	line-height: 1.28;
	margin-bottom: 10px;
}

.carousel_banner  .carousel_banner_item_description p {
	font-size: 21px;
	font-weight: 400;
	font-family: Quadon,times new roman,serif;
	line-height: 1.71429;
	margin-bottom: 10px;
}

.carousel_banner .carousel_banner_item:last-child {
	margin-bottom: 0;
}

.carousel_banner .carousel_banner_item_group {
	position: relative;
	color: #fff;
	/*padding: 40px 20px 30px;*/
	max-width: 525px;
}

.carousel_banner .fs-carousel-pagination {
	text-align: center;
}

.carousel_banner .fs-carousel-page.fs-carousel-active:before {
	background-color: #0a6aa1;
}

.carousel_banner .fs-carousel-controls_custom.fs-carousel-visible, .fs-carousel-enabled .fs-carousel-controls.fs-carousel-visible {
	display: none;
}

/* New Program page template with Formidable form */
.program_formidable_form .frm_form_title {
	margin-bottom: 20px!important;
	font-family: Quadon, "Times New Roman", serif;
}

.program_formidable_form  .frm_primary_label {
	font-family: Quadon, "Times New Roman", serif;
	font-size: 17px!important;
	font-weight: 600!important;
	color: #000!important;
}

.program_formidable_form .frm_description {
	display: none;
}


/* Home Slideshow */
.department_slideshow .department_slideshow_wrap {
	padding: 38px 0 30px;
	border-width: 30px;
	border-style: solid;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.department_slideshow .department_feature_header {
	background-color: rgba(255, 255, 255, 0.3);
	padding: 20px 20px 30px;
	border-radius: 5px;
}

.department_slideshow .page_theme_sunlight .department_feature_header_link {
	background-color: #f1c400;
}

.department_slideshow .page_theme_radiant .department_feature_header_link {
	background-color: #ff9e1b;
}

.department_slideshow .page_theme_amber .department_feature_header_link {
	background-color: #ff6900;
}

.department_slideshow .page_theme_apricot .department_feature_header_link {
	background-color: #e8927c;
}

.department_slideshow .page_theme_spirit_blue .department_feature_header_link {
	background-color: #68ace5;
}

.department_slideshow .page_theme_bright_blue .department_feature_header_link {
	background-color: #418fde;
}

.department_slideshow .page_theme_teal .department_feature_header_link {
	background-color: #009b77;
}

.department_slideshow .page_theme_muted_green .department_feature_header_link {
	background-color: #719949;
}

.department_slideshow .page_theme_mauve .department_feature_header_link {
	background-color: #a192b2;
}

.department_slideshow .page_theme_bishop .department_feature_header_link {
	background-color: #bd6dad;
}

.department_slideshow .department_slideshow_wrap.page_theme_sunlight {
	border-bottom-color: #f1c400;
}
.department_slideshow .department_slideshow_wrap.page_theme_radiant {
	border-bottom-color: #ff9e1b;
}
.department_slideshow .department_slideshow_wrap.page_theme_amber {
	border-bottom-color: #ff6900;
}
.department_slideshow .department_slideshow_wrap.page_theme_apricot {
	border-bottom-color: #e8927c;
}
.department_slideshow .department_slideshow_wrap.page_theme_spirit_blue {
	border-bottom-color: #68ace5;
}
.department_slideshow .department_slideshow_wrap.page_theme_bright_blue {
	border-bottom-color: #418fde;
}
.department_slideshow .department_slideshow_wrap.page_theme_teal {
	border-bottom-color: #009b77;
}
.department_slideshow .department_slideshow_wrap.page_theme_muted_green {
	border-bottom-color: #719949;
}
.department_slideshow .department_slideshow_wrap.page_theme_mauve {
	border-bottom-color: #a192b2;
}
.department_slideshow .department_slideshow_wrap.page_theme_bishop {
	border-bottom-color: #bd6dad;
}

.department_slideshow .fs-carousel-controls {
	display: flex!important;
	justify-content: space-between;
	width: 100%;
	position: absolute;
	top: 50%;
	transform: translate(-50%);
	max-width: 1455px;
	left: 50%;
}
.department_slideshow .fs-carousel-controls .fs-carousel-control {
	color: white;
	padding: 13px;
	background: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cG9seWdvbiBwb2ludHM9IjcuMjkzIDQuNzA3IDE0LjU4NiAxMiA3LjI5MyAxOS4yOTMgOC43MDcgMjAuNzA3IDE3LjQxNCAxMiA4LjcwNyAzLjI5MyA3LjI5MyA0LjcwNyIvPgo8L3N2Zz4K');
	background-repeat: no-repeat;
	background-size: contain;
	width: 8px;
	opacity: 0.6;
	transition: opacity 0.5s;
}
button.fs-carousel-control[disabled] {
	visibility: hidden;
}
.department_slideshow .fs-carousel-controls .fs-carousel-control:hover {
	opacity: 0.95;
	transition: opacity 0.5s;
}

.department_slideshow .fs-carousel-controls .fs-carousel-control_previous {
	transform: rotate(-180deg);
}

.department_slideshow .fs-carousel-controls .fs-carousel-control-icon {
	display: none;
}

.department_slideshow .fs-carousel-pagination {
	display: none!important;
}



/* CPT News, Single page */
article.news_entry p.wp-caption-text {
	font-size: 16px;
	margin: 0 0 0 20px !important;
	padding: 20px 28px 20px 20px;
	font-family: Gentona, "Myriad Pro", sans-serif;
	font-weight: 300;
	position: relative;
	color: #171719;
	line-height: 1.6875;
	text-align: left;
}

article.news_entry .page_content div.wp-caption p.wp-caption-text:before {
	content: "";
	display: block;
	width: 1px;
	height: calc(100% + 30px);
	position: absolute;
	bottom: 0;
	left: 0;
}

.page_theme_whiting article.news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #86c8bc;
}

.page_theme_ep article.news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #cda052;
}

.page_theme_sunlight .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #f1c400;
}
.page_theme_radiant .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #ff9e1b;
}
.page_theme_amber .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #ff6900;
}
.page_theme_apricot .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #e8927c;
}
.page_theme_spirit_blue .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #68ace5;
}
.page_theme_bright_blue .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #418fde;
}
.page_theme_teal .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #009b77;
}
.page_theme_muted_green .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #719949;
}
.page_theme_mauve .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #a192b2;
}
.page_theme_bishop .news_entry .page_content div.wp-caption p.wp-caption-text:before {
	background-color: #bd6dad;
}


/* Announcement bar on Pages */
.page_announcement_bar {
	padding-bottom: 15px;
	position: relative;
	z-index: 5;
}


@media (min-width: 499px) {
	.entity_meta .entity_meta_detail.research_areas {
		max-width: 62.5%;
	}
	.entity_meta .entity_meta_detail.research_areas span:not(:last-of-type).entity_meta_detail_item:after {
		content:"•";
		font-size: 20px;
		margin-left: 5px;
		margin-right: 5px;
	}

	.entity .entity_department .entity_detail {
		width: 100%;
	}

	.department_slideshow .department_slideshow_wrap {
		padding: 56px 0 50px;
	}
}

/* CPT News, Single page */
@media (min-width: 500px) {
	article.news_entry .page_content div.wp-caption.alignright,
	article.news_entry .page_content p img.alignright,
	article.news_entry .page_content a img.alignright {
		width: 50%;
		float: right;
		margin: 36px 0 10px 30px;
	}
}

@media (min-width: 740px) {
	.carousel_banner .carousel_banner_slide_figure {
		width: 450px;
		padding-left: 50px;
	}

	.carousel_banner .carousel_banner_item_link {
		justify-self: flex-end;
		margin-top: 8px;
	}
	.carousel_banner .carousel_banner_slide_img_image_wrapper:after {
		width: 100%;
		height: 100%;
		display: block;
		position: absolute;
		left: -8px;
		bottom: -8px;
		border-style: solid;
		border-width: 1px;
		border-color: #68ace5;
		background: transparent;
		content: "";
	}

	.carousel_banner .carousel_banner_item {
		display: flex;
		align-items: center;
	}

	.carousel_banner  .carousel_banner_item_title {
		font-size: 46px;
	}

	.carousel_banner  .carousel_banner_item_title {
		font-size: 21px;
		line-height: 1.71429;
		margin-top: 12px;
		font-family: Quadon,times new roman,serif;
		font-weight: 400;
	}

	.carousel_banner .carousel_banner_item_group {
		/*width: calc(100% - 250px);*/
		display: flex;
		flex-direction: column;
		margin-top: 20px;
		/*padding: 40px 45px 30px;*/
	}
}

@media (min-width: 980px) {
	.carousel_banner  p.carousel_banner_item_title {
		font-size: 70px;
		line-height: 1;
	}

	article.news_entry .page_content div.wp-caption.alignright,
	article.news_entry .page_content p img.alignright,
	article.news_entry .page_content a img.alignright {
		width: 47%;
		margin-right: -80px;
		margin-bottom: 40px;
		margin-left: 6%;
	}
}

@media (min-width: 1200px) {
	.department_slideshow .department_feature_header {
		max-width: 60%;
	}
	article.news_entry .page_content div.wp-caption.alignright,
	article.news_entry .page_content p img.alignright,
	article.news_entry .page_content a img.alignright {
		max-width: 60%!important;
	}
}

@media (min-width: 1220px) {
	.carousel_banner .carousel_banner_slide_figure {
		margin-top: 0;
		padding-left: 100px;
	}
	.department_slideshow .department_slideshow_wrap {
		padding: 130px 0 120px;
	}
	.department_slideshow .fs-carousel-controls .fs-carousel-control {
		padding: 25px;
	}

	.entity .entity_footer {
		width: 52%;
		padding-right: 40px;
	}
}

@media (min-width: 1394px) {
	/* Formidable form pulling right */
	.frm_forms.frm_style_jhu-pull-right {
		float: right!important;
		margin-left: 7%;
		margin-right: -343px;
		width: 60%;
	}

	article.news_entry .page_content div.wp-caption.alignright,
	article.news_entry .page_content p img.alignright,
	article.news_entry .page_content a img.alignright {
		float: right !important;
		margin-left: 7%;
		margin-right: -343px;
		width: 60%;
	}

	article.news_entry .page_content div.wp-caption.aligncenter,
	article.news_entry .page_content div.wp-caption.aligncenter img,
	article.news_entry .page_content p img.aligncenter,
	article.news_entry .page_content a img.aligncenter {
		margin: 0 auto;
	}
}