    .dtcheck {
        padding: 0 13px;
    }
   .vis-item.green {
      background-color: green;
      border-color: black;
   }

   .vis-item-content div {
      display: none;
   }

   .vis-item.mixed {
      background-image: linear-gradient(0deg, rgba(44, 108, 223, 0.9450513481759891) 50%, rgba(221, 221, 221, 1) 50%);
      border-color: blue;
   }

   .vis-item.night {
      background-image: radial-gradient(circle at 1px 1px, black 1px, transparent 0);
      background-size: 4px 4px;   
   }

   .vis-item.undef {
      /* background-image: linear-gradient(to left top, rgb(238, 235, 47), rgb(230, 151, 4)); */
      background: silver;
      border: 1px solid black;
      box-shadow: 1px 1px 3px black;
   }

   .vis-item.q_quality {
      background-image: linear-gradient(to left top, rgb(238, 235, 47), rgb(230, 151, 4));
   }

   .legend_quality {
      background-image: linear-gradient(to left top, rgb(238, 235, 47), rgb(230, 151, 4));
      border: 1px solid darkgray;
      height: 10px;
      max-width: 60px;
  }
   .legend_mixed {
      background-image: linear-gradient(0deg, rgba(44, 108, 223, 0.9450513481759891) 50%, rgba(221, 221, 221, 1) 50%);
      border: 1px solid darkgray;
      height: 10px;
      max-width: 60px;
   }
   .legend_green {
      background: green;
      border: 1px solid darkgray;
      height: 10px;
      max-width: 60px;
   }
   .legend_night {
      background-image: radial-gradient(circle at 1px 1px, black 1px, transparent 0);
      background-size: 4px 4px;
      border: 1px solid darkgray;
      height: 10px;
      max-width: 60px;
   }
   .legend_undef {
      background: silver;
      border: 1px solid black;
      box-shadow: 1px 1px 3px black;
      height: 10px;
      max-width: 60px;
   }
   .legend_cluster {
      background: #d5ddf6;
      border: 1px solid #97b0f8;
      box-shadow: 1px 1px 3px black;
      height: 10px;
      max-width: 60px;
   }

#mqm-colorbar {
  height: 12px;
  border: 1px solid black;
  background: linear-gradient(to right, #ffffff, #ffffcc, #ffeca1, #feb44f, #fb8337, #f86e30, #f14423, #cf2526, #b9162b, #990033);
}
  #legend {
   padding: 8px;
   border-radius: 5px;
   font-size: 11px;
   font-family: sans-serif;
   position: relative; /*position should be non-static for 'left' to work */
   /*left: 33%; --> calendar at the center of modal */
   max-width: 400px;
   border: 1px solid lightgray;
   background: rgba(100,100,100,.1);
 }

  #legend>dl,
  #legend > div {
   margin: 8px 0 0 8px;
   }

   #legend>dl>dt {
     float: left;
     clear: left;
     padding: 6px 0 0 0;
     width: 30px;
   }

   #legend>dl>dd {
      margin: revert;
      padding-top: 3.5px;
    }  

   #legend>dl>dt>div {
     width: 30px;
   }
 
   .vis-item.q_1 {
      /* background-image: inear-gradient(#d9d9d9 80%, red 20%); */
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual01.png);
   }
   .vis-item.q_2 {
      /* background-image: linear-gradient(#d9d9d9, #d9d9d9, #d9d9d9, red, #d9d9d9); */
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual02.png);
   }
   .vis-item.q_3 {
      /* background-image: linear-gradient(#d9d9d9, #d9d9d9, #d9d9d9, red, #d9d9d9); */
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual03.png);
   }
   .vis-item.q_4 {
      /* background-image: linear-gradient(#d9d9d9, red, #d9d9d9, #d9d9d9, #d9d9d9); */
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual04.png);
   }
   .vis-item.q_5 {
      /* background-image: linear-gradient(#d9d9d9, #d9d9d9, #d9d9d9, red, #d9d9d9); */
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual05.png);
   }
   .vis-item.q_6 {
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual06.png);
   }
   .vis-item.q_7 {
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual07.png);
   }  
   .vis-item.q_8 {
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual08.png);
   }
   .vis-item.q_9 {
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual09.png);
   }
   .vis-item.q_10 {
      background-image: url(https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual10.png);
   }
   .vis-item.q_11 {
      background-image: url('https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual11.png');
   }
    .vis-item.q_12 {
      background-image: url('https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual12.png');
   }
    .vis-item.q_13 {
      background-image: url('https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual13.png');
   }
    .vis-item.q_14 {
      background-image: url('https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual14.png');
   }
    .vis-item.q_15 {
      background-image: url('https://oceancolor.gsfc.nasa.gov/cgi/mission_quality_monitor/qual15.png');
   }

   /* create a custom sized dot at the bottom of the red item */
   .vis-item.red {
      background-color: red;
      border-color: darkred;
      color: white;
      font-family: monospace;
      box-shadow: 0 0 10px gray;
   }

   .vis-item.vis-dot.red {
      border-radius: 10px;
      border-width: 10px;
   }

   .vis-item.vis-line.red {
      border-width: 5px;
   }

   .vis-item.vis-box.red {
      border-radius: 0;
      border-width: 2px;
      font-size: 24pt;
      font-weight: bold;
   }
   .viewerModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 350px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.viewer-content {
    background-color: #fefefe;
    margin: auto;
    padding: 25px;
    border: 2px solid #f2f2f2;
    width: 100%;
    max-width: 840px;
    height: auto;
    display: block;
    border-radius: 25px;
    left: 25%;
}

