@import url('/css/feed-old-photo-posts-v73.css?v=79');

/* iFeedeBook global shell retro enhancement - no toca DB ni uploads */
.topbar-inner {
  justify-content: flex-start;
  gap: 10px;
}

.topbar-inner .logo {
  flex: 0 0 auto;
}

.topnav {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.topnav a,
.topnav button {
  margin-left: 0;
}

.top-header-action-cluster {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
    margin-left: 25px;
}

.top-friend-wrap,
.top-msn-wrap,
.top-notification-wrap {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 28px;
  margin-left: 0;
  vertical-align: middle;
}

.top-friend-wrap .ifb-nav-friends-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  min-width: 31px;
  height: 28px;
  opacity: .9;
  padding: 0;
  margin: 0;
}

.top-friend-wrap .ifb-nav-friends-icon {
  display: block;
  width: auto;
  height: 27px;
}

.top-msn-wrap .top-icon-button,
.top-notification-wrap .top-icon-button {
  margin-left: 0;
}

.top-header-action-cluster .top-icon-button {
  position: relative;
  min-width: 31px;
  width: 31px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  opacity: .9;
  font-family: Tahoma, Arial, sans-serif;
}

.ifb-top-msn-button .fa-comments {
  position: relative;
  top: -2px;
  font-size: 22px;
}

.top-header-action-cluster .top-notification-panel {
  left: 0;
  right: auto;
  top: 31px;
}

.top-msn-panel {
  width: 410px;
}

.top-friend-panel {
  width: 390px;
}

.top-panel-title img {
  width: 18px;
  height: 18px;
  vertical-align: -4px;
  margin-right: 5px;
}

.top-friend-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 7px 8px;
  border-bottom: 1px solid #edf0f5;
  color: #1c2a47 !important;
  text-decoration: none;
  font-weight: normal !important;
}

.top-friend-item:hover,
.top-msn-friend:hover {
  background: #eceff5;
  text-decoration: none;
}

.top-friend-item img,
.top-msn-friend img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border: 1px solid #b3bdd2;
  background: #d8dfea;
}

.top-friend-item b,
.top-friend-item a,
.top-msn-friend b {
  color: #3b5998;
  font-weight: bold;
}

.top-friend-item em,
.top-msn-friend em {
  display: block;
  color: #777;
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
}

.top-friend-actions {
  display: flex;
  gap: 4px;
}

.top-friend-actions button {
  padding: 3px 6px;
  font-size: 11px;
}

.ifb-top-panel-link {
  padding: 4px 8px;
}

.ifb-top-msn-presence {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  background: #f4fbff;
  border-bottom: 1px solid #c3d9e8;
  color: #245b2d;
  font-weight: bold;
}

.ifb-top-msn-presence label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #245b2d;
}

.ifb-top-msn-status-label {
  color: #245b2d;
}

.ifb-top-msn-status-control {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  min-width: 154px;
  padding: 3px 5px;
  border: 1px solid #9eb6d8;
  background: #fff;
  color: #1c2a47;
  line-height: 16px;
}

.ifb-top-msn-status-control .ifb-msn-status-menu-v25 {
  top: 100% !important;
  left: 0 !important;
  margin-top: 3px !important;
  z-index: 1006 !important;
}

.top-msn-list {
  max-height: 335px;
  overflow: auto;
}

.top-msn-friend {
  display: grid !important;
  position: relative;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  width: 100%;
  min-height: 50px;
  padding: 7px 8px;
  border-bottom: 1px solid #edf0f5;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  text-align: left;
  font-family: Tahoma, Arial, sans-serif;
}

.top-msn-friend.has-unread {
  background: #e8eef9;
}

.top-msn-friend-main {
  min-width: 0;
  display: block;
  position: relative;
  padding-right: 116px;
  line-height: 1.18;
}

.top-msn-presence {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  color: #777;
  font-size: 10px;
  font-weight: bold;
  position: absolute !important;
  right: 11px;
  top: 9px;
  max-width: 116px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 13px;
  align-self: start;
  margin-top: 0;
}

.top-msn-presence span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #777;
  background: #aaa;
}

