:root {
  --palegreen: #eee1cf;
  --palegreenbg: #ebf6eb;
  --palebluebg: #e3f3fb;
  --beigebg: #f6f1eb;
  --charcoal: #455A64;
  --greeen: #4AAC6A;
  --brown: #E0AC84;
  --lightbrown: hsl(27, 57%, 75%);
  --peach: hsl(21, 100%, 88%);
  --red: #FF725E;
  --skyblue: #ECEEFF;
  font-size: 1em;
}



body {
  background: var(--beigebg);
  color: var(--charcoal);
  font-family: p22-mackinac-pro, sans-serif;
  font-weight: 200;
  line-height: 1.25;
}


#logo {
  width: 96px;
  height: auto;
  margin-bottom: 4rem;
}

.main {
  margin: 2rem 4rem 2rem 4rem;
}


.blob {
  position: absolute;
  z-index: -1;
  opacity: 1;
  max-width: 100%;
  top: 0;
}

.blobcontainer {
  position: relative;
}

a:link {
  text-decoration: none;
  color: var(--charcoal);
}

a:hover {
  color: var(--greeen);
}

a:active {
  color: var(--charcoal);
}

a:visited {
  color: var(--charcoal);
}


h1 {
  font-size: clamp(2rem, 2rem + 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin: 0;
}


@media only screen and (max-width:599px) {
  #mobilenav {
    top: 0px;
    right: 0px;
  }
}

@media only screen and (max-width:900px) {
  h1 {
    margin-top: 0px;
    font-size: clamp(1rem, 1rem + 3vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.025rem;
  }
}

.mega {
  font-size: clamp(1.5em, 1.5em + 2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.0125rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 1.5rem + 1vw, 3rem);
  letter-spacing: -0.025rem;
  line-height: 1.125;
  padding: 0px;
}

li {
  margin-bottom: 1rem;
  line-height: 1.25;
}

.sub-h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 auto 0 auto;
}

.smallcaps {
  font-variant-caps: all-small-caps;
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 0.0125rem;
  font-weight: 400;
  line-height: 1;
}

h3 {
  font-size: clamp(1.5rem, 1.5rem + 1vw, 1.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.25;
  font-weight: 500;
}


h4 {
  font-size: 16px;
  line-height: 1.25;
  margin: 0 0 0.5em 0;
}





a.inlink:link {
  text-decoration: none;
  color: var(--charcoal);
}

a.inlink:hover {
  background: rgb(255, 244, 187);
}

a.inlink:active {
  background: white;
  color: var(--charcoal);
}

a.inlink:active {
  background-color: var(--palegreen);
  color: var(--charcoal);
}

p {
  font-size: clamp(0.8rem, 0.8rem + 1vw, 1.25rem);
  line-height: 1.35;
  margin-bottom: 1.35em;
  margin-top: 0px;
  /* max-width: 64ch; */
}

p.intro {
  font-size: clamp(1rem, 1rem + 1vw, 1.5rem);
  /* max-width:48%; */
}

p.funders {
  font-size: 0.75rem;
  color: var(--charcoal);
  font-style: italic;
  max-width: unset;
  margin-bottom:1rem;
}

.title {
  font-style: italic;
  font-weight: 400;
}

.titlecaps {
  border-bottom: 1px solid var(--charcoal);
  margin: 8px 0px 0px 0px;
  padding-bottom: 1rem;
  font-variant-caps: all-small-caps;
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 1px;
  text-align: right;
  line-height: 0.8;
  color: var(--charcoal);
  font-weight: 400;
  font-size: clamp(0.8rem, 0.8rem + 1vw, 1.25rem);
}

#coverimg {
  max-width: 100%;
  height: auto;
}

@media only screen and (max-width:600px) {
  #coverimg {
    margin: 0px;
    padding: 0px;
    max-width: 100%;
    object-fit: contain;
  }
}

.fill {
  object-fit: fill;
}

.contain {
  object-fit: contain;
}

