/*
 * TheTimes look - shared CSS for all of Greg's sites on gk_university.
 * Loaded on every page before override.css, so each site can still change
 * anything in its own css/override.css (template updates no longer replace it).
 */

/* Mobile menu icon: white on the black header bar */
#gkMobileMenu .fa-bars:before { color: #ffffff; }

/* Black header bar without the default top/bottom padding */
#gkHeaderNav {
    position: fixed;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 1.0);
    padding-bottom: 0px;
    padding-top: 0px;
}

/* header_bottom module position: full width */
#gkHeader_bottom .gkPage { max-width: none; width: 100%; }
#gkHeader_bottom { padding: 0; }

/* Search highlight in articles: no yellow background */
.item-page mark {
    background: none !important;
}

/* Top0 banner (custom module): on desktop and tablet the image uses the
   width % set in the module, e.g. style="width: 50%; height: auto;".
   On phones it is always full width. */
#gkTop0 img {
    height: auto !important;
}
@media (max-width: 767px) {
    #gkTop0 img {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Main menu: keep a long menu (up to about 13 items) on one line on laptop
   widths. Below the tablet width (1024px) the template uses the mobile menu. */
@media (max-width: 1365px) {
    .gkMenu > ul > li { font-size: 13px; }
    .gkMenu > ul > li > a { padding: 0 8px; }
}
@media (max-width: 1180px) {
    .gkMenu > ul > li { font-size: 11px; }
    .gkMenu > ul > li > a { padding: 0 6px; }
}