.top-msn-presence.available span { border-color: #1d7c2f; background: #44c95a; }
.top-msn-presence.idle span { border-color: #b58d00; background: #ffd24a; }
.top-msn-presence.away span { border-color: #b36a00; background: #ff9a3b; }
.top-msn-presence.busy span { border-color: #8b1515; background: #d92323; }
.top-msn-presence.offline span { border-color: #777; background: #aaa; }

.top-msn-preview {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
}

.top-msn-friend.has-unread .top-msn-preview {
  color: #243f78;
  font-weight: bold;
}

.top-msn-unread-pill {
  position: static;
  display: inline-block;
  vertical-align: 1px;
  margin-left: 5px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  background: #b21f2d;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  line-height: 15px;
  text-align: center;
}

body.ifb-old-posts-skin :is(#posts, #pagePosts) .ifb-music-post-card-v22,
body.ifb-old-posts-skin :is(#posts, #pagePosts) .ifb-music-post-card-v46 {
  width: fit-content !important;
  max-width: min(100%, 620px) !important;
  min-width: min(100%, 410px) !important;
}

body.ifb-old-posts-skin :is(#posts, #pagePosts) .ifb-music-post-title-v22,
body.ifb-old-posts-skin :is(#posts, #pagePosts) .ifb-music-post-title-v46,
body.ifb-old-posts-skin :is(#posts, #pagePosts) .ifb-music-post-meta-v22,
body.ifb-old-posts-skin :is(#posts, #pagePosts) .ifb-music-post-meta-v46 {
  max-width: 470px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search-wrap {
  position: relative;
  flex: 1 1 auto;
  max-width: 360px;
  margin: 0 18px;
}
.header-search-wrap input {
  width: 100%;
  height: 25px;
  padding: 4px 6px 4px 24px;
  border: 1px solid #1d2a5b;
  border-top-color: #23376d;
  font-size: 11px;
  background: #fff;
}

.header-search-icon {
  position: absolute;
  left: 6px;
  top: -5px;
  color: #3b5998;
  font-weight: bold;
  z-index: 2;
  font-size: 26px;
  line-height: 30px;
  pointer-events: none;
}

.header-search-panel {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #1d2a5b;
  box-shadow: 2px 2px 0 rgba(0,0,0,.18);
  z-index: 1000;
  padding: 6px;
  color: #1c2a47;
}
.header-search-section-title {
  color: #777;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px 5px 3px;
  border-bottom: 1px solid #edf0f5;
}
.header-search-result {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 6px;
  align-items: center;
  padding: 5px;
  border-bottom: 1px solid #edf0f5;
  color: #3b5998 !important;
  text-decoration: none;
}
.header-search-result:hover { background: #eceff5; text-decoration: none; }
.header-search-result em { color: #777; font-size: 11px; font-style: normal; }
.header-search-page-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #9aa9c4;
  background: linear-gradient(#fff, #d8dfea);
  color: #3b5998;
  font-size: 14px;
}
.top-notification-wrap {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: 0;
}
.topnav .top-icon-button {
  position: relative;
  margin-left: 7px;
  opacity: 0.9;
  padding: 2px 2px;
  color: white;
  height: 25px;
  min-width: 30px;
}

.top-header-action-cluster .top-icon-button {
  margin-left: 0;

    margin-top: 3px;
}
.top-icon-symbol { 
    font-size: 23px;
    line-height: 2px;
   }

 .top-icon-symbol  i.fa.fa-globe {
    margin-top: -4px;
}
.top-notification-badge {
  position: absolute;
  right: -7px;
  top: -7px;
  min-width: 17px;
  height: 17px;
  line-height: 15px;
  padding: 0 4px;
  border-radius: 9px;
  border: 1px solid #7d0d0d;
  background: #d92323;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset;
}
.top-notification-panel {
  position: absolute;
  right: 0;
  top: 31px;
  width: 350px;
  background: #fff;
  border: 1px solid #1d2a5b;
  box-shadow: 2px 2px 0 rgba(0,0,0,.2);
  color: #1c2a47;
  z-index: 1002;
  text-align: left;
}
.top-panel-title {
  background: #d8dfea;
  border-bottom: 1px solid #b3bdd2;
  color: #3b5998;
  font-weight: bold;
  padding: 7px 8px;
}
.top-notification-list { max-height: 310px; overflow: auto; }
.top-notification-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 7px;
  padding: 7px 8px;
  border-bottom: 1px solid #edf0f5;
  color: #1c2a47 !important;
  text-decoration: none;
  font-weight: normal !important;
}
.top-notification-item:hover { background: #eceff5; text-decoration: none; }
.top-notification-item.is-unread { background: #f2f5fb; font-weight: bold !important; }
.top-notification-item em { color: #777; font-size: 11px; font-style: normal; font-weight: normal; }
.notif-visual {
  width: 30px;
  height: 30px;
  border: 1px solid #b3bdd2;
  background: #d8dfea;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #3b5998;
  font-size: 15px;
}
.notif-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.notif-visual.notif-like { background: #fff7d8; color: #9a6a00; }
.notif-visual.notif-comment { background: #e8f0ff; color: #3b5998; }
.notif-visual.notif-wall_post { background: #eef7e9; color: #276d2d; }
.notif-visual.notif-page_post { background: #f4eaff; color: #6d3b98; }
.notif-text strong { color: #3b5998; }
.top-panel-actions {
  padding: 7px 8px;
  background: #f7f7f7;
  border-top: 1px solid #d8dfea;
}
.notification-help {
  margin-top: 5px;
  color: #777;
  font-size: 11px;
  line-height: 1.3;
}
.legacy-notification-box-hidden { display: none !important; }
.mini-msn-box .box-title {
  background: linear-gradient(#dff3ff, #b7d8ef);
  color: #194f7c;
}
.msn-status {
  padding: 5px;
  margin-bottom: 6px;
  background: #f4fbff;
  border: 1px solid #c3d9e8;
  color: #245b2d;
  font-weight: bold;
}
.msn-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #1d7c2f;
  background: #44c95a;
  margin-right: 5px;
}
.msn-friend {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #3b5998;
  padding: 5px 8px;
  border-bottom: 1px solid #edf0f5;
  font-weight: bold;
}

#topMsnPanel .top-msn-friend.msn-friend {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 7px !important;
  padding: 7px 8px !important;
}

button.msn-friend.ifb-msn-friend-status-v25 span em {
    font-size: 10px;
    font-style: normal;
    font-weight: 100;
}

.msn-friend:hover { background: #eceff5; }
.msn-mini-chat {
  margin-top: 8px;
  border: 1px solid #7aa3c7;
  background: #fff;
}
.msn-window-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 6px;
  background: linear-gradient(#6eb6e6, #2176b7);
  color: white;
  font-weight: bold;
}
.msn-window-head button { padding: 1px 5px; font-size: 10px; }
.msn-window-body {
  min-height: 90px;
  max-height: 150px;
  overflow: auto;
  padding: 6px;
  background: #f8fcff;
}
.msn-line { margin-bottom: 5px; color: #1c2a47; }
.msn-line.me b { color: #2a7b28; }
.msn-line.them b { color: #225b9b; }
.msn-form {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: #edf7ff;
  border-top: 1px solid #c3d9e8;
}
.msn-form input { flex: 1; }
.msn-form button { flex: 0 0 auto; }

/* Comentarios + picker flotante de iconos */
.comment-form {
  display: grid !important;
  grid-template-columns: 1fr auto auto;
  gap: 5px;
  align-items: center;
}
.comment-form input[name="content"] {
  min-width: 0;
  width: 100%;
}
.comment-form .floating-icon-trigger,
.post-box .floating-icon-trigger,
.retro-page-post-form .floating-icon-trigger,
.page-post-form .floating-icon-trigger {
  background: #eee;
  border: 1px solid #999;
  color: #333;
  padding: 5px 7px;
  font-weight: bold;
}
.post-box .composer-tools,
.retro-page-post-form .composer-tools,
.page-post-form .composer-tools {
  margin: 4px 0 6px;
}
.floating-icon-picker {
  position: fixed;
  width: 230px;
  background: #fff;
  border: 1px solid #1d2a5b;
  box-shadow: 2px 2px 0 rgba(0,0,0,.22);
  z-index: 2005;
  padding: 6px;
  color: #1c2a47;
}
.floating-icon-picker-title {
  background: #d8dfea;
  border: 1px solid #b3bdd2;
  color: #3b5998;
  font-weight: bold;
  padding: 4px 5px;
  margin-bottom: 5px;
  font-size: 11px;
}
.floating-icon-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
}
.floating-icon-grid button {
  min-width: 0;
  padding: 4px 0;
  background: #f7f7f7;
  border: 1px solid #b3bdd2;
  color: #1c2a47;
  font-size: 14px;
  line-height: 16px;
}
.floating-icon-grid button:hover { background: #eceff5; }

@media (max-width: 1000px) {
  .header-search-wrap { max-width: none; margin: 6px 0; order: 3; width: 100%; }
  .topbar { height: auto; min-height: 44px; }
  .topbar-inner { flex-wrap: wrap; height: auto; padding: 6px 0; }
  .top-notification-panel { right: -60px; width: 300px; }
}