.cover {
  object-fit: cover;
}

.none {
  object-fit: none;
}

.scale-down {
  object-fit: scale-down;
}

.centered {
  text-align: center;
}

.lefted {
  text-align: left;
}

.righted {
  text-align: right;
}

.listinset {
  background: white;
  padding: 2.25em 3em 2em 3em;
  margin-bottom: 2em;
  border-radius: .5rem;
}

nav {
  position: relative;
  top: 1rem;
  right: 1rem;
  margin-top: 0px;
}

nav li {
  font-size: 1rem;
  padding-top: 0px;
  margin: 0px;
}



li {
  font-size: clamp(0.8rem, 0.8rem + 1vw, 1.25rem);
  line-height: 1.35;
  margin-bottom: 1.35em;
  /* max-width: 48ch; */
}


.no-margin {
  margin: 0px;
}

.no-padding {
  padding: 0px;
}


img {
  max-width: 100%;
  height: auto;
}

#teamgrid {
  line-height: 1.25;
  text-align: left;
}

#teamgrid h3 {
  margin-bottom: 0.25em;
  margin-top: 0.25em;
  font-size: 1.5rem;
  line-height: 1;
}

#teamgrid h4 {
  margin-bottom: 0.5em;
  font-weight: 300;
  margin-top: 0.25em;

}

#teamgrid p {
  margin: 0 0 2em 0;
  font-size: clamp(0.75em, 0.75em + 0.5vw, 1rem);
}

#teamgrid a {
  color: var(--charcoal);
}

#teamgrid img {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  border-radius: 8px;
  margin-bottom: 0.5em;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center center;
  max-width: 100%;
  /* border-radius: 50%; */
  /* border: 4px solid rgb(0, 174, 0); */
}



@media only screen and (max-width:720px) {
  #teamgrid img {
    margin-bottom: 0px;
  }
}

#teamgrid img:hover {
  -webkit-filter: none;
  -moz-filter: none;
  -ms-filter: none;
  filter: none
}





/* ------------------- COLLAPSIBLE STYLING ---------------------  */
.collapsible {
  background-color: white;
  color: var(--charcoal);
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  border: 2px solid var(--charcoal);
  text-align: left;
  outline: none;
  font-size: 1.5rem;
  margin-top: -2px;
}

.collapsible:first-child {
  margin-top: 0px;
}

.active,
.collapsible:hover {
  background-color: var(--charcoal);
  color: white;
}

.open {
  padding: 0 1rem;
  max-height: 0;
  overflow: scroll;
  transition: max-height 0.2s ease-out;
  background-color: #ffffff;
  border-left: 2px solid var(--charcoal);
  border-right: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
}

.open p {
  margin: 1rem 2rem 1rem 0rem;
}

.collapsible:after {
  content: '+';
  font-size: 24px;
  /* color: rgb(0, 0, 0); */
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "—";
  color: white;
}

.header {
  margin: 3rem;
}

/* FFFFFFFFFF FOOOOOOTERRRRRRRRR RRRRRRRRRRRR */

#footer {
  padding: 2rem;
  background: var(--peach);
  display: flex;
  align-self: stretch;
  /* margin-top: 3rem; */
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1 0 auto;
  margin-top:1rem;
}

#footer {
  flex-shrink: 0;
}

#footer p {
  margin-bottom: .5rem;
  line-height: 1.25;
  max-width: 48ch;
  font-size: .875rem;
}

#footer p+p {
  margin-bottom: 0px;
}

#footer img {
  margin-right: 2rem;
}

@media only screen and (max-width:600px) {
  #footer p+p {
    margin-bottom: 2rem;
  }

  #footer img {
    margin-bottom: 2rem;
    margin-right: unset;
    max-width: 104px;
  }

  #questions {
    padding-left: 0px;
    margin-left: 0;
    margin-bottom: 1rem;
    margin-top: 2rem;
  }
}

