.vDate {
    margin-bottom: 4px;
}

.gallery {
    margin-bottom: 15px;
}

.gallery a{
    text-decoration:none;
}

.gListing .gallery {
    margin: 0 5px 14px 4px;
}

.iListing .adgallery, .gListing .adgallery {
    margin-top: 0;
    margin-right: 4px;
    width: 317px;
}

.iListing .adgallery {
    margin-bottom: 25px;
}

.iListing {
    padding: 5px 0;
}
.iListing .gallery {
    margin: 0 3px 15px 4px;
}

.gallery {
    float:left;
    width: 158px;
    margin-right: 3px;
}

.gallery .thumb {
    background: url(../images/tpl2/galleryBg.png) repeat-x #e3e3e3;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    text-align: center;
    vertical-align: middle;
    width: 158px;
    height: 158px;
}

.gallery .thumb .iconGallery {
    margin: 2px 5px -2px 0;
}

.gallery .thumb span {
    text-align: center;
    display: block;
    line-height: 14px;
    font-size: 11px;
    font-weight: bold;
    color: #757575 !important;
}


.gallery .img {
    width: 160px;
    height: 138px;
    padding-top: 5px;
    background: url("../images/tpl2/ajax-loader.s.gif") no-repeat center center;
}


.gallery .img img {
    max-width: 150px;
    max-height: 136px;
}

.gallery u{
    display: block;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
    margin-top: 6px;
    max-height: 30px;
    overflow: hidden;
    padding: 0 4px;
    text-decoration: none;
}

.iItem .thumb:hover {
    background: #F3F3F3;
}

.iItem .thumb, .iItem .img{
    height: 158px;
    width: 158px;
    padding-top: 1px;
    margin-bottom: 3px;
}

.iItem .img img {
    max-width: 150px;
    max-height: 150px;
}

.iItem {
    margin-right: 10px;
}

#galleryInfoBox {
    background: url(../images/tpl2/videoInfoBg.png) repeat-x;
    border-top: 1px solid #DEDEDE;
    margin:  0 -4px 0 -4px;
    padding: 15px 15px 5px 15px;
}

#galleryInfoBox .descr{
    line-height: 17px;
}

#galleryInfo {
    color: #4f4f4f;
}

#galleryInfo a {
    color: #000;
    font-weight: bold;
}

#galleryInfo a:hover {
    color: inherit;
}

#galleryUser .item {
    float: left;
    padding-left: 25px;
}

#galleryInfo .descr {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom : 1px solid #DEDEDE;
}

#galleryInfo span {
    color: #808080;
}

.btnList a{
    background-image: url("../images/tpl2/bgSpriteV2.png");
    background-repeat: repeat-x;
    background-position: 0 -468px;
    background-color: #ececec;
    border: 1px solid #CECECE;
    line-height: 15px;
    padding: 3px 8px 4px 8px;
    border-radius: 3px;
    color: #707070;
    font-size: 11px;
    margin: 0 6px 7px 1px;
    box-shadow: 0 1px #F0F0F0;
    display: block;
    float: left;
    font-weight: bold;
    text-decoration:none;
}

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

#channels {
    padding-top: 13px;
}

#channels a {
    color: #707070;
}

#channels a .icon.sponsor-star {
    display: inline-block;

    width: 11px;
    height: 11px;

    margin-right: 4px;
    margin-bottom: -1px;

    background: url("../images/tpl2/sponsor-tag.svg") no-repeat;
    background-size: contain;
}

#channels a .icon.pornstar {
    display: inline-block;

    width: 11px;
    height: 11px;

    margin-right: 3px;
    margin-bottom: -1px;

    background: url("../images/tpl2/pornstar-tag.svg");
    background-size: contain;
}

.avdo {
    float: none;
    padding: 51px 0;
    height: auto;
}
.gListing .avdo {
    margin: 0 5px 0 5px;
    box-sizing: border-box;
    padding: 73px 0;
    height: auto;
}

.iListing .avdo {
    margin: 0px 5px 0 5px;
    width: 319px;
    float: right;
}

.box h2 a.edit {
    display: inline-block;
    float: none;
    margin-top: 4px;
    margin-left : 10px;
    border-radius:3px;
    background-image: url("../images/tpl2/slideBg.png");
    background-repeat: repeat-x;
    background-position: 0 -25px;
    line-height: 24px;
    height: 24px;
    padding: 0 10px;
    text-shadow: none;
    font-size: 12px;
}

.box h2 a.edit:hover {
    background-position: 0 0;
    color: #FFF !important;
}

.box h1 a.slideTool, .box h2 a.slideTool {
    display: block;
    float: right;
    margin-top: 4px;
    border-radius:3px;
    background-image: url("../images/tpl2/slideBg.png");
    background-repeat: repeat-x;
    background-position: 0 -25px;
    line-height: 24px;
    height: 24px;
    padding: 0 10px;
    text-shadow: none;
    font-size: 12px;
}

.box h2 a.slideTool:hover {
    background-position: 0 0;
    color: #FFF !important;
}


.box h1 a.slideTool .iconL, .box h2 a.slideTool .iconL {
    margin: 0 5px -4px 0;
}

.rel {
    position: relative;
}

#goNext {
    right: 0;
}

#goPrew {
    left: 0;
}

