#viewBox .tools {
    border-bottom: none;
}


#btnLike, #btnUnLike {
    padding: 5px 6px;
}


#btnReport {
    padding:5px 8px;
}

#btnShare {
    padding: 5px 12px;
    white-space: nowrap;
}

#btnFav {
    padding:5px 12px;
}

#btnFavG {
    padding:5px 12px;
}

.tools .iconFavPhoto {
    margin: 5px 0;
}

.tools .iconFavGal {
    margin: 5px 0;
}

.tools .iconFavGif {
    margin: 5px 0;
}

.tools a, .tools .rate{
    box-shadow:0 1px #f0f0f0;
    text-decoration:none;
}

#viewBox .rate {
    float: left;
    border-top: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
    width: 100px;
    font-size: 10px;
    height: 24px;
    text-align: center;
    padding: 5px 7px;
    margin: 0;
    line-height: 16px;
    background-image:url("../images/tpl2/toolRateBg.png");
    background-repeat: repeat-x;
    background-position: -1px 0;
    background-color: #e0e0e0;
}

#viewBox .rate div{
    background-color: #f56c6c;
    background-image:url("../images/tpl2/rateShadow.png");
    background-repeat: repeat-x;
    background-position: 0 0;
    height: 4px;
    margin: 3px 0;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 1px #F0F0F0;
}

#viewBox .rate .green {
    background-color: #a5c665;
    border-radius: 3px 0 0 3px;
}

#viewBoxL {
    padding-left: 15px;
    width: 327px;
}

#viewBoxL .avdo{
    margin: 0;
    height:300px;
    padding-top: 14px;
}

#viewBoxL .avdo .aspt{
    margin: 14px auto 0;
}

#viewBoxL .avdo a {
    margin: 0;
    line-height: 39px;
}

#viewBoxL .avdo .frame{
    height: 290px;
}

#viewBoxL .avdo .frame .aspt{
    margin: 0 auto;
}

#recent .box {
    margin-top: 15px;
}

#recent .boxC a, #recent .boxC span {
    background: url("../images/tpl2/ajax-loader.s.gif") no-repeat center center #eaeaea;
    display: block;
    float: left;
    margin: 1px;
    border: 1px solid #cccccc;
}

#recent .boxC a.sel {
    background:#000;
}

#recent .boxC a.sel img{
    opacity:0.5;
}

#recent .items {
    margin-left: 2px;
    margin-top: 2px;
    /*height: 190px;*/
}


#recent .boxC img{
    width: 59px;
    height: 59px;
    display: block;
}

#recent .pagerSmall {
    text-align: center;
    clear: both;
    padding: 5px 0 3px 0;
}

#recent .pagerSmall a, #recent .pagerSmall span{
    background-image: url("../images/tpl2/bgSpriteV2.png");
    background-repeat: repeat-x;
    background-position: 0 -468px;
    background-color: #ececec;
    border: 1px solid #CECECE;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px #F0F0F0;
    color: #707070;
    display: inline-block;
    float: none;
    font-size: 11px;
    font-weight: bold;
    text-decoration:none;
    line-height: 17px;
    padding: 3px 10px 4px;
    margin: 0 2px;
}

#listSmall .pagerSmall a, #listSmall .pagerSmall span{
    padding: 3px 0 4px 0;
    width: 29px;
}

#recent .pagerSmall a:hover{
    background-position: 0 -498px;
    background-color: #f2f2f2
}

#recent .pagerSmall span {
    opacity:0.5;
}

#recent .pagerSmall a.off {
    opacity:0.5;
}

#recent .pagerSmall a.off:hover {
    color: #707070 !important;
    background-position: 0 -468px;
}

#recent .pagerSmall .iconL {
    margin-bottom: 1px;
}

#viewSmall img{
    width: 55px;
    height: 55px;
    display: block;
    border: 1px solid #CCC;
}

#viewSmall a,  #viewSmall span{
    margin: 3px;
    display: block;
}

#viewSmall a {
    background: url("../images/ajax-loader.s.gif") no-repeat center center #FFF;
}

#viewSmall a.arrow {
    background: none;
    width: 26px;
    margin: 0 auto;
}

#viewSmall span {
    background-color: #000;
}

#viewSmall span img {
    opacity:0.5;
}

#viewSmall .scroll {
    height: 9px;
    background-color: #D1D1D1;
    border: 1px solid #D1D1D1;
    position: relative;
}

#viewSmall .scroll td{
    height: 10px;
    cursor: pointer;
}

#viewSmall .scroll div {
    background-image: url("../images/tpl2/bgSpriteV2.png");
    background-repeat: repeat-x;
    background-position: 0 -468px;
    background-color: #ececec;
    height: 10px;
    min-width: 100px;
    cursor: default;
}

#viewSmall .icon {
    margin-top: 21px;
}

#viewSmall .iconArrowBL {
    margin-left: 2px;
}

#viewSmall .iconArrowBR {
    margin-left: -2px;
}

#viewBox #galleryInfoBox {
    margin: 0;
}