#questions {
  background: white;
  margin: 0px;
  border-radius: 8px;
  display: inline-block;
  width: 100%;
}

#questions>p {
  margin: 16px;
  text-align: center;
}


@media only screen and (max-width:600px) {

  #callout {
    padding: 1em 1em 2em 2em;
    background-size: 35%;
    font-size: 0.8em;
  }

  #callout a {
    display: inline;
  }

  #callout span {
    display: inline;
    margin: 0.5em 0 0.25em 0;
  }
}




#callout a {
  color: var(--red);
}





@media only screen and (max-width:600px) {

  summary {
    margin-bottom: 0px;
  }
}


.titlecaps a {
  text-decoration: none;
  color: var(--charcoal);
  margin-top: 0;
}



#mobilenav a {
  text-decoration: none;
  color: var(--charcoal);
}

/* ------------------ MOBILE NAVIGATION ------------------ */

#mobilenav {
  margin: 0px;
  padding: 1em 1.5em;
  background-color: white;
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  font-weight: 500;
  max-width: 60vw;
}

#mobilenav ul {
  margin: 0px;
  padding: 0px;
}

#mobilenav li {
  margin: 0px 0.5rem 1px 0px;
  padding: 0.5rem 0 0.5rem 0;
  display: block;
  line-height: 1.35;
  list-style-type: none;
  background-color: transparent;
  border-bottom: 1px solid var(--charcoal);
  font-size: 1rem;
}

#mobilenav li:last-of-type {
  border-bottom: 0px;
}

/* ------------------ NAVIGATION RESPONSIVENESS ------------------ */



details>summary {
  list-style: none;
}

summary::marker {
  content: none;
  list-style-type: none;
  display: none;
}

summary:hover {
  cursor: pointer;
}


summary {
  font-size: 2rem;
  margin: 0px;
}

summary::-webkit-details-marker {
  display: none;

}

#mobilenav summary::before {
  content: '☰';
  font-size: 2rem;
  margin: 0;
  text-align: right;
}

#mobilenav details>ul {
  margin-left: 1rem;
}

details[open] summary {
  font-weight: 600;
}

.projectlist .blobspot>.circle {
  background: var(--red);
  width: 168px;
  height: 168px;
  margin-top: .5rem;
}

.projectlist .blobspot:nth-of-type(2)>.circle {
  background: hsla(55, 100%, 69%, 1);
  height: 192px;
  transform: rotate(135deg);
}


.projectlist .blobspot:nth-of-type(3)>.circle {
  background: var(--greeen);
  width: 192px;
  height: 168px;
  transform: rotate(180deg);
}

.projectlist:before {
  content: " ";
  display: block;
  border-bottom: .5px solid var(--greeen);
  margin-bottom: 8px;
}

.blobspot h3 {
  font-size: 1.25rem;
  margin-right: 2rem;
  line-height: 1.35;
  margin-bottom: 5%;
  font-weight: 500;
}

.headpull {
  border-top: 1px solid var(--charcoal);
  border-left: 1px solid var(--charcoal);
  padding: 3rem;
  margin-bottom: 0px;
  margin-left: 3rem;
}

.headpull * {
  margin-top: 0px;
  margin-left: 0px;
}


.blobspot {
  position: relative;
}

.circle {
  /* background: var(--red); */
  opacity: 0.35;
  width: 25vw;
  height: 25vw;
  border-radius: 40% 60% 16% 40% 70% 30%/40% 50% 60% 50% 20% 12%;
  /* border:1px solid var(--charcoal); */
  overflow: auto;
  animation: morph 24s linear infinite;
  position: absolute;
  z-index: -1;
  margin-top: 0;
}

#projectblob {
  margin: -10%;
}

.circle svg {
  max-width: 150%;
  height: auto;
}

@keyframes morph {

  0%,
  100% {
    border-radius: 40% 60% 70% 30%/40% 40% 60% 50%;
  }

  34% {
    border-radius: 70% 30% 50% 50%/30% 30% 70% 70%;
  }

  67% {
    border-radius: 100% 60% 60% 100%/100% 100% 60% 60%;
  }
}

