BODY {
  /* will use the ones defined in bootstrap.css */
  /* font-family : Arial, Helvetica, sans-serif; */
  /* font-size : 13px; */
  /* font-weight : none; */
}

.top-icon-link a, .top-icon-link a:link, .top-icon-link a:visited {
  color: #666666; 
  text-decoration: none;
}

.top-icon-link a:active, .top-icon-link a:hover {
  color: #0066ff;
}

.hidden {
  visibility : hidden;
}

.tab {
  text-align : center;
  vertical-align : middle;
  padding-left : 4px;
  padding-right : 4px;
  text-decoration: none;
}

.tab-active {
  font-weight : 600;
  /*font-size: 110%;*/
}

.subnavi-link {
  font-weight : 600;
  text-align : center;
  vertical-align : middle;
  padding-left : 2px;
  padding-right : 2px;
  text-decoration: none;
}

.text-blue {
  color: #006699;
}

.box1px {
  padding: 1px 1px 0 0;
}
.box2px {
  padding: 2px 2px 0 0;
}
.box5px {
  padding: 5px 5px 0 0;
}
.box6px {
  padding: 6px 6px 0 0;
}
.box8px {
  padding: 8px 8px 0 0;
}

.height1px {
  height: 1px;
}
.height2px {
  height: 2px;
}
.height5px {
  height: 5px;
}
.height10px {
  height: 10px;
}
.height15px {
  height: 15px;
}
.height20px {
  height: 20px;
}

/* for the header of mobile version */
.txtHdrBlue {
  text-decoration : none;
  color : #006699;
  font-size : 115%;
  font-weight : bold;
  vertical-align: middle;
}

div.header-top {
  padding: 0 0 .2em 0;
  border-bottom: 1px solid #c9d7f1;
  clear: both;
}

/* changed to 0px for testing, was 2px */
div.footer-line {
  padding: 0 0 .2em 0;
  border-bottom: 0px solid #c9d7f1;
  clear: both;
}

.table-navibar {
  border-collapse: separate;
  border-spacing: 1px;
}

.table-header {
  height: 30px; 
  font-weight: bold; 
}

/**
 * day theme1 
 */

