/* Change font everywhere */
* {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 99.1%;
	letter-spacing: normal;
}

/* Email subject colour */
.zA {
	color: #040404;
}

/* Header bar */
header {
	box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
}

/* Sidebar: hide the label email counters */
.bsU {
	display: none !important;
}

/* Sidebar: labels */
.TO .nU > .n0,
.ah9 > .CJ {
	color: #616161;
}

/* Sidebar: labels */
.TO .nU > .n0,
.TO.NQ .nU > .n0,
.TO.nZ .nU > .n0,
.ah9 > .CJ,
.n3 > .CL > .CK {
	text-shadow: none;
}

/* Emails */
.Cp {
	/*box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.24);*/
	margin: auto !important;
	max-width: 1200px;
	padding: 0 10px;
}

/* Set opened email width to same as email list */
.Bs.nH.iY.bAt {
	margin: 10px auto 10px auto !important;
	max-width: 1180px;
	padding: 0 10px;
}

/* Align toolbar with email width */
.aeH > .G-atb {
	margin: auto !important;
	max-width: 1180px;
}

@media only screen and (min-width: 1420px) {
	.aeH > .G-atb {
		padding-left: 0;
	}
}

.aeH {
	margin-right: 7vw;
}

/* Enforce background color behind emails */
.ar4 {
	background: #f2f2f2;
}

/* Attachment icon */
.yE {
	display: none !important;
}

/* Star email */
td.apU.xY {
	display: block;
	position: absolute;
	right: 0px;
}

/* Display star (pin) on hover */
.zA:hover td.apU.xY {
	display: block;
}

/* Not starred image */
td.apU.xY .T-KT::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/btw_ic_pin_black_24dp_2x.png') !important;
	background-size: 24px !important;
}

/* Starred menu item */
.aHS-bnw .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/btw_ic_pin_black_24dp_2x.png') !important;
	background-size: 24px !important;
}

/* Starred */
td.apU.xY .T-KT.xl::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/btw_ic_pin_black_24dp_2x.png') !important;
	background-size: 24px !important;
}

/* Starred - Yellow Star */
td.apU.xY .T-KT.T-KT-Jp::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic-mark-pinned-yellow-24dp-r4-2x.png') !important;
	background-size: 24px !important;
	opacity: 1;
}

/* Starred - Orange Star */
td.apU.xY .T-KT.xl::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic-mark-pinned-orange-24dp-r4-2x.png') !important;
	background-size: 24px !important;
}

/* Starred - Red Star */
td.apU.xY .T-KT.xn::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic-mark-pinned-red-24dp-r4-2x.png') !important;
	background-size: 24px !important;
}

/* Starred - Purple Star */
td.apU.xY .T-KT.xm::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic-mark-pinned-purple-24dp-r4-2x.png') !important;
	background-size: 24px !important;
}

/* Starred - Blue Star */
td.apU.xY .T-KT.xj::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic-mark-pinned-blue-24dp-r4-2x.png') !important;
	background-size: 24px !important;
}

/* Starred - Green Star */
td.apU.xY .T-KT.xk::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic-mark-pinned-green-24dp-r4-2x.png') !important;
	background-size: 24px !important;
}

/* Starred - Red Bang */
td.apU.xY .T-KT.xg::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	background-size: 1px !important;
}

/* Starred - Orange Guillimet */
td.apU.xY .T-KT.xe::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	background-size: 1px !important;
}

/* Starred - Yellow Bang */
td.apU.xY .T-KT.xh::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	background-size: 1px !important;
}

/* Starred - Green Check */
td.apU.xY .T-KT.xd::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	background-size: 1px !important;
}

/* Starred - Blue Info */
td.apU.xY .T-KT.xc::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	background-size: 1px !important;
}

/* Starred - Purple Question */
td.apU.xY .T-KT.xf::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	background-size: 1px !important;
}

