.logo {
  width: 15vw; /* Scale with viewport width */
  height: auto; /* Maintain 3:2 aspect ratio */
  display: block;
  margin: 0 auto;
  object-fit: contain;
  max-height: 80px; /* Cap height */
  max-width: 20%; /* Fallback to container-based scaling */
}

p {
	font-family: Arial;
	font-size: 9px;
	color: #FFFFFF;
	}

body {
	background-color: #222222;
	color: #FFFFFF;
	}

h1 {
	color: #FFFF00;
	font-size: 22px;
	font-family: Arial;
	text-align: center;
	}

.es-body {
	color: #31c2ff;
	font-size: 18px;
	font-family: Arial;
	text-align: left;
	}

.es-null_link {
	color: #1E90FF;
	}

a:link {
	text-decoration: none;
	color: #1E90FF;
	}

a:visited {
	text-decoration: none;
	color: #1E90FF;
	}

a:hover {
	text-decoration: underline;
	color: #1E90FF;
	}

a:focus {
	text-decoration: none;
	color: #1E90FF;
	}

a:active {
	text-decoration: none;
	color: #1E90FF;
	}

.obitimage {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 30%;
	height: 120;
	}

img { border: 0; }

.memtable{
  table-layout: fixed;
  width:70%;
  }
.memtable tr:nth-child(even) {background: #333}
.memtable tr:nth-child(odd) {background: #222}

.memtitle {
  background-color: #336DAE;
  text-align: left;
	font-family: Arial;
	color: #FFFFFF;
  font-weight: bold;
  }

/* css grid layout	*/
/* ---------------	*/
.box {
	background-color: #222222;
	color: #FFFFFF;
	border-radius: 5px;
	padding: 20px;
	font-size: 150%;
}

.box1 {
	grid-area: header;
	background-color: #222222;
	}

.box2 {
	grid-area: main;
	background-color: #222222;
	padding-left:100px;
	padding-right:100px;
	}

.box2x {
	grid-area: main;
	background-color: #222222;
	padding-left:25%;
	}

.box3 {
	grid-area: main;
	grid-column:2/4;
	grid-row: 2/3;
	background-color: #222222;
	}

.box4 {
        grid-area: footer;
	background-color: #222222;
        }

.box4l {
	grid-column:1/2;
	grid-row: 3/4;
	place-self: center stretch;        
	text-align: center;
	justify-content: center;
	background-color: #222222;
        }

.box4limg {
	border: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 132;
	height: 39;
	}

.box4c {
	grid-column:2/4;
	grid-row: 3/4;
	place-self: center stretch;        
	text-align: center;
	justify-content: center;
	background-color: #222222;
        }

.box4r {
	grid-column:4;
	grid-row: 3/4;
	text-align: center;
	place-self: center stretch;
	justify-content: center;
	background-color: #222222;
}

.box4rimg {
	border: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100;
	height: 32;
	}

.wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto;
	grid-template-areas: 
	"header header header header"
	"main main main main"
	"footer footer footer footer";
}

.div-gad {
  position: relative;
  text-align: center;
  width: "30%";
  height: "120"; 
}

/* Container holding image for overlay text */
.container {
  position: relative;
  text-align: center;
  color: white;
  font-family:Spectral;
  font-size: 16px;
}

.container img {
height: 25%; /* Set the image height to 50% of the container */
width: 100%; /* Make the image responsive to container width */
}

/* Responsive site banner (keeps date overlay working) */
.es-banner {
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: #000;
  position: relative; /* 👈 important for overlay */
}

/* Make the banner image fill the banner box */
.es-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* fills box, crops gracefully */
  object-position: center; /* keeps logo centered */
  display: block;
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* css top menu layout	*/
/* -------------------	*/
#cssmenu
{
    width:auto;
    display:block;
    text-align:center;
    font-family:Spectral;
    line-height:1.2;
}
#cssmenu ul
{
    width:auto;
    display:block;
    font-size:0;
    text-align:center;
    color:#EEEEEE;
    background-color: #205081;
    border: transparent;
    margin:0; 
    padding:0;
    list-style:none;
    position:relative;
    z-index:999999990;
    border-radius: 3px;
} 

#cssmenu li
{
    display:inline-block;
    position:relative;    
    font-size:0; 
    margin:0;
    padding:0;
}

/*Top level items
---------------------------------------*/

#cssmenu >ul>li>span, #cssmenu >ul>li>a 
{   
    font-size:20px;
    color:inherit;
    text-decoration:none;
    padding:10px 20px; 
    font-weight:400;
    text-transform:uppercase;
    letter-spacing:2px;   
    display:block;   
    position:relative;
    transition:all 0.3s;
}
#cssmenu li:hover > span, #cssmenu li:hover > a
{  
    color:#FFFFFF;
    background-color:rgba(255,255,255,0.1);
}

/*Sub level items
---------------------------------------*/
#cssmenu .dropdown
{
    text-align:left;
    left:0;
    font-family:inherit;
    color: #EEEEEE;
    background-color:#205081;
    border:none;
    position:absolute;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display:none;
    opacity:0;
    cursor:default;
}

#cssmenu .dropdown li {
    display: block;  
}

