/*
***************************************************************************  
**  Program  : index.css
**  Version  : v0.10.3
**
**  Copyright (c) 2021-2023 Robert van den Breemen
**
**  TERMS OF USE: MIT License. See bottom of file.                                                            
***************************************************************************      
*/
* {
    font-family: Arial, Helvetica, sans-serif;
  }
  
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Dosis', sans-serif;
    line-height: 1.6;
    color: black;
    background: #e6ffff;
  }
  
  body {
    max-width: 1000px;
  }

  table {
    color: black;
    border-collapse: collapse;
    width: 90%;
    background: lightblue;
  }
  
  th {
    white-space: nowrap;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    vertical-align: bottom;
  }
  
  td {
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    vertical-align: bottom;
  }
  
  tfoot {
    font-size: 12px;
    color: darkblue;
  }
  
  input {
     padding-top: 3px;
     padding-bottom: 2px;
     font-size: 12pt;
  }
  
  .outer-div {
    /*width: 90%; */
    text-align: center;
    background-color: #e6ffff 
  }
  .inner-div {
    display: inline-block; 
    /*
    margin: 0 auto;
    padding: 3px;
    background-color: lightblue
    */
  }

  #displayMainPage, #displayPICflash, #displayDeviceInfo, #displaySettingsPage {
    max-width: 1000px;
  }

  #displayPICflash div#firmwarename {
    width: 80%;
  }
  
  .container-card {
    padding: 50;
    margin: 50;
    list-style: none;
    flex-direction: row; /*row | row-reverse | column | column-reverse*/
    
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -webkit-flex-flow: row wrap;
    justify-content: space-around; /* flex-start | flex-end | center | space-between | space-around | space-evenly */
  
  }
  
  .container-box {
    padding: 10px;
    margin: 10px;
    list-style: none;
    flex-direction: column; /*row | row-reverse | column | column-reverse*/
    
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -webkit-flex-flow: column wrap;
    justify-content: flex-start;
    margin-top: 10px;
  }
  
  /*--------------------- N A V - B A R -----------------*/
.nav-container,.footer {
    background: #00bffe;
    padding: 6px;
    min-height: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .footer {
    background-color: #e6ffff;
  }

  .nav-container a:hover {
    color: black;
    background: skyblue; /* only for FSexplorer - Rest does not work */
  }

  .nav-left {
    flex-basis: 10%;
    display: flex;
    flex-grow: 1;
    gap: 15px;
    flex: 2 1 0;
    justify-content: left; /* horizonal alignment */
    align-items: center; /* horizonal alignment */
    min-height: 50px;
  }


  .nav-left .hidden {
    display: none;
  }

  .nav-right {
    flex-basis: 80%;
    display: flex;
    flex-grow: 9;
    gap: 15px;
    flex: 2 1 0;
    justify-content: right; /* horizonal alignment */
    align-items: center; /* horizonal alignment */
    min-height: 50px;
  }

  .nav-right .adv_dropdown {
    display: block;
    position: absolute;
    top: 121px;
    background-color: white;
    padding: 10px 20px;
    background-color: lightblue;
    box-shadow: 2px 2px 2px 0px grey;
    z-index: 200;
  }

  .nav-right .adv_dropdown.hidden {
    display: none;
  }

  .nav-right .adv_dropdown span {
    display: block;
    height: 2em;
    line-height: 2em;
    width: auto;
    cursor: pointer;

  }

  .nav-right .adv_dropdown span:hover {
    background-color: #bde8f6;
  } 
  
  .nav-item {
    font-size: 16px;
    height: 40px;
    width: 110px;
    background-color: lightblue;
    border: none;
    border-radius: 5px;
    color: #505050;
    cursor: pointer;
    box-shadow: 2px 2px 2px 0px grey;
  }
  
  .nav-item:hover {
    color: black;
  }

  .nav-item:active {
    transform: translate(2px, 2px);
    box-shadow: none;
  }

  .nav-img {
    height: 30px;
    object-fit: cover;
    cursor: pointer;
  }

  .nav-clock {
    top: 1px;
    color: black;
    float: right;
    font-size: small;
    font-weight:bold;
    text-align: right;
    background: white; 
    width: 200px; 
    padding-right: 10px;
    background: #e6ffff;
  }

  /*-------------------------*/
  /***
  @media all and (max-width: 600px) {
    .nav-container {
      justify-content: space-around;
    }
  }
  
  @media all and (max-width: 400px) {
    .nav-container {
      -webkit-flex-flow: column wrap;
      flex-flow: column wrap;
      padding: 0;
    }
  }
  ***/
  
  .tabButton a:hover {
    background-color: gray;
  }
  
  
  .header h1 span {
    position: relative;
    top: 1px;
    left: 10px;
  }
  
  .bottom { 
    position: fixed;
    font-size: small;
    color: gray;
    bottom:0;
  } 
  .right-0  {right: 0; padding-right: 10px; }
  .left-0   {left:  0; padding-left:  10px; }
              
  /*-- next 4 are for the API doc page --------*/
  .div1 { 
    float: left;  
    margin-left: 20px; 
    margin-top: 10px;
  }
  .div1 a:link, a:visited { 
    background-color: deepSkyBlue; 
    color: white; 
    padding: 5px 15px; 
    width: 210px; 
    text-align: right; 
    text-decoration: none; 
    display: inline-block;
  }
  .div1 a:hover, a:active { 
    background-color: deepSkyBlue;
    color: black;
  }
  
  .div2 { 
    margin-left: 280px; 
    margin-top: -52px;
  }
  
  /* header */
  .headerrow {
    vertical-align:bottom;
  }
  
  .headercolumnbig{
    font-size: xx-large;
    font-weight: bold;
    float: left;
    width: 350px;
  }
  
  .headercolumn{
    font-size: smaller;
    float: left;
    width: 175px;
    
  }
  
  /* Clear floats after the columns */
  .headerrow:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      width: 100%;
    }
  }
  
  /* PIC firmware page */
