*
{
    padding: 0;
    margin: 0;
}
#mbOverlay
{
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    cursor: pointer;
}
#mbOverlay.mbOverlayFF
{
    background: transparent url(404.png) repeat;
}
#mbOverlay.mbOverlayIE
{
    position: absolute;
}
#mbCenter
{
    height: 557px;
    position: absolute;
    z-index: 9999;
    padding-bottom: 20px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    left: 50%;
    background-color: #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-box-shadow: 0 10px 40px rgba(0,0,0,.7);
    -webkit-box-shadow: 0 10px 40px rgba(0,0,0,.7);
}
#mbCenter.mbLoading
{
    background: #fff url(../image/WhiteLoading.gif) no-repeat center;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
#mbImage
{
    left: 0;
    top: 0;
    font-family: Myriad,Verdana,Arial,Helvetica,sans-serif;
    line-height: 20px;
    font-size: 12px;
    color: #fff;
    text-align: left;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 10px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
#mbImage a, #mbImage a:link, #mbImage a:visited
{
    color: #ddd;
}
#mbImage a:hover, #mbImage a:active
{
    color: #fff;
}
#mbImage img
{
    width: 100%;
    min-width: 220px;
}
#mbBottom
{
    min-height: 20px;
    font-family: Myriad,Verdana,Arial,Helvetica,sans-serif;
    line-height: 20px;
    background: #fff;
    font-size: 12px;
    color: #999;
    text-align: left;
    padding: 0 10px 10px;
}
#mbTitle
{
    display: block!important;
    color: #999;
    font-weight: bold;
    line-height: 20px;
    font-size: 12px;
    width: 74%;
    height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: absolute;
    bottom: 10px;
}
#mbNumber
{
    background: url(404.png) no-repeat center;
    display: inline;
    color: #c00;
    line-height: 26px;
    font-size: 12px;
    position: absolute;
    bottom: 10px;
    right: -18px;
    text-align: center;
    width: 100px;
    height: 26px;
    overflow: hidden;
}
#mbCaption
{
    display: block;
    color: #999;
    line-height: 14px;
    font-size: 10px;
}
#mbPrevLink, #mbNextLink, #mbCloseLink
{
    display: block;
    float: right;
    height: 20px;
    margin: 0;
    outline: none;
}
#mbPrevLink
{
    width: 32px;
    height: 100px;
    background: transparent url(../image/CustomBlackPrevious.gif) no-repeat center;
    position: absolute;
    top: 38%;
    left: -32px;
}
#mbNextLink
{
    width: 32px;
    height: 100px;
    background: transparent url(../image/CustomBlackNext.gif) no-repeat center;
    position: absolute;
    top: 38%;
    right: -32px;
}
#mbCloseLink
{
    width: 24px;
    background: transparent url(../image/CustomBlackClose.gif) no-repeat center;
    position: absolute;
    top: 10px;
    right: 10px;
}
#mbError
{
    position: relative;
    font-family: Myriad,Verdana,Arial,Helvetica,sans-serif;
    line-height: 20px;
    font-size: 12px;
    color: #fff;
    text-align: center;
    border: 10px solid #700;
    padding: 10px 10px 10px;
    margin: 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
#mbError a, #mbError a:link, #mbError a:visited, #mbError a:hover, #mbError a:active
{
    color: #d00;
    font-weight: bold;
    text-decoration: underline;
}
@media screen and (max-width: 600px)
{
    #mbPrevLink
    {
        width: 22px;
        height: 100px;
        background: transparent url(../image/CustomBlackPrevious.gif) no-repeat center;
        position: absolute;
        top: 38%;
        left: -12px;
    }
    #mbNextLink
    {
        width: 22px;
        height: 100px;
        background: transparent url(../image/CustomBlackNext.gif) no-repeat center;
        position: absolute;
        top: 38%;
        right: -12px;
    }
}
