* {
	font-family: 'Catamaran',Helvetica,Arial,sans-serif;
}

html {
	position: relative;
	min-height: 100%;
	scroll-behavior: smooth;
}

body {
	padding: 50px 0 0;
	overflow-x: hidden;
	background-color: #fafbfc;
}

h1,h2,h3,h4 {
	color: #3d454d;
	text-transform: uppercase;
	text-align: left;
}

h1 {
	font-size: 32px;
	font-weight: 900;
	text-align: center;
	text-transform: none;
	margin-top: 25px;
	margin-bottom: 0;
	font-weight: 700;
	letter-spacing: 0.68px;
	font-variant: small-caps;
}

h2 {
	font-size: 26px;
	font-weight: 700;
}

h2.h2-case-study {
	text-transform: capitalize;
	margin-top: 5px;
}

h3 {
	font-size: 24px;
	font-weight: 700;
	text-transform: capitalize;
}

h3.article-header::before {
  display: block;
  content: " ";
  margin-top: -80px;
  height: 80px;
  visibility: hidden;
  pointer-events: none;
}

h4 {
	font-size: 22px;
	font-weight: 700;
	text-transform: capitalize;

}

h5 {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 18px;
	letter-spacing: 0.11px;
	margin-bottom: 5px;
}

h5.h5-grey {
	color: #8e8787;
}

h5.case-study-item-label {
	text-align: center;
	padding-top: 10px;
}

p {
	line-height: 150%;
}

.vertical-align {
	display: flex;
	align-items: center;
}

.centred {
	text-align: center;
}

a.ackz {
	-webkit-transition: color 0.5s ease;
	-moz-transition: color 0.5s ease;
	-o-transition: color 0.5s ease;
	transition: color 0.5s ease;
	color: #b10900;
}

a.ackz:hover {
	-webkit-transition: color 0.5s ease;
	-moz-transition: color 0.5s ease;
	-o-transition: color 0.5s ease;
	transition: color 0.5s ease;
	color: #3c3c3c;
	text-decoration: none;
}

.print-header {
	display: none;
}

.navbar {
	margin-bottom: 0!important;
	border-bottom: 0!important;
}

.navbar-black {
	background-color: #FFF;
	box-shadow: 0 2px 20px 0 rgba(210,214,220,0.52),0 5px 8px 0 rgba(210,214,220,0.21);
}

#navbar-menu {
	margin-right: 0;
}

#navbar-menu span {
	background-color: #b10900;
}

ul.nav.navbar-nav {
	float: right;
	display: inline-block;
}

ul.nav.navbar-nav a {
	color: #96160f;
	font-weight: 500;
	letter-spacing: 0.3px;
	font-size: 14px;
	-webkit-transition: background-color 0.3s ease;
	-moz-transition: background-color 0.3s ease;
	-o-transition: background-color 0.3s ease;
	transition: background-color 0.3s ease;
}

.header-name {
	display: inline-block;
	float: left!important;
	height: 50px;
}

.header-name a {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	color: #96160f;
	font-weight: 600;
	font-size: 30px;
	line-height: 55px;
	font-variant: small-caps;
	letter-spacing: 0.54px;
}

.header-name a:focus,.header-name a:hover {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	color: #630a05;
	text-decoration: none;
}

.contact-icons {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	width: 45px;
	display: inline-block;
	padding: 5px;
}

.contact-icons:hover {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	opacity: 0.7;
	filter: alpha(opacity=70);
}

#wrapper {
	height: 100%;
	top: 0;
}

#sidebar-wrapper {
	background-color: #ebeced;
	padding-left: 0;
	padding-right: 0;
}

#main-wrapper {
	height: 100%;
}

#main-wrapper .row {
	position: relative;
	height: 100%;
}

.main {
	position: relative;
	height: 100%;
}

.second-row {
	margin-bottom: 60px;
}

.sidenav {
	background-color: #f1f1f1;
	height: 100%;
}

#header-img {
	padding-top: 25px;
	width: 100%;
}

