/* compiled by scssphp v0.0.12 on Wed, 05 Oct 2016 14:52:36 +1300 (0.044s) */

/* Image Boxes SCSS Document */
/* Services */
.imageboxes {
  display: block;
}
.imageboxes .module-image {
  display: block;
  -webkit-backface-visibility: hidden;
  -moz-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.imageboxes .module-image img {
  vertical-align: middle;
}
.imageboxes .imagebox-item:hover .module-image {
  opacity: 0.7;
}
.imageboxes .module-text p {
  display: block;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
}
.imageboxes .module-text .readmore {
  /* Grid of images next to text */
}
.imageboxes.imageside .imagebox-item {
  display: inline-block;
  position: relative;
}
.imageboxes.imageside .module-image {
  float: left;
  width: 40%;
  display: block;
}
.imageboxes.imageside.grid.one-column .module-image {
  width: 20%;
}
.imageboxes.imageside.grid.seven-column .module-image, .imageboxes.imageside.grid.six-column .module-image, .imageboxes.imageside.grid.five-column .module-image {
  width: 100%;
  padding-bottom: 5px;
}
.imageboxes.imageside .module-text {
  float: right;
  width: 100%;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  /* If image shown */
}
.imageboxes.imageside .module-image + .module-text {
  width: 60%;
  padding-left: 20px;
}
.imageboxes.imageside.grid.one-column .module-text {
  width: 80%;
}
.imageboxes.imageside.grid.seven-column .module-text, .imageboxes.imageside.grid.six-column .module-text, .imageboxes.imageside.grid.five-column .module-text {
  width: 100%;
  padding-left: 0px;
  /* Grid of images with text under */
}
.imageboxes.textunder .imagebox-item {
  display: inline-block;
  position: relative;
}
.imageboxes.textunder .module-image {
  width: 100%;
  display: block;
}
.imageboxes.textunder .module-text {
  width: 100%;
  display: block;
  padding-top: 5px;
  /* Grid of icons with text under */
}
.imageboxes.iconover .imagebox-item {
  display: inline-block;
  position: relative;
  text-align: center;
}
.imageboxes.iconover .imagebox-item-icon {
  width: 100%;
  display: block;
  font-size: 60px;
  line-height: 1;
}
.imageboxes.iconover .imagebox-item-icon [class^="icon-"], .imageboxes.iconover .imagebox-item-icon [class*=" icon-"], .imageboxes.iconover .imagebox-item-icon .material-icons {
  font-size: 60px;
  line-height: 1;
}
.imageboxes.iconover .module-text {
  width: 100%;
  display: block;
  /* Grid of image with text over the image */
}
.imageboxes.textover .imagebox-item {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.imageboxes.textover .module-image {
  float: none;
  width: 100%;
}
.imageboxes.textover .module-text {
  float: none;
  width: auto;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: block;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 500;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.imageboxes.textover .module-text, .imageboxes.textover .module-text .silent {
  color: #fff;
  /* Grid of text over a background color */
}
.imageboxes.textbg .imagebox-item {
  display: inline-block;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.imageboxes.textbg .module-image {
  display: none;
}
.imageboxes.textbg .module-text {
  float: none;
  width: auto;
  height: 100%;
  display: block;
  text-align: center;
  padding: 15px 20px 20px 20px;
  background-color: rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 510;
  -moz-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.imageboxes.textbg .imagebox-item:hover .module-text {
  opacity: 0.7;
}
.imageboxes.textbg .module-text, .imageboxes.textbg .module-text .silent {
  color: #fff;
  /* Image with rollover text popup */
}
.imageboxes.rollover .imagebox-item {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.imageboxes.rollover .imagebox-item:hover .module-image {
  opacity: 1;
}
.imageboxes.rollover .module-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 500;
  -moz-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  opacity: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.imageboxes.rollover .module-text, .imageboxes.rollover .module-text .silent {
  color: #fff;
}
.imageboxes.rollover .imagebox-item:hover .module-text {
  opacity: 1;
  /* Pre-footer image boxes */
}
#pre-footer .imageboxes.textunder {
  margin-bottom: 14px;
}
#pre-footer .imageboxes.textunder .imagebox-item {
  text-align: center;
  background-color: #c72220;
  margin-top: 20px;
  -moz-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  margin-bottom: 0;
}
#pre-footer .imageboxes.textunder .imagebox-item:hover {
  color: #c72220;
  background-color: #fff;
}
#pre-footer .imageboxes.textunder .imagebox-item:hover h4 {
  color: #d82220;
}
#pre-footer .imageboxes.textunder .module-text {
  padding-top: 0;
}
#pre-footer .imageboxes.textunder .imagebox-item h4 {
  color: #fff;
  line-height: 54px;
  padding: 0 0 0 0;
  /* Media Queries */
}
@media screen and (max-width: 850px) {
  #pre-footer .imageboxes.textunder.four-column .imagebox-item {
    width: 48%;
    margin-right: 4%;
  }
  #pre-footer .imageboxes.textunder.four-column .imagebox-item:nth-child(4n+4) {
    margin-right: 4%;
  }
  #pre-footer .imageboxes.textunder.four-column .imagebox-item:nth-child(4n+5) {
    clear: none;
  }
  #pre-footer .imageboxes.textunder.four-column .imagebox-item:nth-child(3n+3) {
    margin-right: 4%;
  }
  #pre-footer .imageboxes.textunder.four-column .imagebox-item:nth-child(3n+4) {
    clear: none;
  }
  #pre-footer .imageboxes.textunder.four-column .imagebox-item:nth-child(2n+2) {
    margin-right: 0%;
  }
  #pre-footer .imageboxes.textunder.four-column .imagebox-item:nth-child(2n+3) {
    clear: both;
  }
}
@media screen and (max-width: 520px) {
  .imageboxes {
    display: block;
    /* Grid - 1 column */
  }
  .imageboxes.imageside .imagebox-item {
    width: 100% !important;
    margin-right: 0% !important;
    margin-bottom: 30px;
  }
  .imageboxes.imageside .module-image {
    float: none;
    width: 100% !important;
  }
  .imageboxes.imageside .module-text {
    float: none;
    width: 100% !important;
    display: block;
    padding-bottom: 5px;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}
