@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");

/* Rambler.css - working copy */
* {
  box-sizing: border-box;
}

body,
html {
  overscroll-behavior: none;
}

html {
  font-size: 15px;
  font-family: Georgia, Helvetica, sans-serif;
  box-sizing: border-box;
}

/*

  */

body {
  background-color: aliceblue;
  /*  background-image: url("/assets/images/paper.png"); 
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;   */
}

/* ELEMENTS - ALPHABETICAL ORDER */
a {
  text-decoration: none;
  word-wrap: break-word;
}

button.center {
  margin: 0 auto;
  display: block;
}

dd {
  margin-bottom: 0.2rem;
  margin-left: 0;
  text-align: left;
}

dt {
  text-align: right;
}

.dl {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.dl-horizontal {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.5rem;
}

.dl-horizontal dt {
  flex: 0 0 auto;
  width: 37%;
}

.dl-horizontal dd {
  flex: 0 0 auto;
  width: 60%;
}

h2 {
  color: darkcyan;
  column-span: all;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0.3rem;
}

/*
h3.toc-title {
  color: darkcyan;
  column-span: all;
  font: Roboto, Lato, Open Sans;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

h4 {
  column-span: all;
  text-align: center;
}

*/

h3.toc-title {
  color: black;
  column-span: all;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-left: 2rem;
  display: inline-block;
}

h3.article-author {
  column-span: all;
  font: Roboto, Lato, Open Sans;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  padding-top: 0;
}

h3.article-subtitle {
  column-span: all;
  font: Roboto, Lato, Open Sans;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: bold;
  color: black;
  text-align: center;
  margin-top: 0;
  padding-top: 0;
}


hr {
  width: 100%;
}

/*
li.toc>a {
  color: black;
 font-weight: bold;
  font-size: 1.1rem;
  text-align: left;
  margin-bottom: 0;
  margin-top: 0;
}
*/

li.toc>a {
  font-family: Roboto, Lato, Open Sans;
  color: black;
  font-size: 0.8rem;
  text-align: left;
  margin-bottom: 0;
  margin-top: 0;
}

li.page-column {
  display: none;
}

/* new Nov 25 */
.border {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 1rem;
  flex-wrap: wrap;
}

/*new Nov 25 */
.page1-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 1rem;
  flex-wrap: wrap;
}

.page1-article {
  padding: 1rem;
  flex: 1 0 59%;
}

.page1-article h2 {
  margin-top: 0;
}

.rcorners2 {
  border-radius: 25px;
  border: 1px solid rgb(0, 200, 200);
  padding: 0.5rem;
  padding-top: 0;
  display: inline-block;
  margin-top: 1rem;
  margin-right: 1.5rem;
}

/*
ul.toc-entries {
  margin-left: 20vw;
  list-style-type: none;
}
*/

ul {
  list-style-type: none;
}

ul.toc-entries {
  margin-left: 0;
  list-style-type: none;
}

/* IDs - ALPHABETICAL ORDER */
/* 2024 Winter ToC was coloured pink */
/* 2025 Spring ToC was coloured mauve #F0E5F9  #E0E9be/pink  */
#ToCIndex {
  float: left;
  width: 21rem;
  margin: 10px;
//  background-color: #E0E9be;
  border: 1px solid black;
  border-radius: 1rem;
  padding: 0.4rem;
}