#sidenav-copy {
	padding: 30px;
	font-size: 15px;
}

.about-button {
	text-align: center;
	margin-bottom: 10%;
}

.portfolio {
	margin-top: 15px;
	min-height: 100%;
	height: 420px;
}

.portfolio.sub {
	margin-bottom: 25px;
}

.portfolio-item {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	padding: 15px 15px 0;
	min-height: 100%;
	position: relative;
	background: #fff;
	box-shadow: 0 22px 35px 0 #d2d6dc,0 10px 10px 0 #d2d6dc,0 -1px 10px 0 #f5f6f7;
	border-radius: 16px;
}

.portfolio-item-link {
	color: #000;
	text-decoration: none;
}

.portfolio-item-link:active,.portfolio-item-link:focus,.portfolio-item-link:hover {
	color: #000;
	text-decoration: none;
	outline: 0;
}

.portfolio-item-link:active > .portfolio-item,.portfolio-item-link:focus > .portfolio-item,.portfolio-item-link:hover > .portfolio-item {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	box-shadow: 0 10px 35px 0 rgba(163,163,163,0.45);
	transform: translateY(-3px);
}

.portfolio-item-link:active .case-study-button,.portfolio-item-link:focus .case-study-button,.portfolio-item-link:hover .case-study-button {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	background-color: #7b0903;
}

.portfolio-image {
	width: 100%;
	display: block;
	margin-top: 20px;
	margin-bottom: 40px;
	box-shadow: 0 3px 6px 0 rgba(205,205,205,0.50);
}

.content {
	padding-bottom: 38px;
}

.logo {
	text-align: center;
	margin: auto;
}

.logo img {
	max-width: 100%;
	height: auto;
}

.logo.subpage {
	padding-top: 30px;
}

.logo.subpage img {
	width: 30%;
}

.results {
	padding-bottom: 10px;
}

.article-text {
	font-family: "Merriweather",Georgia,"Times New Roman",Times,serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 33px;
	margin-top: 8px;
}

.article-text .bold {
	font-family: "Merriweather",Georgia,"Times New Roman",Times,serif;
	font-weight: 700;
}

.article-text a {
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
	font-family: "Merriweather",Georgia,"Times New Roman",Times,serif;
	color: #b10900;
}

.article-text.problem-statement {
	text-align: center;
  font-style: italic;
}
.article-text.small {
	font-size: 14px;
	line-height: 24px;
}

.picture-text {
	font-style: italic;
	font-size: 16px;
	text-align: center;
	color: #8e8787;
}

.case-study-toc {
	margin: 0 auto;
	width: 50%;
	/* padding-top: 40px; */
	/* padding-bottom: 40px; */
}

hr.style-one {
	margin-top: 8%;
	border: 0;
	height: 1px;
	background-color: #8e8787;
}

hr.style-two {
	margin-top: 6%;
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,0.75),rgba(0,0,0,0));
}

.vertical-img {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}

.case-study-article {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	background: #fff;
	box-shadow: 0 12px 25px 0 #d2d6dc,0 1px 6px 0 #d2d6dc;
	border-radius: 16px;
	padding: 0;
	margin-bottom: 40px;
}

.case-study-article:active,.case-study-article:focus,.case-study-article:hover {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	transform: translateY(-6px);
}

.case-study-article:active .case-study-more,.case-study-article:focus .case-study-more,.case-study-article:hover .case-study-more {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	color: #7b0903;
}

.case-study-header h2 {
	text-align: center;
	color: #574e4e;
}

.case-study-image {
	width: 100%;
	display: block;
	margin-top: 15px;
	margin-bottom: 2%;
}

.case-study-image img {
	max-width: 100%;
}

.case-study-image.case-study-wide {
	width: 130%;
}

.gif {
	box-shadow: 0 9px 19px 0 rgba(0,0,0,0.25);
}

#ovp-original-modal {
	width: 60%;
	display: block;
	margin: auto;
}

.case-study-content {
	padding: 6px 30px;
}

