TABLE.cp {
    z-index: 3;
}

BODY.cPortrait TABLE.cp {
    background-position: center;
}

TABLE.cp TR TD {
    /*border: 1px solid black; */
    text-align: center;
    width: 20%;
}

TABLE.cp TR TD > SPAN {
    cursor: pointer;
    width: 100%;
    display: block;
    margin: 0 auto;
    background-repeat: no-repeat;
}

BODY.cLandscape TABLE.cp TR TD > SPAN {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 44px;
}

TABLE#cp_V {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 49px;
    /*-webkit-transition: width 1s;*/
    -webkit-transition: width 1s;
    -moz-transition: width 1s;
    -ms-transition: width 1s;
    -o-transition: width 1s;
    transition: width 1s;
}

TABLE#cp_H {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width:100%;
    height:49px;
    /*-webkit-transition:bottom 1s;*/
    -webkit-transition: bottom 1s;
    -moz-transition: bottom 1s;
    -ms-transition: bottom 1s;
    -o-transition: bottom 1s;
    transition: bottom 1s;
}

BODY.cLandscape TABLE#cp_H {
    display: none;
}

BODY.cForcedPortrait TABLE#cp_H {
    display: none;
}

BODY.cPortrait TABLE#cp_V {
    display: none;
}

#cp_V.showDefault {
    display: table-row;
}

#cp_H.showDefault {
    display: table-cell;
}

/*@STATE@*/
.twm {
    display: none;
}

#cp_V.textViewMode .twm {
    display: table-row;
}

#cp_H.textViewMode .twm {
    display: table-cell;
}

.textViewMode .showDefault, .imm {
    display: none;
}

.cDisabled {
    opacity: 0.3;
    cursor: default;
}

.newNext, .newPrev{
    width: 30px;
    height: 50px;
}

.newLast, .newFirst{
    width: 30px;
    height: 30px;
}

.newNext, .newPrev, .newLast, .newFirst{
    position: absolute;
    z-index: 650;
    cursor: pointer;
}

.hide{
    visibility: hidden;
}

.zoomNewNext, .zoomNewPrev{
    width: 70px;
    height: 70px;
}

/*.newLast:hover {*/
    /*-moz-transform: translateX(120%); !* Для Firefox *!*/
    /*-ms-transform: translateX(120%); !* Для IE *!*/
    /*-webkit-transform: translateX(120%); !* Для Safari, Chrome, iOS *!*/
    /*-o-transform: translateX(120%); !* Для Opera *!*/
    /*transform: translateX(120%);*/
/*}*/