@-moz-document url-prefix() {
	/* Not starred image */
	td.apU.xY .T-KT::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/btw_ic_pin_black_24dp_2x.png') !important;
	}
	/* Starred menu item */
	.aHS-bnw .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/btw_ic_pin_black_24dp_2x.png') !important;
	}
	/* Starred */
	td.apU.xY .T-KT.xl::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/btw_ic_pin_black_24dp_2x.png') !important;
	}
	/* Starred - Yellow Star */
	td.apU.xY .T-KT.T-KT-Jp::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic-mark-pinned-yellow-24dp-r4-2x.png') !important;
	}
	/* Starred - Orange Star */
	td.apU.xY .T-KT.xl::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic-mark-pinned-orange-24dp-r4-2x.png') !important;
	}
	/* Starred - Red Star */
	td.apU.xY .T-KT.xn::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic-mark-pinned-red-24dp-r4-2x.png') !important;
	}
	/* Starred - Purple Star */
	td.apU.xY .T-KT.xm::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic-mark-pinned-purple-24dp-r4-2x.png') !important;
	}
	/* Starred - Blue Star */
	td.apU.xY .T-KT.xj::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic-mark-pinned-blue-24dp-r4-2x.png') !important;
	}
	/* Starred - Green Star */
	td.apU.xY .T-KT.xk::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic-mark-pinned-green-24dp-r4-2x.png') !important;
	}
	/* Starred - Red Bang */
	td.apU.xY .T-KT.xg::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	}
	/* Starred - Orange Guillimet */
	td.apU.xY .T-KT.xe::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	}
	/* Starred - Yellow Bang */
	td.apU.xY .T-KT.xh::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	}
	/* Starred - Green Check */
	td.apU.xY .T-KT.xd::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	}
	/* Starred - Blue Info */
	td.apU.xY .T-KT.xc::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	}
	/* Starred - Purple Question */
	td.apU.xY .T-KT.xf::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/cleardot.gif') !important;
	}
}

/* Unread email */
.yO {
	background: #FFF !important;
}

/* Time */
.time {
	color: #666;
	font-size: 14px;
	padding-bottom: 10px;
	padding-top: 20px;
	padding-left: 20px;
}

/* Email */
.zA, .zA:hover {
	box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.24) !important;
	-webkit-box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.24) !important;
	z-index: inherit !important;
	padding-right: 24px;
	background: #FFF !important;
}

/* Inbox Email is Empty show Sun */
.ar4.z .TD > .TC {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic_zero_inbox_2x.png') !important;
	background-repeat: no-repeat;
	background-position: center;
	padding-top: 30px;
	height: 618px;
	width: 456px;
	background-color: #F2F2F2;
	color: transparent;
	font-size: 14px;
}
@-moz-document url-prefix() {
	.ar4.z .TD > .TC {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic_zero_inbox_2x.png') !important;
	}
}

/* Fix for weird white space */
.eb.TD {
	display: none;
}

/* Fix padding on search */
.BltHke.nH.oy8Mbf {
	margin-top: 10px;
}

/* Hide border at bottom of empty inbox background */
.cf.TB {
	border-bottom: none !important;
}

/*
**
**START OF LEFT MENU
**
*/

.aim {
	padding-left: 4px !important;
}

/* Menu item row */
.TK .TO {
	border-radius: 2px !important;
}

/* Menu item row, hover */
.TK .TO:hover {
	background-color: rgba(0,0,0,.05) !important;
	cursor: pointer;
}

/* Menu item row active */
.TK .TO:active,
.n6 .ah9.aiu:active
.CL:active,
.TO.nZ,
.TO.NQ,
.TO.ol {
	background-color: rgba(0,0,0,.05) !important;
}

/* Left sidebar collapsed */
.aeN.bhZ {
	transform: translateX(-80px) !important;
	transition: transform 0.2s ease;
}

/* Done icon (green checkmark) */
.byl > .TK:nth-of-type(2) > .aim:nth-of-type(3) .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic_done_clr_24dp_r4_2x.png') !important;
}

@-moz-document url-prefix() {
	/* Done icon (green checkmark) */
	.byl > .TK:nth-of-type(2) > .aim:nth-of-type(3) .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic_done_clr_24dp_r4_2x.png') !important;
	}
}

