
.gallery-items {
    font-size: 0;
/*     width: 300px;
    float: left;
    margin-right: 25px; */
}

.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;
  z-index:99999;
  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 {
  text-align: left;
  font-size: 25px;
  /* margin: 10px 4px; */
  padding: 10px 0;
}
li.ex_item.gallery-item{
	position:static;
	    list-style: none;
}

.gallery-item .thumbnail {
  position: relative;
  width:auto;
  height: auto;
  overflow: hidden;
  cursor: pointer;
      min-height: 205px;
}

.gallery-item .thumbnail > img {
  /* position: absolute;
  top: 50%;
  margin-top: -300px; */
  /*  max-width: 288px; */
}

.gallery-item .title {
    text-align: center;
    margin-top: 8px;
    font-size: 16px;
    padding-bottom: 34px;
}
.ex_read_more {float: right;
    margin-top: 22px;
}

.gallery-contents:after { border-bottom-color: #ddd; }

.gallery-expander { background: #ddd;
z-index:99999;
 }

.gallery-expander-contents {
  margin: 0 auto;
  width: 80%;
  padding: 20px 0;
}
@media and (max-width: 999px) {
.gallery-expander-contents {
width: 100%;
}
}
@media (min-width: 640px) and (max-width: 999px) {

.gallery-expander-contents {/*  width: 640px;  */ width: 100%;}
}
@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:45%;
}
@media (min-width: 640px) and (max-width: 999px) {

.gallery-expander-contents > div.col { /* width: 310px;  */ width:43%;}
}
@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: 100;
    color: #D28A3C;
    margin-bottom: 20px;
    padding: 0px;
    font-size: 36px;
	line-height: 35px;
}

.gallery-expander-contents div.contents {
  font-size: 14px;
  line-height: 27px;
  color: #797262;
}

.gallery-expander-contents div.image > img {
  width: 100%;
  display: block;
}
.og-close:before, .og-close:after {
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    height: 1px;
    background: #888;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
.og-close:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.og-close {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.video_icon {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
-webkit-transition: background-color 0.4s ease-out;
  -moz-transition: background-color 0.4s ease-out;
  -o-transition: background-color 0.4s ease-out;
  transition: background-color 0.4s ease-out;
}
.thumbnail.gallery-trigger:hover .video_icon {
    background: rgba(0, 0, 0, 0.7);
}
.video_icon img {
    top: 35%;
    position: relative;
}
.post_meta span {
    margin-right: 5px;
}

.post_meta i {
    margin-right: 5px;
}
.post_meta {
    font-size: 14px;
    line-height: 23px;
    margin: 10px 0px;
}
select.wpb_vc_param_value.wpb-input.wpb-select.post_type.dropdown.portfolio {
    text-transform: capitalize;
}

.pagination {
    float: right;
    margin-top: 54px !important;
    margin-bottom: 0px;
}			
.pagination a, .pagination span {
    display: inline-block;
    background: #262626;
    padding: 7px 12px !important;
    color: #fff;
    font-size: .85em;
    border-radius: 2px;
    transition: all .3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0px 2px;
    font-weight: 100 !important;
}