@font-face {
    font-family: 'BebasNeueRegular';
    src: url('fonts/BebasNeue-webfont.eot');
    src: url('fonts/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/BebasNeue-webfont.woff') format('woff'),
         url('fonts/BebasNeue-webfont.ttf') format('truetype'),
         url('fonts/BebasNeue-webfont.svg#BebasNeueRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* CSS reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
	margin:0;
	padding:0;
	font-family: 'Droid Sans', sans-serif;
}
html,body {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img {
	border:0;
}
input{
	border:1px solid #b0b0b0;
	padding:3px 5px 4px;
	color:#979797;
	width:190px;
}
address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:disc;
	padding-left:15px;
}
li{
	font-size: 1em;
	line-height:27px;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
/* General Demo Style */
body{
	font-family: 'Droid Sans', sans-serif;
	background: #fff;
	font-weight: 400;
	font-size: 15px;
	color: #4c4c4c;
	overflow-x: hidden;
}

    #owl-demo .item img{
        display: block;
        width: 100%;
        height: auto;
    }
.ie7 body{
	overflow:hidden;
}
a{
	color: #333;
	text-decoration: none;
}
.read-more-content{
    display:none;
    clear: left;
}
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	margin-bottom:30px;
}
.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.container{
	position: relative;
	width:100%;
	margin:0 auto;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	z-index:1;
}
.containerMarginTop{
	width:100%;
	height:100vh;
	position: relative;
}


/**
* VH fix for iPad with portrait orientation.
*/
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){
.containerMarginTop {
height: 1024px;
}
}

/**
* iPad with landscape orientation.
*/
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape){
.containerMarginTop {
height: 768px;
}
}

/**
* iPhone 5
* You can also target devices with aspect ratio.
*/
@media screen and (device-aspect-ratio: 40/71) {
.containerMarginTop{
height: 500px;
}
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
.containerMarginTop {
height: 768px;
}
}


.arrowDown{
	position:absolute;
	bottom:30px;
	left: 50%;
    width: 50px;
    margin-left: -25px;
	z-index:99;
}
.arrowDown:hover{
	cursor:pointer;
}
.innerContainer, .innerContainer2 {
	padding: 50px 40px;
	background:#fff;
	overflow:hidden;
	clear: left;
}
.innerContainer-Practice {
	padding: 20px 10%;
	background:#fff;
	overflow:hidden;
	max-width:1200px;
	margin:0 auto;
}
.innerContainer-Project{
	max-width:1200px;
	margin:0 auto;
}
.innerContainer-People{
  max-width: 900px;
  margin: 0 auto;
}
.clr{
	clear: both;
}
header, section{
	margin: 10px 0.5% 20px 0.5%;
	position: relative;
	display: block;
    text-align: left;
}
h1{
	font-size: 35px;
	line-height:45px;
	position: relative;
	font-weight: 400;
	color: #000;
}
h2{
	font-size: 25px;
	line-height:34px;
	color: #4c4c4c;
}
h3{
	font-size: 18px;
	line-height:30px;
	color: #4c4c4c;
}
p{
	font-size: 1em;
	line-height:30px;
	color: #4c4c4c;
	margin: 15px 0 22px;
}
.centre-text{
	text-align:center;
}
#footer {
    clear: both;
    position: relative;
    z-index: 10;
	background: #3a3c3e;
	width:100%;
  overflow: hidden;
}
#footer_contact_cols { display: grid; grid-template-columns: 1fr 1fr 1fr; }

