@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix("https://mail.google.com"),
               url-prefix("https://www.google.com/calendar")
{

div[class="hq gt"] a:last-child { font-size: 180% !important; }

/* ---------- */
/* Every page */
/* ---------- */

/* Prevents overflow scrollbar from appearing, just use mouse wheel to scroll down page */
html[class='cQ'] { overflow-x: hidden !important; }


/* ----------- */
/* Header bars */
/* ----------- */

/* Adjusts highlight bar above links in top header bar */
/* --- Left side --- */
html.cQ body.cP div div.nH div.nH div.nH div.nH div#gb div#gbw div#gbz ol.gbtc li.gbt a[class='gbzt gbz0l gbp1'] span.gbtb2 
{ 
  border-top: #0000EE 2px solid !important; 
  margin-bottom: -1px !important;
}
/* --- Right side --- */
html.cQ body.cP div div.nH div.nH div.nH div.nH div#gb div#gbw div#gbg ol.gbtc li#manage.gbt a.gbzt { border-top: 2px solid !important; }

/* Repositions links in left and right hand corners of bar */
ol[class='gbtc'] li[class='gbt'] span:first-child+span
{
  position: relative !important;
  top: 1px !important;
}
html.cQ body.cP div div.nH div.nH div.nH div.nH div#gb div#gbw div#gbg ol.gbtc li#manage.gbt a.gbzt span.gbtb2 span.gbts
{
  position: relative !important;
  top: -1px !important;
}
html.cQ body.cP div div.nH div.nH div.nH div.nH div#gb div#gbw div#gbg ol.gbtc li#manage.gbt a.gbzt
{
  position: relative !important;
  right: 12px !important;
}

/* Reposition drop down arrows */
/* --- Left hand side --- */
html.cQ body.cP div div.nH div.nH div.nH div.nH div#gb div#gbw div#gbz ol.gbtc li.gbt a#gbztm.gbgt span#gbztms.gbts span.gbma 
{ 
  position: relative !important;
  top: 0px !important;
}
/* --- Right hand side --- */
html.cQ body.cP div div.nH div.nH div.nH div.nH div#gb div#gbw div#gbg ol.gbtc li.gbt a#gbg4.gbgt span#gbgs4.gbts span#gbi4 span.gbma
{ 
  position: relative !important;
  top: 0px !important;
}

/* Changes font color of email address selector */
html.cQ body.cP div div.nH div.nH div.nH div.nH div#gb div#gbw div#gbg ol.gbtc li.gbt a#gbg4.gbgt span#gbgs4.gbts span#gbi4 span#gbi4m1 { color: #999999 !important; }

/* Repositions logo */
div[class="GcwpPb-VArq Rgky9"]
{ 
  position: relative !important;
  left: 12px !important;
}

/* Repositions search bar and maintains text color */
div:first-child+div[class='nH nn'] div table[class='cf d']
{
  position: relative !important;
  top: 1px !important;
  left: -3px !important;
}
td[class='bN bM'] div[class='goog-imageless-button-content'] { color: black !important; } 

/* Repositions "Show search options" and "Create a filter" */
html.cQ body.cP div div.nH div.nH div.nH div.nH div.no div.nH div.nH table.cf tbody tr td.GcwpPb-Pkt3ef span
{
  position: relative !important;
  top: 1px !important;
  left: 2px !important;
}

/* Repositions advanced search box */
div[class='nH b'] 
{
  position: absolute !important; 
  top: 77px !important;
  left: 19px !important; 
}


/* --------------- */
/* Bubble messages */
/* --------------- */

div[class='b8 UC'] div[class='J-J5-Ji']
{ 
  position: relative !important;
  top: -2px !important;
  z-index: 101 !important;
}


/* ------- */
/* Sidebar */
/* ------- */

/* Move all sidebar items */
/* --- Compose --- */
div[class='z0']
{ 
  position: relative !important;
  top: -27px !important;
  height: 27px !important;
  z-index: 102 !important; 
}
div[class='z0'] div 
{ 
  line-height: 11px !important; 
  color: #FDFFAE !important; 
}
/* --- Switches position of Compose and Contacts --- */
div[class^='CX pp']
{ 
  position: relative !important; 
  top: 29px !important;
  z-index: 101 !important;
}
div[class='CX pp'] div { height: 16px !important; }
span[class='is']
{
  position: relative !important;
  top: 1px !important;
}
/* --- Inbox to Trash --- */
div[class='TN']
{ 
  position: relative !important;
  top: 1px !important;
}
/* --- Calendar widget --- */
[class='nH pp T0']
{ 
  position: relative !important;
  top: 1px !important;
}

/* Removes "Mail" button */
div[class^='CX pp'] div:first-child { display: none !important; }

/* Removes "Tasks" button */
div[class^='CX pp'] div:first-child+div+div { display: none !important; }
div[class^='T4 pp'] div:first-child { display: none !important; }

/* Note: Can hide sidebar buttons, including labels, using settings now! Just need the following to hide more labels button */
span[class='n4 toxOdd'] { display: none !important; }

/* Removes "Invite a Friend" */
div[class='nH pp ps'] div[class='nH pY'] { display: none !important; }
div[class='nH pp ps'] div[class='nH'] div[class='nH s'] { display: none !important; }
html[class='cQ'] body[class='cP'] div div[class='nH'] div[class='nH'] div[class='nH'] div[class='nH pp T0'] div[class='nH'] div[class='nH s'] { display: none !important; }
html[class='cQ'] body[class='cP'] div div[class='nH'] div[class='nH'] div[class='nH'] div[class='nH pp T0'] div[class='nH'] div[class='nH pY'] { display: none !important; }

/* Removes "Tasks" */
div:first-child+div+div[class='nH pp'] div[class='nH'] div[class='nH'] div[class='nH'] div:first-child+div[class^='nH'] div[class='nH'] div[class='nH'] div:first-child+div[class='l m'] div[class='l n'] div[class='k'] div[class='diLZtc'] div[class='nH'] div[class='qk'] { display: none !important; }

/* Adjustments to Google Calendar Widget */
div[class='nH nn'] div[class='nH'] div[class='nH pp T0'] div[class='nH'] div[class='nH pS']
{
  position: relative !important;
  top: 2px !important;
  -moz-border-radius: 0px !important;
}
div[class='nH pp T0'] div[class='nH'] div[class='nH pS'] div[class='nH'] div[class='nH pv r'] div[class='py'] { height: 18px !important; }
div[class='nH nn'] div[class='nH'] div[class='nH pp T0'] div[class='nH'] div[class='nH pS'] div[class='nH'] div[class='nH pv r'] div[class='py'] h2[class='pw']
{ 
  position: relative !important; 
  left: 43px !important;
}
td[id='gadget-dp-1cur'] { background-image: -moz-linear-gradient(top, #5E666E, #252B34) !important; }
td[id='gadget-dp-1next'] { background-image: -moz-linear-gradient(top, #5E666E, #252B34) !important; }
td[id='gadget-dp-1prev'] { background-image: -moz-linear-gradient(top, #5E666E, #252B34) !important; }

/* You are currently using... */
div[class='nH l2 ov']
{ 
  color: #d19800 !important; 
  position: fixed !important;
  bottom: 34px !important;
  left: 9px !important;
  width: 150px !important; 
}
div[class='nH l2 ov'] span 
{ 
  color: #DFDFDF !important; 
  opacity: 0.25 !important; 
}
/* --- Tweaks Boomerang-Outbox buttons --- */
div[class='pM'] 
{
  position: relative !important;
  top: 1px !important;
  left: -1px !important;
}
/* --- Removes labels button --- */
span[class='J-Ke n4 toxOdd'] { display: none !important; }
/* --- Removes Chat box --- */
div[class='T0 pp'] { display: none !important; }


/* -------------------------------------------------------- */
/* Manipulating navigation bar, toolbar buttons, and footer */
/* -------------------------------------------------------- */

/* Repositions navigation bar */
/* --- Inbox, Spam, Search --- */
div[class='nH vpUyzb Cr'] div[class='nH'] 
{ 
  position: relative !important; 
  left: 7px !important;
  top: 3px !important;
}
/* --- Conversations --- */
div[class='iI D ieCXse'] div[class='iG'] { display: none !important; }
div[class=' iI D E'] div[class='iG'] { display: none !important; }

/* Repositions navigation numbers */
span[class='Di'] span[class='Dj'] 
{ 
  position: relative !important;
  top: 6px !important;
}

/* Repositions Older and Oldest buttons */
span[class='Di'] span[class='e'] 
{ 
  position: relative !important;
  top: 6px !important;
  padding-top: 5px !important; 
  padding-bottom: 6px !important; 
}

/* Realigns upper toolbar buttons */
/* --- Inbox --- */
div[class='nH'] div[class^='nH Cq']
{ 
  position: relative !important;
  top: 2px !important;
  left: -4px !important;
}
/* --- Conversations --- */
div[class=' iI D E'] div[class^='iH']
{ 
  position: relative !important;
  top: 7px !important;
}
div[class='nH q0CeU B'] div[class=' iI D E'] div[class^='iH']
{ 
  position: relative !important;
  top: 6px !important;
  left: -3px !important;
}

/* Manipulates Checkbox button */
div[class="VP5otc-HT6HAf J-J5-Ji"] div[class^="J-Zh-I J-J5-Ji J-Pm-I L3"] 
{ 
  position: relative !important;
  top: -1px !important;
  height: 20px !important;
  line-height: 20px !important;
  margin-bottom: -9px !important;
}
input[class='J-Pm-Jo']
{
  position: relative !important;
  top: -1px !important;
}

/* Manipulates "Move to" and "Labels" */
div[class="VP5otc-HT6HAf J-J5-Ji"] div[class^="J-Zh-I J-J5-Ji J-Zh-I-Js-Zq L3"]
{ 
  position: relative !important;
  top: -2px !important;
  height: 19px !important;
  line-height: 20px !important;
}
div[class="VP5otc-HT6HAf J-J5-Ji"] div[class^="J-Zh-I J-J5-Ji J-Zh-I-Js-Zj L3"] 
{ 
  position: relative !important;
  top: -2px !important;
  height: 19px !important;
  line-height: 20px !important;
}
div[class="VP5otc-HT6HAf J-J5-Ji"] div[class^="J-Zh-I J-J5-Ji L3"]
{ 
  position: relative !important;
  top: -2px !important;
  height: 19px !important;
  line-height: 20px !important;
}

/* Manipulates "More actions" button */
/* --- Text --- */
div[class="VP5otc-HT6HAf J-J5-Ji"] div[class^="J-Zh-I J-J5-Ji L3"]:first-child
{ 
  position: relative !important;
  top: -2px !important;
  height: 19px !important;
  line-height: 20px !important;
  color: #DEADDD !important;
}
/* --- Drop down arrow --- */
div.VP5otc-d2fWKd
{ 
  position: relative !important;
  top: 0px !important;
}
/* --- Changes position of dropdown menu --- */
div[class='J-M AW']
{ 
  margin-top: 1.5px !important;
  margin-left: 2px !important; 
}
/* --- Changes colors and positions of dropdown selections (rows) --- */
div[class='J-M AW'] table[class='cf'] tbody tr td[class='AX'] div { line-height: 15px !important; }
div[class='J-M AW'] table[class='cf'] tbody tr td[class='AX'] div:hover
{ 
  background: grey !important;
  line-height: 15px !important; 
}

/* Changes text color of "Mark as read" button */
div[act='1'] 
{ 
  position: relative !important;
  top: -2px !important;
  height: 19px !important;
  line-height: 20px !important;
  color: #FFCB3F !important; 
}
div[act='1']:hover { color: #FFCB3F !important; }

/* Changes text color of "Delete" button */
div[act='10'] 
{
  position: relative !important;
  top: -2px !important;
  height: 19px !important;
  line-height: 20px !important;
  color: #FF6161 !important; 
}
div[act='10']:hover { color: #FF6161 !important; }

/* Changes text color of "Discard drafts" button */
div[act='16'] 
{ 
  position: relative !important;
  top: -2px !important;
  height: 19px !important;
  line-height: 20px !important;
  color: #FF6161 !important; 
}
div[act='16']:hover { color: #FF6161 !important; }

/* Changes "Not spam" button */
/* --- text color --- */
div[act='18'] 
{ 
  position: relative !important;
  top: -2px !important;
  height: 19px !important;
  line-height: 20px !important;
  color: #3BEF75 !important; 
  -moz-border-radius-topleft: 4px !important;
  -moz-border-radius-bottomleft: 4px !important;
}
div[act='18']:hover { color: #3BEF75 !important; }

/* Changes "Report spam" button */
div[act='9'] 
{ 
  position: relative !important;
  top: -2px !important;
  height: 19px !important;
  line-height: 20px !important;
  color: #3BEF75 !important;
  -moz-border-radius-topleft: 4px !important; 
  -moz-border-radius-bottomleft: 4px !important;
}
div[act='9']:hover  { color: #3BEF75 !important; }

/* Removes buttons */
/* --- Move to & Labels --- */
div[class='J-K-I J-J5-Ji J-K-I-Js-KK ipG21e'] { display: none !important; }
div[class='J-K-I J-J5-Ji J-K-I-Js-Kc ipG21e'] { display: none !important; }
div:first-child+div[class='J-K-I J-J5-Ji ipG21e'] { display: none !important; }

/* --- Archive --- */
div[act='7'] { display: none !important; }
/* --- Move to Inbox --- */
div[act='8'] { display: none !important; }
/* --- Delete forever --- */
div[act='17'] { display: none !important; }
/* --- Refresh --- */
div[act='20'] 
{ 
  position: absolute !important; 
  top: -20px !important;
  right: -75px !important;
  height: 19px !important;
  line-height: 18px !important;
  color: #9FEFFF !important;
}
/* --- Back to Search Results --- */
div[class='nH g id'] div:first-child[class='nH'] div[class^='iI D'] div:first-child[class='iH'] div div:first-child[class='AO'] { width: 5px !important; }
/* --- Back to --- */
div[class='nH g'] div:first-child[class='nH'] div[class^='iI D'] div:first-child[class='iH'] div div:first-child[class='AO'] { display: none !important; }
/* --- Back to Inbox --- */
div[act='19'] { display: none !important; }
/* --- Don't know --- */
div[class='nH q0CeU z'] div[class^='A1 D'] div[class='nH'] div[class^='nH'] div div div:first-child+div[class='eeCDlc goog-inline-block'] { display: none !important; }
div[class='iI D ieCXse'] div[class='iH'] div div:first-child+div+div[class='eeCDlc goog-inline-block'] { display: none !important; }
div[class='iE D ieCXse'] div[class='iH'] div div:first-child+div+div[class='eeCDlc goog-inline-block'] { display: none !important; }
div[class='nH q0CeU B'] div[class^='A1 D'] div[class='nH'] div[class^='nH'] div div div:first-child+div+div[class='eeCDlc goog-inline-block'] { display: none !important; }
div[class='nH q0CeU C'] div[class^='A1 D'] div[class='nH'] div[class^='nH'] div div div:first-child+div[class='eeCDlc goog-inline-block'] { display: none !important; }

/* Removes bottom toolbars */
div[class^='VP5otc-U4m8q D E'] { display: none !important; }
div[class=' iE D E'] { display: none !important; }

/* Remove portions of footer, keeps storage info */
div[class='nH l2 ov'] div:first-child[class='nH'] { display: none !important; }
div[class='nH l2 ov'] div:first-child+div+div[class='nH'] { display: none !important; }
div[class='nH l2 ov'] div:first-child+div+div+div+div[class='nH'] { display: none !important; }
div[class='nH l2 ov'] div:first-child+div+div+div+div+div[class='nH'] { display: none !important; }
div[class='nH l2 ov'] div:first-child+div+div+div+div+div+div[class='nH'] { display: none !important; }
div[class='nH l2 ov'] div:first-child+div+div+div[class='nH'] div[class='md'] { margin-top: -25px !important; }


/* ----- */
/* Inbox */
/* ----- */

/* Repositions "The conversation has been marked..." bubble */
div[class='b8 UC'] div[class='J-J5-Ji']
{ 
  position: relative !important;
  top: 27px !important;
  left: 67px !important;
  border: solid 1px black !important;
}

/* --- Removes Starred and Unstarred from bar --- */
td[class='cnYuxb xY'] img { display: none !important; }
span[selector='starred'] { display: none !important; }
span[selector='unstarred'] { display: none !important; }

/* Changes height of email list and makes it scrollable */
div[class='Cp nH oy8Mbf']
{
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  top: -5px !important;
  left: -4px !important;
  height: 709px !important;
  margin-right: -4px !important;
}
div[class='nH q0CeU z'] div[class='pi'] { display: none !important; }

/* Removes star system */
/* --- Removes stars --- */
td[class^='y4'] img { display: none !important; }
img[class='f g9'] { display: none !important; }
span[class='lHQn1d'] img[class=' f g9 '] { display: none !important; }
/* --- Adjusts checkboxs --- */
input[class='oZ-jc']
{ 
  position: relative !important;
  left: -1px !important;
  top: 0px !important;
}
/* --- Adjusts attachment icons --- */
td[class='yf xY '] img[class='yE'] 
{ 
  position: absolute !important;
  margin-top: -8px !important;
  left: 31px !important; 
}
/* --- Adjusts names --- */
div[class='yW'] 
{ 
  position: absolute !important;
  left: 52px !important;
  margin-top: -7px !important;
  z-index: 103 !important;
  margin-right: 200px !important;
}
/* --- Adjusts titles --- */
/* --- Times/Dates --- */
td[class='xW xY'] span { margin-right: -6px !important; }

/* Removes labels from email list rows */
div[class='ar as'] { display: none !important; }
div[class='as'] { display: none !important; }


/* ------------- */
/* Conversations */
/* ------------- */

/* Makes conversations scrollable - Can't get this to work anymore. */
/*
div[class^='nH if']
{
  overflow-y: scroll !important; 
  overflow-x: hidden !important;
}
div[class^='G3 G2'] div[class='HprMsc']
{
  height: 700px !important; 
}
*/

/* Shifts pane and pane background ---> To change this background in other places it appears, search for url(http://www.globexdesigns.com/gmail/img/email/bg.gif) in Redesigned code to find elements */
/* --- Regular --- */
div[class='nH q0CeU z'] div[class^='nH g']
{
  position: relative !important;
  top: -4px !important;
  left: -4px !important;
  margin-right: -3px !important;
}
div[class='nH q0CeU z'] table[class='Bs nH iY'] { background-position: 0px -6px !important; }
/* --- Search --- */
div[class='nH q0CeU B'] div[class^='nH g']
{
  position: relative !important;
  margin-top: -5px !important;
  left: -1px !important;
  margin-right: -3px !important;
}
div[class='nH q0CeU B'] table[class='Bs nH iY'] { background-position: 0px -6px !important; }









/* Removes "Results of search for:" */
div:first-child[class='xK'] div div:first-child[class='AQ'] div[class='yS'] { display: none !important; }

/* Removes Inbox button */
table[class='cf hX'] { display: none !important; }
div[class='iE D ieCXse'] div[class='iH'] div div:first-child[class='AO'] { display: none !important; }

/* Repositions "Print all", "New window", "Collapse all", and "Turn off highlighting (sometimes)" buttons */
/* --- New window --- */
div:first-child+div[class='nH'] div[class='nH'] div:first-child[class='nH'] div[class='hj'] div:first-child[class='hk']
{ 
  position: relative !important;  
  top: -79px !important;
  right: -117px !important; 
  width: 109px !important;
  z-index: 102 !important;
  -moz-border-radius: 4px !important;
}
/* --- Print all --- */
div:first-child+div[class='nH'] div[class='nH'] div:first-child[class='nH'] div[class='hj'] div:first-child+div[class='hk']
{ 
  position: relative !important;  
  top: -108px !important;
  right: -33px !important;
  height: 15px !important; 
  width: 83px !important;
  z-index: 103 !important;
  -moz-border-radius: 4px !important;
}
/* --- Expand/Collapse all --- */
div:first-child+div[class='nH'] div[class='nH'] div:first-child[class='nH'] div[class='hj'] div:first-child+div+div[class='hk']
{ 
  position: relative !important;  
  top: -130px !important;
  right: 64px !important; 
  width: 96px !important;
  z-index: 102 !important;
  -moz-border-radius: 4px !important;
}
div:first-child+div[class='nH'] div[class='nH'] div:first-child[class='nH'] div[class='hj'] div:first-child+div+div+div[class='hk']
{ 
  position: relative !important;  
  top: -125px !important;
  right: 82px !important; 
  width: 90px !important;
  z-index: 102 !important;
  -moz-border-radius: 4px !important;
}
/* --- Turn off highlighting --- */
html.cQ body.cP div div.nH div.nH div.nH div.no div.nH div.nH div.nH div.nH div.l div.l div.k div.diLZtc div.nH div.nH div.nH div.nH div.nH table.Bs tr td.Bu div.nH div.nH div.nH div.hj div:first-child+div+div+div+div+div+div[class='hk']
{ 
  position: relative !important;  
  top: -182px !important;
  right: -71px !important;
  width: 155px !important; 
  z-index: 103 !important;
  -moz-border-radius: 4px !important;
}
u[class='iW'] { background: #FEFF9F !important; }
/* --- Forward all --- */
div:first-child+div[class='nH'] div[class='nH'] div:first-child[class='nH'] div[class='hj'] div:first-child+div+div+div+div[class='hk'] { display: none !important; }

/* Removes "About these links" */
span[class='u7'] { display: none !important; }

/* Repositions/restyles "Would you like to...", "Add to calendar", "Map this" boxes */
/* --- Removes excess border --- */
div[class='fO'] { border: solid 0px #b0b0b0 !important; }
/* --- Moves box --- */
div:first-child+div[class='nH'] div[class='nH'] div:first-child+div[class='nH'] div[class='u5']
{
  position: fixed !important;
  top: 152px !important;
  right: 10px !important;
  -moz-border-radius: 5px !important;
}
div:first-child+div[class='nH'] div[class='nH'] div:first-child+div[class='nH'] div[class='u6']
{
  position: absolute !important;
  border: none !important;
  top: 65px !important;
  left: 10px !important;
}
/* --- Change position of title bar text --- */
div[class='vb'] div[class='fP'] div[class='u9'] { text-indent: 0px !important; }
/* --- Moves image content --- */
div[class='vb'] img[class^='fQ']
{
  display: block !important;
  position: relative !important;
  top: 0px !important;
  left: 0px !important;
}
/* --- Moves text content --- */
div[class='vb'] div[class='fP'] div[class='fW']
{
  position: relative !important;
}

div[class='fW'] a[class='u6']
{
  position: relative !important;
  top: -1px !important;
  left: 0px !important;
}
/* --- Removes "About these links" --- */
div:first-child+div[class='nH'] div[class='nH'] div:first-child+div+div[class='nH u8'] span[class='u7'] { display: none !important; }

/* Repositions email list */
div:first-child+div[class='nH if'] div:first-child+div[class='nH'] div[class^='nH hx']
{
  position: relative !important;
  top: -6px !important;
}

/* Repositions subject title */
span[class=hP] 
{ 
  margin-left: 4px !important; 
  white-space: nowrap !important;
  width: 100px !important; 
}

/* Removes stars and circles with x's in them from email title bar */
img[id='upi'] { visibility: hidden !important; }
span:first-child[class='lHQn1d'] img[class='f g8'] { visibility: hidden !important; }
div[class='iw'] span:first-child+span[class='ik'] img[id='upi'] { visibility: hidden !important; }
img[class=' f g8 '] { display: none !important; }

/* Repositions names in title bar */
/* --- Collapsed messages --- */
div[class='FL1GFc'] div:first-child+div[class='gs gt'] div[class='gE hI'] span 
{ 
  position: relative !important;
  top: 3px !important;
  margin-left: -1px !important; 
}
td[class='gF gK'] table[class='cf iB']
{ 
  position: relative !important;
  top: 3px !important;
}
/* --- Expanded emails --- */
h3[class='gD'] span 
{ 
  position: relative !important;
  top: 1px !important;
  margin-left: -3px !important; 
}
div[class='iw'] span[class='hb']
{ 
  position: relative !important;
  top: 1px !important;
}

/* Repositions "show details" button */
div[class='HprMsc'] span[class='iD']
{
  position: relative !important;
  top: -1px !important;
  height: 16px !important;
  margin-bottom: -1px !important;
}

/* Changes position and colors of Reply dropdown menu */
/*
html.cQ body.cP div div.nH div.nH div.nH div.no div.nH div.nH div.nH div.nH div.l div.l div.k div.diLZtc div.nH div.nH div.nH div.nH div.nH table.Bs tr td.Bu div.nH div.nH div.nH div.nH div.nH:first-child+div div.h7 div.Bk div.G3 div.G0
{ 
  position: relative !important;
  top: 1px !important;
}
html.cQ body.cP div div.nH div.nH div.nH div.no div.nH div.nH div.nH div.nH div.l div.l div.k div.diLZtc div.nH div.nH div.nH div.nH div.nH table.Bs tr td.Bu div.nH div.nH div.nH div.nH div.nH:first-child+div+div+div div.h7 div.Bk div.G3 div.G0
{ 
  position: relative !important;
  top: 1px !important;
}
html.cQ body.cP div div.nH div.nH div.nH div.no div.nH div.nH div.nH div.nH div.l div.l div.k div.diLZtc div.nH div.nH div.nH div.nH div.nH table.Bs tr td.Bu div.nH div.nH div.nH div.nH div.nH:first-child+div+div+div+div+div+div+div div.h7 div.Bk div.G3 div.G0
{ 
  position: relative !important;
  top: 1px !important;
}
html.cQ body.cP div div.nH div.nH div.nH div.no div.nH div.nH div.nH div.nH div.l div.l div.k div.diLZtc div.nH div.nH div.nH div.nH div.nH table.Bs tr td.Bu div.nH div.nH div.nH div.nH div.nH:first-child+div+div+div+div+div+div+div+div+div+div div.h7 div.Bk div.G3 div.G0
{ 
  position: relative !important;
  top: 1px !important;
}
*/
/* Repositions conversation text boxes */
div[class='ii gt']
{
  position: relative !important;
  top: 0px !important;
  left: 0px !important;
  width: 914px !important;
}

/* Remove recommendation to invite receiptient to Gmail */
span[id='link_invite'] { display: none !important; }

/* Adjustments for Boomerang button */
div[id='boomerang-button']
{
  position: relative !important;
  top: -5px !important;
}
div[id='boomerang-button'] div[class='J-Zh-I J-J5-Ji L3'] 
{ 
  height: 19px !important;
  line-height: 20px !important;
  color: #FFB900 !important;
}
div[id='boomerang-button'] div[class='J-Zh-I J-J5-Ji L3'] img[class='f'] { display: none !important; }
div[id='send-later-button'] div[class='J-Zh-I J-J5-Ji L3'] 
{ 
  height: 11px !important; 
  line-height: 12px !important;
}
div[id='send-later-button'] div[class='J-Zh-I J-J5-Ji L3'] img { display: none !important; }


/* ------- */
/* Compose */
/* ------- */

/* Shifts background */
/* --- Primary pane --- */
.x 
{ 
  background-position: 0px -6px !important; 
  position: relative !important; 
  top: 1px !important;
  left: -4px !important;
  margin-right: -3px !important; 

}
/* --- Replies/forwards --- */
div[class='ip W7FZuc'] 
{ 
  background-position: 0px -6px !important; 
  border: solid 1px #B5B5B5 !important;
}

/* External link pane */
body[class='cP xE'] { background-position: 0px -6px !important; }

/* Maintains color of Send, Saved, Discard button text */
div[class='dX goog-container'] div[act='undefined'] .goog-imageless-button-content { color: black !important; }

/* Changes width of "Send" button */
div[class='nH'] div[class='dX goog-container'] div[act='undefined']:first-child .goog-imageless-button-content 
{ 
  width: 60px !important; 
  text-indent: -1.5px !important;
  color: black !important; 
}

/* Changes height and font of From: box */
/* --- Main compose --- */
select[class='Br']
{ 
  height: 21px !important;
  font-family: "Segoe UI" !important; 
  text-indent: -1.9px !important;
  background: url(http://img148.imageshack.us/img148/8669/select.png) !important;
}
/* --- Reply compose --- */
table:first-child tr:first-child td:first-child[class='eD']
{
  position: relative !important;
  line-height: 17px !important;
}
span[class='ef'] 
{
  position: relative !important;
  margin-left: 7px !important;
  font-size: 12px !important;  
  font-family: "Segoe UI" !important; 
}

/* Changes height and font of To: box */
td:first-child+td[class='eC'] textarea 
{ 
  height: 15px !important; 
  font-size: 12px !important;  
  font-family: "Segoe UI" !important; 
  padding-top: 1px !important;
  padding-bottom: 2px !important;
}

/* Changes height and font of Subject: box */
td[class='eC']:last-child input
{ 
  height: 15px !important; 
  font-size: 12px !important;  
  font-family: "Segoe UI" !important; 
  background: url(http://img148.imageshack.us/img148/8669/select.png) !important;
  padding-bottom: 2px !important;
}

/* Prevents extra scrollbar from appearing due to message height */
iframe[class='Am Al editable'] { height: 486px !important; }

/* Removes bottom buttons */
div[class='CoUvaf'] div[class='dW'] { display: none !important; }


/* ------ */
/* Drafts */
/* ------ */

/* Removes gray block at bottom of page */
div[class='nH q0CeU z'] div[class='nH'] div:first-child+div[class='l m'] div[class='l n'] div[class='k'] div[class='diLZtc'] div[class='nH'] div:first-child+div[class='nH'] div:first-child+div+div[class='nH'] div[class='nH'] div:first-child+div+div+div+div[class='nH'] table[class='cf zq'] tbody tr[class='zs'] { display: none !important; }
div:first-child[class='no'] div:first-child+div+div[class='nH nn'] div:first-child[class='nH'] div[class='nH q0CeU z'] div:first-child+div[class='nH if'] div:first-child+div[class='iz'] div:first-child+div[class='l m'] 
{
  position: relative !important;
  top: 8px !important;
  left: 20px !important;
  margin-bottom: 6px !important;
}


/* -------------- */
/* Spam and Trash */
/* -------------- */

/* Move pane up */
div[class='nH q0CeU C'] div[class='diLZtc']
{
  position: relative !important;
  top: -5px !important;
  margin-right: -0px !important;
}

/* Move black bar at top of email list */
div[class='nH'] div[class='nH'] div[class='ya']
{
  position: relative !important;
  top: -5px !important;
  left: -4px !important;
  margin-right: -3px !important;
}


/* ------ */
/* Search */
/* ------ */

/* Move panes */
div[class='nH q0CeU B'] div[class='diLZtc']
{
  position: relative !important;
  top: -5px !important;
}
div[class='nH q0CeU B'] div[class^='nH g']
{
  position: relative !important;
  top: 2px !important;
}
div[class='nH q0CeU B'] div[class^='nH g'] table[class='Bs nH iY']
{ 
  background-position: 0px -6px !important; 
  margin-top: 5px !important;
  left: -3px !important;
}

/* Adjustments for Boomerang button */
div[class='nH q0CeU B'] div[id='boomerang-button'] div[class='J-Zh-I J-J5-Ji L3'] 
{ 
  position: relative !important;
  top: 4px !important;
}

/* Makes highlighted search terms more vibrant */
span[class='il'] { background: #FEFF8F !important; }

/* Removes "Search results for:" */
div[class='VP5otc-pzeoBf D E'] div[class='yS'] { display: none !important; }

}

