/* font definitions - Univia Pro from TypeKit and Roboto from Google */
@import url("https://use.typekit.net/qqu8qhw.css");

:root {
  --name: value;
  --dark: #111;
  --light: #F0F6F8;
  --white: #fff;
  --primary: #0039C1;
  --secondary: #666666;
  --adc-primary: #ec1b2d;
  
// css variables values are accessible to JavaScript, unlike SCSS variables  
  --consumed-by-js: $primary;
  
  --ff-ss: univia-pro, sans-serif;
  --ff-b: 'Roboto', sans-serif;
  --fc: var(--dark);
  --fw-b: bold;

  --max-w: 100rem;
  --w: 90%;
  --gap: 2em;
}


/* Basic styling */
* {
  box-sizing: border-box;
}
html {
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
}
body {
  padding: 0;
  margin: 0;
  font-family: sans-serif;
  font-family: var(--ff-b);
  font-size: 100%;
}
a, a:visited {
  color: #272BA7;
}
.container {
  max-width: 100rem;
  max-width: --var(max-width);
}
.adc-header * {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
nav {
  background: #f9f9f9;
  padding: .5rem 1rem;
  border: 1px solid #ccc;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: univia-pro, sans-serif;
  font-family: var(--ff-ss);
}
nav a, nav a:visited {
  color: #111;
  text-decoration: none;
  cursor: pointer;
}
.menu,
.submenu {
  list-style-type: none;
}
.logo {
  font-size: 20px;
}
.logo a:link {
  display: inline-block;
}
.logo img {
  border: 4px solid #fff;
  min-width: 4rem;
}

.item {
  padding: 1rem;
}
.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: #272BA7; /* Contrast = 9.5:1 https://webaim.org/resources/contrastchecker/ */
}

/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.menu li a {
  display: block;
}
.menu li.subitem a {
  padding: 12px;
  font-size: .95rem;
  margin-left: .45rem;
  border-bottom: 1px solid #ccc;
}
.menu li.subitem a:hover {
  font-weight: 600;
}
.submenu-active .submenu li {
  border: 1px solid #efefef;
  border-bottom: 0px;
}
.submenu-active .submenu li:hover {
  background: #fff;
}
.menu li .title  {
  padding: .4rem 0 .4rem .6rem;
  font-weight: 600;
}
.toggle {
  order: 1;
  font-size: 40px;
}
.item.button {
  order: 2;
}
.item {
  order: 3;
  width: 100%;
  display: none;
}
.active .item {
  display: block;
}
.button.secondary {
  /* divider between buttons and menu links */
  border-bottom: 1px #75BBF0 solid;
}

/* Submenu up from mobile screens */
.submenu {
  display: none;
}
.submenu-active .submenu {
  display: block;
}
.has-submenu i {
  font-size: 12px;
}
/*.has-submenu > a::after {
  font-family: "Font Awesome 5 Free";
  font-size: .85rem;
  line-height: 1rem;
  font-weight: 900;
  content: "\f078";
  color: #222;
  padding-left: .5rem;
}*/
.subitem a {
  padding: 10px 15px;
}
.submenu-active {
  background-color: #f9f9f9;
  border-radius: 3px;
}

/* Tablet menu */
@media all and (min-width: 700px) {
  .menu {
    justify-content: center;
  }
  .logo {
    flex: 1;
  }
  .item.button {
    width: auto;
    order: 1;
    display: block;
  }
  .toggle {
    flex: 1;
    text-align: right;
    order: 2;
  }
  nav ul .item {
    margin-top: .8rem;
  }
  /* Button up from tablet screen */
  .menu li.button a {
    padding: 10px 15px;
    margin: 5px 0;
  }
  .button a {
    background: #0080ff;
    border: 1px royalblue solid;
  }
  .button.secondary {
    border: 0;
  }
  .button.secondary a {
    background: transparent;
    border: 1px #0080ff solid;
  }
  .button a:hover {
    text-decoration: none;
  }
  .button:not(.secondary) a:hover {
    background: royalblue;
    border-color: darkblue;
  }
}

/* Desktop menu */
@media all and (min-width: 960px) {
  .menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
  }
  .logo {
    order: 0;
  }
  .item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
  }
  .button {
    order: 2;
  }
  .submenu-active .submenu {
    display: block;
    position: absolute;
    left: 0px;
    top: 53px;
    background: #f7f7f7;
    min-width: 230px;
    border: solid #BDBDBD 0; 
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); 
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); 
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }
 .submenu-active.about .submenu {
    left:-35px;
    min-width: 200px;
  }
  .toggle {
    display: none;
  }
  .submenu-active {
    border-radius: 0;
  }
}


main .bnr {
  text-align: center;
  margin: 1.5rem 0 1rem 0;
}

.container {
    width: 100%;
    max-width: var(--max-w);
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.d-flex {
  display: flex;
}
.t-center {
  text-align: center
}
.flex-space-between {
  justify-content: space-between;
}
a:link {
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .d-flex {
    flex-direction: column;
  }
}


/* Home page News Columns ------------------ */
.col {
  /*display: flex;*/
   flex: 1 1 0px;
   padding: 1rem;
    margin: .3rem .5rem; 
    background-color: #f4f4f4;
    border: 1px solid #efefef;
    font-size:  1.0rem;
    line-height: 1.8rem;
}
.col ul {
  padding-left: 2rem;
}
.col a:hover {
  color: #ec1b2d;
  text-decoration: underline;
}


/* Footer ------------------ */
footer {
  margin: 2rem 1rem;
  font-size: .85rem;
  line-height: 1.8
}
footer a:link {
  margin: 0 .35rem;
  
}


/* Accessibility skip-nav for text-readers, so user doesn't need to tab through the entire nav to get to page content */
#skip-to-main a {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#skip-to-main a:focus{
	position: static;
	width: auto;
	height: auto;
  text-align: center; 
  padding: 1.5rem 1rem 0 1rem;
  background: #000;
  color: #fff;
  font-size: 1.2rem;
}
/* end Accessibility skip-nav */



/* added Nov 14, 2022 for restyling pages with sidebars */
.sidebar-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-gap: 1.5rem;
}
.sidebar-layout nav {
    background: #fff;
    color: #000;
    font-weight: 500;
    border: 0px;
    border-right: 1px dotted #ccc;
}
.sidebar-layout .content {
    padding-right: 2rem;
}
    
/* sidebar */
nav.sidebar ul { 
    list-style: none;
    padding-left: 0;
}
nav.sidebar a {
  font-size: .90rem;
}
nav.sidebar a:hover {
  color: red;
}
nav.sidebar ul ul {
    padding-left: 1.1rem;
}
/* /sidebar */
    
footer {
    border: 1px solid #efefef;
    padding: 1rem 0;
    margin: 0px;
}
/* end restyling pages with sidebars */