/* ======  S E V E R N    T R E N T    C O L O U R S  ====== */

/* Severn Trent dark blue:
r000 g062 b082
#003e52
tints: 40% & 11%
*/

/* Severn Trent light blue:
r000 g159 b247
#009ff7
tints: 40% & 11%
*/

/* Severn Trent dark grey:
r061 g063 b068
#3d3f44  */

/* Severn Trent purple:
r135 g024 b154
#87189a  */

.blue {
  color: #009ff7;
}

/* ======  T Y P E K I T   F O N T S  ====== */

/* DIN Thin

font-family: urw-din, sans-serif;
font-weight: 100;
font-style: normal;

font-family: urw-din, sans-serif;
font-weight: 100;
font-style: italic;

Din Regular

font-family: urw-din, sans-serif;
font-weight: 400;
font-style: normal;

font-family: urw-din, sans-serif;
font-weight: 400;
font-style: italic;

DIN Bold

font-family: urw-din, sans-serif;
font-weight: 700;
font-style: normal;

font-family: urw-din, sans-serif;
font-weight: 700;
font-style: italic;

*/

strong a {
  color: #009ff7;
}

html,
body {
  color: #3d3f44;
  font-family: urw-din, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 100%;
  line-height: 1.4;
  height: 100%;
  padding-bottom: 0;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  box-sizing: border-box;
}

a {
  color: #009ff7;
}

a:hover,
a:focus {
  color: #003e52;
  text-decoration: none;
}

a:visited {
  text-decoration: none !important;
}

aside a:hover,
footer a:hover {
  text-decoration: none;
}

aside.news-feed h3 {
  margin-top: 0;
}

aside .box-out {
  border: 1px solid rgba(000, 62, 82, 100);
  border-radius: 0.5rem;
  padding: 5px 15px 15px;
  font-size: 1.1rem;
  float: left;
  margin: 30px 0 50px;
}
aside .box-out a {
  color: #009ff7;
}
aside .box-out a:hover {
  color: #003e52;
}
aside .box-out h5 {
  font-size: 1.3rem;
  margin-bottom: -15px;
}
@media screen and (min-width: 768px) {
  aside .box-out {
    width: 90%;
    margin: 10px 0 50px;
  }
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none;
  }
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
  .hidden-mobile {
    display: none;
  }
}

h1 {
  font-family: urw-din, sans-serif;
  /* font-style: bold; */
  font-weight: 500;
  color: #3d3f44;
  /* text-transform: uppercase; */
  margin-bottom: 2.2rem;
}

h2,
h3,
h4,
h5 {
  font-family: urw-din, sans-serif;
  font-style: normal;
  /* font-weight: 700; */
  font-weight: 500;
  color: #3d3f44;
}

h2,
h3 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
h4 {
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}
.solo-nav {
  font-size: 1.2rem;
  /* font-weight: bold; */
}

p,
main li {
  font-family: urw-din, sans-serif;
  font-style: normal;
  font-weight: 400;
  /* font-weight: 300; */
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
}

main ul {
  margin-bottom: 1.8rem;
}

.leading p {
  /* adjusted for Craft CMS */
  color: #3d3f44;
  /* font-weight: 600; */
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
}
.reduce {
  font-size: 0.9rem;
}
.reduce-x1 {
  font-size: 1rem;
}
strong {
  color: #3d3f44;
  font-weight: 600;
}

hr {
  margin-top: 30px;
  margin-bottom: 30px;
  border-top: 1px solid #eee;
}

figcaption {
  margin-top: 0.6rem;
  /* text-align: right; */
}

.display-block {
  display: block;
}

.ivc a {
  color: #3d3f44;
}
.ivc a:hover {
  color: #009ff7;
}
.other a {
  color: #87189a;
}
.other a:hover {
  color: #009ff7;
}

@media screen and (min-width: 768px) {
  .text-3q {
    padding-right: 10%;
  }
  .text-2q {
    padding-right: 5%;
  }
}

abbr {
  font-size: 1.2em;
}
.tel {
  font-size: 1.2em;
}

.loc-title {
  font-size: 1.4em;
}

.no-pad {
  padding: 0;
}
.pad-top-x2 {
  padding-top: 2rem;
}
.pad-top-x3 {
  padding-top: 3rem;
}
.pad-extra-left {
  padding-left: 1.5rem;
}
@media screen and (min-width: 768px) {
  .pad-extra-right {
    padding-right: 2rem;
  }
}
.push-above {
  margin-top: 1;
}
.push-above-x15 {
  margin-top: 1.5;
}
.push-above-x2 {
  margin-top: 2;
}
.push-below-x1 {
  margin-bottom: 1rem;
}
.push-below {
  margin-bottom: 2rem;
}
.push-below-x1 {
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .shift-up-15 {
    margin-top: -1.5rem;
  }
  .shift-left-10 {
    margin-left: -1rem !important;
  }
  .shift-left-5 {
    margin-left: -0.5rem !important;
  }
}
.pad-left-right {
  padding-left: 15px;
  padding-right: 15px;
}

.ul-clean ul li {
  list-style: none !important;
}

.well {
  min-height: 20px;
  padding: 0;
  margin-bottom: none;
  /* background-color: rgba(109, 141, 36, 0.11); */
  background-color: rgba(61, 63, 68, 0.07);
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin-top: 50px;
}

.well-b {
  background-color: rgba(61, 63, 68, 0.07);
}

body#home .well {
  margin-top: 0;
}

/* .navbar .container {
  border: 1px solid blue;
} */

@media (min-width: 1200px) {
  .main-nav .container {
    display: flex;
    justify-content: center;
  }

  .container {
    width: 1220px;
    padding: 0 !important;
  }
  .navbar .container {
    /* width: 1240px; */
    /* width: 66%; /* 50em or so */
    /* width: 61%; /* for new main menu */
    padding: 0 !important;
    /* margin-right: -20px;
    margin-left: -20px; */

    /* margin-right: auto;
	margin-left: auto; */
    margin: 0 auto;
  }

  .navbar-nav {
    padding: 0 15px 0 0;
  }

  .navbar-nav li {
    font-size: 1.2em;
  }
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .navbar .container {
    /* width: 780px !important; /* for new main menu */
    /* width: 870px !important; /* for new main menu - and 'careers' link added */
    width: 970px !important; /* for new main menu - with additional 'insight' link added */
    padding: 0 !important;
  }

  .navbar-nav {
    padding: 0 15px 0 0;
  }

  .navbar-nav li {
    font-size: 1.2em;
  }
}

