/* =============================================== */
/* LIGHTWEIGHT CUSTOM RESET */
/* =============================================== */
*, *::before, *::after { box-sizing: border-box; } /* Box-sizing reset */
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; } /* Remove default margin */
ul[role="list"], ol[role="list"], nav ul, footer ul { list-style: none; } /* Remove list styles */
body { min-height: 100vh; text-rendering: optimizeSpeed; line-height: 1.5; } /* Set core body defaults */
ul, ol, nav ul { padding: 0; } /* Remove default padding from lists */
img { max-width: 100%; display: block; } /* Images: easier to work with */
input, button, textarea, select { font: inherit; } /* Inherit fonts for form controls */

/* =============================================================================== */
/* Basic Layout - MOBILE FIRST                                                     */
/* =============================================================================== */

.hiddenMobile { display: none} /* HIDE all elements that should not appear on mobile devices */

html {  height: 100%; font-family: var(--font-primary); font-size: 16px; font-weight: 300; color: var(--color-dark-two) }
body { position: relative; margin: 0 auto; background-color: var(--color-light-one);	}
header a#site-logo, nav#mainNav a { margin: 0;} /* clear the base margins for links across the site */
main { margin: 4rem 0 2rem; }
section { padding: 0 2rem; }
section.wide { padding: 0; }

/* =============== BASE TEXT ================================ */
nav#mainNav ul li a, nav#mainNav ul li.current a, nav#mainNav label, 
#myaccount, #myAccntUL a, #myAccntUL a:visited, #myaccount a, #rememberMeLabel,
footer, footer a, footer a:visited  { color: var(--color-light-one); }
#footer-info a:hover  { background-color: var(--color-info-shade); }
footer h3  { color: var(--color-med-two); }
#footer-info { flex-direction: column; align-items: baseline; }

/* =============== HEADER ================================ */
header { z-index: 101; position: fixed; width: 100%; height: 50px; top: 0; display: flex; padding: 0 1rem;	justify-content: space-between;	align-items: center; 
  background: var(--color-light-one); box-shadow: 0px 5px 5px rgba(0,0,0,0.2);  }
header a#site-logo { margin: 0; } /* override the site margins for links */
header > a#site-logo > img { max-width: 80%; margin: 0 auto; padding-left: 16px; width: 330px; display: flex; }

/* =============== MAIN NAVIGATION ================================ */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); clip-path: inset(50%); white-space:nowrap; border:0; }

nav#mainNav { z-index: 105; position: fixed; top: 50px; font-family: var(--font-secondary); font-weight: 400;  width: 100%; }
nav#mainNav ul { width: 100%; margin: 0; line-height: var(--type-unit-md); }
nav#mainNav ul, #acct-menu { background: var(--color-dark-one); }
nav#mainNav > ul > li { display: none; margin: 0; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1);}
nav#mainNav ul li a { position: relative; text-decoration: none; }
nav#mainNav ul li:hover { background: var(--color-info); }
nav#mainNav ul li a, nav#mainNav ul li.current a { display: inline-block; width: 100%; padding: 20px 15px; }
nav#mainNav ul li.current a { border-top: none;}
nav#mainNav ul li.current {  background: var(--color-info); }
nav#mainNav > ul > li.open > ul > li { display: block; }
nav#mainNav label { position: absolute; top: -47px; margin-bottom: 0; padding: 25px 0 0 15px; cursor: pointer; }
nav#mainNav label:before { height: 2px;	width: 20px; display: inline-block; content: ""; background: var(--color-dark-one); box-shadow: 0px -5px 0px 0px var(--color-dark-one), 0px -10px 0px 0px var(--color-dark-one); margin-right: 10px; margin-bottom: 14px; }
nav#mainNav > input[type="checkbox"] { position: absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; clip:rect(0 0 0 0); clip-path: inset(50%); overflow:hidden; white-space:nowrap; }

nav#mainNav ul > li > ul { display: none; } /* Hide subnav elements initially */
/* show submenu only when the parent li has .open */
nav#mainNav ul > li.open > ul { display: block; }

/* When hamburger is open, show top-level items */
#collapse:checked ~ ul > li { display: block; }

