/*
Theme Name: McKay2000
Author: Carla Bone
*/

/* ----------------------------------------------------------------
    RESET
-----------------------------------------------------------------*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background: #000; }
body { line-height: 1; }
ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
:focus { outline: 0;}
[hidden] { display: none; }
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
button::-moz-focus-inner,
input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }
input[type="text"],
input[type="email"],
input[type="password"],
textarea { -webkit-appearance: none; -webkit-border-radius: 0; border-radius: 0; }
input[type="submit"],
input[type="reset"] { -webkit-appearance: none; }
.input-block-level { display: block; width: 100% !important; min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix { display: inline-block; *zoom:1;}
* html .clearfix { height: 1%;} /* Hides from IE-mac \*/
.clearfix { display: block;}
@font-face {
	font-family: 'Helvetica';
	font-style: normal;
	font-weight: normal;
	src: local('Helvetica'), url('fonts/Helvetica.woff') format('woff');
}
@font-face {
    font-family: 'HelveticaLT87';
    src: local('HelveticaLT87'), url(fonts/Helvetica-LT-87-Heavy-Condensed.ttf);
    font-weight: normal;
}
@font-face {
    font-family: 'HelveticaLT67';
    src: local('HelveticaLT67'), url(fonts/Helvetica-LT-67-Medium-Condensed.ttf);
    font-weight: normal;
}
@font-face {
    font-family: 'HelveticaNeue65';
    src: local('HelveticaNeue65'), url(fonts/Helvetica-Neue-LT-Com-65-Medium.ttf);
    font-weight: normal;
}

/* ----------------------------------------------------------------
    REPEATABLE PATTERNS
-----------------------------------------------------------------*/