/* Compose email old place */
.z0 {
	margin: 0px !important;
	height: 10px !important;
}

/* Compose email boxes wrapper */
.nH.Hd {
	margin-right: 40px;
}

/* Hangout chat box wrapper */
.nH.aJl.nn {
	margin-right: 40px;
}

/* Menu container */
.aeN {
	width: 232px !important;
	max-width: unset !important;
	min-width: unset !important;
	left: 0;
}
.wT {
	margin-top: -20px;
	max-width: unset;
	min-width: unset;
	width: 224px;
	padding: 12px 8px 52px;
}

/* Menu item sections */
.TK {
	padding: 8px 0;
}

/* Menu item row inner */
.aim .TN {
	height: 40px;
}

/* Menu item row inner (when collapsed) */
.bhZ:not(.bym) .TN {
	padding: 0 4px !important;
}

/* Menu item link */
.TO .nU > .n0 {
	font-weight: normal;
}

/* Menu item link */
.TO .nU > .n0 {
	font-weight: normal;
}

.wT > .n3 .byl:first-child .aim:first-child .nZ {
	background-color: rgba(0,0,0,.05) !important;
}
.qj {
	width: 24px !important;
	height: 24px !important;
	opacity: 1 !important;
	margin-right: 24px !important;
	background-size: 24px !important;
}
.qj::before {
	content: none !important;
}
.qj::after {
	content: none !important;
}
/* Inbox */
.aHS-bnt .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/inbox_googblue_24dp.png') !important;
}
/* Dropdown arrow */
.aHS-bnt .afM {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/arrow_drop_down_black_20dp.png') !important;
}
/* Starred, Important, Chats */
.aHS-bnw .qr,
.aHS-bns .qr,
.aHS-aHP .qr {
	opacity: 0.6 !important;
}
/* Starred */
.aHS-bnw .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/grade_black_24dp.png') !important;
}
/* Important */
.aHS-bns .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/label_important_black_24dp.png') !important;
}
/* Chats */
.aHS-aHP .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/hangout_black_24dp.png') !important;
}
/* Snoozed */
.aHS-bu1 .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic_upcoming_clr_24dp_r5_2x.png') !important;
}
/* Sent */
.aHS-bnu .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic_sent_right_g60_24dp_r1_2x.png') !important;
}
/* Drafts */
.aHS-bnq .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic_draft_g60_24dp_r2_2x.png') !important;
}
/* Trash */
.aHS-bnx .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic_trash_g60_24dp_r2_2x.png') !important;
}
/* Category */
.aHS-bnr .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic_custom-cluster_24px_g60_r3_2x.png') !important;
	background-repeat: repeat-x;
	padding: 12px;
	width: 48px;
	border: 3px solid #F2F2F2;
  	box-sizing: border-box;
	border-radius: 30%;
}
/* Spam */
.aHS-bnv .qj {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/ic_spam_g60_24dp_r2_2x.png') !important;
}

@-moz-document url-prefix() {
	/* Inbox */
	.aHS-bnt .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/inbox_googblue_24dp.png') !important;
	}
	/* Dropdown arrow */
	.aHS-bnt .afM {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/arrow_drop_down_black_20dp.png') !important;
	}
	/* Starred */
	.aHS-bnw .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/grade_black_24dp.png') !important;
	}
	/* Important */
	.aHS-bns .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/label_important_black_24dp.png') !important;
	}
	/* Chats */
	.aHS-aHP .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/hangout_black_24dp.png') !important;
	}
	/* Snoozed */
	.aHS-bu1 .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic_upcoming_clr_24dp_r5_2x.png') !important;
	}
	/* Sent */
	.aHS-bnu .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic_sent_right_g60_24dp_r1_2x.png') !important;
	}
	/* Drafts */
	.aHS-bnq .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic_draft_g60_24dp_r2_2x.png') !important;
	}
	/* Trash */
	.aHS-bnx .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic_trash_g60_24dp_r2_2x.png') !important;
	}
	/* Category */
	.aHS-bnr .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic_custom-cluster_24px_g60_r3_2x.png') !important;
	}
	/* Spam */
	.aHS-bnv .qj {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/ic_spam_g60_24dp_r2_2x.png') !important;
	}
}

