/* lunds-core.css — structural layout for the ASP.NET Core site.
   Preserves Lunds brand identity while using semantic HTML instead of tables. */

/* ── CSS Reset (matches old site's App_Themes/Theme1/1_Reset.css) ────────── */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; }
table { border-spacing: 0; }
fieldset,img { border: 0; margin: 0; padding: 0; }

/* Prevent descender gap below splash image without affecting inline glyphicon images */
#main-content img.splash { vertical-align: bottom; display: block; }
address,caption,cite,code,dfn,em,strong,th,var { font-style: normal; font-weight: normal; }
ol,ul { list-style-type: none; }
caption,th { text-align: left; }
h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; }
q:before,q:after { content: ''; }
abbr,acronym { border: 0; }
br { line-height: 0; font-size: 0; }

/* Base font matching old site — browser default 16px causes br height to be ~19px */
body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 14px;
}

/* ── Full-width header shell ──────────────────────────────── */
/* Nav bar and logo band both extend edge-to-edge like the old site's "jutty" bands */
#site-header-shell {
    width: 100%;
}

/* ── Top navigation bar: full width outer, centred 760px inner ── */
#topnav-outer {
    background-color: #6E212B;
    width: 100%;
    position: relative;
}
#topnav-bar {
    width: 760px;
    margin: 0 auto;
    padding: 6px 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}
#header-signin {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 10px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 18px;
}

/* ── Logo / header band: full width outer, centred 760px inner ── */
#site-header-outer {
    background-color: #E41A23;
    width: 100%;
}
#site-header {
    width: 760px;
    margin: 0 auto;
    display: flex;
    height: 60px;
    overflow: hidden;
}
#header-red-band {
    flex: 1;
    background-color: #E41A23;
}

/* ── Site wrapper: centred 760px content column ──────────── */
#site-wrapper {
    width: 760px;
    margin: 0 auto;
    background-image: url('/images/background.gif');
    background-repeat: repeat;
}

/* ── Page title bar ───────────────────────────────────────── */
#page-title-bar {
    background-color: #96002A;
    height: 75px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
}
h1.page-heading {
    color: #FFFFFF;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.page-heading-actions {
    text-align: right;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 20px;
}

/* ── Main content area ────────────────────────────────────── */
#main-content {
    min-height: 300px;
    padding: 0;
    background-color: #FFFFFF;
}

/* Homepage: transparent so the site-wrapper background.gif shows through */
#main-content.main-content-home {
    background-color: transparent;
}
#main-content .home-content {
    padding: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
#site-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #cccccc;
    padding: 8px 10px;
    text-align: center;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
}

/* ── Utility ──────────────────────────────────────────────── */
.redtext  { color: #E41A23; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; }
.redlink, .redlink:visited { color: #AB0030; text-decoration: none; }
.redlink:hover { text-decoration: underline; }
.whitelink, .whitelink:visited { color: #FFFFFF; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; }
.whitelink:hover { text-decoration: underline; }

/* Static page content spacing */
.page-content { padding: 15px 0; }
.page-content p.copy { margin-bottom: 8px; }



/* NextAuction panel — collapse br struts to zero regardless of preceding element font-size */
#NextAuction br { font-size: 0 !important; line-height: 0 !important; display: block; height: 0; }

/* Responsive: allow horizontal scroll on small viewports rather than breaking layout */
@media (max-width: 780px) {
    #site-wrapper { width: 100%; overflow-x: auto; }
    #topnav-bar { width: 100%; box-sizing: border-box; padding: 6px 8px; }
    #site-header { width: 100%; }
}