::selection { background: #2a9d48; color: #fff; }
::-moz-selection { background: #2a9d48; /* Firefox */ color: #fff; }
::-webkit-selection { background: #2a9d48; /* Safari */ color: #fff; }
::-webkit-input-placeholder { color: #fff; text-transform: uppercase; }
:-moz-placeholder { /* Firefox 18- */ color: #fff; text-transform: uppercase; }
::-moz-placeholder {  /* Firefox 19+ */ color: #fff; text-transform: uppercase; }
:-ms-input-placeholder { color: #fff; text-transform: uppercase; }

/* FORMS */

fieldset { border: 1px solid #424242; padding: 20px; }
label { display: inline-block; margin-bottom: 5px; cursor: pointer; font-weight: 400; }
input, select, textarea { font-family: 'Titillium Web', sans-serif; }
input[type="text"], input[type="email"], input[type="password"], select, textarea {  display: block; background-color: #f0f0f0; padding: 8px 10px;  margin: 0 0 15px; border: 1px solid #f0f0f0; outline: 0; font-size: 16px; line-height: 22px; color: #424242; width: 95%; border-radius: 5px; }
input[type="text"].mid, input[type="email"].mid { width: 70%; }
input.wpcf7-not-valid, textarea.wpcf7-not-valid { border-color: #f1592a; }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus { background: #f0f0f0; -webkit-transition: background 0.4s ease-in-out; -moz-transition: background 0.4s ease-in-out; -o-transition: background 0.4s ease-in-out; transition: background 0.4s ease-in-out; color: #424242;  }
input[type="submit"] { font-family: 'Oswald', sans-serif; text-transform: uppercase; color: #fff; font-weight: 600; background: #2a9d48; border: 1px solid transparent; padding: 6px 15px; display: inline-block; -webkit-transition: all 0.15s ease-in-out; -moz-transition: all 0.15s ease-in-out; -o-transition: all 0.15s ease-in-out; transition: all 0.15s ease-in-out; font-weight: 600; outline: none; font-size: 16px; cursor: pointer; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; letter-spacing: 1px; }
input[type="submit"]:hover, input[type="submit"]:active { background-color: #3cd864; color: #fff; text-shadow: none; }
input#contact-captcha { width: 85px; }
div.wpcf7-response-output { margin: 2em 0 1em 0 !important; padding: 10px 15px !important; border-width: 1px !important; background: #fffef0 !important; font-size: 14px !important; color: #656565 !important; line-height: 20px; }
div.wpcf7-validation-errors { border: 1px solid #ff0000 !important; background-color: #ffe7e7 !important; color: red !important; text-shadow: none; }
span.wpcf7-not-valid-tip { font-size: 12px !important; font-style: italic; width: 180px !important; padding: 3px 8px; color: red !important; text-shadow: none; font-weight: 400; }
div.wpcf7-mail-sent-ok { background-color: #f1ffeb !important; color: #398F14 !important; }

/* LISTS */

ul { list-style: disc; }
ol { list-style: decimal; }
ul, ol, dl { margin: 0 0 30px 20px; }
.list-reset { margin: 0; padding: 0; list-style: none; }

/* ACCORDION */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border-bottom: #ccc solid 1px;
  text-align: left;
  outline: none;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.panel {
  padding: 0 18px;
  background-color: #f6f6f6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.panel>p {
  padding-top: 10px;
}
.accordion:before {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 35px;
  color: #2a9d48;
  float: right;
  margin-left: 5px;
}

.active:before {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.smalltxt,
.largetxt {
  width: 500px;
}

/* IMAGES */

img { max-width: 100%; }
.cover { position: relative; background-repeat: no-repeat; background-position: 50% 100%; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; -webkit-backface-visibility: hidden; overflow: hidden; }
.entry-content img, .comment-content img, .widget img { max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ }
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ }
img.size-full, img.size-large { max-width: 97.5%; width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ }
.alignleft, .alignright, .aligncenter { margin-bottom: 10px; }
.alignleft, .alignright { display: inline; }
.alignleft { margin-right: 20px; float: left; }
.alignright { margin-left: 20px; float: right; }
img.alignleft, img.alignright, img.aligncenter { margin-bottom: 1.625em; }
p img, .wp-caption { margin-top: 0.4em; }
img[class*="wp-image-"] { background: #eee; padding: 8px; border: 1px solid #dbdbdb; }
.wp-caption { background: #eee; max-width: 96%; padding: 8px; border: 1px solid #dbdbdb; }
.wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; width: 100%; padding: 0; border: none; }
.wp-caption .wp-caption-text, .gallery-caption { color: #666; font-size: 12px; line-height: 16px; font-style: italic; }
.wp-caption .wp-caption-text { padding: 10px 0 2px 6px; position: relative; margin-bottom: 0; }

/* ANIMATIONS */
/* Grow */
.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Wobble Skew */
@-webkit-keyframes hvr-wobble-skew {
  16.65% {
    -webkit-transform: skew(-12deg);
    transform: skew(-12deg);
  }
  33.3% {
    -webkit-transform: skew(10deg);
    transform: skew(10deg);
  }
  49.95% {
    -webkit-transform: skew(-6deg);
    transform: skew(-6deg);
  }
  66.6% {
    -webkit-transform: skew(4deg);
    transform: skew(4deg);
  }
  83.25% {
    -webkit-transform: skew(-2deg);
    transform: skew(-2deg);
  }
  100% {
    -webkit-transform: skew(0);
    transform: skew(0);
  }
}
@keyframes hvr-wobble-skew {
  16.65% {
    -webkit-transform: skew(-12deg);
    transform: skew(-12deg);
  }
  33.3% {
    -webkit-transform: skew(10deg);
    transform: skew(10deg);
  }
  49.95% {
    -webkit-transform: skew(-6deg);
    transform: skew(-6deg);
  }
  66.6% {
    -webkit-transform: skew(4deg);
    transform: skew(4deg);
  }
  83.25% {
    -webkit-transform: skew(-2deg);
    transform: skew(-2deg);
  }
  100% {
    -webkit-transform: skew(0);
    transform: skew(0);
  }
}
.hvr-wobble-skew {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-wobble-skew:hover, .hvr-wobble-skew:focus, .hvr-wobble-skew:active {
  -webkit-animation-name: hvr-wobble-skew;
  animation-name: hvr-wobble-skew;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes bounce {
  from,
  20%,
  53%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes bounce {
  from,
  20%,
  53%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0);
  }
}

.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
}

@-webkit-keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

/*.col-md-2 {
  flex: 0 0 16%;
  max-width:16%;
}
.col-md-7 {
  flex: 0 0 58%;
  max-width:58%;
}
.col-md-4 {
  flex: 0 0 33%;
  max-width:33%;
}
.col-md-8 {
  flex: 0 0 66%;
  max-width:66%;
}
.col-md-3,
.col-lg-3 {
  flex: 0 0 25%;
  max-width:25%;
}
.col-md-6{
  flex: 0 0 50%;
  max-width: 50%;
}
.col-md-9{
  flex: 0 0 75%;
  max-width: 75%;
}
.col-md-10{
  flex: 0 0 83%;
  max-width: 83%;
}
.col-md-5{
  flex: 0 0 41%;
  max-width: 41%;
}
.offset-md-3{
  margin-left:25%;
}*/


img.image-round {
  border-radius: 50%;
}

#quickcontact img{
  padding: 20px 0;
}
#quickcontact .wpcf7-form input[type="submit"] {
  border-radius: 5px;
  padding: 10px 50px;
}
#quickcontact .wpcf7-form label {
  text-align: left;
}
#quickcontact .wpcf7-form textarea {
  height: 85px;
}

.midlarge {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.8em;
  letter-spacing: 0.08em;
}
.textgreen {
  color: #2a9d48;
}
.quickcontactus {
  border-radius: 5%;
  border: #2a9d48 solid 2px;
}
/* Search */

.search-form {
  position: relative;
}
.search-form .search-submit {
  bottom: 3px;
  padding: 0.5em 1em;
  /* position: absolute;
  right: 3px;
  top: 3px; */
  background-color: inherit;
  border: none;
}
.searchicon {
  color: white;
}
.search-form .search-submit .icon {
  height:24px;
  top: -2px;
  width: 24px;
}
body.search-active {
  overflow: hidden;
}
body.search-active .search-input {
  opacity: 1;
  transform: none;
  pointer-events: all;
}
body.search-active .icon-close {
  opacity: 1;
  transform: rotate(-90deg);
}
body.search-active .control {
  cursor: default;
}
body.search-active .control .btn-material {
  transform: scale(70);
  background-color: #2a9d48d4;
}
body.search-active .control .icon-material-search {
  opacity: 0;
}

/* Close Icon */
.icon-close {
  position: fixed;
  top: 30px;
  right: 30px;
  color: #FFF;
  cursor: pointer;
  font-size: 70px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.icon-close:hover {
  transform: rotate(0);
}

/* Search Input */
.search-input {
  /* height: 80px; */
  position: fixed;
  top: 50%;
  left: 40%;
  /* margin-top: 80px; */
  pointer-events: none;
  opacity: 0;
  transform: translate(40px, 0);
  transition: all 0.3s ease-in-out;
}
.search-input label {
  color: white;
}
.search-input input {
  color: #fff;
  font-size: 20px;
  border: 0;
  background: #18a73e;
  -webkit-appearance: none;
  box-sizing: border-box;
  outline: 0;
  padding: 10px;
  width: 400px;
}
.search-input ::-webkit-input-placeholder {
  color: #EEE;
}
.search-input :-moz-placeholder {
  color: #EEE;
  opacity: 1;
}
.search-input ::-moz-placeholder {
  color: #EEE;
  opacity: 1;
}
.search-input :-ms-input-placeholder {
  color: #EEE;
}
.search-input input[type="text"]:focus {
  background: #8c580d;
}
.search-input input[type="text"]:focus-within {
  opacity: .5;
}
/* Container */
.search-container {
  width: 80px;
  float: right;
/*   padding-right: 50px;
padding-left: 50px;
position: relative; */
}
.search-container.container-dark {
  background-color: #22313Fd4;
  color: #FFF;
}

/* Control btn */
.control {
  cursor: pointer;
}
.control .btn-material {
  position: absolute;
  top: 15px;
  width: 60px;
  height: 60px;
  right: 60px;
  border-radius: 100%;
  box-sizing: border-box;
  /* background-color: #ba8128d4; */
  outline: 0;
  transform-origin: 50%;
  /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); */
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.control .btn-material:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
.control .icon-material-search {
  color: #FFF;
  position: absolute;
  top: 28px;
  right: 42px;
  transition: opacity 0.3s ease-in-out;
}
/* Search results */
.search-item-container img {
  max-width: 300px;
}
.search-item {
  padding: 10px;
}
.search-item:nth-child(even) {
  background-color: #f6f6f6;
}


/* Utilities */
.p-y-md {
/*  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
*/}
/* BUTTONS */

.button { text-transform: uppercase; color: #fff; font-weight: 600; background-color: #2a9d48; border: none; padding: 6px 15px; display: inline-block; -webkit-transition: all 0.15s ease-in-out; -moz-transition: all 0.15s ease-in-out; -o-transition: all 0.15s ease-in-out; transition: all 0.15s ease-in-out; font-weight: 600; }
.button:hover, .button:active { background-color: #fff; color: #000; }

/* TEASERS */

.teaser {background-color: #efdfd2; overflow: hidden; margin-bottom: 30px; } /*  background: #41342a */
.teaser div { margin-bottom: 0; }
.teaser .teaser-image { line-height: 0; margin-right: 2%; }
.teaser-text-wrapper.col-two-third { width: 67%; }
.teaser-text-wrapper.no-image { width: 100%; }
.teaser-text { padding: 15px 15px 20px 0; }
.teaser-text-wrapper.no-image .teaser-text { padding: 20px; }
.teaser-text h3 { font-weight: 300; margin-bottom: 5px; font-size: 22px; line-height: 26px; }
.teaser-text p { margin-bottom: 0; font-size: 15px; line-height: 22px; }
.service-tease { padding-top: 15px; text-align: center; }
/*.service-teaser a:hover .teaser-overlay, .project-teaser a:hover .teaser-overlay { background: #41342a; background: rgba(0,0,0,0.5); }
.service-teaser { width: 20%; position: relative; float: left; margin: 0; }
.service-teaser a, .project-teaser a { display: block; line-height: 0; }
.service-teaser img, .project-teaser img { width: 100%; height: 100%; opacity: 0.85; }
.service-teaser h3, .project-teaser h3 { font-size: 30px; text-align: center; position: absolute; top: 46%; width: 100%; color: #fff; text-shadow: 3px 3px 5px rgba(0,0,0,0.8); }
*/
.project-teaser { position: relative; }
.teaser-overlay { display: block; width: 100%; height: 100%; text-align: center; position: absolute; top: 0; left: 0; padding-right: 20px; transition: background .2s ease-in-out; -moz-transition: background .2s ease-in-out; -webkit-transition: background .2s ease-in-out; -ms-transition: background .2s ease-in-out; -o-transition: background .2s ease-in-out; }
.project-teaser h3 { font-size: 24px; line-height: 30px; top: 42%; }
.service-tease a:hover { text-decoration: none; }
.service-tease img { max-height: 150px; }
.kicker-black { color: #000; text-align: center; font-weight: bold; font-size: 20px; padding: 10px 0;}
.hr-heading { padding-left: 10px; width: 98%; border-color: #2a9d48; border-width: 2px; }
.section-header { padding-bottom:40px; }


/* SINGLE NAV */

#single-nav { padding: 10px 0; font-weight: 400; text-transform: uppercase; }
#single-nav li { width: 33.33%; float: left; }
#single-nav li#tab-all { text-align: center; }
#single-nav li#tab-next { text-align: right; }
#single-nav a { display: block; padding: 10px 0; }

blockquote p { padding-left: 5px; margin-bottom: 15px; }
blockquote footer { padding-left: 5px; }
.opening-quote, .closing-quote { font-size: 20px; }
.opening-quote { text-indent: -12px; display: inline-block; }

/* ----------------------------------------------------------------
    TYPOGRAPHY
-----------------------------------------------------------------*/

body { font-family: "HelveticaNeue65", sans-serif; color: #292b2c; font-size: 16px; line-height: 24px; font-weight: 300;}

p, blockquote, table, fieldset, form { margin-bottom: 20px; }

.kicker { font-size: 20px; line-height: 28px; font-weight: 400; color: #2a9d48; }
.kicker.section { color: #fff; }

.bigwide {
  font-size: larger;
  letter-spacing: 2px;

}
.careerbutton {
  padding-top: 40px;
}
.textlarger {
  font-size: larger;
  font-weight: bold;
}
.careerbutton a {
  padding:20px;
  border-radius: 30px;
  background-color: #2a9d48;
  color: #fff;
  letter-spacing: 1px;
}
.page-id-23 #wpcf7-f196-o1 {
  max-width: 650px;
  margin: auto;
  border-radius: 5%;
  border: #2a9d48 solid 2px;
}
.page-id-23 #wpcf7-f196-o1 label{
  text-align: left;
}
strong { font-weight: bold; }
em, cite { font-style: italic; }
small { font-size: 11px; font-style: italic; }
caption { text-align: left; }

.centered { text-align: center;}
.upper { text-transform: uppercase; }

/* HEADINGS */

h1, h2, h3, h4, h5, h6 { font-family: 'HelveticaLT67', sans-serif; font-weight: 700; color: #2a9d48; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 2px; }
h1 { font-size: 40px; line-height: 44px;  margin-bottom: 25px;}
h2 { font-size: 32px; line-height: 38px; }
h3 { font-size: 24px; line-height: 28px; }
h4 { font-size: 18px; line-height: 24px; }
h5 { font-size: 16px; line-height: 22px; }

/* LINKS */

a { text-decoration: none; color: #2a9d48; -webkit-transition: color 0.2s ease-in-out; -moz-transition: color 0.2s ease-in-out; -o-transition: color 0.2s ease-in-out; transition: color 0.2s ease-in-out; }
a:hover, a:active { color: #3cd864; text-decoration: none; }
a.more { font-weight: 400; }

/* ----------------------------------------------------------------
    STRUCTURE
-----------------------------------------------------------------*/

.wrapper { width: 100%; padding: 30px 0; position: relative; overflow: hidden; border-bottom: 1px solid #414141; }
.container { width: 95%; margin: 0 auto; position: relative;}
#masthead div.container { width: 80%; margin: 0 auto; position: relative; border-bottom: 2px solid #ffffff; padding: 5px 0 0 0; }
.inset { padding: 20px; }
.align-left { float: left; }
.align-right { float: right; }

.col-full { width: 100%; }
.col-half { width: 48%; }
.col-one-third { width: 30.63%; }
.col-two-third { width: 65.33%; }
.col-one-fourth { width: 22%; }
.col-three-fourth { width: 74%; }
.col-one-fifth { width: 16.8%; }
.col-two-fifth { width: 37.6%; }
.col-three-fifth { width: 58.4%; }
.col-four-fifth { width: 79.2%; }
.col-one-sixth { width: 13.33%; }
.col-five-sixth { width: 82.67%; }

.col-full, .col-half, .col-one-third, .col-two-third, .col-three-fourth, .col-one-fourth, .col-one-fifth, .col-two-fifth, .col-three-fifth, .col-four-fifth, .col-one-sixth, .col-five-sixth { display: block; position: relative; margin-right: 4%; margin-bottom: 50px; float: left; }

.col-full { clear: both; float: none; margin-right: 0; }
.col-last { margin-right: 0; clear: right; }

/* ----------------------------------------------------------------
    MASTHEAD
-----------------------------------------------------------------*/

#masthead { position: fixed; top: 0; width: 100%; background-color: transparent; z-index: 10000; padding: 15px 0; }

	/* LOGO */

	#logo { float: left; }
	.retina-logo { display: none; }
	.standard-logo { display: block; line-height: 0; }

	/* MAIN NAV */

	#responsive-nav { display: none; }
	#main-nav { float: right; margin-top: 14px; }
	#menu-main-navigation { z-index: 999999; list-style: none; margin: 0; text-transform: uppercase; font-family: 'Oswald', sans-serif; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: 1px; }
	#menu-main-navigation li { float: left; margin: 0; position: relative; }
	#menu-main-navigation li a { color: #fff; display: block; padding: 40px 20px; width: 180px;}

	/*#menu-main-navigation li:hover a, */
	#menu-main-navigation li.current-menu-item a,
  #menu-main-navigation li.current-menu-parent a
	#menu-main-navigation li.current-page-ancestor a,
	.single-mckay_project li#menu-item-34 a,
	.single-post li#menu-item-41 a,
	.category li#menu-item-41 a,
	.tax-testimonial_category li#menu-item-34 a,
	.tax-project_category li#menu-item-34 a {
		color: #2a9d48;

		text-decoration: none;
	}
  #menu-main-navigation li.current-menu-parent a:hover,
  #menu-main-navigation li.current-menu-parent a:active {
    color: #010101;
  }

	#menu-main-navigation li:hover a {
		/* background-color: #2a9d4859;  */
    background-color: rgba(42,157,72, 0.7);
	}
	#menu-main-navigation ul.sub-menu {
		/*-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
		-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
		box-shadow: 0 3px 3px rgba(0,0,0,0.2);  */
		display: none;
		margin: 0;
		list-style: none;
		padding: 0;
		position: absolute;
		top: 106px;
		left: 0;
		width: 210px;
		z-index: 99999;
		/*border: 0px solid #2a9d4859;
		border-bottom: none; */
	}
	#menu-main-navigation ul.sub-menu li { margin: 0; border-bottom: none; }
	#menu-main-navigation ul.sub-menu a, #menu-main-navigation li.current_page_item ul.sub-menu a {
		/*background-color: #fff; */
		/* background-color: #2a9d48d4; */
    background-color: rgba(42,157,72, 0.7);
		color: #fff;
		font-size: 15px;
		height: auto;
		line-height: 18px;
		padding: 12px 15px;
		width: 180px;
		-webkit-transition: none;
		-moz-transition: none;
		-o-transition: none;
		transition: none;
		text-align: center;
	}



/*	#menu-main-navigation li:hover ul.sub-menu li.current-menu-item a, */
	#menu-main-navigation ul.sub-menu li.current-page-ancestor a,
	.term-marine #menu-main-navigation .sub-menu li#menu-item-185 a {
		/* background-color: #2a9d48;  */
    background-color: rgba(42,157,72, 0.7);
		color: #fff;
	}

	#menu-main-navigation ul.sub-menu li:last-child {

	}

	#menu-main-navigation li:hover ul.sub-menu a:hover {
		/* background-color: #2a9d48e4; */
    background-color: rgba(73, 173, 95, 0.7);

	}

  #menu-main-navigation li.has-mega-column ul.sub-menu a,
  #menu-main-navigation li.has-mega-column li.current_page_item ul.sub-menu a {

    background-color: transparent;
  }
	#menu-main-navigation li:hover > ul,
  #menu-main-navigation li:hover ul.sub-menu li:hover > ul.sub-menu,
  #menu-main-navigation li:hover ul.sub-menu
  {
    display: block;
  }

  #menu-main-navigation li.has-mega-column>a {
    border-bottom: #fff solid 1px ;
    background-color: transparent;
  }

/* ----------------------------------------------------------------
    menu sub-menu megamenu style for services
-----------------------------------------------------------------*/

@media screen and (min-width: 600px){
    #menu-main-navigation li.has-mega-menu{
      position:static;
    }
  #menu-main-navigation li.has-mega-menu>.sub-menu{
    background-color: rgba(42,157,72,0.7);
  }

    #menu-main-navigation li.has-mega-menu .sub-menu {
        width: 360px;
        position: absolute;
        top: 106px;  /*insert the needed value*/
        z-index: 100;
        left:80px;
        right:0px;
        height: 420px;

    }
    #menu-main-navigation li.has-mega-menu:hover>.sub-menu{
    /*flexbox fallback for browsers that do not support CSS GRID lyout*/
        display: flex;
        flex-wrap: wrap;
    /*CSS GRID lyout*/
        display: grid;
        grid-template-columns: repeat(auto-fit,minmax(50%, 1fr));

    }
}
@media screen and (min-width: 992px){
    #menu-main-navigation li.has-mega-menu:hover>.sub-menu{grid-template-columns: repeat(auto-fit,minmax(33.3333%, 1fr)); }
}
@media screen and (min-width: 1200px){
    #menu-main-navigation li.has-mega-menu:hover>.sub-menu{grid-template-columns: repeat(auto-fit,minmax(25%, 1fr)); }
}

@media screen and (min-width: 600px){
    #menu-main-navigation li.mega-menu-column {
        width: 100%;
        max-width: 100%;
        min-height: 1px;
        padding: 10px 25px;
        flex: 1 0 calc(50%);
    }
}
@media screen and (min-width: 992px){
    #menu-main-navigation li.mega-menu-column {flex: 1 0 calc(33.333%);}
}
@media screen and (min-width: 1200px){
    #menu-main-navigation li.mega-menu-column {flex: 1 0 calc(25%);}
}


#menu-main-navigation li:nth-child(2) ul.sub-menu ul.sub-menu {
  top: 42px;
  left: 0px;
  width: 180px;
}

/* ----------------------------------------------------------------
    GENERAL HEADER
-----------------------------------------------------------------*/
	#header-title {
		display: flex;
		flex-direction: column;
		height: 700px;
		align-items: center;
		align-content: center;
		justify-content: center;
		color: white;
	}
	#header-title h1 {
		color: white;
	}
	.page-title {
		order: 1;
		/* width: 500px; */
		/*height: 50px; */
		text-align: center;
	}

	.page-intro {
		order: 2;
		height: auto;
		text-align: center;
	}
	.headerinner {
		width: 600px;
	}
/* ----------------------------------------------------------------
    HERO HEADER
-----------------------------------------------------------------*/
.hero-image-overlay {
   /*  background-color: #0000009c; */
    background-color: rgba(0, 0, 0, 0.7);
    /* opacity: .7; */
    width: 100%;
    height: 100%;
}
#hero-header { border-bottom: 5px solid #2a9d48; position: relative; z-index: 1; } /* margin-top: 123px; */

	/* SLIDER */

	#hero-header.slider { position: relative; z-index: 1; }
	#hero-header.slider .bx-controls { position: absolute; bottom: 4%; width: 100%; z-index: 100; }
	#hero-header.slider .bx-pager { text-align: center; width: 100%; overflow: hidden; }
	#hero-header.slider .bx-pager-item { display: inline-block; }
	#hero-header.slider .bx-pager-link { display: block; width: 22px; height: 22px; background: url(gfx/sprite-pagination-btn.png) no-repeat 0 0; text-indent: -5000px; margin: 0 5px; }
	#hero-header.slider .bx-pager-link:hover, #hero-header.slider .bx-pager-link.active { background-position: 0 -22px; }

	.slide-overlay-container { height: 100%; }
	.slide-overlay { position: absolute; bottom: 12%; left: 0; text-transform: uppercase; }
	.slide-overlay span { display: inline-block; font-family: 'Oswald', sans-serif; font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: 2px; background: #41342a; background: rgba(65,52,42,0.8); margin-bottom: 6px; padding: 12px 15px; color: #fff; }

  .crellyslider>.cs-slides>.cs-slide {
    border-bottom: 5px solid rgb(42,157,72,1);
  }

.crellyslider>.cs-controls>.cs-previous {
    background-image: url(images/arrow-left.png);
    left: 30px;
}

.crellyslider>.cs-controls>.cs-next {
    background-image: url(images/arrow-left.png);
    left: 30px;
}  

#socialmedia {
    text-align: right;
}

.pad20above {
  padding-top: 20px;
}
.pad40above {
  padding-top: 40px;
}
/* ----------------------------------------------------------------
    Service Pages HEADER
-----------------------------------------------------------------*/
.page-template-template-service #header-title {
  align-items: flex-start;
  align-content: flex-start;
}
.page-template-template-service .headerinner {
  width: 80%;
  margin: auto;
}
.page-template-template-service .headerinner .page-title h1 {
  font-size: 25px;

}
.page-template-template-service .headerinner .page-title,
.page-template-template-service .headerinner .page-intro {
  text-align: left;
}
.page-template-template-service .headerinner .page-intro {
  font-size: 60px;
  line-height: 1em;
  font-weight: bold;
}

/* ----------------------------------------------------------------
    Service Pages Content
-----------------------------------------------------------------*/
.section {
  padding: 20px;
}

.colorblack {
  color: #292b2c;
}

.summary-services {
   position: relative;
   /* text-align: center; */
}
.summary-services-text {
   position: relative;
   padding-top:10px;
   /* text-align: center; */
}
.servicehovertext {
    display: none;
    position:absolute;
    top: 10px;
    left: 50%;
    width:250px;
    height:200px;
    margin-left: -125px;
    color: black;
    text-align: center;
}

.smallpad {
  padding-top: 20px;
  padding-bottom: 20px;
}
.serviceimage img {
  border: 5px solid #dbdbdb;
  border-radius: 50%;
}
.serviceimage {
  text-align: center;
}
.summary-products {
  position: relative;
}

.productoverlay {
  position: absolute;
  top: 20%;
  left: 20%;
  bottom: 20%;
  right: 20%;
  color: white;
  background-color: rgba(0,0,0,0.7);
  text-align: center;
  overflow: hidden;
}

.productimage img {
  width: 100%;
  height: 100%;
}

.producttext-title{
  font-size: 26px;
  font-weight: bold;
  margin: 20px 0 0 0;
}
.producttext-content {
  font-size: 16px;
  font-weight: bold;
}

#summary-projects {
  margin: auto;
}

.project-items-container {
  position: relative;
  padding: 0;
  height: 200px;
  width: 200px;
  margin: auto;
}
.project-items {
  padding: 10px;
/*   text-align: center; */
}
.projects-item {
  text-align: center;
}

.projects-text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  opacity: .7;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  }

.project-items-container .projects-text {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -75px;
  margin-top: -20px;
  min-width: 150px;
  color: white;
  font-weight: bold;
}

#discover-projects {
  margin: auto;
  background-image: url(gfx/Homepage-Image-2-Slideshow-1024x724.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
}

#discover-projects .readmore a {
  font-weight: bold;
  color: #fff;
  float: right;
}

div.projects-quote::before {
  margin-top: -25px;
  float: left;
  content: url(images/speech-marks-start.png);
}
div.projects-quote::after {
  float: right;
  content: url(images/speech-marks-end.png);
}
.projects-quote {
  color: #2a9d48;
  font-size: 20px;
  font-weight: bold;
  width: 400px;
  line-height: 1.4em;
}
.projects-quote-container {
  border: 1px solid #000;
  padding: 40px 40px;
  margin: auto 0 auto 15px;
  background-color: #fff;
}
.projects-quote-col {
  /* background-color: #caa56d; */
}

.project-quote-author {
  padding-top: 60px;
  color: black;
  font-size: 18px;
  font-weight: bold;

}

/* ----------------------------------------------------------------
    LEFT SIDEBAR
-----------------------------------------------------------------*/

#sidebar-left { width: 25%; margin-right: 0; }

	#subnav	{ font-family: 'Oswald', sans-serif; text-transform: uppercase; text-align: right; letter-spacing: 2px; }
	#subnav	ul { list-style: none; margin: 0; padding: 0; }
	#subnav h2 { font-size: 27px; line-height: 33px; padding-right: 25px; font-weight: 700; margin: 30px 0 25px 0; }
	#subnav li { border-bottom: 1px solid #2a9d48; }
	#subnav a { color: #c2a58e; padding: 12px 25px 12px 15px; font-size: 19px; line-height: 24px; font-weight: 300; margin-bottom: 0; display: block; }
	#subnav a:hover, #subnav li.current-menu-item a, #subnav li.current-menu-parent a, #subnav li.current-cat a, #subnav li.current-mckay_project-ancestor a, .single-mckay_project #subnav li#menu-item-128 a:hover, .single-mckay_project #subnav li#menu-item-130 a:hover { color: #2a9d48; }
	.single-mckay_project #subnav li#menu-item-128 a, .single-mckay_project #subnav li#menu-item-130 a { color: #fff; }

/* ----------------------------------------------------------------
    MAIN CONTENT
-----------------------------------------------------------------*/

#main-content-wrapper { /* padding: 35px 0; */ overflow: hidden; border-bottom: 5px solid #2a9d48; }
.home #main-content-wrapper, .page-id-9 #main-content-wrapper { padding-bottom: 0; text-align: center; }

	#content { float: right; width: 70.8%; border-left: 1px solid #2a9d48; padding-left: 4%; min-height: 380px; }
	#content.no-subnav { float: left; padding-left: 0; border-left: 0; width: 66%; }
	#content.fullpgview {float: left; padding-left: 0; border-left: 0; width: 100%; }
	#our-services { padding: 30px 0; }
	.page-template-template-full-width-php #our-services { padding-bottom: 0; }
	.anc { padding-top: 130px; }
	:target:before {
	  content:"";
	  display:block;
	  height: 160px;
	  margin: -160px 0 0;
	}

	#main-content-wrapper section {
		padding: 35px 0;
	}

	.pagetitlehr {
		display: flex;
		margin: auto;

	}

	.title-item:nth-child(1) {
        /* flex: 1 1 0; */
        text-align: left;
	}

	/*second flex-item*/
	.title-item:nth-child(2){
	    flex: 2 1 0;
	}

	/* COUNTERS */

	#counters {
		margin: auto;
		background-image: url(gfx/Homepage-Image-2-Slideshow-1024x724.jpg);
		background-repeat: no-repeat;
  		background-size: cover;
	}
	.lgtext {
		color: #fff;
		font-size: 55px;
		font-weight: 700;
 		max-width: 350px;
		line-height: 80px;
		text-align: left;
	}
	.lgtext-orange {
		color: #2a9d48;
		font-size: 45px;
		font-weight: 700;
 		max-width: 50%;
		line-height: 65px;
		text-transform: uppercase;
		text-align: right;
	}

	span.counter {
		color: #2a9d48;
		font-size: 65px;
		font-weight: 700;
		line-height: 80px;
	}
	.fact_title {
		color: #fff;
	}
	.fun-fact-contents {
	    padding: 40px;
	}
	.single-fun-fact {
		padding: 40px;
	}
	#counters .readmore a{
		font-weight: bold;
		color: #2a9d48;
		float: right;

	}

	/* TEAM */
	.cd-member-bio {
	  position:relative;
    min-height: 750px;
	  /* add fade */
	}
  .cd-member-bio-pict {
    position:absolute;
    bottom: 2%;
    right: 20%;
  }
	#team-members ul {
		list-style: none;
	}
	.bio-excerpt {
		color: #000;
		font-size: 18px;
		font-weight: bold;
		position:absolute;
		top: 1%;
    width: 450px;
    left: 1%;
	}
	span.service-excerpt::before,
 	span.bio-excerpt::before {
 		margin-top: -25px;
 		float:left;
 		opacity: .7;
		content: url(images/speech-marks-start.png);
	}
	span.service-excerpt::after,
	span.bio-excerpt::after {
 		margin-top: -25px;
 		margin-right: -35px;
 		float:right;
 		opacity: .7;
		content: url(images/speech-marks-end.png);
	}
	#cd-team figure {
		float: left;
	}
	#cd-team .cd-member-info {
		float: left;
		font-weight: bold;
		padding-top: 40px;
    max-width: 150px;
	}
	#cd-team .cd-member-info>p.caption{
		color: #000;
	}

	#team-members .readmore a {
		color: black;
		float: left;
		font-weight: bold;

	}
  .cd-bio-content {
    padding: 7px;
    background-color: #2a9d48;
  }

	.cd-bio-content span {
		font-size: 20px;
		font-weight: bold;
		color: #fff;
		padding: 7px;
		background-color: #2a9d48;
	}
	#hidden-bio {
		display:none;
	}

  #pagination {
    padding: 10px;
  }

  /* Full page team */
