/* compiled by scssphp v0.0.12 on Thu, 06 Jul 2017 12:35:25 +1200 (0.0433s) */

/* 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 */
}
#home-top-container .imageboxes.textunder {
  position: relative;
  display: inline-block;
  z-index: 9999;
  width: 70%;
  left: 15%;
  right: 15%;
  margin-top: -240px;
}
.imageboxes.textunder .imagebox-item {
  display: inline-block;
  position: relative;
  text-align: center;
}
.imageboxes.textunder .module-image {
  width: 100%;
  display: block;
  -webkit-transition: all 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.imageboxes .imagebox-item:hover .module-image {
  transform: scale(0.9);
  opacity: 1;
}
.imageboxes.textunder .module-text {
  width: 100%;
  display: block;
  padding-top: 5px;
}
.imageboxes.textunder .module-text h4 {
  font-family: "eurostile-extended", "eurostile-extended-n3", Arial, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  text-transform: uppercase;
  /* 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;
  /* Media Queries */
}
@media screen and (max-width: 1200px) {
  #home-top-container .imageboxes.textunder {
    margin-top: -130px;
  }
}
@media screen and (max-width: 900px) {
  #home-top-container .imageboxes.textunder {
    width: 100%;
    left: auto;
    right: auto;
  }
}
@media screen and (max-width: 480px) {
  .imageboxes {
    display: block;
  }
  #home-top-container .imageboxes.textunder {
    margin-top: 0;
    /* 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;
  }
  .imageboxes.textunder .module-image {
    width: 50%;
    margin-left: 25%;
  }
}
