/* @override 
	https://fonts.googleapis.com/css?* */

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&family=Merriweather+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,500;1,600;1,700;1,800&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

* {
    box-sizing: border-box;
}

html, button, input, select, textarea {
    color: #222;
}

html {
	margin: 0px;
	padding: 0px;
}
::-moz-selection, ::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    height: 1px;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
    font-size: 1em;
}

audio, canvas, img, video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.landscape, .portrait {
    object-fit: cover;
    max-height: 100%;
    height: 100%;
}

.landscape {
    flex-grow: 2;
    width: auto;
}

.portrait {
    flex-grow: 1;
    width: auto;
}

.image-wrapper {
    display: flex;
    gap: 1em;
    margin: auto;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .image-wrapper {
        flex-direction: column;
        height: auto;
    }

    .landscape, .portrait {
        width: 100%;
        height: auto;
    }
}

/* General Styles */
body {
	color: #2a2a1c;
}
p#matrix-b {
	color: #575c47;
}
span#matrix-c {
	color: #a45b39;
}

body, h5 {
    font-family: Merriweather;
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 0;
	color: #5d5d47;
}

h5 {
    font-weight: normal;
    margin: 0;
}

p, article p {
    padding: 0;
    margin: 0;
    text-indent: 2em;
}
li {
	margin-top: .5em;
	text-indent: 0;
}

li p {
	text-indent: 0;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.5em;
    margin: 1.3em 0 0.1em 0;
    font-family: "Merriweather Sans";
    font-weight: 800;
    color: #7c7c63;
}

h3 {
    margin: 1em 0 0 0;
    color: #60604b;
    font: 1.2em "Merriweather Sans";
}

h4 {
    font-size: 1em;
    margin: 1.33em 0 0.3em;
    border-bottom: 1px solid #ccc;
    height: 3em;
}

.chsp-image-box, .chsp-image-box img {
    max-width: 100%;
}

h2, h3, h4 {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

h3, h4 {
    padding-bottom: 0;
    color: olive;
    line-height: 1.5;
}

#submitter {
    text-indent: 0;
    color: #ffa500;
    font-weight: bold;
}

a, #toc li a {
    text-decoration: none;
    color: olive;
}

#toc li {
    margin-bottom: 0;
    list-style-type: none;
    text-indent: 0;
    margin: 1em 0;
}



a:hover, #toc a:hover {
    text-decoration: underline;
}

#panel, #panelchsp {
	background-color: #d4d4cf;
	padding: 1em;
}
#panelchsp {
	clear: both;
	text-align: center; 
}
#panel p {
 	text-indent: 0px;
 }
#panel h2 {
//	background-color: red;
	margin: 0;
	color: #807f00;
}
#question {
    text-indent: 0;
    color: gray;
    font-style: italic;
    font-size: 1em;
    line-height: 1.3em;
    max-width: 80%;
    orphans: 4;
    padding: 4px 0;
}

#answer {
    margin-left: 3em;
    text-indent: 0;
    padding-bottom: 1em;
}

#first, h5 {
    text-indent: 0;
    margin-top: 0;
    padding-top: 0;
}

.return a {
    color: navy;
    text-decoration: none;
    background-color: #e8e53f;
    text-indent: 0;
    font-size: 15px;
    padding: 15px;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 5px 5px 5px gray;
    position: fixed;
    right: 10px;
    width: 10em;
    line-height: 1em;
    bottom: 10px;
}

.return a:hover {
    box-shadow: 3px 3px 3px gray;
}

.main-container img, video {
    box-shadow: 5px 5px 10px silver;
    margin: 1em 0;
}

#damaris p {
    text-indent: -6em;
    margin-left: 6em;
}

#author {
    margin-top: 2em;
    text-indent: 0;
}

#date {
    font-family: "Averia Serif Libre";
    font-style: italic;
    margin-top: 0;
    text-align: right;
}

.wrapper {
    margin: 0 2em;
}

/* Orange Theme */
.header-container {
    border-bottom: 2px solid #e44d26;
    padding-top: 0;
    box-shadow: none;
}

.header-container .responsive {
    width: 100%;
    height: auto;
    max-width: 1920px;
}

.footer-container, .main aside {
    border-top: 20px solid #e44d26;
}

/* Image with Caption */
.imageWithCaption img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 0;
}

figure {
    margin: 0;
    padding: 0;
    float: left;
}