/* Header Style */
.page-top{
	font-family: Arial, sans-serif;
	line-height: 24px;
	font-size: 11px;
	width: 100%;
	background: #fff;
	z-index: 9999;
	position: fixed;
	-moz-box-shadow: 1px 0px 2px #000;
	-webkit-box-shadow: 1px 0px 2px #000;
	box-shadow: 1px 0px 2px #000;
	top:0;
	height: 70px;
}
.page-top a{
	padding: 0px 10px;
	letter-spacing: 1px;
	color: #000;
	display: block;
	float: left;
}
.page-top a:hover{
	color: #000;
}
.page-top span.right{
	float: right;
}
.page-top span.right a{
	float: none;
	display: inline;
}
.group-container {
    margin: 0 auto 30px;
    width: 1170px;
}
.group-container a {
	/*float: left;
	clear: none;
	width: 49.5%;*/
}
.group-container a.left-box {
	margin-right: 1%;
}
.group-container img {  margin: 20px 0; width: 100%; }
#group-header-mobile { display: none; }
.refine-by-title { line-height:75px;clear:left; }
.view-examples-title { line-height:25px; margin: 20px 0; }
.map-title { font-size: 40px; line-height:25px; margin: 20px 0; color: #696868; }
.our_approach { margin: 20px 0; backgrond-color: #5d6e7e; }
.group-grid-item { float: left; clear: none; width: 33.333333333333333%; margin: 0 0 -4px 0; padding: 0; }
.group-grid-item img { margin: 0; width: 100% }
.square-section {
    /*border: 5px solid #f2f2f2;*/
    margin: 0;
    padding: 0;
    position: relative;
}
.square-section-label, .square-section-label-orange {
    position: absolute;
    top: 10%;
    left: 0;
    background: #80a1b6b3;
    padding: 8px 15px;
    color: #ffffff;
    font-size: 26px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 10;
}
.square-section:hover > .square-section-label{
	padding:8px 27px 8px 22px;
	background: #2d5268e6;
}
.link-button {
	background-color: #80a1b6b3;
	width: 400px;
	margin: 0 auto 20px;
	color: #fff;
	padding: 5px 20px;
	font-weight: bold;
}
.extratopmargin { margin-top: 40px; }
.h2bold { font-weight: bold; margin: 50px 0 0; }
.h3bold { font-weight: bold; margin: 0; }
.slimbottommargin { margin: 20px 0 0; }
.subpageh1 {
	margin: 30px 0 0;
	border-bottom: #c0c0c0 solid 2px;
	color: #664c4c;
	font-size: 21px;
	padding: 7px 0px 6px 1px;
	line-height: 13px;
	position: absolute;
	top: 60px;
	left: 30px;
	width: 170px;
	text-transform: uppercase;
}
.quote {
	font-style: italic;
	padding: 25px 0 7px;
	margin: 0 auto;
	font-size: 26px;
	line-height: 32px;
	color: #98b2c3;
}
.quote_mobile {
  display: none;
	font-style: italic;
	padding: 25px 0 40px;
  text-align: center;
	margin: 0 auto;
	font-size: 26px;
	line-height: 25px;
	color: #98b2c3;
}
.quote2 {
  font-style: italic;
  padding: 25px 0 7px;
  margin: 0 auto;
  font-size: 1em;
  color: #fff;
}
.sub-menu { margin: 90px auto 0; width: 550px; }
.sub-menu2 { margin: 0 auto 30px; width: 700px; }
.sub-menu3 { margin: 30px auto; font-size: 18px; }
.sub-menu li , .sub-menu2 li, .sub-menu3 li { display: inline; list-style: none; padding: 20px; }
.sub-menu li a, .sub-menu2 li a { color: #98b2c3; }
.sub-menu3 ul { padding-left: 0; }
.central-header { margin: 110px auto 0; text-align: center; }
.default-cursor { cursor: default; }
.headshots-row {
    /* clear: left;
    float: left;
    width: 100%; */
}
.headshots-row-spacer {
    float: left;
    width: 25.25%;
}
.headshots-row-spacer-narrow {
    float: left;
    width: 12.12%;
}
.group-main-text { text-align: center; width: 82%; margin: 0 auto; }
.group-main-text2 { text-align: center; width: 42%; margin: 0 auto; }
.group-main-text2 h1 { font-size: 26px; line-height: 34px; }
.group-main-text ul { list-style: none; }
.group-main-text h2 { margin-top: 40px; }
.group-main-text-narrow { width: 80%; margin: 0 auto; }
.highlight { font-weight: bold; /*background-color: #e3f4ff;*/ padding: 5px 0px 0; margin: 0 5px; /*font-weight: 600; color: #1f4966;*/}

/* Media Queries */
@media screen and (max-width: 1170px) {
	.group-container {
		margin: 0 auto 30px;
		width: 100%;
	}
}
@media screen and (max-width: 767px) {
	.container > header{
		text-align: center;
	}
  .group-main-text, .group-main-text2, .group-main-text-narrow { width: 100%; }
}

.main-logo {
	clear: none;
	display: block;
	float: left;
	margin-top:6px;
}
.main-logo img {
    margin-top: 3px; margin-left: 20px; width: 240px;
}
.bhb_logo { width: 90px !important; }
.main-navigation {
	clear: none;
	display: block;
	float: right;
	padding-bottom:13px;
	text-transform: uppercase;
	margin-right: 20px;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
	padding: 0px 10px;
}

.main-navigation li a{
	padding-top:21px;
	border-top: 3px solid #fff;
	padding-bottom: 21px;
}

.main-navigation li a:hover{
	padding-top:21px;
	border-top: 3px solid #000;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.6);
	float: left;
	position: absolute;
	top: 70px;
	left: -999em;
	z-index: 99999;
	background-color: #373839;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
	color: #fff;
	font-weight: 200;
}

.main-navigation ul ul li a{
	border-top: none;
	padding: 10px 0 20px 10px;
}
.main-navigation ul ul li a:hover{
	padding-top:10px;
}
.main-navigation ul ul li {
	height:40px;
}

.main-navigation ul ul li:hover {
	background-color: #555;
}

.main-navigation li:hover > a {
	color: #777777;
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}
.main-navigation ul ul li:hover > a {
	color: #fff;
	padding-bottom: 10px;
	border-top: none;
}

/* Mobile menu */
@media screen and (min-width: 769px) {
#toggle {
	display: none;
}
}

@media screen and (max-width: 768px) {
#popout {
	position: fixed;
	height: 100%;
	width: 250px;
	background: rgb(25, 25, 25);
	background: rgba(25, 25, 25, 1);
	color: white;
	top: 0px;
	left: -250px;
	overflow: hidden;
	z-index: 999;
}
#toggle {
	position:absolute;
	top: 24px;
	right: 11px;
	width: 28px;
	height: 24px;
}
.main-navigation li {
    padding: 7px;
    width: 100%;
}
.main-navigation li a {
	color: #FFF;
	text-decoration: none;
	width: 100%;
	border-top: none;
}
.main-navigation li a:hover{
	padding-top: 10px;
	border-top: none;
}
.main-navigation li:hover > a {
	border-top: none;
}
.main-navigation ul ul li:hover {
	background-color: unset;
}
.main-navigation li:hover > a {
	color: unset;
}
.main-navigation li {
  position: unset;
  float: unset;
  width: unset;
  height: unset;
}
.main-navigation ul ul {
  box-shadow: none;
  float: unset;
  position: unset;
  padding-left: 20px;
  background-color: unset;
}
.main-navigation ul ul li {
  width: unset;
  height: unset;
  margin-bottom: 2px;
}
.main-navigation ul ul li a {
  background-color: #474545;
  height: 12px;
	padding: 5px 0 20px 10px;
}
.main-navigation ul ul li a:hover{
	padding: 5px 0 20px 10px;
}

.main-navigation li a { padding: 10px 0 10px 10px; }

}

.portItemText{
	z-index:1001;
	bottom:0;
	left:0;
	padding:5px 50px;
	color:#fff;
	background:#5b5b5b;
	max-width:300px;
	position: fixed;
}
.boxItemText{
	z-index:1001;
	text-align:center;
	padding:5px 50px;
	color:#ffffff;
	background:#000000;
}

.gridWrapper{
	overflow:hidden;
  clear: left;
}
.box-container{
	background:#cccccc;
	width: 49%;
	margin: 3% 0.5%;
	overflow:hidden;
	padding:1px 1px 1px 1px;
	float:left;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box;    /* Firefox, other Gecko */
box-sizing: border-box;         /* Opera/IE 8+ */
position:relative;
}
.box {
   float: left;
   position: relative;
   width: 24%;
   padding-bottom: 24%;
   margin: 2% 0.5%;
}
.box-half-width {
	width: 49%;
	padding-bottom: 49%;
	margin: 0.5%;
	min-width:150px;
}
.box-third-width {
	width: 32.333333%;
	padding-bottom: 32.3333333%;
	margin: 0.5%;
	min-width:150px;
}
.box-sixth-width {
	width: 15.666667%;
	padding-bottom: 15.6666667%;
	margin: 0.5%;
}
.box-fifth-width {
	width: 19%;
	padding-bottom: 19%;
	margin: 0.5% 1% 0.5% 0;
}
.third-width{
	width: 32.3333333%;
	margin: 0.5%;
}
.third-width2{
	float: left;
	clear: none;
	width: 32.3333333%;
	margin: 0.5%;
}
.third-width2 img {
	width: 100%;
}
.three-cols-uneven1 {
	float: left;
	clear: none;
	width: 39%;
	margin: 0.5%;
}
.three-cols-uneven2 {
	float: left;
	clear: none;
	width: 19%;
	margin: 0.5%;
}
.three-cols-uneven3 {
	float: left;
	clear: none;
	width: 37.5%;
	margin: 0.5%;
}
.three-cols-uneven4 {
	float: left;
	clear: none;
	width: 21.1%;
	margin: 0.5%;
}
.three-cols-uneven5 {
	float: left;
	clear: none;
	width: 22.5%;
	margin: 0.5%;
}
.three-cols-uneven6 {
	float: left;
	clear: none;
	width: 50.6%;
	margin: 0.5%;
}
.three-cols-uneven7 {
	float: left;
	clear: none;
	width: 24%;
	margin: 0.5%;
}
.three-cols-uneven8 {
	float: left;
	clear: none;
	width: 48%;
	margin: 0.5%;
}
.three-cols-uneven1 img, .three-cols-uneven2 img, .three-cols-uneven3 img, .three-cols-uneven4 img, .three-cols-uneven5 img, .three-cols-uneven6 img, .three-cols-uneven7 img, .three-cols-uneven8 img {
	width: 100%;
	height:
}
.boxInner img {
   width: 100%;
}
.boxInner {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   top:0;
   color: #FFF;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
.link-spanner{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left: 0;
  z-index: 12;

  /* edit: fixes overlap error in IE7/8,
     make sure you have an empty gif
  background-image: url('empty.gif');*/
}
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 71px 0 0 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}
.awards_slider_container {
  margin: 10px 0 70px;
}
.clients_slider_container {
  display: grid;
  grid-template-columns: 140px 5fr;
  margin: 10px 0 10px;
}
.clients_slider_title { border-right: 2px solid #333; padding: 40px 30px; }
#awards_slider, #clients_slider { text-align: center;  }
#awards_slider div img, #clients_slider div img {
  margin: 0 auto;
}
#clients_slider { padding: 20px 30px; }
.slick-slide { padding: 0 10px; }

  .rslides_container {
  margin-bottom: 50px;
  position: relative;
  float: left;
  width: 100%;
  }

