/* New Captain Pete round 1: the header area's own styles (one file per area, so slices never edit the same line). */

/* #header only groups the top bar and the sticky block: display: contents lets .ncp-sticky stick against #wrapper. */
#header { display: contents; }

/* Top bar: phone left, email right, the company line centred; under 768 px the line drops below them (old .top). */
.ncp-top-left { float: left; }
.ncp-top-right { float: right; }
.ncp-top-name { display: inline-block; }
.ncp-top-clear { clear: both; }
.ncp-top-break { display: none; clear: both; }
@media (max-width: 767.98px) { .ncp-top-break { display: block; } }

/* Menu: one row of links from 768 px; under it the toggler + "Menu" label, and the links stacked full width once open. */
.ncp-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.ncp-menu li { margin: 0; padding: 0; }
.ncp-toggler-box { display: none; }
@media (max-width: 767.98px) {
  .ncp-toggler-box { display: flex; align-items: flex-start; }
  .ncp-menu-label { font-family: var(--nav-font); font-size: 17px; line-height: 1.4; color: #ffffff; margin-left: 0; }
  .ncp-menu { display: none; flex-direction: column; padding: 10px 0 15px; }
  .ncp-menu.ncp-menu-open { display: flex; }
  .ncp-menu li { display: block; width: 100%; }
  .ncp-nav-link { padding: 0; }
}
.ncp-toggler { position: relative; display: block; }
.ncp-bar { display: block; height: 3px; width: 30px; margin: 4px auto; padding: 0; background-color: #153488; transition: all .3s; }
.ncp-toggler[aria-expanded="true"] .ncp-bar1 { margin-top: 4px; transform: rotate(135deg); }
.ncp-toggler[aria-expanded="true"] .ncp-bar2 { opacity: 0; }
.ncp-toggler[aria-expanded="true"] .ncp-bar3 { margin-top: -13px; transform: rotate(-135deg); }

/* Footer: the logo/address column and the motto column side by side from 768 px (motto on the right), the motto column
   first on a phone; nothing wider than the screen. */
.ncp-footer { overflow: hidden; }
.ncp-footer-row { display: flex; flex-wrap: wrap; align-items: flex-end; margin-right: -15px; margin-left: -15px; } /* the old .row gutters */
.ncp-footer-col { width: 100%; padding-right: 15px; padding-left: 15px; }
.ncp-footer-right { order: 1; }
.ncp-footer-left { order: 2; }
.ncp-footer-left img { max-width: 100%; height: auto; }
@media (min-width: 768px) {
  .ncp-footer-col { width: 50%; }
  .ncp-footer-left { order: 1; }
  .ncp-footer-right { order: 2; }
}
.ncp-footer-bottom, .ncp-footer-bottom .ncp-width { overflow-wrap: anywhere; }
.ncp-footer a.ncp-footer-phone, .ncp-footer a.ncp-footer-phone:hover { font-weight: 400; color: inherit; }
