/* fsgallery start */
#fsgalleryBg, #fsgalleryBg *, #fsgalleryBg *:before, #fsgalleryBg *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 none;
}

#fsgalleryBg {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    /* background: rgba(0, 0, 0, 0.8); */
    background: #000000;
    cursor: zoom-out;
    font-size: 1rem;
}

#fsgalleryImgArea {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}
#fsgalleryTextArea {
    display: none;
    /*
    position: absolute;
    top: 0;
    bottom: 20%;
    left: 75%;
    right: 0;
    overflow: hidden;
    */
}
#fsgalleryCtrlArea {
    display: block;
    visibility: hidden;
    position: absolute;
    bottom: 15%;
    right: 0;
    z-index: 9900;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    -moz-border-radius: 10px 0 0 10px;
    -webkit-border-radius: 10px 0 0 10px;
    -khtml-border-radius: 10px 0 0 10px;
    border-radius: 10px 0 0 10px;
    transition: visibility 1500ms ease, opacity 1500ms ease;
    opacity: 0;
}

#fsgalleryCtrlArea.fsgalleryCtrlAreaVisible {
    display: block;
    visibility: visible;
    transition: visibility 1500ms ease, opacity 1500ms ease;
    opacity: 1;
}

#fsgalleryCtrlArea {
    padding: 1%;
}

#fsgalleryCtrlCont {
    text-align: center;
    width: 100%;
    /* height: 100%; */
}

.fsgalleryCtrlContSub1, .fsgalleryCtrlContSub2 {
    display: inline-block;
}

#fsgalleryPrev {
    display: inline-block;
    margin: 0 10px 0 0;
    vertical-align: top;
    width: 48px;
    height: 48px;
    background: url("images/fsgalleryPrevButton3.png") no-repeat scroll 0 0 / contain transparent;
    max-height: 100%;
}

#fsgalleryNext {
    display: inline-block;
    margin: 0 10px 0 0;
    vertical-align: top;
    width: 48px;
    height: 48px;
    background: url("images/fsgalleryNextButton3.png") no-repeat scroll 0 0 / contain transparent;
    max-height: 100%;
}

#fsgalleryZoomOut {
    display: inline-block;
    margin: 0 10px 0 0;
    vertical-align: top;
    width: 48px;
    height: 48px;
    background: url("images/fsgalleryZoomOutButton3.png") no-repeat scroll 0 0 / contain transparent;
    max-height: 100%;
}
#fsgalleryZoomIn {
    display: inline-block;
    margin: 0 10px 0 0;
    vertical-align: top;
    width: 48px;
    height: 48px;
    background: url("images/fsgalleryZoomInButton3.png") no-repeat scroll 0 0 / contain transparent;
    max-height: 100%;
}

#fsgalleryClose {
    display: inline-block;
    margin: 0 10px 0 0;
    vertical-align: top;
    width: 48px;
    height: 48px;
    background: url("images/fsgalleryCloseButton3col.png") no-repeat scroll 0 0 / contain transparent;
    max-height: 100%;
}


#fsgalleryImgCont {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border: 0 none;
    cursor: zoom-out;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden;
    /*
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,1.0);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,1.0);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,1.0);
    */
}

.fsgalleryImg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
/* fsgallery end */
