/* 
    Document   : Gallery
    Created on : Mar 23, 2018, 9:54:54 AM
    Author     : Hawkeye
    Description:
        Purpose of the stylesheet follows.
*/

/**********************************************/
/* Gallery Module Styles                      */
/**********************************************/
ul.gallery {
  float: none;
  width: auto;
  }
ul.gallery:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
  }
ul.gallery li {
  height: 300px;
  }
input.dphoto {
  margin-left: 0;
  margin-top: 3px;
  top: 0;
  }
li.gallery input:first-child {
  display: block;
  width: 100%;
  }
li.gallery label {
  font-size: 12px;
  }

.GTitleBox {
  position: relative;
  background: #efefef;
  height: 50px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  }

h3.GalleryTitle {
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  }

p.NoPhotos {
  margin: 0 0 50px 0;
  }

.ThreePics li {
  float: left;
  width: 31.81818181818182%; /* 350px / 1100px */
  margin: 0 2.27272727272727% 30px 0; /* 25px / 1100px */
  }
.ThreePics li .GalListPhoto {
  height: 275px;
  overflow: hidden;
  position: relative;
  }
.ThreePics li img {
  display: block;
  border: 0;
  margin: 0 auto;
  }
.ThreePics li:nth-child(3n) {
  margin: 0 0 20px 0;
  }
.ThreePics li:nth-child(3n+1) {
  clear: left;
  }

ul.DetailPics {
  margin: 25px 0 0 0;
  }
.DetailPics li {
	float: left;
	height: 250px;
	margin: 0 25px 30px 0;
	overflow: hidden;
}
.DetailPics li img {
	display: block;
	border: 0;
	margin: 0 auto;
	max-height: 100%;
}


.GalListPhoto {
  margin: 0 0 10px 0;
  }
.GalListPhoto img {
  display: block;
  margin: 0;
  border: 0;
  }

li.gallery {
  float: left;
  width: 23.18181818181818%; /* 255px / 1100px */
  margin: 0 1.81818181818182% 20px 0; /* 20px / 1100px */
  }
li.gallery:nth-child(4n+1) {
  clear: left;
  }
li.gallery input{
  max-width: 100%;
  }
li.gallery .ButtonPane {
  margin: 0 0 10px 0;
  padding: 0;
  }

hr.galclr {
  clear: both;
  }

input#Caption {
  }
label.labelCaption {
  }

@media screen and (max-width: 700px) {
h3.GalleryTitle {
  text-align: left;
  }
.ThreePics li {
  float: none;
  width: 100%;
  height: auto;
  margin: 0 auto 30px auto;
  }
.ThreePics li img {
  margin: 0;
  max-width: 100%;
  position: static;
  height: auto;
  transform: translate(0, 0);
  }
.DetailPics li {
  float: none;
  width: 100%;
  height: auto;
  margin: 0 auto 30px auto;
  }
.DetailPics li img {
  margin: 0;
  max-width: 100%;
  position: static;
  height: auto;
  transform: translate(0, 0);
  }
.GTitleBox {
  height: auto;
  }
h3.GalleryTitle {
  position: static;
  }
}
@media screen and (max-width: 570px) {
.ThreePics li {
  float: none;
  width: 100%;
  max-height: 1000px;
  margin: 0 auto 30px auto;
  }
}


