*
{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #000;
}

html
{
  font-family: Tahoma, sans-serif;
}

body
{
  background-color: #fff;
  background-image: url("background.webp");
  background-size: 100vmax 100vmax;
  background-repeat: no-repeat;
}

.col-1  { width:   8.33%; }
.col-2  { width:  16.66%; }
.col-3  { width:  25.00%; }
.col-4  { width:  33.33%; }
.col-5  { width:  41.66%; }
.col-6  { width:  50.00%; }
.col-7  { width:  58.33%; }
.col-8  { width:  66.66%; }
.col-9  { width:  75.00%; }
.col-10 { width:  83.33%; }
.col-11 { width:  91.66%; }
.col-12 { width: 100.00%; }

[class*="col-"]
{
  display: block;
  float: left;
}

.row::after
{
  display: block;
  clear: both;
  content: "";
}

#header
{
  background-color: #262626;
  padding: 1% 0;
}

#footer
{
  color: #fff;
  background-color: #262626;
  padding: 10px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

#footer-navigation
{
  padding-top: 10px;
  float: left;
  width: 33.33333%;
  text-align: center;
}

#footer span
{
  color: #fff;
  font-size: 12px;
  padding-top: 15px;
  float: left;
  width: 33.33333%;
  text-align: left;
}

#footer a
{
  color: #fff;
  text-decoration: underline;
  padding: 0 5px;
  font-size: 12px;
  text-align: right;
}

#product-logo
{
  display: block;
  width: 180px;
  margin: auto;
}

#vendor-logo
{
  display: block;
  width: 180px;
  float: right;
  text-align: right;
}

#clinic-logo
{
  display: block;
  width: 250px;
  margin: auto;
}

h1, h2
{
  text-align: center;
  margin: 10px 0;
  padding: 2px;
  font-size: 20px;
  font-weight: lighter;
  color: #4d4d4d;
}

h3
{
  text-align: center;
  margin: 10px 0;
  padding: 2px;
  font-size: 30px;
  font-weight: lighter;
  color: #4d4d4d;
}

#status
{
  font-size: 20px;
}

#content
{
  width: 30%;
  border: none;
  background-color: #f5f4f2;
  margin: 30px auto;
  padding: 5px;
}

#login-page
{
  padding: 4px;
}

p
{
  margin: 1rem 1rem;
  text-align: center;
}

a,
a:visited
{
  text-decoration: none;
  color: #000;
  transition: color 1s ease;
}

a:hover,
a:active
{
  color: #999;
}

p.info
{
  font-size: 14px;
  color: #4d4d4d;
  padding: 8px 0;
}

#lock-info
{
  display: none;
}

div.steps
{
  visibility: hidden;
}

span.step
{
  visibility: hidden;
}

span.step.active
{
  width: 16px;
  height: 16px;
  margin: 10px 2px;
}

hr
{
  border: none;
  height: 1px;
  background-color: #999;
  margin: 0 5px;
}

form.field-group
{
  text-align: center;
}

form.field-group input
{
  color: #fff;
  margin: 0 1px;
  padding: 1px;
  width: 40px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  border-radius: 5px;
  border: none;
  background-color: #4d4d4d;
  caret-color: transparent;
}

@media only screen and (max-width: 640px)
{
}

@media only screen and (min-width: 641px)
{
}

@media only screen and (min-width: 1008px)
{
}

button
{
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  border: 1px solid #444;
  background-color: #444;
  border-radius: 5px;
  font-size: 20px;
}

#download-button,
#view-button
{
  cursor: pointer;
  color: #f1f1f1;
  background: #4d4d4d;
  border: none;
  width: 80%;
}

i.fa
{
  color: #f1f1f1;
}

#progress
{
  display: inline-block;
  margin: 10px 0;
  width: 300px;
  text-align: center;
  border-radius: 5px;
  border: 2px solid #444;
  background-color: #222;
  overflow: hidden;
}

#bar
{
  width: 0;
  padding: 5px 0;
  background-color: #fac739;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
}

#bar::after
{
  content: "\00a0";
}

#fullscreen-overlay
{
  position: fixed;
  width: 0;
  height: 0;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.5s ease;
}

#fullscreen-overlay.active
{
  background-color: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100%;
}

#view-page
{
  display: none;
}

#login-progress-page
{
  display: none;
}

#login-status::after,
#download-status::after,
#view-status::after
{
  content: "\00a0";
}

.loader
{
  display: block;
  margin: 0 auto;
  border: 8px solid #fff;
  border-top: 8px solid #fac739;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

.checkmark {
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  font-size: 60px;
  color: #78b13f;
}

.error
{
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  font-size: 60px;
}

.error i
{
  color: #B12B0E;
}

@keyframes spin
{
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.studies
{
  height: 200px;
  overflow: auto;
  padding: 0 5px;
}

.study
{
  border-radius: 5px;
  border: 2px solid #444;
  margin-bottom: 5px;
  padding: 5px;
}

.study .title
{
  text-align: left;
  font-weight: bold;
  font-size: 0.8em;
}

.study .date
{
  text-align: right;
  font-size: 0.8em;
}

.study .download,
.study .download:visited
{
  display: block;
  border-top: 1px solid #444;
  text-align: center;
  padding: 5px 0;
  font-size: 0.8em;
  margin-top: 20px;
  transition: background-color 0.5s ease;
}

.study .download:hover,
.study .download:active
{
  background-color: #444;
  cursor: pointer;
  color: #fff;
}

::-webkit-scrollbar
{
  width: 10px;
}

::-webkit-scrollbar-track
{
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb
{
  background: #888;
}

::-webkit-scrollbar-thumb:hover
{
  background: #555;
}

input[name="pin"]
{
  -webkit-text-security: disc;
  -moz-text-security: disc;
}

/* POP UP NAVIGATION LINKS */
.overlay
{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 5ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target
{
  visibility: visible;
  opacity: 1;
}

.popup
{
  margin: 70px auto;
  padding: 30px 20px;
  background: #262626;
  border-radius: 5px;
  width: 40%;
  position: relative;
  transition: all 1s ease-in-out;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.popup .content::-webkit-scrollbar
{ 
  display: none;
}

.popup h2
{
  margin-top: 0;
  color: #fac739;
}

.popup .close
{
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

.popup .close:hover
{
  color: #fac739;
}

.popup .content
{
  color: #fff;
  overflow: scroll;
  max-height: 70vh !important;
}

.popup .content h3
{
  color: #fff;
  text-align: left;
  font-size: 15px;
  font-weight: bold;
  margin: 8px 0;
}

.popup .content h4
{
  color: #fff;
  text-align: left;
  font-size: 13px;
  font-weight: lighter;
  margin: 6px 0;
}

.popup .content p
{
  color: #fff;
  text-align: left;
  font-size: 14px;
  font-weight: lighter;
}

#webclient
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh; /* Fallback */
  height: calc(var(--vh, 1vh) * 100);
  visibility: hidden;
  z-index: -1;
}

#webclient iframe
{
  border-width: 0;
  width: 100vw;
  height: 100vh; /* Fallback */
  height: calc(var(--vh, 1vh) * 100);
}

@media (max-width: 1350px)
{
  #content
  {
    width: 45%;
  }
}

@media (max-width: 860px)
{
  #content
  {
    width: 75%;
  }

  #footer-navigation
  {
    width: 100%;
    text-align: center;
  }

  #footer span
  {
    width: 100%;
    text-align: center;
  }

  #vendor-logo
  {
    float: none;
    padding: 10px 0;
    margin: 0 auto;
  }

  .popup
  {
    width: 70%;
  }
}

@media (max-width: 530px)
{
  #content
  {
    width: 90%;
  }

  form.field-group input
  {
    width: 35px;
    height: 50px;
    font-size: 20px;
  }

  #product-logo
  {
    width: 150px;
  }

  #vendor-logo
  {
    width: 120px;
  }

  .popup
  {
    width: 80%;
  }
}

@media (max-width: 380px)
{
  form.field-group input
  {
    width: 27px;
    height: 45px;
    font-size: 20px;
  }

  #product-logo
  {
    width: 120px;
  }

  #vendor-logo
  {
    width: 100px;
  }

  .popup
  {
    width: 90%;
  }
}

@media (max-height: 700px)
{
  #content
  {
    margin-top: 10px;
    margin-bottom: 90px;
  }

  #footer
  {
    position: static;
    float: bottom;
    overflow: hidden;
  }

  .popup .content
  {
    max-height: 50vh !important;
  }
}
