@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("mail.google.com") {


/* chat window */
div[chat-dir="t"] {
	color: blue !important;
}
div[chat-dir="f"] {
	color: green !important;
}
span[class="ej8B8e"] {
	font-weight: bold !important;
	color: black !important;
	display: block !important;
	margin-top: -1em !important;
}

/* Some enhancements for the Input field */
input {
	padding: .2em .4em !important;
}
/*input:not([type="submit"]),
select {
	background: #ffc !important
	border: 1px solid #99F !important;
	color: #300 !important;
}*/

/* Block the ads table in the message window */
td[class="eWTfhb"]>div[class="XoqCub"]>div[class="XoqCub"]:last-child 
{display: none !important;}
div[class^=yxEQwb] {display: none !important;}
div[class='XoqCub a3hTGd'] {display: none !important;}
div[class='XoqCub I94Sdc'] {display: none !important;}

/* Show the useful links (New window, Print all, etc.) in a row */
table[class="PwUwPb XoqCub MMcQxe"] td[class="eWTfhb"]>div[class="XoqCub"] {
	/*width: 98% !important;
	position: absolute !important;
	text-align: center !important;
	right: 0 !important;*/

display:none !important;
}
table[class="PwUwPb XoqCub MMcQxe"] td[class="eWTfhb"]>div[class="XoqCub"] div {
	display: inline !important;
}
table[class="PwUwPb XoqCub MMcQxe"] td[class="eWTfhb"]>div[class="XoqCub"] span img {
	margin-left: 1em !important;
}

/* Move the mail body down, so that the useful links won't cover on it. */
/*td[class="eWTfhb"]>div[class="XoqCub ice3Ad"] {
	margin-top: 1em !important;
}*/

/* Widen the table after we blocked the ads */
table[class*="PwUwPb XoqCub MMcQxe"],
table[class="NQNkZd"],
table[class="N2mZ7b"] {
width: 99% !important;
margin-right:0 !important;
}

/* The "Delete all spam messages now" toolbar, it'd be widen, too. */
div[class="Ch5Hj"] {
	margin-right:1% !important;
}

/* The Reply textarea under the mailbody should also be widen */
textarea.gV2Gwc {
	width: 98.5% !important;
}

/* Who needs the toolbar in the upper left corner? Nobody? Good! */
/*div[id*="gbar"] {
	display: none !important;
}*/
/* Nah ... ok ... toolbar needs more to be fixed ... */
/*div[style*="border-top"] {
	display: none !important;
}*/
/* ... toolbar ... */
/*div[id*="gbh"] {
	display: none !important;
}*/

/* Remove the button to "Search the Web" */
div[class="tYBwhe"] button:last-child {
	display: none !important;
}

/* contacts list at left sidebar */
/*
 * Because of the "Remember the Milk" extension, modify the rule from 
 *     div[class="XoqCub a3hTGd"]
 * to
 *    div[class="XoqCub"] > div[class="XoqCub a3hTGd"]
 */
/*div[class="XoqCub"] > div[class="XoqCub a3hTGd"] {
	display: none !important;
}*/
.e8kn7c input {
	font-size: 12px !important;
	width: 125px !important;
	padding: 0 !important;
}
input.oricqc {
	padding: 0 !important;
	margin: 0 !important;
	font-size: 12px !important;
}

/* GMail is already open for everyone. No need of the invite-window */
div[class="XoqCub I94Sdc"] {
	display: none !important;
}

/* Let navigation at left side be easier to click */
/*div[class="XoqCub ACpQre"] a:visited,
div[class="XoqCub cBhtOe"] a:visited,
div[class="XoqCub IyrUZb ACpQre"] a:visited {
	color: #00C !important;
}
div[class="XoqCub ACpQre"] a,
div[class="XoqCub cBhtOe"] a,
div[class="XoqCub IyrUZb ACpQre"] a {
	display: block !important;
	text-decoration: none !important;
}
div[class="XoqCub ACpQre"] a:hover,
div[class="XoqCub cBhtOe"] a:hover {
	background: #C3D9FF none repeat scroll 0% !important;
}

div[class="XoqCub ACpQre"]:hover,
div[class="XoqCub cBhtOe"]:hover,
div[class="XoqCub IyrUZb ACpQre"]:hover,
div[class="XoqCub cOSVMd ACpQre"]:hover {
	background: #C3D9FF none repeat scroll 0% !important;
	-moz-border-radius: 3px 0 0 3px !important;
}

div[class="XoqCub IyrUZb cBhtOe"] a:hover,
div[class="XoqCub IyrUZb cBhtOe"]:hover,
div[class="XoqCub IyrUZb ACpQre"] a:hover,
div[class="XoqCub IyrUZb ACpQre"]:hover {
	background: #CCC none repeat scroll 0% !important;
	-moz-border-radius: 3px 0 0 3px !important;
}*/

/* Labels */
div.pvSW6e > table {
	width: 100% !important;
}

div[style="color: rgb*"] {
font-size: 0.1em !important;
}

a.zD5BAe {
	display: block !important;
	text-decoration: none !important;
}
/*div.pvSW6e > table a.zD5BAe:hover {
	background: #B5EDBC none repeat scroll 0% !important;
}
div.pvSW6e > table a.zD5BAe:visited {
	color: #00C !important;
}*/

/* Hide the STAR and CHAT icons in the navigation bar */
.gUlKtd,
.aBJ8he {
	display: none !important;
}

/* Highlight hovered mail item */
/*tr[class^="xweT7d AnqB9d"]:hover,
tr[class^="xweT7d QhHSYc"]:hover {
	background-color: #FF9 !important;
}*/

/* Hide the footer bar */
div.tBLpAf {
	display: none !important;
}

/* remove the footer #1 */
DIV[class="Ax9Ooe"] {display:none !important;}

/* remove the footer #2 */
DIV[class="tBLpAf"] {visibility:hidden !important;}

/* remove the footer #3 */
DIV[class="s7hnoe"] {display:none !important;}

/* remove the footer #4 (% Used) */
SPAN[class="LaiJff"] {visibility:hidden !important;}


/* For the selection toolbar (Select: All, None, Read, ....) */
/*span[class="bsABdf"] span {
	padding: 0 .5em !important;
}
span[class="bsABdf"] span:hover {
	text-decoration: underline overline !important;
}*/

/* For the toolbar at the upper right corner */
div[class="nQ6QTe"] {
	margin-right: 1em !important;
}
div[class="nQ6QTe"] .l73JSe {
	text-decoration: none !important;
}

#gbar a, #gbar a:active, #gbar a:visited, .l73JSe{
text-decoration : none !important;
}

