.ccgallery {
    position: relative;
}

.ccgallery img, .ccgallery blockquote {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
}

.ccgallery .controls, .ccgallery .controls .navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 60;
}

.ccgallery .controls .navigation a.prev {
    float: left;
    width: 33%;
    height: 100%;
    background-image: url(images/left-off.png);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: 10px 20px;
}

.ccgallery .controls .navigation a.next {
    float: right;
    width: 33%;
    height: 100%;
    background-image: url(images/right-off.png);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 10px 20px;
}

.ccgallery .controls .index {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 70;
}

.ccgallery .controls .index.dots a {
    display: block;
    float: left;
    width: 12px;
    height: 12px;
    margin: 4px 2px;
    background-image: url(images/dot-off.png);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 12px 12px;
}

.ccgallery .controls .index.dots a.active {
    background-image: url(images/dot-on.png);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 12px 12px;
}

.ccgallery .controls .index.numbers a {
    display: block;
    float: left;
    width: 8px;
    height: 8px;
    font-size: 6px;
    line-height: 8px;
    text-align: center;
    color: #000000;
}

.ccgallery .controls .index.numbers a.active {
    color: #ffff00;
}

.ccgallery {
    background-color: #333333;
}

.ccgallery blockquote, .ccgallery blockquote p {
    color: #eeeeee;
    font-family: serif;
    font-style: italic;
}

.ccgallery blockquote p {
    padding: 1ex 1em;
    margin: 0;
}

.ccgallery div.ccgfigure {
    z-index: 40;
    display: none;
}

.ccgallery div.ccgfigure.active {
    display: block;
}

.ccgallery div.ccgfigure.below {
    z-index: 30;
}

.ccgallery div.ccgfigure.above {
    z-index: 50;
}

