/* From lcmstyle JDB 1/1/2006 */

/*  add 98px padding to heading  nav bar and title to get centered on page */


body				/* need this to get all the way to edge of veiwport */
{
	margin: 0 0;
	padding: 0 0;
}

#content
{
	width: 95%;
	margin: 10px auto;
	padding-top: .1em;
	padding-left: 0em;
	padding-bottom: .1em;
	padding-right: 0em;
	padding-left: 5%;
	padding-right: 5%;
	color:black;
}
#content2
{
	width: 95%;
	margin: 2px auto;
	padding-top: .1em;
	padding-left: 0em;
	padding-bottom: .1em;
	padding-right: 0em;
	padding-left: 5%;
	padding-right: 5%;
	color:black;
}

#content p,h2, h3
{
	margin-top: 0em;
	margin-left: 0em;
	margin-bottom: 0em;
	margin-right: 0em;
	padding-top: .1em;
	padding-left: 0em;
	padding-bottom: .1em;
	padding-right: 0em;
	color:navy;
}

#content ul
{
	margin: 0 0 0 0;
	padding-top: 0em;
	padding-left: 2em;
	padding-bottom: 0em;
	padding-right: 0em;
	color:navy;
}

#content h4
{
	margin-top: 0em;
	margin-left: 0em;
	margin-bottom: 0em;
	margin-right: 0em;
	padding-top: .5em;
	padding-left: 0em;
	padding-bottom: 0em;
	padding-right: 0em;
	color:navy;
}

#contentimg
{
	margin: 0;
	padding: 1em;
	float:left;
}

#head1
{
	margin: 0 0;
	padding: 0 0;
	border: 0 0;
	background-color: #63CEFF;
	color: #0000BC;
	width: 100%;
	font: normal 90% arial, helvetica, sans-serif;
	text-align: center;
	line-height: 2.0em;
	height: 98px;
}

#head1  h1
{
	margin: 0 0;
	padding: 0 0;
	border: 1 1;
	font-family: Arial, Geneva, Arial, SunSans-Regular, sans-serif ;
	font-size: xx-large;
//	padding-right: 98px;   /* leave space for a 98 x 98 pixel image on the left */
}

#head1img
{
	float:left
	margin: 1 em 1 em;
}

#nav1container ul
{
	padding: .2em 0;
	margin: 0 0;
	border-width: 0 0;
	list-style-type: none;
	background-color: #0063FF;
	color: #FFFFFF;
	font: normal 80% arial, helvetica, sans-serif;
	text-align: center;
	line-height: 130%;
}

#nav2container ul
{
	padding: .2em 0em;
	margin: 0 0;
	border-width: 0 0;
	list-style-type: none;
	background-color: #0063FF;
	color: #FFFFFF;
	font: normal 100% arial, helvetica, sans-serif;
	text-align: center;
}


#nav2container li    /* need this to get submenu to look right */
{
	font: normal 90% arial, helvetica, sans-serif;
}

#nav2container p
{
	padding: .2em 0;
	margin: 0;
	border-width: 0 0;
	list-style-type: none;
	background-color: #0063FF;
	color: #FFFFFF;
	font: normal 90% arial, helvetica, sans-serif;
	text-align: center;
}

.pagename
{
	padding: .2em 0;
	margin: 0;
	border-width: 0 0;
	list-style-type: none;
	background-color: #FFFFFF;
	color: #00FFFF;
	width: 100%;
	font: normal 90% arial, helvetica, sans-serif;
	text-align: center;
	color:black;
}

#nav1list li 
{ 
	display: inline; 
}

#nav2list li 
{ 
	display: inline; 
}

#nav1list li a  /* select anchors within a list within a nav1list container */
{
	text-decoration: none;
	background-color: #0063FF;
	color: #FFFFFF;
	padding: .2em 1em;
/* 	border-right: 1px solid #0000BC; */
	border-right: 1px solid #FFF;
}

#nav2list li a
{
	text-decoration: none;
	background-color: #0063FF;
	color: #FFFFFF;
	padding: .2em 1em;
	border-right: 1px solid #FFF;
}

#nav1list li a:hover
{
	background-color: #0000FF;
	color: #0;
}

#nav2list li a:hover
{
	background-color: #0000FF;
	color: #0;
}

html {
  scroll-behavior: smooth; /* Optional: for a smooth scroll effect */
}

#bounty_table
{
/* 	color: red */
/* 
	padding-right: 50px;
	padding-left: 50px;
 */
	/* 	background-color: #0000FF; */
}