.case-study-content .article-text {
	font-size: 15px;
	line-height: 26px;
}

.case-study-more {
	padding-bottom: 20px;
	font-size: 16px;
	font-weight: 600;
	color: #b10900;
	text-align: right;
	padding-right: 30px;
}

.fb {
	width: 70%;
	margin: auto;
}

.mhp-image {
	width: 75%;
	display: block;
	margin: 35px auto auto;
}

.mhp-wide {
	width: 100%;
}

.quote {
	font-style: italic;
	border-left: 3px solid #3c3c3c;
	padding-left: 4%;
	margin: 32px 0 68px;
	font-size: 19px;
}

.quote.no-line {
	border: 0;
}

.icon-green {
	padding-right: 4px;
	padding-left: 8px;
	color: #b10900;
}

.article-header {
	margin-top: 46px;
	color: #3c3c3c;
	margin-bottom: 14px;
}

.case-study {
	background-color: #b10900;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	border-radius: 0 0 10px 10px;
}

.case-study-button {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	width: 100%;
	display: inline-block;
	border-radius: 0 0 10px 10px;
	text-decoration: none;
	text-align: center;
	color: #FFF;
	margin-bottom: 0;
	touch-action: manipulation;
	cursor: pointer;
	letter-spacing: 0.6px;
	padding: 15px 0;
}

.about-button .case-study-button {
	padding-top: 12px;
	padding-bottom: 12px;
	border-radius: 20px;
	box-shadow: 0 4px 23px 0 rgba(29,19,19,0.35);
}

.case-study-button i {
	font-size: 14px;
	padding-left: 3%;
}

.case-study-button:focus,.case-study-button:hover {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	background-color: #7b0903;
	color: #FFF;
}

.pdf-button {
	text-align: center;
	margin: 4% auto auto;
}

.about-button a,.about-button a:focus,.pdf-button a,.pdf-button a:focus {
	-webkit-transition: all 0.5s ease,opacity 1s ease;
	-moz-transition: all 0.5s ease,opacity 1s ease;
	-o-transition: all 0.5s ease,opacity 1s ease;
	transition: all 0.5s ease,opacity 1s ease;
	color: #fff;
	background-color: #b10900;
	width: 80%;
	text-decoration: none;
}

.about-button a:active,.about-button a:hover,.pdf-button a:active,.pdf-button a:hover {
	-webkit-transition: all 0.5s ease,opacity 1s ease;
	-moz-transition: all 0.5s ease,opacity 1s ease;
	-o-transition: all 0.5s ease,opacity 1s ease;
	transition: all 0.5s ease,opacity 1s ease;
	background-color: #7b0903;
	text-decoration: none;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	transform: translateY(-3px);
}

.related {
	margin-left: -30px;
	margin-right: -30px;
	padding-bottom: 60px;
}

.related .portfolio.sub {
	height: 276px;
}

.home {
	width: 80px;
	margin-top: 32px;
	margin-left: 42px;
	display: inline-block;
}

.home a {
	-webkit-transition: all 0.5s ease,opacity 1s ease;
	-moz-transition: all 0.5s ease,opacity 1s ease;
	-o-transition: all 0.5s ease,opacity 1s ease;
	transition: all 0.5s ease,opacity 1s ease;
	padding: 8px 18px;
	border: 1px solid #b10900;
	border-radius: 2px;
	color: #b10900;
	font-size: 12px;
	font-weight: 400;
	width: 100%;
}

.home.active,.home:active {
	box-shadow: none;
}

.home.active.focus,.home.active:focus,.home.focus,.home:active.focus,.home:active:focus,.home:focus {
	outline: 0;
}

.home a:hover {
	-webkit-transition: all 0.5s ease,opacity 1s ease;
	-moz-transition: all 0.5s ease,opacity 1s ease;
	-o-transition: all 0.5s ease,opacity 1s ease;
	transition: all 0.5s ease,opacity 1s ease;
	background-color: #b10900;
	color: #FFF;
	border-color: #b10900;
	text-decoration: none;
}

