body {
  display: grid;
  grid-template-areas:
    "header header header"
    "nav CSMainImg CSMainImg"
    "footer footer footer";
  grid-template-rows: 60px 1fr 0px;
  grid-template-columns: auto 1fr 16px; /* thumbnail width 10vw = 10% of viewport width */
  grid-gap: 0px;
  height: 100vh;
  margin: 0;
  overflow: hidden; /* disable scrollbar */
  }
header, footer, CSMainImg, nav, div {
  padding: 0px;
  xbackground: black;
  background: #222;
}

@media (max-width: 500px)  { .smallLogo {display: block} .bigLogo {display: none} }
@media (max-width: 800px) and (min-width: 500px)  { .smallLogo {display: block} .bigLogo {display: none} }
@media (min-width: 801px)  { .smallLogo {display: none}  .bigLogo {display: block} }

#pageHeader  {  grid-area: header;  }
#pageFooter  {  grid-area: footer;  }
#mainViewport{  grid-area: CSMainImg; xz-index: 10; }
#mainNav     {  grid-area: nav;   background: #000; overflow-y:auto;  }

#js-progressbar {
  width: 40%;
  background: #444444;
}



#menu {
  background: #222;
}

#menu a:hover {
  color: #fff;
}

#menuDownload {
  background: #222;
}

#menuDownload a:hover {
  color: #fff;
}

.uk-nav-header {
  color: #fff !important;
} 

.aboutaddr {
  color: #fff;
  font-size: 0.8em;
}

.about-title {
  font-size: 1.3em;
  line-height: 1.3;
  color: #ddd;
}

#js-statusmsg {
  width: 33%;
  padding: 0;
  bottom: 3px;
}

.btn-large {
  font-size: 1.3em;
}

.LogoImg {
  --header-parent-height: 60px;
  position: relative;
  right: 8px;
  height: 24px;
  top: calc(var(--header-parent-height)/2);
  --uk-position-translate-y: -50%;
  transform: translate(0,var(--uk-position-translate-y));
}

.bigLogo {
  position: absolute;
  right:20px;
}
.smallLogo {
  position: absolute;
  right:2px;
}

.thumbnail {
  margin-bottom: 5px;
  xheight: 15vh;
  height: 120px;
  max-width: 120px;
  border-style: solid;
  border-color: #001517;
  position: relative;

  overflow: hidden;
  text-align: center;
}

.thumboverlay {
  font-size: 16px;
  color: aqua;
  xz-index: 11111;
  xfont-weight: bold;
  position: absolute;
  top: 0px;
  right: 1px;
}

.thumbSeriesDesc {
  font-size: 14px;
  color: white;
  bottom: 0px;
  left: 0px;
  position: absolute;
  xtext-align: center;
  white-space: nowrap;
  xfloat:left;
  display: inline-block;
  xmargin: 10px 10px 0 0;
}

.thumbNavMinimizeBtn {
  position: absolute;
  top: 18px;
  left: 5px;
  xtop: calc(50% - var(--uk-position-margin-offset));
}

@supports (-webkit-touch-callout: none) { /* apple mobile devices only */
  header {
    font-size: 0.8em;     /* icon font size, not working with default 1.3em */
    padding-top: 20px;    /* ios adressbar overlaps iconbar... */
  }
  body {
    height: -webkit-fill-available;
  }
  .thumbNavMinimizeBtn {
    top: 40px;
  }
}

#modalinput  {
  xborder: 5px;
  border-radius: 10px;
  xbackground-color: #163239;
  xcolor: #000000;
  background-color:#163239;
}

#modalinputid, #modalinputpw {
  xborder: 15px;
  padding: 25px;
  xbackground-color: #163239;
  xcolor: #dddddd;
  font-size: 20px;
  background-color: #163239 !important;
  color: #ffffff;
}

#modalinputheader {
  border: 5px;
  border-radius: 10px;
  background-color: #163239;
  color: #ffffff;
  padding-top:    15px;
  padding-bottom: 15px;
}
#modalinputbtn {
  border-radius: 5px;
  border: 0px;
}

