/* Виджет статистики альбома */

.b-xalbum-albums__item-stats{
  position: absolute;
  bottom: 0px;
  right: 0px;
  z-index: 11;
}

.b-xalbum-albums__item-stats:after{
  content: ' ';
  display: block;
  clear: both;
}

.b-xalbum-albums__item-stat{
  background: rgba(0,0,0,0.6) url(images/new/ico-stat-comments.png) 5px 5px no-repeat;
  display: block;
  height: 23px;
  padding: 0 5px 0 25px;
  overflow: hidden;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 24px;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.b-xalbum-albums__item:hover .b-xalbum-albums__item-stat{
  opacity: 1;
}

._type_photo .b-xalbum-albums__item-stat._type_counts{
  background-image: url(images/new/ico-stat-count-photos.png);
  background-position: 5px 7px;
  padding-left: 20px;
}

._type_audio .b-xalbum-albums__item-stat._type_counts{
  background-image: url(images/new/ico-stat-count-audios.png);
  background-position: 5px 7px;
  padding-left: 20px;
}

._type_video .b-xalbum-albums__item-stat._type_counts{
  background-image: url(images/new/ico-stat-count-videos.png);
  padding-left: 20px;
}

._type_file .b-xalbum-albums__item-stat._type_counts{
  background-image: url(images/new/ico-stat-count-files.png);
  padding-left: 20px;
}

.b-xalbum-albums__item-stat._type_main{
  background-image: url(images/new/ico-stat-main.png);
  background-position: center center;
  padding: 0;
  overflow: hidden;
  text-indent: -1000em;
  width: 23px;
}



/* ИКНОКИ ФОРМАТОВ ТИПОВ ФАЙЛОВ (MIME) */
/*
._mime_default{
  background: url(images/new/files/ico-default.png) center center no-repeat;
}

._mime_pdf{
  background-image: url(images/new/files/ico-pdf.png) !important;
}

._mime_octet-stream, 
._mime_zip, 
._mime_rar{
  background-image: url(images/new/files/ico-rar.png) !important;
}

._mime_vnd-ms-excel, 
._mime_spreadsheetml-sheet{
  background-image: url(images/new/files/ico-excel.png) !important;
}

._mime_msword, 
._mime_wordprocessingml-document{
  background-image: url(images/new/files/ico-word.png) !important;
}

._mime_x-photoshop{
  background-image: url(images/new/files/ico-psd.png) !important;
}

._mime_x-coreldraw{
  background-image: url(images/new/files/ico-cdr.png) !important;
}

._mime_postscript{
  background-image: url(images/new/files/ico-ai.png) !important;
}

._mime_presentationml-presentation{
  background-image: url(images/new/files/ico-ppt.png) !important;
}
*/
/* ВИДЖЕТ ПУСТОГО СПИСКА */
/*
.b-xalbum-list-empty{
  font-weight: bold;
  text-align: center;
  margin: 40px 0;
  padding-top: 130px;
}

.b-xalbum-list-empty._type_photo{
  background: url(images/icons/ico-empty-photo.png) top center no-repeat;
}

.b-xalbum-list-empty._type_video{
  background: url(images/icons/ico-empty-video.png) top center no-repeat;
}

.b-xalbum-list-empty._type_audio{
  background: url(images/icons/ico-empty-audio.png) top center no-repeat;
}

.b-xalbum-list-empty._type_file{
  background: url(images/icons/ico-empty-file.png) top center no-repeat;
}

.b-xalbum-list-empty._action_upload{
  background: url(images/icons/ico-empty-upload.png) top center no-repeat;
}

.b-xalbum-list-empty._type_comments{
  background: url(images/icons/ico-empty-comments.png) top center no-repeat;
}

.b-xalbum-list-empty._type_ratings{
  background: url(images/icons/ico-empty-ratings.png) top center no-repeat;
}

.b-xalbum-list-empty__button-wrapper{
  margin-top: 30px;
}

.b-xpopup .b-xalbum-list-empty{
  background: none;
  margin-top: 0;
  padding-top: 0;
}
*/

/*
.b-xalbum-file__actions{
  margin-bottom: 15px;
  text-align: right;
}

.b-xalbum-file__actions:after{
  content: ' ';
  display: block;
  clear: both;
}*/

/* Виджет действий */
/*
.b-xalbum-file__actions .b-xalbum-file-menu-actions._menu .b-xform-select__label{
  background-image: none;
  padding-right: 20px;
  position: relative;
  font-size: 14px;
}

.b-xalbum-file__actions .b-xalbum-file-menu-actions .b-xform-select__options._skin-menu{
  width: auto;
  max-width: none;
  top: 32px;
  right: -10px;
  left: auto;
}

.b-xalbum-file__actions .b-xalbum-file-menu-actions .b-xform-select__options._skin-menu:after, 
.b-xalbum-file__actions .b-xalbum-file-menu-actions .b-xform-select__options._skin-menu:before{
  right: 12px;
  left: auto;
}*/

/*
.b-xalbum-file__actions .b-xalbum-file__actions-download{
  margin: 0;
  display: block;
  font-weight: bold;
  height: 40px;
  text-align: center;
}

.b-xalbum-file__actions .b-xalbum-file__actions-download span{
  font-size: 15px;
  line-height: 40px;
}*/
/*
.b-xalbum-file__actions .b-xform-select{
  float: left;
  margin-top: 20px;
}

.b-xpopup .b-xalbum-file__actions .b-xform-select{
  display: none;
}
*/
/*
.b-xalbum-file__actions .b-vud-stars{
  background: transparent;
  border: 0;
  float: right;
  margin-top: 15px;
}

.b-xalbum-file__actions .b-vud-l{
  margin-top: 20px;
}

.b-xalbum-file__actions .b-vud-l__label._text{
  display: none;
}

.b-xalbum-file__actions .b-vud-stars__vote{
  background: #f5f5f5;
  border: 0;
  border-radius: 2px;
  width: auto;
  height: 22px;
  margin: 0;
  margin-right: 5px;
  padding: 0 10px;
  display: inline-block;
  vertical-align: top;
  line-height: 24px;
  font-size: 15px;
}

.b-xalbum-file__actions .b-vud-stars__votes{
  display: inline-block;
  margin: 0;
  line-height: 22px;
}

.b-xalbum-file__actions .b-vud-stars__votes-i{
  margin: 0 2px;
}

.b-xalbum-file__actions .b-xevents-repost{
  margin-top: 20px;
  margin-right: 10px;
}*/


/* ОКНО С ИНФОРМАЦИЕЙ О ФАЙЛЕ */

.b-xalbum-file-info{
  min-width: 400px;
  max-width: 600px;
  width: 100%;
  font-size: 12px;
}

.b-xalbum-file-info__item{
  border-bottom: #eee solid 1px;
  padding: 10px;
  margin: 0;
}

.b-xalbum-file-info__item:first-of-type{
  padding-top: 0;
}

.b-xalbum-file-info__item:last-of-type{
  border-bottom: 0;
  padding-bottom: 0;
}

.b-xalbum-file-info__item-label{
  color: #022f6d;
}


/* Block Account Avatar */

.b-block-account-avatar{
  position: relative;
}

.b-block-account-avatar__link{
  display: block;
  border: 0;
  text-decoration: none;
}

.b-block-account-avatar__link:hover{
  text-decoration: none;
}

.b-block-account-avatar__actions .b-xform-select{
  margin-top: 8px;
}

.b-block-account-avatar__statistics{
  width: 100%;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 30px;
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
  display: none;
  left: 0px;
  bottom: 12px;
  cursor: default;
  text-align: center;
}

.b-block-account-avatar:hover .b-block-account-avatar__statistics{
  display: block;
}

.b-block-account-avatar__stat{
  background: rgba(0,0,0,.4);
  border-radius: 2px;
  padding: 0px;
  min-width: 38px;
  display: inline-block;
  text-align: center;
  margin: 0px 5px;
}



/* СТРАНИЦА ПЕРЕМЕЩЕНИЯ ФАЙЛА */

#xalbum-move-form{
  width: 300px;
  height: 300px;
}

._mobile #xalbum-move-form{
  width: auto;
}

#xalbum-move-form .form-select, 
#xalbum-file-form .form-select{
  width: 100%;
}

@media (max-width: 767px) {
  .b-xalbum-page-nav{
    display: none;
  }

  .b-xalbum-page-viewer__view-player-iframe-wrapper{
    margin: 0;
  }
}

@media (max-width: 550px) {
  .b-xalbum-albums__item-stat{
    float: none;
  }
  
  .b-xalbum-count-pager{
    display: none;
  }
/*
  .b-xalbum-file__actions .b-xalbum-file-menu-actions .b-xform-select__options._skin-menu{
    right: auto;
    left: 0px;
  }
  
  .b-xalbum-file__actions .b-xalbum-file-menu-actions .b-xform-select__options._skin-menu:after, 
  .b-xalbum-file__actions .b-xalbum-file-menu-actions .b-xform-select__options._skin-menu:before{
    right: 58px;
  }*/
}