/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles (Roger at SnowDayCode.com) 
   2020 Edits by BJ at CKP
   ========================================================================== */
html,
body {
  height: 100%;
  text-align: center;
  color: #323232;
}

@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/brandon-grotesque-reg.woff2") format("woff2"),
    url("../fonts/brandon-grotesque-reg.woff") format("woff"),
    url("../fonts/brandon-grotesque-reg.ttf") format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/brandon-grotesque-light.woff2") format("woff2"),
    url("../fonts/brandon-grotesque-light.woff") format("woff"),
    url("../fonts/brandon-grotesque-light.ttf") format("truetype");
  font-weight: light;
}

@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/brandon-grotesque-bold.woff2") format("woff2"),
    url("../fonts/brandon-grotesque-bold.woff") format("woff"),
    url("../fonts/brandon-grotesque-bold.ttf") format("truetype");
  font-weight: bold;
}

h1,
h2,
h3,
h4 {
  font-family: "Brandon Grotesque", sans-serif;
  margin-top: 0;
  word-break: keep-all;
}
h1 {
  color: #77db00;
  font-size: 44px;
  line-height: 52px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 25px;
}
h2 {
  font-size: 36px;
  line-height: 42px;
  text-transform: uppercase;
  margin-bottom: 35px;
  font-weight: bold;
  color: #3e1151;
}
h3 {
  font-size: 21px;
  line-height: 30px;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: bold;
}
h4 {
  font-size: 18px;
  line-height: 22px;
  text-transform: uppercase;
  color: #3e1151;
}
p {
  font-family: "proxima-nova", sans-serif;
  font-size: 16px;
  line-height: 22px;
}
.full {
  width: 100%;
}

/* ============================================= Start Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  z-index: 3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media only screen and (max-width: 960px) {
  .logo a img {
    width: 175px;
  }
}
@media only screen and (max-width: 960px) {
  .header {
    height: 80px;
    background-color: rgba(62, 17, 81, 0.95);
    box-shadow: none;
  }
}
@media only screen and (min-width: 768px) {
  .header {
    height: 80px;
    box-shadow: none;
  }
}
@media only screen and (min-width: 960px) {
  .header {
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .header.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -80px;
    background-color: rgba(62, 17, 81, 0.95);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }
  .header.is-visible {
    /* if the user changes the scrolling direction, we show the header */
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    background-color: rgba(62, 17, 81, 0.95);
  }
}

.logo {
  display: block;
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0.875em;
}
.logo img {
  display: block;
  height: 100%;
}
@media only screen and (min-width: 768px) {
  .logo {
    left: 2.6em;
  }
}

.primary-nav-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100px;
  padding-left: 1em;
  background-color: transparent;
}

