/* Правила для компонентов, которые ещё не переведены на историческую
   разметку 2010 года. Всё, что уже есть в rustyle/profile.css, здесь
   дублироваться не должно. */

#nav .navCount {
  float: right;
  color: #999;
  font-weight: normal;
  font-size: 10px;
}
#nav li a.active {
  background: #DAE1E8;
  color: #36638E;
}

#pageHeader #quickSearch {
  float: left;
  text-align: left;
  margin-left: 158px;
  padding: 11px 0px 0px 0px;
}
#quickSearch form { margin: 0px; }
#quickSearch .inputText { width: 115px; margin-right: 2px; }
#quickSearch .button { padding: 2px 5px; }

#notes_page .writeTab {
  float: none;
  display: inline-block;
  padding: 5px 0px 0px 14px;
}

.mailbox .writeTab {
  float: none;
  display: block;
  clear: both;
  text-align: right;
  padding: 4px 0px 0px 0px;
}
.mailbox table .date { white-space: nowrap; padding-right: 8px; }
.mailbox table .messageActions { padding-left: 8px; text-align: right; }

#profileActions form { margin: 0px; }
#profileActions form input {
  display: block;
  width: 100%;
  text-align: left;
  border: 0px;
  border-bottom: 1px solid #CCD3DA;
  background: #fff;
  color: #2B587A;
  padding: 3px;
  cursor: pointer;
  font-family: tahoma, verdana, arial, sans-serif;
  font-size: 11px;
}
#profileActions form input:hover { background: #DAE1E8; }

.friendTable td div { line-height: 13px; }
.friendTable img { border: 1px solid #DAE2E8; }

.profileImg { border: 1px solid #DAE2E8; }

.formTable { width: 100%; }
.formTable td { padding: 3px 4px; vertical-align: top; }
.formTable td.label { width: 150px; color: #666; text-align: right; }

#messageHistory .new_td { line-height: 140%; }

/* like_wrap и комментарии: wall.css 2010 в архиве не сохранился */
.wallpost .like_wrap { padding: 4px 0 2px 0; }
.wallpost button.like_link {
  border: 0px;
  background: none;
  padding: 0px;
  font-family: tahoma, verdana, arial, sans-serif;
  font-size: 11px;
  color: #2B587A;
  cursor: pointer;
}
.wallpost button.like_link:hover { text-decoration: underline; }
.wallpost .like_count {
  color: #2B587A;
  font-weight: bold;
  font-size: 11px;
  padding-left: 4px;
}
.wallpost .replies { clear: both; }
.wallpost .reply_link_wrap { padding: 4px 0px 2px 0px; font-size: 11px; }
.wallpost .comment { border-top: 1px solid #EEE; padding: 5px 0px; }
.wallpost .comment .date { color: #999; font-size: 10px; padding-left: 5px; }
.wallpost .reply_text { padding-top: 2px; }
.wallpost .reply_form { padding-top: 6px; }
.wallpost .wallAttachment { padding: 6px 0px 2px 0px; }
.wallpost .wallAttachment img { border: 1px solid #DAE2E8; }

.audioList td { border-bottom: 1px solid #EEE; padding: 5px 6px; }
.audioPlay { width: 22px; color: #2B587A; }
.audioTitle b { color: #2B587A; }
.audioDuration { width: 50px; color: #999; }
.audioActions { width: 60px; text-align: right; }
.audioAdd, .videoAdd { padding: 10px; background: #F7F7F7; border-top: 1px solid #DAE2E8; }
.audioAdd h4, .videoAdd h4 { margin: 0px 0px 6px 0px; }
.videoList { overflow: hidden; padding: 8px 0px; }
.videoItem { float: left; width: 280px; padding: 8px; }
.videoThumb {
  width: 120px; height: 90px; float: left; margin-right: 8px;
  background: #D5DDE5; color: #FFF; text-align: center;
  font-size: 34px; line-height: 90px;
}
.videoInfo { overflow: hidden; }
.videoTitle { color: #2B587A; font-weight: bold; }
.videoDesc { color: #666; padding-top: 3px; }
.videoActions { padding-top: 5px; }

@media (max-width: 800px) {
  #pageLayout { width: 100%; }
  #pageHeader, #pageHeader1 { width: 100%; }
  #home { display: none; }
  #pageHeader #quickSearch { display: none; }
  .headNav { padding-right: 2px; line-height: 18px; }
  .headNav a { padding: 12px 4px; font-size: 10px; }
  .headNav a.hn-settings, .headNav a.hn-requests { display: none; }
  .mailbox .mailSearch {
    float: none;
    display: block;
    clear: both;
    text-align: left;
    padding: 9px 0px 3px 0px;
    border-top: 1px solid #EEF2F5;
    margin-top: 6px;
  }
  .mailbox .mailSearch input[type=text] { width: 140px; }
  #sideBar { display: none; }
  #pageBody { float: none; width: auto; margin: 0px 6px; }
  #wrapH, #wrap2, #wrap1, #content { width: auto; }
  #content { overflow-x: auto; }
  #profileContent { padding: 6px; }
  #leftColumn { float: none; width: auto; margin: 0px 0px 10px 0px; }
  #rightColumn { float: none; width: auto; }
  .notes .note .note_body, .notes .wide_note .note_body { width: auto; }
  .notes .note_content { width: auto; }
  .mailbox table .messagePicture { display: none; }
  .mailbox table .date { display: none; }
  .mailbox table .messageFrom { width: 90px; }
  .mailbox table.inbox .messageSnippet { width: auto; }
  .videoItem { float: none; width: auto; }
  .formTable td.label { width: auto; text-align: left; }
  .notes_edit #fieldTitle .inputText,
  .notes_edit #fieldBody textarea { width: 100%; }
}
