body {
    margin: 0px;
    padding: 0px;

}
body, html {
  height: 100%;
}

#header {
    background-color:#222222;
    position: fixed;
    height: 30px;
    box-shadow: 0 1px #000000, 0 2px 1px rgba(0, 0, 0, 0.4);
    width:100%;
    margin:0px;
    color: #fff;
    top:0px;
    left:0px;
    z-index:2000;
}

#header2 {
    background-color:#F4F4F4;
    padding-top:40px;
    height: 38px;
    border-bottom:1px solid gray;
    width:100%;
    margin:0px;
    color: black;
    top:0px;
    left:0px;
    z-index:2000;
}
#header2 [class*="span"]{
    margin-left:0px;
}
#header_wrapper {
    width:620px;
    margin-left:auto;
    margin-right:auto;
}

#header #header_wrapper a:hover{
    color: #fff;
}
#header #header_wrapper a{
    color: #999999;
    display: block;
    float:left;
    text-shadow: 0 1px #000000;
    background-color: #000000;
    border-right: 1px solid #333333;
    box-shadow: -1px 0 #000000 inset;
    font-size: 13px;
    font-weight: bold;
    height: 10px;
    line-height: 10px;
    padding: 10px;
    text-decoration: none;
    
}
#header2 #header_wrapper a{
    color:gray;
}
#header2 #header_wrapper .nav-pills a:hover {
    color:black;
}

#header2 #header_wrapper a:hover{
    color:#fff;
}


#wrapper {
    width:100%;
    padding-top:30px;
    z-index:100;
}

#sub_wrapper {
    padding:5px;
    width:590px;
    margin-left:auto;
    margin-right:auto;
    background-color: #fff;
    color: #222222;
    font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.image_item {
    width: 500px;
    float:left;
    position:relative;
}

#sub_wrapper2 {

}
.item {
    clear:both;
    position:static;
}
.sub_item {
    margin-top: 35px;
    padding-bottom:35px;
    width: 100%;
    border-bottom: 1px solid #DDDDDD;
    float:left;
    clear:both;
}

div.image_item img {
    margin: 0 auto;
    display: block;
    
}
.image_item img.image-r{
    max-width:100%;
}

.image_desc {
    float:left;
    padding-top:2px;
}
.vote_block {
    float:left;
    /*background-color: #DDDDDD;
    border-radius:4px;*/
    width:80px;
    padding:5px;
}
.vote {
    /*float:left;*/
    width:30px;
    padding:3px;
    /*background-color:#F4F4F4;*/
    margin-left:auto;
    margin-right:auto;
    cursor:pointer;
}

.vote img{
    width:100%;
}

.image_info {
    padding-top:20px;
    float:left;
    width:100%;
}
.p_vote {
    float:left;
    font-size:14px;
    padding-left:2px;
    padding-top:7px;
    padding-bottom:7px;
    width:100%;
    text-align:center;
}
.hide {
    display:none;
    padding:5px;
    width:60px;
}
input.in {
    width:170px;
 }
input {
   font-size:12px;
}
.image-title {
    padding-bottom:2px;
    float:left;
    width:500px;
    color: #000000;
    font-size: 22px;
}
.image-view {
    
    float:right;
    display:none;
    position:absolute;
    top:5px;
    left:450px;
}
.top a{
    color: #222222;
}
.top a:hover {
    color:#898787;
    text-decoration:none;
}
.top {
    font-size:18px;
    padding-top:10px;
}
#right_b {
    width:870px;
    background-color: #EEEEEE;
    position: fixed;
    top:70px;
    margin: 0px auto;
    box-shadow: 0 1px 2px #AAAAAA;
    z-index:1110;
    border-radius:5px;
    padding:10px;
    display: none;
}
#vk_comments_browse {

}


#header_left {
    width: 610px;
    float:left;
}
#vk_groups {
    width:260px;
    float:right;
}
#paginator {
    padding:10px;
}
#paginator a{
    padding:4px;
    font-size:14px;
    border-radius:2px;
}
.w100 {
    width:100%;
}
.left {
    float:left;
}
a.active_page {
    background-color:gray;
    color:#fff;
    text-decoration:none;
}

.newtitle {
    font-size:12px;
}

.btn {
    background-color: #E6E6E6;
    border: 0 none transparent;
    border-radius: 2px 2px 2px 2px;
    color: rgba(0, 0, 0, 0.8);
    font-size: 13px;
    padding: 0.2em 0.3em;
    text-decoration: none;
    transition: box-shadow 0.1s linear 0s
    -moz-user-select: none;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
}
.btn:hover{
    background-color: gray;
    color:#fff;
}

.inp
 {
    border-color: #129FEA;
    outline: 0 none;
-moz-box-sizing: border-box;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 3px #DDDDDD inset;
    display: inline-block;
    font-size: 12px;
    padding: 0.5em 0.6em;
    transition: border 0.3s linear 0s;
}
#inpanel {
    padding-rigth:10px;
    padding-top:90px;

}
#panel {
    width:150px;
    position:relative;
    float:right;
    height:0px;
}
.panel-item{
    padding:4px;
    
}
.panel-item img{
    width:100%;
}

#up-panel{
   position:fixed;
   left:0px;
   top:10px;
   bottom:0px;
   height:100%;
   width:100px;

}
#up-panel:hover{
   background-color:#F4F4F4;
}
#up-btn {
   position:fixed;
   left:10px;
   bottom:0px;
   height:50px;
   width:50px;

}

@media (max-width: 1600px) { 

 }


@media (max-width: 950px) { 
  #panel {
      display:none;
  }
  #up-panel {
      display:none;
  }

 }


@media (max-width: 767px) { 
  #panel {
      display:none;
  }
 }

.image_item {

}
.play_div{
    cursor:pointer;
    position:absolute;
    top: 20%;
    left:44%;
}
.play_btn {
    
/*    top:50px;*/
}