html {
  box-sizing: border-box;
  font-size: $bz-font-size-base;
  line-height: 1.5;
}

body {
  color: $bz-neutral-600;
  font-family: $bz-font-family;
  font-size: $bz-font-size-body;
  height: 100vh;
}

*,
*:after,
*:before {
  box-sizing: inherit;
}

ol,
ul {
  list-style: none;
}

dl,
fieldset,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
p,
ul {
  margin: 0;
  padding: 0;
}

hr {
  border: 0;
  border-bottom-width: 1px;
  border-top-color: $bz-neutral-300;
  margin-bottom: $bz-space-stack-l;
  margin-top: $bz-space-stack-l;
}

a {
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  position: relative;
  text-align: inherit;

  &:hover {
    color: $bz-theme-400;
  }

  &:visited {
    color: $bz-neutral-500;
  }
  
}

// Class to hide elements so they can only be read by assistive technologies
.screenreader-visible {
  position: absolute;
  width: 1px!important;
  height: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px); /* IE 7+ only support clip without commas */
  clip: rect(1px, 1px, 1px, 1px);
}

// Class added to elements focused with skip link
.bz-skip-focus-color{
  background: $bz-theme-100!important;
  
}
.bz-skip-focus-transition {
  transition: all 0.3s;
}

//  Focus styles
.focus{
  outline: 0!important;
  box-shadow: 0 0 0 2px rgba(51,191,193,.5),0 0 0 4px rgba(51,191,193,.25);
}

*:focus {
  outline: 0!important;
}
//  Class added when focused with keyboard
.cdk-keyboard-focused {
  *:focus{
    @extend .focus;
  }
  *:focus.focus-inset {
    box-shadow: inset 0 0 0 2px rgba(51, 191, 193, 0.5), inset 0 0 0 3px rgba(51, 191, 193, 0.25) !important;
  }
  *.bz-focus-inset:focus, *.bz-focus-inset > *:focus, .bz-link:focus{
    @extend .focus-inset;
  } 
}