.dropdown-menu {
  /* font-size: 1.1rem; too big on older phones - i.e. iPhone 5 */
  font-size: 0.9rem;
  z-index: 10000;
}
.dropdown-menu li {
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  .nav {
    /* float: right; */
    float: none;
    /* margin-right: -20px; */
    /* font-size: 1.0rem;  - Calibri */
    font-size: 0.9rem;
  }
  .dropdown-menu {
    /* font-size: 0.9rem; */
    font-size: 0.8rem; /* as li size increased */
  }
  .dropdown-menu li {
    margin-bottom: 10px;
  }
}
.navbar {
  /* position: relative; */
  border: 1px solid transparent; /*  fixed odd Safari bug  */
  /* padding-top: 1.0em; */
  padding-top: 0.5em;
  background-color: #fff;
}
@media (min-width: 768px) {
  .navbar {
    border-radius: 0;
    /* float: right; */
    float: none;
    min-height: 95px;
  }
  .navbar-default {
    background-color: #fff;
    /* border: 1px solid green; */
    margin: 0 !important;
  }
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  /* .navbar {
	  height: 85px;
	}
	.nav{
		left: 35px;
		top: -45px;
		position: relative;
	} */
}

/* iPad Pro 12.9 landscape - method #1 (viable in emmulator)
@media only screen and (min-device-width : 1366px)
and (max-device-height : 1024px)
and (orientation : landscape) {
	.navbar {
	  height: 95px;
	  min-height: 95px;
	  border: 1px solid green;
	}
	.nav{
		left: 0;
		top: 0 !important;
		bottom: 0 !important;
		position: relative;
		border: 1px solid green;
	}

} */

/* iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1366px) and (max-width: 1366px) {
  .navbar {
    height: 95px;
    min-height: 95px;
  }
  .nav {
    left: 0;
    top: 0 !important;
    bottom: 0 !important;
    position: relative;
  }
}

/* iPad Pro 12.9 landscape - method #3 (viable in emmulator)
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px){
		.navbar {
		  height: 95px;
		  min-height: 95px;
		  border: 1px solid red;
		}
		.nav{
			left: 0;
			top: 0 !important;
			bottom: 0 !important;
			position: relative;
			border: 1px solid red;
		}
} */

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #003e52;
  background: none;
}

.navbar-nav a:hover,
.navbar-nav a:focus {
  color: #009ff7 !important;
}

.navbar-toggle {
  position: relative;
  /* float: right; */
  float: none;
  /* padding: 9px 10px; */
  padding: 0;
  margin-top: 0;
  /* margin-right: 10px; */
  margin-left: 44%;
  /* margin-bottom: 8px; */
  background-color: transparent;
  background-image: none;
  border: none;
  border-radius: 0;
  /* bottom: 30px; */
  bottom: 5px;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 38px;
  height: 5px;
  border-radius: 5px;
  border: none;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 5px;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #003e52;
}

/*   B R A N D -----  L O G O -----------------------------------   */

.m-hide {
  display: block;
}
.dt-hide {
  display: none;
}

@media screen and (min-width: 768px) {
  .m-hide {
    display: none;
  }
  .dt-hide {
    display: block;
  }
}

.brand {
  padding: 0 !important;
  border-bottom: 1px solid #ccc;
  /* margin-top: -1.0rem; for lock-up version */
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .brand {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    /* width: 10%; */
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    /* height: 9em; for lock-up version */
    height: 6.5em;
    /* border: none; */

    /* padding: 0 !important; for lock-up version */
  }
}

.logo__img {
  width: 100%;
  /* height: 9em; for lock-up version */
  /* height: 5.21874em; - Calibri */
  height: 5.28em;
  display: block;
  /* float: left; */
  float: none;
  position: relative;
  z-index: 100000;
  /* padding: 20px 15px 15px 0; */
  /* margin: 0; for lock-up version */
  margin: 1rem 0;
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  /* .brand {
  } */

  /* .logo__img {
		/* width: 70%;
		height: 7em;
		border: 1px solid red;
	  } */
}

/*     iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) 
    @media only screen and (min-device-width : 1024px) and (max-device-width : 1024px) and (min-device-height : 1366px) and (max-device-height : 1366px) and (min-width: 1366px) and (max-width: 1366px){
    	.logo__img {
    			  width: 150px;
    			  margin-left: -0.75em;
    			  }

    	    }
    }

*/

/* ---------------------------------------------------------------- */

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  /* background-color: rgba(188, 190, 192, 0.4); */
  background-color: #fff;
  color: #003e52;
}

@media screen and (min-width: 768px) {
  .dropdown-menu > .active > a,
  .dropdown-menu > .active > a:hover,
  .dropdown-menu > .active > a:focus {
    background: none !important;
    color: #003e52;
  }
}

/*  -----------------  MULTI-LEVEL DROP-DOWN MENU ------------------ */

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  /* margin-left: -1px; */
  margin-left: 20px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}
@media screen and (min-width: 768px) {
  .dropdown-submenu > .dropdown-menu {
    margin-left: -1px;
  }
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

@media screen and (min-width: 768px) {
  .dropdown-menu.shift-left {
    right: 0;
    left: auto;
  }
}

.carousel-control.left,
.carousel-control.right {
  background-image: none !important;
  filter: none;
}

#info header#top,
#news-and-insights header#top,
#legal header#top,
#search header#top,
#blog header#top {
  /* adjusted for Craft CMS */
  border-bottom: 1px solid rgba(000, 62, 82, 100) !important;
}

.embed-responsive--mb-l {
  margin-bottom: 3rem;
}

.embed-responsive--mb-s {
  margin-bottom: 1rem;
}

.chunk {
  /* border-bottom: 1px solid rgba(97, 85, 62, 0.4); */
  padding-bottom: 2.5rem;
}

.chunk:last-of-type {
  border-bottom: none;
}

.chunk .embed-responsive {
  margin-bottom: 0;
}

/* blockquote:before{
	content: '\201C';
	color: #009ff7;
	padding-right: 4px;
}
blockquote:after{
	content: '\201D';
	color: #009ff7;
	padding-left: 4px;
}
*/

#map_canvas {
  position: relative;
  z-index: 1;
  min-height: 25em;
  margin-bottom: 4.375em;
}

