body {
  background: #fff;
  color: #333;
  font-size: 12px;
  height: auto;
  padding-bottom: 20px;
}

a {
  color: #039;
  text-decoration: none;
}

a:hover {
  text-decoration:none;
  color:#06C;
}

h4 a {
  color: #FFF;
  text-decoration: none;
}

h4 a:hover {
  text-decoration:none;
  color:#FFF;
}

h3 a {
   color: #1e3363;
  text-decoration: none;
}

h3 a:hover {
  text-decoration:none;
 color:#06c;
}


h1 {
  font-family: Georgia, serif;
  font-weight: normal;
  padding-top: 20px;
  text-align: center;
}

h2 {
  padding-top: 20px;
  text-align: center;
}

h3 {
	color: #1e3363;
	font-size:13px;
	margin-top:0px;
	padding: 8px 0px 0px 10px;
	text-align: left;
	margin-bottom:2px;
}

h5 {
	color: #666;
	font-size:12px;
	margin-top:0px;
	padding: 8px 0px 0px 10px;
	text-align: left;
	margin-bottom:0px;
}

p {
  overflow: visible;
  padding: 0px 5px 0px 10px;
  text-align: left;
}

.login_text{
    font-size: 14px;
}
.register_text{
    font-size: 14px;
    text-align: center;
}

.container_12,
.container_16,
.container_24 {
  background-color: #fff;
  background-repeat: repeat-y;
  margin-bottom: 20px;
}

.container_12 {
  background-image: url(../images/12_col.gif);
}

.container_16 {
	/* [disabled]background-image: url(../images/16_col.gif); */
}

.container_24 {
  background-image: url(../images/24_col.gif);
}

#footer {
	/*height: 70px; border-top: solid #9b9fab 13px; border-bottom: solid #9b9fab 1px; background-color:#FFF;*/
        height: 94px; border-top: solid #9b9fab 5px; border-bottom: solid #9b9fab 1px; background-color:#FFF; margin-bottom: 20px;
}

#footer_login {
	/*height: 70px; border-top: solid #9b9fab 13px; border-bottom: solid #9b9fab 1px; background-color:#FFF;*/
        height: 94px; border-top: solid #9b9fab 5px; border-bottom: solid #9b9fab 1px; background-color:#FFF; margin-bottom: 20px;
}
div.grid_6 {
	background-color: #1e3363;
	/*height: 200px;*/
	margin-bottom: 10px;
}
div.immuno_grid_6 {
	background-color: #0176AF;
	/*height: 200px;*/
	margin-bottom: 10px;
}

.contentbox {
/*	background-color: #fff;*/
/*	height: 177px; */
	width: 99.5%;
	margin-top:0px;
	margin-left:0px;
	margin-bottom:0px;
/*	border: solid #1e3363 1px;*/
}
.backandborder {
	background-color: #fff;
	border: solid #1e3363 1px;
}
.immuno_backandborder {
	background-color: #fff;
	border: solid  #0176AF 1px;
}
.gtmp_backandborder {
	background-color: #fff;
	border: solid  #990066 1px;
}

.gtamp_backandborder {
	background-color: #fff;
	border: solid  #ffdd0f 1px;
}
	
.contentboxsmall {
	background-color: #fff;
	height: 135px;
	width: 99.5%;
	margin-top:0px;
	margin-left:0px;
	margin-bottom:0px;
	/*border: solid #1e3363 1px;*/
}
div.grid_4 {
/*	background-color: #1e3363;
	margin-bottom: 10px;
	height: 140px;*/
}
h4 {
  color: #FFF;
  font-size: 15px;
  padding-left: 5px;
  margin-top:0px;
  margin-bottom:0px;
}

.imageleft {
	float:left;
	margin-left:5px;
	margin-top:5px;
}
.textright {
	margin-left:40px;   
}
.textright_targets {
	margin-left:70px; 
        margin-right:10px;
}
.textright_sponsors {
	margin-left:40px;  
}

.textright_ligsum {
	margin-left:5px;
	margin-top: 5px;
	margin-bottom: 10px;      
}

.textright_ligactchr {
	margin-left:35px;

}

.textright_sustain {
	margin-left:40px;
	font-size:110%;
}

#sustaintable{
	margin: 0px 0px 20px 40px;

}

#sustaintable {
    table, th, td {
        border: 1px solid black;
        padding: 5px;
    }
}

#access_fees{
	margin: 0px 0px 20px 10px;
        border-collapse: collapse;
}

#access_fees th {
    background-color: #cccccc; /* Grey background for headers */
    border: 1px solid #000;    /* Single black border */
    padding: 8px;
    width: 50%;
    text-align: left;          /* Optional: Improves readability */
}


#access_fees td {
    border: 1px solid #000;    /* Single black border for data cells */
    padding: 8px;
}

.ebackwards {unicode-bidi:bidi-override; direction: rtl;font-weight: bold;} 

h4.alignlefttitle{
float:left;

}
h4.alignright{
float:right;
margin-right:5px;
margin-top:3px;
}
#ligandheader .alignlefttitle{
font-size: 18px;
}
.textright_float {
	margin-right:25px;
        float:right;
}

.textmiddle{
display:inline-block;
width:55%;
text-align:left;
margin-top:5px;
margin-left:25px;
}

.graphical_browse_div {
margin-left:40px;
}

@media screen and (max-device-width: 420px)
{
	.graphical_browse_div { display: none;}
}

.ligandlist_select_container{
width: 100%;
overflow: hidden;
text-align: center;
}
.lsc_left{
float:left;
margin:10px 0px 0px 10px;
	
}
.lsc_right{
float:right;
margin:10px 5px 0px 5px;
width:60%;
text-align:left;
}

.lsc_centre{

display:inline-block;
text-align:left;
margin:10px 5px 0px 5px;
}

.ligand_select {
    width: 250px;
    font-weight: bold;
    padding: 3px;
    border-color: #1e3363;
    border-radius: 3px;

}