.imageWithCaption figcaption {
    display: block;
    color: #333;
    padding: 15px;
    text-align: left;
    font-size: 1em;
    margin-left: 3em;
    font-weight: bold;
    font-style: italic;
}

.main-container {
    background: #f1f1ef;
}

.title {
    color: white;
}

/* Mobile Menu */
nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background: #e44d26;
}

nav a:hover, nav a:visited {
    color: white;
    text-decoration: underline;
}

/* Mobile Main */
.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* IE Fixes */
.ie7 .title {
    padding-top: 20px;
}

/* Intermediate Menu */
@media only screen and (min-width: 480px) {
    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

/* Wide CSS3 Effects */
@media only screen and (min-width: 768px) {
    .header-container, .main aside {
        box-shadow: 0 5px 10px #aaa;
    }

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

    .main article {
        float: none;
        max-width: 42em;
        margin: auto;
		padding: 0 1em;
//        background-color: white;
    }

    .main aside {
        float: right;
        width: 28%;
    }
}
#name {
	color: olive;
	text-indent: 0px;
	border-top: 1px solid silver;
	padding-top: 20px;
	font-size: 120%;
}

/* Maximal Width */
@media only screen and (min-width: 1140px) {
    .wrapper {
        width: 1026px;
        margin: 0 auto;
    }
}

/* Helper classes */
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width:
/*======================================*/ 
#variable-image-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    grid-gap: 0.5em; /* Space between the images */
    max-width: 60em;
    margin: 0 auto;
    align-items: center; /* Align items vertically in the middle */
}

#portrait-img, #landscape-img {
    width: 100%; /* Take up the full width of the grid cell */
    height: auto; /* Maintain aspect ratio */
    max-height: 100vh; /* Ensure images don't exceed the viewport height */
    object-fit: contain; /* Scale the images while maintaining aspect ratio */
}
.imgrow {
	display: -ms-flexbox; /* IE10 */
	display: flex;
	-ms-flex-wrap: wrap; /* IE10 */
	flex-wrap: wrap;
	padding: 0 14px;
}

/* Create four equal columns that sits next to each other */

.img3column {
	-ms-flex: 33%; /* IE10 */
	flex: 33%;
	max-width: 33%;
	padding: 0 4px;
}

.img1column {
	-ms-flex: 100%; /* IE10 */
	flex: 1050%;
	max-width: 100%;
	padding: 0 4px;
}

.img2column {
	-ms-flex: 45%; /* IE10 */
	flex: 45%;
	max-width: 45%;
	padding: 0 4px;
}

.imgcolumn img, .img2column img, .img1column img {
	margin-top: 8px;
	vertical-align: middle;
	width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */

@media screen and (max-width: 800px) {
	.img3column {
		-ms-flex: 50%;
		flex: 50%;
		max-width: 50%;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
	.img2column, .img3column {
		-ms-flex: 100%;
		flex: 100%;
		max-width: 100%;
	}
}/* styles.css */

.image-frame {
	display: inline-block;
	border: 2px solid #ccc;
	padding: 10px;
	margin: 10px;
	text-align: center;
}

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

.image-frame::after {
	content: attr(caption);
	display: block;
	font-size: 14px;
	color: #888;
	margin-top: 5px;
}

.image-frame {
	display: inline-block;
	border: 2px solid #ccc;
	padding: 10px;
	margin: 10px;
	text-align: center;
}

.image-frame figcaption {
	font-size: 14px;
	color: #888;
	margin-top: 5px;
}

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&family=Merriweather+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,500;1,600;1,700;1,800&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');
  

* {
	box-sizing: border-box;
}

html, button, input, select, textarea {
	color: #222;
}

html {
	
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

hr {
	/*	display: block; */
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
	font-size: 1em;
}

audio, canvas, img, video {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea {
	resize: vertical;
}

.browsehappy {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

.landscape, .portrait {
	object-fit: cover;
	max-height: 100%;
	height: 100%;
}

.landscape {
	flex-grow: 2;
	width: auto;
}

.portrait {
	flex-grow: 1;
	width: auto;
}
.image-wrapper {
	display: flex;
	gap: 1em; /* This introduces the gap between the images */
	margin: auto 0em auto 0em;
}


/* Mobile Styles */

@media (max-width: 768px) {
	.image-wrapper {
		flex-direction: column;
		height: auto;
	}
	
	.landscape, .portrait {
		width: 100%;
		height: auto;
	}
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
	font-family: Merriweather;
	font-size: 1.0em;
	line-height: 1.8;
	margin-bottom: 0px;
}

p, article p {
	padding: 0;
	margin: 0;
	text-indent: 2em;
}
h1 {
	font-size: 2em;
	margin: .67em 0
}

h2 {
	font-size: 2em;
	margin: 1.3em 0 .1em 0;
	font-family: "Merriweather Sans";
	border-top: 1px solid silver;
	padding: .75em 0 0 0;
	font-weight: 800;
	color: olive;
}

h3 {
	margin: 1.9em 0 0.3em;
	color: black;
	font: 1.4em "Merriweather Sans";
	margin-bottom: 10px;
}

h4 {
	font-size: 1em;
	margin: 1.33em 0 .3em;
}


.chsp-image-box, chsp-image-box img {
	max-width: 100%;
}

h2, h3, h4 {
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.0;
}

h3, h4 {
	padding-bottom: 0;
	color: olive;
	line-height: 1.5;
	letter-spacing: .04em;

}

#submitter {
	text-indent: 0px;
	color: #ffa500;
	font-weight: bold;
}

a, #toc li a {
	text-decoration: none;
	color: olive;
}

#toc li {
	margin-bottom: 0px;
}

#toc li, li {
	list-style-type: none;
	text-indent: 0px;
	margin: 1em 0 0 0;
}

.8space li, .8space ul {
	margin: 0px;
}
#citysidereports #name {
	color: olive;
	text-indent: 0px;
	border-top: 1px solid silver;
	padding-top: 20px;
	font-size: 120%;
}

