/* Reset some default styles */
body, title, h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

/* Apply basic styling to the page */
body {
  /*font-family: 'CrimsonText-Regular', Arial, serif;*/
  font-family:'LatinModernSans10Regular', Arial, sans-serif;
  line-height: 1.1;
  background-color: #f1f1f1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.background{
	width: 100%;
	margin: auto;
	background-color:#e1e1e1;
}

/* Container for the article */
.document{
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 1px solid black;
  width: 90%;
  max-width: 900px;
	box-sizing: border-box; /* Ensures padding doesn’t shrink the width */
	margin: auto;
	margin-top: 20px;
	margin-bottom: 30px;
	border: solid 0.5px black;
	background-color: #fdfdfd;
  padding: 20px;
}

/*
.text_math_figs, .text_figs, .text_figs__big_font, .poem{
   margin: auto;
	margin-top: 20px;
	margin-bottom: 30px;
   padding: 20px;
	border: solid 0.5px black;
	background-color: #f1f1f1;
}
*/


/* Style for text */
.document title, .document h1, .document h2, .document h3 {
  text-align: center;
  color: black;
  text-decoration: none;
  font-weight: normal;
}
.document title,.document h1 {
	font-size: 36px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.document h2{
	font-size: 22px;
  margin-top: 20px;
  margin-bottom: 5px;
}
.document h3{
	font-size: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.document p {
	margin: 10px 30px 20px 20px;
	text-align: left;
	color: black;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 20px;
  white-space: pre-line; /* Preserves poem line breaks */
}

a{
	color:black;
	text-decoration:underline;
}
a:hover{
	color:#666;
}

.document img {
    max-width: 100%;  /* Ensures the image does not exceed the div width */
    height: auto;      /* Maintains aspect ratio */
    display: block;    /* Prevents extra spacing below the image */
    margin: 10px auto; /* Centers the image */
    /*border-radius: 5px;*/ /* Optional: Slightly rounded corners for a softer look */
}

/* Responsive Design */
@media (max-width: 900px) {
    .document {
      padding: 15px;
      border-width: 1px;
      max-width: 95%; /* Allows it to take more space on mobile */
    }

    /*.document h1, {
        font-size: 20px;
    }
    
    .document p {
        font-size: 18px;
    }*/
}


/* other environments */
figure {
    margin: 0px;
}
figure img {
    vertical-align: top;
}
figure figcaption {
/*    border: 1px dotted blue;*/
	font-family:'CrimsonText-Regular', Arial, sans-serif;
	font-size: 14px;
	margin-top: 10px;
}

.caption{text-align: center;}

.center {
	text-align:center;
	margin: auto;
}

.float_left, .float_right{
	display: inline-block;
}
.float_left{
	float:left;
	margin-right:10px;
}
.float_right{
	float:right;
	margin-left:10px;
}
.tiles{
	margin:auto;
	text-align: justify;
	-ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}
.tiles img{
	vertical-align: top;
  display: inline-block;
  zoom: 1;
}
.stretch{
	width: 100%;
  display: inline-block;
  font-size: 0;
  line-height: 0;
}
.border {
	border:1px solid #000;
}
.text_box, .text_box_left, .text_box_right{
	width: 390px;
	margin:20px 20px 20px 20px;
	border:solid 1px;
	background-color: #cad0cd; /*green grey 1*/
	/*background-color: #c4c6c9;*/ /*blue grey 1*/
	/*background-color: #f1eceb;*/ /*red grey 1*/
	/*background-color: #f1efeb;*/ /*yellow grey 1*/
}
.text_box, .text_box_left, .text_box_right p{
	font-size:16px;
	text-align:justify;
	margin:10px 15px 10px 15px;
}
.text_box{
	margin:auto;
	margin-top:20px;
	margin-bottom:20px;
}
.text_box_left{
	float:left;
}
.text_box_right{
	float:right;
}
.line, .line_top{
	margin: auto;
	width: 80%;
	border: none;
	height: 1px;
	background: #000;
}
.line{
	margin-top: 20px;
	margin-bottom: 20px;
}
.line_top{
	margin-top: 15px;
	margin-bottom: 0px;
}
.gap_top{
height:2em;
}
.gap{
height:1.5em;
}
.gap_bottom{
height:2em;
}
.section_break{
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}
.section_break_image{
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}
.quote_credit{
text-align: right;
margin-right: 50px;
}


/* for background images */
/*body, html {
  height: 100%;
  margin: 0;
}

.auxiliary_image_background {
  background-image: url("Yule_Creek__Raggeds-020.jpg");
  height: 100%; 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}*/














.text_figs__big_font table, th, td{
	border: 1px solid black;
	padding: 0px;
	margin: 0px;
	font-family: 'CrimsonText-Regular', serif;
	border-collapse: collapse;
}
.text_figs__big_font th{
	font-style: normal;
	text-decoration: none;
	text-align:left;
	font-size:17px;
	padding: 5px;
	background-color: #e1e1e1;
}
.text_figs__big_font td{
	font-style: normal;
	text-decoration: none;
	text-align:left;
	font-size:16px;
	padding: 5px;
}
.text_figs__big_font td ul{
	font-size:16px;
	margin-left: 0px;
}
.text_figs li{
	font-family: 'CrimsonText-Regular', serif;
	font-size:17px;
	text-align:left;
	margin:20px 20px 20px 20px;
}
.text_math_figs p{
	/*font-family:'LatinModernSans10Regular', Arial, sans-serif;*/
	/*font-family: 'CrimsonText-Regular', serif;*/
	/*font-family: 'ComputerModern-sansserif', sans-serif;*/
	font-family: 'ComputerModern-serif', sans-serif;
}
.text_figs p, .text_figs__big_font p{
	font-family: 'CrimsonText-Regular', serif;
}

.poem{
	/*font-family:'LatinModernSans10Regular', Arial, sans-serif;*/
	font-family: 'CrimsonText-Regular', serif;
	text-align:left;
	font-size:17px;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 30px;
	padding: 20px;
	border: solid 0.5px;
	background-color: #f1f1f1;	
	width: 350px;
}

.poem p{
	font-size:17px;
	text-align:left;
	margin:0px;
}

.poem .title{
	text-align: center;
	font-size: 23px;
	margin-bottom: 20px;
	margin-top: 0px;	
}

.poem .sub_title{
	font-style: italic;
	text-align: left;
	font-size: 20px;
	margin-top: 30px;
	margin-bottom: 5px;
	padding: 0px;
}

.math{
    font-family: initial !important;
    font-size: 17px;
    /*font-size: initial !important;*/
}

.title, .sub_title, .section_title, .subsection_title, .title_modest {
	text-align:center;
	font-family: 'CrimsonText-Regular', serif;
	/*font-family:'TitilliumText22LRegular',Arial, sans-serif;*/
	/*font-family: 'ComputerModern-sansserif', sans-serif;*/
	/*font-family: 'ComputerModern-serif', sans-serif;*/
}

.title {
	font-size:32px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.title_modest {
	font-size:20px;
	margin-top: 10px;
	margin-bottom: 20px;
}

.sub_title{
	font-size:32px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.section_title{
	font-size:28px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.subsection_title{
	font-size:24px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*figcaption {
  background-color: black;
  color: white;
  font-style: italic;
  padding: 2px;
  text-align: center;
}*/
.center {
	/*display:inline;*/
	text-align:center;
	margin: auto;
}
.float_left{
	float:left;
	margin-right:10px;
}
.float_right{
	float:right;
	margin-left:10px;
}
.tiles{
	margin:auto;
	text-align: justify;
	-ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}
.tiles img{
	vertical-align: top;
    display: inline-block;
    zoom: 1;
 }
.stretch{
	width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

.clear{
	clear: both;
}

.gap{
height:20px;
}
.gap_small{
height:10px;
}
.gap_mid{
height:50px;
}
.gap_large{
height:100px;
}
.gap_top{
height:60px;
}

.border {
	border:1px solid #000;
}

.line{
	width: 80%;
	border: none;
	height: 1px;
	background: #000;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

.caption, .caption_right, .caption_left, .caption__no_width{font-size: 16px;
	margin:auto; /*10px 10px 10px 10px;*/
	font-family: 'CrimsonText-Regular', serif;
	font-style: italic;}
.caption_left{text-align: left;
	width: 300px;}
.caption_right{text-align: right;
	width: 300px;}
.caption{text-align:justify;
	width: 600px;}
.caption__no_width{text-align:justify;}

a{color:#000; text-decoration:underline;}
a:hover{color:#666;}

.quote_credit{
text-align: right;
margin-right: 50px;
}

.date{
font-size: 16px;
text-align: right;
margin-right: 10px;
}

.section_break, .section_break_image{
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

.section_break_image{
	text-align: center;
}

.eqn_box_container{	
	display: flex;
	justify-content: center;
	align-items: center;
}
.eqn_box{
	background-color: #f9f9f9;
	border: solid 0.5px;
	padding: 0px 30px 0px 30px;
	/*padding-right: 30px;
	padding-left: 30px;*/
	margin: auto;
	text-align: center;
	display: inline-block;
}
.tab{
margin-left: 3em;
}
.audio{
	border: solid 0.5px;
}