.ligcontainer{
width: 100%;
overflow: hidden;
text-align: center;
}
.ligleft{
float:left;
	margin-left:5px;
	
}
.ligright{
float:right;
	margin-left:5px;
	margin-top:12px;
}
.ligcentre{
margin:0 auto !important;
display:inline-block;
width:70%;
text-align:left;
margin-top:5px;
}

.subbox {
	background-color:#ebf1ff;
	border: solid #1e3363 1px;
	height:50px;
	width: 330px;
	margin:3px;
}
.subboxsmall {
	background-color:#ebf1ff;
/*	border: solid #1e3363 1px; */
	height:28px;
/*	width:130px; */
margin:6px 2px 6px 80px;
}
ul.arrowlist{
	list-style-image:url(../images/arrow.jpg)
}
div.mainnavcont {
	background-color:#1e3363;
	height: 33px;
	width: 100%;
	margin-bottom:2px;
}
div.imm_mainnavcont {
	background-color:#0176AF;
	height: 33px;
	width: 100%;
	margin-bottom:2px;
}
div.gtmp_mainnavcont {
	background-color:#990066;
	height: 33px;
	width: 100%;
	margin-bottom:2px;
}
div.gtamp_mainnavcont {
	background-color:#ffdd0f;
	height: 33px;
	width: 100%;
	margin-bottom:2px;
}
.mainnavtext a {
	color:#fff;
	padding-left:40px;
	float:left;
	font-size:110%;
	margin-top:0px;
}

div.breadcrumbscont {
	border: solid #1e3363 1px;
	background-color:#EBF1FF;
	height:auto;
	width:100%;
	clear:both;
	margin-bottom: 10px;
	float:left;
}

div.breadcrumbscont_gtmp {
	border: solid #1e3363 1px;
	background-color:#EBF1FF;
	height:auto;
	width:100%;
	clear:both;
	margin-bottom: 10px;
	float:left;
}

.crumbtext li {
	padding-right:30px;
	font-size:12px;
	color:#1e3363;
	float:left;
	list-style-image:url(../images/arrow2.jpg);
}
ul.crumbtext {
	margin-top:auto;
	margin-bottom:auto;
}

div.comaccess {
	border: solid 2px;
	border-radius: 10px;
	margin: 12px 8px 16px 8px;
	background-color: turquoise;
	/* lawngreen *//* orange *//*#c5ff00*//*cyan*//*hot pink*/
}
div.comaccess p {
	vertical-align:middle;
	text-align:center;
	padding:0px;
	margin:10px;
	font-size:125%;
        
}

div.authnotice {
	border: solid 2px;
	border-radius: 10px;
	margin: 12px 8px 16px 8px;
	background-color: #9579f3;
	/* lawngreen *//* orange *//*#c5ff00*//*cyan*//*hot pink*/
}
div.authnotice p {
	vertical-align:middle;
	text-align:center;
	padding:0px;
	margin:10px;
	font-size:125%;
        color:white;
}

div.grid_16 {
	background-color: #1e3363;
	margin-bottom: 10px;
}
div.grid_16_white {
	background-color: white;
	margin-bottom: 10px;
}

#gtmp_lc {
width: 50%;
margin: auto;
}


.gtmp {
background-color: #990066 !important;
}
.immuno {
background-color: #0176af !important;
}
.gtamp {
background-color: #ffdd0f !important;
color: #373735 !important;
}
.gtamp h4{color: #373735;}
/* for GtoImmuPdb beta disclaimer - overrides the standard 20px table margin-bottom set in text.css */

.betacrumb {
margin-bottom: 0px !important;
}
.contentboxfull {
	background-color: #ebf1ff;
	width: 99.8%;
	margin-top:0px;
	margin-left:0px;
	margin-bottom:0px;
	border: solid #1e3363 1px;
}
ul.helpmenu{
	color:#FFF;
	font-size:12px;
	float:left;
}
.contentboxfullhelp {
	background-color: #fff;
	width: 99.8%;
	margin-top:0px;
	margin-left:0px;
	margin-bottom:0px;
	border: solid #1e3363 1px;
}
.contentboxfullhelp.imm {
	border: solid #0176af 1px !important;
}
.contentboxfullhelp.mal {
	border: solid #990066 1px !important;
}
.contentboxfullhelp.am {
	border: solid #ffdd0f 1px !important;
}
#searchlinks {color: #FFF;
padding-left: 5px;}

.contentboxsmall .textright {margin-left:40px;}