/* -------  HIDDEN SEARCH ------------------------------------ */

.search {
  /* background: #95A5A6; */
  /* background: rgba(204,204,204,0.5); */
  background-color: rgba(000, 62, 82, 1);
  padding: 0.625rem 0.9375rem;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  position: absolute;
  /* top: 0; */
  top: 2.65em;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}
#home .search {
  /* background: #fff; */
  /* top: 7em; */
  top: 2.65em;
}
.search ::-webkit-input-placeholder,
.search :-moz-placeholder,
.search ::-moz-placeholder,
.search :-ms-input-placeholder {
  color: white;
}
@media screen and (min-width: 43.75em) {
  .search {
    top: 5.9em; /* how far down when revealed */
    background-color: rgba(000, 62, 82, 0.6);
  }
  #home .search {
    background-color: rgba(000, 62, 82, 0.6);
    top: 5.9em;
    /* width: 1220px;  - this causes the search box to extend out right on 1024x768 */
    left: 0;
    right: 40px;
  }
}

/* @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  #home .search {
    width: 1000px;
  }
} */

.search__form {
  margin: 0 auto;
  /* max-width: 70rem; */
  /* min-width: 15rem; */
  /* float: right; */
}
.search--hidden {
  /* top: -100%; */
  top: 0.5%;
  z-index: -1000; /* or it animates over the top of the main nav */
  /* border: 1px solid red; */
  background-color: rgba(000, 62, 82, 0);
}
.search__input {
  background: none;
  border: none;
  outline: none;
  padding: 0.25em;
  width: 100%;
  font-size: 1.1rem;
  color: #fff;
}
.search__submit {
  display: none;
}

.navbar__search,
.navbar__more {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  margin: 0 auto -0.25em auto;
  width: 1em;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.navbar__search--active:after,
.navbar__more--active:after {
  /* content: "triangle?"; */
  position: absolute;
  bottom: -1.1em;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 0.5em solid transparent;
  border-right: 0.5em solid transparent;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
@media screen and (min-width: 43.75em) {
  .navbar__search--active:after,
  .navbar__more--active:after {
    bottom: -1.3em;
  }
}
.navbar__search {
  background-image: url("../svg/search.svg");
  /* FF bug required &nbsp; at line 180 instead of 'search' as the first two letters were being displayed next to the search icon... */
}
.navbar__search--active:after {
  border-bottom: 0.5em solid #95a5a6;
}

/* ======  H O M E  ============================ */

#home .carousel-caption {
  position: absolute;
  /* right: 20%; */
  right: 30%;
  width: 100% !important;
  bottom: 80px;
  left: 0;
  z-index: 10;
  text-align: left;
  text-shadow: none;
  /* background-color: rgba(000, 062, 082, 0.7); */
  background-color: rgba(000, 062, 082, 0.5);
  /* padding: 0px 20px 20px 0; */
  padding: 0px 20px 20px 0;
}

#home .carousel-caption h3 {
  position: relative;
  /* float: left; */
  /* left: 30%; */
  left: 20%; /* - new */

  max-width: 60%;
  font-size: 3rem;
  font-family: urw-din, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #fff;
  /* text-transform: uppercase; */
}

/* @media screen and (min-width: 768px) {
  .carousel-control {
  }
} */

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  #home .carousel-caption {
    right: 0;
    bottom: 30px;
  }
  #home .carousel-caption h3 {
    font-size: 2rem;
    /* left: 19%; */
    left: 4%; /* new */
    /* max-width: 75%; */
    max-width: 92%;
    text-align: center;
  }
}

/* iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1366px) and (max-width: 1366px) {
  #home .carousel-caption {
    /* right: 30%; */
    bottom: 80px;
    right: 0;
  }
  #home .carousel-caption h3 {
    font-size: 2.2rem;
    /* left: 19%; */
    left: 5%; /* new */
    /* max-width: 75%; */
    max-width: 91%;
    text-align: center;
  }
}

/* iPad Pro 12.9 landscape - method #1 (viable in emulator) */
@media only screen and (min-device-width: 1366px) and (max-device-height: 1024px) and (orientation: landscape) {
  #home .carousel-caption {
    /* right: 30%; */
    bottom: 80px;
    right: 0;
  }
  #home .carousel-caption h3 {
    font-size: 2.2rem;
    /* left: 19%; */
    left: 5%; /* new */
    /* max-width: 75%; */
    max-width: 91%;
    text-align: center;
  }
}

#home .carousel {
  display: none;
}

@media screen and (min-width: 992px) {
  #home .carousel {
    display: block;
  }
  #home .c-swap {
    display: none;
  }
}

#home .c-swap {
  color: #fff;
}

#home .c-swap .carousel-caption {
  text-align: center;
  right: 0 !important;
  left: 0 !important;
  bottom: 20px;
  padding: 20px;
  margin: 0;
}
#home .c-swap .carousel-caption h3 {
  font-size: 1.5rem;
  left: 0;
  right: 0;
  max-width: 100%;
}

.fade-in {
  -webkit-animation: fadein 5s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 5s; /* Firefox < 16 */
  -ms-animation: fadein 5s; /* Internet Explorer */
  -o-animation: fadein 5s; /* Opera < 12.1 */
  animation: fadein 5s;
}
.fade-in-6 {
  -webkit-animation: fadein 6s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 6s; /* Firefox < 16 */
  -ms-animation: fadein 6s; /* Internet Explorer */
  -o-animation: fadein 6s; /* Opera < 12.1 */
  animation: fadein 6s;
}
.fade-in-4 {
  -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 4s; /* Firefox < 16 */
  -ms-animation: fadein 4s; /* Internet Explorer */
  -o-animation: fadein 4s; /* Opera < 12.1 */
  animation: fadein 4s;
}
.fade-in-3 {
  -webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 3s; /* Firefox < 16 */
  -ms-animation: fadein 3s; /* Internet Explorer */
  -o-animation: fadein 3s; /* Opera < 12.1 */
  animation: fadein 3s;
}

.m-swap-four-three {
  display: block;
}
.m-swap-sixteen-nine {
  display: none;
}
@media screen and (min-width: 992px) {
  .m-swap-four-three {
    display: none;
  }
  .m-swap-sixteen-nine {
    display: block;
  }
}

