* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  overflow-y: scroll;
}

.navtop {
  background-color: #2f3947;
  height: 40px;
  width: 100%;
  border: 0;
  overflow: hidden;
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  padding: 0px 0px;
}

.navtop div {
  display: flex;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

.navtop div h1, .navtop div a {
  display: inline-flex;
  align-items: center;
}

.navtop div h1 {
  flex: 1;
  font-size: 24px;
  padding: 10px;
  margin: 0;
  color: #eaebed;
  font-weight: normal;
}

.navtop div a {
  padding: 0 15px;
  text-decoration: none;
  color: #c1c4c8;
  font-weight: bold;
  /* font-size: 24px; */
}

.navtop div a i {
  padding: 2px 8px 0 0;
  font-size: 16px;
}

.navtop div a:hover {
  color: #eaebed;
}

.usertime {
  display:inline-flex;
  /* position: relative;
  display: inline-block; */
  margin: auto;
  padding: 0 15px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  /* font-size: 24px; */
}

/* .usertime .username {
  visibility: hidden;
  width: 120px;
  color: black;
  background-color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  position: absolute;
  top: -5px;
  right: 105%;
  z-index: 1;
}

.usertime:hover .username {
  visibility: visible;
} */
.emptyfield {
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  border: 1px solid hsl(54, 100%, 20%);
  background-color: rgb(255, 254, 170);
}
.error {
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  border: 1px solid hsl(0, 100%, 38%);
  background-color: rgb(255, 210, 210);
}
.okay {
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  border: 1px solid hsl(115, 100%, 18%);
  background-color: rgb(182, 235, 182);
}
.blank {
  display: none;
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  /* border: 1px solid hsl(54, 100%, 20%);
  background-color: rgb(255, 254, 170); */
}
/* .emptyfield::after { */
  /*content: "\25C0"; /* left arrow */
  /*content: "\25b6"; /* right arrow */
  /*content: "\25b2"; /* up arrow */
  /* content: "\25bc"; /* down arrow */
/* }*/
/* .select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
} */

/* Point the arrow upwards when the select box is open (active): */
/* .select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
} */
select.minimal {
  width: calc(+ 20px);
  background-image:
    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, lightgray 50%, lightgray 50%);
  background-position:
    calc(100% - 6px) calc(0.5em + 2px),
    calc(100% - 1px) calc(0.5em + 2px),
    calc(100% - 12px) 0em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
}

select.minimal:focus {
  border-color: blue;
}

.badge {
  /* width: 1,5em; */
  background-color:#3274d6;
  color:#fff;
  display:inline-flex;
  margin: auto;
  /* display:inline-block; */
  padding-left:8px;
  padding-right:8px; 
  text-align:center;
  font-weight: bold;
  border-radius:50%
}

.btn:after {
  font-family: "Glyphicons Halflings";
  content: "\e080";
  float: right;
  margin-left: 15px;
}
/* Icon when the collapsible content is hidden */
.btn.collapsed:after {
  content: "\e114";
}

tr.header
{
    cursor:pointer;
}

tr.header:hover
{
background-color: #dbe9ff;
transition: background-color 0.2s;
}

body {
  background-color: #435165;
  margin: 0;
}

.login, .register {
  width: 40%;
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 10% auto;
}

.login h1, .register h1 {
  text-align: center;
  color: #5b6574;
  font-size: 24px;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}

.login .links, .register .links {
  display: flex;
  padding: 0 15px;
}

.login .links a, .register .links a {
  color: #adb2ba;
  text-decoration: none;
  display: inline-flex;
  padding: 0 10px 10px 10px;
  font-weight: bold;
}

.login .links a:hover, .register .links a:hover {
  color: #9da3ac;
}

.login .links a.active, .register .links a.active {
  border-bottom: 3px solid #3274d6;
  color: #3274d6;
}

