@charset "UTF-8";
body {  
  /*margin: 10px;  /* put 10 px margin from left for all components on the map*/
  width: 100%; 
  overflow: auto;
  min-width: 250px;   /*set minimum width to avoid table header's cells conflict each other.*/
  background: none transparent;
}

h3{ 
  vertical-align: top; 
  text-align: center;
}

 
p.explain {
   width: 90%;
}


/* the links' color on top of the page */ 
a.combull:link {
  color: blue;
  text-decoration: none;
}

a.combull:visited {
  color: red;
  text-decoration: none;
}

a.combull:hover {
  color: cyan;
  text-decoration: underline;
}

a.combull:active {
  color: yellow;
  text-decoration: underline;
}
 

/*************************************************/

tr.type1:hover { /* change the background color of the row hovering the mouse to coral */
   background:  #94FFDD;
}

tr.type2:hover { /* change the background color of the row hovering the mouse to coral events shown in squares*/
   background:  #94FFDD;
}
/* extends the link on a cell over the whole row */
a.coral:before {
  content: '';
  position:absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  width: 100%;
  text-decoration: none;
}

a.coral:link {
  color: var(--bs-body-color);
  text-decoration: none;
}

a.coral:hover {
  background: #94FFDD;
}

a.coral {
  color: var(--bs-body-color);
  text-decoration: none;
}

/* Show the refresh button on the right top cornor of the leaflet map */
#refreshButton {
  position: absolute;
  z-index: 500; /* set to 100000 to avoid hiding under markers and the map */
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.25rem 0.4rem;
  background-color: #DFEFEF;
  color:  var(--bs-body-color);
  border-width: 1px;
  font-size: 1rem;
}

p.redText {
/*  color:red;*/
  font-family: sans-serif; 
/*  font-weight: bold;*/
  width: 90%;
  text-align: center;
}

/****************************************/
tr.mainTable {
}

tr td:first-child {
  position:relative;
}

/* Set the background color of the even rows in all table to the given color*/
tr:nth-child(even) {
  background-color: #DFEFEF;
}

/* Set the background color of the odd rows in all table to the given color*/
tr:nth-child(odd) {
 /* background-color: #FFFFFF;*/
}

td + td {
  /*border-left:1px solid #000;*/
}

/* Set the font type and size and the vertical alignment in all rows to the values below*/ 
td {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
/*  vertical-align: center; */
}

.table_container {
  overflow: auto;
  max-height: 180px;
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%
}


table th, table td {
  padding: 0px 0px;
  border: 1px solid #ddd;
/*  overflow: hidden;*/
  overflow: clip;
  text-overflow:  ellipsis;
  white-space: nowrap;
}

table thead {
  text-align: center;
  position: sticky;
  inset-block-start: 0;
  background-color: #ddd;
  z-index: 16; /* set higer value to avoid being transparent tbody when scroll vertically*/
}
