div.attach a.icon {
    position: relative;
    padding: 3px 0 3px 18px;
    background-repeat: no-repeat;
    background-position: left center;
}
div.attach a.access {
    background-image: url(../../../image/attach/types/access.png);
}
div.attach a.binary {
    background-image: url(../../../image/attach/types/binary.png);
}
div.attach a.code {
    background-image: url(../../../image/attach/types/code.png);
}
div.attach a.dwg {
    background-image: url(../../../image/attach/types/dwg.png);
}
div.attach a.excel {
    background-image: url(../../../image/attach/types/excel.png);
}
div.attach a.flash {
    background-image: url(../../../image/attach/types/flash.png);
}
div.attach a.image {
    background-image: url(../../../image/attach/types/image.png);
}
div.attach a.music {
    background-image: url(../../../image/attach/types/music.png);
}
div.attach a.pdf {
    background-image: url(../../../image/attach/types/pdf.png);
}
div.attach a.photoshop {
    background-image: url(../../../image/attach/types/photoshop.png);
}
div.attach a.powerpoint {
    background-image: url(../../../image/attach/types/powerpoint.png);
}
div.attach a.unknow {
    background-image: url(../../../image/attach/types/unknow.png);
}
div.attach a.video {
    background-image: url(../../../image/attach/types/video.png);
}
div.attach a.word {
    background-image: url(../../../image/attach/types/word.png);
}
div.attach a.www {
    background-image: url(../../../image/attach/types/www.png);
}
div.attach a.zipper {
    background-image: url(../../../image/attach/types/zipper.png);
}

div.attach div.gallery {
    background: #F0F0F0;
    margin: 0;
    padding: 0 40px;
    height: 110px;
    width: 408px;
    position: relative;
}
div.attach div.gallery .left-arrow {
    position: absolute;
    top: 35px;
    left: 15px;
    width: 20px;
    height: 30px;
    font-size: 24px;
    line-height: 28px;
    font-weight: bold;
    color: #3D579F;
    cursor: pointer;
}
div.attach div.gallery .right-arrow {
    position: absolute;
    top: 35px;
    right: 5px;
    width: 20px;
    height: 30px;
    font-size: 24px;
    line-height: 28px;
    font-weight: bold;
    color: #3D579F;
    cursor: pointer;
}
div.attach div.gallery .slides-holder {
    position: absolute;
    clip: rect(0px, 405px, 110px, 0px);
    *clip: rect(0px 405px 110px 0px);
}
div.attach div.gallery .slides-holder .slides {
    white-space: nowrap;
}
div.attach div.gallery .slides-holder .slides .slide {
    display: inline-block;
    width: 150px;
    height: 90px;
    margin: 8px 10px 10px 0;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    border: 2px solid #D4D9E4;
}
header section div.gallery-popup {
    position: absolute;
    top: 80px;
    left: 50%;
    display: inline-block;
    opacity: 1;
    width: 840px;
    margin: 0 0 0 -420px;
}
header section div.gallery-popup .yui3-panel {
    margin: 0 auto;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding: 0;
    position: relative;
    margin: 0 auto;
}
header section div.gallery-popup .yui3-panel .yui3-widget-hd {
    text-align: left;
    padding: 0;
    margin: 0;
    height: 50px;
}
header section div.gallery-popup .yui3-panel .yui3-widget-hd .yui3-button-close {
    position: absolute;
    right: 12px;
    top: 12px;
}
header section div.gallery-popup .yui3-panel .yui3-widget-bd {
    position: relative;
    height: 520px;
}
header section div.gallery-popup .yui3-panel .yui3-widget-bd .slideshow {
    position: relative;
}
header section div.gallery-popup .yui3-panel .yui3-widget-bd .slideshow div.slide {
    position: absolute;
    top: 0;
    left: 20px;
    display: none;
    margin: 0 auto;
    width: 800px;
}
header section div.gallery-popup .yui3-panel .yui3-widget-bd .slideshow div.slide.current {
    display: block;
}
header section div.gallery-popup .yui3-panel .yui3-widget-bd .slideshow div.slide img {
    display: block;
    width: 800px;
    height: 480px;
}
header section div.gallery-popup .yui3-panel .yui3-widget-bd .slideshow div.slide .photo-descr {
    display: block;
    margin: 10px auto 0 auto;
    width: 800px;
    text-align: center;
    font-size: 16px;
    line-height: 18px;
}
header section div.gallery-popup .yui3-panel .yui3-widget-bd .prev-slide {
    display: block;
    position: absolute;
    left: 30px;
    top: 220px;
    width: 30px;
    height: 30px;
    font-size: 24px;
    line-height: 28px;
    font-weight: bold;
    color: #3D579F;
    cursor: pointer;
    z-index: 3;
    background: #F0F0F0;
    text-align: center;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
}
header section div.gallery-popup .yui3-panel .yui3-widget-bd .next-slide {
    display: block;
    position: absolute;
    right: 30px;
    top: 220px;
    width: 30px;
    height: 30px;
    font-size: 24px;
    line-height: 28px;
    font-weight: bold;
    color: #3D579F;
    cursor: pointer;
    z-index: 3;
    background: #F0F0F0;
    text-align: center;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
}