/* Hide all submenus by default */
nav#mainNav > ul > li > ul { display: none; }

/* =============== CUSTOMER MENU ================================ */
#myaccount .username { display: none; font-weight: 400; color: var(--color-dark-one); }

#acct-signin { position: absolute; top: 55px; display: flex; flex-wrap: wrap; flex-direction: row; background: var(--color-dark-one); padding: 0.8rem 0.8rem; left: 0px; }
#acct-signin > * { flex: 1 0 40%; margin: 0.4rem 0; }
#acct-signin > div:first-of-type { flex: 1 0 100%; }
#acct-signin > div:last-of-type { flex: 1 auto; }
#acct-signin input[type=button] {	padding: 4px 8px; margin: 0 7px 0px 0;	background-color: #0085ad;	border: none;	border-radius: 4px; }
#acct-signin input[type=text], #acct-signin input[type=password] { width: 100%;  }
#myAccntAuthLogin, #myAccntAuthPsswd { text-transform: lowercase; }
#acct-signin .btn_sm.secondary { background-color: #085c75; }
#acct-signin .forgot { display: inline-block; }
#acct-menu {display: none; position: absolute; right: 0; top: 50px; width: 100vw; height: 100vh; }
#acct-menu ul, ul.no-bullets {	padding: 0;	margin: 0; }
#acct-menu ul li { margin: 0; border-top: 1px solid var(--color-tint-one); text-align: center; }
#acct-menu ul li:first-child {	margin-top: 0; }
#acct-menu ul li:hover { background: var(--color-dark-three); }
#acct-menu a { padding: 10px 15px; display: inline-block; width: 100%; text-decoration: none; }
#acct-menu a:hover { text-decoration: none; }
#acct-title { z-index: 11; }
#acct-title img { width: 30px; vertical-align: middle; }

/* =============== BREADCRUMB MENU ================================ */
nav#breadcrumb { font-size: var(--type-unit-sm); font-weight: 400; margin-bottom: .5rem; }
nav#breadcrumb ul { margin: 0 auto; line-height: 1.3rem; width: 100%; }
nav#breadcrumb ul li { display: inline-block; width: auto; }
nav#breadcrumb ul li + nav#breadcrumb ul li { padding-left: 1.5rem;}
nav#breadcrumb ul:nth-child(1) li { padding-left: 0; }
nav#breadcrumb a { padding: 0 4px; }
nav#breadcrumb a:first-of-type { padding-left: 0; }
nav#breadcrumb ul li::after { content: '\00A0\203A\00A0'}
nav#breadcrumb ul li:last-of-type::after { content: '';}

