/* Adjust menu */

@media (min-width: 768px) {
	#horizontal-menu-wrap #horizontal-menu ul li span {
		padding-top: 20px;
	}
}

#horizontal-menu .back-link {
	opacity: 0.8;
	padding-left: 28px;
	border-left: 1px solid rgba(255,255,255,0.3);
}

/* Make 3 teasers more CTA like */

#gray-strip .box-small .box-inner {
	padding-bottom: 40px;
}

#gray-strip .box-small a:hover {
	background: rgba(235, 240, 245, 0.2);
}

.page-id-169 #gray-strip .col-md-4:last-child .box-small a:hover {
	background: rgba(0, 0, 0, 0.05);
}

#gray-strip .box-small .text.course p {
	padding-right: 0;
}

#gray-strip .box-small a::after {
	content: "Read more";
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	color: #6BB745;
	text-indent: initial;
	padding: 20px 43px;
	font-size: 13px;
	line-height: 34px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* Specific rules for coloring of Accelerator teaser in Entrepreneurship */

.page-id-169 #gray-strip .col-md-4:last-child .box-inner {
	background-color: #6BB745;
	color: #fff;
}

.page-id-169 #gray-strip .col-md-4:last-child .box-small .text .inner .h3,
.page-id-169 #gray-strip .col-md-4:last-child .box-small .text.course p,
.page-id-169 #gray-strip .col-md-4:last-child .box-small a::after {
	color: #fff;
}

/* Rules for Accelerator process teaser arrows */

.page-id-1079 #gray-strip .col-md-4:not(:last-child) .box-small::after {
	position: absolute;
	bottom: -40px;
	left: 50%;
	z-index: 9;
	margin-left: -2px;
	content: '';
	width: 4px;
	height: 40px;
	background-color: #fff;
	box-shadow: rgba(0,0,0,0.2) 0 0 4px;
}

@media (min-width: 768px) {
	.page-id-1079 #gray-strip .col-md-4:not(:last-child) .box-small::after {
		width: 0;
		height: 0;
		bottom: 50%;
		left: auto;
		right: -25px;
		border-top: 40px solid transparent;
		border-bottom: 40px solid transparent;
		border-left: 40px solid #fff;
		background: none;
		box-shadow: none;
		opacity: 1;
		transition: opacity 0.3s;
	}

	.page-id-1079 #gray-strip .col-md-4:not(:last-child) .box-small.hover::after {
		opacity: 0.8;
	}
}

/* Reduce stats font size */

#stats .column .animateSVGblock .title {
	font-size: 47px;
}

/* Make imamge strip text a bit bigger */
@media (min-width: 768px) {
	.image-strip .bg-img .caption .text .title {
		max-width: 700px;
		font-size: 50px;
		line-height: 55px;
	}
}

/* Style flexible content elements */

.team_title, .news-title {
	font-size: 40px;
	line-height: 44px;
	color: #000;
	width: 100%;
	text-align: center;
	margin-bottom: 48px;
}

@media (min-width: 1394px) {
	#team .container {
		max-width: 1600px;
	}

	#team .col-md-3 {
		max-width: 20%;
	}
}

#team .row {
	justify-content: center;
}

.area-news .img-wrap::before,
.area-news .news-icon::before,
.area-news .author {
	display: none !important;
}

#news.area-news .box-small .text .inner {
	min-height: auto;
}

/* Team Bubbles */
#team .column .bubble .bubble-wrap.squared-images:before,
#team .column .bubble .bubble-wrap.squared-images:after,
.bubble-team-content .bubble-inner .bubble .bubble-wrap.squared-images:before {
	border: 0;
	content: none;
}

#team .column .bubble .bubble-wrap.squared-images img,
.bubble-team-content .bubble-inner .bubble .bubble-wrap.squared-images img {
	border-radius: 0;
}

.hover div.bubble + h3 {
	color: #034EA2;
}

/* Team Bubbles (overlay) */

.bubble-team-content .bubble-inner .position {
	margin-bottom: 0;
}

.bubble-team-content .bubble-inner .text {
	margin-top: 16px;
}

.bubble-team-content .bubble-inner .social-icons {
	display: flex;
	justify-content: center;
}

.social-icons a.website-social-link {
	display: block;
	width: 39px;
	height: 39px;
	border: 2px solid #6BB745;
	border-radius: 50%;
}

a.website-social-link svg {
	position: relative;
	top: 7px;
	left: -1px;
}

/* Make videos scale on all device sizes */

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 759px;
}

.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}