/*Taken from Main boilerplate scss*/

/* Honeypot*/

.bzzz {
    display: none !important;
}


.close-feedback-button {
    display: none;
}


@keyframes ajax-loader-animation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 12px 0;
    }
}

@keyframes button-loading-animation {
    0%, 100% {
        border-color: #eee;
    }
    50% {
        border-color: #777;
    }
}


/*Common feedback styles*/
.AJAX-loader {
   display: none;
   left: 0;
   position: fixed;
   top: 0;
   width: 100%;
}

/*AJAX loader that endlessly repeats at the top of the page*/
.AJAX-loader {
   animation: ajax-loader-animation 0.1199s linear infinite;
   background: linear-gradient(315deg,
   #808080,
   #808080 22%,
   #fff 25%,
   #fff 25%,
   #fff 50%,
   #808080 50%,
   #808080 75%,
   #fff 75%,
   #fff 201%);
   background-size: 12px 12px;
   height: 10px;
   z-index: 3000;

    /*Fallback contingency for browsers without CSS3 animation support*/
   /*.is-ie9 &,*/
   /*.lt-ie9 & {*/
       /*background: #fff image-url('ajax-loader.gif');*/
   /*}*/
}

/* FEEDBACK MESSAGES | BASE */
.feedback-message {
    color: #fff;
    display: none;
    left: 0;
    overflow: hidden;
    padding: 5px 36px;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 1200;
}

.feedback-message.error,
.feedback-message.success {
    position: fixed !important;
}


/*// Feedback message containers*/
.message,
.feedback,
.error,
.warning,
.validation,
.success,
.good,
form > p {
   color: #fff;
   display: block;
   padding: 5px 36px;
   position: relative;
   width: 100%;
}

.message:before,
.feedback:before,
.error:before,
.warning:before,
.validation:before,
.success:before,
.good:before,
form > p:before  {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    left: 10px;;
    margin-top: -0.5em;
    position: absolute;
    top: 50%;
}

.message a,
.feedback a,
.error a,
.warning a,
.validation a,
.success a,
.good a,
form > p a {
    color: #fff;
}

.feedback,
.message {
    background: #4dbce9;
}

.feedback:before,
.message:before {
    content: "\f05a";
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    left: 10px;
    margin-top: -.5em;
    position: absolute;
    top: 50%;
}


.warning {
    background: #f6b83f;
}

.warning :before {
    content: "\f071";
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    left: 10px;
    margin-top: -.5em;
    position: absolute;
    top: 50%;
}

.success,
.good {
    background: #53ac47;
}

.success:before,
.good:before
{
    content: "\f058";
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    left: 10px;
    margin-top: -.5em;
    position: absolute;
    top: 50%;
}

.error,
.validation,
form > p.bad {
    background: #aa2013;
}

label.message.error {
    color: white;
}

.error:before,
.validation:before,
form > p.bad:before {
    content: "\f05e";
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    left: 10px;
    margin-top: -.5em;
    position: absolute;
    top: 50%;
}

input.text.error,
textarea.textarea.error {
    background-color: #fff;
    border-color: #aa2013;
}

.field {
    margin-bottom: 20px;
}

label {
    display: inline-block;
    margin-bottom: 5px;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='file'],
select,
textarea {
    display: block;
    transition-property: all;
    width: 100%;
    padding: 8px;
}

@media (min-width: 992px) {
    .right-aligned {
        text-align: right;
    }
}

.section-home1-5.enquiry {
    background-image: url('/themes/theme/images/bg-enquiry.jpg');
    background-size: cover;
}

.section-home1-5.enquiry h2 {
    color: #fff;
}

.section-home1-5.enquiry input ,
.section-home1-5.enquiry textarea {
    background-color: rgba(0, 0, 0, .6);
    border: 2px solid #fff;
    color: #fff;
}

.enquiry-form button {
    color: #fff;
    background-color: transparent;
    border: 2px solid white;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .enquiry-form .contact-row-one .text{
        padding-right: 16px;
    }
}

@media (min-width: 992px) {
    .enquiry-form .contact-row-one input{
        width: 260px;
    }
}

@media (min-width: 992px) {
    .enquiry-form .contact-row-two input{
        width: 360px;
    }
}

.enquiry-form .Actions {
    margin-left: 15px;
    margin-right: 15px;
}

.custom-button {
    border: 2px solid #73ae45;
    background-color: #fff;
    color: #73ae45;
    margin-bottom: 10px;
    margin-right: 10px;
}

.ContactPage .enquiry-form button {
    text-transform: uppercase;
    padding: 8px 50px;
    border: 2px solid #73ae45;
    color: #000;
}

.accordion-header:first-child {
    border: none;
}

.accordion-header {
    padding: 0.5517241379310345rem 0;
    display: block;
    cursor: pointer;
    border-bottom: none;
    border-top: 1px solid #e5e5e5;
}

.archive-months a {
    display: block;
    margin-bottom: 5px;
}

/* BLACK MAGIC PAGE | THEME */
.BlackMagicPage .heading-container {
  background-image: url("/themes/theme/images/bg-black-magic-breadcrumb.jpg");
}

@media (min-width: 768px) {
  .content-container {
    padding-top: 50px;
  }
}

.BlackMagicPage .text-block h3 {
  margin-top: 0;
}

.BlackMagicPage .btn-primary, .BlackMagicPage
.btn-primary:hover, .BlackMagicPage
.btn-primary:focus {
  background: #000;
  border-color: #000;
}

@media (max-width: 767px) {
  .sidebar-wrap {
    margin-top: 20px;
  }
}

.BlackMagicPage .widget {
  margin: 0 auto 20px;
  max-width: 360px;
}
.widget .tyre-resurfacing {
  width: 100%;
}
.widget.invert {
  background: #000 url("/themes/theme/images/bg-black-magic-widget.jpg") no-repeat center 0;
  padding-bottom: 20px;
  padding-top: 20px;
}
.widget.invert h3,
.widget.invert p {
  padding-left: 40px;
}
.widget.invert h3 {
  background: #73ae45;
  margin-top: 0;
  max-width: 180px;
  padding-bottom: 10px;
  padding-top: 10px;
}
.widget.invert p {
  color: #fff;
}
.widget .video {
  height: 0;
  padding-bottom: 55.38889%;
  position: relative;
}
.widget iframe {
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.BlackMagicPage .btn-default, .BlackMagicPage
.btn-default:hover, .BlackMagicPage
.btn-default:focus {
  color: #fff;
}

.BlackMagicPage .btn-default {
  background: #000;
  border-color: #000;
}

.BlackMagicPage .btn-default:hover, .BlackMagicPage
.btn-default:focus {
  background: #333;
  border-color: #333;
}

/* Z-TEC PAGE | THEME */
.ZTecPage .fa-check {
  color: #53ac47;
}

.ZTecPage .widget {
  margin: 0 auto 20px;
  max-width: 360px;
}
.widget.background {
  background: #49aa5f url("/themes/theme/images/z-tec-background.jpg") no-repeat center;
  background-size: cover;
  padding-bottom: 20px;
  padding-top: 20px;
}
.widget.background h3,
.widget.background p,
.widget.background a,
.widget.background a:hover {
  color: #fff;
}
.widget.background h3,
.widget.background p {
  padding-left: 40px;
}
.widget.background h3 {
  background: #000;
  margin-top: 0;
  max-width: 180px;
  padding-bottom: 10px;
  padding-top: 10px;
}
.widget.background a {
  text-decoration: none;
}
.widget.background a:hover {
  text-decoration: underline;
}
.widget .marking-system {
  width: 100%;
}

/* LIGNOLOC PAGE | THEME */
.LignoLocPage .fa-check {
  color: #53ac47;
}

.LignoLocPage .widget {
  margin: 0 auto 20px;
  max-width: 360px;
}
.LignoLocPage .widget.background {
  background-image: url("/themes/theme/images/lignoloc-background.jpg");
}

.keymatic-technologies {
  opacity: 0.2;
  transition: all ease-out 0.2s;
}
.keymatic-technologies:hover,
.keymatic-technologies:active,
.keymatic-technologies:focus {
  opacity: 1;
}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  vertical-align: top;
}

.fancybox-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8020;
}

