/* 
    Document   : Gallery
    Created on : Mar 23, 2018, 9:54:54 AM
    Author     : Hawkeye
    Description:
        Purpose of the stylesheet follows.
*/

/**********************************************/
/* Gallery Module Styles                      */
/**********************************************/

.GTitleBox {
  position: relative;
  background: #66ccff;
  min-height: 53px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  }

h3.GalleryTitle {
  font-size: 15px;
  line-height: 18px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 2%;
  width: 96%;
  margin: .5555555555555556em 0 .35em 0; /* 10px / 18px */
  }
h3.GalleryTitle a {
  color: #003366;
  text-decoration: none;
  }
h3.GalleryTitle a:hover {
  text-decoration: underline;
  }

.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;
/*  max-width: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);*/
  }
.ThreePics li:nth-child(3n) {
  margin: 0 0 20px 0;
  }
.ThreePics li:nth-child(3n+1) {
  clear: left;
  }

.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%;
}
/*.DetailPics li:nth-child(3n) {
  margin: 0 0 20px 0;
  }
.DetailPics li:nth-child(3n+1) {
  clear: left;
  }*/


.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 {
  }


/**********************************************/
/* Fix Bullets                                */
/**********************************************/

.Paragraph ul {
  list-style-type: disc;
  margin: 0 0 0 25px;
  }
.Paragraph ul > ul {
  list-style-type: square;
  }
.Paragraph ul > ul > ul {
  list-style-type: disc;
  }
.Paragraph ol {
  margin: 10px 0 10px 27px;
  list-style-type: decimal;
  }
.Paragraph li {
  margin: 0 0 0 10px;
  padding: 0 0 5px 0;
  }

@media screen and (max-width: 900px) {
.ThreePics li {
  width: 48%;
  margin: 0 2% 30px 0;
  }
}
@media screen and (max-width: 700px) {
.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);
  }
h3.GalleryTitle {
  font-size: .8em;
  margin: .5555555555555556em 0;
  }
}
@media screen and (max-width: 570px) {
.ThreePics li {
  float: none;
  width: 100%;
  max-height: 1000px;
  margin: 0 auto 30px auto;
  }
}