/* =============== FOOTER ================================ */
footer { height: 100%; font-size: var(--font-size-md); padding: 0.5rem 2rem 2rem; background-color: var(--color-dark-two); padding-bottom: 6em; }
#footer-info { display: flex; flex-direction: row; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 0; }
#footer-info .site-logo { margin: 0; width: 330px; max-width: 80%; }
#footer-info p { margin: 0; }
footer ul { color: #bbb8b5; padding-left: 0; }
footer a { text-decoration: none; }
footer > ul > li { line-height: 1.6rem; }
footer > ul > li > ul { padding: 0 0 0.5rem 2rem; }
footer > ul > li > ul > li { line-height: 1.4rem; }

#totop { min-height: 20px; position: fixed; bottom: 75px; right: 15px; z-index: 5; width: 40px; }

/* =============================================================================== */
/* Desktop Layout - LARGER SCREENS ONLY                                            */
/* =============================================================================== */
@media screen and (min-width: 1000px) { 

  .hiddenDesktop { display: none; }

  /* =============================================================== */
  /* =============== CSS GRID SETUP ================================ */

  /* Create a base grid of 6 even columns that will adjust with the width of the browser. Maintain a set gutter width */
  body, nav#mainNav, main, #hero, section, contentblock, footer, .footerContents, .footerContents > * { display: grid; }
  body { grid-template-columns: 3rem repeat(6, 1fr) 3rem; grid-template-rows: 70px 40px auto auto; grid-gap: 0 3rem; height: 100%; }
  header, nav#mainNav ul, main > *, .footer-contents, footer > * { grid-column: 2 / -2; } /* content stays within gutters by default */
  nav#mainNav, nav#breadcrumb, main, main > section.wide, #hero, section.wide, footer, #footerContents > * { grid-column: 1 / -1; } /* content that goes full screen */
  nav#mainNav, main, contentblock, #hero, section, section.wide, footer, #footerContents { grid-template-columns: subgrid; } /* inherit the parent grid */
  
  main, .footer-follow, .footer-list { max-width: 1400px; width: 100%; }
  main { margin: 0 0 3rem; padding: 0rem 0rem; }
  section { padding: 0; }

  footer .disclaimer { display: flex; gap: 1rem; }
  footer ul { grid-column: span 2; }

  /* =============== COLUMN SETTINGS ================================ */
  .colSpan_2 { grid-column: span 2; }
  .colSpan_3 { grid-column: span 3; }
  .colSpan_4 { grid-column: span 4; }
  .colSpan_6 { grid-column: span 6; }

  /* =============== HEADER ================================ */
  header {	grid-row: 1; position: relative; box-shadow: none; padding: 0; height: 70px; }
  header > a#site-logo > img { width: 400px; max-width: none; margin: 0; }

  /* =============== MAIN NAVIGATION ================================ */
  nav#mainNav {	grid-row: 2; border-top: 2px solid var(--color-light-four); position: relative; z-index: 100; top: inherit; box-shadow: 0px 4px 5px rgba(0,0,0,0.1); }
  nav#mainNav input[type=checkbox]{ visibility: hidden; position: absolute; }
  nav#mainNav label { display: none; } /* Hide label so the nav goes back to normal height */
  nav#mainNav ul { position: relative; background: var(--color-light-one); } 
  nav#mainNav > ul > li { display: inline-block; width: auto; border-bottom: 3px solid var(--color-light-one); margin-right: 2rem; }
  nav#mainNav > ul > li:hover { background-color: var(--color-light-one); border-bottom: 3px solid var(--color-info); transition: border-color 0.3s; }
  nav#mainNav ul li a, nav#mainNav ul li a.current { position: relative; width: auto; padding: 0.5rem 0 calc(0.5rem - 2px) 0; color: inherit; }

  /*	Show and style NAV LEVEL 2*/
  nav#mainNav > ul > li > ul { display: none; width: auto; color: var(--color-light-four); }
  nav#mainNav li:hover > ul { display: block; position: absolute; top: 37px; padding: 0; background: rgba(12, 39, 51, 0.95); }
  nav#mainNav > ul > li > ul > li { margin-left: 0; padding: .2rem 0.8rem .2rem 0.4rem; display: block; border-left: 2px solid transparent; text-align: left; }
  nav#mainNav > ul > li > ul > li:hover { background: var(--color-info-trans); border-left: 2px solid var(--color-info); transition: border-color 0.3s; }

  /* =============== CUSTOMER MENU ================================ */
  #myaccount { cursor: pointer; }
  #myaccount #myAccntReg a { color: var(--color-dark-one); } /* Register link */
  #myaccount .username { display: inline-block; } /* Makes username visible on desktops */

  #acct-menu { width: auto;	height: auto; top: 40px; min-width: 200px; background: transparent; }
  #acct-menu ul { background: var(--color-dark-one); list-style-type: none; }
  #acct-menu ul li:first-child { margin-top: 17px; }
  #acct-title { display: flex; }
  #acct-title img { margin-right: 0.6rem; }/* space between icon and username */
  #acct-signin { right: 0px; left: inherit; width: 220px; border-radius: 6px 6px 6px 6px; padding: 0.3rem 0.7rem 0.3rem; }
  #acct-signin > div { display: flex; } 
  .forgot, #rememberMeLabel { font-size: 0.9rem; line-height: 1.8rem; }

}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) and (min-width: 800px) {
  body {
    grid-template-columns: 3rem repeat(6, 1fr) 3rem;
    grid-gap: 0 3rem;
  }
  header img.site-logo {
    width: 400px;
    max-width: none;
    margin: 0;
  }
  #footerContents {
    grid-template-columns: subgrid; display: grid;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) and (min-width: 1400px) {
  body {
    grid-template-columns: 1fr repeat(6, 180px) 1fr;
  }

}