/* Van Dijk Heavy Equipment: what differs from main.css, which stays the Delta site's stylesheet so
   the sites can be compared. Loaded after it (layouts/partials/head.html); bump its ?v= there when
   this changes.
   The colour scheme is made to differ from Delta's (black header, orange bands, grey boxes): white
   and charcoal carry the page, and orange is an accent only. The colours are the logo's, its
   orange #f8a000 and its near-black #1a171b, and the grey of the old site's bar under the header. */

:root {
	--vd-accent: #f8a000;
	--vd-dark: #1a171b;
	--vd-footer: #2b282c;
	--vd-grey: #7b7d80;
	--vd-light: #f1f1f2;
	--deltayellow: var(--vd-accent);
}

/* the header is white where Delta's is black: the logo (vdhe_logo.png, 455 x 142 px) has dark
   letters on a white ground and has to blend in. Shown 171 px wide. The texts and icons of the
   bar are dark instead of white; the icons carry their white inline, hence !important */
#headerCntr { background: #fff; }
#headerCntr .header-top-top { background: #fff; background-image: none; backdrop-filter: none; border-bottom: 1px solid #ddd; }
#headerCntr .logo { width: 171px; margin-top: -12px; }
#headerCntr .logo img { display: block; width: 171px; height: auto; }
.menuBox:not(.mm-menu) >ul >li >a { color: var(--vd-dark); }
.menuBox:not(.mm-menu) >ul >li >a:before { background: var(--vd-dark); }
#headerCntr .phone-number-inflexbox a { color: var(--vd-dark); }
#headerCntr .header-top-telnoico i,
#headerCntr .header-top-email i { color: var(--vd-dark) !important; }
#headerCntr .mobileMenu span,
#headerCntr .mobileMenu span:before,
#headerCntr .mobileMenu span:after { background-color: var(--vd-dark); }
.mm-opened #headerCntr .mobileMenu span { background: none; }

/* the band under the bar held the stock button and the category icons: empty here */
#headerCntr .header-bottom { display: none; }

/* the banner: one of the Delta site's photos, without a Delta sticker, sign or van in it (looked
   at in full size, 2026-11-30): its history page's banner, machines in a fenced yard
   (vandijk/banner_yard_*). It is the home page's single banner and the banner of the site pages
   (about us).
   Slides 2 and 3 of the home page are off (commented out in band_bannerbox.html) until there are
   photos for them: add a rule for .bannerBox.delta-banner-img2 / -img3 here, at both widths.
   Delta's home banner 1 is not in this site, so these rules must stay ahead of main.css's own for
   .delta-banner-img1 at every width */
.bannerBox.delta-banner-img1,
.sliderBox .slide.vandijk-page-banner {
	background-color: var(--vd-dark);
	background-size: cover;
	background-position: center center;
	background-image: url('/img/vandijk/banner_yard_1920.jpg');
	background-image: image-set(url('/img/vandijk/banner_yard_1920.jpg') 1x, url('/img/vandijk/banner_yard_3840.jpg') 2x);
}
@media only screen and (max-width: 991px) {
	.bannerBox.delta-banner-img1,
	.sliderBox .slide.vandijk-page-banner { background-image: url('/img/vandijk/banner_yard_991.jpg'); }
}

/* the line under the header: the old site's grey bar where Delta has an orange one */
#headerCntr .stock-bar { background: var(--vd-grey); color: var(--vd-grey); }

/* the bands that are orange on the Delta site are light: the one under a page banner, set off
   from the banner's dark title strip by an orange line, and the one under the contact form (which
   is black itself) */
.introBox { background: var(--vd-light); color: var(--vd-dark); border-top: 5px solid var(--vd-accent); }
.timingBox { background: var(--vd-light); color: var(--vd-dark); }
.timingBox h3 { color: var(--vd-accent); }

/* the home page's text: white where Delta has a grey box, its heading dark where Delta's is white */
.textBox { background: #fff; }
.textBox h2 { color: var(--vd-dark); }

/* the footer: charcoal with light texts where Delta's is light grey with dark ones */
.footerBox { background: var(--vd-footer); }
.footerBox h4 { color: var(--vd-accent); }
.footerBox a, .footerBox address { color: #dcdcdd; }
.footerBox a:hover { color: var(--vd-accent); }

/* the accent where main.css names its own orange */
.bannerBox .more-link { color: var(--vd-accent); }
h3 { color: var(--vd-accent); }
.button:hover { background: var(--vd-accent); }
.button:after { border-color: transparent transparent transparent var(--vd-accent); }
.contactBox .form .button:hover { background: var(--vd-accent); }
.menuBox:not(.mm-menu) >ul >li.has-children >a:after { border-color: var(--vd-accent) transparent transparent transparent; }
.menuBox:not(.mm-menu) >ul >li >ul >li >a:hover { color: var(--vd-accent); }

/* the company profile: a heading and a text per block */
.aboutBlocks { padding-top: 54px; padding-bottom: 30px; }
.aboutBlocks h3 { margin-top: 28px; margin-bottom: 10px; }
.aboutBlocks h3:first-child { margin-top: 0; }

/* the footer has two lists (the site's pages, the address) where Delta has five */
@media only screen and (min-width: 836px) {
	.footerBox section:nth-child(1) { width: 30%; }
	.footerBox section:nth-child(2) { border-right: 0; }
}
/* the footer's first list has no neighbour to be divided from */
.footerBox section:nth-child(1) { border-right: 0; }

/* the end of a page, where the footer shows from under it (main.css, above 835px): Delta has a
   white strip under the page and a white gap above the footer. As on the Vintrac site: no strip,
   and the gap in the footer's colour */
@media only screen and (min-width: 836px) {
	#mainCntr-z2 { padding-bottom: 0; }
	#wrapper { background: var(--vd-footer); }
	.footerBox { box-shadow: none; }
}

/* the banner's line on a phone: the slogans are longer than Delta's, so they wrap */
@media only screen and (max-width: 767px) {
	.bannerBox h1 { white-space: normal; font-size: 22px; line-height: 1.2; }
	.bannerBox .text.centered { width: 100vw; max-width: 100vw; box-sizing: border-box; }
}
