
/*-------------------*/
/* COCAL css style   */
/*-------------------*/
body {
  font-family: 'Helvetica', sans-serif;
  font-size: small;
  color: black;
  background: white; 
  margin: 0;
}
.container {
  width: 100vw;
  height: 100vh;
  margin: 0;
}
.map {
  position: absolute;
  top: 0;
  bottom: 0;
  left:0;
  right:0;
}
.logo {
  text-align: center;
}
.bigbutton_on {
  display: block;
  background:  rgb(128,0,255);
  color: white;
  border: 1px solid black;
  padding: 5px;
  margin: 5px;
}
.bigbutton_off {
  display: block;
  background:  white;
  color: black;
  border: 1px solid black;
  padding: 5px;
  margin: 5px;
}
.legend_color {
  width: 50%;
  height: 1em;
  background: black;
  display: inline-block;
}
.cal_win {
  position: absolute;
  left: 5%;
  top: 40%;
  z-index: 2;
  display: none;
  background: lightgrey;
}
.cal_header {
  background: rgb(128,0,255);
  color: white;
  padding: 7px;
  width: 100%;
  font-size: larger;
}
.cal_panel {
  background: lightgrey;
  padding: 7px;
  width: 100%;
}
.cal_info {
  font-style: italic;
  width: 100%;
}
span.cal_wday {
  display: inline-block;
  padding: 5px;
  margin: 2px;
  width: 2em;
  text-align: center;
}
span.cal_day {
  display: inline-block;
  padding: 5px;
  margin: 2px;
  width: 2em;
  height: 2em;
  text-align: center;
  user-select: none;
}
.cal_lheader {
  display: inline-block;
  color: white;
  width: 50%;
  text-align: left;
}
.cal_rheader {
  display: inline-block;
  color: lightgray;
  width: 50%;
  text-align: right;
  font-size: small;
}
.cal_footer {
  background: lightgray;
  padding: 7px;
  width: 100%;
}
.pd_container {
  width: 100%;
}
span.pd_block {
  display: inline-block;
  width: 13%;
  text-align: center;
  color: black;
  font-size: xx-small;
  user-select: none;
  border-style: solid;
  border-color: dimgray;
  border-width: 1px;
  margin: 1px;
}
.avgd_container {
  width: 100%;
}
span.avgd_block {
  display: inline-block;
  width: 13%;
  text-align: center;
  color: black;
  font-size: xx-small;
  user-select: none;
  border-style: solid;
  border-color: dimgray;
  border-width: 1px;
  margin: 1px;
}
span.avgd_block_wide {
  display: inline-block;
  width: 20%;
  text-align: center;
  color: black;
  font-size: xx-small;
  user-select: none;
  border-style: solid;
  border-color: dimgray;
  border-width: 1px;
  margin: 1px;
}
.interaction {
    position: fixed;
    z-index: 4;
    font-size: x-large;
    text-align: center;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 100%;
    background: rgba(128,0,255,0.7);
    color: white; 
}
.plain {
    position: fixed;
    z-index: 4;
    font-size: large;
    text-align: center;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 100%;
    background: darkgray;
    color: white; 
}

.wait {
  position: fixed;
  padding-top: 20%;
  z-index: 4;
  font-size: xx-large;
  text-align: center;
  top: 0px;
  right: 0px;
  height: 100%;
  width: 100%;
  background: rgba(128,0,255,0.5);
  color: white; 
  display: none;
}

.disclaimer {
  display: block;
  position: absolute;
  padding: 10px;
  border-radius: 10px;
  z-index: 5;
  text-align: center;
  bottom: 10%;
  left: 5%;
  background-color: rgba(255,255,0,0.8);
  color: white; ;
  color: black; 
  font-size: larger;
}

/* Style the disclaimer tab */
.disclaimer_tab {
  overflow: hidden;
  /*border: 1px solid #ccc;
  background-color: #f1f1f1;*/
  border: none;
  background-color: rgba(255,255,0,0);
  border-radius: 10px;
}

/* Style the buttons that are used to open the tab disclaimer content */
.disclaimer_tab button {
  background-color: inherit;
  /*float: left;*/
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-weight: bold;
}

/* Change background color of buttons on hover */
.disclaimer_tab button:hover {
  background-color: rgba(83,83,3,0.8);
}

/* Create an active/current tablink class */
.disclaimer_tab button.active {
  background-color: rgba(127, 127, 20, 0.8);
}

/* Style the tab disclaimer content */
.disclaimer_tabcontent {
  display: none;
  padding: 6px 12px;
  /*border: 1px solid #ccc;
  border-top: none;*/
  border: none;
}
/*-------------------*/
/* PC or TABLET      */
/*-------------------*/
@media screen and (min-width: 1025px) {
  input {
    font-size: small;
    font-family: 'Helvetica', sans-serif;
  }
  select {
    font-size: small;
  }
  .sidebar {          
    position: absolute;
    z-index: 1;
    right: 2%;
    top: 2%;
    border-radius: 10px;
    background-color: white;
    padding: 10px;
    max-height: 95%;
    border-color: black;
    border-width: 1px;
    border-style: solid;
  }
  .sidebar2 {          
    position: absolute;
    z-index: 1;
    right: 2%;
    top: 2%;
    border-radius: 10px;
    background-color: white;
    padding: 10px;
    overflow-y: scroll;
    max-height: 95%;
    background-image: 'stripes.png';
  }
  .info {
    margin: 10px; 
    word-wrap: break-word;
    background-color: white;
    padding: 4px;
    color: dimgrey;
  }
  .coords {
    margin: 10px;
    padding: 4px;
  }
  .chart {
    position: absolute;
    z-index: 1;
    left: 3%;
    width: 76%;
    top: 2%;
    border-radius: 10px;
    background-color: white;
    display: none;
  }
  .legend {
    position: absolute;
    z-index: 1;
    left: 5%;
    width: 12%;
    top: 2%;
    border-radius: 5px;
    padding: 5px;
    background-color: white;
    font-size: small;
    display: none;
  }
  .magicbutton {
    font-size: 10vh;
    position: absolute;
    z-index: 2;
    right: 2%;
    top: 2%;
    border-style: solid solid none none;
    border-color: dimgray;
    border-width: 1px;
    font-size: large;
    background-color: white;
  }
}

/*-------------------*/
/* SMARTPHONE        */
/*-------------------*/
@media screen and (max-width: 1024px) {
  input {
    font-family: 'Helvetica', sans-serif;
  }
  select {
  }
  .sidebar {          
    position: absolute;
    z-index: 2;
    right: 0%;
    top: 0%;
    background-color: rgba(255,255,255,0.5);
    padding: 20px;
    overflow-y: scroll;
    max-height: 95%;
  }
  .info {
    word-wrap: break-word;
    background-color: white;
    color: dimgrey;
  }
  .coords {
  }
  .chart {
    position: absolute;
    z-index: 1;
    top: 0%;
    left: 0%;
    width: 100%;
    background-color: white;
    display: none;
  }
  .legend {
    position: absolute;
    z-index: 1;
    left: 8%;
    width: 20%;
    background-color: white;
    font-size: x-small;
    display: none;
    padding: 5px;
  }
  .magicbutton {
    position: absolute;
    z-index: 3;
    right: 0%;
    top: 0%;
    border: none;
    font-size: x-large;
    background-color: white;
  }
}