.TO.nZ .n0 {
	color: #212121 !important;
	outline: none;
}
.TO .n0 {
	color: #616161 !important;
	outline: none;
}

/* padding for inbox, starred, sent, drafts, snooze */
.TN.bzz.aHS-bnq,
.TN.bzz.aHS-bnu,
.TN.bzz.aHS-bnw,
.TN.bzz.aHS-bnt,
.TN.bzz.aHS-bu1 {
	padding-bottom: 5px;
	padding-top: 5px;
}

/* padding for inbox, stared, sent, drafts */
.aim {
	margin-left: -14px;
}

/* left menu border under trash */
.TN.bzz.aHS-bnx {
	padding-bottom: 5px;
	padding-top: 5px;
	border-bottom: 1px solid #DDDDDD;
}

/*
**
**END OF LEFT MENU
**
*/


/*
**
**START OF MAIN MENU, SEARCH BAR AND EMAIL AREA
**
*/

/* main top bar including shadow*/
.gb_xd.gb_4d.gb_Fd {
	height: 56px;
	box-shadow: 0px 5px 4px #c6c6c6;
}

/* search icon */
button.gb_ff.gb_gf  {
	margin-top: -3px;
	margin-left: 0px;
}

/* main search window */
.gb_oc.gb_Od.gb_Xd.gb_Td {
	margin-left: 10px;
}

/* search mail text */
 input.gb_3e {
	margin-top: -5px;
	margin-left: 20px;
}

/* Google Apps icon & Google Account icon */
.gb_w.gb_Xc.gb_f.gb_Af, .gb_Ea.gb_Xc.gb_qg.gb_f.gb_Af {
	margin-top: -7px;
}

/* search bar */
.gb_mf.gb_gf {
	margin-top: 0px;
	margin-left: 30px;
	height: 36px;
}

/* colapsed main menu */
.no {
	background-color: #F2F2F2;
}


/* main email area */
.Cp {
	margin-top: 2px !important;
}

/*
**
**END OF MAIN MENU, SEARCH BAR AND EMAIL AREA
**
*/

/* Inbox tabs align center */
.aAA {
	max-width: 1200px !important;
}

.aKk>tbody, .aAA, .aRz.J-KU {
	justify-content: center !important;
}

.J-KU-Jg-K9.aAA > .aRz > .aAy {
	justify-content: center;
}

.aAy > .aKp {
	margin-left: 0;
}

/* behind emails */
.AO, .Tm.aeJ,

/* left sidebar */
.nH.oy8Mbf.nn.aeN,

/* right sidebar */
.brC-aT5-aOt-Jw,

/* Hangout bar */
.aj5 .J-KU, .aj5.J-KU-Jg,

/* toolbar */
.aeH,

/* Inbox tabs */
.aKh,

/* Empty inbox tab */
.aRs
{
	background: #F2F2F2 !important;
}

/* Border under toolbar */
.D.E.G-atb::before {
	box-shadow: none;
	-webkit-box-shadow: none;
}

/* top bar (old, new) */
.gb_Ld.gb_je.gb_Td, .nH.w-asV.aiw, .nH.nn {
	background-color: #898984;
}
.nH.w-asV.aiw[pageTitle="inbox"],
.nH.w-asV.aiw[pageTitle="inbox"] .nH.nn {
	background-color: #4285f4;
}
.nH.w-asV.aiw[pageTitle="snoozed"],
.nH.w-asV.aiw[pageTitle="snoozed"] .nH.nn {
	background-color: #ef6c00;
}
.nH.w-asV.aiw[pageTitle="archive"],
.nH.w-asV.aiw[pageTitle="archive"] .nH.nn {
	background-color: #0f9d58;
}

/* Fix background color for vertical split layout */
.UI .nH.nn,
.nH.bkK.nn,
.age {
	background-color: unset !important;
}

