#galleryBox .fancybox-wrap, #galleryBox.fancybox-wrap {
    top: 15px !important;
    left: 15px !important;
    width: auto !important;
    height: auto !important;
    position: fixed !important;
}

#galleryBox .fancybox-skin {
    /*padding: 4px!important;*/
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

#galleryBox .fancybox-title {
    display: none;
}

#galleryBox .fancybox-inner {
    width: auto !important;
    height: auto !important;
}

#galleryBox #myBox {
    position: relative;
    background: white;
    width: 100%;
    overflow: hidden;
}

#galleryBox .fancybox-close {
    top: 0;
    right: 0;
    z-index: 9999;
}

#galleryBox #myBox .panel {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 8090;
}

#galleryBox .ButtonBox {
    text-align: center;
    height: 40px;
    overflow: hidden;
    color: #444;
    font-size: 13pt;
}

#galleryBox .ButtonBox > div,
#galleryBox .ButtonBox > a {
    margin-right: 10px;
    text-decoration: none;
}

#galleryBox .button {
    display: block;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    color: #555;
    border: 1px solid #d3d3d3;
    border-radius: 2px;
    background: #e6e6e6;
    width: 100px;
    padding: 5px 0;
}

#galleryBox .button:hover {
    text-decoration: none;
}

#galleryBox .ButtonBox .inline {
    display: inline-block;
    vertical-align: top;
}

#galleryBox .ButtonBox .box_getMeBig {
    display: inline-block;
    vertical-align: top;
    background: #e6e6e6;
    width: 250px;
    overflow: hidden;
    z-index: 8050;
    position: relative;
    padding: 5px 0;
    height: auto;
}

#galleryBox .on {
    background: #FFFFD1;
}

#galleryBox .off {
    background: #e6e6e6;
}

#galleryBox .fancybox-newtitle {
    margin: 0 auto;
    font-weight: bold;
    text-align: center;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 80%;
    overflow: hidden;
}

#galleryBox .fancybox-image {
    display: none !important;
}

#galleryBox .fancybox-nav{
    top: 4%;
    height: 96%;
}