.footer {
	background-color: #171c21;
	width: 100%;
	height: 40px;
	bottom: 0;
	position: absolute;
	left: 0;
	overflow: hidden;
}

.footer p {
	font-size: 13px;
	color: #fff;
	text-align: center;
	padding-top: 12px;
	letter-spacing: 0.3px;
}

@media screen and (min-width :768px) and (max-width :1024px) {
	.logo.subpage {
		width: 100%;
	}
	.case-study-toc {
		width: 60%;
	}
}

@media screen and (min-width :768px) and (max-width :991px) {
	.related .portfolio.sub {
		padding-left: 5px;
		padding-right: 5px;
	}

	.portfolio {
		width: 400px;
	}

	#sidebar-wrapper {
		height: 1964px;
	}

	.home {
		margin-left: 20px;
	}
}

@media screen and (max-width :767px) {
	#sidebar-wrapper {
		height: 100%;
	}

	#myNavbar {
		margin-top: 50px;
	}

	ul.nav.navbar-nav {
		width: 100vw;
		float: none;
	}

	ul.nav.navbar-nav li a {
		text-align: center;
		padding: 14px 0;
		font-size: 15px;
	}

	.logo.subpage img {
		width: 90%;
	}

	.article-header {
		font-size: 24px;
		margin-top: 40px;
		margin-bottom: 8px;
	}

	.article-text {
		font-size: 19px;
		line-height: 30px;
	}

	.portfolio.sub {
		padding-right: 0;
	}

	#secondary {
		display: none;
	}

	.related {
		margin-left: 0;
		margin-right: 0;
	}

	.vertical-img {
		width: 80%;
	}

	#mhp_wireframes {
		width: 100%;
		margin-left: 0;
	}

	.footer p {
		font-size: 13px;
		padding: 8px 0;
	}

	.case-study-button {
		font-weight: 400;
	}

	.home {
		display: none;
	}

	.logo.subpage {
		padding-top: 45px;
	}

	h5.case-study-item-label {
		padding-top: 20px;
	}
}

@media screen and (min-width :425px) and (max-width :767px) {
	#wrapper {
		padding-left: 10%;
		padding-right: 10%;
	}

	#header-img {
		padding-top: 0;
	}

	.related .portfolio.sub {
		width: 380px;
		margin-left: auto;
		margin-right: auto;
	}
	.case-study-toc {
		width: 70%;
	}
}

@media screen and (max-width :426px) {
	.header-name a {
		font-size: 25px;
	}

	#header-img {
		padding-top: 0;
	}

	#wrapper {
		padding: 0;
	}

	.article-header {
		font-size: 22px;
	}

	.article-text {
		font-size: 16px;
	}

	h2.h2-case-study {
		font-size: 24px;
		text-align: center;
		line-height: 1.4;
	}
	.case-study-toc {
		width: 90%;
	}
}

@media print {
@	page {
		margin: 0.5in;
	}

	.print-header {
		display: block;
	}

	.print-header h1 {
		font-size: 24px;
	}

	hr {
		border-top: 1px solid #000;
		margin-top: 10px;
	}

	.footer,.home,.nav.navbar-nav,.row.related,hr.style-two {
		display: none;
	}

	.full {
		border: 0;
		box-shadow: none;
	}

	.logo.subpage {
		padding-top: 0;
		padding-bottom: 0;
	}

	.logo {
		text-align: center;
		margin: auto;
	}

	.logo.subpage img {
		width: 25%;
	}

	.col-md-offset-2 {
		margin-left: 16.66666667%;
	}

	.col-md-8 {
		width: 66.66666667%;
	}

	.portfolio-image {
		width: 60%;
		margin: auto;
	}

	.article-text.picture-text {
		margin-bottom: 5%;
	}

	.col-sm-10.col-sm-offset-1.col-md-8.col-md-offset-2 {
		width: 100%;
		margin-left: 0;
	}

	h2.article-header.centred {
		page-break-before: always;
	}
}
