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

h1{ 
  font-size: 18px; 
  font-family:Arial, Geneva, Helvetica, Times, sans-serif; 
  color: #000;
  vertical-align: top; 
  text-align: center;
  width: 90%;
}

p {
  font-size: 16px;
  color: black;
  width: auto;
 }
 
p.explain {
  font-size: 16px;
  color: black;
  vertical-align: top;
  white-space:normal;
  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: black;
  text-decoration: none;
}

/* Show the refresh button on the right top cornor of the leaflet map */
#refreshButton {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px;
  z-index: 500; /* set to 100000 to avoid hiding under markers and the map */
}

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; */
}

.container {
  overflow: scroll;
  max-height: 180px;
  width: 90%;
}

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 {
  position: sticky;
  inset-block-start: 0;
  background-color: #ddd;
  z-index: 16; /* set higer value to avoid being transparent tbody when scroll vertically*/
}

/*** drop down tab  ***/  
.dropbtn {
  background-color: #DFEFEF;
  color: black;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 90%;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #94FFDD;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;  
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2000;
}

.show {display: block;}

/*** Drop down tab  end ***/

/*** sidomeny ***/
.sidomeny {
font-size: 11px;font-family:Verdana, Arial, Geneva, Helvetica, Times, sans-serif;line-height:  18px
}
.sidomeny A {
text-decoration: none
}
.sidomeny a:hover {
color: #FFFFFF; background-color:#990000
}
.sidomenyVIT { 
font-size: 11px;font-family:Verdana, Arial, Geneva, Helvetica, Times, sans-serif;line-height: 15px; color: #000000; font-weight: normal; padding-left: 8px; background-color: #990000
}
.sidomenyVIT a {
text-decoration: none; color: #ff0000
}
.sidomenyVIT a:visited {
text-decoration: none; color: #CCCCCC
}
.sidomenyVIT a:hover {
text-decoration: underline; color: #000055
}

/*** sidomeny end ***/