.home-cta {
  background-color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: -10px;
}
@media (min-width: 768px) {
  .home-cta {
    /* margin-bottom: 2.0rem; */
    font-size: 1.6rem;
    padding-top: 30px;
  }
}

.home-cta strong {
  font-size: 1.4rem;
  padding-right: 5px;
}
@media (min-width: 768px) {
  .home-cta strong {
    font-size: 1.8rem;
    padding-right: 10px;
  }
}

.more,
.more-2 {
  position: absolute;
  right: 45%;
  z-index: 99;
  margin-top: -20px;
  background-color: white;
  padding: 0 10px 10px;
  border: 1px solid #fff;
  border-radius: 5px;
  font-size: 1.4rem;
  display: none;
}

.more {
  /* background-color: rgba(109, 141, 36, 0.11); */
  background-color: #eff2e7;
  border: 1px solid #eff2e7;
}

@media (min-width: 768px) {
  .more,
  .more-2 {
    display: block;
  }
}
.more-2 {
  margin-top: -40px;
}

/* ----  LINK PANELS ---- */

.link-panels {
  padding: 2rem 0 1rem;
}

.link-panel {
  position: relative;
  margin-bottom: 1.8rem;
}

.link-panel h3 {
  position: absolute;
  float: left;
  display: block;
  color: #fff;
  background-color: #3d3f44;
  padding: 1rem;
  width: auto;
  bottom: 6%;
  /* text-align: center; */
  font-size: 1.1rem;
}

@media screen and (min-width: 768px) {
  .link-panel h3 {
    bottom: 6%;
    text-align: left;
  }
}

@media screen and (min-width: 768px) {
  .link-panel img {
    height: 276px;
  }
  .link-panel h3 {
    width: 360px;
    font-size: 1.4rem;
  }
  .title-set.link-panel h3 {
    width: 260px;
  }
  .title-set.link-panel img {
    height: 193px;
  }
  .link-panels.title-set {
    padding-top: 0;
  }
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .link-panel {
    float: left;
    position: relative;
  }

  /* #home .link-panel.col-lg-8{
 			width: 98%;
 		}
 	#home .link-panel.col-lg-8 img{
 			width: 100%;
 		} */
  #home .link-panel.col-lg-4 {
    width: 33% !important;
  }
  #home .link-panel.col-lg-4 img {
    height: 200px;
  }
  .link-panel h3 {
    width: 270px;
    font-size: 1.2rem;
  }
}

/* iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) 
@media only screen and (min-device-width : 1024px) and (max-device-width : 1024px) and (min-device-height : 1366px) and (max-device-height : 1366px) and (min-width: 1366px) and (max-width: 1366px){
	.link-panel{
				float: left;
				position: relative;
			}

		#home .link-panel.col-lg-8{
				width: 813px;
			}
		#home .link-panel.col-lg-8 img{
				width: 813px;
			}
		#home .link-panel.col-lg-4{
				width: 406px;
					}
		#home .link-panel.col-lg-4 img{
				width: 406px;
			}

}  */

.icon-panel {
  position: relative;
  min-height: 1px;
  /* padding-right: 15px;
	padding-left: 15px; */
  padding: 1.5em;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .icon-panel {
    width: 33%;
    float: left;
  }
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .icon-panel {
    width: 33%;
  }
}

@media screen and (min-width: 768px) {
  .awards {
    margin-top: 3.9em;
  }
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .awards {
    margin-top: 1.2em;
  }
}

.award-grp {
  width: 50%;
  /* width: 33%; */
  position: relative;
  float: left;
  min-height: 1px;
}

.award-grp:nth-child(1) {
  padding-right: 1em;
  width: 100%;
}
.award-grp:nth-child(2) {
  /* padding-left: 1.0em; */
  padding-right: 1em;
}
.award-grp:nth-child(3) {
  padding-right: 1em;
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .award-grp {
    width: 50%;
  }

  .award-grp:nth-child(1) {
    padding-right: 10px;
    padding-left: 10px;
    width: 100% !important;
  }

  .award-grp:nth-child(2) {
    padding-left: 10px;
    padding-right: 10px;
  }

  .award-grp:nth-child(3) {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ----  NEWS FEED ---- */

.news-feed {
  /* padding-top: 1.6rem; */
  padding-bottom: 1.6rem;
}

.feed-row {
  position: relative;
  border: 1px solid #333;
}

.news-feed .news-item {
  background-color: rgba(000, 62, 82, 1);
  padding: 0.75rem;
  margin-top: 2px;
  color: white;
}

@media screen and (min-width: 768px) {
  .news-feed .news-item {
    padding: 0.75rem 0.75rem 0.75rem 0;
  }
}

@media screen and (min-width: 768px) {
  .news-feed .news-item-title {
    padding-right: 0.6rem;
    padding-left: 0.6rem;
    color: white !important;
  }
  .news-item h5,
  .news-item-title h5 {
    margin-top: 0 !important;
    font-weight: 400 !important;
  }
  .news-item-title h5 a {
    color: white !important;
  }
}

.news-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white !important;
}
.news-feed .news-item a,
.news-item-title h5 a {
  /* color: #009ff7 !important; */
  color: white !important;
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .news-item {
    width: 46%;
    position: relative;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
  }
}

/* iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1366px) and (max-width: 1366px) {
  .news-item {
    width: auto;
    position: relative;
    float: left;
    margin-right: 0;
    margin-bottom: 0;
  }
}

.highlight-panel {
  margin-top: 4rem;
  padding: 0.3rem 2rem 2rem;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
}

.highlight-panel h3 {
  border-bottom: 1px solid #3d3f44;
  padding-bottom: 1rem;
}

/* ----  F L O A T I N G   S I D E   B A R 's ------------------ */

#sidebar {
  display: none;
}