.backandborder h4 {margin:0px; padding:4px; background-color:#1e3363; }
.immuno_backandborder h4 {margin:0px; padding:4px; background-color:#0176AF; }
.gtmp_backandborder h4 {margin:0px; padding:4px; background-color:#990066; }

/* Added for ADB colaboration - this has dark grey text color*/
.gtamp_backandborder h4 {margin:0px; padding:4px; background-color:#ffdd0f; color: #373735;} 

.gtmp_info h4 {margin:3px; padding:2px; color:#000000; }

.grid_4 .backandborder {margin-bottom:10px;}
.grid_4 .immuno_backandborder {margin-bottom:10px;}
.grid_4 .gtmp_backandborder {margin-bottom:10px;}
.grid_4 .gtamp_backandborder {margin-bottom:10px;}

.grid_8 .backandborder {margin-bottom:10px;}
.grid_7 .backandborder {margin-bottom:10px;}
.grid_9 .backandborder {margin-bottom:10px;}
.grid_12 .backandborder {margin-bottom:10px;}

.breadcrumbscont .breadcrumbscont_gtmp h3 {color:#1E3363; padding:0px 0px 0px 10px;}

/* these were added by simon to style the bug report button for GtoImmuPdb beta */
.breadcrumbscont h3 a {background:#0176AF; border: 2px solid #1e3363; border-radius: 5px;color:#FFF; padding:3px 3px 3px 3px; font-size:100%}
.breadcrumbscont h3 a:hover {
  text-decoration:none;
 background:#0BA6F1;
}

.immportal_breadcrumbscont h3 {color:#ffffff; padding:2px 0px 0px 10px;}


/* these were added by simon to style the bug report button for GtoImmuPdb beta */
.breadcrumbscont_gtmp h3 a {background:#990066; border: 2px solid #1e3363; border-radius: 5px;color:#FFF; padding:3px 3px 3px 3px; font-size:100%}
.breadcrumbscont_gtmp h3 a:hover {
  text-decoration:none;
 background:#ff00aa;
}



.sf-menu a {
	border-left:	1px solid #fff;
	border-top:		0px solid #CFDEFF;
	padding: 		.75em 1em;
	text-decoration:none;
}

.sf-menu li {
	background:		#1e3363;
}
.sf-menu li li {
	background:		#3e517c;
}
.sf-menu li li li {
	background:		#566892;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#ffffff;
}
.sf-menu a { /* visited pseudo selector so IE6 applies text colour*/
	color:			#ffffff;
}
.sf-menu {
	float:			left;
	margin-bottom:	1em;
	line-height: 1;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	background:		#162852;
	outline:		0;
}
.sf-menu li.immuno_portal
{
	background: #0176AF;
}
.sf-menu li.immuno_portal a:hover 
{
	background: #006799;
}

.sf-menu li.gtmp_portal
{
	background: #990066;
}
.sf-menu li.gtmp_portal a:hover 
{
	background: #660044;
}

.immsf-menu a {
	border-left:	1px solid #fff;
	border-top:		0px solid #CFDEFF;
	padding: 		.75em 1em;
	text-decoration:none;
}

.immsf-menu li {
	background:		#0176AF;
}
.immsf-menu li li {
	background:		#038BCD;
}
.immsf-menu li li li {
	background:		#0BA6F1;
}
.immsf-menu a, .immsf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#ffffff;
}
.immsf-menu a { /* visited pseudo selector so IE6 applies text colour*/
	color:			#ffffff;
}
.immsf-menu {
	float:			left;
	margin-bottom:	1em;
	line-height: 1;
}
.immsf-menu li:hover, .immsf-menu li.sfHover,
.immsf-menu a:focus, .immsf-menu a:hover, .immsf-menu a:active {
	background:		#006799;
	outline:		0;
}
.immsf-menu li.gtop_home
{
	background: #1e3363;
}
.immsf-menu li.gtop_home a:hover 
{
	background: #162852;
}

/* Fix for transparent submenus in GtoMPdb (Malaria) menu */
.immsf-menu ul {
    background-color: #1e3363; /* Matches your existing .gtmpsf-menu li li color */
    border: 1px solid #1e3363; /* Optional: Adds a border to define the edges clearly */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* Optional: Adds depth */
    z-index: 9999; /* Ensures the menu floats above other content */
}

/* Ensure deep nested items (3rd level) also have the correct background if needed */
.immsf-menu ul ul {
    background-color: #162852; /* Matches your existing .gtmpsf-menu li li li color */
}

/* Ensure the links inside fill the space and inherit the background correctly */
.immsf-menu ul li a {
    background-color: transparent; /* Let the LI/UL background show through */
    display: block;
}

/*gtmp things */
.gtmpsf-menu a {
	border-left:	1px solid #fff;
	border-top:		0px solid #CFDEFF;
	padding: 		.75em 1em;
	text-decoration:none;
}

.gtmpsf-menu li {
	background:		#990066;
}
.gtmpsf-menu li li {
	background:		#cc0088;
}
.gtmpsf-menu li li li {
	background:		#ff00aa;
}
.gtmpsf-menu a, .gtmpsf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#ffffff;
}
.gtmpsf-menu a { /* visited pseudo selector so IE6 applies text colour*/
	color:			#ffffff;
}
.gtmpsf-menu {
	float:			left;
	margin-bottom:	1em;
	line-height: 1;
}
.gtmpsf-menu li:hover, .gtmpsf-menu li.sfHover,
.gtmpsf-menu a:focus, .gtmpsf-menu a:hover, .gtmpsf-menu a:active {
	background:		#660044;
	outline:		0;
}
.gtmpsf-menu li.gtop_home
{
	background: #1e3363;
}
.gtmpsf-menu li.gtop_home a:hover 
{
	background: #162852;
}

/* Fix for transparent submenus in GtoMPdb (Malaria) menu */
.gtmpsf-menu ul {
    background-color: #cc0088; /* Matches your existing .gtmpsf-menu li li color */
    border: 1px solid #990066; /* Optional: Adds a border to define the edges clearly */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* Optional: Adds depth */
    z-index: 9999; /* Ensures the menu floats above other content */
}

/* Ensure deep nested items (3rd level) also have the correct background if needed */
.gtmpsf-menu ul ul {
    background-color: #ff00aa; /* Matches your existing .gtmpsf-menu li li li color */
}

/* Ensure the links inside fill the space and inherit the background correctly */
.gtmpsf-menu ul li a {
    background-color: transparent; /* Let the LI/UL background show through */
    display: block;
}

/*gtamp things */
.gtampsf-menu a {
	border-left:	1px solid #373735;
	border-top:		0px solid #CFDEFF;
	padding: 		.75em 1em;
	text-decoration:none;
}
.sample-menu-gtamp .sf-arrows .sf-with-ul:after {
	border: 5px solid transparent;
	border-top-color: #373735; /* edit this to suit design (no rgba in IE8) */
	border-top-color: #373735 !important;
}

.sample-menu-gtamp .sf-arrows .sf-with-ul {
	border: 5px solid transparent;
	border-top-color: #373735; /* edit this to suit design (no rgba in IE8) */
	border-top-color: #373735 !important;
}

.gtampsf-menu li {
	background:		#ffdd0f;
}
.gtampsf-menu li li {
	background:		#fee54d;
}
.gtampsf-menu li li li {
	background:		#feeb77;
}
.gtampsf-menu a, .gtampsf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#373735;
}
.gtampsf-menu a { /* visited pseudo selector so IE6 applies text colour*/
	color:			#373735;
}
.gtampsf-menu {
	float:			left;
	margin-bottom:	1em;
	line-height: 1;
}
.gtampsf-menu li:hover, .gtampsf-menu li.sfHover,
.gtampsf-menu a:focus, .gtampsf-menu a:hover, .gtampsf-menu a:active {
	background:		#9f8a0a;
	outline:		0;
}
.gtampsf-menu li.gtop_home a
{
	background: #1e3363;
     color: #FFFFFF;
}
.gtmapsf-menu li.gtop_home a:hover 
{
	background: #162852;
     color: #FFFFFF;
}

/* =========================================
   FIX: Restore Arrows and Side-Menus for GtoMPdb & GtoImmuPdb
   ========================================= */

/* 1. Reset the float for ONLY the 2nd level (immediate dropdown) */
/* This keeps the main dropdown vertical */
.gtmpsf-menu > li > ul li,
.immsf-menu > li > ul li,
.sf-menu > li > ul li {
    float: none !important;
    width: 100%;
    display: block;
}

/* 2. CRITICAL: Allow 3rd level (and deeper) to float/position sideways */
/* This enables the "flyout" effect for nested items */
.gtmpsf-menu ul ul li,
.immsf-menu ul ul li,
.sf-menu ul ul li {
    float: left !important; /* Or 'none' depending on exact Superfish version, usually left for flyouts */
    width: 100%; /* Keep width 100% of the parent flyout box */
    clear: none;
}

/* 3. Position the 3rd level UL to the RIGHT of the parent */
.gtmpsf-menu ul ul,
.immsf-menu ul ul,
.sf-menu ul ul {
    top: 0 !important;
    left: 100% !important; /* Pushes the submenu exactly one width to the right */
    margin-top: -1px; /* Aligns borders perfectly */
}

/* 4. Add the Right Arrow Indicator */
/* We target links that have a nested UL inside their LI */
.gtmpsf-menu li li.sf-with-ul > a:after,
.immsf-menu li li.sf-with-ul > a:after,
.sf-menu li li.sf-with-ul > a:after {
    content: " \25B6"; /* Unicode Right Pointing Triangle */
    font-size: 0.8em;
    float: right;
    margin-left: 8px;
    margin-top: 2px;
    opacity: 0.7;
}

/* Optional: Style the arrow on hover */
.gtmpsf-menu li li.sf-with-ul > a:hover:after,
.immsf-menu li li.sf-with-ul > a:hover:after,
.sf-menu li li.sf-with-ul > a:hover:after {
    opacity: 1;
    color: #fff;
}

/* 5. Ensure the background colors for flyouts match your theme */
/* GtoMPdb (Malaria) - 3rd level background */
.gtmpsf-menu ul ul {
    background-color: #ff00aa; 
}
/* GtoImmuPdb (Immuno) - 3rd level background */
.immsf-menu ul ul {
    background-color: #0BA6F1;
}
/* Main Site - 3rd level background */
.sf-menu ul ul {
    background-color: #566892;
}

/* =========================================
   FORCE ARROWS FOR GTMP MENU
   ========================================= */

/* Target links that have the sf-with-ul class (added by JS) */
.gtmpsf-menu a.sf-with-ul {
    position: relative; /* Needed for positioning the arrow if using pseudo-elements */
    padding-right: 20px; /* Make room for the arrow */
}

/* Create the arrow using CSS after the link text */
.gtmpsf-menu a.sf-with-ul:after {
    content: ''; 
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -3px; /* Center vertically */
    
    /* Draw a triangle using borders */
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #ffffff; /* White arrow to match your text */
    
    opacity: 0.7;
    transition: opacity 0.2s;
}

/* Make arrow solid on hover */
.gtmpsf-menu a.sf-with-ul:hover:after {
    opacity: 1;
    border-top-color: #ffdd0f; /* Optional: Change color on hover to match your theme */
}

/* Ensure the submenu stays visible when hovering over the submenu itself */
.gtmpsf-menu ul {
    z-index: 9999;
}

/* Draw the arrow for any menu item with a submenu */
.sf-menu a.sf-with-ul:after,
.gtmpsf-menu a.sf-with-ul:after,
.immsf-menu a.sf-with-ul:after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -3px;
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #ffffff; /* White arrow */
    opacity: 0.8;
}


/*table.glossary td {
    border:1px solid darkgrey;
    padding:5px;
}*/
.heading > td {
/*border:2px solid #AAAAAA;*/
border:1px solid #AAAAAA;
color:black;
padding:5px;
text-align:center;
}
ul.no_bullets {
    list-style-type: none;
}

.search{ background-color:#1e3363;}
.search ul li a {
  color: #fff;
  text-decoration: none;
}

.search ul li a:hover {
  text-decoration:none;
  color:#06C;
}
.list ul li a {
  color: #fff;
  text-decoration: none;
}

.list ul li a:hover {
  text-decoration:none;
  color:#06C;
}


.list li.contents_empty a {
  color:orange !important;
  text-decoration: none;
}
.list li.contents_empty a:hover {
  text-decoration:none;
  color:#06C !important;
}

img {border:none;}

/* header background image and search */

.brandandsearch {background: url(/images/gtopdb_banner_2020.png) no-repeat; height:70px;}
.brandandsearch_immuno {background: url(/images/immuno/immuno_banner.jpg) no-repeat; height:117px;}
.brandandsearch_gtmp {background: url(/images/malaria/gtmp_banner.jpg) no-repeat; height:117px;}
.brandandsearch_gtamp {background: url(/images/antimicrobial/gtamp_banner.png) no-repeat; height:117px;}

.brandandsearchtest {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.newsearchright {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto; /* Ensure it stays to the right */
}

#searchTop {
    margin-bottom: 10px;
    position: relative;
}

#searchBottom{
    display: flex;
    align-items: flex-start; 
    gap: 10px; /* Add space between the span and the button */
}



.newmainsearch {
    padding: 10px 0px 0px 0px;
}
.newmainsearch button {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
}

.logout-container {
     text-align: right;
     color:black;
     margin-left: 20px; 
    display: flex;
    align-items: center;
}

.loginButtonHeader {
    background-color: whitesmoke;
    border: 2px solid #1e3363;
    border-radius:6px;
    padding:4px;
    cursor: pointer;
    text-align: center;
    width: 75px;
}
    
    
.loginButtonHeader:hover {
    background-color: #ebf1ff;
}
#login_welcome {
    padding:5px 0px 5px 5px;
    font-weight: bold;
}



#login_header_form_in{
    float:right;
    padding: 0px 0px 10px 2px;
}
#login_header_form_out{
    float:right;
    padding: 0px 0px 10px 2px;
}



.brand_login {
    display: flex;
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
}

#main_login_form {
    
    max-width: 400px; /* Set a fixed width for the form */
    margin: 0 auto; /* Center the form on the page */
    padding: 20px;
    box-sizing:border-box;

}
        
#main_login_form label {
    display: inline-block;
    width: 100px; /* Fixed width for labels */
    font-weight: bold;
    text-align: left; /* Align text to the left */
    font-size:14px;

}