/*
div[class="nQ6QTe"] .l73JSe:hover {
	text-decoration: underline overline !important;
}*/

/* Remove the underlines */
div[class="tYBwhe SUicbd"],
div[class="JcNrlf"],
div[class="Q9o7yd"],
div[class="A5liqb"],
span[class="zD5BAe"],
span[id*="1f"],
span[id*="1e"],
a[id*="1f"] {
	text-decoration: none !important;
}

/* Reload link replaced with icon */
.DiWSpb {
    display:block;
    width:17px;
    height:17px;
    background:url(
data:image/png;
base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNS8xNS8wN9g/hOYAAAAYdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3Jrc0+zH04AAADZSURBVBiVddCxTUMxFIXh76HXkwmADYIU92SDkA3CBjCBnzdIQ0UBNNRkgoTeRWABEAOgZAJTxJGenuA09x7f3/bVaUopICSX6DDDDivc5minqimlHMF1PdvWOsUX5jnahmTRTLoyquAyR8/HV0JyjtdqH3DfTLoywyZHewOF5BQfOIM2R6sh1NP8CEIbkjIAnnJ0E5IFHvuDZtKVMgT/+6bt9T+4+wsKyQhXJ9W/4BvrkFwMwIVDWpu2t+PYIarPkLxVdlzrNEf7pvRWrlEtcY1Rvdzl6B1+AStCR5ZTT+8xAAAAAElFTkSuQmCC)
    50% 50% no-repeat;
    text-indent:-5000px;
    }

/* Ugly Label Color Boxes Removed */
span[style="visibility: hidden;"], 
B[class="dmby2e"], B[style="color: rgb(0, 102, 51);"]{
display:none !important;
}


}