.gallery-image-title {
    margin-top: -32px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 5px;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}
.gallery-image-title-large .title {
    text-transform: uppercase;
    font-size: 15px;
}
.gallery-image-title-large {
    margin-top: -65px;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 10px;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    width: 540px;
    z-index: 9010;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
#profile-gallery-title .page-nav {
    float: right;
    display: inline-block;
    margin-right: 10px;
}
#profile-gallery-title .page-nav a {
    background-color: #fff !important;
    border: 1px #f3f3f3 solid;
    color: #4F4F4F !important;
    padding: 10px 10px;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
#profile-gallery-title .page-nav a:hover {
    background-color: #007fb8 !important;
    color: #fff !important;
    padding: 10px 10px;
}
#profile-gallery-title .page-nav .pagNumActive {
    background-color: #f3f3f3 !important;
    color: #4F4F4F !important;
    padding: 10px 10px;
    margin-right: -3px;
}
#profile-gallery-title h2 {
    font-size: 11px;
    font-family: 'Open Sans', sans-serif;
    color: #BCBCBC;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}
#profile-gallery-title h1 {
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 35px;
}
#profile-gallery {
    padding-bottom: 0px !important
}
#profile-gallery tr td .gal-image a{
    margin-bottom: 10px; 
    margin-right: 10px;
    position: relative;
    float: left;
    /* height: 190px;
    width: 190px; */
}
#profile-gallery tr td .gal-image a:before {
    overflow: hidden;
    position: absolute;
    top: 0;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    opacity: 0;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    -webkit-transform: scale(0.5) rotateY(180deg);
    -moz-transform: scale(0.5) rotateY(180deg);
    -ms-transform: scale(0.5) rotateY(180deg);
    -o-transform: scale(0.5) rotateY(180deg);
    transform: scale(0.5) rotateY(180deg);
    background-color: rgba(0,0,0,0.7);
}
#profile-gallery tr td .gal-image a:hover::before {
    visibility: visible;
    opacity: 0.6;
    -webkit-transform: scale(1) rotateY(0deg);
    -moz-transform: scale(1) rotateY(0deg);
    -ms-transform: scale(1) rotateY(0deg);
    -o-transform: scale(1) rotateY(0deg);
    transform: scale(1) rotateY(0deg);
}
.blankdiv::before {
    z-index :9001;
} 
.blankdiv {
    background-color:#000;
    position:fixed;
    z-index :9001;
    top:0px; 
    height:100%;
    left:0px;
    width:100%; 
    opacity: 0.65;
    filter:alpha(opacity=65);
}
#popupform{
    position: fixed; 
    top: 0; 
    z-index: 10001; 
    left:27%;
}
#popupform .applyform {
    width :700px;
}
#popupform .applyform a.gallery-image-btn {
    position:relative;
    overflow:auto;
    z-index: 9005;
    margin: 10px 10px;
}
#popupform .applyform img.gallery-image {
    position:relative;
    overflow:auto;
    background-color:#fff;
    border-radius: 5px; 
    margin:5% auto auto auto;
    z-index: 9002;
    -webkit-box-shadow: 0px 0px 16px -1px rgba(0,0,0,0.80);
    -moz-box-shadow: 0px 0px 16px -1px rgba(0,0,0,0.80);
    box-shadow: 0px 0px 16px -1px rgba(0,0,0,0.80);
}
#pclose {
    cursor: pointer;
    height: 25px;
    margin: 5% auto -8%;
    position: relative;
    right: -280px;
    top: 0;
    width: 25px;
    z-index: 9999;
}