
.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;
  margin-top:40px;
  margin-bottom:400px;
  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;
 /* !! */
 /* height:600px; */
}

.gallery-contents { position: relative; }

.gallery-contents:after {
  display: block;
  position: absolute;
  bottom: -40px;
  left: 50%;
  margin-left: -30px;
  width: 0;
  height: 0;
  content: '';
  border-left: 30px solid transparent;
  border-right: 30px 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: 30px; 
}


ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.gallery-item {
  text-align: left;
  font-size: 16px;
  margin: 20px 10px;
  margin-left:40px;
}
.image img{
	border: solid 1px rgba(236,118,29, 0.4);
	width:100%;
	height:auto;
}
.image{

}
.gallery-item .thumbnail {
  position: relative;
  width: 250px;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item .thumbnail > img {
	border:solid 1px rgba(236,118,29, 0.4); 
}

.gallery-item .title {
	padding-bottom: 10px;
	color:white;
	font-size:2.8em;
	text-align:left;
	font-weight:200;
	line-height:0.9em;
}

.gallery-contents:after { 
border-bottom-color: #6f7072; 
}

.gallery-expander { 
background-color: #6f7072; 
}

.gallery-expander-contents {
  margin: 0 auto;
  width:90%;
  padding: 20px 0;
}



@media (min-width: 640px) and (max-width: 999px) {
.gallery-expander-contents { width: 90%; }
}



@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: 2%;
	width:60%;
}
.image img{
	width:100%;
	height:auto;
}
.gallery-expander-contents div.contents {
  margin-top: 10px;
  padding-top:20px;
  padding-bottom:0%;
}
}
@media (max-width: 860px){
.gallery-expander-contents { width: 95%; }
}
.gallery-expander-contents div.title {
}
.gallery-expander-contents > div.col + div.col { 
	padding-left: 2%;
	margin-right: 2%;
	width:45%;
}
}
@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;
  color:white;
  opacity:0.5;
  cursor:pointer;
  font-size:3em;
  font-weight:100;
}

.gallery-expander-contents div.title {

}

.gallery-expander-contents div.contents {
  margin-top: 10px;
  /* border-top: 1px solid #999696; */
  border-top: 1px solid rgba(236,118,29, 0.4);
  padding-top:20px;
  padding-bottom:10%;
  font-size: 1em;
  line-height: 1.4em;
  	color:white;
}

.gallery-expander-contents div.image > img {
  width: 100%;
  display: block;
}