.rslides1_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  z-index: 99;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.rslides1_nav:active {
  opacity: 1.0;
  }

.rslides1_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }

.rslides2_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 0;
  left: 0;
  display: block;
  background: #fff;
  opacity: 0;
  filter: alpha(opacity=1);
  width: 48%;
  text-indent: -9999px;
  overflow: hidden;
  height: 91%;
  }

.rslides2_nav.next {
  left: auto;
  right: 0;
  }

.rslides3_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  opacity: 0.6;
  text-indent: -9999px;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  background: #000 url("themes.gif") no-repeat left 50%;
  width: 38px;
  }

.rslides3_nav:active {
  opacity: 1.0;
  }

.rslides3_nav.next {
  left: auto;
  background-position: right 50%;
  right: 0;
  }

.rslides1_nav:focus,
.rslides2_nav:focus,
.rslides3_nav:focus {
  outline: none;
  }

.rslides_tabs {
  margin-top: 10px;
  text-align: center;
  }

.rslides_tabs li {
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin-right: 5px;
  }

.rslides_tabs a {
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  _display: block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
  }

.rslides_tabs .rslides_here a {
  background: #222;
  background: rgba(0,0,0, .8);
  }

.caption {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  text-align: center;
  background: #000;
  background: rgba(0,0,0, .8);
  color: #fff;
}

.slideItemText{
	z-index:1001;
	bottom:0;
	left:0;
	padding:5px 50px;
	color:#fff;
	background:#5b5b5b;
	position: absolute;
	display: block;
}
body.no-touch .boxInner:hover .titleBox, body.touch .boxInner.touchFocus .titleBox {
   margin-bottom: 0;
}

/* Basic Grey */
.basic-grey {
    margin-left:auto;
    margin-right:auto;
    width: 96%;
    background: #FFFFFF;
    color: #888;
}
.basic-grey h1 {
    font-size: 25px;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom:1px solid #E4E4E4;
    margin: -10px -15px 30px -10px;;
    color: #888;
}
.basic-grey h1>span {
    display: block;
    font-size: 11px;
}
.basic-grey label {
    display: block;
    margin: 0px;
}
.basic-grey label>span {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #4C4C4C;
}
.basic-grey input[type="text"], .basic-grey input[type="email"], .basic-grey textarea, .basic-grey select {
    border: 1px solid #DADADA;
    color: #4C4C4C;
    height: 30px;
    margin-bottom: 16px;
    margin-right: 6px;
    margin-top: 2px;
    outline: 0 none;
    padding: 3px 3px 3px 5px;
    width: 70%;
    font-size: 12px;
    line-height:15px;
    box-shadow: inset 0px 1px 4px #ECECEC;
    -moz-box-shadow: inset 0px 1px 4px #ECECEC;
    -webkit-box-shadow: inset 0px 1px 4px #ECECEC;
}
.basic-grey textarea{
    padding: 5px 3px 3px 5px;
}
.basic-grey select {
    background: #FFF url('down-arrow.png') no-repeat right;
    background: #FFF url('down-arrow.png') no-repeat right);
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width: 70%;
    height: 35px;
    line-height: 25px;
}
.basic-grey textarea{
    height:100px;
}
.basic-grey .button {
    background: #E27575;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    box-shadow: 1px 1px 5px #B6B6B6;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #9E3F3F;
    cursor: pointer;
}
.basic-grey .button:hover {
    background: #CF7A7A
}
.google-maps {
    position: relative;
    padding-bottom: 35%;
    height: 0;
    overflow: hidden;
    margin:20px 0;
    width:100%;
}
.google-maps-square {
  margin: 10px 0 0;
  height: 360px;
}
.google-maps-square img {
  width: 100%;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
.twitter-feed-container {
    overflow: hidden;
    width: 100%;
    /* temporary: this height only works for tall tile */
}
@media only screen and (max-width : 480px) {
   /* Smartphone view: 1 tile */
   .box-container{
	   width: 100%;
   }
   .box {
      width: 49%;
      padding-bottom: 49%;
      margin: 3% 0.5%;
   }
   .third-width, .three-cols-uneven1, .three-cols-uneven2, .three-cols-uneven1, .three-cols-uneven2, .three-cols-uneven3, .three-cols-uneven4, .three-cols-uneven5, .three-cols-uneven6, .three-cols-uneven7, .three-cols-uneven8 {
		width: 100%;
		margin:0.5% 0 0.5% 0;
	}
   #title1 h1{
	font-size: 35px;
}
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
   /* Tablet view: 2 tiles */
   .box {
      width: 49%;
      padding-bottom: 49%;
	  margin:  3% 0.5%;
   }
   .box-half-width, .box-third-width {
	width: 100%;
	padding-bottom: 100%;
	margin: 0.5%;
}
	.third-width{
		width: 100%;
		margin:0.5% 0 0.5% 0;
	}
     #title1 h1{
	font-size: 55px;
}
}
@media only screen and (max-width : 1050px) and (min-width : 651px) {
   /* Small desktop / ipad view: 3 tiles */
   .box {
      width: 32%;
      padding-bottom: 32%;
	  margin: 3% 0.66%;
   }
.box-half-width {
	width: 49%;
	padding-bottom: 49%;
	margin: 0.5%;
	min-width:150px;
}
.box-third-width {
	width: 32.333333%;
	padding-bottom: 32.3333333%;
	margin: 0.5%;
	min-width:150px;
}
.box-sixth-width {
	width: 32.333333%;
	padding-bottom: 32.3333333%;
	margin: 0.5%;
}
.box-fifth-width {
	width: 19%;
	padding-bottom: 19%;
	margin: 0.5%;
}
       #title1 h1{
	font-size: 75px;
}
}
@media only screen and (max-width : 1290px) and (min-width : 1051px) {
   /* Medium desktop: 4 tiles */
   .box {
      width: 24%;
      padding-bottom: 24%;
	  margin: 3% 0.5%;
   }
	.box-half-width {
		width: 49%;
		padding-bottom: 49%;
		margin: 0.5%;
		min-width:150px;
	}
	.box-third-width {
		width: 32.333333%;
		padding-bottom: 32.3333333%;
		margin: 0.5%;
		min-width:150px;
	}
	.box-sixth-width {
		width: 15.666667%;
		padding-bottom: 15.6666667%;
		margin: 0.5%;
	}
	.box-fifth-width {
		width: 19%;
		padding-bottom: 19%;
		margin: 0.5%;
	}
			  #title1 h1{
		font-size: 85px;
	}
}