/* used for table title and button as well */
.day-theme1-active-navibar-bgcolor {
  background-color: #335A8E;
}
.day-theme1-active-navibar-color {
  color: #FFFFFF;
}
a.day-theme1-hover-visited:hover, a.day-theme1-hover-visited:visited {
  color : #FFFFFF;
}
.day-theme1-navibar {
  padding: 2px;
  text-align : center;
  vertical-align : middle;
  border: 1px solid #dddddd; 
  background-color: #D7D7D7; /* fall back color if linear-gradient is not supported */
  background-image: linear-gradient(to bottom, #ffffff, #D7D7D7);
}
.day-theme1-navibar-link a, .day-theme1-navibar-link a:link, .day-theme1-navibar-link a:visited {
  font-weight : 600; 
  color: #696969;
  text-decoration: none;
}
.day-theme1-navibar-link a:active, .day-theme1-navibar-link a:hover {
  color: #0066ff;
}
.day-theme1-subnavi-link {
  padding: 2px;
  border: #335A8E 1px solid; /* should be the same color as xxx-active-navibar-bgcolor */
}
.day-theme1-table-desc1 {
  /* do not use a different bgcolor... background-color: #E4E5E4;*/
}

/**
 * day theme 2
 */

/* used for table title and button as well */
.day-theme2-active-navibar-bgcolor {
  background-color: #0e3a24;
}
.day-theme2-active-navibar-color {
  color: #FFFFFF;
}
a.day-theme2-hover-visited:hover, a.day-theme2-hover-visited:visited {
  color : #FFFFFF;
}
.day-theme2-navibar {
  padding: 2px;
  text-align : center;
  vertical-align : middle;
  border: 1px solid #dddddd; 
  background-color: #ab9484; /* fall back color if linear-gradient is not supported */
  background-image: linear-gradient(to bottom, #ffffff, #ab9484);
}
.day-theme2-navibar-link a, .day-theme2-navibar-link a:link, .day-theme2-navibar-link a:visited {
  font-weight : 600; 
  color: #696969;
  text-decoration: none;
}
.day-theme2-navibar-link a:active, .day-theme2-navibar-link a:hover {
  color: #0066ff;
}
.day-theme2-subnavi-link {
  padding: 2px;
  border: #0e3a24 1px solid; /* should be the same color as xxx-active-navibar-bgcolor */
}
.day-theme2-table-desc1 {
  /* background-color: #E4E5E4; */
}


/**
 * night theme
 */

/* used for table title and button as well */
.night-theme-active-navibar-bgcolor {
  background-color: #456998;
}
.night-theme-active-navibar-color {
  color: #e5e5e5;
}
a.night-theme-hover-visited:hover, a.night-theme-hover-visited:visited {
  color : #e5e5e5;
}
.night-theme-navibar {
  padding: 2px;
  text-align : center;
  vertical-align : middle;
  border: 1px solid #393939;
  color: #e5e5e5;
  background-color: #2a2a2b; /* fall back color if linear-gradient is not supported */
  /*not to use gradient...  background-image: linear-gradient(to bottom, #ffffff, #2a2a2b); */
}
.night-theme-navibar-link a, .night-theme-navibar-link a:link, .night-theme-navibar-link a:visited {
  font-weight : 600; 
  color: #e5e5e5;
  text-decoration: none;
}
.night-theme-navibar-link a:active, .night-theme-navibar-link a:hover {
  color: #0066ff;
}
.night-theme-subnavi-link {
  padding: 2px;
  border: #456998 1px solid;
}
.night-theme-table-desc1 {
  /* background-color: #E4E5E4; */
}

/*
 #D3D3D3: light grey, for day-mode table/cell border
*/
.dayTable {
  width: 100%;
  border: 1px solid #D3D3D3;
  border-radius: 5px;
}
.dayTable td {
  padding: 2px; 
  border: 1px solid #D3D3D3;
}
.dayTable th {
  padding: 2px;
  border: 1px solid #D3D3D3;
}
.dayTable tr { 
  border-bottom: 1px solid #D3D3D3;
}
.dayTrHover tr:hover {
  background-color: #FAFAD2;
}

.nightTable {
  width: 100%;
  border: 1px solid #393939;
  border-radius: 5px;
}
.nightTable th {
  padding: 2px; 
  border: 1px solid #393939;
}
.nightTable td {
  padding: 2px; 
  border: 1px solid #393939;
}
.nightTable tr { 
  border-bottom: 1px solid #393939;
}
.nightTrHover tr:hover {
  background-color: #303131;
}

.blankTable, .blankTable tr, .blankTable td {
  border: 0px;
  border-spacing: 0px;
  padding: 0px;
}

.arrow-up-grey {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #555555;
  margin-top: 3px;
  margin-bottom: 2px;
}
.arrow-up-red {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid red;
  margin-top: 3px;
  margin-bottom: 2px;
}
.arrow-up-grey:hover {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid red;
  margin-top: 3px;
  margin-bottom: 2px;
}
.arrow-down-grey {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #555555;
}
.arrow-down-red {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid red;
}
.arrow-down-grey:hover {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid red;
}

/* for info and error message */

/*
DIV.x-info {
  border: #003399 2px solid;
  padding: 0px;
  margin: 4px 0px;
  color: #003399;
  font-weight: 600;
}

DIV.x-info-border {
  border: #003399 2px solid;
  padding: 0px;
  margin: 4px 0px;
}

DIV.x-error {
  border: red 2px solid;
  padding: 0px;
  margin: 2px 0px;
  color: red;
  font-weight: 600;
}
DIV.x-info LI {
  margin-left: -15px;
}
DIV.x-error LI {
  margin-left: -15px;
}
*/

.sessionTimer {
  top: 2px;
  right: 10px;
  position: fixed;
  z-index: 1;
  border: 1px solid #D3D3D3;
  padding-left: 2px;
  padding-right: 2px;
  text-align: center;
  vertical-align: top;
}
  
/* Tooltip */
.tooltip-day + .tooltip > .tooltip-inner {
  background-color: #335A8E;
  color: #FFFFFF;
  border: 1px solid #335A8E;
  max-width: 300px; 
  padding: 10px;
  font-weight: bold;
  text-align: left;
}

.tooltip-night + .tooltip > .tooltip-inner {
  background-color: #456998;
  color: #000000;
  border: 1px solid #456998;
  max-width: 300px; 
  padding: 10px;
  font-weight: bold;
  text-align: left;
}

.tooltip.in {
  opacity: 1 !important;
  filter: alpha(opacity=100);
}

.tooltip-day + .tooltip.bottom > .tooltip-arrow {
  border-bottom: 5px solid #335A8E;
}

.tooltip-night + .tooltip.bottom > .tooltip-arrow {
  border-bottom: 5px solid #456998;
}
