div.mask h2 {
  font-size: 13px;
  text-align: center;
}
.badge {
  background-color: #fff;
}
.demo {
    margin-bottom: 14px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #eee;
    text-align: center;
}
.demo img{
  border: 1px solid #eee;
}
.mask {
    border: 1px solid #eee;
    padding: 2px;
    background: #fbd3cf;color: #000;
}
#popup1{
  display: none;
}

/*gallery details*/

.text-column h2 {
  font-size: 2em;
  font-weight: bold;
  margin: 0 0 0.5em;
}

.image-column, .gallery-column {
  height: 792px;
  /*background: #fbd3cf;*/
  text-align: center;
  padding: 20px;
  position: relative;
  font-size: 0.75em;
}

.image-column:after, .gallery-column:after {
    content: 'Tap image to enlarge';
    display: block;
    color: #666;
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-weight: bold;
    line-height: 1;
}

.image-column {
  line-height: 752px;
}

.gallery-column {
  height: 100%;
}

.image-column img, .gallery-column img, .gallery-column div {
  max-width: 100%;
  max-height: 100%;
}

.gallery-column img {
  max-height: 540px;
}

.gallery-column .image-1, .gallery-column .image-2, .gallery-column .image-3, .gallery-column .image-4, .gallery-column .image-5, .gallery-column .image-6, .gallery-column .image-7 {
    display: none;
    margin: auto;
}

.gallery-column .visible {
display: block;
  }

.gallery-column div img {
  display: block;
  max-height: 540px;
  margin: auto;
}

.gallery-column div {
  position: relative;
  /*height: 560px;*/
  padding-bottom: 20px;
}

.gallery-column div span {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 75%;
    color: #666;
    line-height: 1;
    padding: 0;
    text-align: left;
}
.image-column div {
    height: 752px;
    position: relative;
}
.image-column div span {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 75%;
    color: #666;
    line-height: 1;
    padding: 0;
    text-align: left;
}
.gallery-thumbs {
    width: 100%;
    height: 250px;
    margin-top: 10px;
    padding: 0px;
    text-align: center;
}
.gallery-thumbs a {

}
.gallery-thumbs a img{ 
    height: 120px; 
    padding: 3px;
    border: 1px solid #fbd3cf;
    padding: 5px;
}
#codimageContainer {
    border: 1px solid #fbd3cf;
    padding: 5px;
}
#labelfooter {
   /* background: #2a2a2a;*/
    width: 100%;
    height: 92px;
    margin-top: 30px;
    position: relative;
}

#labelfooter a {
    position: absolute;
    top: 20px;
    width: 170px;
}

#labelfooter a#previous {
  left: 200px;
}
#labelfooter a#prev {
  text-align: center;
}
#labelfooter a#home {
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}

#labelfooter a#next {
  right: 0px;
  text-align: center;
}

#labelfooter p {
    height: 92px;
    line-height: 87px;
    text-align: center;
}

#labelfooter:before {
padding-top: 0px;
}
/*collection tabs*/


.tag-list, .tags, .collection-tags {
    padding-bottom: 1.5em;
}

.tag-list a, .tags a, .collection-tags a {
    display: block;
    position: relative;
    height: 26px;
    padding: 6px 10px 5px 9px;
    background: #324d5b;
    float: left;
    margin: 4px 10px;
    color: white;
    font-size: 11px;
    text-transform: lowercase;
}

.tag-list:after, .tags:after, .collection-tags:after {
    content: '';
    clear: both;
    display: block;
}

.tag-list a:before, .tags a:before, .collection-tags a:before {
    content: '';
    position: absolute;
    left: -14px;
    top: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 14px solid #324d5b;
}

.tag-list a:after, .tags a:after, .collection-tags a:after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    position: absolute;
    top: 10px;
    background: white;
    left: -3px;
}
.collection-tags ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.collection-tags ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.related_items img {
    border: 1px solid #C0C0C0;
    padding: 5px;
    margin: 5px;
}
.grid-item img {
    display: inherit !important;
}
@media screen and (max-width: 420px) {
#labelfooter a{
 max-width: 90px;
 font-size: 10px;
}
}