#mbOverlay {

 position: absolute;
 z-index: 9998;
 left: 0;
 width: 100%;
 background-color: #000;
 cursor: pointer;

}

#mbOverlay.mbOverlayFF {

 background: transparent url(../img/mediabox/80.png) repeat;

}

#mbOverlay.mbOverlayIE {

 background: transparent url(../img/mediabox/50.gif) repeat;

}

#mbCenter, #mbBottomContainer {

 position: absolute;
 z-index: 9999;
 left: 50%;
 overflow: hidden;
 background-color: #fff;

}

.mbLoading {

 background: #fff url(../img/mediabox/loading.gif) no-repeat center;

}

#mbImage {

 position: absolute;
 left: 0;
 top: 0;
 border: 10px solid #fff;
 background-repeat: no-repeat;
 font-family: Myriad, Verdana, Arial, Helvetica, sans-serif;
 line-height: 19px;
 font-size: 12px;
 color: #000;
 text-align: left;

}

#mbImage a, #mbImage a:link, #mbImage a:visited {

 color: #ddd;

}

#mbImage a:hover, #mbImage a:active {

 color: #000;

}

#mbBottom {

 font-family: Myriad, Verdana, Arial, Helvetica, sans-serif;
 line-height: 19px;
 font-size: 12px;
 color: #999;
 text-align: left;
 border: 10px solid #fff;
 border-top-style: none;

}

#mbTitle {

 display: inline;
 color: #000;
 font-weight: bold;
 line-height: 20px;
 font-size: 12px;

}

#mbNumber {

 display: inline;
 color: #999;
 line-height: 14px;
 font-size: 10px;

}

#mbCaption {

 display: block;
 color: #999;
 line-height: 14px;
 font-size: 10px;

}

#mbPrevLink, #mbNextLink, #mbCloseLink {

 display: block;
 float: right;
 height: 20px;
 width: 20px;
 background: transparent url(../img/mediabox/close.png) no-repeat center;
 margin: 0;
 outline: none;

}

#mbPrevLink {

 width: 20px;
 background: transparent url(../img/mediabox/prev.png) no-repeat center;

}

#mbNextLink {

 width: 20px;
 background: transparent url(../img/mediabox/next.png) no-repeat center;

}

#mbCloseLink {

 width: 20px;
 background: transparent url(../img/mediabox/close.png) no-repeat center;

}

#mbError {

 position: relative;
 top: 30%;
 font-family: Myriad, Verdana, Arial, Helvetica, sans-serif;
 line-height: 19px;
 font-size: 12px;
 color: #000;
 text-align: center;
 border: 10px solid #700;
 padding: 20px 10px 30px;
 margin: auto;

}

#gallery {

 display: block;

}

#gallery div.outer {

 min-width: 100px;
 height: 160px;
 text-align: center;
 margin-bottom: 10px;
 overflow: hidden;
 float: left;

}

#gallery div.inputEl {

 height: auto;

}

#gallery div.inner {

 position: relative;
 height: 96%;
 border: solid 1px #efefef;
 padding: 0;
 margin: 2px;
 overflow: hidden;

}

#gallery div.inner div {

 height: 100%;
 padding: 5px;

}

#gallery div.inner div a {

 position: relative;
 height: 75%;
 line-height: 113px;
 border-bottom: dotted 1px #efefef;
 padding-bottom: 2px;
 display: block;
 z-index: 1;

}

#gallery div.inner div a:hover {

 border-color: #f00;

}

#gallery div.inner div.image {

 position: absolute;
 top: 85px;
 right: 0;
 width: 32px;
 height: 32px;
 background: transparent url(../img/image.png);
 padding: 0;
 margin: 2px;
 opacity: 0.85;
 z-index: 2;

}

#gallery div.inner div.video {

 position: absolute;
 top: 85px;
 right: 0;
 width: 32px;
 height: 32px;
 background: transparent url(../img/video.png);
 padding: 0;
 margin: 2px;
 opacity: 0.85;
 z-index: 2;

}

#gallery div.inner div.button {

 position: absolute;
 top: 0;
 right: 0;
 height: 18px;
 background: #fff;
 border: solid 1px #eee;
 padding: 0;
 z-index: 2;
 display: inline;

}

#gallery div.inner div.button a {

 width: 16px;
 height: 16px;
 font-size: 10px;
 line-height: 10px;
 border: 0;
 padding: 0;
 margin: 1px;
 float: left;

}

#gallery div.inner div.button a img {

}

* html #gallery div.inner div a, * +html #gallery div.inner div a {

 font-size: 103px;

}

#gallery div.inner div a img {

 max-width: 100%;
 max-height: 98%;
 vertical-align: middle;
 border: 0;
 padding: 0;
 margin: 0;

}

* html #gallery div.inner div a img {

 width: 100%;
 height: 95%;

}

#gallery div.inner div.text {

 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 padding: 0;
 z-index: 0;

}

#gallery div.inner div.text table {

 width: 100%;
 height: 100%;

}

#gallery div.inner div.text table td {

 text-align: center;
 vertical-align: bottom;
 font-size: 11px;
 line-height: 13px;
 padding-bottom: 4px;

}

#gallery div.backlink {

 text-align: right;
 margin-top: 10px;

}

#gallery div.backlink a {

 font-size: 11px;
 font-weight: normal;

}