/* storage usage, terms of service, privacy, account activity */
.aeG {
	display: none;
}

/* Gmail icon (old, new) */
a[title="Gmail"] {
	width: 120px;
	overflow: hidden;
	text-decoration: none;
}
a[title="Gmail"] img {
	display: none;
}

/* Gmail text */
a[title="Gmail"]::after {
	content: 'Search';
	font-size: 20px;
	color: #FFF;
	position: relative;
	top: -2px;
	padding-left: 7px;
}

a[title="Gmail"][href="#inbox"]::after {
	content: 'Inbox';
}
a[title="Gmail"][href="#snoozed"]::after {
	content: 'Snoozed';
}
a[title="Gmail"][href="#archive"]::after {
	content: 'Done';
}
a[title="Gmail"][href="#starred"]::after {
	content: 'Starred';
}
a[title="Gmail"][href="#sent"]::after {
	content: 'Sent';
}
a[title="Gmail"][href="#drafts"]::after {
	content: 'Drafts';
}
a[title="Gmail"][href="#imp"]::after {
	content: 'Important';
}
a[title="Gmail"][href="#chats"]::after {
	content: 'Chats';
}
a[title="Gmail"][href="#scheduled"]::after {
	content: 'Scheduled';
}
a[title="Gmail"][href="#all"]::after {
	content: 'All Mail';
}
a[title="Gmail"][href="#spam"]::after {
	content: 'Spam';
}
a[title="Gmail"][href="#trash"]::after {
	content: 'Trash';
}

/* Invisible inbox info with huge padding at bottom of email  */
.pfiaof {
	display: none;
}

/* Top bar icons */
header svg {
	color: #FFF !important;
	opacity: 1 !important;
}

/* Search bar (old, new) */
header form {
	background: rgba(255, 255, 255, 0.125) !important;
	max-width: 90% !important;
}

/* Search bar icon on active input (old, new) */
.gb_1e.gb_yf.gb_if button svg, .gb_2e.gb_zf.gb_jf button svg {
	color: #000 !important;
}
.gb_if {
	margin-top: -5px;
}

/* Search bar placeholder (old, new) */
header form input::placeholder {
	color: #FFF !important;
}

/* Search bar input */
header form input {
	color: white !important;
}

/* Add reminder button */
.add-reminder,
/* Floating compose button */
.floating-compose {
	user-select: none;
	position: fixed;
	z-index: 1000;
	border-radius: 50%;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);
	cursor: pointer;
}

.add-reminder:hover,
.floating-compose:hover {
	box-shadow: 0 1px 3px 0 rgba(60,64,67,0.302), 0 4px 8px 3px rgba(60,64,67,0.149);
}

/* Add reminder button */
.add-reminder {
	right: 48px;
	bottom: 90px;
	width: 40px;
	height: 40px;
	background: #4285f4;
}

/* Add reminder button image */
.add-reminder::before,
/* Compose button image */
.floating-compose::before {
	background-size: 24px !important;
	background-position: center;
	background-repeat: no-repeat;
	content: '';
	display: block;
}

/* Add reminder button image */
.add-reminder::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/btw_ic_speeddial_reminders_white_24dp_2x.png') !important;
	height: 40px;
	width: 40px;
}

/* Floating compose button */
.floating-compose {
	right: 40px;
	bottom: 20px;
	width: 56px;
	height: 56px;
	background: #d23f31;
}

/* Compose button image */
.floating-compose::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/btw_ic_speeddial_white_24dp_2x.png') !important;
	height: 56px;
	width: 56px;
}
.floating-compose:hover::before {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/btw_ic_speeddial_compose_white_24dp_2x.png') !important;
}

/* Hide old compose button */
.T-I.J-J5-Ji.T-I-KE.L3 {
	display: none;
}

/* Archive button (inbox email, opened email) */
.brq, .ar8 {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/btw_ic_done_black_24dp_2x.png') !important;
	background-size: 24px !important;
}