.projectteam {
  padding: 0px;
}

.projectteam li {
  margin: 0;
  list-style: none;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  font-size: 1rem;
}

.projectteambox {
  /* margin: 0 1em 1em 0px;
  padding: 0.25em 2em 0.25em 1.5em;
  border: .5px solid var(--charcoal);
  background-color:rgba(255,255,255,0.5); */
  display: flex;
  flex-direction: column;
  align-content: space-between;
}

.projectteambox h3 {
  margin:0px;
  font-size: .875rem;
}



.projectteambox a {
  text-decoration: none;
}

.projectteambox a:hover {
  color: var(--greeen);
}

.vrtclstack img { display: block;margin-bottom: 2rem;}

.colourblock {
  background: rgb(255, 241, 169);
  padding-bottom: 8rem;
}

.colourcallout {
  padding: 3rem;
  margin: 0;
  background: rgb(168, 229, 223);
}

.colourcallout:nth-of-type(2) {
  margin: 5% 5% 5% 10%;
  padding: 2rem;
  background: hsl(120, 26%, 90%);
  color: var(--var(--charcoal));
}

p a:link {
  text-decoration: none;
  border-bottom: 1px solid var(--charcoal);
}

h1.smallcaps {
  font-weight: 500;
}

.memberid {
  transform: translate(0px, -100px);
  margin: 1rem;
  background: var(--beigebg);
  border: 0.5px solid var(--lightbrown);
  padding: 0.5rem 1rem 1rem;
}
.headshot { margin-top:1rem; }
#teamgrid p {
  margin-bottom: 0px;
}

nav {
  &.primary-navigation {
    margin: 0px;
    display: flex;
    padding: 0px;
    text-align: right;
    justify-content: flex-end;
  }

  ul li {
    list-style: none;
    margin: 0px;
    display: inline-block;
    padding: 0px;
    margin-left: 2rem;
    position: relative;
    text-decoration: none;
    text-align: right;
  }

  primary-navigation li:first-of-type {
    margin-left: 0px;
  }

  li a {
    text-decoration: none;
  }

  li a:hover {
    /* color: #3ca0e7; */
  }

  li:hover {
    cursor: pointer;
  }

  ul li ul.dropdown {
    visibility: hidden;
    display: none;
    opacity: 0;
    position: absolute;
    z-index: 200;
    margin: 0 0 0 -1rem;
    background: whitesmoke;
    padding: 0;
    width: 32ch;

  }


  ul.dropdown>li {
    padding: 1rem 1rem 0 1rem;
    margin: 0;
    border-bottom: 1px solid var(--beigebg);
    display: flex;
  }

  ul.dropdown li:hover {
    background: white;
  }

  ul li:hover>ul,
  ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
    text-align: left;
  }

  ul li ul li a {
    clear: both;
    font-size: .875rem;
    width: 100%;
    text-align: left;
    margin-bottom: 16px;
    margin-left: 0px;
    padding-left: 0px;
  }

  ul li ul li a:hover {
    color: black;
  }
}

ul li ul li a {
  transition: all 0.125s ease;
}

.primary-navigation>ul {
  margin-top: 0px;
}

hr {
  height: 0.5px;
  background-color: var(--brown);
  border: none;
  opacity: 1;
  margin-bottom:1rem;
}



/*********************
  Media Query Classes
**********************/
@media only screen and (max-width: 600px) {

  .hide-on-small-only,
  .hide-on-small-and-down {
    display: none !important;
  }
}

@media only screen and (max-width: 900px) {
  .hide-on-med-and-down {
    display: none !important;
  }
}

@media only screen and (min-width: 601px) {
  .hide-on-med-and-up {
    display: none !important;
  }
}

@media only screen and (min-width: 601x) and (max-width: 900px) {
  .hide-on-med-only {
    display: none !important;
  }
}