.fancybox-skin {
  position: relative;
  background: #f9f9f9;
  color: #444;
  text-shadow: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.fancybox-opened {
  z-index: 8030;
}

.fancybox-opened .fancybox-skin {
  -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
  position: relative;
}

.fancybox-inner {
  overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
  -webkit-overflow-scrolling: touch;
}

.fancybox-error {
  color: #444;
  font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  margin: 0;
  padding: 15px;
  white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.fancybox-image {
  max-width: 100%;
  max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  background-image: url('../images/fancybox/fancybox_sprite.png');
}

#fancybox-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -22px;
  margin-left: -22px;
  background-position: 0 -108px;
  opacity: 0.8;
  cursor: pointer;
  z-index: 8060;
}

#fancybox-loading div {
  width: 44px;
  height: 44px;
  background: url('../images/fancybox/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 8040;
}

.fancybox-nav {
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  background: transparent url('../images/fancybox/blank.gif'); /* helps IE */
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  z-index: 8040;
}

.fancybox-prev {
  left: 0;
}

.fancybox-next {
  right: 0;
}

.fancybox-nav span {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 34px;
  margin-top: -18px;
  cursor: pointer;
  z-index: 8040;
  visibility: hidden;
}

.fancybox-prev span {
  left: 10px;
  background-position: 0 -36px;
}

.fancybox-next span {
  right: 10px;
  background-position: 0 -72px;
}

.fancybox-nav:hover span {
  visibility: visible;
}

.fancybox-tmp {
  position: absolute;
  top: -99999px;
  left: -99999px;
  visibility: hidden;
  max-width: 99999px;
  max-height: 99999px;
  overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
  overflow: hidden !important;
  width: auto;
}

.fancybox-lock body {
  overflow: hidden !important;
}

.fancybox-lock-test {
  overflow-y: hidden !important;
}

.fancybox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: none;
  z-index: 8010;
  background: url('../images/fancybox/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
  position: fixed;
  bottom: 0;
  right: 0;
}

.fancybox-lock .fancybox-overlay {
  overflow: auto;
  overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
  visibility: hidden;
  font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  position: relative;
  text-shadow: none;
  z-index: 8050;
}

.fancybox-opened .fancybox-title {
  visibility: visible;
}

.fancybox-title-float-wrap {
  position: absolute;
  bottom: 0;
  right: 50%;
  margin-bottom: -35px;
  z-index: 8050;
  text-align: center;
}

.fancybox-title-float-wrap .child {
  display: inline-block;
  margin-right: -100%;
  padding: 2px 20px;
  background: transparent; /* Fallback for web browsers that doesn't support RGBa */
  background: rgba(0, 0, 0, 0.8);
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  text-shadow: 0 1px 2px #222;
  color: #FFF;
  font-weight: bold;
  line-height: 24px;
  white-space: nowrap;
}

.fancybox-title-outside-wrap {
  position: relative;
  margin-top: 10px;
  color: #fff;
}

.fancybox-title-inside-wrap {
  padding-top: 10px;
}

.fancybox-title-over-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  padding: 10px;
  background: #000;
  background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5){

  #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
      background-image: url('../images/fancybox/fancybox_sprite@2x.png');
      background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
  }

  #fancybox-loading div {
      background-image: url('../images/fancybox/fancybox_loading@2x.gif');
      background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
  }
}