#modalinputheaderBD, #modalinputbtn {
  background-color: #222222;
  color: #eeeeee;
  border-bottom: 0px;
}
#form-birthdate {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
  xborder-bottom: 1px solid;
}
#modalinputbtn {
  border-bottom: 1px solid;
  border-style: double;
  xwidth: 1em;
}
#modalinputbtnBD {
  background: #009ba4;
}

/* image tag overlay */
#overlayTopLeft  {
  background: transparent;
  padding: 3px;
  color: #7cc4e6;
  font-size: 80%;
}
#overlayTopRight  {
  background: transparent;
  padding: 3px;
  color: #7cc4e6;
  font-size: 80%;
}

#overlayTopLeft p {
  margin: 0px;
}

#overlayTopRight p {
  margin: 0px;
}

/*
input[type="text"], textarea ,input:-webkit-autofill:focus, input:-webkit-autofill:active {
            background-color: green !important;;
            color:black;
         }
 input:-webkit-autofill {
     -webkit-box-shadow: 0 0 0px 1000px white inset;
     -webkit-text-fill-color: red !important;
 }
*/

/* ******* Viewport ScrollBar ******* */
.scroll {
  xheight: 100%;
  padding: 5px;
  position: absolute;
  right: 3px;
  top: 0;
}
.scroll .scroll-holder {
  height: calc(100% - 20px);
  margin-top: 5px;
  position: relative;
  width: 16px;
}
.scroll .scroll-holder .imageSlider {
  height: 16px;
  left: 16px;
  padding: 0;
  position: absolute;
  top: 0;
  transform: rotate(90deg);
  transform-origin: top left;
  -webkit-appearance: none;
  background-color: rgba(0, 0, 0, 0);
}
.scroll .scroll-holder .imageSlider:focus {
  outline: none;
}
.scroll .scroll-holder .imageSlider::-moz-focus-outer {
  border: none;
}
.scroll .scroll-holder .imageSlider::-webkit-slider-runnable-track {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  height: 5px;
  z-index: 6;
}
.scroll .scroll-holder .imageSlider::-moz-range-track {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  height: 2px;
  z-index: 6;
}
.scroll .scroll-holder .imageSlider::-ms-track {
  animate: 0.2s;
  background: transparent;
  border: none;
  border-width: 15px 0;
  color: rgba(0, 0, 0, 0);
  cursor: pointer;
  height: 16px;
  width: 100%;
}
.scroll .scroll-holder .imageSlider::-ms-fill-lower {
  background: rgba(0, 0, 0, 0);
}
.scroll .scroll-holder .imageSlider::-ms-fill-upper {
  background: rgba(0, 0, 0, 0);
}
.scroll .scroll-holder .imageSlider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  background-color: #2b778a;
  border: none;
  border-radius: 57px;
  cursor: -webkit-grab;
  height: 16px;
  margin-top: -4px;
  width: 139px;
}
.scroll .scroll-holder .imageSlider::-webkit-slider-thumb:active {
  background-color: #20a5d6;
  cursor: -webkit-grabbing;
}
.scroll .scroll-holder .imageSlider::-moz-range-thumb {
  xbackground-color: #163239;
  background-color: #2b778a;
  border: none;
  border-radius: 57px;
  cursor: -moz-grab;
  height: 16px;
  width: 139px;
  z-index: 7;
}
.scroll .scroll-holder .imageSlider::-moz-range-thumb:active {
  background-color: #20a5d6;
  cursor: -moz-grabbing;
}
.scroll .scroll-holder .imageSlider::-ms-thumb {
  background-color: #163239;
  border: none;
  border-radius: 57px;
  cursor: ns-resize;
  height: 16px;
  width: 39px;
}
.scroll .scroll-holder .imageSlider::-ms-thumb:active {
  background-color: #20a5d6;
}
.scroll .scroll-holder .imageSlider::-ms-tooltip {
  display: none;
}
/* ******* Viewport ScrollBar end ******* */

/* width */
::-webkit-scrollbar {
  width: 20px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