#main_register_form {
    
    max-width: 700px; /* Set a fixed width for the form */
    margin: 0 auto; /* Center the form on the page */
    padding: 20px;
    box-sizing:border-box;

}
#main_register_form label {
    display: inline-block;
    width: 150px;
    font-weight: bold;
    text-align: left;
    font-size: 14px;
}

#main_register_form .register_form {
    display: inline-block;
    box-sizing: border-box;
    margin-bottom: 10px;
    border: 2px solid #1e3363;
    border-radius: 4px;
    font-size: 14px;
    padding: 5px;
    min-width:300px;
}

.register-form-fields {
        width: fit-content;
        text-align: left;
        margin: 0 auto;
    }
    
.register-form-row {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    
.register-form-row > label {
        width: 150px;
        text-align: right;
        margin-right: 10px;
    }

.form-row .register_form {
        width: 260px;
    }

.required-marker {
        color: red;
        margin-left: 5px;
    }
#reset_password_form {
    
    max-width: 400px; /* Set a fixed width for the form */
    margin: 0 auto; /* Center the form on the page */
    padding: 20px;
    box-sizing:border-box;

}
        
#reset_password_form label {
    
    font-weight: bold;
    text-align: left; /* Align text to the left */
    font-size:14px;

}

.login_form {
    width: 70%; 
    box-sizing: border-box; 
    margin-bottom: 10px;
    border: 2px solid #1e3363;
    border-radius: 4px;
    font-size:14px;
    padding:5px;
    
}