@media screen and (min-width: 768px) {
  #sidebar {
    display: block;
    /* height: 275px; 3 icons */
    height: 235px;
    width: 50px;
    position: absolute;
    right: 0;
    top: 0;
    /* margin-top: 95px; /* i.e. same as main nav height */
    margin-top: 120px;
    background-color: #009ff7;
    font-size: 30px !important;
    z-index: 400;
  }

  .sidebar-share {
    /* height: 360px !important;  5 icons */
    height: 320px !important;
  }

  #sidebar .icon-envelope-o:before {
    font-size: 1.6rem;
    position: relative;
    left: 2px;
  }

  .social-links,
  .social-links-share {
    background-color: #009ff7;
    color: #fff;
    /* height: 275px; 3 icons */
    height: 235px;
    width: 50px;
    padding-left: 10px;
    padding-top: 5px;
    font-weight: 600;
  }
  .social-links-share {
    /* height: 360px !important;  5 icons */
    height: 320px !important;
  }
  .social-links a,
  .social-links-share a {
    color: #fff;
  }
  .social-links a:hover,
  .social-links-share a:hover {
    text-decoration: none;
    color: #ccc;
  }
  .social-links a:active,
  .social-links a:visited,
  .social-links-share a:active,
  .social-links-share a:visited {
    text-decoration: none;
  }
  .social-links ul,
  .social-links-share ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .social-links ul li,
  .social-links-share ul li {
    font-size: 30px !important;
  }

  .t-rotate {
    position: relative;
    font-size: 1rem;
    transform: rotate(90deg);
    transform-origin: left top 0;
    height: 20px;
    width: 120px;
    margin-bottom: 105px;
    margin-top: 10px;
    left: 28px;
  }
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  #sidebar {
    /* margin-top: 95px; /* i.e. same as main nav height */
    margin-top: 144px;
  }
}
/* iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1366px) and (max-width: 1366px) {
  #sidebar {
    margin-top: 95px; /* i.e. same as main nav height */
  }
}

.m-share {
  margin-top: 2rem;
}

.m-share ul {
  padding: 10px 0 0;
}
.m-share ul li {
  display: inline;
  font-size: 2rem;
  padding-right: 15px;
}

@media screen and (min-width: 768px) {
  .m-share {
    display: none;
  }
}

/* --- PAGE HEADER BANNERS ---------------------------*/

.banner {
  display: none;
}

@media screen and (min-width: 768px) {
  .banner {
    margin: 0 -15px;
    position: relative;
    display: block;
  }
}
.banner img {
  display: block;
  max-width: 100%;
  height: auto;
}

.banner-caption {
  position: absolute;
  /* right: 25%; */
  width: 100% !important;
  bottom: 0;
  left: 0;
  z-index: 10;
  text-align: left;
  text-shadow: none;
  background-color: rgba(000, 062, 082, 0.7);
  padding: 10px 20px 10px 0;

  /* min-height: 90px; */
  min-height: 100px;
}

.banner-caption h1 {
  position: relative;
  float: left;
  left: 30%;
  max-width: 60%;
  /* font-size: 3.2rem; - Calibri */
  font-size: 2.4rem;
  font-family: urw-din, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .t-banner {
    position: relative;
    bottom: 95px;
    z-index: 200;
    margin: 0;
  }
  .t-banner h1 {
    /* font-size: 3.2rem; */
    font-size: 2.4rem;
    font-family: urw-din, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0 !important;
  }
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .banner-caption {
    min-height: 70px;
  }
  .t-banner {
    bottom: 75px;
  }
  .t-banner h1 {
    font-size: 2.2rem;
  }
  #home h1 {
    font-size: 2.1rem;
  }
}
/* iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1366px) and (max-width: 1366px) {
  .banner-caption {
    /* min-height: 90px; */
    min-height: 100px;
  }
  .t-banner {
    bottom: 95px;
  }
  .t-banner h1 {
    font-size: 3.1rem;
  }
  #home h1 {
    font-size: 2.1rem;
  }
}

/* ******     A C C O R D I O N S    *****    */

.panel {
  margin-top: 3rem;
}

.panel,
.panel-default,
.panel-collapse {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding: 0;
}

.panel-heading {
  color: #009ff7;
  background-color: #fff !important;
  padding: 0;
  margin: 0 0 30px;
}

.panel-title {
  font-size: 1.5rem;
  color: #009ff7;
  background-color: none;
  padding: 0 0 20px;
  margin: 0;
  border-bottom: 1px solid #ccc; /* 1px border below the accordion panel heading */
}
.panel-title a {
  display: block;
}
.panel-title a:hover {
  color: #003e52;
}

.panel-body {
  padding: 0 0 30px;
  border: none !important;
}

.panel-icon {
  color: inherit;
  position: relative;
  float: left;
  padding-right: 20px;
  line-height: 1.5rem;
  top: 0.2rem;
}

/* .sub-list ul {
} */

/* ******     S E C T I O N  - N A V   M E N U     *****    */

#section-nav.map-links {
  display: block;
}

@media screen and (min-width: 768px) {
  #section-nav {
    display: block;
  }
}
@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  #section-nav {
    display: none;
  }
}
/* iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1366px) and (max-width: 1366px) {
  #section-nav {
    display: block;
  }
}

.section-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.section-nav__item {
  padding-top: 0.5rem;
  padding-right: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1.2rem;
  /* font-weight: 600; */
  font-weight: 400;
}
.section-nav__item:not(:last-of-type) {
  margin-bottom: 0.5rem;
}

.section-nav__list a:hover {
  color: #009ff7 !important;
}

.section-nav__link {
  color: #3d3f44;
  display: block;
}
.section-nav__link:hover {
  text-decoration: none;
}
.section-nav__link--active {
  color: #009ff7 !important;
  /*-webkit-animation: fadein 0.4s;
         -moz-animation: fadein 0.4s;
          -ms-animation: fadein 0.4s;
           -o-animation: fadein 0.4s;
              animation: fadein 0.4s;*/
}

