/* compiled by scssphp v0.0.12 on Thu, 25 May 2017 14:18:01 +1200 (0.0434s) */

/* Gallery SCSS Document */
.gallery {
  display: block;
}
.gallery .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;
}
.gallery .module-image img {
  vertical-align: middle;
}
.gallery a.gallery-item:hover .module-image {
  opacity: 0.7;
}
.gallery .module-text p {
  display: block;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
}
.gallery .module-text .readmore {
  /* Grid of images with text under */
}
.gallery.textunder .gallery-item {
  display: inline-block;
  position: relative;
}
.gallery.textunder .module-image {
  width: 100%;
  display: block;
}
.gallery.textunder .module-text {
  width: 100%;
  display: block;
  padding-top: 5px;
  /* Grid of images with text under for summary */
}
.gallery.summary .gallery-item {
  display: inline-block;
  position: relative;
}
.gallery.summary .module-image {
  width: 100%;
  display: block;
}
.gallery.summary .module-text {
  width: 100%;
  display: block;
  /* Galery with text over, Rounded edges and transparent overlay */
}
.gallery.rounded .gallery-item {
  display: inline-block;
  position: relative;
}
.moving-to-hamilton-page .gallery.rounded .gallery-item {
  margin-bottom: 0;
}
.gallery.rounded .gallery-item .gallery-inner {
  display: block;
  position: relative;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.gallery.rounded .module-image {
  width: 100%;
  display: block;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.gallery.rounded a.gallery-item:hover .module-image {
  opacity: 1;
}
.gallery.rounded .module-image:before, .gallery.rounded .module-image:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.gallery.rounded .module-image:before {
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.4);
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.5+100 */
  /* FF3.6-15 */
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
  /* IE6-9 */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#66000000',GradientType=0);
}
.gallery.rounded .module-image:after {
  opacity: 0;
  background: rgba(0, 0, 0, 0.4);
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.5+0,0.5+100 
				background: -moz-linear-gradient(top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 100%);
				background: -webkit-linear-gradient(top, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.4) 100%);
				background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.4) 100%);
				filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66000000', endColorstr='#66000000',GradientType=0 );*/
}
.gallery.rounded a.gallery-item:hover .module-image:before {
  opacity: 0;
}
.gallery.rounded a.gallery-item:hover .module-image:after {
  opacity: 1;
}
.gallery.rounded .module-text {
  width: 100%;
  display: block;
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  padding: 20px 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}
.gallery.rounded a, .gallery.rounded h4, .gallery.rounded a h4, .gallery.rounded a:hover h4, .gallery.rounded .module-text h4 {
  color: #fff !important;
  font-weight: 400;
}
.gallery.rounded .gallery-item .module-text .gallery-item-details {
  height: 0px;
  display: block;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.gallery.rounded a.gallery-item:hover .module-text .gallery-item-details {
  height: 36px;
}
.gallery.rounded .gallery-item .module-text .readmore {
  height: auto;
  opacity: 0;
  position: relative;
  bottom: -50px;
  display: inline-block;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  line-height: 20px;
  background-color: #00aeef;
  color: #fff;
  border-radius: 5px;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 10px;
}
.gallery.rounded a.gallery-item:hover .module-text .readmore {
  opacity: 1;
  bottom: 0;
}
.gallery.rounded a.gallery-item .module-text .readmore:hover {
  background-color: #000;
}
.gallery.rounded.grid.four-column .grid-item {
  width: 25%;
  margin-right: 0%;
  padding: 0 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.gallery.rounded.grid.four-column .grid-item:nth-child(4n+5) {
  clear: both;
}
.gallery.rounded.grid.three-column .grid-item {
  width: 33.3%;
  padding: 0 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.gallery.rounded.grid.three-column .grid-item:nth-child(3n+4) {
  clear: both;
}
.gallery.rounded.grid.two-column .grid-item {
  width: 50%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.gallery.rounded.grid.two-column .grid-item:nth-child(2n+3) {
  clear: both;
  /* Photo details page */
}
.photo-details {
  display: block;
}
.photo-details-image {
  padding-bottom: 10px;
}
.photo-details-description {
  display: block;
}
.photo-details-description .backlink {
  display: block;
  /* Media Queries */
}
@media screen and (max-width: 650px) {
  .gallery.summary.grid.seven-column .gallery-item, .gallery.summary.grid.six-column .gallery-item, .gallery.summary.grid.five-column .gallery-item, .gallery.summary.grid.four-column .gallery-item, .gallery.summary.grid.three-column .gallery-item {
    clear: none !important;
    width: 30% !important;
    margin-right: 5% !important;
  }
  .gallery.summary.grid.seven-column .gallery-item:nth-child(3n+3), .gallery.summary.grid.six-column .gallery-item:nth-child(3n+3), .gallery.summary.grid.five-column .gallery-item:nth-child(3n+3), .gallery.summary.grid.four-column .gallery-item:nth-child(3n+3), .gallery.summary.grid.three-column .gallery-item:nth-child(3n+3) {
    margin-right: 0% !important;
  }
}
@media screen and (max-width: 480px) {
  .gallery.summary.grid.seven-column .gallery-item, .gallery.summary.grid.six-column .gallery-item, .gallery.summary.grid.five-column .gallery-item, .gallery.summary.grid.four-column .gallery-item, .gallery.summary.grid.three-column .gallery-item {
    clear: none !important;
    width: 30% !important;
    margin-right: 5% !important;
  }
}
