
.gallery-items { font-size: 0; }

.gallery-item {
  display: inline-block;
  vertical-align: top;
  -webkit-transition: height 500ms ease;
  -o-transition: height 500ms ease;
  transition: height 500ms ease;
}

.gallery-expander {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  max-height: 0;
  -webkit-transition: max-height 500ms ease;
  -o-transition: max-height 500ms ease;
  transition: max-height 500ms ease;
  margin-bottom:20px;
}

.gallery-contents { position: relative; }

.gallery-contents:after {
  display: block;
  position: absolute;
  bottom: 0px;
  left: 50%;
  margin-left: -20px;
  width: 0;
  height: 0;
  content: '';
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom-style: solid;
  border-bottom-width: 0px;
  -webkit-transition: border-bottom-width 500ms ease;
  -o-transition: border-bottom-width 500ms ease;
  transition: border-bottom-width 500ms ease;
}

.gallery-item.active .gallery-contents:after { border-bottom-width: 20px; }




.gallery-contents {
	padding:20px 15px;
}

ul.gallery-items {
  margin: 0 -15px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.gallery-item {
  text-align: left;
  font-size: 25px;
  margin: 0 0;
  padding: 0;
  width: 33.33%;
}

.gallery-item .thumbnail1 {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item .thumbnail1 > img {
  position: absolute;
/*  top: 50%;*/
 /* margin-top: -300px;*/
  max-width: 100%;
  width:100%;
  padding:0 0;
}

.gallery-item .title {
  text-align: center;
  margin-top: 20px;
  padding-bottom: 20px;
}

.gallery-contents:after { border-bottom-color: #ebebeb; }

.gallery-expander {  }

.gallery-expander-contents {
  margin: 0 auto 20px;
  width: 1140px;
  padding: 40px;
  position:relative;
  background: #ebebeb;
}

.gallery-expander h2{ font-size:25px; font-weight:bold; color:#25211e; margin-top:0;}
.gallery-expander h3{ font-size:18px; color:#25211e; margin-top:30px;}
.gallery-expander p{ font-size:14px; color:#25211e; line-height:24px;}


.active .thumbnail1 .mask {
    opacity: 0.84;
	z-index:9;
}


.thumbnail1:hover .mask {
    opacity: 0.84;
	z-index:9;
}




@media (min-width: 640px) and (max-width: 999px) {

.gallery-expander-contents { width: 640px; }
}




@media (max-width: 639px) {

.gallery-expander-contents { width: 100%; }
}

.gallery-expander-contents:after {
  clear: both;
  display: table;
  content: '';
}

.gallery-expander-contents > div.col {
  float: left;
  width: 480px;
}
@media (min-width: 640px) and (max-width: 999px) {

.gallery-expander-contents > div.col { width: 310px; }
}
@media (max-width: 639px) {

.gallery-expander-contents > div.col {
  float: none;
  padding: 25px 20px 0;
  width: auto;
}
}

.gallery-expander-contents > div.col + div.col { margin-left: 40px; }
@media (min-width: 640px) and (max-width: 999px) {

.gallery-expander-contents > div.col + div.col { margin-left: 20px; }
}
@media (max-width: 639px) {

.gallery-expander-contents > div.col + div.col { margin-left: 0px; }
}

.gallery-expander-contents div.close {
  position: absolute;
  top: 10px;
  right: 20px;
}

.gallery-expander-contents div.title {
  font-weight: 500;
  color: #D28A3C;
}

.gallery-expander-contents div.contents {
  margin-top: 10px;
  border-top: 1px solid #BCB098;
  border-bottom: 1px solid #BCB098;
  padding: 10px 0;
  font-size: 14px;
  line-height: 24px;
  color: #797262;
}

.gallery-expander-contents div.image{border:solid 5px #fcb816;}

.gallery-expander-contents div.image > img {
  width: 100%;
  display: block;
  
}


@media (max-width: 1200px) {
.gallery-item .thumbnail1 {
    height: 237px;
}

.gallery-expander-contents { width: 940px; }

.gallery-expander-contents > div.col + div.col {
    margin-left: 6%;
}
.gallery-expander-contents > div.col {
    width: 47%;
}
}

@media (max-width: 992px) {
.gallery-item .thumbnail1 {
    height: 275px;
}
.gallery-item {
    width: 50%;
}

.gallery-expander-contents { width: 100%; }

}

@media (max-width: 767px) {
.gallery-item .thumbnail1 {
    height: 200px;
}
.gallery-item {
    width: 300px;
}


}

@media (max-width: 650px) {

.gallery-expander-contents > div.col + div.col {
    margin-left: 0;
}
.gallery-expander-contents > div.col {
    width: 100%;
}

.gallery-expander h2 {
    margin-top: 30px;
}

.gallery-expander-contents {
    padding: 40px 0;
}

	
}