/* Related to lightbox form */
.newsletter-subscribe-modal {
  display: none;
}
.newsletter-subscribe img {
  display: block;
  margin-bottom: 20px;
}
.newsletter-sign-up-form {
  padding: 20px;
}
#newsletter-subscribe button {
  border: 2px solid #73ae45;
  color: #000;
  padding: 8px 50px;
  text-transform: uppercase;
}
#Form_NewsletterSignUpForm_FirstName_Holder,
#Form_NewsletterSignUpForm_Surname_Holder,
#Form_NewsletterSignUpForm_Email_Holder {
  margin: 0 0 15px;
}
#Form_NewsletterSignUpForm_FirstName_Holder,
#Form_NewsletterSignUpForm_Surname_Holder {
  clear: none;
  float: left;
  margin-left: 0%;
  margin-right: 3.621730382293762%;
  text-align: inherit;
  width: 48.18913480885312%;
}
#Form_NewsletterSignUpForm_Surname_Holder {
  margin-right: 0;
}
#Form_NewsletterSignUpForm_Email_Holder {
  clear: both;
}
@media (min-width: 768px) and (max-width: 991px) {
    .VideoHolderPage .main-content .column:nth-child(2n-1) {
        clear: left;
    }
}
@media (min-width: 992px) {
    .VideoHolderPage .main-content .column:nth-child(3n-2) {
        clear: left;
    }
}