@charset "UTF-8";
/* CSS Document */
:root {
	--shortcut-background-color: #000777; /*dark blue*/
	--shortcut-hover-color: #000000; /* black */
	--shortcut-text-color: #FFFFFF; /* white */
	--navbar-background-color: #FFFFFF;
	--navbar-hover-color: #F1F1F1; /* grey */
	--navbar-text-color: #000777;
	--text-color: #FFFFFF;
	--background-color: #000777;
        --warning-color: #D60265; /*dark red */
}
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	/*font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";*/
  font-family: Arial, sans-serif;
  /* font-family: Time New Roman, serif; */
}
body {
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-height: 100vh;
	min-height: 100dvh;
	background-image: url("/images/LH_32b-1024x768.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
body.home-page {
	background-image: url("/images/LH_32b-1024x768.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
body.astrocal { 
  background-image: none;
  background-color: var(--navbar-background-color);
  color: var(--navbar-text-color);
}

main.home-page {
	display: inline-grid;
	line-height: 1.5em;
	padding: max(3em, 7%); 
	margin: 3em 3em auto;
	align-content: center;
	color: var(--text-color);
	background-color: var(--background-color);
        opacity: 0.75;
	z-index: 2;
}
main.home-page h1 {  
  line-height: 1.4em;
}
main p {
	margin-top: 2em;
}
main.manual {
	/* overflow: hidden; */
	margin-top: 1px;
	display: flex;
	flex-direction: row;
	align-content: left;
	color: var(--navbar-text-color);
	background-color: var(--navbar-background-color);
	
}
main.manual h1 {
  margin-top: 0.5em;
  margin-bottom: 1em;
}
main.manual h2 {
	margin: 1em 0em;
}
main.manual h3 {
	margin: 1em 0em;
}
main.manual dl { 
  margin: 1em .5em;
}
main.manual dt { 
  font-weight: bold;
  margin-top: 1em; /* add space above each term */
}
main.manual dd { 
  margin-left: 2em; /* Indentation */
  line-height: 1.4; 
}
main.manual ul {
	list-style: none;
	display: block;
}
main.manual li {
	display: block;
	margin: 0.5em 1em;
  line-height: 1.4;
}
main.manual ul.toc-2 {
	margin: 0em 0em 0em 2em;
}
main.manual ul.bullet li {
	list-style-type: disc;
	display: list-item;
	margin: .3em 3em;
}
main.manual ol.indent { 
  margin-left: 2em;
 }
main.manual img.scaled {
	width: 100%
}
main.manual li.numbered { 
  list-style-type: number;
  display: list-item;
 }
main.manual li.circle { 
  margin: 0.5em 2em;
  list-style-type: circle;
  display: list-item;
}
main.manual li.lc-lettered { 
  margin: 0.5em 2em;
  list-style-type: lower-alpha;
  display: list-item;
}
main.manual table { 
  border-collapse: collapse;
  margin: 1em;
 }
main.manual th, td {
  border: 1px solid var(--navbar-text-color);
  padding: 0.5em 1em;
}
main.manual .TOC {
	font-size: 0.9rem;
	max-width: 20rem;
        min-width: 12rem;
	display: block;
	padding: 0.3em 0em;
	background-color: var(--navbar-hover-color);
}
main.manual .content a {
	/*text-decoration: none;*/
	color: var(--navbar-text-color);
}
main.manual .content a:hover {
	background-color: var(--navbar-hover-color);
}

.warncolor { 
  color: var(--warning-color);
}
.TOC a {
	color: var(--navbar-text-color);
	text-decoration: none;
}

.TOC a:hover {
	background-color: var(--navbar-background-color);
	display: block;
}

.TOC h3 {
  padding: 0em 1em;
	margin: 1em;
}
.TOC h4 {
	margin: 1em;
}
main.manual .content {
 padding: 1.2rem;	
}
main.manual .content p {
	margin: 1em 0em;
  line-height: 1.5;
}
figure {
	float: right;
	width: 40%;
	text-align: left;
	font-style: italic;
	font-size: smaller;
	text-indent: 0;
	padding: 1em;
}
figure.fullwidth {
  float: left;
  width: 100%;
  font-size: 1em;      
}
nav {
}

/* collapsed info */
details { 
}
details > summary { 
 padding: .2em .4em;
 width: 15em;
 background-color: var(--navbar-hover-color);
 border: none;
 box-shadow: 3px 3px 4px black;
 cursor: pointer;
 font-size: 1.2em;
}
details:open > summary { 
}

/* Web Cam Daily Images Grid */
#image-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); /* Responsive grid columns */
    gap: 5px; /* Spacing between grid items */
    padding: 5px;
}

.grid-item {
    border: 1px solid #ccc;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures images cover the area without distortion */
    display: block;
}

.grid-item a {
    text-decoration: none;
    color: inherit;
    display: block; /* Make the entire item clickable */
}


/* Dropdown Button */
.dropdown-btn {
	background-color: inherit;
	color: inherit;
	font-size: inherit;
	/*background-color: var(--navbar-background-color);
	color: var(--navbar-text-color);*/
	padding: 1rem;
	border: none;
}
/* Container <div> - needed to position the dropdown content */
.dropdown-menu {
	position: relative;
	display: inline-block;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
	display: none;
	position: absolute;
	background-color: var(--navbar-background-color);
	/*min-width: 160px;*/
        min-width: 15em;
        line-height: 2;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 3;
}
/* Links inside the dropdown */
.dropdown-content a {
	color: var(--navbar-text-color);
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
	background-color: var(--navbar-hover-color);
}
/* Show the dropdown menu on hover */
.dropdown-menu:hover .dropdown-content {
	display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown-menu:hover .dropdown-btn {
	background-color: var(--navbar-hover-color);
}
.nav-common {
	display: flex;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
}
.nav-common ul {
	list-style: none;
	display: flex;
}
.nav-common li {
	display: flex;
}
.nav-common a {
	padding: 0.2em 2em;
	text-decoration: none;
	display: flex;
	align-items: center;
	transition: background-color 150ms ease;
}
.mainnav button {
	padding: 0.2 2em;
	align-items: center;
	display: flex;
	text-decoration: none;
	transition: background-color 150ms ease;
}
.mainnav a {
	color: var(--navbar-text-color);
}
.mainnav a:hover {
	background-color: var(--navbar-hover-color);
}
.nav-common .home-li {
	margin-right: auto;
}
.shortcuts {
	font-size: 0.8rem;
	justify-content: flex-end;
	background-color: var(--shortcut-background-color);
}
.shortcuts a {
	color: var(--shortcut-text-color);
}
.shortcuts a:hover {
	background-color: var(--shortcut-hover-color);
}
.mainnav {
	font-size: 1.0rem;
	color: var(--navbar-text-color);
	background-color: var(--navbar-background-color);
}
.mainnav a {
	color: var(--navbar-text-color);
}
.container1 { 
        display: grid;
        grid-template-columns: 1fr; /* one column, full width */
}
.container {
	display: grid;
	grid-template-columns: 1fr 1fr; /* creates two columns of equal width */
	gap: 1em; /* Adds a gap between the columns */
}
.grid-column {
	flex: 1; /* Makes each column take up equal available space */
	padding: 1em;
}
.left-column {
	align-content: center;
	text-justify: left;
}
.right-column {
	align-content: center;
        text-justify: left;
}
.right-column.top { 
        align-contet: top;
 }
.smaller-text {
	font-size: 0.9rem;
}
.hamcam-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
}
.cam-container {
	text-align: center;
	padding: 1em;
	border: 2px solid var(--navbar-text-color);
}
.filter-white { /* convert svg graphics to be white */
	filter: brightness(0) saturate(100%) invert(100%); 
}
.filter-000777 { /* convert svg graphics to be color #000777, info from https://codepen.io/sosuke/pen/Pjoqqp */
	filter: invert(6%) sepia(68%) saturate(7260%) hue-rotate(240deg) brightness(73%) contrast(117%);
}
.footer {
	/*position: fixed;*/
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 1em;
	display: flex;
	flex-direction: row;
	background-color: var(--shortcut-background-color);
	color: var(--shortcut-text-color);
	/*text-align: center;
	text-justify: left;*/
}
.footer h4 {
	font-size: 0.8em;
	text-decoration: none;
}
.footer p {
	font-size: 0.8em;
	line-height: normal;
}
.footer a {
	color: var(--shortcut-text-color);
	text-decoration: none;
}
.footer a:hover {
	background-color: var(--shortcut-hover-color);
} 
.footer [class ^= 'footer-'] {
	width: 33.3333%;
	display: inline-block;
	text-align: center;
	text-decoration: none;
}
.footer .footer-left {
	float: left;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.footer .footer-right {
	float: right;
	margin: auto;
	text-justify: left;
}
.footer .footer-center {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;

}

#open-sidebar-button {
	display: none;
	background: none;
	border: none;
	padding: 1em;
	margin-left: auto;
	cursor: pointer;
}
#close-sidebar-button {
	display: none;
	background: none;
	border: none;
	padding: 1em;
	cursor: pointer;
}
#overlay {
	background: rgba(0,0,0,0.5);
	position: fixed;
	inset: 0;
	z-index: 9;
	display: none;
}
#Buttons { 
	background-color: inherit;
	color: inherit;
	padding: 1em;
}
#pauseResumeButton {
	text-content: "Pause Image Updates";
	color: inherit;
	padding: 1em 2em;
	cursor: pointer;
	margin: 0em 1em;
	border-radius: 1em;
}
#pauseResumeButton:hover {
	background-color: lightgoldenrodyellow;
}
#pauseResumeButton:active {
	background-color: lightblue;
}

/* setup for smaller screens */
@media screen and (max-width: 800px) {
	#open-sidebar-button, #close-sidebar-button {
		display: block;
	}
	nav {
		position: fixed;
		top: 0;
		right: -100%;
		height: 100vh;
		width: min(15em, 100%);
		z-index: 10;
		border-left: 1px solid var(--navbar-hover-color);
		transistion: right 300ms ease-out;
	}
	nav ul {
		width: 100%;
		flex-direction: column;
	}
	nav a {
		width: 100%;
		padding-left: 2.5em;
	}	
	nav .home-li {
		margin-right: unset;
	}
	nav.show {
		right: 0;
	}
	nav.show ~ #overlay {
		display: block;
	}	
	.hamcam-wrapper {
		grid-template-columns: 1fr;
	}
}
	