.loginButton {
    display: block; /* Make the button a block element */
    margin: 20px auto 0; /* Center the button and add top margin */
    width: 100px;
    margin-top: 10px;
    border: 2px solid #1e3363;
    border-radius:6px;
    padding:4px;
    cursor: pointer;
    text-align: center; /* Ensure text is centered inside the button */
}

.loginButton:hover {
    background-color: #ebf1ff;
}

.loginerror {
    color: red;
    text-align: center;
    margin-top: 10px;
    font-size:14px;
}
.resetsuccess {
    color: green;
    text-align: center;
    margin-top: 10px;
    font-size:14px;
}

.forgot-password-login {
    text-align: center;
    margin:20px 0px 50px 0px;
    font-size: 14px;
}

.logout-text {
    font-size:14px;
    text-align: center;
}

.error-message {
    color: red;
    text-align: center;
    margin: 10px 0px 10px 0px;
    font-size: 14px;
}    

.password-container {
  align-items: center;
}

.password-container .register_form {
    margin-right: 6px;
}

.eye-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    font-size:16px;
}

 /*.eye-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  margin-left: 5px;
} */

 .register_privacy_notice {
        max-width: 760px;
        margin: 20px auto 10px auto;
        text-align: left;
}

.privacy-checkbox-label {
        display: block;
        margin-top: 10px;
        text-align: left;
        min-width: 0;
}

.register-submit-area {
        text-align: center;
        margin-top: 15px;
}
    
.login-options {
    display: flex;
    justify-content: center;
}

.login-options form {
    margin-right: 10px;
}

.login-options form:last-child {
    margin-right: 0;
}

.banner_subtext {
 color:blue;
}
.searchright {width:500px; float:right; border: 0px none #FFF;}


/* Main Container malaria and immuno header */
#searchTopImmuno {
    width: 100%;
    padding: 15px 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif; /* Optional: Ensure consistent font */
    
   
    display: flex;
    justify-content: flex-end; /* Pushes the inner container to the right */
}

/* Row 1: Holds Search and Login/Logout buttons */
.top-row-actions {
    display: flex;
    flex-wrap: nowrap; /* CRITICAL: Forces everything onto one line */
    align-items: center; /* Vertically center items */
    gap: 10px; /* Space between the search bar group and the login button */
    justify-content: flex-end; /* Ensures items within this group also align right */
}