#formatted_text_block blocktext
{
	color: black;
	font: normal 90% arial, helvetica, sans-serif;
	padding-right: 50px;
	padding-left:30px;
	text-align: left;
	/* 	background-color: #0000FF; */
}


.back-to-top {
	font: normal 90% arial, helvetica, sans-serif;
	position: fixed;
	bottom: 20px;
	right: 20px;
}

#update
{
	clear: both;
	float: left;
	padding: 1em 0 0 1em;
	font-size: small;
	color:navy;
}

#webmaster
{
	float: right;
	padding: 1em 1em 0 0em;
	font-size: small;
}
.gallery {
    /* Uses CSS columns for a masonry effect */
    column-width: 250px; /* Desired minimum width of columns */
    column-gap: 10px; /* Space between images and columns */
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery img {
    /* Images must span a single column and be treated as a block */
    width: 100%;
    height: auto; /* Maintains the original aspect ratio */
    margin-bottom: 10px; /* Space between images within a column */
    display: block;
    border-radius: 5px;
    /* Prevents images from breaking across columns (better visual flow) */
    break-inside: avoid; 
}

/* Optional: Add responsiveness with media queries for different screens */
@media (max-width: 800px) {
    .gallery {
        column-width: 200px;
    }
}

@media (max-width: 600px) {
    .gallery {
        column-count: 1; /* Stack images vertically on small screens */
        column-width: auto;
    }
}
.submit-button {
	font-family: 'Arial', sans serif;
    background-color:#63CEFF; 
	color: #333333; /* Sets the text color */
	border: 1px solid #000000;  
    padding: 5px 15px;
	margin: 0px;
	border-radius: 5px;
    font-size: 1.4em;
    font-weight: bold;
    cursor: pointer;
	width: fit-content; /* Button width adjusts to content */
	/* width: max-width; */ /* Button width adjusts to ? */
}

.padded-button {
    padding: 15px 25px;
}

.full-width-button {
  display: block; /* Forces button to act like a block-level element */
  width: 100%;    /* Fills the container width */
  box-sizing: border-box; /* Ensures padding/borders are included in 100% */
}

.form-grid60 {
	display: grid;
	/* Creates two columns: one for labels, one for inputs */
	grid-template-columns: 60px 1fr;
	gap: 7px; /* Adds spacing between rows and columns */
	align-items: center; /* Vertically centers content in the grid cells */
}

.form-grid80 {
	display: grid;
	/* Creates two columns: one for labels, one for inputs */
	grid-template-columns: 80px 1fr;
	gap: 10px; /* Adds spacing between rows and columns */
	align-items: center; /* Vertically centers content in the grid cells */
	width: auto;
	font-family: 'Arial', sans serif;
	font-size: 14px;
	color: #333333; /* Sets the text color */		
}

/* For the textarea specifically, you might want the label to align to the top */
.form-grid60 textarea {
	/* Optional: override the align-items center for textareas */
	align-self: start;
}		

.form-grid80 textarea {
	/* Optional: override the align-items center for textareas */
	align-self: start;
	width: auto;
}		

fieldset {
	margin: 20px 50px 10px 0 px;
	margin: 5px 0px;
	justify-self: start;
	width: auto;
	min-width:  auto;
/* 			max-width: 300;	 */
	font-family: 'Arial', sans serif;
	font-size: 14px;
	color: #333333; /* Sets the text color */
	border-radius: 6px;	
	}

legend{
	font-family: 'Arial', sans serif;
	font-size: 18px;
}

text, input {
	font-family: 'Arial', sans serif;
	font-size: 14px;
	color: #333333; Sets the text color
	border: 2px solid #000000; 
	justify-self: start;
  }

textarea {
	display: inline-block;
	vertical-align:top; /* Aligns the top of the label with the top of the textarea */
	font-family: 'Arial', sans serif;
	font-size: 14px;
	color: #333333; /* Sets the text color */		
	}
			
.helpText {
	font-size: 24px;		
}
label {
	display: inline-block;
	vertical-align:top; /* Aligns the top of the label with the top of the textarea */
	font-family: 'Arial', sans serif;
	font-size: 14px;
	color: #333333; /* Sets the text color */		
	}
.details {
	width: 75px;
	display: block;}
	
label, input {
	width:auto;
}

.form_1{
margin: 5px 25px 25px 0px;
border-radius: 6px;
}
.popup-overlay {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0,0,0,0.4); /* Black background with opacity */
}