#toc li::before, li::before {
	content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
	color: olive; /* Change the color */
	font-weight: bold; /* If you want it to be bold */
	display: inline-block; /* Needed to add space between the bullet and the text */
	width: 1em; /* Also needed for space (tweak if needed) */
	height: 1em;
	margin-left: -1em; /* Also needed for space (tweak if needed) */
	

}

a:hover, #toc a:hover {
	text-decoration: underline;
}

#question {
	text-indent: 0px;
	color: gray;
	font-style: italic;
	font-size: 1em;
	line-height: 1.3em;
	max-width: 80%;
	orphans: 4;
	padding-bottom: 4px;
	padding-top: 4px;
}

#answer {
	margin-left: 3em;
	text-indent: 0px;
	padding-bottom: 1em;
}

article #first {
	text-indent: 0em;
	margin-top: 0px;
	padding-top: 0px ;
}

.return a:hover, .return a {
	color: navy;
	text-decoration: none;
	background-color: #e8e53f;
	text-indent: 0px;
	font-size: 15px;
	padding: 15px 15px 12px 15px;
	text-transform: uppercase;
	border-radius: 5px;
	box-shadow: 5px 5px 5px gray;
	bottom: 10px;
	position: fixed;
	margin: 0 auto;
	right: 10px;
	width: 10em;
	line-height: 1em;
}

.return a:hover {
	box-shadow: 3px 3px 3px gray;
}

.main-container img, video {
	box-shadow: 5px 5px 10px silver;
	margin: 1em 0;
}

#damaris p {
	text-indent: -6em;
	margin-left: 6em;
}

#author {
	margin-top: 2em;
	text-indent: 0;
}

#date {
	font-family: "Averia Serif Libre";
	font-style: italic;
	margin-top: 0;
	text-align: right;
}

.wrapper {
	width: 80%;
	margin: 0 auto 0 auto;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
	border-bottom: 2px solid #e44d26;
	padding-top: 0px;
}

.header-container .responsive {
	width: 100%;
	height: auto;
	max-width: 1920px;
}

.header-container {
	box-shadow: none;
}

.footer-container, .main aside {
	border-top: 20px solid #e44d26;
}

.header-container, .footer-container, .main aside {
	
}
.imageWithCaption img {
    display: block;
    max-width: 100%;
    height: auto;
	margin-bottom: 0px;
}

figure {
	margin: 0px;
	padding: 0px;
	float: left;
}
.imageWithCaption figcaption {
    display: block;
    color: #333; /* Text color */
    padding: 15px;
    text-align: left;
    font-size: 1em;
	margin-left: 3em;
	font-weight: bold;
	font-style: italic;
}
.main-container {
	background: white;
}

.title {
	color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
	margin: 0;
	padding: 0;
}

