
.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;
}

.gallery-contents { position: relative; }
/*.gallery-contents:after {
  display: block;
  position: absolute;
  bottom: 0px;
  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.active .title{color: #f92552;}
.gallery-item {
  text-align: left;
  font-size: 25px;
  margin: 0 10px;
  padding: 10px 0;
}

.gallery-item .thumbnail {
  position: relative;
  width: 175px;
  height: 200px;
  margin:0 auto;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item .thumbnail > img {
  position: absolute;
  max-width: 300px;
}

.gallery-contents .title {
 color: #000;
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

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

.gallery-expander { background: #F6F3ED; }

.gallery-expander-contents {
  margin: 0 auto;
  width: 1000px;
  padding: 20px 0;
}
@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: 230px;
}
.content_expanded{width:730px !important;}
.image_expanded_div{
    width: 100%;
    height: 260px;
    overflow: hidden;
}
@media (min-width: 700px) and (max-width: 999px) {

.gallery-expander-contents > div.col { width: 310px; }
.content_expanded{width:100% !important;}
}
@media (max-width: 639px) {
.gallery-expander-contents > div.col {
  float: none;
  padding: 25px 20px 0;
  width: auto !important;
}
.gallery-expander-contents > div .image_col{
    margin: 0 auto !important;
    width: 230px !important;
    border: 1px solid #000 !important;
    padding: 0 !important;
}
}

.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; font-family: 'Montserrat', sans-serif;
  right: 20px;
}

.gallery-expander-contents div.title {
  font-weight: bold;
  color: #000;text-align:left;font-size:19px;
}

.gallery-expander-contents div.contents {
  margin-top: 10px;
  border-top: 1px solid #BCB098;
 font-family: 'Montserrat', sans-serif;
  padding: 10px 0;
  font-size: 12px;
  line-height: 20px;
  color: #333;text-align:justify;
}

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