/* Search Form Styling */
form.newmainsearch_malaria {
    display: flex; /* Aligns input and button horizontally */
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

form.newmainsearch_malaria input[type=text] {
    padding: 8px 12px;
    font-size: 14px;
    border: 2px solid grey;
    border-right: none;
    border-radius: 6px 0 0 6px;
    height: 38px;
    width: 200px; /* Fixed width prevents wrapping issues */
    box-sizing: border-box;
    outline: none;
}

form.newmainsearch_malaria button {
    padding: 0 15px;
    background: #1e3363;
    color: white;
    font-size: 16px;
    border: 2px solid grey;
    border-left: none;
    border-radius: 0 6px 6px 0;
    height: 38px; /* Must match input height */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#login_header_form_in_immuno,
#login_header_form_out_immuno{
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Row 2: Welcome Message for immuno and malaria headers */
.welcome-message {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    height: 38px; /* Match height of search/login for perfect alignment */
   
    white-space: nowrap; /* Prevents name from wrapping to next line */
}




form.newmainsearch_gtamp {
padding: 25px 15px 15px 250px;
}

form.newmainsearch_gtamp input[type=text] {
  padding: 5px;
  font-size: 14px;
  border: 2px solid grey;
  border-radius: 6px 0px 0px 6px;
  float: left;
  width: 65%;
  /*background: #f1f1f1;*/
  height: 20px;
}
form.newmainsearch_gtamp button{

float: left;
  width: 15%;
  padding: 0px;
  background: #1e3363;
  color: white;
  font-size: 14px;
  border: 2px solid grey;
  border-radius: 0px 6px 6px 0px;
  border-left: none; /* Prevent double borders */
  cursor: pointer;
  height: 34px;
  
}

form.newmainsearch input[type=text] {
  padding: 5px;
  font-size: 14px;
  border: 2px solid grey;
  border-radius: 6px 0px 0px 6px;
  float: left;
  width: 65%;
  /*background: #f1f1f1;*/
  height: 20px;
}
form.newmainsearch button{

float: left;
  width: 25%;
  padding: 0px;
  background: #1e3363;
  color: white;
  font-size: 14px;
  border: 2px solid grey;
  border-radius: 0px 6px 6px 0px;
  border-left: none; /* Prevent double borders */
  cursor: pointer;
  height: 34px;
  
}
form.mainsearch {
margin-top:15px;
padding:0px; 
}
/* Style the search field */
form.mainsearch input[type=text] {
  padding: 5px;
  font-size: 14px;
  border: 1px solid grey;
  float: left;
  width: 67%;
  background: #f1f1f1;
  height: 20px;
}

/* Style the submit button */
form.mainsearch button {
  float: left;
  width: 27%;
  padding: 0px;
  background: #1e3363;
  color: white;
  font-size: 14px;
  border: 1px solid grey;
  border-left: none; /* Prevent double borders */
  cursor: pointer;
  height:32px;
}

.header {
margin-left: auto;
  margin-right: auto;
  width: 960px;
}


/* In your CSS file or <style> block */
.download-link-separator {
    margin: 0 4px; /* Adjust spacing here */
    color: #666;    /* Optional: make the pipe slightly lighter */
}

/*Navigation bar that drops down on scroll-down*/
.navbar {
  overflow: hidden;
  background-color: #1e3363;
  position: fixed;
  top: -66px;
 
  display: block;
  transition: top 0.4s ease;
  margin-left: auto;
  margin-right: auto;
  width: 960px;
  z-index:1;
}

.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  font-size: 14px;
margin-top: 4px;

}

.navbar a:hover {
  background-color: white;
  color: #1e3363;
margin-top: 4px;

}

.navbar .navbar-search-container {
  float: right;
}
.navbar input[type=text] {
  padding: 6px;
	width: 200px;
  font-size: 14px;
  border: none;
  height: 20px;
}

.navbar .navbar-search-container button {
  float: right;
  padding: 0px 10px;
  height: 32px;
  background: #ddd;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.navbar .navbar-search-container button:hover {
  background: #ccc;
}

@media screen and (max-width: 600px) {
  .navbar .navbar-search-container {
    float: none;
  }
  .navbar a, .navbar input[type=text], .navbar .navbar-search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
  }
  .navbar input[type=text] {
    border: 1px solid #ccc;  
  }
}


form.search_box_dropbar {
	line-height:1.0; 
   border:none;
   margin-bottom: 0px !important;
   padding: 10px !important
}

#dropbarr {
  background-color: white;
color:#1e3363;
  position: fixed;
left: 844px;
  top: -100px;
  width: 320px;
  display: block;
  transition: top 0.3s;
	z-index: 1;
height:50px;

}

/* end */

#gtp_main { min-width:960px;}
#sample-menu-1 { background-color:#1e3363; border:none; min-width:960px;}
#sample-menu-imm { background-color:#0176AF; border:none; min-width:960px;}
#sample-menu-gtmp { background-color:#990066; border:none; min-width:960px;}
#sample-menu-gtamp { background-color:#ffdd0f; border:none; min-width:960px;}
#gtp_popup_main {min-width:960px;}

#sample-menu-gtmap .sf-arrows {
	border-top-color: #373735 !important;

}

fieldset.search_box_home {
   line-height:1.0; 
   padding: .375em 1em; 
   background-color: transparent; 
   border:none;
	
}
/* added to handle accessibility issue with using fieldset in form without legend (name) */
form.search_box_home {
	line-height:1.0; 

   background-color: transparent; 
   border:none;
}

/* this may not be used --? */
fieldset.search_box {
   line-height:1.0; 
   padding: .375em 1em; 
   background-color: #ffffff; 
   border:none;
}



/* can delete - used in obsolete ligandActivityDispay.jsp*/
fieldset.search_box_home_main {
   line-height:1.5; 
   padding: .375em 1em; 
   background-color: transparent; 
   border:none;
   text-align: center;
   margin-bottom: 5px;
}

h6.target_summary_header {
	color: #666;
	font-size:11px;
	margin-top:0px;
	padding: 8px 0px 8px 0px;
	text-align: left;
	margin-bottom:0px;
}