#view {
    position: relative;
    background: url("../images/tpl2/ajax-loader.s.gif") no-repeat center center;
}

#view .thumb {
    height: 296px;
    text-align: center;
    vertical-align: middle;
}

#imgSized {
    max-width: 656px;
    display: block;
    margin: 0 auto;
}

#view .nav {
    display: none;
    position: absolute;
    width: 50px;
    background: rgba(0,0,0,0.1);
    top: 0;
    height: 100%;
}

#viewBox > .boxC {
    padding: 0 0 4px 0;
}

#viewBox .nav:hover {
    background: rgba(0,0,0,0.3);
}

#view .nav .icon {
    position: absolute;
    top: 50%;
    margin-top: -14px;
    margin-left: 12px;
}


#gPreview {
    position: absolute;
    border: 1px solid #CCC;
}


#zoom {
    display: none;
    bottom: 5px;
    right: 5px;
    position: absolute;
    cursor: pointer;
}

.thumb:hover #zoom {
    display: block;
}

#zoom div{
    width: 41px;
    height: 41px;
    background-image: url(../images/tpl2/icons.png);
    background-repeat: no-repeat;
}


#zoomIn {
    background-position: -461px 0;
}

#zoomIn:hover {
    background-position: -461px -42px;
}
#zoomOut {
    display: none;
    background-position: -503px 0;
}

#zoomOut:hover {
    background-position: -503px -42px;
}

#shareBox {
    margin: 0 10px;
    display: none;
}

#shareBox td {
    padding: 5px;
}

#shareBox textarea{
    border: 1px solid #d9d9d9;
    border-radius:3px;
    padding: 6px;
    background-color: #f9f9f9;
    width: 98%;
    resize: vertical;
    font-size: 11px;
    color: #4f4f4f;
}

#shareBox span {
    line-height: 22px;
    color: #808080;
    white-space: nowrap;
}

#shareBox .iconMail {
    margin: 2px -2px;
}

#shareBox .text {
    position: relative;
}

#shareBox .text .icon {
    position: absolute;
    top: -5px;
    left: 348px;
    width: 12px;
    height: 8px;
    background-position: -36px -55px;
}

#viewPop td{
    padding: 5px;
}

.modal textarea, .modal input, #videoPass input{
    border: 1px solid #d9d9d9;
    padding: 5px;
    border-radius:3px;
    background: #f9f9f9;
    color: #666;
    resize: vertical;
}

.modal .friendMess {
    background: url(../images/tpl2/sendBg.png) repeat-x 0 0 #e5e5e5;
    border: 1px solid #d9d9d9;
    padding: 10px;
    font-size: 11px;
    border-radius:4px;
}

.friendSend .inp {
    border: 1px solid #fbfbfb;
    border-top-color: #c4c4c4;
    border-radius:3px;
    padding: 4px;
    background-color: #f5f5f5;
}
.friendSend textarea {
    width: 98%;
    height: 60px;
    resize: vertical;
    margin: 5px 0;
}

.friendSend .submit, #videoPass input.sibmit{
    background-image: url("../images/tpl2/bgSpriteV2.png");
    background-position: 0 -187px;
    background-repeat: repeat-x;
    background-color: #E0E0E0;

    border: 1px solid #CECECE;
    border-radius: 3px;
    color: #666666;
    font-size: 12px;
    font-weight: bold;
    height: 29px;
    line-height: 29px;
    margin: 0;
    cursor: pointer;
    padding: 0 13px;
    display: block;
    float: left;
}

.friendSend .submit:hover, #videoPass input.sibmit:hover{
    background-position: 0 -231px;
    background-color: #f1f1f1;
}

.friendSend .error {
    background:transparent;
    float: right;
    font-size: 10px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    border: none;
    line-height: 30px;
    margin-right: 10px;
    border-radius: 0;
    color:#F00;
}

.modal h3 {
    color: #2f2f2f;
    font-weight: bold;
    line-height: 17px;
    margin-bottom: 9px;
    padding-bottom: 9px;
    font-size: 12px;
    border-bottom: 1px solid #D9D9D9;
}

.modal .thumb {
    max-width: 600px;
    background: url(../images/tpl2/loadTab.gif) center center no-repeat #EBEBEB;
}

.modal span {
    text-shadow: 0 1px #F4F4F4;
    color:#B1AFAF;
}

.slidePlayer {
    height: 49px;
    padding: 0 5px;
    position: relative;
    text-align: center;
}


.slidePlayer .process{
    margin: 1px -5px 2px -5px;
    height: 2px;
    background: #b8b8b8;
}

.slidePlayer  .processVal {
    height: 2px;
    background: #CCC;
    width: 0;
}

.slidePlayer .opt {
    position: absolute;
    left: 8px;
    display: none;
}

.slidePlayer .opt2 {
    right: 8px;
    left: auto;
}

.slidePlayer .opt a {
    margin: 8px 2px;
    height: 24px;
    line-height: 24px;
    padding: 0 7px;
}

.slidePlayer .opt a.down {
    background-position: 0 -431px;
    border-color: #f73d1a;
    color: #FFF !important;
}

