/* Layout */
#page main {
	padding-bottom: 40px;
}
.page-intro {
	color: #fff;
	padding: 40px 0;
	margin-bottom: 50px;
	background: #00576B url("../img/page-intro.jpg") no-repeat top center;
	background-size: cover;
}
.home .page-intro {
	color: var(--color-primary);
}
.page-intro h1 {
	display: flex;
	margin: 20px auto 0;
	max-width: 800px;
	text-align: center;
	line-height: 1;
	transform: translate3d(-10%,0,0);
}
.page-intro p {
	max-width: 800px;
	text-align: left;
}
.page-intro p strong {
	color: #fff;
}
.content .page-intro a:link,
.content .page-intro a:visited {
	color: #fff;
}

.content {
	position:relative;
	margin: 0 auto;
	z-index: 0;
	max-width: 1280px;
	font-size: 16pt;
}

.content .row {
	max-width: 1280px;
}

.content h2,
.content h3,
.content h4 {
	color: #00576B;
	margin: 40px 0;
	line-height: 1;
}
.content h2 + h3 {
	margin-top: -20px;
}
.content h2 + p,
.content h3 + p {
	margin-top: -30px;
}

.content p {
	margin-left: auto;
	margin-right: auto;
	line-height: 1.25
}

.content strong {
	color: var(--color-primary);
}

.content p a:link,.content p a:visited {
	color:#00576B;
	text-decoration:none;
	border-bottom: 2px solid #8cd0b2
}

.content p a:hover,.content p a:active {
	color:#00576B;
	border-bottom: 2px solid #fba399
}

.content .button {
	margin: 50px auto;
	text-align: center;
}

.content ul,
.team-modal ul,
.content ol,
.team-modal ol {
	margin: 30px auto;
	padding: 0 0 0 20px;
}
.content ul > li,
.team-modal ul > li {
	list-style-type: none;
	margin-bottom: 20px;
	margin-left: 15px;
	line-height: 1.5em;
	position: relative;
}
.content ol ul > li,
.content ul ul > li,
.team-modal ol ul > li,
.team-modal ul ul > li {
	font-size: 1em;
}
.content ul li::before,
.team-modal ul li::before {
	content: "\2022";
	color: #00576B;
	font-weight: bold;
	display: inline-block;
	font-size: 1.75em;
	padding-right: 5px;
	vertical-align: inherit;
	margin-left: -25px;
	position: absolute;
	top: -2px;
}
.content ol,
.team-modal ol { 
	counter-reset: list;
	justify-content: flex-start;
}
.content ol > li,
.team-modal ol > li {
	counter-increment: list;
	margin-bottom: 10px;
	list-style:none;
	display: flex;
}
.content ol li:before,
.team-modal ol li:before {
	color: #00576B;
	content: counter(list); /* "."*/
	font-family: "Rois", "Helvetica Neue",Arial, sans-serif;
	font-size: 1em;
	font-weight: normal;
	display: inline-block;
	margin: 0 10px 0 -25px;
	min-width: 30px;
	text-align: right;
	transform: translateY(0.2em);
}
.coblocks-gallery--item::before {
	content: "";
	display: none !important;
}
.article-preview h2 {
	margin: 10px 0 0;
	line-height: 1;
}
.content .article-preview a:link,
.content .article-preview a:visited {
	border-bottom: none;
}
.article-preview .btn {
	margin-left: 10px;
}

.fullwidth {
	margin-left: calc(-100vw / 2 + 100% / 2);
	margin-right: calc(-100vw / 2 + 100% / 2);
	max-width: calc(100vw);
}

.introbox {
	position: relative;
	background: var(--color-soft4);
	color: var(--color-primary);
	padding: 30px 0;
	margin-bottom: 40px;
	text-align: center;
}
/* .introbox::after,
.introbox::before {
	position: absolute;
	left: 0;
	right: 0;
	display: block;
	content: "";
	width: 100%;
	height: 10px;
	background: transparent url("../../img/intro-rose-before.png") no-repeat center center;
	background-size: 100% auto;
}
.introbox::before {
	top: -5px;
}
.introbox::after {
	bottom: -5px;
	background: transparent url("../../img/intro-rose-after.png") no-repeat center center;
	background-size: 100% auto;
} */
.introbox .row {
	max-width: 800px;
}
.introbox h1 {
	margin-left: -30px;
	text-align: left;
}
.introbox p {
	text-align: left;
}
.introbox .button {
	display: inline-flex;
	margin: 10px auto;
}

/* Testimonials */
.testimonial-slider-wrapper {}
.swiffy-slider {
	margin: 30px 0;
}

.testimonial-slide {
	display:flex;
	flex-direction:row;
	align-items:center;
}
.testimonial-slide img {
	border-radius: 50%;
	margin: 0 20px 20px 0;
	
}
.testimonial-content {
	display:flex;
	flex-direction:column;
	flex:1;
}
.testimonial-slide .info {}

.testimonial-slide h3 {
	margin: 20px 0 0 0 !important;
}

.testimonial-slide .info .name,
.testimonial-slide .info .location {
	font-weight: bold;
	display: block;
}
.testimonial-slide .info .work,
.testimonial-slide .info .location {
	font-weight: bold;
	font-size: .9em !important;
	display: inline-block;
	margin: 5px 10px 0 0;
}
.testimonial-slide .info p.content {
	margin-top: 10px;
	font-size: .75em !important;
}

@media screen and (max-width: 1024px) {
	.page-intro h1 {
		transform: translateX(20px);
	}
	.content h2, .content h3, .content h4 {
		margin-left: 20px;
	}
	.content .article-preview h2 {
		font-size: 1em;
		margin-left: 0;
	}
	.introbox h1 {
		margin-left: 20px;
	}
	.introbox p {
		max-width: 100%;
		margin-left: 0px !important;
		margin-right: 0px !important;
	}
	.content {
		font-size: 16px;
		word-break: break-word;
	}
	.content p {
		max-width: none;
	}
}

@media screen and (max-width: 54.786em) {
	.page-intro h1 {
		margin: 20px auto 0;
	}
	.content ul,
	.content ol {
		max-width: 100vw;
		margin: 20px;
	}
	.content h2 + p, .content h3 + p {
		margin-top: -10px;
	}
	.content h2 + h3 {
		margin-top: -10px;
	}
	.article-preview h2 {
		font-size: 1.25em;
	}
	.teambox {
		background: #FBFAE3 url("../../img/dots-yellow.png") no-repeat 56vw -48vh !important;
	}
	.testimonial-slider-wrapper {
		padding: 0 20px;
	}
	.testimonial-slide {
		flex-direction: column;
	}
	.testimonial-slide h3 {
		margin: 20px 0 0 0 !important;
		padding: 0;	
	}
	.testimonial-slide p.content {
		padding: 0px !important;
		margin: 10px 0 20px !important;
	}
}