nav a {
	display: block;
	margin-bottom: 10px;
	padding: 15px 0;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	color: white;
	background: #e44d26;
}

nav a:hover, nav a:visited {
	color: white;
}

nav a:hover {
	text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
	padding: 30px 0;
}

.main article h1 {
	font-size: 2em;
}

.main aside {
	color: white;
	padding: 0px 5% 10px;
}

.footer-container footer {
	color: white;
	padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
	padding-top: 20px;
}

@media only screen and (min-width: 480px) {
	/* ====================
	    INTERMEDIATE: Menu
	   ==================== */
	
	nav a {
		float: left;
		width: 27%;
		margin: 0 1.7%;
		padding: 25px 2%;
		margin-bottom: 0;
	}
	
	nav li:first-child a {
		margin-left: 0;
	}
	
	nav li:last-child a {
		margin-right: 0;
	}
	
	/* ========================
	    INTERMEDIATE: IE Fixes
	   ======================== */
	
	nav ul li {
		display: inline;
	}
	
	.oldie nav a {
		margin: 0 0.7%;
	}
}

@media only screen and (min-width: 768px) {
	/* ====================
	    WIDE: CSS3 Effects
	   ==================== */
	
	.header-container, .main aside {
		-webkit-box-shadow: 0 5px 10px #aaa;
		-moz-box-shadow: 0 5px 10px #aaa;
		box-shadow: 0 5px 10px #aaa;
	}
	
	/* ============
	    WIDE: Menu
	   ============ */
	
	.title {
		float: left;
	}
	
	nav {
		float: right;
		width: 38%;
	}
	
	/* ============
	    WIDE: Main
	   ============ */
	
	.main article {
		float: none;
		max-width: 60em;
		margin-right: auto;
		margin-left: auto;
		background-color: white;
	}
	
	.main aside {
		float: right;
		width: 28%;
	}
}

@media only screen and (min-width: 1140px) {
	/* ===============
	    Maximal Width
	   =============== */
	
	.wrapper {
		width: 1026px; /* 1140px - 10% for margins */
		margin: 0 auto;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
    *
	text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	body {
		font: 11pt/1.5em Merriweather;
	}
	
	.return, #kidsreports, .image-wrapper {
		display: none;
	}
	a, a:visited {
		text-decoration: underline;
	}
	
	a[href]:after {
		content: " (" attr(href) ")";
	}
	
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
		content: "";
	
		
	}
	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	
	thead {
		display: table-header-group;
	}
	
	tr, img {
		page-break-inside: avoid;
	}
	
	
	img {
		max-width: 100% !important;
	}
	
	*/    @page {
	margin: 0.5cm;
	}

    h1, h2 {
        page-break-before: always;  /* For older browsers */
        break-before: page;        /* Modern specification */
    }
}
	    p, h2, h3 {
		orphans: 3;
		widows: 3;
	}
	
	h2, h3 {
		page-break-after: avoid;
	}
}

section {
	clear: both;
}

.caption, .chsp-caption  {
	font-style: italic;
	margin: 10px 0 30px 0;
	font-size: .8em;
	line-height: 1.1em;
	padding-right: 4em;
	text-indent: 0;
}

    .gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1em;
            max-width: 42em;
            width: 100%;
            padding: 1em;
            box-sizing: border-box;
        }

        .gallery img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
        }

        @media (max-width: 42em) {
            .gallery {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 28em) {
            .gallery {
                grid-template-columns: 1fr;
            }
        }
        /* Responsive layout - makes a two column-layout instead of four columns */

@media screen and (max-width: 800px) {
	.img3column {
		-ms-flex: 50%;
		flex: 50%;
		max-width: 50%;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
	.img2column, .img3column {
		-ms-flex: 100%;
		flex: 100%;
		max-width: 100%;
	}
}/* styles.css */

.image-frame {
	display: inline-block;
	border: 2px solid #ccc;
	padding: 10px;
	margin: 10px;
	text-align: center;
}

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

.image-frame::after {
	content: attr(caption);
	display: block;
	font-size: 14px;
	color: #888;
	margin-top: 5px;
}

.image-frame {
	display: inline-block;
	border: 2px solid #ccc;
	padding: 10px;
	margin: 10px;
	text-align: center;
}

.image-frame figcaption {
	font-size: 14px;
	color: #888;
	margin-top: 5px;
}