.primary-nav-trigger .menu-icon {
  /* this span is the central line of the menu icon */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: white;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
  /* these are the upper and lower lines in the menu icon */
}
.primary-nav-trigger .menu-icon::before,
.primary-nav-trigger .menu-icon:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: white;
  right: 0;
  -webkit-transition: -webkit-transform 0.3s, top 0.3s, background-color 0s;
  -moz-transition: -moz-transform 0.3s, top 0.3s, background-color 0s;
  transition: transform 0.3s, top 0.3s, background-color 0s;
}
.primary-nav-trigger .menu-icon::before {
  top: -5px;
}
.primary-nav-trigger .menu-icon::after {
  top: 5px;
}
.primary-nav-trigger .menu-icon.is-clicked {
  background-color: rgba(255, 255, 255, 0);
}
.primary-nav-trigger .menu-icon.is-clicked::before,
.primary-nav-trigger .menu-icon.is-clicked::after {
  background-color: white;
}
.primary-nav-trigger .menu-icon.is-clicked::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.primary-nav-trigger .menu-icon.is-clicked::after {
  top: 0;
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}
.primary-nav {
  /* by default it's hidden - on top of the viewport */
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(62, 17, 81, 0.95);
  z-index: 2;
  text-align: center;
  padding: 80px 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: auto;
  /* this fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.primary-nav li {
  font-size: 23px;
  font-size: 1.375rem;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0.2em 0;
  text-transform: capitalize;
}
.primary-nav a,
.primary-nav a:active,
.primary-nav a:visited {
  display: inline-block;
  padding: 0.4em 1em;
  -webkit-transition: background 0.2s;
  -moz-transition: background 0.2s;
  transition: background 0.2s;
  font-family: "Brandon Grotesque", sans-serif;
  border: 3px solid transparent;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}
.no-touch .primary-nav a:hover,
.no-touch .primary-nav a.active {
  border: 3px solid #ffffff;
  text-decoration: none;
}
.primary-nav .label {
  color: #06446e;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  font-size: 0.875rem;
  margin: 2.4em 0 0.8em;
}
.primary-nav.is-visible {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (min-width: 768px) {
  .primary-nav {
    padding: 80px 0;
  }
}
@media only screen and (min-width: 960px) {
  .primary-nav li {
    font-size: 30px;
    font-size: 1.875rem;
  }
  .primary-nav .label {
    font-size: 16px;
    font-size: 1rem;
  }
}
/* ============================================= End Nav */

/* ============================================= Start Footer */
.prefooter,
footer .prefooter {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #3e1151; /* 80% */
}
footer .copyright {
  background-color: #323232; /* 80% */
  padding-top: 15px;
  padding-bottom: 15px;
  color: #ffffff;
}
footer .copyright p {
  font-family: "Brandon Grotesque", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 14px;
  margin-bottom: 0;
  letter-spacing: 1px;
}
footer .copyright a {
  color: #77db00;
}
@media only screen and (max-width: 768px) {
  footer .button {
    margin-bottom: 25px;
  }
  footer .prefooter {
    padding-bottom: 25px;
  }
}
/* ============================================= End Footer */

/* ============================================= Start 404 */
.intro.errorpage {
  background: url("../img/images/6_404/404_hero_1540x600.png") top center
    no-repeat rgba(62, 17, 81, 0.95);
  height: 600px;
  /*
  padding-top: 175px;
  padding-bottom: 100px;
*/
}
.errorpage .introrow {
  height: 600px;
}
.errorpage .introcol {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
@media all and (-webkit-min-device-pixel-ratio: 2),
  (-o-min-device-pixel-ratio: 2/1),
  (min--moz-device-pixel-ratio: 2),
  (min-device-pixel-ratio: 2) {
  .intro.errorpage {
    background-image: url("../img/images/6_404/404_hero_1540x600@2x.png");
    background-size: 1540px 600px;
  }
}
/* ============================================= End 404 */

/* ============================================= Start Homepage */
.intro.home {
  background: url("../img/images/1_Home/home_hero_1540x500.png") top center
    no-repeat rgba(62, 17, 81, 0.95);
  height: 400px;
  padding-top: 125px;
  padding-bottom: 100px;
}
@media all and (-webkit-min-device-pixel-ratio: 2),
  (-o-min-device-pixel-ratio: 2/1),
  (min--moz-device-pixel-ratio: 2),
  (min-device-pixel-ratio: 2) {
  .intro.home {
    background-image: url("../img/images/1_Home/home_hero_1540x500@2x.png");
    background-size: 1540px 500px;
  }
}


@media only screen and (max-width: 576px) {
  .intro.home {
    background: url("../img/images/1_Home/home_hero_1540x500.png") top center
      no-repeat rgba(62, 17, 81, 0.95);
    height: 500px;
    padding-top: 125px;
    padding-bottom: 100px;
  }
  .intro.home h1 {
    font-size: 40px;
    line-height: 42px;
    margin-bottom: 15px;
  }
  .intro.home p {
    font-size: 14px;
    font-size: 16px;
    margin-bottom: 15px;
  }
  .intro.home .button {
    font-size: 14px;
  }
}

.intro p {
  color: #ffffff;
  font-weight: lighter;
  font-size: 20px;
  line-height: 25px;
  margin-bottom: 30px;
}
a.button,
a.button:active,
a.button:visited,
button.button,
span.button {
  display: inline-block;
  font-family: "Brandon Grotesque", sans-serif;
  text-transform: uppercase;
  font-size: 24px;
  background-color: transparent;
  padding: 7px 25px;
}
a.button:hover,
button.button:hover {
  font-family: "Brandon Grotesque", sans-serif;
  text-decoration: none;
}
a.button.white {
  border: 1px solid #ffffff;
  color: #ffffff;
}
a.button.white:hover {
  background-color: #ffffff;
  color: #3e1151;
}
a.button.dark,
button.button {
  background-color: #77db00;
  color: #3e1151;
  font-weight: bold;
  /* border: 1px solid #00B6FF; */
}
a.button.dark:hover,
button.button:hover {
  background-color: #00b6ff;
  border: 1px solid #00b6ff;
  color: #ffffff;
}
a.button.blockbtngreen,
span.button.blockbtngreen {
  background-color: #00b6ff;
  border: 1px solid transparent;
  color: #ffffff;
  font-size: 14px;
}
a.button.blockbtngreen:hover {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  color: #00b6ff;
  font-size: 14px;
}
a.button.blockbtn,
span.button.blockbtn {
  background-color: #00b6ff;
  border: 1px solid transparent;
  color: #ffffff;
  font-size: 14px;
}
a.button.blockbtn:hover {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  color: #00b6ff;
  font-size: 14px;
}

.maincontent {
  margin-top: 75px;
  margin-bottom: 75px;
}
.maincontent p {
  margin-bottom: 50px;
  font-size: 20px;
  line-height: 25px;
}

.blockswrapper {
  background-color: #3e1151;
  padding-top: 25px;
  background-image: url(../img/images/Arrow-1540x959.png);
  background-size: 1540px 959px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
}

.blockswrapper .block {
  background-color: #ffffff;
  padding: 45px 45px 0px 45px;
  margin-bottom: 25px;
}
.blockswrapper .block p {
  margin-bottom: 40px;
}
/* ============================================= End Homepage */

/* ============================================= Start About */
.intro.about {
  background: url("../img/images/2_About/about_hero_1540x400.png") top center
    no-repeat rgba(62, 17, 81, 0.95);
  height: 400px;
  padding-top: 100px;
  padding-bottom: 100px;
  /*
  padding-top: 125px;
  padding-bottom: 100px;
*/
}
.intro.about .introcol {
  /* height: 400px; */
  /* position: relative;
  top: 50%;
  transform: translateY(-50%); */
}
/* .intro.about h1{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
} */
.intro.about p {
  color: #ffffff;
  font-weight: lighter;
  font-size: 20px;
  line-height: 22px;
  /* margin-bottom: 30px; */
}
@media all and (-webkit-min-device-pixel-ratio: 2),
  (-o-min-device-pixel-ratio: 2/1),
  (min--moz-device-pixel-ratio: 2),
  (min-device-pixel-ratio: 2) {
  .intro.about {
    background-image: url("../img/images/2_About/about_hero_1540x400@2x.png");
    background-size: 1540px 400px;
  }
}
@media only screen and (max-width: 768px) {
  .intro.about h1 {
    font-size: 40px;
    line-height: 42px;
    margin-bottom: 15px;
  }
  .intro.about p {
    font-size: 14px;
    font-size: 16px;
    margin-bottom: 15px;
  }
  .intro.about .button {
    font-size: 14px;
  }
}

.quoteblock {
  background-color: #ffffff;
  padding: 45px 45px 0px 45px;
}
.quoteblock h3 {
  text-transform: none;
}
.quotewrapper {
  padding-bottom: 25px;
}
.quote img {
  display: block;
}
.quote.left img {
  float: right;
}
.quote.right img {
  float: left;
}
@media only screen and (max-width: 768px) {
  .quote.right {
    margin-top: 5px;
  }
  .quote.left {
    margin-bottom: 5px;
  }
}

.biocontainer {
  margin-top: 25px;
}
.bio:hover {
  cursor: pointer;
}
.bio img {
  width: 100%;
  max-width: 390px;
  margin-bottom: 0;
}
.bio h4 {
  margin-bottom: 0;
  padding-bottom: 15px;
  padding-top: 15px;
}
.bio h4 a,
.bio h4 a:active,
.bio h4 a:visited {
  color: #3e1151;
  text-decoration: none;
}
.bio h4 a:hover {
  color: #323232;
  text-decoration: none;
}
.bio p {
  font-size: 14px;
  line-height: 16px;
  padding-bottom: 15px;
  margin-bottom: 0;
  border-bottom: 1px solid #3e1151;
}
@media only screen and (max-width: 768px) {
  .bio p {
    border-bottom: none;
  }
  .bio.active h4,
  .bio.active p {
    background-color: #ffffff;
  }
  .bio.active h4 a {
    color: #323232;
  }
  .bio.active p {
    color: #323232;
  }
  .biotext {
    display: none;
  }
}
.bio.active h4,
.bio.active p {
  background-color: #323232;
}
.bio.active h4 {
  color: #ffffff;
}
.bio.active p {
  color: #ffffff;
}
.maincontent.about.activebio {
  margin-bottom: 0;
}
.maincontent.about.activebio .bio p {
  border-bottom: none;
}

.biotext {
  display: none;
  background-color: #323232;
  padding-top: 50px;
  padding-bottom: 50px;
}
.biotext p {
  color: #ffffff;
}

.numberswrapper {
  background: url("../img/images/2_About/about_num_1540x230.jpg") top center
    no-repeat rgba(62, 17, 81, 0.95);
  height: 230px;
}
@media all and (-webkit-min-device-pixel-ratio: 2),
  (-o-min-device-pixel-ratio: 2/1),
  (min--moz-device-pixel-ratio: 2),
  (min-device-pixel-ratio: 2) {
  .numberswrapper {
    background-image: url("../img/images/2_About/about_num_1540x230@2x.jpg");
    background-size: 1540px 230px;
  }
}
.numblockcontainer {
  height: 230px;
}
.numblock {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  float: left;
}
@media only screen and (max-width: 768px) {
  .numblockcontainer {
    padding-top: 20px;
  }
  .numblock {
    position: relative;
    top: 0;
    transform: none;
  }
}
.numberswrapper .number {
  font-family: sans-serif;
  font-size: 50px;
  color: #ffffff;
  margin-bottom: 15px;
}
.numberswrapper p {
  color: #ffffff;
  font-size: 18px;
  font-family: "Brandon Grotesque", sans-serif;
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight: lighter;
}
@media only screen and (max-width: 768px) {
  .numberswrapper .number {
    font-size: 40px;
  }
}
/* ============================================= End About */

/* ============================================= Start Services */

strong.arrow {
  color: #77db00;
}
.intro.services {
  background: url("../img/images/3_Services/services_hero_1540x985.png") top
    center no-repeat rgba(62, 17, 81, 0.95);
  height: 665px;
  padding-top: 20px;
  padding-bottom: 100px;
  margin-bottom: 10px;
}
@media all and (-webkit-min-device-pixel-ratio: 2),
  (-o-min-device-pixel-ratio: 2/1),
  (min--moz-device-pixel-ratio: 2),
  (min-device-pixel-ratio: 2) {
  .intro.services {
    background-image: url("../img/images/3_Services/services_hero_1540x985@2x.png");
    background-size: 1540px 985px;
    height: 425px;
  }
}
.mapcontainer {
  margin-top: 75px;
}

.maincontent.services h3 {
  font-size: 25px;
}
.maincontent.industries h3 {
  font-size: 25px;
  color: #00b6ff;
}

.maincontent.industries p {
  font-size: 30px;
  line-height: 34px;
}

.maincontent.services.industries.container {
  background-color: #77db00;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
}

.maincontent.industries {
  font-size: 16px;
}

.maincontent.services p {
  margin-bottom: 50px;
}

figure.serviceblock {
  text-decoration: none;
  background-color: #3e1151;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
  height: 300px;
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

figure.contentblock {
  text-decoration: none;
  background-color: #3e1151;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 20px;
  height: 300px;
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

figure.serviceblock img {
  opacity: 0.95;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: scale3d(1.05, 1.05, 1);
  transform: scale3d(1.05, 1.05, 1);
}
figure.serviceblock figcaption::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  content: "";
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
  -webkit-transform: scale3d(3, 1.4, 1) rotate3d(0, 0, 1, 45deg)
    translate3d(0, -120%, 0);
  transform: scale3d(3, 1.4, 1) rotate3d(0, 0, 1, 45deg)
    translate3d(0, -120%, 0);
}
figure.serviceblock h3,
figure.contentblock h3 {
  font-size: 25px;
  color: #77db00;
}
figure.serviceblock p {
  color: #ffffff;
  position: absolute;
  text-align: center;
  left: 0;
  bottom: 25px;
  padding: 0 50px;
  max-width: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}
figure.contentblock p {
  color: #ffffff;
  /* position: absolute; */
  text-align: center;
  left: 0;
  bottom: 25px;
  padding: 0 30px;
  max-width: 100%;
  font-size: 18px;
}
@media only screen and (max-width: 768px) {
  figure.serviceblock h3,
  figure.contentblock h3 {
    font-size: 35px;
    color: #77db00;
  }
  .maincontent.services h3 {
    font-size: 24px;

  }
}
@media only screen and (max-width: 960px) {
  .maincontent.services figure.serviceblock figcaption p {
    bottom: 0;
    padding: 0 25px;
    margin-bottom: 25px;
  }
  .figure.serviceblock {
    padding-bottom: 25px;
    padding-top: 25px;
  }
}
figure.serviceblock:hover {
  background-color: rgba(62, 17, 81, 1);
}
figure.serviceblock:hover img {
  opacity: 0;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}
figure.serviceblock:hover figcaption::before {
  -webkit-transform: scale3d(3, 1.4, 1) rotate3d(0, 0, 1, 45deg)
    translate3d(0, 100%, 0);
  transform: scale3d(3, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 110%, 0);
}
figure.serviceblock:hover p {
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.mapcontainer {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}
.mapcontainer img {
  max-width: 100%;
  height: 100%;
}
.mapcontainer .nib {
  position: absolute;
  height: 31px;
}
.mapcontainer .nib::after {
  content: " ";
  opacity: 0;
  position: absolute;
  top: 31px;
  left: 50%;
  width: 1px;
  height: 600px;
  background-color: #ffffff;
}
.mapcontainer .active.nib::after {
  opacity: 1;
}
.mapcontainer .nib.tx {
  top: 50%;
  left: 32%;
}
.mapcontainer .nib.ar {
  top: 20%;
  left: 55%;
}
.mapcontainer .nib.la {
  top: 46%;
  left: 56%;
}
.mapcontainer .nib.tn {
  top: 8%;
  left: 79%;
}
.mapcontainer .nib.ok {
  top: 15%;
  left: 38%;
}
.mapcontainer .nib.ms {
  top: 34%;
  left: 68%;
}

.maptextcontainer {
  margin-top: 10px;
}
.maptextcontainer .maptext {
  display: none;
}
.maptextcontainer .maptext p {
  font-family: "Brandon Grotesque", sans-serif;
  text-transform: uppercase;
}
.maptextcontainer .maptext.active {
  display: block;
}
.maptextcontainer .maptext.tn {
  float: right;
}
.maptextcontainer .maptext.tn p {
  margin-left: -250px;
}
.maptextcontainer .maptext.ms {
  margin-right: -350px;
}
.maptextcontainer .maptext.ar {
  margin-left: 100px;
}
.maptextcontainer .maptext.ok {
  margin-left: -100px;
}

@media only screen and (max-width: 960px) {
  .mapcontainer .nib.tn {
    top: 8%;
    left: 79%;
  }
}
@media only screen and (max-width: 768px) {
  .mapcontainer .nib::after {
    top: 21px;
  }
  .mapcontainer .nib,
  .mapcontainer .nib.active {
    width: 20px;
    height: 20px;
  }
  .mapcontainer .nib.tx {
    top: 45%;
  }
  .mapcontainer .nib.tn {
    top: 5%;
  }
  .mapcontainer .nib.la {
    top: 44%;
    left: 58%;
  }
  .mapcontainer .nib.ar {
    top: 15%;
    left: 52%;
  }
  .mapcontainer .nib.ok {
    top: 12%;
  }
  .maptextcontainer .maptext.ms {
    margin-right: -200px;
  }
}
/* 
figure.contentblock li:hover::before {
  -webkit-transform: none;
  transform: none;
  border-radius: 5px;
  width: 25px;
  left: -10px;
  background: #BA5353;
}


figure.contentblock li:hover {
  color: #FFF;
} */

@media only screen and (max-width: 768px) {
  figure.contentblock li {
    list-style: none;
    font-size: 24px;
    text-align: left;
    color: #fff;
    position: relative;
    padding: 0 0 0 1em;
    margin: 0 0 0.5em 10px;
    -webkit-transition: 0.12s;
    transition: 0.12s;
    display: list-item;
    /* text-align: -webkit-match-parent; */
  }
}

figure.contentblock li {
  list-style: none;
  text-align: left;
  color: #fff;
  position: relative;
  padding: 0 0 0 1em;
  margin: 8px 0 0em -10px;
  -webkit-transition: 0.12s;
  transition: 0.12s;
  display: list-item;
  /* text-align: -webkit-match-parent; */
}

figure.contentblock ul {
  width: 85%;
  text-align: center;

  /* list-style-type: disc; */
}

/* 
figure.contentblock li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: #FFF;
  border-radius: 3px;
  line-height: 0;
  top: .27em;
  left: 5px;
} */

figure.contentblock li::before {
  position: absolute;
  content: "\2022";
  /* font-family: Arial; */
  color: #77db00;
  top: 0;
  left: 0;
  text-align: center;
  font-size: 2em;
  /* opacity: .5; */
  line-height: 0.75;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

/* ============================================= End Services */

/* ============================================= Start Contact */
.intro.contact {
  background: url("../img/images/4_Contact/contact_hero_1540x400.png") top
    center no-repeat rgba(62, 17, 81, 0.95);
  height: 400px;
  padding-top: 150px;
  padding-bottom: 100px;
  /*
  padding-top: 175px;
  padding-bottom: 100px;
*/
}
.intro.contact .introcol {
  height: 330px;
}
.intro.contact p {
  color: #ffffff;
  font-weight: lighter;
  font-size: 20px;
  line-height: 22px;
  /* margin-bottom: 30px; */
}

/* .intro.contact h1{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
} */
@media all and (-webkit-min-device-pixel-ratio: 2),
  (-o-min-device-pixel-ratio: 2/1),
  (min--moz-device-pixel-ratio: 2),
  (min-device-pixel-ratio: 2) {
  .intro.contact {
    background-image: url("../img/images/4_Contact/contact_hero_1540x400@2x.png");
    background-size: 1540px 400px;
  }
}
p.error {
  color: red;
}

[style*="--aspect-ratio"] > :first-child {
  width: 100%;
}
[style*="--aspect-ratio"] > img {  
  height: auto;
} 
@supports (--custom:property) {
  [style*="--aspect-ratio"] {
    position: relative;
  }
  [style*="--aspect-ratio"]::before {
    content: "";
    display: block;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
  }  
  [style*="--aspect-ratio"] > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }  
}

form .form-group {
  border-bottom: 1px solid #323232;
  /*   padding-bottom: 5px; */
  /*   margin-bottom: 50px; */
  width: 100%;
  position: relative;
  margin-top: 50px;
  float: left;
}
form .form-group label {
  padding-right: 15px;
  /*   float: left; */
  padding-left: 0;
  font-family: "Brandon Grotesque", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: #00b6ff;

  display: block;
  /*   padding-right: 10px; */
  margin-top: 1px;
  width: auto;
  float: left;
  /*
  font-size: 24px;
  font-family: "brandon-grotesque";
  font-weight: normal;
*/
  bottom: 5px;
  text-align: left;
}
form input {
  border: none;
  float: left;
  width: 75%;
  height: auto;
  box-shadow: none;
  border-radius: 0;
  /*   width: auto; */
}
form input:focus {
  outline: 0 none;
}
@media only screen and (max-width: 768px) {
  form input,
  form label {
    /*     float: none; */
  }
  form .form-group {
    margin-bottom: 25px;
  }
  /*
  form input{
    width: 75%;
  }
*/
}
/* ============================================= End Contact */

/* ============================================= Start Thanks */
.maincontent.thanks p {
  margin-bottom: 0;
}
/* ============================================= End Thanks */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
