@font-face {
  font-display: swap;
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/Barlow-Regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap;
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Barlow-Bold.woff2') format('woff2'); 
}

:root {
	--green: rgb(142, 193, 50);
	--m-left: 60px;
	--r-col-left: 60px;
}

html {
	font-size: 10px;
	height: 100%;
	scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, h6, ul, li, p, q, img, nav, figure, blockquote, header, hgroup, article, footer, time, div, section, canvas {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6, ul, li, p, q, img, nav, figure, blockquote, header, hgroup, article, footer, fieldset, label, button, time, div, section, canvas {
	display: block;
}

body 
{
	font-family: 'Barlow', Helvetica, Arial, sans-serif;
	margin:0 60px 40px 0;
	background:white;
	color:black;
	font-weight: 300;
	font-size:1.8rem;
	line-height:1.4;
	letter-spacing: 0.02rem;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	font-feature-settings: "liga", "kern";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a
{	
	text-decoration:none;	
}

a, a:visited
{	
	color:black;
}

a:hover, a:focus
{	
	border-bottom:4px solid var(--green);
}

h1, h2, h3, h4
{
	font-size:1.8rem;
	font-weight: 700;
	padding-top:1.8rem;
}

header h2 {
	font-weight: 300;
}

nav {
	margin-left: var(--m-left);
	padding-top:190px;
	float: left;
	position: sticky;
	top: 0;
}

nav li {
	padding-bottom:1.8rem;
}

:target {
  scroll-margin-top: 6.6rem;
}

.selected > a {
	font-weight: 700;
	border-bottom:4px solid var(--green);
}
.anchor-selected a {
	border-bottom:4px solid var(--green);
}

main{
	margin:113px 0 0 calc(308px + var(--r-col-left));
	padding-top: 190px;
	padding-bottom: 40px;
	max-width: 800px;
}

footer {
	position: relative;
	margin-left: var(--m-left);
	font-size: 75%;
}

footer > div {
	position: absolute;
	bottom: 0;
	padding-bottom: 20px;
}
 
#header-main {
	height: 103px;
	display: flex;
	width:100%;
	background: white;
	position: absolute;
	z-index: 99;
}

#mm-container {
	width: 156px;
}

#mm-logo {
	margin-left: var(--m-left);
	width: 156px;
}

#home-link:hover{
	border-bottom: none;
}

#main-title{
	margin-left:calc(152px + var(--r-col-left));
	padding-top:58px;
}

#header-main.small-head {
	position: fixed;
	top:0;
	padding-top:13px;
	padding-bottom: 6px;
	height: auto;
	filter: drop-shadow(0 0 10px grey);
}

.small-head #mm-logo {
	width: 60px;
    transition: all .3s linear;
}

.small-head #main-title{
	padding-top:0;
	display: flex;
    transition: all .3s linear;
}

.small-head h1, .small-head h2 {
	align-content: flex-end;
}

.small-head h2 {
	padding-left:20px;
}

.subnav {
	padding-left: 40px;
	padding-top: 0.9rem;
}

.subnav li {
	padding-bottom: 0.9rem;
}

.subnav a {
	font-weight: 300;
	color: black;
}

.first-item {
	padding-top:0;
}
p {
	margin-bottom:1.8rem;
}

.pList {
	margin-bottom:5.4rem;
}


.pList li {
	margin-left: 50px;
}

.pList h3 {
	margin-left: -50px;
}
.pTitle {
	font-weight: 700;
	padding-top: 0;
}

.carousel,.carousel img {
	width: 1000px;
}

h5{
	font-size:1.8rem;
	font-weight: 300;
	font-style: italic;
}
.n-style {
	font-weight: normal;
}
strong{
	font-weight: 700;
}
.subhead {
	padding-top: 0;
	margin-bottom:1.8rem;
}
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: fade 0.3s ease both;
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}