.background-spring {
//  background-color: #E0E9be;
  background-image: linear-gradient(to top, white, #E0E9be);
}

.background-summer {
//  background-color: #feffa6;
  background-image: linear-gradient(to top, #f7ed08, #05b0fa);
}

.background-fall {
//  background-color: #ffcfbd;
  background-image: linear-gradient(to top, #ff8414, #b1d0f4); 
}

.background-winter {
  background-image: linear-gradient(to top, #e8e3e3, #b1d0f4); 
}

/* CLASSES - ALPHABETICAL ORDER */

/* used only in Part4-contacts */
.border {
  border: 1px solid black;
  border-radius: 5px;
}

.banner-container {
  height: 50px;
  width: 60%;
  position: relative;
  border: 1px solid black;
  border-radius: 3rem;
  margin: 0 auto;
  margin-top: 0.8rem;
}

.vertical-center {
  margin: 0;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.callout {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 5%;
  margin-right: 5%;
  font-family: Roboto;
  font-style: italic;
  font-weight: 700;
  font-size: 120%;
}

/* used only in Part4-contacts */
.container {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.5rem;
  row-gap: 1rem;
  width: 95vw;
  padding: 0.5rem;
  overflow: hidden;
  justify-content: center;
}

/*
used only in Part4-contacts
.container-info {
  padding: 0.5rem;
  width: 25rem;
  text-align: center;
  font-size: 0.9rem;
  max-width: 25rem;
  background-color: lightyellow;
}
*/
.container-info {
  padding: 0.5rem;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.8rem;
  background-color: unset;
  width: unset;
  font-family: Roboto, Lato, Open Sans;
}

/* used only in Part4-contacts */
.container-info p {
  text-align: left;
}

.span-all-columns {
  column-span: all;
}

.div-didyouknow-outer {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.div-didyouknow-inner {
  position: relative;
}

.end-of-doc-spacing {
  height: 1.5rem;
  vertical-align: middle;
}

.img-didyouknow {
  height: 30px;
  border: 2px solid darkcyan;
  border-radius: 2rem;
  background-color: yellow;
  top: 0;
  left: -75px;
}

.end-of-article {
  margin-top: 0;
  padding-top: 0;
  text-align: center;
  font-size: 1.25rem;
}

.end-of-article img {
  width: 5rem;
}

/* not used anywhere -Nov 16 2024 */
.final-paragraph {
  padding: 0.8rem;
  padding-bottom: 0.3rem;
  font-size: 0.8rem;
  margin: 0 auto;
  display: block;
  font-style: italic;
}

/* used only on Part4-contacts.html */
.full-row {
  width: 100%;
  text-align: center;
}

.image-container-right {
  float: right;
  margin-left: 1.2rem;
  /*  margin-bottom: 1.2rem; */
}

.image-container-right img {
  max-width: 100%;
}

.image-caption-right {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.image-container-left {
  float: left;
  margin-right: 1.2rem;
  /*  margin-bottom: 1.2rem; */
}

.image-container-left img {
  max-width: 100%;
}

.image-caption-left {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.image-container-center {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: block;
}

.image-container-center img {
  max-width: 100%;
}

.image-caption-center {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.image-grey-rounded {
  border: 2px solid grey;
  border-radius: 1rem;
  width: 100%;
}

.in-article-title {
  margin-top: 0;
  margin-bottom: 0.3rem;
  color: darkcyan;
  text-decoration: underline;
}

.in-article-author {
  column-span: none;
  padding-top: 0;
  margin-top: 0;
  text-align: left;
}

/* not used anywhere Nov 16 2024 */
.indent {
  margin-left: 20px;
}

.issue-info {
  font-size: 1.25rem;
  font-weight: bold;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.masthead {
  position: relative;
  /*width: 80%;*/
  display: block;
  margin: 0 auto;
}

.masthead img {
  max-width: 100%;
}

.masthead-issue {
  font-family: Roboto, Lato, Open Sans;
  font-size: 1.4cqw;
  display: inline-block;
  position: absolute;
  bottom: 28%;
  left: 50%;
}

.newspaper {
  column-width: 25rem;
}

.article>p {
  margin-top: 1.4rem;
  line-height: 1.4rem;
}

.article-tight-spacing>p {
  margin-top: 1.1rem;
  line-height: 1.4rem;
}

.article-tighter-spacing>p {
  margin-top: 0.8rem;
  line-height: 1.4rem;
}

/*  used only in one article Winter 2024 */
.newspaper>p:last-of-type {
  /*  margin-top: 0;  */
  margin-bottom: 0;
  padding-bottom: 0;
}

/* not used anywyere as of Nov 16 2024 */
.newspaper>p:first-of-type {
  margin-top: 0;
}

/* used only in Part2-mast.html as of Nov 16 2024 */
.online-issue {
  display: none;
}

.outer-container {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  display: block;
  padding: 0.8rem;
}

/* --- Poem */

.poem {
  border: 1px solid black;
  border-radius: 1rem;
  break-inside: avoid;
  margin: 0.5rem auto;
  max-width: 25rem;
}

.poem-inner>p {
  padding: 0;
  padding-left: 1rem;
  margin-top: 0rem;
  margin-bottom: 0.1rem;
  line-height: 1;
  font-size: 0.8rem;
}

.poem>h2 {
  font-size: 1.2rem;
}

.poem>.image-container-center {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.poem-inner {
  width: 25rem;
  margin: 0 auto;
}

.wellness-divider {
  height: 8px; 
  width:60%; 
  background-image: linear-gradient(to right, #63CCEA, #7F79F7); 
  margin-top: 0; 
  margin-bottom: 1.5rem;
}

@media print {
  .poem-inner>p {
    font-size: 0.7rem;
  }
}

/* end of poem */
.print-only {
  display: none;
}

.spacing-for-print {
  display: none;
}

/* new Nov 25 */
.toc-border {
  border: 1px solid black;
  border-radius: 1rem;
  break-inside: avoid;
  flex: 1 0 39%;
}

.toc {
  color: black;
  font-family: Roboto;
  font-size: 0.8rem;
  text-align: r;
  margin-bottom: 0;
  margin-top: 0;
}

.toc span {
  text-align: right;
  width: 1.025rem;
  padding-right: 0.2rem;
}

.toc-index {
  /*       margin-left: 2rem; */
  font-size: 0.8rem;
  font-family: Roboto, Lato, Open Sans;
  width: unset;
}

.x-index {
  width: 80%;
  display: block;
  margin: 0 auto;
  font-size: 1rem;
}

@media screen and (max-width: 800px) {
  .poem {
    margin: 0.5rem auto;
  }

  .poem-inner {
    width: 18rem;
  }

  .poem-inner>p {
    font-size: 0.7rem;
    padding: 0;
    padding-left: 1rem;
    margin-top: 0rem;
    margin-bottom: 0.1rem;
    line-height: 1;
  }

  #ToCIndex {
    margin: 0 auto !important;
    float: none !important;
  }

  .toc-index {
    width: 100%;
  }
}

@media print {

  /* This turns on background colour printing for elements */
  * {
    -webkit-print-color-adjust: exact;
  }

  body {
    /* This removes the page background for printed version (pdf) */
    background-color: unset;
    /*  width: 177.9mm;   */
  }

  /* The following html css was added Feb 25 so the pdf would print correctly */
  html {
    font-size: 18px;
  }

  /*
  @page {
    size: letter portrait;
    margin-left: 19mm;
    margin-right: 19mm;
    margin-top: 29mm;
    margin-bottom: 21mm;
  }
*/

  @page:right {
    @bottom-right {
      font-size: 15px;
      content: counter(page);
    }
  }

  /*
  @page{
    @bottom-center{
      font-size: 15px;
      content:'Rambler Spring 2025';
    }
  }
*/

  @page:left {
    @bottom-left {
      font-size: 15px;
      content: counter(page);
    }
  }

  button.center {
    display: none;
  }

  /* used only in Part4-contacts.html */
  .container {
    background-color: lightyellow;
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }

  /* used only on Part4-contacts.html */
  .container-info {
    background-color: lightyellow;
    width: 49.1%;
    font-size: 0.7rem;
    max-width: unset;
    min-width: unset;
  }

  .dl-horizontal dt {
    width: 37%;
  }

  .dl-horizontal dd {
    width: 60%;
  }

  li.toc>a {
    font-size: 0.8rem;
    font-family: Roboto, Lato, Open Sans;
  }

  /*
  li.page-column {
    color: black;
   font-weight: bold;
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
    display: block;
  }
*/
  li.page-column {
    color: black;
    font-size: 0.8rem;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 0;
    display: block;
  }

  /*  li.web-only {
    display: block;
  }
*/
  .newspaper {
    column-width: auto;
    column-count: 2;
  }

  .online-issue {
    font-size: 0.9rem;
    font-weight: bold;
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  .noprint {
    display: none;
  }

  .inline {
    display: inline-block;
  }

  .outer-container {
    margin: 0;
    padding: 0;
  }

  .print-only {
    display: inline-block;
  }

  .spacing-for-print {
    display: block;
  }

  ul.toc-entries {
    margin-left: 6vw;
  }

  .page-break-before {
    page-break-before: always;
  }

  .page-break-after {
    page-break-after: always;
  }
}