/*.background{
	width: 100%;
	margin: auto;
	background-color:#e1e1e1;
}*/

/* Reset some default styles */
body, h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

/* Apply basic styling to the page */
body {
    font-family: Arial, sans-serif;
    line-height: 1.1;
    background-color: #e1e1e1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container for the article */
.text_figs, .poem {
    background: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid black;
    width: 90%;
}

.text_figs{
	max-width: 900px;
}

.poem{
	max-width: 340px;
	box-sizing: border-box; /* Ensures padding doesn’t shrink the width */
}

/*.text_figs{
    width: 900px;
    border: 1px solid black;
    padding: 20px;
    margin:auto;
    background-color: #f1f1f1;
}*/

/* Style for headings */
.text_figs h1, .poem h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

/* Style for paragraphs */
.text_figs p, .poem, .poem p {
	/*font-family:'CrimsonText-Regular', Arial, sans-serif;*/
	font-family:'LatinModernSans10Regular', Arial, sans-serif;
    font-size: 18px;
    color: black;
    margin-bottom: 20px;
}

.poem p{
	white-space: pre-line; /* Preserves poem line breaks */
}

/*.text_figs p{
	font-family:'CrimsonText-Regular', Arial, sans-serif;
	font-size:1.2em;
	text-align:justify;
	margin:2em 2em 2em 2em;
}*/

.text_figs img, .poem 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) {
    .text_figs, .poem {
        padding: 15px;
        border-width: 1px;
    }

    .poem{
    	max-width: 95%; /* Allows it to take more space on mobile */
    }

    .text_figs h1, .poem h1 {
        font-size: 20px;
    }
    
    .text_figs p, .poem p {
        font-size: 18px;
    }
}

.gap_top{
height:2em;
}

.gap{
height:1.5em;
}

.gap_bottom{
height:2em;
}

figure {
/*    display: inline-block;*/
    /* border: 1px dotted gray; */
    margin: 0px;
    /* margin: 20px; */ /* adjust as needed */
}
figure img {
    vertical-align: top;
}
figure figcaption {
/*    border: 1px dotted blue;*/
	font-family:'LatinModernSans10Regular', Arial, sans-serif;
	/*font-family:'CrimsonText-Regular', Arial, sans-serif;*/
	font-size: 14px;
	margin-top: 10px;
}

.caption{text-align: center;}

.center {
	/*display:inline;*/
	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;
}


.line, .line_top{
	width: 80%;
	border: none;
	height: 1px;
	background: #000;
}

.line{
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

.line_top{
	margin: auto;
	margin-top: 15px;
	margin-bottom: 0px;
}

a{
	color:#000;
	text-decoration:underline;
}

a:hover{
	color:#666;
}

.title {
	text-align:center;
	font-size:36px;
	margin-bottom: 30px;
	font-family:'LatinModernSans10Regular', Arial, sans-serif;
	/*font-family: 'CrimsonText-Regular', serif;*/
	/*font-family:'TitilliumText22LRegular',Arial, sans-serif;*/
}

.subtitle{
    text-align:center;
	font-size:22px;
	font-family:'LatinModernSans10Regular', Arial, sans-serif;
	/*font-family: 'CrimsonText-Regular', serif;*/
	/*font-family:'TitilliumText22LRegular',Arial, sans-serif;*/
    margin-top: 10px;
    margin-bottom: 10px;
}

.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-family:'LatinModernSans10Regular', Arial, sans-serif;
	/*font-family: 'CrimsonText-Regular', serif;*/
	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;
}

/*.poem{
	font-family: 'CrimsonText-Regular', serif;
	text-align:left;
	font-size:18px;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 30px;
	padding: 20px;
	border: solid 0.5px;
	background-color: #f1f1f1;	
	width: 350px;
}*/

/*.poem .title{
	text-align: center;
	font-size: 23px;
	margin-bottom: 20px;
}*/

.rant{
	font-family:'LatinModernSans10Regular', Arial, sans-serif;
	/*font-family: 'CrimsonText-Regular', serif;*/
	text-align: justify;
	font-size:17px;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 30px;
	padding: 20px;
	border: solid 0.5px;
	background-color: #f1f1f1;
	width: 770px;
}

.rant .title{
	text-align: center;
	font-size: 23px;
	margin-bottom: 20px;
}

.rant .sub_title{
	text-align: center;
	font-size: 20px;
	margin-bottom: 20px;
}

.rant .section_title{
	text-align: left;
	font-style: italic;
	font-size: 19px;
	margin-top: 20px;
}

.rant p{
	margin: auto;
	margin-left: 30px;
	margin-right: 30px;
	padding-top: 5px;
	padding-bottom: 15px;
}

.section_break{
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}
.section_break_image{
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}
.line_tile{
background-image:url(../content/line_02.png);
margin:auto;
border:none;
display:block;
max-width: 100%;
/*height: 11px;*/
/*width:730px;
height:19px;*/
}

.quote_credit{
text-align: right;
margin-right: 50px;
}

/*.MathJax {
font-size: 20px;
}*/

.math_text{
	text-align: justify;
	font-size:17px;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 30px;
	padding: 20px;
	border: solid 0.5px;
	background-color: #f1f1f1;
	width: 770px;

}

.math_text .title{
	text-align: center;
	font-size: 23px;
	margin-bottom: 20px;
}

.math_text .section_title{
	text-align: left;
	font-style: italic;
	font-size: 19px;
	margin-top: 20px;
}

.math_text .sub_section_title{
	text-align: left;
	font-size: 18px;
	margin-top: 20px;
}

.math_text p{
	font-family:'LatinModernSans10Regular', Arial, sans-serif;
	/*font-family: 'CrimsonText-Regular', serif;*/
	font-size:1.2em;
	margin: auto;
	margin-left: 2em;
	margin-right: 2em;
	padding-top: 0.25em;
	padding-bottom: 1.2em;
}

.math_text .eqn_box_container{	
	display: flex;
	justify-content: center;
	align-items: center;
}
.math_text .eqn_box{
	background-color: #f9f9f9;
	border: solid 0.5px;
	padding: 0px;
	padding-right: 30px;
	margin: auto;
	text-align: center;
	display: inline-block;
}

.clear{
	clear: both;
}