.team-caption-box {
  cursor: pointer;
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: auto;
  max-height: 280px;
}
#team-members .col-md-4 {
  padding: 15px 0;
}

.team-caption-box:hover .team-caption-wrap {
  display: block !important;
}
.team-caption-wrap {
  position: absolute;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: none !important;
  max-width: 240px;
}

.team-caption-outer {
  display: table;
  width: 100%;
  height: 100%;
  background-color: #bfbfbf;
  color: #0a0a0a;
  opacity: 0.8;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
.team-caption-inner {
  display: table-cell !important;
  vertical-align: middle !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.team-image {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 240px;
}
.cd-teammember-info {
  text-align: center;
}
.cd-teammember-info>.title {
  background-color: #2a9d48;
  color: white;
  font-weight: bold;
}


	/* NEWS */

	.post-meta { font-family: 'Roboto', sans-serif; text-transform: none; letter-spacing: 0; color: #fff; font-style: italic; font-size: 14px; margin-bottom: 12px; }
	.single-post h1 { margin-bottom: 10px; text-align: center;}
	.single-post h5.post-meta { font-size: 18px; margin-bottom: 20px; }

	.allnews-item-container {
    position: relative;
    height: 180px;
    width: 250px;
  }
  .allnews-item-container img {
    height: 180px;
    width: 250px;
  }
  .content.category {
    padding-top: 10px;
  }

  .content.category .news-item {
    padding: 10px;
    text-align: center;
  }
  .fp-news-item .news-item-container {
  	position: relative;
    height: 180px;
    width: 250px;
	}

  .fp-news-item .news-item {
    padding: 10px;
  }

	.fp-projects-item .projects-item-container img
  {
	  position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 300px;
	}
  .fp-news-item .news-item-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 180px;
  }
	.fp-news-text-wrapper {
		position: absolute;
		bottom: 0;
		background-color: rgba(0,0,0,0.5);
   /*  opacity: .7; */
    width: 100%;
    border-radius: .25rem;
    padding: 10px;
	}
	.fp-news-text-wrapper .item-heading a {
	  color: white;
    font-size: 16px;
    font-weight: bold;
	}

	/* NEWSLETTERS */

	.newsletter { margin-bottom: 20px; }
	.newsletter a { display: block; }
	.newsletter img { margin-bottom: 5px; }
	.newsletter h5 { color: #fff; }
	.newsletter a:hover h5 { color: #2a9d48; }

	/* PROJECTS */

	#projects { padding-top: 20px; }

	.fp-projects-item .projects-item-container {
    	 /*position: relative;
      width: 95%;  */
    max-height: max-content;
		min-height: 310px;
	}

	.fp-projects-rounded {
		border-radius: 50%;
	}
	.fp-projects-item .readmore a{
		font-size: larger;
  	font-weight: 700;
  	margin: auto;
	}

	.fp-project-text-btm {
		color: black;
    font-size: 25px;
    font-weight: bold;
    width: 80%;
    padding: 20px;
    line-height: 30px;
    margin: auto;
    text-align: center;
	}
	.fp-projects-text-wrapper {
    position: relative;
		background-color: black;
		opacity: .7;
		width: 200px;
	  height: 200px;
	  border-radius: 50%;
	}
	.fp-projects-item .projects-item-container img {
		width: 200px;
		height: 200px;
		border-radius: 50%;
	}

	.fp-projects-text-wrapper .fp-projects-text {
		position: absolute;
		top: 50%;
    left: 50%;
    margin-left: -80px;
    margin-top: -20px;
/*     min-width: 150px; */
    width: 170px;
    text-align: center;
	}
	.fp-projects-text-wrapper .project-heading a {
    color: white;
  	font-size: 100%;
  	font-weight: bold;
  	padding: 20px 0;
	}

	i.fa-caret-right {
		vertical-align: sub;
	}

	/* OUR SERVICES */
	.mod-proc-bottom {
		line-height: 130%;
		padding: 10px 0;
	}
	.mod-proc-title {
		padding: 10px 0;
	}
	#main-content-wrapper section#services-quote {
    padding: 80px 20px;
    background-image: url(images/quote-graphic-photo-1800.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-left: -65px;
    margin-right: -65px;
	}
	.service-excerpt {
		color: #fff;
    font-size: 200%;
    font-weight: bold;
    line-height: 100%;
	}
	.service-excerpt p {
    max-width: 80%;
    margin: auto;
	}

	.serv-quote-title {
		font-size: 180%;
		font-weight: bold;
		color: #2a9d48;
		text-align: left;
		padding-left: 10px;
	}

	.half-hr {
		padding-left: 10px;
		width: 30%;
	}
	.mid-quote:nth-child(1) {
		padding: 3%;
	}

	.mid-quote:nth-child(2) {
	  position: relative;
	}
	.mid-quote:nth-child(2)>div {
		position: absolute;
		left: 3%;
		bottom: 2%;
	}
	.serv-quote-item {
		color: #fff;
		font-weight: bold;
		text-align: left;
		padding-left: 10px;
	}

	.mid-quote .readmore a {
	    font-weight: bold;
	    color: #fff;
	    float: right;
	}
	/* SINGLE PROJECT */

	#gallery-wrapper { position: relative; margin-bottom: 20px; }
	#gallery-wrapper .bx-controls-direction { width: 100%; z-index: 3000; }
	#gallery-wrapper .bx-controls-direction a { display: block; width: 40px; height: 40px; background-repeat: no-repeat; background-position: 0 0; float: left; text-indent: -5000px; position: absolute; top: 35%; z-index: 3000; }
	#gallery-wrapper .bx-controls-direction a.disabled { display: none; }
	#gallery-wrapper .bx-controls-direction a:hover { background-position: 0 -40px; }
	#gallery-wrapper .bx-prev { background-image: url(gfx/sprite-btn-prev.png); left: -12px; }
	#gallery-wrapper .bx-next { background-image: url(gfx/sprite-btn-next.png); right: -12px; }

	#related-testimonial { background: #41342a; padding: 20px; margin-bottom: 20px; border-top: 20px solid #000; }
	#related-testimonial blockquote { margin-bottom: 0; }

	/* VACANCIES */

	.teaser .button { margin-top: 15px; }

	/* CONTACT */

  .emailadd p {
    margin: auto;
    padding: 20px 0;
    font-size: 18px;
  }

	.office { /* border-top: 1px solid #2a9d48; */
		display: flex;
		justify-content: space-around;
		overflow: hidden;
		margin-bottom: 20px;
		padding-top: 25px;
	}
	.office div {
		margin-bottom: 0;
		height:;
	}
	.office-details {
		width: 20%;
	}
/* ----------------------------------------------------------------
    MCKAY WHO WE ARE
-----------------------------------------------------------------*/
/*   .page-id-7 .headerinner {
  color: #2a9d48;
  background-color: white;
  padding: 10px;

}
.page-id-7 #header-title h1 {
  color: #2a9d48;
  margin: 0 auto;
}
.page-id-7 #page-title {
  height: 50px;
}

.page-id-7 #page-intro {
  text-align: center;
}
 */
	.companydiagimg {
		margin: auto;
	}
	/* .page-id-7 .headerinner {
    margin-left: auto;
  }
   */
	.shademe {
		background-color: red;
	}
/* ----------------------------------------------------------------
    MCKAY STORY
-----------------------------------------------------------------*/

	#whoweare .intro,
	#mckaystory .intro {
		font-size: 18px;
		font-weight: bold;
		text-align: center;
	}
	.sect-container-mid,
	.sect-container-right,
	.sect-container-left {
		display: flex;
		/* flex: 1 1 auto; */
		flex-direction: row;
		align-items: center;
	}

	.sect-container-left {
		justify-content: flex-start;
   /*  justify-content: center; */
		margin-right: auto;
	}

	.sect-container-right {
		justify-content: flex-end;
		margin-left: auto;
	}
  .sect-container-mid {
    width: 550px;
    justify-content: center;
    margin: auto;
 }
	.sect-container-left img,
	.sect-container-right img,
	.sect-container-mid img {
	  border-radius: 50%;
	  min-width: 150px;
	}

  .smallpadtop {
    padding-top: 15px;
  }

	.divider {
	  flex-grow: 1;
	  border-bottom: 3px solid #2a9d48;
	  margin: 5px
	}

	.item-column {
	  display: flex;
	  flex-direction: column;
	}
	.item-column.mid {
	  align-items: center;
	}

	.item {
		margin: 10px;
		text-align: center;
	}
  #whoweare .col-md-7 p{
    text-align: justify;
  }

	.under-divider {
		width: 80%;
		/* flex-basis: 500px; */
		text-align: center;
		max-width: 500px;
		min-width: 500px;
	    margin: auto;
	    font-size: 12px;
	}
	div.orange-circle {
		display: flex;
		align-items: center;
		background-color: #2a9d48;
		width: 200px;
	    height: 200px;
	    border-radius: 50%;
	}
	div.orange-circle-sm {
		margin: 10px;
		background-color: #2a9d48;
		width: 20px;
    height: 20px;
    border-radius: 50%;
	}
	.story-date {
		color: #2a9d48;
		font-size: 60px;
		font-weight: bold;
		padding-right: 10px;
		margin: 10px auto;
		line-height: 60px;
	}
	.story-date.firstdate {
		color: white;
		margin: 0 auto;
	}

	.story-centre {
		margin: 10px auto;
		width: 300px;
		text-align: center;
	}
  img.imgnorad {
    border-radius: 0;
  }

/* ----------------------------------------------------------------
    RIGHT SIDEBAR
-----------------------------------------------------------------*/

	#sidebar-right { width: 27%; float: right; }

	#sidebar-right {}

/* ----------------------------------------------------------------
    FOOTER
-----------------------------------------------------------------*/

	#global-footer { padding: 40px 0 20px 0; background-color: black; }


	#footer-contact { margin: 70px 0; font-size: 14px; background-color: black; }
	#footer-contact img { padding-top: 10px; }
	#footer-contact ul { padding: 5px 0 5px 27px; border-left: 1px solid #2a9d48; margin-left: 25px; }

	#container-logos { text-align: center; padding: 30px 20px 10px 20px; display: inherit;}  /* float: right; */
	#footer-awards div,
  #footer-logos div { display: inline-block; }
	.footer-container { width: 80%; margin: auto; }
	.foot-header {color: #2a9d48; text-align: center; margin-bottom: 20px;}
	.foot-subheader {font-weight: bold; color: #2a9d48; font-size: 22px;}
	.foot-text, a.foot-text {color: #fff; font-size: 20px; /*padding-left: 10px;*/ }
	a.foot-text:hover {color: #2a9d48; }
	a.foot-text,  a.foot-text:hover {text-decoration:none; }
	.ftlogo { width: 15%; }
	.foot-ruler { width: 80%; border-color: #2a9d48; border-width: 2px; clear: both;}
	.fa-envelope-open, .fa-phone-volume, .fa-linkedin-in, .fa-facebook-f, .fa-instagram, .fa-twitter { color: #fff;}

	.foot-social: { width: 80%; margin: 40px auto; text-align: center;  }
	#foot-social { display: flex; justify-content: space-around;}
	#foot-social i { padding: 40px; }
	/* #footer-contact .content { padding:0 0 0 40px; } */
  #footer-contact i {
    float:right;
  }
  #footer-logos
  {
    padding: 40px 10px;
  }

  #footer-awards {
    padding: 20px;
    /*background-color: #2a9d48;*/
  }
  .ft-awards {
    padding: 0 10px;
  }
  .ft-awards img {
    max-height:130px;
    max-width: 130px;
  }
/* ----------------------------------------------------------------
    BACK TO TOP
-----------------------------------------------------------------*/

#back-to-top { display: none; z-index: 999; position: fixed; width: 40px; height: 40px; top: auto; left: auto; right: 30px; bottom: 30px; cursor: pointer; background: url(gfx/sprite-btn-btt.png) no-repeat 0 0; }
#back-to-top:hover,
#back-to-top:active { background-position: 0 -40px; }
#back-to-top span { display: block; text-indent: -10000px; }

/*  -------------------------------
  Overwrites
-----------------------------------*/
.crellyslider>.cs-controls>.cs-next, .crellyslider>.cs-controls>.cs-previous {
  background-color: transparent;
}

