/* Dynamic scaling with size of browserwindow */
@media screen and ( max-width: 1000px ) { :root { font-size:0.45cm; } }
@media screen and ( max-width: 800px ) { :root { font-size:0.4cm; } }
@media screen and ( max-width: 600px ) { :root { font-size:0.3cm; } }
@media screen and ( max-width: 450px ) { :root { font-size:0.2cm; } }

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home").
Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 665px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
    margin-top: -10px;
  }
}


/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon.
This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 665px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: right;
  }
}

/* TerMed hack */
#slj4s { font-size: 1rem !important; height: 400px !important; width: 100% !important; overflow-y: auto !important; padding: 10px !important; border: 0px !important }
#slj4s #treeContent input[type="button"] { background-color: #008bd2 !important; }
#slj4s input[type="button"] { font-size: 1rem !important; height: 2.5rem !important; background-color: #008bd2 !important; }
#slj4s input[type="submit"] { font-size: 1rem !important; height: 2.5rem !important; background-color: #008bd2 !important; }
#slj4s .btn { font-size: 1.25rem !important; background-color: #aa69a9 !important; }
#slj4s termed .navContainer input[type="button"] { background-color: #008bd2 !important; }
#slj4s termed .navContainer { width: 300px !important; }
#slj4s termed .loginRegContainer input[type="button"] { background-color: #008bd2 !important; }
#slj4s termed .loginRegContainer input[type="submit"] { background-color: #aa69a9 !important; }
#slj4s termed .loginRegContainer { min-width: 650px !important; max-height: 600px !important; }
#slj4s termed .loginContainer { min-width: 620px !important; }
#slj4s termed .registrationContainer { min-width: 620px !important; }
#slj4s termed .loginRegNav { background-color: #008bd2 !important; }
#slj4s termed .messageContainer input[type="button"] { background-color: #008bd2 !important; }
#slj4s termed label { font-size: 0.75rem; }
#slj4s termed select { font-size: 0.75rem; }
#slj4s termed input { font-size: 0.75rem; }
#slj4s termed input[type=checkbox] {
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  padding: 10px;
}