/* =============================================================================
   Boxed layout for very wide screens
   The site is built full width (100%). On big monitors (2K/4K, > 1920px) the
   design stretches and breaks, so above laptop/desktop width the whole page
   (header, content, footer) stays a centred 1920px box with a light grey
   background on both sides. Up to 1920px nothing changes.

   Linked in <head> of every master + every page without a master, right after
   css-shop/loader.css. To change the box width, change the two 1920 / 1921
   values below (keep them 1 apart).

   Not done here on purpose: position:relative on body (it would shift jQuery UI
   dropdowns / autocomplete lists, which are positioned from the document edge).
   Popups, loaders and other position:fixed items stay centred on the screen.
   ============================================================================= */
@media (min-width: 1921px) {
    html {
        background: #eef1f5;
    }

    body {
        max-width: 1920px;
        margin-left: auto !important;
        margin-right: auto !important;
        background: #fff;
        box-shadow: 0 0 30px rgba(17, 34, 51, 0.08);
    }

    /* Absolutely placed header items (logo, sign-in tooltip) have no positioned parent,
       so they were placed from the screen edge, outside the box. #main_wrapper starts
       at the top of the page, so this only moves them into the box. */
    #main_wrapper {
        position: relative;
    }

    .header_contearea[style*="fixed"] {
        left: calc((100% - 1920px) / 2) !important;
        width: 1920px !important;
        box-sizing: border-box;
    }
}