.overlay {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: rgb(97 97 97 / 85%);
    background: url(data:;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAABl0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuNUmK/OAAAAATSURBVBhXY2RgYNgHxGAAYuwDAA78AjwwRoQYAAAAAElFTkSuQmCC) repeat scroll transparent\9; /* ie fallback png background image */
    z-index:10;
    color:white;
	opacity:0;
	 -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}

.overlayOn{
	 opacity:0.55;
}

.box:hover {
    cursor:pointer;
}

.box:hover .overlay {
    opacity:0.75;
}

.boxSubtitle{
	z-index:9;
	bottom:0;
	left:0;
	padding:5px 10px;
	color:#fff;
	background:#5b5b5b;
	position: absolute;
}

.titleBox {
	position: absolute;
    top:38%;
    left:0;
    right:0;
	opacity:0;
	 -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
   z-index:11;
   font-size:18px;
}
.titleBox h3 {
  font-size: 28px;
  font-weight: 500;
  color: white;
}
.titleBoxOn{
	top:45%;
	opacity:0.9;
}
.box:hover .titleBox {
    opacity:1;
}

.spacer{
	width:100%;
	height:34px;
}
.spacer2{
	width:100%;
	height:20px;
}
.spacer3{
	width:100%;
	height:15px;
}

.half-width{
	margin-bottom: 7px;
	width:48%;
	clear:none;
	float:left;
}
.half-width2{
	margin-bottom: 7px;
	width:50%;
	clear:none;
	float:left;
}
.two-thirds-width{
	margin-bottom: 7px;
	width:67.5%;
	clear:none;
	float:left;
}
.two-thirds {
	margin-bottom: 7px;
  width: 66%;
  clear: none;
  float: left;
}
.one-third-width{
	margin:0 10px 0 0;
	width:30%;
	clear:none;
	float:left;
}
.one-third {
	margin: 0;
	width:33%;
	clear:none;
	float:left;
}
.one-third-accurate {
	margin-bottom: 7px;
	width:32.66%;
	clear:none;
	float:left;
}
.forty-percent {
	margin-bottom: 7px;
	width:39%;
	clear:none;
	float:left;
}
.twenty-percent {
	margin-bottom: 7px;
	width:20%;
	clear:none;
	float:left;
}
.twenty-five-percent {
	margin-bottom: 7px;
	width:25%;
	clear:none;
	float:left;
}
.half {
	margin-bottom: 7px;
  width: 49.5%;
  clear: none;
  float: left;
}
.rtpi-logo {
    clear: both;
    margin: 20px 0;
}
.services-sub-header { font-weight: 600; margin-top: 35px; clear: both; }
.three-quarter-width{
	margin-bottom: 7px;
	width:70%;
	clear:none;
}
.marginright1 { margin-right: 1%; }
.marginright2 { margin-right: 2%; }
.marginright4 { margin-right: 4%; }
.full-width{
	margin-bottom: 7px;
	width:100%;
}
.main-image-tall{
	margin:20px auto;
	width:50%;
}
.centered {
	margin:20px auto;
	text-align: center;
}
.half-width img, .three-quarter-width img, .full-width img, .main-image-tall img, .two-thirds-width img, .one-third-width img, 
.one-third-accurate img, .half img, .two-thirds img, .one-third img, .forty-percent img, .twenty-percent img, .twenty-five-percent img{
	width:100%;
}
.clientele_flex {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-gap: 10px;
  font-weight: bold;
  text-align: center;
  margin: 20px -60px;
  line-height: 40px;
}
.list_spacing_1 li {
  height: 74px;
}
.list_spacing_2 li {
  height: 32px;
}
.list_spacing_3 li {
  height: 32px;
}
.list_spacing_1_alt { height: 35px !important; }
.read_more_button {
  clear: left;
  margin: 20px auto;
  float: left;
  text-align: center;
  width: 100%;
}
.stage { margin: 0 0 35px 0;}
.stage h4 { font-weight: bold; }

