.galleryclearfix {
        overflow: hidden !important;
	display: block;
	position: relative;
	height: 230px;
	width: 100%;
}
.pswp--open {
z-index: 20000 !important;
}

.fhidden {
position: absolute;
visibility: hidden;
}

.fhidden:first-child {
visibility: visible;
}


.gallery .img {
   /* height: 150px; */
   /* width: 150px; */
    float: left;
   /*  margin: 10px 10px 25px 10px; */
    text-align: center;
}

.gallery .img a { display: inline-block }

.gallery .img a:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha(opacity=80)";
    -khtml-opacity: 0.8;
    -moz-opacity: 0.8;
}

.gallery img { 
border: none;
    width: 100%;
    height: auto;
 }

.gallery .pagenavigation { height: 50px }

.gallery .prevpage a,
.gallery .prevpage em {
    display: block;
    width: 50px;
    height: 39px;
    float: left;
    margin: 0;
    text-indent: -1000px;
    background: url(../../images/previous.png) transparent no-repeat 0 0;
    overflow: hidden;
}

.gallery .nextpage a,
.gallery .nextpage em {
    display: block;
    width: 50px;
    height: 39px;
    float: left;
    margin: 0 6px 0 0;
    text-indent: -1000px;
    background: url(../../images/next.png) transparent no-repeat 0 0;
    overflow: hidden;
}

.gallery .parentlink a {
    display: block;
    width: 50px;
    height: 39px;
    float: left;
    text-indent: -1000px;
    background: url(../../images/uppage.png) transparent no-repeat 0 0;
    overflow: hidden;
}

.gallery .pagenavigation a:hover { background-position: 0 -40px }

.gallery .prevpage em,
.gallery .nextpage em { background-position: 0 -80px }

.gallery .pagelinks {
    float: right;
    border-right: 2px solid #666;
}

.gallery .pagelinks a,
.gallery .pagelinks em {
    margin-top: 6px;
    padding: 0 6px;
    border-left: 2px solid #666;
    text-align: center;
    font: bold 11px verdana; color: #666;
}

.gallery .pagelinks em { color: #000; }

.galleryclearfix { overflow: auto; }