@media only screen and (min-width: 900px) {
  .hide-on-large-only {
    display: none !important;
  }
}

@media only screen and (min-width: 901px) {
  .show-on-large {
    display: block !important;
  }
}

@media only screen and (min-width: 601px) and (max-width: 899px) {
  .show-on-medium {
    display: block !important;
  }
}

@media only screen and (max-width: 600px) {
  .show-on-small {
    display: block !important;
  }
}

@media only screen and (min-width: 601px) {
  .show-on-medium-and-up {
    display: block !important;
  }
}

@media only screen and (max-width: 899px) {
  .show-on-medium-and-down {
    display: block !important;
  }
}

@media only screen and (max-width: 600px) {
  .center-on-small-only {
    text-align: center;
  }
}

/* -------------------- */

#projects summary:before {
  display: none;
}

#projects summary {
  font-size: unset;
  padding: 0px;
  margin: 0px;
}

#mobilenav .anglofranco {
  text-align: right;
}

.time {
  margin-bottom: 0px;
  padding: 1rem 0px;
  border-top: 1px solid var(--charcoal);
}

.time h4 {
  font-variant-numeric: lining-nums;
}

.info {
  margin-top: 0px;
  padding: 1rem 0px;
  border-top: 1px solid var(--charcoal);
  font-variant-numeric: lining-nums;
}

.info:first-child {
  border-top: 0px;
}

.agenda {
  padding: 0px;
}

/* .agenda {
  padding: 0px 0px 0px 1rem;border-left:1px solid var(--charcoal);padding-left:1rem;
} */

.info p+h3 {
  font-weight: 500;
  line-height: 1.25;
  font-size: 1.25rem;
  letter-spacing: -0.25pt;

  margin-bottom: .25rem;
  margin-top: .5rem;
}

.info h3+p {
  margin-bottom: .25rem;
  margin-top: 2px;
  font-weight: 400;
  font-size: 1rem;
  padding-bottom: 1rem;
}

.time h4 {
  margin: unset;
  font-weight: 500;
  margin-left: 1rem;
}

.ticketslink {
  padding: 1rem 1.5rem;
  margin-top: 0px;
  margin-bottom: 2rem;
  display: inline-block;
  font-size: 1.5rem;
  background: var(--greeen);
  color: white;
  border-radius: 8px;
}

a.ticketslink:link {
  color: white;
  background: var(--greeen);
}

a.ticketslink:hover {
  color: var(--greeen);
  background: white;
}

a.ticketslink:visited {
  color: white;
  background: var(--greeen);
}

a.ticketslink:visited {
  color: white;
  background: var(--greeen);
}

.bormarpa {
  border-top: 1px solid var(--charcoal);
  margin-top: 2rem;
  padding-top: 1rem;
}

.whitebg {
  background: white;
}

.break {
  border: 0px;
}

.break+.time {
  border-top: 0px;
  border-bottom: 0px;
}

.time+.break {
  border-top: 0px;
  border-bottom: 0px;
}

.break+.info {
  border: 0px;
}

.info+.break {
  border: 0px;
}

.deborder {
  border: 0px;
}

@media only screen and (max-width: 600px) {
  .time h4 {
    margin-left: 0px;
    font-size: .8rem
  }
  .main { margin: 1rem 2rem 2rem 2rem;}
  .time {
    padding-left: 0px;
    border-top: 2px solid var(--charcoal);
  }

}

.callforteachers {
  background-color: var(--palebluebg);
  padding: 1rem 1.5rem 1rem 1.25rem;
  border: .5 solid var(--charcoal);
  margin: 1rem 0;
  border-radius: .25rem;
  mix-blend-mode: multiply;

}

.callforteachers p {
  font-size: clamp(.75rem, .75rem + 1vw, 1rem);
  margin-bottom: .75rem;
  max-width: unset;
}

.callforteachers h3 {
  font-size: 1.5rem;
  margin: 0px 1rem 0 0;
  font-weight: 600;
}


