/* ### Google Bar - Hide Gooogle Bar ### */

/* style for toggle*/
#gbarToggle {
    background-color: rgba(0,0,0,0);
    height: 10px !important;
    cursor: pointer !important;
}
#gbarToggle:hover {
    background-color: rgba(0,0,0,.15);
}
/* offset gbar */
#gbz,   /* content */
#gbx3 { /* background */
    top: 10px !important;
}
/* offset header */
#gbx1,  /* background */
#gbq,   /* left content */
#gbu {  /* right content*/
    top: 42px !important;
}
#gb[min-gbar="hidden"] #gbx1,
#gb[min-gbar="hidden"] #gbq,
#gb[min-gbar="hidden"] #gbu {
    top: 10px !important;
}
/* offset content */
#gb {
    height: 102px !important;
}
#gb[min-gbar="hidden"] {
    height: 72px !important;
}
.gscs_a > table { /* Search complete */
    top: 90px !important;
}
/* Hide gbar and background */
#gb[min-gbar="hidden"] #gbz,
#gb[min-gbar="hidden"] #gbx3 {
    display: none;
}
@media screen and (max-width: 1060px), screen and (max-height: 590px) {
    /* offset header */
    #gbx1,  /* background */
    #gbq,   /* left content */
    #gbu {  /* right content*/
        top: 35px !important;
    }
    /* offset content */
    #gb {
        height: 71px !important;
    }
    #gb[min-gbar="hidden"] {
        height: 47px !important;
    }
    .gscs_a > table { /* Search complete */
        top: 70px !important;
    }
}


/* ### Google Bar - Hide Background ### */

/* Hide background */
#gbx3 {
    background: -webkit-gradient(radial,100 36,0,100 -40,120,from(#fafafa),to(#f1f1f1)),#f1f1f1 !important;
    border-color: transparent !important;
}
/* change link color */
#gb #gbz .gbzt,  /* Link */
#gb #gbz .gbgt { /* More */
    color: #777 !important;
}
/* change current link color */
#gb #gbz .gbz0l .gbts {
    color: #222 !important;
}


/* ### Header - Hide email ### */

/* Hide email */
#gbvg > ol > :first-child {
    display: none;
}


/* ### Header - Hide G+ notifications ### */

/* Hide G+ counter */
#gbvg > ol > :nth-child(2) {
    display: none;
}


/* ### Header - Hide G+ "Share..." ### */

/* Hide share and divider */
#gbvg > ol > :nth-child(3) {
    display: none;
}


/* ### Header - Hide user photo ### */

/* Hide photo unless menu is open */
#gbvg > ol > :not(.gbto):nth-child(4),
#gbgsa { /* Hide Share pointer */
    display: none;
}


/* ### Header - Hide Header ### */

/* style for toggle*/
#gbarToggle {
    background-color: rgba(0,0,0,0);
    height: 10px !important;
    cursor: pointer !important;
}
#gbarToggle:hover {
    background-color: rgba(0,0,0,.15);
}
/* offset gbar */
#gbz,   /* content */
#gbx3 { /* background */
    top: 10px !important;
}
/* offset header */
#gbx1,  /* background */
#gbq,   /* left content */
#gbu {  /* right content*/
    top: 42px !important;
}
#gb[min-header="hidden"] #gbx1,
#gb[min-header="hidden"] #gbq,
#gb[min-header="hidden"] #gbu {
    top: 10px !important;
}
/* offset content */
#gb {
    height: 102px !important;
}
#gb[min-header="hidden"] {
    height: 30px !important;
}
.gscs_a > table { /* Search complete */
    top: 90px !important;
}
#gb[min-gbar="hidden"][min-header="hidden"] {
    display: none;
}
/* Hide header and background */
#gb[min-header="hidden"] #gbx1,  /* background */
#gb[min-header="hidden"] #gbq,   /* left content */
#gb[min-header="hidden"] #gbu {  /* right content*/
    display: none;
}
@media screen and (max-width: 1060px), screen and (max-height: 590px) {
    /* offset header */
    #gbx1,  /* background */
    #gbq,   /* left content */
    #gbu {  /* right content*/
        top: 36px !important;
    }
    /* offset content */
    #gb {
        height: 73px !important;
    }
    #gb[min-header="hidden"] {
        height: 24px !important;
    }
    .gscs_a > table { /* Search complete */
        top: 70px !important;
    }
}


/* ### Header - Hide Logo ### */

#gbq1 { /* logo */
    display: none;
}

@media screen and (max-width: 1250px), screen and (max-height: 640px) {
    #gbq2 { /* align search */
        margin-left: 28px !important;
    }
}

@media screen and (max-width: 1060px), screen and (max-height: 590px) {
    #gbq2 { /* align search */
        margin-left: 10px !important;
    }
}