.pictable {
  display: table;
  width: 100%;
  min-width: 600px;
  padding: 5px;
}
.picrow {
  display: table-row;
  padding: 5px;
  width: 100%;
}
.piccolumn1 {
  display: table-cell;
  width: 170px;
  margin: 5px;
}
.piccolumn2 {
  display: table-cell;
  width: 75px;
  margin: 5px;
}
.piccolumn3 {
  display: table-cell;
  width: 30px;
  margin: 5px;
}
.piccolumn4 {
  display: table-cell;
  padding-left: 5px;
  width: 16px;
  margin: 5px;
}
.piccolumn5 {
  display: table-cell;
  width: 16px;
  padding-left: 5px;
  padding-right: 5px;
  margin: 5px;
}

*[data-tooltip] {
  position: relative;
}

*[data-tooltip]::after {
  content: attr(data-tooltip);

  position: absolute;
  top: -20px;
  right: -20px;
  width: auto;

  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out;
  -ms-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;

  display: block;
  font-size: 12px;
  line-height: 16px;
  background: #fefdcd;
  padding: 5px 2px;
  border: 1px solid #c0c0c0;
  box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.4);
}

*[data-tooltip]:hover::after {
    opacity: 1;
}

/* OTmonitor */

.otmontable {
  display: table;
  width: 100%;
}

.otmonrow {
  background: lightblue;
  display: table-row;
}
.otmoncolumn1 {
  display: table-cell;
  float: left;
  width: 270px;
  padding-left: 10px;
}
.otmoncolumn2 {
  display: table-cell;
  float: left;
  width: 40px;
  text-align: right;
}
.otmoncolumn3 {
  display: table-cell;
  float: left;
  width: 30px;
  margin-left: 2px;
}

/* DevInfo */
.devinfonrow {
  background: lightblue;
  display: table-row;
  font-size: 14px;
}
.devinfocolumn1 {
  display: table-cell;
  float: left;
  width: 160px;
  padding-left: 10px;
  font-size: 14px;
}
.devinfocolumn2 {
  display: table-cell;
  float: left;
  width: 160px;
  text-align: left;
  font-size: 14px;
}

/* Clear floats after the columns */
.devinforow:after {
  content: "";
  display: table;
  clear: both;
  background: lightblue;
}

/* Clear floats after the columns */
.devinforow:after {
  content: "";
  display: table;
  clear: both;
  background: lightblue;
}

/* SettingsPage */
#settingMessage {
  background-color: coral;
  width: 860px;
  margin-left: 10px;
  color: white;
  text-align: center;
}

  /* define tag selectors () -------------------------------------------------- */
  
  button { width: 100px; }
  
  /*
  ***************************************************************************
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
  * "Software"), to deal in the Software without restriction, including
  * without limitation the rights to use, copy, modify, merge, publish,
  * distribute, sublicense, and/or sell copies of the Software, and to permit
  * persons to whom the Software is furnished to do so, subject to the
  * following conditions:
  *
  * The above copyright notice and this permission notice shall be included
  * in all copies or substantial portions of the Software.
  *
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
  * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  * 
  ***************************************************************************
  */