.section-nav__subnav {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  padding-top: 0.5rem;
}
.section-nav__subitem {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.section-nav__sublink::before {
  content: "-";
  display: inline-block;
  margin-right: 0.25rem;
  margin-left: -0.875rem;
}

.locations {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
  float: left;
}

@media screen and (min-width: 768px) {
  .locations {
    width: 25%;
  }
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .locations {
    width: 25%;
  }
}

.map-links > ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.map-links > ul li {
  font-size: 1em;
}
.map-links a {
  /* font-weight: 600; */
  font-weight: 400;
}

.locations-map {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
  float: left;
}

@media screen and (min-width: 768px) {
  .locations-map {
    width: 75%;
  }
}

@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .locations-map {
    width: 75%;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.google-map {
  overflow: hidden;
  padding-top: 80%;
  position: relative;
}

.google-map iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/*********************************************************
 *
	 *	C O N T A C T   F O R M
 *
 *********************************************************/

.btn-primary {
  color: #fff;
  background-color: #003e52;
  border-color: #003e52;
}

.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #009ff7;
  border-color: #009ff7;
}
.btn-primary:hover {
  color: #fff;
  background-color: #009ff7;
  border-color: #009ff7;
}
.btn-primary:active,
.btn-primary:active:focus {
  color: #fff;
  background-color: #009ff7;
  border-color: #009ff7;
}

.form-control:focus {
  border-color: #003e52 !important;
  outline: 0;
  -webkit-box-shadow:
    inset 0 1px 1px rgba(000, 62, 82, 0.4),
    0 0 8px rgba(000, 62, 82, 0.4);
  box-shadow:
    inset 0 1px 1px rgba(000, 62, 82, 0.4),
    0 0 8px rgba(000, 62, 82, 0.4);
}

.vacancy-link {
  font-size: 0.9rem;
}
.big-link {
  font-size: 1.6rem;
}

@media screen and (min-width: 768px) {
  .vacancy-link,
  .big-link {
    font-size: 1.6rem;
  }
}

.big-link {
  color: #fff;
  background-color: #009ff7;
  border-color: #009ff7;
}

.big-link a {
  color: #fff;
}

.big-link a:hover {
  color: #003e52;
}

/* ========  CRAFT CMS - 'Freeform' plugin stuff ======= */

.form-group button {
  color: #fff !important;
  background-color: #003e52 !important;
  border-color: #003e52 !important;
  border-radius: 5px;
  padding: 3px 15px 5px;
  margin-top: 2rem;
  font-size: 1.2rem;
}
@media screen and (min-width: 768px) {
  .form-group button {
    width: 40%;
  }
}

.form-group button:focus,
.form-group button.focus {
  color: #fff;
  background-color: #009ff7;
  border-color: #009ff7;
  -webkit-box-shadow:
    inset 0 1px 1px rgba(000, 62, 82, 0.4),
    0 0 8px rgba(000, 62, 82, 0.4);
  box-shadow:
    inset 0 1px 1px rgba(000, 62, 82, 0.4),
    0 0 8px rgba(000, 62, 82, 0.4);
}
.form-group button:hover {
  color: #fff;
  background-color: #009ff7;
  border-color: #009ff7;
}
.form-group button:active,
.form-group button:active:focus {
  color: #fff;
  background-color: #009ff7;
  border-color: #009ff7;
}

/*********************************************************
 *
	 *	 N E W S   &   I N S I G H T S
 *
 *********************************************************/

.cat-gallery {
  padding-right: 0;
  padding-left: 0 !important;
}

.cat-gallery .col-md-4 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.cat-gallery .col-md-4:nth-child(3n + 0) {
  padding-right: 15px !important;
}

.vacancy-cat .col-md-12 {
  margin-bottom: 2rem;
}
.vacancy-cat a:hover {
  color: #009ff7 !important;
}
.vacancy-cat h2 {
  margin-bottom: 2rem;
  margin-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #ccc;
}

.vacancy-cat table {
  font-size: 1.3em;
}

table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: 0.5em 0 0.75em;
}

table tr {
  /* background-color: #f8f8f8; */
  /* background-color: rgba(000, 159, 247, 0.11); */
  border: 1px solid #ddd;
  padding: 0.35em;
}

table th,
table td {
  padding: 0.625em;
  /* text-align: center; */
}

table th {
  /* font-size: .85em; */
  /* letter-spacing: .1em; */
  /* text-transform: uppercase; */
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }

  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }

  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    /* text-align: right; */
    text-align: left;
  }

  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  table td:last-child {
    border-bottom: 0;
  }
}

/* ======  SEARCH RESULTS ============================ */

/* #search {
	margin-bottom: 2.0rem;
	width: 50%;
	font-size: 1.2rem;
}
@media screen and (min-width: 768px){
	#search {
	width: 25%;
	}
}  */

/*  15 SEPT 2023 - fix totally broken layout by commenting out all that stuff above… */