/* Snooze button (inbox email, opened email) */
.brv, .brW {
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/btw_ic_snooze_black_24dp_2x.png') !important;
	background-size: 24px !important;
}

@-moz-document url-prefix() {
	/* Add reminder button image */
	.add-reminder::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/btw_ic_speeddial_reminders_white_24dp_2x.png') !important
	}
	/* Compose email image */
	.floating-compose::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/btw_ic_speeddial_white_24dp_2x.png') !important;
	}
	.floating-compose:hover::before {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/btw_ic_speeddial_compose_white_24dp_2x.png') !important;
	}
	/* Archive button (inbox email, opened email) */
	.brq, .ar8 {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/btw_ic_done_black_24dp_2x.png') !important;
	}
	/* Snooze button (inbox email, opened email) */
	.brv, .brW {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/btw_ic_snooze_black_24dp_2x.png') !important;
	}
}

/* Action buttons on email row */
.bqX {
	margin: 0 10px !important;
}

/* Done button on email row */
.bqX.brq {
	order: 3;
	margin-right: 22px !important;
}

/* Delete button on email row */
.bqX.bru {
	order: 2;
}

/* Opened email */
.Bs.nH.iY.bAt {
	margin: 10px;
	box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.24) !important;
	width: calc(100% - 62px);
	background: #FFF;
}

/* Fixed border on email */
.Bu > .nH > .no {
	display: none;
}

/* Left toolbar when collapsed (this is done to fix hidden compose button when collapsed) */
.bhZ {
	position: relative !important;
	margin-right: -72px;
}

/* Attachments styling to look more like inbox */
.brd {
	margin-left: 0px !important;
}
.brc {
	border-radius: 2px !important;
	background-color: #f7f7f7;
	padding: 0 6px !important;
	color: #212121 !important;
	box-shadow: 0 0 1px rgba(0,0,0,.11), 0 1px 2px rgba(0,0,0,.22) !important;
}
.brc .brg {
	font-size: 13px !important;
}

/* --------------------------------------------- */
/* Hides the pin icon until the mouse is over it */
/* --------------------------------------------- */

/* Nudges the pin along and then moves the date/time over a bit */
.zA .apU.xY {
	margin-right: 2px;
}
.zA .xW.xY {
	margin-left: -32px;
	margin-right: 10px;
}

/* Handles the positioning of the quick action icons that appear when you mouse over an email row to make room for the pin */
.bqY {
	position: relative;
	left: -10px;
}

/* Hides the pin when not pinned, until the cursor is over it */
.zA .apU.xY .aXw {
	display: none;
}
.zA .apU.xY .T-KT-JW {
	display: flex;
}
.aqw .apU.xY .aXw {
	display: flex;
}

/* --------------------------------------------- */
/* Inbox and top toolbar layout	    						 */
/* --------------------------------------------- */

/* Inbox: message list layout */
.nH .AO .aeF {
	min-width: 512px;
	margin-right: 7vw;
	width: auto;
}

/* Inbox: starred heading space */
.Cp {
	margin: 0 5px;
}

/* Inbox: hide the starred heading */
.nH.Wg.aAD.aAr {
	display: none;
}

/* Inbox: hide the everything else heading */
.nH.Wg.aAr {
	display: none;
}

/* Inbox: date groupings */
.time {
	font-size: 13px;
	padding-top: 13px;
}

/* Inbox: email rows */
.zA {
	padding: 13px 12px 13px 10px !important;
}

/* Email selected with keyboard shortcut (remove left padding so blue bar is still right against the left edge) */
.zA.btb {
	padding-left: 5px !important;
}
.zA.btb .PF.xY.PE {
	margin-right: 10px;
}

/* Inbox: email row contents */
.zA * {
	font-size: 13px;
}

/* Moves the selection indicator to the left */
.PF.xY.PE {
	margin-left: -5px;
	margin-right: 5px;
}

/* Hides the checkbox when not checked */
.show-avatar-enabled .zA .oZ-x3.xY .T-Jo {
	display: none;
}

.zA .oZ-jc.T-Jo.J-J5-Ji {
	margin-left: -4px;
}

