#facebox {
font-size: 12px;
}
#facebox .tl {
background: url(/cache/default/1490/images/frame/tl.png) 0 0 no-repeat;
}
#facebox .tm {
background: url(/cache/default/1490/images/frame/tm.png) 0 0 repeat-x;
}
#facebox .tr {
background: url(/cache/default/1490/images/frame/tr.png) 100% 0 no-repeat;
}

#facebox .ml {
background: url(/cache/default/1490/images/frame/ml.png) 0 0 repeat-y;
}
#facebox .mr {
background: url(/cache/default/1490/images/frame/mr.png) 100% 0 repeat-y;
}

#facebox .bl {
background: url(/cache/default/1490/images/frame/bl.png) 0 100% no-repeat;
}
#facebox .bm {
background: url(/cache/default/1490/images/frame/bm.png) 0 100% repeat-x;
}
#facebox .br {
background: url(/cache/default/1490/images/frame/br.png) 100% 100% no-repeat;
}


#facebox {
position: absolute;
top: 0;
left: 0;
z-index: 100;
text-align: left;
}

#facebox .popup {
position: relative;
}

#facebox table {
border-collapse: collapse;
}

#facebox td {
border-bottom: 0;
padding: 0;
}

#facebox .body {
/*padding: 10px;*/
background: #fff;
color: #333;
width: 370px;
}

#facebox a:link, #facebox a:visited {
color: #246;
text-decoration: underline;
}
#facebox a:hover {
text-decoration: none;
}

#facebox .loading {
text-align: center;
}

#facebox .image {
padding: 10px;
text-align: center;
}
#facebox .image a.prev, #facebox .image a.next {
position: absolute;
text-decoration: none;
top: 30px;
cursor: pointer;
display: block;
}
#facebox .image a.prev {
left: 30px;
text-align: left;
}
#facebox .image a.next {
right: 30px;
text-align: right;
}
#facebox .image a.prev .icon {
background-image: url(/cache/default/1490/images/prev.gif);
background-repeat: no-repeat;
background-position: left center;
}
#facebox .image a.next .icon {
background-image: url(/cache/default/1490/images/next.gif);
background-repeat: no-repeat;
background-position: right center;
}
#facebox .image a.prev > .icon, #facebox .image a.next > .icon {
display: none;
}
#facebox .image a.prev:hover .icon, #facebox .image a.next:hover .icon {
display: block;
}

#facebox .info {
padding: 10px;
padding-top: 0;
}
#facebox .info h3 {
color: #333;
font-weight: bold;
}
#facebox .description p {
margin: 0;
padding: 5px 0;
}
#facebox .permalink {
text-align: right;
}

#facebox img {
border: 0;
margin: 0;
}

#facebox .close {
position: absolute;
top: 0;
right: 0;
}

#facebox .footer {
border-top: 1px solid #DDDDDD;
padding-top: 5px;
margin-top: 10px;
text-align: right;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
height: 20px;
width: 20px;
overflow: hidden;
padding: 0;
}

#facebox_overlay {
position: fixed;
top: 0px;
left: 0px;
height:100%;
width:100%;
}

.facebox_hide {
z-index:-100;
}

.facebox_overlayBG {
background-color: #000;
z-index: 99;
}

* html #facebox_overlay { /* ie6 hack */
position: absolute;
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