.button_grey{
font-size:13px;border:1px solid #adaaad; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px; padding: 4px; text-decoration:none; display:inline-block;color:black;
 background-color: #e3e0e3; background-image: -webkit-gradient(linear, left top, left bottom, from(#e3e0e3), to(#cccccc));
 background-image: -webkit-linear-gradient(top, #e3e0e3, #cccccc);
 background-image: -moz-linear-gradient(top, #e3e0e3, #cccccc);
 background-image: -ms-linear-gradient(top, #e3e0e3, #cccccc);
 background-image: -o-linear-gradient(top, #e3e0e3, #cccccc);
 background-image: linear-gradient(to bottom, #e3e0e3, #cccccc);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#e3e0e3, endColorstr=#cccccc);
}

.button_grey:hover{
 border:1px solid #adaaad;cursor:pointer;
 background-color: #cccccc; background-image: -webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#e3e0e3));
 background-image: -webkit-linear-gradient(top, #cccccc, #e3e0e3);
 background-image: -moz-linear-gradient(top, #cccccc, #e3e0e3);
 background-image: -ms-linear-gradient(top, #cccccc, #e3e0e3);
 background-image: -o-linear-gradient(top, #cccccc, #e3e0e3);
 background-image: linear-gradient(to bottom, #cccccc, #e3e0e3);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#cccccc, endColorstr=#e3e0e3);
}

.button_gtoimmupdb{
border:1px solid #036f90; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px; padding: 4px; text-decoration:none; display:inline-block;color:white;
 background-color: #0499C7; background-image: -webkit-gradient(linear, left top, left bottom, from(#0499C7), to(#0176AF));
 background-image: -webkit-linear-gradient(top, #0499C7, #0176AF);
 background-image: -moz-linear-gradient(top, #0499C7, #0176AF);
 background-image: -ms-linear-gradient(top, #0499C7, #0176AF);
 background-image: -o-linear-gradient(top, #0499C7, #0176AF);
 background-image: linear-gradient(to bottom, #0499C7, #0176AF);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#0499C7, endColorstr=#0176AF);
}

.button_gtoimmupdb:hover{
 border:1px solid #024c63;cursor:pointer;
 background-color: #036C8C; background-image: -webkit-gradient(linear, left top, left bottom, from(#04B1E6), to(#04A1D1));
 background-image: -webkit-linear-gradient(top, #04B1E6, #04A1D1);
 background-image: -moz-linear-gradient(top, #04B1E6, #04A1D1);
 background-image: -ms-linear-gradient(top, #04B1E6, #04A1D1);
 background-image: -o-linear-gradient(top, #04B1E6, #04A1D1);
 background-image: linear-gradient(to bottom, #04B1E6, #04A1D1);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#04B1E6, endColorstr=#04A1D1);
}

.button_gtoimmupdb_off{
border:1px solid #024c63; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px; padding: 4px; text-decoration:none; display:inline-block;color:#666666;
 background-color: #036C8C; background-image: -webkit-gradient(linear, left top, left bottom, from(#EEEEEE), to(#F5F5F5));
 background-image: -webkit-linear-gradient(top, #EEEEEE, #F5F5F5);
 background-image: -moz-linear-gradient(top, #EEEEEE, #F5F5F5);
 background-image: -ms-linear-gradient(top, #EEEEEE, #F5F5F5);
 background-image: -o-linear-gradient(top, #EEEEEE, #F5F5F5);
 background-image: linear-gradient(to bottom, #EEEEEE, #F5F5F5);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#EEEEEE, endColorstr=#F5F5F5);
}

.button_gtoimmupdb_off:hover{
 border:1px solid #024c63;cursor:pointer;
 background-color: #036C8C; background-image: -webkit-gradient(linear, left top, left bottom, from(#CCCCCC), to(#F5F5F5));
 background-image: -webkit-linear-gradient(top, #CCCCCC, #F5F5F5);
 background-image: -moz-linear-gradient(top, #CCCCCC, #F5F5F5);
 background-image: -ms-linear-gradient(top, #CCCCCC, #F5F5F5);
 background-image: -o-linear-gradient(top, #CCCCCC, #F5F5F5);
 background-image: linear-gradient(to bottom, #CCCCCC, #F5F5F5);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#CCCCCC, endColorstr=#F5F5F5);
}

.button_charts{
border:1px solid #000000; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px; padding: 4px; text-decoration:none; display:inline-block;color:white;
 background-color: #1e3363; background-image: -webkit-gradient(linear, left top, left bottom, from(#1e3363), to(#3e517c));
 background-image: -webkit-linear-gradient(top, #1e3363, #3e517c);
 background-image: -moz-linear-gradient(top, #1e3363, #3e517c);
 background-image: -ms-linear-gradient(top, #1e3363, #3e517c);
 background-image: -o-linear-gradient(top, #1e3363, #3e517c);
 background-image: linear-gradient(to bottom, #1e3363, #3e517c);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#1e3363, endColorstr=#3e517c);
}

.button_charts:hover{
 border:1px solid #000000;cursor:pointer;
 background-color: #3e517c; background-image: -webkit-gradient(linear, left top, left bottom, from(#3e517c), to(#566892));
 background-image: -webkit-linear-gradient(top, #3e517c, #566892);
 background-image: -moz-linear-gradient(top, #3e517c, #566892);
 background-image: -ms-linear-gradient(top, #3e517c, #566892);
 background-image: -o-linear-gradient(top, #3e517c, #566892);
 background-image: linear-gradient(to bottom, #3e517c, #566892);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#3e517c, endColorstr=#566892);
}
/* new toggle Jan 2019 */

.onoffswitch {
    position: relative; width: 183px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #024C63; border-radius: 13px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "GtoImmuPdb View ON";
    padding-left: 12px;
    background-color: #0499C7; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "GtoImmuPdb View OFF";
    padding-right: 12px;
    background-color: #EEEEEE; color: #8C8C8C;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 18px; margin: 6px;
    background: #F5F5F5;
    position: absolute; top: 0; bottom: 0;
    right: 149px;
    border: 2px solid #024C63; border-radius: 13px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

/* end of new toggle Jan 2019*/

/* Immunopharmacology Meeting 2018 */
table.immuphar2018 {
table-layout: fixed; 
width:90%; 
padding:0px 5px 5px 20px; 
}
table.immuphar2018 tr td {
    vertical-align: top;

}
/* end */

/* Fibrosis Symposia 2020 */
table.fs2020 {
table-layout: fixed; 
width:90%; 
padding:0px 5px 5px 20px; 
border-collapse: collapse;
}
table.fs2020 tr td {
   
    vertical-align: top;
    padding: 5px 5px 10px 5px;
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    border-left: 0px;
    border-right: 0px;

}
/* end */

/* chem search div - when not using forms */
#chemicalize_search{
padding: 15px;


}
#chemicalize_sketch{
padding: 15px;
border: 3px;
border-style: groove;

}
/* end */

/* Popup stylings */
.popup-trigger{ 
    display: block; 
    margin: 0 auto; 
    cursor: pointer; 
    
}
.popup{
    display: none; 
    position: absolute;
    width: 400px; 
    padding: 12px 5px 5px 5px;
    background: #fff; 
    color: #333; 
    font-size: 12px; 
    border: 4px solid #1e3363;
    z-index: 9999;
    
}
.popup a
{
    color: #039;
}
.popup a:hover
{
    text-decoration:none;
    color:#000;
}
.popup-mobile{
    position: relative; 
    top: 0; 
    left: 0; 
    margin: 10px 0 0; 
    width: 100%;
}
.popup-btn-close{
    position: absolute; 
    top: 5px; 
    right: 10px; 
    color: #1e3363; 
    font-size: 16px; 
    font-weight: bold; 
    text-transform:uppercase;
    cursor: pointer;    
}

/* Styles for return to top button */
#return-to-top {
    position: fixed;
    font-size: 20px;
  bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 70px;
    height: 35px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
z-index:2;
}
#return-to-top p {
    color: #fff;
    
    margin: 0;
    position: relative;
    left: 3px;
    top: 6px;
    font-size: 15px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover p {
    color: #fff;
    top: 5px;
}

/* image modal */
/* Style the Image Used to Trigger the Modal */
.myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Modal Content (Image) for Ligand Activity Charts*/
.ligact-modal-content {
    margin: auto;
    display: block;
    width: 125%;
    max-width: 1200px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 70%;
    max-width: 500px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
	font-weight: bold;
	
}

#caption a{

    color: #00c5ff
}
#caption a:hover{

    color:#70d5f2;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.8s;
    animation-name: zoom;
    animation-duration: 0.8s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }

button::-moz-focus-inner {
    border:0;
    padding:0;
}
}

#main_search {
    height: 30px;
	width:70%;
    border-color: #1e3363;
    border-radius: 6px;
    border-style: solid;
    font-size: 14px;
    padding: 4px;
}
#main_search_form {
	padding: 10px 10px 2px 10px;
}
#main_search_form p fieldset{
	margin-bottom: 5px;
}

a.toggle {
	cursor: pointer;
}

.guidebutton {
margin: 0px 10px 5px 10px;
width:200px;
background-color: whitesmoke;
border-radius: 5px;
padding: 3px 0px 3px 0px;
border-color: #1e3363;

}
.guidebutton:hover {

background-color: #ebf1ff;


}

.searchbutton {
margin: 5px 10px 5px 10px;
width:150px;
background-color: whitesmoke;
border-radius: 5px;
padding: 3px 0px 3px 0px;
border-color: #1e3363;
font-size: larger;
}
.searchbutton:hover {

background-color: #ebf1ff;


}

#variable_chart_controls button {
	width: 150px;
    	padding: 3PX;
    	margin: 3px;
    	display: block;
}

#marvinlog {
	overflow-wrap: break-word;
}

* ================================================================
   CORRECTED FIX: SHOW ONLY IMMEDIATE SUBMENUS ON HOVER
   Replace the previous block with this one
   ================================================================ */

/* 1. Default State: Hide ALL submenus */
.sf-menu ul,
.immsf-menu ul,
.gtmpsf-menu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
}

/* 2. Hover State: Show ONLY direct child ULs (Use '>' selector) */
/* This prevents "grandchild" menus from showing when hovering the top level */
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul,
.immsf-menu li:hover > ul,
.immsf-menu li.sfHover > ul,
.gtmpsf-menu li:hover > ul,
.gtmpsf-menu li.sfHover > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 3. Nested Submenus (Flyouts): Position them to the right */
.sf-menu ul ul,
.immsf-menu ul ul,
.gtmpsf-menu ul ul {
    top: 0 !important;
    left: 100% !important;
    margin-top: -1px;
}

/* 4. Ensure List Items inside submenus stack vertically */
.sf-menu ul li,
.immsf-menu ul li,
.gtmpsf-menu ul li {
    float: none !important;
    width: 100%;
    display: block;
}


/* ================================================================
   FINAL FIX: CLEAN ARROWS (No Overlaps)
   Replace the previous arrow code with this EXACT block
   ================================================================ */

/* 1. Kill any injected spans completely */
.sf-sub-indicator {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    border: none !important;
    content: none !important;
}

/* 2. Reset links to remove background images */
.sf-menu a.sf-with-ul,
.immsf-menu a.sf-with-ul,
.gtmpsf-menu a.sf-with-ul {
    background-image: none !important;
    padding-right: 20px;
    position: relative;
}

/* 3. LEVEL 1 ONLY: Down Arrow 
   Selector: .sf-menu > li > a 
   This ensures it ONLY targets top-level items, never nested ones.
*/
.sf-menu > li > a.sf-with-ul:after,
.immsf-menu > li > a.sf-with-ul:after,
.gtmpsf-menu > li > a.sf-with-ul:after {
    content: '' !important;
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -3px;
    width: 0 !important;
    height: 0 !important;
    border-style: solid;
    border-width: 5px 4px 0 4px; /* Top, Right, Bottom, Left */
    
    /* WHITE DOWN ARROW */
    border-top-color: #ffffff !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    border-left-color: transparent !important;
    
    opacity: 1;
    z-index: 1000;
    display: block !important;
}

/* 4. LEVEL 2+ ONLY: Right Arrow 
   Selector: .sf-menu ul li a 
   This targets ANY link inside a nested UL.
   Because Step 3 is so specific, this rule won't conflict.
*/
.sf-menu ul li a.sf-with-ul:after,
.immsf-menu ul li a.sf-with-ul:after,
.gtmpsf-menu ul li a.sf-with-ul:after {
    content: '' !important;
    position: absolute;
    right: 6px;
    top: 50%;
    margin-top: -4px;
    width: 0 !important;
    height: 0 !important;
    border-style: solid;
    border-width: 4px 0 4px 5px; /* Top, Right, Bottom, Left */
    
    /* WHITE RIGHT ARROW */
    border-top-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    border-left-color: #ffffff !important;
    
    opacity: 1;
    z-index: 1000;
    display: block !important;
}

/* 5. Hover Effects (Optional: Keep white or change color) */
.sf-menu > li:hover > a.sf-with-ul:after,
.immsf-menu > li:hover > a.sf-with-ul:after,
.gtmpsf-menu > li:hover > a.sf-with-ul:after {
    border-top-color: #ffffff !important; /* Keep white */
}

.sf-menu ul li:hover > a.sf-with-ul:after,
.immsf-menu ul li:hover > a.sf-with-ul:after,
.gtmpsf-menu ul li:hover > a.sf-with-ul:after {
    border-left-color: #ffffff !important; /* Keep white */
}