/* hide the drag icon next to checkbox */
.aqw>td.oZ-x3:before {
	display: none;
}

/* Unhides the checkbox when checked */
.zA.aqw .oZ-x3.xY .T-Jo {
	display: inline;
}
.aqw .yX.xY div:nth-child(n+3)>img {
	display: none;
}
.x7 .yX.xY div:nth-child(n+3)>img {
	display: none;
}
.zA.x7 .oZ-x3.xY .T-Jo {
	display: inline;
}

/* */
/* Rearranges the menu at the top and moves it all to the right corner */
/* */

/* the bar that the menu items typically rest on */
.G-atb {
	height: 48px;
}

/* shifts the inbox down */
.aeF {
	margin-top: -8px;
}

.nH.aqK {
	padding-top: 0px;
}

.Cq.aqL {
	margin-left: auto;
	margin-right: -24px;
}

.Cr.aqJ {
	margin-left: 0px;
	margin-right: 0px;
}

/* Snoozed notification styling */
.cL {
	font-weight: normal !important;
	font-size: 13px;
	margin-left: 0px !important;
}

/* --------------------------------------------- */
/* Calendar event as attachment                  */
/* --------------------------------------------- */

.calendar-attachment {
	height: 80px !important;
	width: 400px !important;
}

.calendar-attachment .brc {
	height: 80px;
	width: 400px;
	max-width: 400px !important;
	padding-left: 0 !important;
}

.calendar-attachment .brg {
	display: flex;
	flex-direction: column;
	max-width: 250px;
	overflow: visible;
}