/* ### Header - Hide Search ### */

/* Hide search */
#gbq2 {
    display: none !important;
}


/* ### Header - Hide Search Button ### */

/* Hide button */
#gbqfbw {
    display: none !important;
}


/* ### Header - Hide Checkbox Tools ### */

[gh="mtb"] .T-Pm {
    display: none;
}


/* ### Header - Show Checkbox Tools List ### */

/* Hide button */
[gh="mtb"] .T-Pm {
    display: none;
}
/* Show list */
[gh = "mtb"] .G-Ni + .J-M:not(.tdNZQb) {
    border: none;
    box-shadow: none;
    display: block !important;
    padding: 0;
    position: relative;
    margin: 10px 0 -3px 0;
}
[gh = "mtb"] .G-Ni + .J-M:not(.tdNZQb) .J-N {
    background: transparent;
    border: 0;
    float: left;
    padding: 0 5px;
}
[gh = "mtb"] .G-Ni + .J-M:not(.tdNZQb) .J-N:hover {
    text-decoration: underline;
}
/* Lower nav */
.aki {
    margin-bottom: 25px !important;
}
/* Raise Right side chat */
.akj {
    margin-top: 87px !important;
}
@media screen and (max-width: 1060px), screen and (max-height: 590px) {
    /* Raise Right side chat */
    .akj {
        margin-top: 67px !important;
    }
}


/* ### Toolbar - Hide Back ### */

[act="19"] {
    display: none !important;
}


/* ### Toolbar - Hide Archice ### */

/* hide button */
[act="7"] {
    display: none !important;
}


/* ### Toolbar - Hide Spam ### */

/* hide button */
[act="9"] {
    display: none !important;
}


/* ### Toolbar - Hide Delete ### */

/* hide button */
[act="10"] {
    display: none !important;
}
/* Set group margin */
[gh="mtb"] .G-Ni:nth-child(2) {
    border-radius: 2px;
    margin-right: 16px;
    overflow: hidden;
}


/* ### Toolbar - Hide Delete ### */

/* hide button */
[act="8"] {
    display: none !important;
}


/* ### Toolbar - Hide Refresh ### */

/* hide button */
[act="20"] {
    display: none !important;
}


/* ### Toolbar - Hide Move to ### */

/* hide button without hiding menu*/
[gh="mtb"] .ns {
    border-width: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    visibility: hidden;
    width: 0;
}
/* round corners of neighbor */
[gh="mtb"] .mw {
    border-radius: 2px;
}

/* ### Toolbar - Hide Labels ### */

/* hide button without hiding menu*/
[gh="mtb"] .mw {
    border-width: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    visibility: hidden;
    width: 0;
}
/* round corners of neighbor */
[gh="mtb"] .ns {
    border-radius: 2px;
}


/* ### Toolbar - Hide More ### */

/* hide button */
[gh="mtb"] .nf {
    display: none;
}


/* ### Toolbar - Force refresh button to show  ### */

/* Show refresh container */
[gh="mtb"] .G-Ni:nth-child(4) {
    display: inline-block !important;
}


/* ### Toolbar - Hide pages  ### */

/* hide page numners */
.amH {
    display: none !important;
}


/* ### Toolbar - Hide page navigation  ### */

/* Hide buttons */
.amD {
    display: none !important;
}


/* ### Toolbar - Hide preview pane segments  ### */

/* hide button segments */
.apF,
.apG {
    display: none !important;
}


/* ### Toolbar - Hide settings button  ### */

/* hide menu */
[gh="s"] {
    display: none !important;
}


/* ### Main - Hide row borders  ### */

.zA  td, /* rows */
.Wg {    /* headers */
    border-color: transparent !important;
}


/* ### Main - Highlight Read items  ### */

.yO {
    background-color: _min.rowsR !important;
}


/* ### Main - Highlight unRead items  ### */

.zE {
    background-color: _min.rowsU !important;
}


/* ### Main - Highlight unRead items  ### */

.zA[starred="true"] {
    background-color: _min.rowsS ;
}


/* ### Main - Highlight checked  ### */

.x7 {
    background-color: _min.chkd !important;
}


/* ### Main - Highlight selected  ### */

.zA:hover,
.zE:hover,
.zA[selected="true"],
.zE[selected="true"]{
    background-color: _min.rowsH !important;
}


/* ### Main - Hide unstarred stars ### */

/* Hide stars */
.T-KT {
    opacity: 0;
}
/* Show stars */
.zA:hover .T-KT,    /* row hover */
.PF.PE ~ td .T-KT,  /* row select */
.T-KT.T-KT-Jp {     /* starred */
    opacity: 1;
}


/* ### Main - Better attachement icons ### */

