@charset "utf-8";

body.gallery-photo #maincontents {
    padding-bottom: 0;
}
body.gallery-index .back,
body.gallery-photo .back {
    margin: 5px 0;
    text-align: right;
}

body.gallery-index .back a,
body.gallery-photo .back a {
    display: inline-block;
    padding: 0 0 0 18px;
    background: url(../images/base/icon_tournament.png) no-repeat 0 1px;
}

body.gallery-photo div.photo {
    min-height: 400px;
    height: auto !important;
    height: 400px;
    margin: 20px 0 5px;
    text-align: center;
    position: relative;
}

body.gallery-photo div.photo img {
    max-width: 650px;
}

body.gallery-photo .caption {
    margin-top: 8px;
}

body.gallery-photo a.next {
    position: absolute;
    top: 200px;
    right: 10px;
    z-index: 999;
    width: 20px;
    height: 20px;
    text-indent: -999999px;
    background: url(/common/images/base/slider_next.png) no-repeat 0 -20px;
}

body.gallery-photo a.prev {
    position:absolute;
    top: 200px;
    left: 10px;
    z-index: 999;
    width: 20px;
    height: 20px;
    text-indent: -999999px;
    background: url(/common/images/base/slider_prev.png) no-repeat 0 -20px;
}

body.gallery-photo a.next:hover,
body.gallery-photo a.prev:hover {
    background-position: 0 0;
}

#gallery {
    margin-top: 0;
    padding: 15px 2px 10px 8px;
    background: #f2f2f2;
}

#gallery ul {
    zoom: 1;
}
#gallery ul:after { content: ""; }

#gallery li {
    float: left;
    width: 127px;
    margin-bottom: 5px;
    position: relative;
}

#gallery li a {
    display: block;
    width: 114px;
    padding: 4px;
    background: url(/common/images/base/gallery_bg.gif);
    text-align: center;
}

#gallery li a:hover {
    background: url(/common/images/base/gallery_bg_over.gif);
}

#gallery p.read,
#slider p.read {
    margin-top: 0;
    padding: 0 0 0 3px;
    border-left: 12px solid #2c4465;
    line-height: 1;
}

#slider {
    margin: 20px -12px 30px -10px;
    padding: 12px 10px;
    background: #f2f2f2;
}

#slider ul {
    visibility: hidden;
}

#slider .bx-wrapper {
    position: relative;
    padding: 10px 10px 0 18px;
}

#slider .bx-next {
    position: absolute;
    top: 47%;
    right: -8px;
    z-index: 999;
    width: 20px;
    height: 20px;
    text-indent: -999999px;
    background: url(/common/images/base/slider_next.png) no-repeat 0 -20px;
}

#slider .bx-prev {
    position:absolute;
    top: 47%;
    left: -8px;
    z-index: 999;
    width: 20px;
    height: 20px;
    text-indent: -999999px;
    background: url(/common/images/base/slider_prev.png) no-repeat 0 -20px;
}

#slider .bx-next:hover,
#slider .bx-prev:hover {
    background-position: 0 0;
}

#slider li {
    float: left;
    width: 125px;
    position: relative;
}

#slider li a {
    display: block;
    width: 114px;
    padding: 3px;
    background: url(/common/images/base/gallery_bg.gif);
    text-align: center;
}

#slider li a:hover {
    background: url(/common/images/base/gallery_bg_over.gif);
}

.bookmark {
    margin:0 0 20px;
}
