/* =================================================== */
/* =====  iPAD AND SMALLER SCREENS */
/* =================================================== */
/* iPad and other  mobile devices */
article.newsflash {
  border: 1px solid rgb(224, 210, 12);
  padding: 0.8em;
  margin: 0 0 1em 0;
  background-color: white;
}
p.newsflash {
  font-family: "Maison-Neue-Light";
  font-size: 0.9em;
  font-weight: bold;
  margin: 0;
  line-height: 1.5em;
  color:  darkgreen;
}
p.whatsnew {
  color: blue;
  font-family: "Maison-Neue-Light";
  font-variant: normal;
  text-align: center;
  font-size: 1em;
  font-weight: 400;
margin: 0;
  padding: 0.5em 0;
  line-height: 1.2em;
 }

 .whatsnew a {
  text-decoration: none;
  color: blue;
 }

div.presentations img {
  display: block;
  margin: 1em auto;
  width: 80%;
}

h2.slidenote {
  margin:0 0 5px 1em;
}

p.center {
  text-align: center;
}

/* MAIN CONTENT* */
main#all-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
  "top-side"
  "roaming-box"
  "dear-friends"
  "aside"
  ;
}

/*Color swap for narrow screens */
div.artifact,
div.board,
div.looking-back,
div.presentations,
div.roaming {
  margin: 3px auto;
  padding: 0.5em;
  border: 0;
}

div.roaming {
  background-color: whitesmoke;
  border-bottom: 1px slategray dotted;
  margin-bottom: 1em;
  padding-bottom: 5px;
}

/* moves from left side to top in narrow screens */
div.roaming {
  grid-area: roaming-box;
}

div.roaming h2,
div.roaming h3,
div.aside-left h2 {
  text-align: center;
  padding: 0;
}

div.roaming li {
  text-align: center;
  margin: 2em 0.8em;
}

div.roaming li a {
  outline: 2px solid olivedrab;
  outline-offset: 0.4em;
  text-align: center;
  margin: 0 0.8em;
  border: none;
}

div.roaming li a.no-show {
  outline: 0 solid white;
}

/* moves to the bottom in narrow screens */
div.aside-left {
  align-items: center;
  margin: 0 auto;
  padding: 0;
  grid-area: aside;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "look-back"
    "presentations"
    "board";
}

div.presentations {
  grid-area: presentations;
  align-items: center;
}

div.looking-back {
  grid-area: look-back;
}

div.board {
  grid-area: board;
}

div.board h2 {
  text-align: center;
}

ul.board-list li a {
  text-align: center;
  margin-left: 1em;
  color: black;
  border-bottom: darkgreen 1.5px solid;
}

ul.board-list li a:hover {
  color: red;
  border: 0;
  outline: rgb(8, 52, 8) 1px dotted;
  outline-offset: 5px;
}

div.board li {
  padding-left: 1em;
  list-style: none;
}

/* MAIN CONTENT */
.main-right h2 {
  text-align: left;
  padding-left: 0;
}

.main-right {
  margin: 0.5em;
  margin-top: 1em;
  grid-area: top-side;
  border-left: 2px gray solid;
  background-color: whitesmoke;
  display: grid;
  grid-template-areas:
    "slideshow"
    "roaming"
;
  height: auto; /*set as is appropriate */
  margin: 0;
}

article.slideshow {
  grid-area: slideshow;
}
h1 {
  font-size: 1.2em;;
}

p {
  font-family: "Maison-Neue-Light";
  margin-left: 0;
  width: 100%;
  font-size: 0.8em;
  font-weight: 100;
  letter-spacing: 0.05em;
  margin-bottom: 0;
  padding-bottom: 0;
}

article.slideshow {
  grid-area: slideshow;
}

article.dear-friends {
  grid-area: dear-friends;
}

/* =================================================== */
/* =====  LARGE SCREENS SCREENS */
/* =================================================== */
/* iPad and other  mobile devices */
@media screen and (min-width: 771px) {
  /* Background and border color switches */
  /* Move to left column on wide screens */
  /* add additional items for uniformity */
  div.artifact,
  div.board,
  div.looking-back,
  div.presentations,
  div.roaming {
    margin: 0.5em auto;
  }
  div.roaming {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  div.presentations {
    text-align: center;
  }

  /* MAIN CONTENT* */
  main#all-content {
    margin-top: 1em;
    grid-template-columns: 2fr 3fr;
    gap: 3px;
    grid-template-areas:
      "roaming-box top-side"
      "aside top-side"
      "board top-side";
  }


  div.roaming li {
    margin: 1em 1em;
  }

  div.roaming li a {
    outline: 1px solid olivedrab;
    outline-offset: 0.3em;
    text-align: center;
    margin: 0 0.3em;
  }

  ul.board-list {
    align-items: center;
  }

  div.board a {
    margin-left: 1em;
    font-size: 1em;
  
    color: black;
    text-decoration: none;
    line-height: 1.5em;
  }

 p.whatsnew {
  color: rgb(7, 73, 5);
  font-family: "Maison-Neue-Light";
  font-variant: normal;
  text-align: center;
  font-size: 1em;
  font-weight: 600;
  padding: 0.5em 0;
  line-height: 1.4em;
 }

 .whatsnew a {
  text-decoration: none;
  color: blue;
 }

  ul.board-list li {
    padding-left: 2em;
    list-style: none;
  }

  #newsarticlelinks a {
    line-height: 1em;
    list-style: none;
    text-decoration: none;
    color: black;
    font-size: 0.9rem;
  }

  #newsarticlelinks li.fancy {
    background-color: rgba(204, 204, 204, 0.6);
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
    margin: 0.3rem 1rem;
    margin-left: 0;
    list-style: none;
    font-size: 2em;
    text-align: center;
  }

  #newsarticlelinks li a {
    line-height: normal;
    list-style: none;
    font-size: 1rem;
    text-align: center;
  }

  #newsarticlelinks li a:hover {
    border-bottom: rgb(63, 13, 201) 2px solid;
  }
  
  hr {
    margin-bottom: 1em;
    width: 65%
  }
}