.login form, .register form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.login form label, .register form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12%;
  height: 50px;
  background-color: #3274d6;
  color: #ffffff;
}

.login form input[type="password"], .login form input[type="text"], .login form input[type="email"], .register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
  width: 80%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}

.login form input[type="submit"], .register form input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #3274d6;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
}

.login form input[type="submit"]:hover, .register form input[type="submit"]:hover {
  background-color: #2868c7;
  transition: background-color 0.2s;
}

.login form #rememberme, .register form #rememberme {
  width: 100%;
  height: auto;
  padding: 5px 20px;
  background-color: transparent;
  color: #000;
  justify-content: flex-start;
}

.login form #rememberme input, .register form #rememberme input {
  transform: scale(1.3);
  margin-right: 7px;
}

.login form .msg, .register form .msg {
  padding: 0 20px;
  width: 100%;
}

.login form > a, .register form > a {
  text-decoration: none;
  color: #5b6574;
  width: 100%;
  padding: 5px 20px;
}

.login form > a:hover, .register form > a:hover {
  color: #394049;
}

body.loggedin {
  background-color: #f3f4f7;
  margin: 40px auto;
}

.content {
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}

.content h2 {
  margin: 0;
  padding: 25px 0;
  font-size: 22px;
  border-bottom: 1px solid #e0e0e3;
  color: #4a536e;
}

.content .block {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  margin: 25px 0;
  padding: 25px;
  background-color: #fff;
}

.content .block table {
  width: 100%;
}

.content .block table td {
  overflow: hidden;
  /* padding: 5px; */
}

.content .block table td:first-child {
  font-weight: bold;
  color: #4a536e;
  padding-right: 15px;
}

.content .block table td:last-child {
  word-break: break-all;
}

.content .block p {
  padding: 5px;
  margin: 0 0 10px 0;
}

.content.profile form label {
  display: block;
  padding: 10px 0 5px 0;
}

.content.profile form input[type="text"], .content.profile form input[type="password"], .content.profile form input[type="email"] {
  padding: 10px;
  width: 250px;
  border: 1px solid #ddd;
}

.content.profile .profile-btn {
  display: inline-block;
  /* border-radius: 5px; */
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background-color: #3274d6;
  margin: 2px 5px 0 0;
  padding: 2px 10px;
}

.content.profile .profile-btn:hover {
  background-color: #2868c7;
}


/* .content.test form label {
  display: block;
  padding: 10px 0 5px 0;
} */

.content.test input[type="text"] {
  text-align: center;
  border: 1px solid #ddd;
  margin: 2px;
}
.content.test input[type="text"]:focus-visible {
  outline: 1px solid black;
}
.content.test select:focus {
  border: 2px solid black;
  outline: none;
}


/* .content.test form input.error[type="text"] {
  text-align: center;
  border: 2px solid hsl(0, 100%, 38%);
} */
select.list option.good
{
    background-color: #007700;
}
select.list option.bad
{
    background-color: hsl(0, 100%, 38%);
}

.content.test .profile-btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background-color: #3274d6;
  margin: 15px 5px 0 0;
  padding: 2px 10px;
}

.content.test .profile-btn:hover {
  background-color: #2868c7;
}





/* 
@media screen and (max-width: 1000px) {
  .navtop {
    height: auto;
    padding: 10px;
  }
  .navtop div {
    flex-flow: wrap;
    width: 100%;
  }
  .navtop div h1 {
    display: block;
    flex-basis: 100%;
  }
  .navtop div a {
    padding: 10px 0;
    flex-basis: 50%;
  }
  .content {
    padding: 10px;
    width: 100%;
  }
  .content form input[type="text"], .content form input[type="password"], .content form input[type="email"] {
    width: 100%;
  }
} */
@media (max-width: 768px) {
  /* CSS in here for mobile only */
  .navtop div a {
    font-size: 0px;
  }
  .login, .register {
    width: 95%;
  }
}