.circled {
   outline: 5px solid black;
   border-radius: 10%;
   box-shadow: inset 0 0 10px #311b0b;
}

.tab {
   overflow: hidden;
   border: 1px solid #ccc;
   background-color: #f1f1f1;
 }
 
 /* Style the buttons that are used to open the tab content */
 .tab button {
   background-color: inherit;
   float: left;
   border: none;
   outline: none;
   cursor: pointer;
   padding: 14px 16px;
   transition: 0.3s;
   color: black;
 }
 
 /* Change background color of buttons on hover */
 .tab button:hover {
   background-color: #ddd;
 }
 
 /* Create an active/current tablink class */
 .tab button.active {
   background-color: #ccc;
 }
 
 /* Style the tab content */
 .tabcontent {
   padding: 6px 12px;
   border: none;
   border-top: none;
 }

 .m_legend{
   vertical-align: top;
   margin: 0 30px;
 }

 .m_legend>button {
   display: block;
   float: right;
   width: 250px;
   height: 100%;
   text-decoration: none;
   text-align: center;
   font-family: sans-serif;
   font-size: 90%;
   color: black;
   background-color: #d0ecdd;
   border: 2px outset #1baf5e;
   margin: inherit;
}

 .m_errors>button {
   display: block;
   text-decoration: none;
   text-align: center;
   font-family: sans-serif;
   color: black;
   background-color: #FD9449;
   border: 2px #fd8d3c;
}
.m_errors button:hover{
    background-color: #FC832C;
}
h1 {
   display: inline-block;
   vertical-align: top;
   width: 300px;
   margin: 0;
   font-size: 150%;
   font-family: sans-serif;
 }

 .datepicker-dropdown.datepicker-orient-top {
    z-index: 1000;
 }

 #start_date_errors {
   position: relative; /*position should be non-static for 'left' to work */
   left: 33%; /* calendar at the center of modal */
   max-width: 400px;
 }

 .active {
   background-color: transparent;
   color: white;
 }

 .Highlighted_1{
   background-color : #ffffcc !important;
   background-image :none !important;
}

.Highlighted_2{
   background-color : #ffeca1 !important;
   background-image :none !important;
   color: black;
}

.Highlighted_3{
   background-color : #feb44f !important;
   background-image :none !important;
   color: black;
}

.Highlighted_4{
   background-color : #fb8337 !important;
   background-image :none !important;
}

.Highlighted_5{
   background-color : #f86e30 !important;
   background-image :none !important;
}

.Highlighted_6{
   background-color : #f14423 !important;
   background-image :none !important;
}

.Highlighted_7{
   background-color : #cf2526 !important;
   background-image :none !important;
}

.Highlighted_mild{
   background-color : #b9162b !important;
   background-image :none !important;
}

.Highlighted_max{
   background-color : #990033 !important;
   background-image :none !important;
}

.lds-ring {
   display: inline-block;
   position: relative;
   width: 80px;
   height: 80px;
   left: 45%; /* calendar at the center of modal */
 }
 .lds-ring:after {
   content: " ";
   display: block;
   border-radius: 50%;
   width: 0;
   height: 0;
   margin: 8px;
   box-sizing: border-box;
   border: 32px solid #282c2e;
   border-color: #fff transparent #fff transparent;
   animation: lds-ring 1.2s infinite;
 }
 @keyframes lds-ring {
   0% {
     transform: rotate(0);
     animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
   }
   50% {
     transform: rotate(900deg);
     animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
   }
   100% {
     transform: rotate(1800deg);
   }
 }

 .nav_control {
   cursor:pointer;
   font-size: 1em;
   padding: 0.08em 0.6em;
 }
 
h5{
  margin: 0;
}

#data-selections {
 margin: 20px 0;
 padding: 20px;
 display: grid;
 grid-template-columns: 2fr 1fr 1fr;
 border-radius: 8px;
 box-shadow: 1px 1px 10px #ccc;
 }
.label { font-weight: bold;}
.leftside,
.rightside{
 float: left;
 min-width: 200px;
 font-size: 11px;
}
.leftside{
 columns: 2;
}
.rightside {
  border: 1px solid lightgray;
}
#mqm_form div {
 display: block;
 margin: 12px 0;
}
#mqm_results{
 width: 100%;
}
#colorbar{
 width: 200px;
}
#error-values{
 display: grid;
 grid-template-columns: 1fr 1fr 1fr;
}
#error-values > #zero {
 justify-content: start;
 display: grid;
}
#error-values #five{
 justify-content: center;
 display: grid;
}
#error-values #nine{
 justify-content: end;
 display: grid;
}
