
/*horizontal teaser*/
.teaser.table_section {
	margin-top: 26px;
}

.teaser.table_section + .teaser.table_section {
	margin-top: 70px;
}

@media (min-width: 768px) {
	.teaser.table_section [class*="col-"] * {
		margin: 0;
		top: 0;
	}
}

@media (max-width: 767px) {
	.teaser.table_section [class*="col-"] * {
		text-align: center;
	}
}

/* background teaser */
.bg_teaser {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 0;
	position: relative;
	color: #ffffff;
	-webkit-transition: all 0.4s linear 0s;
	transition: all 0.4s linear 0s;
	overflow: hidden;
}

.bg_teaser .bg_overlay {
	position: absolute;
	width: 100%;
	height: 1000px;
	background-color: #ffffff;
	-webkit-transition: all 0.4s linear 0s;
	transition: all 0.4s linear 0s;
}

.bg_teaser.light_teaser:hover, .bg_teaser.light_teaser.hover {
	-webkit-transition: all 0.05s linear 0s;
	transition: all 0.05s linear 0s;
}

.bg_teaser.light_teaser:hover .bg_overlay, .bg_teaser.light_teaser.hover .bg_overlay {
	    background-color: rgba(255, 102, 51, 0.56);
	-webkit-transition: all 0.05s linear 0s;
	transition: all 0.05s linear 0s;
}

.bg_teaser.with_shadow:hover, .bg_teaser.with_shadow.hover {
	box-shadow: none;
}

.bg_teaser .highlight {
	color: #ffffff;
}

.bg_teaser h4 + h3 {
	margin-top: -14px;
	font-size: 50px;
}

.bg_teaser.rectangular .teaser_content {
	padding: 200px 30px 50px;
}

.bg_teaser.rectangular .teaser_content h3 {
	font-size: 40px;
}

.bg_teaser > img {
	display: none;
	visibility: hidden;
}

.bg_teaser .teaser_content {
	margin: 0;
	padding: 45px 35px;
	z-index: 2;
}

.bg_teaser .teaser_content > .media-left {
	padding-right: 35px;
}

.bg_teaser .teaser_content.media {
	padding: 75px 40px 60px;
}

@media (max-width: 400px) {
	.bg_teaser .teaser_content {
		padding-right: 20px;
		padding-left: 20px;
	}
}

.bg_teaser.small_corners .teaser_content {
	padding: 30px 30px;
}

.service-teaser {
	min-height: 165px;
	background-color: rgba(255, 255, 255, 0.7);
	-webkit-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}

.service-teaser .teaser_content {
	padding: 30px;
}

.service-teaser:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

.service-teaser .darklinks a:hover {
	color: #fcca03;
}

.color_bg_1 .bg_overlay {
	background-color: rgba(252, 202, 3, 0.85);
}

.color_bg_2 .bg_overlay {
	background-color: rgba(22, 164, 214, 0.9);
}

.color_bg_3 .bg_overlay {
	background-color: rgba(226, 55, 81, 0.9);
}

.darkgrey_bg .bg_overlay {
	background-color: rgba(51, 51, 51, 0.8);
}

.square_teaser .item-media:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(51, 51, 51, 0.8);
}

.square_teaser .item-content {
	top: 0;
	margin: 30px 0 80px;
	overflow: hidden;
}

.square_teaser .teaser_icon {
	color: #fcca03;
	position: absolute;
	bottom: 30px;
	left: 30px;
}

.square_teaser .item-media:after, .square_teaser .teaser_icon, .square_teaser h4, .square_teaser p {
	-webkit-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}

.square_teaser h4 {
	color: #ffffff;
	font-size: 28px;
	font-weight: 700;
}

.square_teaser p {
	color: #ffffff;
	opacity: 0;
}

.square_teaser:hover h4, .square_teaser:hover .teaser_icon {
	color: #333333;
}

.square_teaser:hover p {
	opacity: 1;
}

.square_teaser:hover .item-media:after {
	background-color: #fcca03;
}









.with_corners,
.cornered-heading {
	position: relative;
}

.with_corners > *,
.cornered-heading > * {
	position: relative;
	z-index: 3;
}

.with_corners > .bg_overlay,
.cornered-heading > .bg_overlay {
	z-index: 1;
}

.with_corners:before, .with_corners:after,
.cornered-heading:before,
.cornered-heading:after {
	content: "";
	position: absolute;
	width: 40px;
	height: 40px;
	border: 2px solid #fcca03;
	z-index: 2;
}

.with_corners:before,
.cornered-heading:before {
	top: -15px;
	left: -22px;
	border-width: 2px 0 0 2px;
}

.with_corners:after,
.cornered-heading:after {
	bottom: -15px;
	right: -22px;
	border-width: 0 2px 2px 0;
}




@media (min-width: 992px) {
	.cornered-heading.media-topmargin {
		margin-top: -8px;
	}
}

@media (min-width: 992px) {
	.cornered-heading {
		margin-right: 0;
		margin-left: 0;
	}
}

@media (min-width: 460px) {
	.cornered-heading.center-heading:before {
		left: -49px;
	}

	.cornered-heading.center-heading:after {
		right: -49px;
	}
}

.with_corners:before, .with_corners:after {
	border-color: #333333;
	-webkit-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}

.with_corners:before {
	top: 20px;
	left: 20px;
}

.with_corners:after {
	bottom: 20px;
	right: 20px;
}