@media screen and (min-width: 768px) {
  #search {
    width: 100% !important;
  }

  .vc-link h4 a:hover {
    color: #009ff7 !important;
  }

  .vc-link p {
    font-size: 0.95rem;
  }

  /* #vacancies h1 {
	font-size: 2.0rem;
} */

  .key-information {
    background-color: rgba(000, 159, 247, 0.11);
    padding: 2rem 2rem 2.5rem;
  }
  .key-information .key-item {
    padding-right: 0.5rem;
  }

  .key-information button {
    font-size: 1.2rem;
  }

  #apply h2 {
    padding-bottom: 2rem;
    border-bottom: 2px solid #ccc;
  }

  .vacancy h3 {
    margin-bottom: 2rem;
    margin-top: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;
  }

  .djd-link {
    margin-top: 4rem;
    margin-bottom: 4rem;
    border: 1px solid #ccc;
    padding: 2rem 2rem 1.3rem;
  }
  .djd-link .key-item {
    padding-right: 0.5rem;
  }

  .cat-gallery a:hover {
    text-decoration: none;
    color: #009ff7 !important;
  }

  .cat-gallery h2 {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ccc;
  }

  @media only screen and (max-width: 600px) {
    .t-step {
      float: left;
      position: relative;
    }
    #category .cat-gallery .col-md-4 {
      /* 2 column layout for category gallery on mobile */
      float: left;
      position: relative;
      width: 50%;
      min-height: 280px;
      padding-bottom: 0 !important;
    }
  }

  .thumbnail {
    padding: 0;
    /* margin-bottom: 20px; */
    margin: 0 0 10px;
  }

  .caption a:hover {
    color: #009ff7 !important;
  }

  @media only screen and (max-width: 600px) {
    .cat-gallery .thumbnail {
      /* border-bottom: 1px solid #999; */
      border: none;
      border-radius: 0;
    }
  }

  @media screen and (min-width: 992px) {
    /* ---- TO DO:  test & apply matchHeight JS…??? ---- */
    .cat-gallery .thumbnail {
      /* min-height: 315px; */
      min-height: 325px; /* ---- fixed height for 3 rows text --- */
      padding-bottom: 0 !important;
      border: none;
      border-radius: 0;
    }
    body.news .cat-gallery .thumbnail {
      min-height: 400px; /* ---- fixed height for 4 rows text --- */
    }
    body.projects .cat-gallery .thumbnail {
      min-height: 320px; /* ---- fixed height for 2 rows text --- */
    }
    body.oem .cat-gallery .thumbnail {
      min-height: 260px; /* ---- fixed height for 1 row text --- */
    }
    .caption {
      padding-bottom: 0 !important;
    }
  }

  .caption {
    padding-left: 0 !important;
  }

  .caption h5 {
    /* font-weight: bold; */
    color: #3d3f44;
    font-size: 1rem;
  }
  .caption p {
    font-size: 0.9rem;
  }

  .return {
    width: 100%;
    border-top: 1px solid rgba(97, 85, 62, 0.4);
    padding: 1em 0;
    margin-top: 4em;
  }

  article img {
    margin-bottom: 2rem;
  }

  #signup {
    color: #767676;
    /* border: 1px solid #ddd; */
    /* border-radius: 4px; */
    -webkit-transition: border 0.2s ease-in-out;
    -o-transition: border 0.2s ease-in-out;
    transition: border 0.2s ease-in-out;
    padding: 0;
    margin-top: 40px;
  }

  @media screen and (min-width: 768px) {
    #signup {
      margin-top: 0;
    }
    body#home #signup {
      margin-top: 40px;
    }
  }

  @media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
    #signup-box {
      float: left;
      margin-bottom: 2rem;
    }
  }
  /* iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) */
  @media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1366px) and (max-width: 1366px) {
    #signup-box {
      float: left;
      margin-bottom: 2rem;
    }
  }

  #signup-submit {
    background: #003e52;
    border: 1px solid #003e52;
    color: #fff;
    text-transform: uppercase;
  }

  @media screen and (min-width: 992px) {
    #fieldEmail {
      width: 10.5rem;
      padding-left: 0.5rem;
    }
  }

  .article-date {
    color: #3d3f44;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  .document-list {
    list-style: none;
  }

  @media screen and (min-width: 768px) {
    .historical {
      margin-bottom: 0;
      /* min-height: 400px; */
      min-height: 500px;
      /* border-bottom: 1px solid rgba(97, 85, 62, 0.4); */
    }
    .cat-gallery .col-md-4.historical {
      padding: 0 30px 0 0 !important;
    }
    .cat-gallery .col-md-4.historical:nth-child(3n + 0) {
      padding-right: 0;
    }
  }
}
@media screen and (min-width: 768px) {
  .historical .caption {
    /* border: 1px solid rgba(97, 85, 62, 0.4); */
    position: relative;
    padding: 0 20px 0 0 !important;
  }
}
.historical .caption h5 {
  padding: 8px 8px;
  background-color: rgba(000, 62, 82, 100);
  font-size: 1.25rem;
  color: white;
}
.historical .caption p {
  font-size: 1.05rem;
}

.historical .thumbnail {
  padding: 0 !important;
  min-height: 0;
}

/*********************************************************
 *
 *	 W E B    F O N T S  -   I  C  O  M  O  O  N
 *
 *********************************************************/

/* Note: this just re-uses the CP Electronics Group set */

@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?zg8m1f");
  src:
    url("../fonts/icomoon.eot?zg8m1f#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.woff2?zg8m1f") format("woff2"),
    url("../fonts/icomoon.ttf?zg8m1f") format("truetype"),
    url("../fonts/icomoon.woff?zg8m1f") format("woff"),
    url("../fonts/icomoon.svg?zg8m1f#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-minus:before {
  content: "\e91a";
  /* font-size: 1.5rem; */
}
.icon-plus:before {
  content: "\e91b";
  /* font-size: 1.5rem; */
}

.icon-facebook-with-circle:before {
  content: "\e901";
}
.icon-google-with-circle:before {
  content: "\e902";
}
.icon-linkedin-with-circle:before {
  content: "\e903";
}
.icon-twitter-with-circle:before {
  content: "\e904";
}
.icon-youtube-with-circle:before {
  content: "\e905";
}
.icon-vimeo-with-circle:before {
  content: "\e926";
}
.icon-home2:before {
  content: "\e900";
}
.icon-location2:before {
  content: "\e948";
}
.icon-download:before {
  content: "\e960";
}
.icon-menu:before {
  content: "\e9bd";
}
.icon-link:before {
  content: "\e9cb";
}
.icon-youtube2:before {
  content: "\ea97";
}
.icon-file-pdf:before {
  content: "\eada";
  padding-right: 3px;
}
.icon-search:before {
  content: "\f002";
}
.icon-envelope-o:before {
  content: "\f003";
}
.icon-close:before {
  content: "\f00d";
}
.icon-remove:before {
  content: "\f00d";
}
.icon-times:before {
  content: "\f00d";
}
.icon-home:before {
  content: "\f015";
}
.icon-play-circle-o:before {
  content: "\f01d";
}
.icon-play:before {
  content: "\f04b";
}
.icon-arrow-left:before {
  content: "\f060";
}
.icon-arrow-right:before {
  content: "\f061";
}
.icon-arrow-up:before {
  content: "\f062";
}
.icon-arrow-down:before {
  content: "\f063";
}
.icon-chevron-up:before {
  content: "\f077";
}
.icon-chevron-down:before {
  content: "\f078";
}
.icon-twitter:before {
  content: "\f099";
}
.icon-facebook:before {
  content: "\f09a";
}
.icon-facebook-f:before {
  content: "\f09a";
}
.icon-bars:before {
  content: "\f0c9";
}
.icon-navicon:before {
  content: "\f0c9";
}
.icon-reorder:before {
  content: "\f0c9";
}
.icon-google-plus:before {
  content: "\f0d5";
}
.icon-sort:before {
  content: "\f0dc";
}
.icon-unsorted:before {
  content: "\f0dc";
}
.icon-envelope:before {
  content: "\f0e0";
}
.icon-linkedin:before {
  content: "\f0e1";
}
.icon-chevron-circle-up:before {
  content: "\f139";
}
.icon-chevron-circle-down:before {
  content: "\f13a";
}
.icon-youtube:before {
  content: "\f167";
}

/* ======  L O C A T I O N   M A P  ============================ */

.map-wrapper {
  margin-bottom: 2rem;
}
@media screen and (min-width: 768px) {
  .map-wrapper {
    margin: 0;
  }
}