.slidePlayer .opt a.down .iconSlideSpeedM{
    background-position: -557px -144px;
}
.slidePlayer .opt a.down .iconSlideSpeedF{
    background-position: -557px -162px;
}
.slidePlayer .opt a.down .iconSlideSpeedL{
    background-position: -557px -126px;
}

.slidePlayer .info {
    position: absolute;
    left: 10px;
    font-size: 17px;
    line-height: 33px;
    text-shadow: 0 1px #000000;
}
.slidePlayer a {
    margin: 6px 2px;
    display: block;
    float: left;
}

.slidePlayer .iconSlidePlay {
    margin-left: 1px;
    margin-bottom: -1px;
}

.slidePlayer .iconSlidePause{
    margin-bottom: -1px;
}

.slidePlayer .control {
    margin: 0 auto;
    width: 200px;
}

.slidePlayer .arrow {
    font-size: 35px;
    line-height: 23px;
}

.slidePlayer .opt .iconL  {
    margin-bottom: -2px;
}

.slidePlayer .act .iconL  {
    margin-bottom: -4px;
}

.slidePlayer .iconSlideExit  {
    margin-bottom: -1px;
}

.slidePlayer .iconSlideClose {
    margin-bottom: -2px;
    margin-right: 3px;
}

.slidePlayer #slideExit {
    position: absolute;
    right: 10px;
}

#slideModal {
    background: transparent;
    width:100%;
    position: fixed;
    top: 0;
    left:0;
}

#slideModal #slideClose{
    position: fixed;
    right: 10px;
    top: 10px;
    margin:0;
    padding: 4px;
    background: transparent;
    border: none;
    color: #666;
    height: 16px;
    line-height: 16px;
    text-transform: none;
}

#slideModal .slideImg{
    max-height: 100%;
    max-width: 100%;
}

#slideModal .slidePlayer{
    position: absolute;
    width: 100%;
    top: 0;
    background-color: #000;
    background-color: rgba(0,0,0,0.6);
    color: #FFF;
    margin: 0;
    padding: 0;
    z-index: 10;
}

#slideModal .slidePlayer a{
    margin: 8px 2px 6px 2px;
}

#slideModal .slidePlayer a:hover {
    color: #666 !important;
}

#slideModal .slidePlayer .opt {
    position: absolute;
    left: 10px;
    display: block;
}

#slideModal .slidePlayer .opt a  {
    margin-top: 10px;
}

#slideModal .slidePlayer .act {
    position: absolute;
    right: 20%;
    width: 100px;
}

#slideModal .slidePlayer .info {
    font-weight: bold;
    line-height: 45px;
}

#slideModal .slidePlayer .process {
    background: #666;
    padding: 0;
    margin: 46px 0 0;
}

#slideModal .slideBox {
    position: absolute;
    top: 0;
    left: 0;
}
#slideModal .slideBox table {
    width: 100%;
    height: 100%;
}
#slideModal .slideBox td{
    vertical-align: middle;
    text-align: center;
}

#slideModal .slideModal{
    position: absolute;
    top: 0;
    left: 0;
}

.slideMess{
    background: #FFFFFF;
    border: 1px solid #BBBBBB;
    border-radius: 5px;
    box-shadow: 0 0 20px #666666;
    color: #71932F;
    display: none;
    font-weight: bold;
    left: 50%;
    margin-left: -100px;
    margin-top: -25px;
    padding: 20px 0;
    position: fixed;
    text-align: center;
    top: 50%;
    width: 200px;
    z-index: 10;
}

#commentPreview {
    padding-right: 10px;
    margin-top: 1px;
    position: relative;
}

#commentPreview .corner{
    border: 6px solid #FFF;
    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    width: 0;
    height: 0;
    top: 50%;
    right: 0;
    margin-top: -6px;
    position: absolute;
}

#commentPreview img {
    width: 60px;
    height: 60px;
    border-radius: 3px;
}
.addThis {
    height: 36px;
    text-align: center;
    clear: both;
    margin: 0 auto;
    float: left;
}

.addthis_button_compact {
    line-height: 32px;
    font-weight: bold;
}

.event_popup {
    display: none;
}

#share_buttons {
    display: none;
    position: absolute;

    top: 10px;
    right: 10px;

    cursor: pointer;
}
    .thumb:hover #share_buttons {
        display: block;
    }
        #share_buttons .button {
            display: block;
            float: left;

            width: 41px;
            height: 41px;

            margin-left: 3px;

            border-radius: 3px;
        }
            #share_buttons .button.twitter {
                background: rgba(0,0,0,0.5) url(../images/tpl2/twitter-icon.svg) no-repeat 9px 11px;
                background-size: 25px 25px;
            }
            #share_buttons .button.thumblr {
                background: rgba(0,0,0,0.5) url(../images/tpl2/thumblr-icon.svg) no-repeat 13px 10px;
                background-size: 23px 20px;
            }
            #share_buttons .button:hover {
                opacity: 0.6;
            }
