/* styles.css */

header#header {
  width: 100%;
  padding: 10px 10px;
  background-color: #fff;
  display: flex;
  justify-content: left;
}

.logoheader {
  display: block;
  width: 970px;
  height: 120px;
  
  /* background color  , disabled */
  /* background-color:#ffebcd ;  */
  
  /* Background image */
  background-image: url("banner_sgl.jpg");
  background-size: cover;        /* fills the box nicely */
  background-position: right;   /* keeps image centered */
  background-repeat: no-repeat;
   /* Image correction */
  /*filter: brightness(1) contrast(1);*/


  padding: 20px;
  border-radius: 6px;
  border:  1px solid #000;
  text-align: left;
  color: #000;
  margin-right: 20px; 
}

.otherpages {
  max-width: 970px;
  padding: 0px 20px 0px 20px;
  background-color:#FFF3DF ;
  border-radius: 6px;
  border:  1px solid #000;
  text-align: left;
  color: #000;
  margin-right: 20px; 
}


.logofooter {
  display: block;
  max-width: 1010px;  
  padding: 0px 0px 10px 10px;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 14px;
  text-align: left;
  color: #000;
  line-height: 150%;
  margin-right: 20px; 
}

.header0 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 45px;
  font-weight: 400;
  margin-top: -10px;
  color: #37312B;
  text-shadow: 4px 4px 4px #FFFFFF;
  display: block;
}

.header1 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 400;
  margin-top: 0px;
  color: #37312B;
  text-shadow: 4px 4px 4px #FFFFFF;
  display: block;
  /*white-space: nowrap;*/
}

.header2 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 600;
  /*margin: 10px;*/
  margin-top: 15px;
  color: #37312B;
  text-shadow: 4px 4px 4px #FFFFFF;
  display: block;
}

#content {
  /*width: 100%;*/
  max-width: 1010px;
  padding: 10px 10px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
}

body { 
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px; 
	color: #000000; 
}

h1 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 20px; 
	font-weight: bold; 
	color: #000000; 
	margin-bottom: 0px;
	}
	
p { 
	max-width: 970px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16px; 
	color: #000000; 
	margin-bottom: 10px; 
	margin-left: 0px; 
	margin-right: 20px; 
	}
	
.nav {
    max-width: 980px;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16px; 
	color: #000000; 
	margin-top: 0px; 
	margin-bottom: 15px; 
	margin-left: 0px; 
	margin-right: 25px; 
	line-height: 150%;display: block;        /* Ensure block-level */
    white-space: normal;         			 /* Allow wrapping */
    overflow-wrap: break-word;  			 /* Break long words if needed */
}

/* images */

.thumbs-container {				/* Container for all image thumbnails */
  display: flex;
  margin-left: 10px; 
  flex-wrap: wrap;           /* allows thumbnails to wrap to next line */
  gap: 10px;
  justify-content: flex-start;
}


.thumb-wrapper {				/* Thumbnail frames */
  display: flex;
  flex-direction: column;
  width: 220px;
  height: 230px;             /* frame height */
  background-color: #f5f5f5; /* very light gray background */
  border: 1px solid #ccc;    /* thin border */
  border-radius: 4px;       /* 🔵 round the corners */
  box-sizing: border-box;
  padding: 5px;
  text-align: center;
  cursor: pointer;           /* show that the frame is hoverable */
}

.thumb-wrapper img.thumb {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin-top: auto;          /* vertical centering */
  margin-bottom: auto;
}

.thumb-wrapper div {
  font-size: 14px;
  color: #333;
  white-space: nowrap;       /* single-line captions */
  overflow: hidden;
  text-overflow: ellipsis;   /* "..." if too long */
  width: 100%;
  margin-top: 5px;
}


.overlay {					/* image overlay */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
}

.overlay-content {
  position: relative;
  text-align: center;
  color: #fff;
  display: inline-block;
}

.overlay-content img {
  max-width: 95vw;
  max-height: 90vh;
  display: block;
  margin: 0 auto 8px;
  box-shadow: 0 0 10px #000;
}


.img-nav {						/* Image navigation arrows fixed to viewport */
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  color: #fff;
  z-index: 10;
}

.img-nav.prev { left: 20px; }
.img-nav.next { right: 20px; }

.img-nav.hidden {
  display: none;
}






table {
	/*width: 40%;*/ 
	min-width: 170px;
	border-collapse: collapse; 
	margin-top: 10px; 
	}
	
th { 
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16px; 
	padding: 8px; 
	border: 1px solid #ccc; 
	color: #000000;
	background-color: #f2f2f2; 
	text-align: left;
	}
	
td { 
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px; 
	padding: 8px; 
	border: 1px solid #ccc; 
	color: #000000; 
	}
	

hr {
    height: 1px;          
    background-color: #000; 
    border: none;         
}


/* Style the first column of .maintable */
.maintable td:first-child,
.maintable th:first-child {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 18px;
	padding: 8px;
	border: 1px solid #ccc;
	color: #000000;
	background-color: #f2f2f2;
	text-align: left;
}


/* Record table: same look as maintable but without font size change */
.recordtable td:first-child,
.recordtable th:first-child {
    background-color: #f2f2f2;
    font-weight: bold;
}