#zoom {
    display: none;
}

.favList .gallery {
    margin: 4px 4px 0 4px;
}

.favList .del{
    color: #00AA00;
    font-size: 14px;
    line-height:160px;
    text-align: center;
    font-weight: bold;
}


.gallery .btnList {
    margin: 10px 0 15px 0;
    text-align: center;
}

.gallery .btnList a {
    margin: 0 2px;
    float: none;
    text-align: center;
    display: inline;
}

#viewBox .sponsorS, #viewBox .sponsorB {
    padding: 10px 9px;
    color: #5D5D5D;
    font-size: 12px;
    font-weight: bold;
}

#viewBox .sponsorS {
    text-align: left;
}
#viewBox .sponsorB {
    text-align: center;
}

#viewBox .sponsorS img {
    margin-right: 10px;
}
#viewBox  .sponsorTitle {
    color: #5D5D5D;
    font-size: 12px;
    font-weight: bold;
    padding: 10px 0px 10px 9px;
}

#viewBox .sponsorB a ,#viewBox .sponsorTitle a {
    color: #F5381F;
}

#galleryEdit .gallery{
    margin:4px;
}

#galleryEdit .del{
    color: #00AA00;
    font-size: 14px;
    line-height:160px;
    text-align: center;
    font-weight: bold;
}

#galleryEdit .img{
}
#galleryEdit .img:hover {
    opacity: 1;
}

#galleryEdit .imgMain .img{
    opacity: 1;
}

#galleryEdit .imgMain .actMain {
    display: none;
}

#galleryEdit .imgMain .thumbMain {
    display: block;
}

#galleryEdit .thumb {
    position: relative;
}

#galleryEdit .thumbMain {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
}

#galleryEdit .imgMain .thumb{
    border: 1px dashed #00AA00;
}

.favMess {
    text-align: center;
    margin: 20px 50px;
    padding: 10px;
    color: #9C9C9C;
    font-size: 12px;
}

.inp {
    border: 1px solid #d9d9d9;
    padding: 5px;
    border-radius:3px;
    text-shadow: 0 1px #FFFFFF;
    width: 98%;
    color: #666;
    margin: 3px 0;
}

select.inp {
    width: 100%;
}

.inpA, select.inpA {
    width: auto;
}

#gTop {
    width: 100%;
    border-spacing: 2px 5px;
    margin: 0;
    padding: 3px 6px;
}

#gTop td {
    padding: 0;
    text-align: center;
    vertical-align: middle;
    background-color: #eeeeee;
}

#gTop .a td {
    background-color: #E4E4E4;
}

#gTop td.num {
    width: 50px;
    background-color: #ededed;
}

#gTop .a td.num {
    width: 50px;
    background-color: #DDD;
}


#gTop td.space {
    width: 2px;
    background: transparent;
}

#gTop .num {
    width: 50px;
}

#gTop .thumb, #gTop .thumb div {
    width: 165px;
    height: 165px;
}

#gTop .thumb {
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    margin: 5px;
    display: table-cell;
    vertical-align: middle;
}

#gTop .thumb img {
    display: block;
    margin: 0 auto;
}

#gTop .info {
    margin: 5px;
}

#gTop .info td {
    vertical-align: top;
}

#gTop .gTop {
    text-align: left;
    line-height: 20px;
    color: #2f2f2f;
    margin-left: 5px;
    font-size: 11px;
    width: 174px;
}

#gTop .gTop a {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 13px;
    display: block;
    line-height: 15px;
    max-height: 30px;
    overflow: hidden;
}
#gTop .gTop span{
    color: #9d9d9d;
    padding-right: 5px;
}

.gTop .rateOk,.gTop .rateNo {
    background-image: url("../images/tpl2/rate.png");
    background-position: right 0px;
    background-repeat: no-repeat;
    color: #999999;
    font-size: 11px;
    text-align: left;
    line-height: 25px;
    color: #89A650;
    font-weight: bold;
    display: inline-block;
    padding-right: 19px;
}

.gTop .rateNo {
    background-position: right -28px;
    color: #D76161;
}

.box h2 a:hover{
    color: #CCC !important;
}

#userList .gallery {
    margin:5px;
}

.uploadDone {
    margin: 150px 10px;
    text-align: center;
}

#last50 {
    padding: 10px 4px 4px 9px;
}

#videoPass {
    width: 470px;
    margin: 50px auto;
    text-align: center;
}

#videoPass .submit{
    float: left;
    height: 29px;
    margin: 0;
}

#videoPass .inp{
    border: 1px solid #d9d9d9;
    padding: 5px;
    border-radius:3px;
    background: #f9f9f9;
    color: #666;
    resize: vertical;
    width:auto;
}

#videoClosed {
    margin: 50px auto;
    padding: 25px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #CECECE;
    border-radius: 3px;
    width: 450px;
}

#videoPass a, #videoClosed a {
    font-weight: bold;
}

#videoPass .boxC {
    padding: 10px 47px;
}

#videoPass .gr {
    text-align: center;
}

#videoPass label {
    font-weight: bold;
    color: #5d5d5d;
    line-height: 28px;
}

#videoPass span {
    font-weight: bold;
    color: #F5381F;
    line-height: 10px;
    font-size: 10px;
}