.centrally-aligned, .centrally-aligned2 { text-align: center; }
.about-us-box-blue { float: left; background-color: #98aec3; text-align: right; margin: 0 0 30px;  height: 280px; overflow: hidden; }
.about-us-box-white { float: left; text-align: left; margin: 0 0 30px; overflow: hidden; }
.about-us-box-blue h2 { color: #fff; }
.about-us-box-blue p { color: #fff; line-height: 24px; font-size: 1em; }
.about-us-box-white p, .our-services-box p  { line-height: 24px; font-size: 1em; }
.about-us-image, .about-us-image2 { float: left; clear: none; width: 64%; overflow: hidden; margin-bottom: 10px; }
.our-services-image, .our-services-image3 { float: left; clear: none; width: 56%; overflow: hidden; margin-bottom: 10px; }
.our-services-image-tall { float: left; clear: none; width: 35%;  overflow: hidden; margin-bottom: 10px; }
.our-services-image-tall2, .our-services-image2 { display: none; }
.about-us-image img, .about-us-image2 img, .our-services-image3 img, .our-services-image-three-across img, .our-services-image-two-across img, .our-services-image-tall img, .our-services-image-tall2 img, .our-services-image img, .our-services-image2 img  { width: 100%; }
.about-us-text, .about-us-text2, .about-us-text2-mobile { float: left; clear: none; padding: 3% 3% 0 3%; width: 30%; }
.about-us-text2-mobile { display: none; }
.our-services-image-three-across { float: left; clear: none; width: 32.66%; overflow: hidden; margin-bottom: 30px; }
.our-services-image-two-across { float: left; clear: none; width: 49.5%; overflow: hidden; margin-bottom: 30px; }
.our-services-box { float: left; text-align: left; margin: 0; overflow: hidden; }
.our-services-text { float: left; clear: none; padding: 4.5% 3% 0 0; width: 41%; }
.our-services-text2 { float: left; clear: none; padding: 5% 0 0 3%; width: 41%; }
.our-services-text3 { float: left; clear: none; padding: 3.1% 0 0 3%; width: 62%; }
.our-services-text4 { float: left; clear: none; padding: 1% 0 0 3%; width: 41%; }
.clear { clear: left; }
.rightmargin1percent { margin-right: 1%; }
.directors1 { float:left; margin-left:0; margin-top: 0; padding-right:1.5%; }
.directors2 { float:left; margin-top: 0; padding-right:1.5%; }
.directors3 { float:left; clear: left; margin-left:0; padding-right:1.5%; }
.directors4 { float:left; padding-right:1.5%; }
.light-blue { color: #98aec3; }
.narrow-para { line-height: 22px; }
.right-text { float: right; text-align: right; }
.footer-group-col { padding: 30px 40px; float:left; width:27%; font-size:11px; }
.footer-group-col p { line-height: 16px; }
.footer-group-middle-col { text-align: center; width:45%; }
.footer-group-last-col { text-align: right; }
.footer-group-col span { display: none; }
.spacious-title { margin: 40px 0; float: left; clear: left; width: 100%; }
.spacious-title2 { margin: 40px 0 20px; float: left; clear: left; width: 100%; }
.spacious-title3 { margin: 40px 0 20px; float: left; clear: left; width: 100%; font-size: 50px; }
.profile-image { margin: 0 30px 30px 7px; }
.profile-image img { width: 100%; }
.our-people { margin-top: 120px; }
.our-people-opener { width: 70%; margin: 30px auto 20px; line-height: 24px; }
.about_and_job_detail_page { display: grid; grid-template-columns: 335px 1fr; }
.job_title, .job_title_details_page, .job_location {
  position: absolute;
  top: 20px;
  width: 100%;
  color: white;
  font-size: 30px;
  line-height: 32px;
  text-align: center;
}
.job_text { color: #90abbd; }
.job_text a { color: #90abbd; }
.job_title span {
  font-size: 20px;
  color: #4c4c4c;
}
.job_location {
  top: 240px;
  font-size: 24px;
  line-height: 28px;
}
.headshots-row {
  float: left;
  clear: left;
  width: 100%;
}
.headshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  width: 1300px;
  margin: 0 auto;
}
.headshot-grid {
  position: relative;
}
.headshot, .headshot_last {
  position: relative;
  width: 50%;
  float: left;
  clear: none;
  width:24.25%;
  margin: 20px 1% 0 0;
}
.headshot_narrow {
  margin: 0 1% 0 0;
}
.headshot_last { margin: 20px 0 0 0; }
.headshot img, .headshot_last img { width: 100%; }
.headshot-image {
  display: block;
  width: 100%;
  /*height: 290px;*/
}
.careers_split { display: grid; grid-template-columns: 2fr 3fr; margin: 60px 0 0; }
/* .careers_jobs { margin: 0 auto; } */
.careers_form { background-color: #f4f3f3; padding: 0 20px 20px; }
.careers_job {
  position: relative;
  width: 315px;
  margin-bottom: 20px;
}
.job_upload_input { margin: 20px 0 0; float: left; clear: left; }
.job_upload_submit { float: left; clear: left; }
.job_upload_input input {
  padding: 12px;
  width: 270px;
  color: black;
  font-size: 16px;
  border: 1px solid #3333;
  border-radius: 5px;
  margin: 5px 0 0;
}
#submit_application {
  background-color: #98aec3;
  border: 0;
  padding: 10px;
  border-radius: 0;
  cursor: pointer;
  color: black;
  font-size: 16px;
  margin: 0 0 20px 0;
  width: 270px;
}
.select_file {
  padding: 10px;
  clear: left;
  margin: 20px 0 15px;
  float: left;
  background-color: #404040;
  color: white;
  cursor: pointer;
  width: 250px;
  text-align: center;
}
#file_name_selected {
  float: left;
  clear: left;
  margin: 10px 0 20px;
  display: none;
}
#upload_error {
  float: left;
  clear: left;
  border: 2px solid red;
  padding: 20px;
  margin: 20px 0;
  display: none;
}
.blue_box {
  width: 100%;
  height: 280px;
  background-color: #98aec3;
}
.headshot-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /*height: 290px;*/
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #98b2c3;
  cursor: pointer;
}
.headshot:hover .headshot-overlay {
  opacity: 0.8;
}
.headshot-grid:hover .headshot-overlay {
  opacity: 0.8;
}
.headshot_last:hover .headshot-overlay {
  opacity: 0.8;
}
.careers_job:hover .headshot-overlay {
  opacity: 0.8;
}

.headshot-plus {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.headshot-label, .headshot-label2 {
	text-align: left;
}
.headshot-label h3 {
	text-transform: uppercase;
	font-size: 18px;
	color: #98b2c3;
	font-weight: bold;
	margin: 10px 0 0 0;
	line-height: 18px;
}
.headshot-label2 h3, .profile-text2 h2 {
	text-transform: uppercase;
	font-size: 16px;
	color: #5f6d7d;
	margin: 10px 0 0 0;
	line-height: 14px;
	font-weight: bold;
  letter-spacing: 1px;
}
.headshot-label p {
	margin: 0 0 5px 0;
}
.headshot-label2 p, .profile-text2 h3 {
	margin: -3px 0 10px 0;
	color: #5f6d7d;
	font-size: 14px;
}
.profile-text2 p {
  font-size: 14px;
  line-height: 22px;
}
.back_to { margin: 0; }
.back_to a { color: #5f6d7d; }
.spacer { height: 91px; }
.awards-image { clear: left; }
.footer-col1 { padding: 30px 40px; float:left; width:60%; font-size:11px; }
.footer-col2 { padding: 30px 40px; float:left; width:40%; font-size:11px; }
.footer-col1 h3, .footer-col2 h3 { font-size:14px; }
.footer-col1 p { line-height: 21px; }
.footer p { color: #eee; }
.footer-inner { border-top: 1px solid #7a7a7a; border-bottom: 1px solid #7a7a7a; padding: 30px; margin: 30px 30px 0; display: grid; grid-template-columns: 2fr 1fr 1fr; }
.footer-copyright { margin: 0 30px 10px; font-size: 14px; display: grid; grid-template-columns: 1fr 1fr; }
.footer-copyright-right { text-align: right; }
.bhb_logo_footer {
  width: 230px;
}
.footer-inner h2 {
  color: #7a7a7a;
  font-size: 18px;
  font-weight: normal;
} 
.footer-inner p, .footer-copyright p {
  color: #7a7a7a;
  font-size: 14px;
  line-height: 20px;
} 
.footer-inner p a, .footer-copyright p a {
  color: #7a7a7a;
}
.bhb_logo_footer img { width: 100%; }
.social-logo { width: 35px; }
.mobile_only { display: none; }
.two_across_images_only { display: none; }
.width_100_percent img { width: 100%; }
.narrow_para { width: 70%; margin: 0 auto; }
.careers_about { display: grid; grid-template-columns: 1fr 2fr; }
.careers_about_text { background-color: #98aec3; text-align: right; padding: 20px; }
.careers_about_text h2, .careers_about_text p { color: white; }
.careers_about_image { background-image: url('../images/careers_banner.jpg'); background-size: cover; }
.full_width_p { width: 70%; text-align: center; margin: 50px auto 0; }

/* New styles 2024 */
.uk_map_header { margin: 50px 0 0; clear: left; float: left; width: 100%; }
.uk_map_title { font-size: 55px; text-align: center; margin: 20px 0 40px; color: #696868; }
.uk_map_para { font-size: 20px; text-align: center; margin: 20px 0; color: #696868; }
.uk_map { display: grid; grid-template-columns: 2fr 3fr; grid-gap: 10px; clear: left; float: left; margin-bottom: 20px; }
.uk_map p { color: #696868; font-size: 18px; line-height: 26px;}
.uk_map_left { padding: 20px; }
.uk_map_left img { width: 100%; }
.uk_map_right { padding: 12% 0 0 0; }
.uk_map_right img { width: 300px; padding: 20px 0 0 0; }
.approach { display: grid; grid-template-columns: 1fr 1fr; }
.approach_left { background-color: #9fabb5; padding: 30px 70px 10px 30px; }
.approach_right { background-image: url('/images/Our-Approach-Banner.jpg'); background-size: cover; }
.approach h3 { font-size: 20px; color: #1d1d1c; }
.approach h4 { font-size: 30px; font-style: italic; margin: 25px 0px; color: #1d1d1c; }
.approach p { color: #1d1d1c; }
.philosophy { display: grid; grid-template-columns: 3fr 2fr; padding: 30px; background-image: url('/images/Our-Philosophy-Banner.jpg'); background-size: cover; background-position: bottom; }
.architecture { background-image: url('/images/Architecture_Image.jpg'); background-size: cover; }
.interiordesign { background-image: url('/images/Interior-Design_Image.jpg'); background-size: cover; background-position: center; }
.principaldesigner { background-image: url('/images/Principal-Designer_Image.jpg'); background-size: cover; }
.conservation { background-image: url('/images/Conservation_Image2.jpg'); background-size: cover; background-position: bottom; }
.philosophy_right { margin: 30px; }
.philosophy_right_inner { background-color: #ffffffd1; padding: 20px; text-align: center; }
.philosophy h3 { font-size: 20px; color: #1d1d1c; }
.philosophy h3.specialism_sub, .approach h3.specialism_sub, .sustainability h3, h3.specialism_sub, .our_experience_header { font-size: 28px; color: #1d1d1c; }
.specialism_sub_centered { text-align: center; }
.specialism_sub_padded { padding: 20px 0; }
.philosophy h4 { font-size: 18px; font-style: italic; margin: 20px 0; color: #1d1d1c; line-height: 24px; }
.services { display: grid; grid-template-columns: 1fr 1fr; }
.services_left { background-image: url('/images/BIM_Image.jpg'); background-size: cover; }
.our_work_holder { margin: 50px 0; clear: left; float: left; width: 100%; }
.our_work_title { font-size: 55px; text-align: center; margin: 20px 0 40px; color: #696868; }
.our_work_para { font-size: 20px; text-align: center; margin: 20px 0; color: #696868; }
.accreditation_logos, .accreditation_logos_mobile { clear: left; padding: 50px 0 0; }
.accreditation_logos img, .accreditation_logos_mobile img { width: 100%; }
.accreditation_logos_mobile { display: none; }
.sustainability-header { color: #27521d; }
.sustainability_wheel_container { width: 100%; background-image: url('/images/Sustainability-Wheel-Background.jpg'); background-size: cover; background-position: center; }
.sustainability_wheel_container_inner { margin: 0 auto; width: 800px; }
.sustainability_wheel { margin: 0 auto; }
.walkthrough {
  background-color: #9fabb5;
  margin: -4px 0 0 0;
  padding: 10px 30px;
}
#box_lich, #box_chel { padding: 0px 20px; border: 3px solid #fff; }
.sustainability {
  background-color: #d4d4d4;
  padding: 30px;
  text-align: center;
  margin: 20px 0;
}
.case_study {
  background-color: #a2abb4;
  padding: 30px;
  text-align: center;
  margin: 20px 0 0;
}
.case_study_alt {
  background-color: #fff;
}
.case_study h3 {
  margin: 40px 0 10px;
  color: black;
  font-size: 20px;
}
.net_zero_carbon {
  margin: 0 auto;
}
.philosophy_right { margin: 30px; }
.philosophy_right_inner { background-color: #ffffffd1; padding: 20px; text-align: center; }


/* Case study pop ups */
.case_study_pop_up_container, .wheel_pop_up_container {
  position: fixed;
  background-color: #000000aa;
  width: 100%;
  height: 100dvh;
  top: 0;
  left: 0;
  z-index: 99999;
  display: none;
}
.case_study_pop_up1, .case_study_pop_up2, .case_study_pop_up3, 
.wheel_pop_up1, .wheel_pop_up2, .wheel_pop_up3, .wheel_pop_up4, .wheel_pop_up5 {
  margin: 10% auto;
  width: 1000px;
  text-align: center;
  background-color: #fff;
  box-sizing: border-box;
  padding: 20px;
  box-shadow: 0px 2px 8px 2px #e9e9e9;
  display: none;
}
.wheel_pop_up1, .wheel_pop_up2, .wheel_pop_up3, .wheel_pop_up4, .wheel_pop_up5 {
  text-align: left;
}
.wheel_pop_up_inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
}
.wheel_pop_up_inner img { width: 100%; margin-top: 50px; }
.wheel_pop_up1 li, .wheel_pop_up2 li, .wheel_pop_up3 li, .wheel_pop_up4 li, .wheel_pop_up5 li {
  margin: 5px;
}
.wheel_pop_up1 ul, .wheel_pop_up2 ul, .wheel_pop_up3 ul, .wheel_pop_up4 ul, .wheel_pop_up5 ul {
  margin-bottom: 20px;
}
.case_study_pop_up_images {
  display: grid;
  gap: 10px;
}
.case_study_pop_up_images img {
  width: 100%;
}
.pop_up_img_ratio_111 {
  grid-template-columns: 1fr 1fr 1fr;
}
.pop_up_img_ratio_353 {
  grid-template-columns: 3fr 5fr 3fr;
}
.pop_up_img_ratio_32 {
  grid-template-columns: 3fr 2fr;
}
/* End of case study pop ups */

/* Image revealer */

/* html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
} */

body {
  /* margin: 0;
  height: 100vh; */
  /* display: flex; */
  /* justify-content: center;
  align-items: center; */
}

.image_reveal_container {
  position: relative;
  width: 100%;
  height: 700px;
  margin: 20px 0 0;
}
.image_reveal_container .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 1200px 100%;
}
.image_reveal_container .background-img {
  background-image: url('../images/3D_Visualisation_Render.jpg');
  /* background-size: cover; */
}
.image_reveal_container .foreground-img {
  background-image: url('../images/3D_Visualisation_Photo.jpg');
  /* background-size: cover; */
  width: 50%;
}
.image_reveal_container .slider {
  position: absolute;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 100%;
  background: rgba(242, 242, 242, 0.3);
  outline: none;
  margin: 0;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  padding: 0;
}
.image_reveal_container .slider:hover {
  background: rgba(242, 242, 242, 0.1);
}
.image_reveal_container .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 6px;
  height: 700px;
  background: white;
  cursor: pointer;
}
.image_reveal_container .slider::-moz-range-thumb {
  width: 6px;
  height: 700px;
  background: white;
  cursor: pointer;
}
.image_reveal_container .slider-button {
  pointer-events: none;
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  left: calc(50% - 18px);
  top: calc(50% - 18px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.image_reveal_container .slider-button:after {
  content: "";
  padding: 3px;
  display: inline-block;
  border: solid #5D5D5D;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}
.image_reveal_container .slider-button:before {
  content: "";
  padding: 3px;
  display: inline-block;
  border: solid #5D5D5D;
  border-width: 0 2px 2px 0;
  transform: rotate(135deg);
}

@media only screen and (max-width : 1050px) {
  .image_reveal_container {
    height: 500px;
  }
  .image_reveal_container .img {
    background-size: 780px 100%;
  }
  .image_reveal_container .slider::-webkit-slider-thumb {
    height: 500px;
  }
  .image_reveal_container .slider::-moz-range-thumb {
    height: 500px;
  }
}

@media only screen and (max-width : 600px) {
  .image_reveal_container {
    height: 450px;
  }
  .image_reveal_container .img {
    background-size: 600px 100%;
  }
  .image_reveal_container .slider::-webkit-slider-thumb {
    height: 450px;
  }
  .image_reveal_container .slider::-moz-range-thumb {
    height: 450px;
  }
}

@media only screen and (max-width : 500px) {
  .image_reveal_container {
    height: 420px;
  }
  .image_reveal_container .img {
    background-size: 500px 100%;
  }
  .image_reveal_container .slider::-webkit-slider-thumb {
    height: 420px;
  }
  .image_reveal_container .slider::-moz-range-thumb {
    height: 420px;
  }
}

@media only screen and (max-width : 400px) {
  .image_reveal_container {
    height: 380px;
  }
  .image_reveal_container .img {
    background-size: 375px 100%;
  }
  .image_reveal_container .slider::-webkit-slider-thumb {
    height: 380px;
  }
  .image_reveal_container .slider::-moz-range-thumb {
    height: 380px;
  }
}

/* End of image revealer */

/* Ticker tape */

.ticker-wrap {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  padding: 20px;
}
.ticker {
  display: inline-block;
  margin-top: 5px;
  animation: marquee 60s linear infinite;
}
.item-collection-1 {
  position: relative;
  left: 0%;
  animation: swap 60s linear infinite;
}

.item {
  display: inline-block;
  padding: 0 1rem;
  font-size: 2rem;
  color: black;   
  font-weight: 800;
  font-family: sans-serif;
}

.item img {
  height: 50px;
}

/* Transition */
@keyframes marquee {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-100%)
  }
}

@keyframes swap {
  0%, 50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
}
  /* End of ticker tape */

@media only screen and (max-width : 1500px) {
  .spacer { height: 80px; }
}
@media only screen and (max-width : 1400px) {
  .our-services-text { padding: 1% 3% 0 0; width: 52%; }
  .our-services-text2 { padding: 1% 0 0 3%; width: 52%; }
  .our-services-text3 { padding: 1% 0 0 3%; width: 62%; }
  .our-services-text4 { padding: 1% 0 0 3%; width: 52%; }
  .about-us-image { /*width: 45%;*/ }
  .about-us-image2 { width: 56%; }
  .about-us-text2 { width: 38%; }
  .our-services-image, .our-services-image3 { width: 45%; }
  /* .headshot-image { height: 260px; }
  .headshot-overlay { height: 260px; } */
}
@media only screen and (max-width : 1350px) {
  /* .headshot-image { height: 250px; }
  .headshot-overlay { height: 250px; } */
  .headshots-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: auto;
    margin: 0 10px;
  }
}
@media only screen and (max-width : 1250px) {
  .our-services-text3 span { display: none; }
  /*.headshot-image { height: 240px; }
  .headshot-overlay { height: 240px; }
  .headshot, .headshot_last { height: 305px; }*/
  .quote { display: none; }
  .quote_mobile { display: block; }
}
@media only screen and (max-width : 1200px) {
  .our-services-text3 span { display: none; }
  .our-services-image3 { margin-top: 50px; }
  .spacer { height: 50px; }
  /*.headshot-image { height: 240px; }
  .headshot-overlay { height: 240px; }
  .headshot, .headshot_last { height: 290px; }*/
  .careers_about { grid-template-columns: 2fr 2fr; }
}
@media only screen and (max-width : 1150px) {
	.footer-group-col span { display: inline; }
  .about-us-box-blue { height: auto; }
  .about-us-image, .about-us-image2 { margin-bottom: -4px; }
  /*.headshot-image { height: 230px; }
  .headshot-overlay { height: 230px; }*/
}
@media only screen and (max-width : 1050px) {
  /*.headshot-image { height: 210px; }
  .headshot-overlay { height: 210px; }*/
  .narrow_para { width: 100%; }
  .sustainability, .case_study {
    padding: 10px;
    text-align: left;
  }
  .case_study_pop_up1, .case_study_pop_up2, .case_study_pop_up3, 
  .wheel_pop_up1, .wheel_pop_up2, .wheel_pop_up3, .wheel_pop_up4, .wheel_pop_up5 {
    margin: 10px;
    width: 95%;
  }
  .case_study_pop_up1 p, .case_study_pop_up2 p, .case_study_pop_up3 p, 
  .wheel_pop_up1 p, .wheel_pop_up2 p, .wheel_pop_up3 p, .wheel_pop_up4 p, .wheel_pop_up5 p {
    line-height: 16px;
    font-size: 0.8em;
  }
  .wheel_pop_up1 li, .wheel_pop_up2 li, .wheel_pop_up3 li, .wheel_pop_up4 li, .wheel_pop_up5 li {
    line-height: 16px;
    font-size: 0.8em;
  }
  .wheel_pop_up_inner h3 {
    line-height: 16px;
  }
  .wheel_pop_up_inner img {
    margin-top: -20px;
    width: 60%;
  }
}
@media only screen and (max-width : 1024px) {
  .about-us-image, .about-us-image2 { clear: left; width: 100%; }
  .our-services-image3 { clear: left; width: 100%; }
  .about-us-text, .about-us-text2-mobile { clear: left; width: auto; text-align: left; padding: 20px 0 0; }
	.footer-group-col img { width: 100%; }
	.footer-group-col { width:28%; }
	.footer-group-middle-col { width:44%; }
.our-services-image3, .our-services-image-three-across, .our-services-image-two-across, .our-services-image-tall2, .our-services-image, .our-services-image2 { /*width: 100%;*/ }
  .our-services-text, .our-services-text2, .our-services-text3, .our-services-text4 { padding: 0; width: 100%; }
  .our-services-image-tall, .our-services-image { display: none; }
  .our-services-image-tall2, .our-services-image2 { display: block; }
  .our-services-image-three-across, .our-services-image-two-across, .our-services-image-tall2, .our-services-image2 { margin-bottom: 10px; }
  .our-services-box { margin-bottom: 50px; }
  .central-header { text-align: left; margin: 100px 10% 0; }
  .about-us-text2 { display: none; }
  .about-us-text2-mobile { display: block; }
  .about-us-box-blue {
    background-color: #fff;
  }
  .about-us-box-blue h2, .about-us-box-blue p, .quote2 {
      color: inherit;
  }
  .quote2 {
    padding: 25px 0 25px;
    font-style: italic;
    margin: 0 auto;
    font-size: 20px;
    line-height: 25px;
    color: #98b2c3;
  }
  .quote { display: block; font-style: italic; padding: 0 0 25px; font-size: 18px; }
  .quote_mobile { display: none; }
  #practive { text-align: left; }
  .our-services-image3 { margin-top: 0; }
  .sub-menu ul, .sub-menu2 ul { padding: 0; }
  .sub-menu li, .sub-menu2 li {
    display: block;
    list-style: none;
    padding: 0 0 0 5px;
  }
  .sub-menu, .sub-menu2 {
    width: auto;
  }
  /*.headshot-image { height: 380px; }
  .headshot-overlay { height: 380px; }*/
  .headshot, .headshot_last { /*height: 440px;*/ width: 48.5%; }
  .awards-image { width: 380px; }
  .headshots-row-spacer, .headshots-row-spacer-narrow { display: none; }
  .multiple_across_images_only { display: none; }
  .two_across_images_only { display: block; }
  .careers_about { display: block; }
  .careers_about_text { background-color: #fff; text-align: left; padding: 0px; }
  .careers_about_text h2, .careers_about_text p { color: #4c4c4c; }
  .careers_about_image { height: 410px; }
  .centrally-aligned2 { text-align: left; }
  .uk_map {
    grid-template-columns: 1fr 1fr;
  }
  .sub-menu3 li {
    display: block;
    padding: 0px;
    text-decoration: underline;
  }
}
@media only screen and (max-width : 900px) {
  /* .headshot-image { height: 350px; }
  .headshot-overlay { height: 350px; } */
  .headshot, .headshot_last { /*height: 410px;*/ width: 48.5%; }
  .width_100_percent_mobile img { width: 100%; }
  .clientele_flex {
    display: block;
    margin: 20px 0;
  }
  .full_width_p { width: 100%; text-align: left; margin: 20px 0 0; }
  .careers_split { display: block; margin: 20px 0 0; }
  .headshots-grid {
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 10px;
  }
  .footer-inner { padding: 30px; margin: 30px 0 0; display: block; text-align: center; }
  .bhb_logo_footer { margin: 0 auto; width: 140px; }
  .footer-copyright { margin: 0 30px 10px; font-size: 14px; display: block; text-align: center; }
  .footer-copyright-right { text-align: center; }
  .sustainability_wheel_container { width: auto; }
  .sustainability_wheel_container_inner { width: auto; }
}
@media only screen and (max-width: 768px) {
    .half-width2 { margin: 0; }
    .innerContainer-Practice {
        padding: 20px 40px;
    }
    .right-text { float: none; text-align: left; }

    
	.footer-group-col { padding: 10px 20px; }
  .footer-col1 { padding: 30px 10px; float:left; width:100%; }
  .footer-col2 { padding: 30px 10px; float:left; width:100%; }
  #footer_contact_cols { display: block; }
  .central-header { margin: 100px 40px 0; }
  .main-image-tall { width: 100%; }
  .net_zero_carbon { width: 100%; }
  .wheel_pop_up_inner {
    display: block;
  }
  .wheel_pop_up_inner img {
    margin-top: 10px;
  }
}
@media only screen and (max-width : 710px) {
   .square-section-label, .square-section-label-orange { font-size: 20px; }
	.footer-group-col, .footer-group-last-col { width: 100%; text-align: center; }
	.footer-group-col img { width: auto; }
	.footer-group-col { padding: 0px 20px; }
	.profile-image { width: 100%; margin: 0 0 30px 0; }
  .careers_split { display: block; }
  .about_and_job_detail_page { display: block; }
  .our-people { margin: 120px 10px 0; }
  .our-people-opener { width: auto; margin: 30px 0 20px; }
  .headshots-grid {
    margin: 0;
  }
}
@media only screen and (max-width : 680px) {
  /* .headshot-image { height: 250px; }
  .headshot-overlay { height: 250px; } */
  .headshot, .headshot_last { /*height: 320px;*/ width: 48.5%; }
  .centered img, .centered { width: 100%; }
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
    .half-width, .half-width2 {
        width:100%;
        clear:both;
        float:left;
    }
    .three-quarter-width{
        width:100%;
        clear:both;
    }
	.spacer3{ display: none; }
}
@media only screen and (max-width : 600px) {
  .innerContainer-Practice {
    padding: 20px 10px;
  }
  .innerContainer {
    padding: 100px 10px;
  }
  .innerContainer2 {
    padding: 20px 10px;
  }
  .main-logo img {
    margin-left: 0px;
  }
  .spacer {
    height: 20px;
  }
  .desktop_only { display: none; }
  .mobile_only { display: inline; }
  .list_spacing_1_alt {
    height: auto !important;
  }
  .central-header { margin: 100px 10px 0; }
  .accreditation_logos { display: none; }
  .accreditation_logos_mobile { display: block; }
  .uk_map_title { font-size: 34px; }
  .uk_map { display: block; }
  .uk_map_header { margin: 20px 0 0; }
  .uk_map_left, .uk_map_right { padding: 0; }
  .philosophy { display: block; clear: left; padding: 0; }
  .philosophy_right_inner {
    background-color: #ffffffa3;
    padding: 30px 20px 20px;
  }
  .philosophy_right { margin: 0; }
  .clients_slider_container { display: block; margin: 0; }
  .clients_slider_title { display: none; }
  .approach { display: block; }
  .approach_left { padding: 20px; }
  .approach_right { height: 280px; }
  .our_work_holder { margin: 30px 0 20px; }
  .our_work_title { font-size: 34px; }
  .walkthrough { padding: 10px 10px; }
  .services { display: block; }
  .services_left { height: 320px; }
  .specialism_sub_centered { text-align: left; padding: 5px; }
  .titleBox h3 {
    font-size: 18px;
  }
}
@media only screen and (max-width : 500px) {
  /* .headshot-image { height: 180px; }
  .headshot-overlay { height: 180px; } */
  .headshot, .headshot_last { /*height: 230px;*/ width: 48.5%; }
  .headshot-label h3, .headshot-label2 h3 {
    font-size: 16px;
  }
   .awards-image { width: 150px; }
   #group-header { display: none; }
   #group-header-mobile { display: block; }
   .square-section-label, .square-section-label-orange { font-size: 14px; padding: 5px; }
   .square-section:hover > .square-section-label { padding:5px; }
   .footer-group-col img { width: 100%; }
	.subpageh1 {
		position: relative;
		padding: 7px 0px 6px 0;
		width: 100%;
		left: 0;
		border: 0;
		text-align: center;
	}
	.profile-text { clear: left; width: 100%; }
  .awards-image {
    width: 100%;
  }
}
@media only screen and (max-width : 480px) {
   .half-width, .half-width2, .two-thirds-width, .one-third-width, .half, .two-thirds, .one-third, .twenty-percent, .twenty-five-percent, .forty-percent {
        width:100%;
        clear:both;
        float:left;
    }
    .three-quarter-width{
        width:100%;
        clear:both;
    }
    .slideItemText {
        padding: 0px 50px;
        font-size: 10px;
    }
    .headshots-grid {
      grid-template-columns: 1fr 1fr;
    } 
}
@media only screen and (max-width : 400px) {
  /* .headshot-image { height: 160px; }
  .headshot-overlay { height: 160px; } */
  .headshot, .headshot_last { /*height: 210px;*/ width: 100%; }
  .headshot-label h3, .headshot-label2 h3 {
    font-size: 14px;
  }
  .group-grid-item { width: 100%; }

  .headshots-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width : 330px) {
  .box {
    width: 100%;
    padding-bottom: 100%;
    margin: 3% 0;
  }
}

#title1{
	position:fixed;
	  top: 50%;
	  width: 90%;
	  left: 50%;
	  margin: -35px 0 0 -45%;
	  text-transform: uppercase;
	  z-index:0;
	  display:none;
}
#title1 h1{
	text-align:center;
	color:#fff;
	font-size: 85px;
	line-height:100px;
}
#form-success{
	margin-left: 100px;
	border: 1px solid green;
	background-color: rgb(88, 194, 88);
	color: white;
	padding: 5px;
	margin-bottom: 10px;
	display: none;
}
.form-error{
	margin-left: 100px;
	border: 1px solid rgb(23, 1, 1);
	background-color: rgb(188, 50, 60);
	color: white;
	padding: 5px;
	margin-bottom: 10px;
	display: none;
}
