@import url(chrome://flashblock/content/flashblock.css);

@-moz-document domain(mail.google.com) {
  body {
    background-color: #ebe2cd !important;
    font-size: 14pt !important;
  }

  /* header image */
  body div#ds_inbox img {
    display: none !important;
  }

  body div#ds_inbox {
    background-image: url(http://persistent.info/images/20041005.gmaillogo.gif) !important;
    width: 143px !important;
    height: 59px !important;
    background-repeat: no-repeat !important;
  }

  /* regular links */
  body span.lk,
  body a.lc,
  body a.lk
  {
    text-decoration: none !important;
    color: #9f3638 !important;
  }

  body table.tlc {
    font-size: 12pt !important;
  }

  /* read/unread row colors */
  body table.tlc tr.ur {
    background-color: #d3cbb8 !important;
  }

  body table.tlc tr.rr {
    background-color: #ebe2cd !important;
  }

  body table.tlc tr.ur td,
  body table.tlc tr.rr td{
    border: 0 !important;
  }

  /* message hovering snippet expansion */
  body table.tlc tr.ur:hover,
  body table.tlc tr.rr:hover{
    background-color: #ffc !important;
  }

  body table.tlc tr.ur:hover td,
  body table.tlc tr.rr:hover td{
    border-width: 1px 0 1px 0 !important;
    border-color: black !important;
    border-style: solid !important;
    vertical-align: top !important;
  }

  body table.tlc tr.ur:hover .sn,
  body table.tlc tr.rr:hover .sn{
    display: block !important;
    white-space: normal !important;
  }

  /* and email address display */
  body table.tlc tr.ur:hover td span,
  body table.tlc tr.rr:hover td span {
    display: block;
  }

  /* labels should still be inline */
  body table.tlc tr.ur:hover td span.ct,
  body table.tlc tr.rr:hover td span.ct{
    display: inline;
  }

  body table.tlc tr.ur:hover td span[id]:after,
  body table.tlc tr.rr:hover td span[id]:after{
    content: attr(id);
    display: block;
    margin-left: -38px; /* hack to hide "user_" id prefix */
    color: #b6af9e;
  }


  /* sidebar links */
  body div#nav table.cv,
  body div#nav table.cv td {
    background: #ebe2cd !important;
  }

  body table.cv td.tl,
  body table.cv td.bl {
    height: 0 !important;
  }

  /* both current and other */
  body table.cv td span.lk,
  body div.nl span.lk{
    display: block !important;
    background: #d3cbb8 !important;
    border: solid 1px #b5ae9f !important;
    -moz-border-radius: 6px !important;
    padding: 2px !important;
    margin-right: 5px !important;
  }


  /* just the current one */
  body table.cv td span.lk {
    background: #d3cbb8 !important;
    border: solid 1px #b5ae9f !important;
  }

  /* unselected ones */
  body div.nl span.lk {
    background: #ebe2cd !important;
    border: solid 1px #ebe2cd !important;
  }

  body div.nl span.lk:hover {
    background: #d3cbb8 !important;
    border-color: #b5ae9f !important;
  }

  /* hide "New!" super-script */
  body div#nav sup {
    display: none !important;
  }


  /* side border */
  body div#co div {
    border: 0 !important;	
    font-size: 1em !important;
  }

  /* top/bottom bar */
  body div#tc_top table,
  body div#tc_top table td.tl,
  body div#tc_top table td.tr,
  body div#tc_top table.th,

  body div#tc_bot table,
  body div#tc_bot table td.bl,
  body div#tc_bot table td.br,
  body div#tc_bot table.th{
    background: none !important;
  }

  body div#co div#tc_top,
  body div#co div#tc_bot {
    border: solid 1px black !important;
    -moz-border-radius: 8px !important;
    padding: 2px !important;
    margin: 5px 0 5px 0 !important;
    background: #d3cbb8 !important;
  }

  /* selection links in bar */
  body div#co div#tc_top span.l,
  body div#co div#tc_bot span.l{
    color: #9f3638 !important;
  }


  /* mailbox contents */
  body div#co div#tbd {
    background: #ebe2cd !important;
    border: solid 1px black !important;
    -moz-border-radius: 8px !important;
    padding: 4px 0 4px 0 !important;
  }

  /* labels */
  body div#nb_0 {
    background: none;
    padding: 0;
    margin: 0;
    border: 0;
  }

  body div#nb_0 div {
    background: none;
    padding: 0px;
    margin: 0;
    border: 0;
  }

  body div#nb_0 div div {
    border: solid 1px #56765e;
    -moz-border-radius: 6px !important;
    padding: 0 1px 0 0 !important;
  }

  body div#nb_0 div div div {
    border: 0 !important;
    padding: 0 !important;
    background: none !important;
    -moz-border-radius: 0 !important;
  }

  body div#nb_0 div.s,
  body div#nb_0 div.h{
    padding: 1px 3px 0 3px !important;
    background: none !important;
    border-bottom: solid 1px #56765e !important;
    -moz-opacity: 0.5;
  }

  body div#nb_0 table,
  body div#nb_0 table td.tl,
  body div#nb_0 table td.tr,
  body div#nb_0 table td.bl,
  body div#nb_0 table td.br {
    background: none !important;
  }

  body div#nb_0 table.nb {
    background: #d0e7c5 !important;
    -moz-border-radius-bottomright: 6 !important;
    -moz-border-radius-bottomleft: 6 !important;
  }

  body div#nb_0 table.nb div.lk {
    text-decoration: none !important;
    margin: 3px 0 0 3px !important;
  }

  /* edit labels links */
  body div#nb_0 table.nb div#prf_l {
    margin-right: 50px !important;
    -moz-opacity: 0.7 !important;
  }

  /* Invite friends */
  body div#nb_1 {
    background: none;
    padding: 0;
    margin: 0;
    border: 0;
  }

  body div#nb_1 div {
    background: none;
    padding: 0px;
    margin: 0;
    border: 0;
  }

  body div#nb_1 div div {
    border: solid 1px #56765e;
    -moz-border-radius: 6px !important;
    padding: 0 1px 0 0 !important;
  }

  body div#nb_1 div div div {
    border: 0 !important;
    padding: 0 !important;
    background: none !important;
    -moz-border-radius: 0 !important;
  }

  body div#nb_1 div.s,
  body div#nb_1 div.h{
    padding: 1px 3px 0 3px !important;
    background: none !important;
    border-bottom: solid 1px #56765e !important;
    -moz-opacity: 0.5;
  }

  body div#nb_1 table,
  body div#nb_1 table td.tl,
  body div#nb_1 table td.tr,
  body div#nb_1 table td.bl,
  body div#nb_1 table td.br {
    background: none !important;
  }

  body div#nb_1 table.nb {
    background: #d0e7c5 !important;
    -moz-border-radius-bottomright: 6 !important;
    -moz-border-radius-bottomleft: 6 !important;
  }

  body div#nb_1 table.nb div.lk {
    text-decoration: none !important;
    margin: 3px 0 0 3px !important;
  }

  body div#nb_1 table.nb div#prf_l {
    margin-right: 50px !important;
    -moz-opacity: 0.7 !important;
  }

  body #ib {
    font-size: 1em !important;
    -moz-border-radius: 6px !important;
    border-radius: 6px !important; 
  }

  /* hide invite link */
  body #il {
    display: none !important;
  }

  /* hide footer */
  body div#ft {
    display: none !important;
  }

  /* hide google ads */
  body * div#rc, body * div.ar { 
    display: none !important;
  }
}


/* 關閉 Yahoo 的廣告 */
@-moz-document domain( tw.news.yahoo.com ) {
  body * #removeprint {
    display: none !important;
  }
}

/* 加大 Mobile01 的字體 */
@-moz-document domain( mobile01.com ) {
  body {
    font-size: 12pt;
  }
}


@-moz-document domain( tw.search.yahoo.com ) {
  body * div.yschspns {
    display: none !important;
  }
}

@-moz-document domain( tw.news.yahoo.com ) {
  body p[align="center"] {
    display: none !important;
  }
}

@-moz-document domain( tw.dictionary.yahoo.com ) {
  div#rightcol div#VREC {
    display: none !important;
  }
}


@-moz-document domain( news.sina.com.tw ) {
  iframe {
    display: none !important;
  }
}


/* 打開 PHS.COM 中的隱藏 frame */
/*
body#www-phs-com-tw iframe#topFrame {
  width: 100% !important;
  height: 300px !important;
  border-width: 1px !important;
  border-style: dashed !important;
}
*/

/*******************************************/
/* MOBILE01 CSS Settings                   */
/*******************************************/
/*
body#www-mobile01-com input#search {
  background: #d0dcc4 !important;
}

body#www-mobile01-com a.invtext {
  color: blue;
}
*/