.map {
  position: relative;
  max-width: 1200px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.map__img {
  display: none;
}

/* @media only screen  and (min-device-width : 768px) /* iPad landscape
 and (max-device-width : 1024px)
 and (orientation : landscape) {
 	.map {
 	  float: right;
 	  max-width: 500px;
 	  width: 50%;
 	  margin-top: -50px;
 	  margin-right: 50px;
 	  border: 1px solid red;
 	}
 	.map-links{
 		border: 1px solid red;
 		width: 40%;
 	}
 } */

#ardley {
  left: 53.5%;
  /* top: 21.5%; */
  /* top: 56.5%; */
  top: 47.3%;
}
#hinton {
  left: 51.5%;
  /* top: 21.5%; */
  /* top: 56.5%; */
  top: 59.3%;
}
#wallingford-ad {
  left: 59.975%;
  /* top: 38.5%; */
  /* top: 74.5%; */
  top: 62.75%;
}
#wallingford-cs {
  left: 61.5%;
  /* top: 38.5%; */
  /* top: 74.5%; */
  top: 62.75%;
}
#west-london {
  left: 66.5%;
  /* top: 51.25%; */
  /* top: 86.55%; */
  top: 68.5%;
}
#north-london {
  left: 70.5%;
  /* top: 28.5%; */
  /* top: 63.5%; */
  top: 53.5%;
}
#south-mimms {
  left: 71.5%;
  /* top: 29.25%; */
  /* top: 64.25%; */
  top: 54.25%;
}
#south-wales {
  left: 23.2%;
  /* top: 38.85%; */
  /* top: 74.3%; */
  top: 62.75%;
}
#cassington {
  left: 54%;
  /* top: 34.25%; */
  /* top: 69.5%; */
  top: 52.7%;
}
#showell {
  left: 50%;
  /* top: 21.5%; */
  /* top: 56.5%; */
  top: 47.25%;
}
#derby {
  left: 54.85%;
  /* top: 15.5%; */
  top: 13%;
}
#stoke-bardolph {
  left: 59%;
  /* top: 15.5%; */
  top: 10%;
}
#w-birmingham {
  left: 44.85%;
  /* top: 34.5%; */
  top: 30.5%;
}
#e-birmingham {
  left: 49.5%;
  /* top: 30.5%; */
  top: 27.5%;
}
#st-head-office {
  left: 51.975%;
  top: 49.75%;
}

.map__inner {
  position: relative;
  height: 0;
  /* padding-bottom: 52.91666666666667%;  agrivert version */
  padding-bottom: 62.91666666666667%;
}

.map__img {
  display: block;
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.map__hotspot {
  display: block;
  /* background: #ffd200; */
  /* border: 10px solid red; */
  border: none;
  cursor: pointer;
  -webkit-transition: background 0.3s linear;
  transition: background 0.3s linear;
  text-decoration: none;
  /* color: #011852; */
  position: absolute;
  /* width: 10px;
    height: 10px; */
  width: 5px;
  height: 5px;
  border-radius: 50%;
  /* background: url(../svg/agrivert-icon.svg) no-repeat; */
  font-size: 0.8rem;
}
span.ivc {
  color: #003e52;
}
span.other {
  color: #87189a;
}

@media screen and (min-width: 768px) {
  .map__hotspot {
    /* width: 30px;
  		height: 30px; */
    width: 18px;
    height: 18px;
    font-size: 1.3rem;
  }
}
/* .map__hotspot:hover,
.map__hotspot:focus {
  background: rgba(109, 141, 36, .15);
   border: 2px solid rgb(109, 141, 36);
} */
.popup {
  display: none;
}
@media screen and (min-width: 768px) {
  .popup {
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    z-index: 100;
  }
}

.popup__inner {
  display: inline-block;
  white-space: nowrap;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  padding: 15px;
}
/* popup__inner h3 {
} */
.map__hotspot:hover .popup,
.map__hotspot:focus .popup {
  opacity: 1;
  width: auto;
  height: auto;
}
.popup--left-top {
  /* right: 20px; */
  right: 5px;
  bottom: -1px;
}
.popup--right-top {
  left: 20px;
  bottom: -1px;
}
.popup--left-bottom {
  right: 20px;
  top: -1px;
}
.popup--right-bottom {
  left: 20px;
  top: -1px;
}
.popup__text,
.popup__text__link {
  height: auto;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.popup__text__link {
  margin-top: 0.3rem;
  margin-bottom: 0.4rem;
}
.popup__title {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 5px !important;
}
.popup__text br {
  display: block;
}

#map-link {
  background-color: transparent;
  border: none;
  color: #009ff7;
  padding: 0;
  margin: 0;
}

/* ======  P A G I N A T I O N ============================ */

.pagination {
  /* background-color: rgba(97, 85, 62, 0.05); */
  padding: 1rem;
  border-radius: 0;
  margin-left: 15px;
  border-top: 1px solid rgba(97, 85, 62, 0.4);
}

@media screen and (min-width: 768px) {
  .pagination {
    float: right;
  }
}
@media only screen and (min-device-width: 768px) /* iPad landscape */ and (max-device-width: 1024px) and (orientation: landscape) {
  .pagination {
    float: left;
    position: relative;
    width: 95%;
  }
}

/* iPad Pro 12.9 landscape - method #2 (non-viable in emmulator?) */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1366px) and (max-width: 1366px) {
  .pagination {
    float: right;
    position: relative;
    width: 74%;
  }
}

.pagelinkleft {
  padding-right: 15px;
}
.pagelinkright {
  padding-left: 15px;
}

/* .current {
  font-weight: bold;
} */

@media screen and (min-width: 768px) {
  .team {
    /* min-height: 1330px !important; */
    min-height: 1180px !important;
  }
}

.team img {
  margin-bottom: 1.5em;
  border-bottom: 6px solid #009ff7;
}

.featured {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
}

/* ====== R I C H    T E X T   V I D E O    E M B E D S  ============================ */

/* ======  F O O T E R  ============================ */

footer {
  border-top: 1px solid rgba(000, 62, 82, 0.4);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  font-family: urw-din, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.list-row {
  padding: 0;
}
.list-row li {
  display: inline;
  margin-left: 0;
  list-style: none;
  font-size: 2rem;
  margin-right: 5px;
}

.list-row li a {
  color: rgba(000, 159, 247, 1);
}
.list-row li a:hover {
  text-decoration: none;
  color: rgba(000, 62, 82, 1);
}

@media screen and (min-width: 768px) {
  .bpanel {
    min-height: 400px;
  }
}

.benefit-icon {
  max-height: 9rem;
  margin-bottom: 2rem;
}
