/*
 * Small fixes on top of the old WordPress theme (eurokimia.com).
 */
html, body { background: #fff; }

/*
 * Homepage uses the inner-page header (tools/unify_header.py). WordPress printed
 * these header settings inline on inner pages only, so repeat them here.
 */
body.home .header_container .logo_box { padding-top: 10px; padding-bottom: 10px; }
body.home .sticky_header .header_cont .header_container .menu_box { background-color: #fff !important; }
body.home .sticky_header .header_cont .header_container .menu_box .main-nav-container .menu-item > a span { background-color: #fff; }
body.home .sticky_header .header_container .search_menu { color: #021a47; }
body.home .sticky_header .header_container .search_menu:hover { color: #f27420; }
body.home .header_wrapper_container .top_bar_box { z-index: 6; }
body.home .topbar_left_icons #top_social_links_wrapper:before { background-color: #fff; }
body.home #top_social_links_wrapper .cws_social_links a { color: #fff; background-color: #000; }
body.home #top_social_links_wrapper .cws_social_links a:hover { color: #f27420; }

/* Laptops (981–1366px): keep the five menu items on one line. */
@media (min-width: 981px) and (max-width: 1366px) {
  .site_header #main_menu { white-space: nowrap; }
  .site_header #main_menu > li { padding-left: 14px; padding-right: 14px; }
  .site_header #main_menu > li > a { font-size: 14px; }
  .site_header .menu_extra_button a { padding-left: 18px; padding-right: 18px; font-size: 14px; }
}

/* Phones/tablets: the old site had no mobile logo set, so the logo vanished. */
@media (max-width: 980px) {
  .header_wrapper_container img.logo_desktop {
    display: block !important;
    height: 56px !important;
    width: auto !important;
  }
}
