@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("mail.google.com") {

body .lk { /* Tries to remove the underline from all the links - but fails */
    text-decoration: none !important;
}

body div#gbar { /* The Google Services links on the top left */
    display: none !important;
}

body div#guser.mlo { /* The "username@gmail.com | ... | Sign out" links */
    float: left !important;
    padding-left: 1em !important;
}

body #guser #prf_g.setl,
body #guser a { /* The "Settings | Help | Signout" links */
    text-decoration: none !important;
}

/* The search-related elements */
body table tr td div#mt1.s table tr td span#mt_cf1.lk { /* The "Create a filter" link */
    display: none !important;
}

body div#nav div#nb_1 { /* "Invite a friend" box */
    display: none !important;
}

body div#nav div#nb_2 { /* "Messaging" box */
    display: none !important;
}

body div#nav div#nb_0 div#nvl table tr td b.rnd { /* Green lines that stand above and below the "Label" box */
    display: none !important; 
}

body div#nav div#nb_0 div#nvl div.nb { /* "Label" box outter */
    background: none !important;
}

body div#nav div#nb_0 div#nvl div.nb div#nt_0.s td.s { /* "Label" box header */
    display: none !important;
}

body div#nav div#nb_0 div#nvl div.nb div#prf_l.lk { /* The "Edit labels" element */
    display: none !important;
}

body div#nav div.nl span#comp.lk, /* The "Compose Mail" element */
body div#nav div.nl span#ds_all.lk, /* The "All Mail" element */
body div#nav div.nl span#ds_drafts.lk, /* The "Drafts" element */
body div#nav div.nl span#ds_starred.lk, /* The "Starred" (and star image) elements */
body div#nav div.nl span#ds_sent.lk, /* The "Sent Mail" element */
body div#nav div.nl span#ds_chats.lk, /* The "Chats" (and ballon image) elements */
body div#nav div.nl span#ds_spam.lk, /* The "Spam" element */
body div#nav div.nl span#cont.lk { /* The "Contacts" element */
    display: none !important;
}

body div div#co div#tct.thc div.tbc div.tbcr { /* "Refresh" */
    display: none !important;
}

body div#co div#tct.thc div.tbc div.tbcb button { /* The "Archive", "Report Spam" and "Delete" buttons */
display: none !important;
}

body div#co div#tct.thc div.tbc div.tbcs span#sl_r.l, /* Select: Read */
body div#co div#tct.thc div.tbc div.tbcs span#sl_u.l, /* Select: Unread */
body div#co div#tct.thc div.tbc div.tbcs span#sl_s.l, /* Select: Starred */
body div#co div#tct.thc div.tbc div.tbcs span#sl_t.l { /* Select: Unstarred */
    display: none !important;
}

body div div#co div#tcb.thc div.tbc { /* The message toolbar of the bottom (Select: All, None, ..., Unstarred) */
    display: none !important;
}

body div div#co div.fs table tr td#fi div#rhc div.rh div#ra { /* The big AdSense box */
    display: none !important;
}

body div div#co div.fs table tr td#fi div#rhc div.rh div#rb div.rhh { /* The "About these links" container */
    display: none !important;
}

body div#ft div.ft {
    display: none !important; /* The first line: random help messages */ !important
}

body div#ft div.fv {
    display: none !important; /* Last but one (Gmail view: standard with...) */ !important
}

body div#ft div.fcs {
display: none !important; /* The last line (Termos of User, Privacy Policy etc.) */
}

}
