/* Start of CMSMS style sheet 'cta' */
.cta-hover {
	position: relative;
	margin: 0 auto;
	padding: 10px 0;
	max-width: 1000px;
	list-style: none;
	text-align: left;
}

/* Common style */

.cta-hover figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 15px 0;
	min-width: 150px;
	max-width: 100%; /* set CTA width */
	max-height: 280px;
	width: 100%;
	background: #EDFBFE;
	text-align: center;
	cursor: pointer;
}
.cta-hover figure img {
	position: relative;
	display: block;
	/*min-height: 100%;*/
	max-width: 360px;
	max-height: 362px;
	opacity: 0.8;
}
.cta-hover-light figure img {
	opacity: 1.0;
}
.cta-hover figure figcaption {
	padding: 15px;
	color: #fff;
	/*text-transform: uppercase;*/
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.cta-hover figure figcaption::before,
.cta-hover figure figcaption::after {
	pointer-events: none;
}
.cta-hover figure figcaption,
.cta-hover figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* CTA fonts */

.cta-hover figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}
.cta-hover figure h2 {
	font-size:24px; /* set CTA title text size */
	line-height:0.9;
	color:#fff;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 1.0);
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
}
.cta-hover-light figure h2 {
  color: #1d99d5;
  text-shadow: none;
}
.cta-hover figure h2,
.cta-hover figure p {
	margin: 0;
}
.cta-hover figure p {
	font-size: 20px; /* set CTA description text size */
	line-height:1.3;
	/*letter-spacing: 1px;
	font-size: 68.5%;*/
}

/* CTA effects */

figure.cta-effect {
	background: #000;
}
.cta-hover-light figure.cta-effect {
	background: #fff;
}
figure.cta-effect img {
	max-width: none;
	width: -webkit-calc(100% + 20px);
	width: calc(100% + 20px);
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-10px,0,0);
	transform: translate3d(-10px,0,0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
figure.cta-effect:hover img {
	opacity: 0.4;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
.cta-hover-light figure:hover h2 {
  color: #fff;
}
.cta-hover-light figure.cta-effect:hover {
	background: #000;
}
.cta-hover-light figure.cta-effect:hover img {
	opacity: 0.55;
}

.cta-corner {
  position: absolute !important;
  bottom: -1px;
  right: -10px;
}
figure.cta-effect img.cta-corner {
  width: auto;
  width: auto;
  -webkit-transition: opacity 0.55s, -webkit-transform 0.55s;
  transition: opacity 0.55s, transform 0.55s;
  -webkit-transform: translate3d(-10px,0,0);
  transform: translate3d(-10px,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
figure.cta-effect:hover img.cta-corner {
  opacity: 0.9;
  -webkit-transform: translate3d(10px,0,0);
  transform: translate3d(10px,0,0);
}


figure.cta-effect figcaption {
	text-align: left; /* set CTA text alignment */
}
figure.cta-effect h2,
figure.cta-effect p {
	padding-left: 15px;
	padding-right: 15px;
}
figure.cta-effect h2 {
	position: relative;
	overflow: hidden;
	padding-top: 20px;
	padding-bottom: 20px;
}
figure.cta-effect h2::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: #8CBDE0; /* set line colour */
	content: '';
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}
figure.cta-effect:hover h2::after {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
figure.cta-effect p {
	padding-top: 25px;
	padding-bottom: 15px;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(100%,0,0);
	transform: translate3d(100%,0,0);
}
figure.cta-effect:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

@media screen and (max-width: 990px) {
	.cta-hover figure h2 {
		font-size:23px;
		line-height:1.1;
	}
	.cta-hover figure p {
		font-size: 17px;
		line-height:1.3;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}
@media screen and (max-width: 767px) {
	.cta-hover figure {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
}
@media screen and (max-width: 767px) {
	.cta-hover figure h2 {
		padding: 10px 15px 10px 15px; /* set CTA title text padding */
	}
}
@media screen and (max-width: 667px) {
	figure.cta-effect h2,
	figure.cta-effect p {
		padding-left: 10px;
		padding-right: 10px;
	}
	.cta-hover figure h2 {
		font-size:20px;
		line-height:1.1;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.cta-hover figure p {
		font-size: 16px;
		line-height:1.3;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}
@media screen and (max-width: 638px) {
	figure.cta-effect h2,
	figure.cta-effect p {
		padding-left: 7px;
		padding-right: 7px;
	}
	.cta-hover figure h2 {
		font-size:18px;
		line-height:1.1;
		padding-top: 5px;
		padding-bottom: 10px;
	}
	.cta-hover figure p {
		font-size: 15px;
		line-height:1.2;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}
@media (max-width: 580px) {
	figure.cta-effect h2,
	figure.cta-effect p {
		padding-left: 10px;
		padding-right: 10px;
	}
	.cta-hover .col-xs-6 {
		width: 100%;
	}
	.cta-hover figure h2 {
		font-size:24px;
		line-height:0.9;
		margin-top:0;
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.cta-hover figure p {
		font-size: 17px;
		line-height:1.2;
		padding-top: 25px;
		padding-bottom: 15px;
	}
}
@media (max-width: 560px) {
	.cta-hover {
		position: relative;
		margin: 0 auto;
		padding: 0;
		max-width: 1000px;
		list-style: none;
		text-align: left;
	}
}
@media (max-width: 405px) {
	.cta-hover figure h2 {
		font-size:22px;
		line-height:0.9;
		margin-top:0;
		padding-top: 10px;
		padding-bottom: 15px;
	}
	.cta-hover figure p {
		font-size: 17px;
		line-height:1.3;
		padding-top: 15px;
		padding-bottom: 15px;
	}
}
@media (max-width: 340px) { /* iPhone portrait view */
	.cta-hover figure h2 {
		font-size:20px;
		line-height:0.9;
		margin-top:0;
		padding-top: 6px;
		padding-bottom: 15px;
	}
	.cta-hover figure p {
		font-size: 15px;
		line-height:1.3;
		padding-top: 15px;
		padding-bottom: 15px;
	}
}

/* End of 'cta' */

