@-moz-document domain("google.com"), domain("google.ca") {

/*Shrinks the Google Bar*/

#gb {

    height: 52px !important;

}

#gbqlw, #gbx1, #gbx2 {

    height: 51px !important;

}



/*Centers Content*/

#gbq, #gbx1, #gbx2 {

    top: 0px !important;

}

#gbq2, #gbq3, #gbu, #gbn {

    top: 0px !important;

    padding-bottom: 0px !important;

    padding-top: 11px !important;

}



/*Unifies the Google Logo (does not effect G+)*/

#gbql {

    background: url(//ssl.gstatic.com/gb/images/j_84b0dc02.png) no-repeat !important;

    background-position: 0 -169px !important;

    display: block !important;

    height: 45px !important;

    width: 116px !important;

    margin: 0 !important;

}

#gbq1 .gbmai {

    right: 4px !important;

    top: 31px !important;

}


/*Centers Themed Google Logos*/
#gbqld {
    display: block !important;
    height: 45px !important;
    width: 116px !important;
    margin: 0 !important;
}


/*Fixes Hover Menu (may not fix on Gmail, Calendar, & Docs)*/

#gbq1 .gbmab {

    margin-top: 41px !important;

}

#gbq1 .gbmac {

    margin-top: 42px !important;

}

#gbq1.gbto #gbz, #gbq1.gbto #gbs {

    top: 51px !important;

}



/*Fixes Search bar on main page*/

.gbqfh#gbq2 {

    padding-top: 23% !important;

}

}