#cssmenu .dropdown li > span, #cssmenu .dropdown li > a, #cssmenu .clm a, #cssmenu .clm h3 
{
    font-size:18px;
    font-weight:400;
    font-family:inherit;
    margin:0;
    padding:12px 20px; 
    display:block;
    color:inherit;
    text-decoration:none;
}
#cssmenu .clm h3 {
    font-size:20px;
    font-weight:700;
}
#cssmenu .sub-item {
    background-color:#FFFFFF;
    position:relative;       
    transition:all 0.3s;
}

#cssmenu .dropdown li:hover > span, #cssmenu .dropdown li:hover > a
{

    color:#000000;
    background-color:#EEEEEE;
}

#cssmenu .clm a:hover
{
    color:#000000;
    transition:color 0.2s;
}

#cssmenu .dropdown.right0 {left:auto;right:0;} 
#cssmenu .dropdown li > .dropdown.right0 {left:auto;right:100%;} 
       
#cssmenu li.full-width{
    position:static;
}
#cssmenu li.full-width .dropdown{
    width:100%;
    left:0;
    box-sizing:border-box;
}  

#cssmenu li:hover > .dropdown
{
    display:block;
    opacity:1;
    z-index:1;
}

#cssmenu .dropdown li > .dropdown
{
    left:100%; right:auto;
    top:0;
}

#cssmenu ul.dropdown
{
    min-width:240px; /* Sub level menu min width */
}

#cssmenu div.dropdown  {
    text-align:center;
}

/* each column */
#cssmenu .clm
{
    text-align:left;
    margin:20px;
    vertical-align:top;/*or middle*/
    width:auto;
    min-width:240px;
    display:inline-block;
    *display:inline;*zoom:1;
}

#cssmenu .clm a:hover
{
    color:#000000;
    text-decoration:underline;
}

/*-----------Arrows----------------*/
#cssmenu .arrow {
    color:inherit;
    border-style:solid; border-width:2px 2px 0 0; padding:4px; transform:rotate(135deg);margin-top:-8.5px;margin-left:4px;
    position:relative;
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align:middle;
    overflow:hidden;/*for IE6*/
}
        
#cssmenu .dropdown .arrow {
    transform:rotate(45deg);
    top:50%;margin-top:-6px;
    position:relative;top:auto;
} 



@keyframes topItemAnimation{
  from {opacity: 0; transform:translate3d(0, -10vh, 0);}
  to {opacity: 1; transform:translate3d(0, 0, 0);}
}
#cssmenu li a {animation:none;}
#cssmenu.active li a { animation: topItemAnimation 0.5s ease 0.08333333333333333s backwards;}
#cssmenu.active li:nth-of-type(1) a { animation: topItemAnimation 0.5s ease 0.5s backwards;}
#cssmenu.active li:nth-of-type(2) a { animation: topItemAnimation 0.5s ease 0.4166666666666667s backwards;}
#cssmenu.active li:nth-of-type(3) a { animation: topItemAnimation 0.5s ease 0.3333333333333333s backwards;}
#cssmenu.active li:nth-of-type(4) a { animation: topItemAnimation 0.5s ease 0.25s backwards;}
#cssmenu.active li:nth-of-type(5) a { animation: topItemAnimation 0.5s ease 0.16666666666666666s backwards;}@media screen and (forced-colors: active), (forced-colors: none) { #cssmenu.active li a{animation:none!important;}}
/*#cssmenu.active li:nth-of-type(5) a { animation: topItemAnimation 0.5s ease 0.16666666666666666s backwards;}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { #cssmenu.active li a{animation:none!important;}}
/*--Add border to top-level menu items--*/
#mcmenu .top-item {
  border-left:1px solid #2e6fb2;
  border-right:1px solid #14314f; }
#mcmenu li:first-child .top-item {border-left:none;}
#mcmenu li:last-child .top-item {border-right:none;}