table img[title$="ods"], table img[title$="xls"], table img[title$="XLS"], table img[title$="xlsx"], table img[title$="XLSX"] { width: 0px !important; height: 0px !important; padding: 16px 0 0 16px !important; background-position: top left !important; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAzSURBVDjLYxBbnnoeiP+jYQYsYuj4/P///xlwKSTGgP/DyACy8WggjhqAbABluRFEUIIB5xoeIOjKcLkAAAAASUVORK5CYII=) !important; }
table img[title$="mp3"], table img[title$="MP3"], table img[title$="m4a"], table img[title$="M4A"], table img[title$="wma"], table img[title$="WMA"], table img[title$="aac"], table img[title$="AAC"], table img[title$="wav"], table img[title$="WAV"], table img[title$="flac"], table img[title$="FLAC"] { width: 0 !important; height: 0 !important; padding: 16px 0 0 16px !important; background-position: top left !important; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABxSURBVDjLY/j//z8DJRhCEAeagdgNWYCQAeFo/Ewg7gHiIiDmJGRAOFQxOrCFiifgMwCmuQeHy/yhcsrYDEDWjGwA3NlQGhQeCcgG9ODAMNADDQMUi0g1AJnvNiAG4PUCxYFItWikSkKiSlImLTNRggGh29zHlFouTQAAAABJRU5ErkJggg==) !important; }
table img[title$="odf"], table img[title$="odt"], table img[title$="txt"], table img[title$="doc"], table img[title$="DOC"], table img[title$="docx"], table img[title$="DOCX"] { width: 0 !important; height: 0 !important; padding: 16px 0 0 16px !important; background-position: top left !important;  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAzSURBVDjLY8ie9/88EP8nA5////8/AwOZmsGYJgYwEIFHXTAyXUDflEiWAZTlRhBBCQYAgc/cUg2HY7YAAAAASUVORK5CYII=) !important; }
table img[title$="html"], table img[title$="HTML"], table img[title$="js"], table img[title$="xml"] { width: 0 !important; height: 0 !important; padding: 16px 0 0 16px !important; background-position: top left !important;  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAA4SURBVDiNY6jMe3ceiP+Tgc////+fgYFMzWCMbgADCZg2BtDcC/8JuWDUgGFhANkJibLcCCIowQBFYHK8tWrQGAAAAABJRU5ErkJggg==) !important; }
table img[title$="js"], table img[title$="py"], table img[title$="java"], table img[title$="class"] { width: 0 !important; height: 0 !important; padding: 16px 0 0 16px !important; background-position: top left !important;  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAB+SURBVDjLY2DAATzbngsAcQOIxqXm////eDWfB+L/UFqAaAOQNIOwAhJbgKABaJoFcIlhNQCfQlxycANwKYB5A5casAEEbAYF4nsgDsBmCMwAWGgTwv3ohpBqwHxcBsAE9uPxQgJOLxARiAZ4A5Eq0UiVhESVpEyVzERqdgYAL9pZyhSoofsAAAAASUVORK5CYII=) !important; }
table img[title$="jar"], table img[title$="db"], table img[title$="apk"], table img[title$="zip"], table img[title$="ZIP"], table img[title$="rar"], table img[title$="RAR"], table img[title$="tgz"], table img[title$="TGZ"], table img[title$="tar"], table img[title$="TAR"] { width: 0 !important; height: 0 !important; padding: 16px 0 0 16px !important; background-position: top left !important;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABDSURBVDjLY/j//z8DJZhh8BkABD24MN0MwAlGkBeKcLigiFgDOLEYAuJzkuIFISBuhmoG0VKkeAEGpJA1E23A0MtMANu+Q/DWtwsZAAAAAElFTkSuQmCC) !important; }
table img[title$="pdf"], table img[title$="PDF"] { width: 0 !important; height: 0 !important; padding: 16px 0 0 16px !important; background-position: top left !important; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACaSURBVDjLY/j//z8DJZjht48+NjwfiN8DsQEOeYIGnIdiB3INuA/E/ykxYD3UAAZyDWiAhgEDpS4IIMcABajm9dCwECDVgAaoRuTYECDWAAGo3xOg7ACoa0Bi+5FwAS4DGpCcD9M0Hylh3Ye66D82A2Ah34AnBTpAXReAbIAAzFSozQzEYGQDYAH1HleIEzLgP6GMg9cASrMzAFbJ+7pbxYEnAAAAAElFTkSuQmCC) !important; }
table img[title$="psd"], table img[title$="odg"], td.yf img[title$="tif"], td.yf img[title$="tiff"], td.yf img[title$="jpeg"], td.yf img[title$="JPEG"], td.yf img[title$="TIF"], td.yf img[title$="TIFF"], td.yf img[title$="bmp"], td.yf img[title$="jpg"], td.yf img[title$="gif"], td.yf img[title$="png"], td.yf img[title$="BMP"], td.yf img[title$="JPG"], td.yf img[title$="GIF"], td.yf img[title$="PNG"], td.gH img[title$="tif"], td.gH img[title$="tiff"], td.gH img[title$="jpeg"], td.gH img[title$="JPEG"], td.gH img[title$="TIF"], td.gH img[title$="TIFF"], td.gH img[title$="bmp"], td.gH img[title$="jpg"], td.gH img[title$="gif"], td.gH img[title$="png"], td.gH img[title$="BMP"], td.gH img[title$="JPG"], td.gH img[title$="GIF"], td.gH img[title$="PNG"] { width: 0 !important; height: 0 !important; padding: 16px 0 0 16px !important; background-position: top left !important; background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABaSURBVDjLY2BgYMgA4gYycMb///8ZGMjUDMajBuA3oIASAwIYICCAkKHYDMhgQAUJUPEIbIaiGwDSzIFmAAdUEwcSPwOXAeiacQEOXAaQAgZZOqAsN4IISjAAAWm6BHV+IMUAAAAASUVORK5CYII=) !important; }
table img[title$="odp"], table img[title$="ppt"], table img[title$="pps"], table img[title$="PPT"], table img[title$="PPS"], table img[title$="pptx"], table img[title$="ppsx"], table img[title$="PPTX"], table img[title$="pot"], table img[title$="PPSX"] { width: 0 !important; height: 0 !important; padding: 16px 0 0 16px !important;background-position: top left !important;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAwSURBVDjLY3jgZX8eiP+Tgc////+fgYFMzWA8+AxgIAGPGjBoDRjCKZGy3AgiKMEAQeIstyyBWPoAAAAASUVORK5CYII=) !important;}
table img[title$="mov"], table img[title$="MOV"], table img[title$="m4v"], table img[title$="mp4"], table img[title$="M4V"], table img[title$="MP4"], table img[title$="avi"], table img[title$="AVI"], table img[title$="wmv"], table img[title$="WMV"], table img[title$="amv"], table img[title$="AMV"], table img[title$="mpeg"], table img[title$="MPEG"], table img[title$="mkv"], table img[title$="MKV"], table img[title$="flv"], table img[title$="FLV"] { width: 0 !important; height: 0 !important; padding: 16px 0 0 16px !important;background-position: top left !important;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABRSURBVDiNY/j//z8DJRgEKoDYgwECMoC4AYoJisEMgEkqALEEEp+gGLoBBUDMAcQOxIrBDCAboLuAZEx1A0gBtHHBqAEUGFBBpgEVYAMozc4A2DreP69kX2YAAAAASUVORK5CYII=) !important;}


/* ### Main - Hide reply placeholder ### */

.gA {
    display: none;
}


/* ### Main - Hide sidebar ads ### */

.oM {
    display: none;
}


/* ### Main - Hide bottom ads ### */

.PS {
    display: none;
}


/* ### Main - Hide zero-inbox message ### */

.TC[colspan="3"] {
    display: none;
}


/* ### Main - Hide sidebar ### */

.Bu:not(:first-child) {
    display: none;
}


/* ### Main - Hide trash message ### */

.ya {
    display: none;
}


/* ### sidebar - Hide Mail/Contacts/Tasks menu ### */

/* Hide menu */
.aki {
    display: none;
}
/* reposition compose */
.z0 {
    margin: 10px 0 20px 8px;
    position: relative;
    z-index: 99;
}
@media screen and (max-width: 1060px), screen and (max-height: 590px) {
    /* reposition compose */
    .z0 {
        margin: 3px 0 20px 8px;
    }
}


/* ### sidebar - Hide Compose button ### */

.z0 {
    display: none;
}

/* ### sidebar - Hide more link ### */

[gh="mll"] {
    display: none !important;
}


/* ### sidebar - Hide chat ### */

/* hide chat */
[gh = "c"] {
    display: none;
}


/* ### sidebar - Hide chat search ### */

.YI {
    display: none !important;
}


/* ### sidebar - Hide call phone ### */

.Mqxrce {
    display: none !important;
}


/* ### sidebar - Hide spam count ### */

[href$='#spam'] {
    visibility: hidden;
}
[href$='#spam']:before {
    content: 'Spam';
    visibility: visible;
    font-weight: 400;
}

/* ### footer - Hide storage ### */

.mh {
    visibility: hidden;
}


/* ### Main - Hide stoprage manage ### */

.aeY {
    display: none;
}


/* ### Main - Hide legal ### */

.aeU {
    visibility: hidden;
}


/* ### Main - Hide account activity ### */

.ae3 {
    display: none;
}