.calendar-attachment .event-title, .calendar-attachment .event-time {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.calendar-attachment .event-title {
	font-weight: normal;
}
.calendar-attachment .event-time {
	color: #757575;
}

.calendar-attachment .aKS {
	position: relative;
	top: 0;
	margin-top: 4px;
}

.calendar-attachment .aKS .aOd.T-I-awv {
	border-radius: 2px;
}

.calendar-image {
	height: 80px;
	width: 100px;
	background-position: center;
	background-image: url('chrome-extension://__MSG_@@extension_id__/images/calendar_event_attachment.png') !important;
	background-size: 200%;
	margin-right: 16px;
}
@-moz-document url-prefix() {
	.calendar-image {
		background-image: url('moz-extension://__MSG_@@extension_id__/images/calendar_event_attachment.png') !important;
	}
}

/* Remove gmail calendar icon */
.yf img.xL {
	display: none;
}

/* Labels inline in email list */
.ar {
	height: 22px !important;
	border-radius: 2px !important;
}

.ar .av {
	padding-top: 2px;
}

/* Name avatar */
.avatar {
	background: url('chrome-extension://__MSG_@@extension_id__/images/ic_reminder_blue_24dp_r2_2x.png');
	color: rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	font-size: 18px;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	position: relative;
	left: -6px;
	flex: 32px 0 0;
	width: 32px;
	height: 32px;
	text-align: center;
	line-height: 32px;
	background-size: 75% 75% !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}
@-moz-document url-prefix() {
	.avatar {
		background: url('moz-extension://__MSG_@@extension_id__/images/ic_reminder_blue_24dp_r2_2x.png');
	}
}

.zA:hover .avatar {
	display: none;
}

.zA > .oZ-x3 > div[aria-checked="true"] + .avatar {
	display: none;
}

/* Alignment of calendar icon */
.zA>.yf {
	padding-right: 32px !important;
}

/* Hide important indicator on reminders */
.reminder .WA.xY {
	visibility: hidden;
}

/* Right side Hangouts */
div[aria-label="Hangouts"][role="complementary"] {
	background-color: rgb(242, 242, 242) !important;
}

.nH.bkK.nn + .nH.nn {
	background-color: #e5e5e5 !important;
}

/* Subject padding in opened email */
.if > .byY, .iC .byY {
	padding: 20px 4px 8px 20px !important;
}

/* Subject padding in email list */
.zA > .yX {
	padding: 0 15px !important;
}

/* Align the checkbox with first letter avatar */
.zA .oZ-jc.T-Jo.J-J5-Ji {
	margin-left: 1px;
}

/* Hide the drag icon next to checkbox */
.aqw > td.oZ-x3:before {
	display: none;
}

/* Hide labels next to email subject */
.nH > .ha > .J-J5-Ji {
	display: none;
}

/* Hide buttons next to email subject */
.nH > .nH > .hj > .ade {
	display: none;
}

/* Hide full length email address */
.iw > .qu > .go {
	display: none;
}

/* Spacing on bottom of email list */
.BltHke.oy8Mbf {
	margin-bottom: 40px;
}

.bundle-image {
	margin-left: 13px;
}
.bundle-image img {
	width: 28px;
}

.bundle-wrapper .label-link {
	margin-left: 5px;
	font-size: 13px;
	margin-right: 32px;
}
.bundle-wrapper.contains-unread .label-link,
.bundle-wrapper .bundle-senders span.strong {
	font-weight: 700;
}
.bundle-wrapper:not(.contains-unread) .bundle-image img {
	opacity: 0.6;
}

.bundle-senders {
	color: #202124 !important;
}
/* Parent of .bundle-senders */
.label-link + .xW.xY {
	flex-grow: 1;
	overflow: hidden;
}

.bundle-wrapper .label-link .bundle-count {
	font-weight: 400;
	margin-left: 5px;
	color: gray;
}

/* Colored bundle titles for Inbox categories */
.zA.yO[bundleLabel="Updates"] .label-link > span:not(.bundle-count) {
	color: rgb(255, 104, 57);
}
.zA.yO[bundleLabel="Promotions"] .label-link > span:not(.bundle-count) {
	color: rgb(0, 188, 212);
}
.zA.yO[bundleLabel="Forums"] .label-link > span:not(.bundle-count) {
	color: rgb(63, 81, 181);
}
.zA.yO[bundleLabel="Social"] .label-link > span:not(.bundle-count) {
	color: rgb(219, 68, 55);
}
.zA.yO[bundleLabel="Travel"] .label-link > span:not(.bundle-count),
.zA.yO[bundleLabel="Trips"] .label-link > span:not(.bundle-count) {
	color: rgb(156, 39, 176);
}
.zA.yO[bundleLabel="Finance"] .label-link > span:not(.bundle-count) {
	color: rgb(103, 159, 56);
}
.zA.yO[bundleLabel="Orders"] .label-link > span:not(.bundle-count),
.zA.yO[bundleLabel="Purchases"] .label-link > span:not(.bundle-count) {
	color: rgb(121, 85, 72);
}

.bundled-email {
	display: none !important;
}

/* Bundle row settings */
.zA > span.oZ-x3 {
	order: 0;
}

.hide-important-markers {
	display: none !important;
}

/* Hide labels on emails when bundling is enabled */
body.email-bundling-enabled .bundled-email .yi,
body.email-bundling-enabled.bundle-page .nH.ar4.B .yi {
	display: none !important;
}

/* Override narrow width class */
.Zs .zA {
    -webkit-flex-wrap: nowrap !important;
	flex-wrap: nowrap !important;
}
.Zs .zA > .a4W {
	margin-left: unset !important;
}
.Zs .a4W .xT {
	flex-wrap: unset !important;
}
.Zs .yi {
	margin-left: 0 !important;
	max-width: unset !important;
}
.Zs .y2 {
	min-width: unset !important;
	-webkit-flex: 1 !important;
	flex: 1 !important;
}
.Zs .zA > .xW {
	-webkit-flex-basis: 1 !important;
	flex-basis: 1 !important;
	flex-grow: 400 !important;
	flex-basis: 0 !important;
}
.Zs .y6 {
	order: 1 !important;
}
.Zs .zA > .yX {
	flex: initial !important;
}
.Zs .zA > .xY {
	order: 1 !important;
}


/* Hide Compose and Reminder buttons from Gmail's Print view */
@media print {
	.add-reminder,
	.floating-compose {
		display: none;
	}
}