.popup-content {
  background-color: #fefefe;
/* 		  margin: 5% auto; /* 5% from the top and centered */ */
  margin: 15% 15%; /* 5% from the top and left */
  padding: 10px;
  border: 1px solid #888;
  width: max-content;
  max-width: 80%;
  position: relative;
  top: 25px;
  left: 25px;
  border-radius: 6px;
}

.helpText {
	font-size: 24px;		
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  width: 300 px;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}	
.text-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 16px; /* Match surrounding text */  
  color: #007bff; /* Example link color */
  /* cursor: pointer; */
  cursor: help;
}

text-btn:hover {
  background-color: #F00000; /* Light grey background on hover */  
  color: #0056b3; /* Darker color on hover */
  }
.construction-grid {
	display: grid; 
	grid-template-columns: 1fr 2fr;
	margin:0px 50px;
	justify-items: center;
	border: 1px solid #000000;
}
.required::after {
  content: "*"; /* Adds an asterisk after the label text */
  color: red;    /* Makes the asterisk red */
}

.tooltip-container {
  position: relative; /* Needed to position the tooltip text */
  display: inline-block; /* Allows container to wrap input and tooltip */
}

.tooltip-text {
  visibility: hidden; /* Hide the text by default */
  width: 160px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 5px;
  position: absolute; /* Position the text absolutely */
  z-index: 1; /* Ensure it appears above other elements */
  bottom: 125%; /* Position above the input field */
  left: 50%;
  margin-left: -80px; /* Center the tooltip (half of the width) */
  opacity: 0;
  transition: opacity 0.3s; /* Add a fade-in effect */
}

.tooltip-container:hover .tooltip-text {
  visibility: visible; /* Show the text on hover */
  opacity: 1;
}

/* Optional: Add an arrow to the tooltip */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px; /* Center the arrow */
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Login and Registration  */

.container {
    flex-grow: .8; /* Allows container to take available space */
    display: flex;
    justify-self: center;
    justify-content: center;
    margin-top:20px;
    align-items: flex-start; /* Align to start, not center, to push form up a bit */    padding: 40px 20px;
}

/* Form Section Styling */
.form-section {
    background-color: white;
    padding: 40px 50px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px; /* Adjust based on desired width */
    display: flex;
    flex-direction: column;
	margin 40px;
	}

.form-section h2 {
    text-align: left;
    color: #333;
    font-size: 2em;
    margin-bottom: 30px;
}

/* Form Layout */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between rows/groups */
}

.form-row {
    display: flex;
    gap: 30px; /* Space between form groups in a row */ 
    width: 100%;
}

.form-group {
    flex: 1; /* Each form group takes equal space in a row */
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: #666;
    font-weight: bold;
    font-size: 0.9em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
}

.form-group input:focus,
.form-group select:focus {
    border-color: #57147d; /* Highlight on focus */
    outline: none;
    box-shadow: 0 0 5px rgba(87, 20, 125, 0.2); /* Soft shadow on focus */
}

/* Required field asterisk */
/* .required { */
/*     color: #ff0000; /* Red color for asterisk */ */
/*     margin-left: 2px; */
/* } */


/* Register Button */
.register-button {
    background-color:#63CEFF; 
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.25em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content; /* Button width adjusts to content */
    align-self: flex-start; /* Align button to left */
    margin-top: 20px;
}

.register-button:hover {
    background-color: #a0a0a0; /* Slightly darker grey on hover */
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }

    .header-title {
        margin-top: 10px;
        margin-left: 0;
        margin-right: 0;
    }

    .form-section {
        padding: 30px;
        margin: 20px; /* Add some margin on smaller screens */
    }

    .form-row {
        flex-direction: column; /* Stack form groups vertically */
        gap: 20px;
    }

    .register-button {
        width: 100%; /* Full width button on small screens */
        align-self: center; /* Center button */
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 20px;
    }

    .form-section h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
}

/* password show/hide */
.password-container {
    position: relative; /* Container needs relative position for icon placement */
    width: fit-content; /* Adjust width as needed */
}

#password {
    padding-right: 90px; /* Make space for the icon */
}

#togglePassword {
	position: absolute; /* Position the icon inside the field */
	right: 10px; /* Adjust as needed */
	top: 50%;
	transform: translateY(-50%); /* Center vertically */
	cursor: pointer; /* Change cursor to pointer on hover */
}
