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

a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: gray;
}

a.disabled {
  color: #4b4b4b;
}

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

.login, .register {
  background-color: #fff;
  width: 400px;
  margin: 75px auto;
  box-shadow: 0 0 9px #000000dd;
}

.login h1, .login .h1, .register h1, .register .h1 {
  text-align: center;
  color: #000;
  padding: 20px 0 10px;
  margin: 2px 0 0 0;
  background-color: #dee0e4;
  font-size: 24px;
  font-weight: bold;
}

.login img, .login .img, .register img, .register .img {
  background-color: #dee0e4;
  margin: 3px 0 0;
  padding: 3px 0 5px;
  text-align: center;
}

.login .links, .register .links {
  background-color: #dee0e4;
  margin: 2px 0 0;
  /*padding: 0 15px;
  display: flex;*/
  text-align: center;
}

.login .links > p, .register .links > p {
  text-align: center;
  color: #000;
  padding: 0;
  margin: 0;
  /*font-weight: bold;*/
  text-decoration: none;
  display: inline-flex;
}

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

.login .links > a:hover, .register .links > a:hover {
  background-color: gray;
  color: #fff;
}

.login .links > a.active, .register .links > a.active {
  color: #4b4b4b;
  border-bottom: 3px solid #4b4b4b;
}

.login .links > a.disabled, .register .links > a.disabled {
  color: gray;
}

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

.login form p, .register form p {
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: .85rem;
}

.login form label, .register form label {
  color: #fff;
  background-color: #4b4b4b;
  justify-content: center;
  align-items: center;
  width: 12%;
  height: 30px;
  display: flex;
}

.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"] {
  border: 1px solid #dee0e4;
  width: 80%;
  height: 30px;
  margin-bottom: 5px;
  padding: 0 15px;
  font-size: 0.85rem;
}

.login form input[type="submit"], .register form input[type="submit"] {
  cursor: pointer;
  color: #000;
  appearance: none;
  background-color: #dee0e4;
  border: 0;
  border-radius: 0;
  width: 100%;
  margin-top: 20px;
  padding: 5px;
  font-size: 24px;
  font-weight: bold;
  transition: background-color .2s;
}

.login form input[type="submit"]:hover, .register form input[type="submit"]:hover {
  color: #fff;
  background-color: gray;
  transition: background-color .2s;
}

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

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

.login form .msg, .register form .msg {
  width: 100%;
  padding: 0 20px;
  background-color: #dee0e4;
}

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

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

.login > hr, .register > hr {
  border-top: 1px solid #000;
  padding: auto;
}

.navtop {
  background-color: #2f3947;
  border: 0;
  width: 100%;
  height: 60px;
}

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

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

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

.navtop div a {
  color: #c1c4c8;
  padding: 0 20px;
  font-weight: bold;
  text-decoration: none;
}

.navtop div a i {
  padding: 2px 8px 0 0;
}

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

body.loggedin {
  background-color: #f3f4f7;
}

.content {
  width: 1000px;
  margin: 0 auto;
}

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

.content .block {
  background-color: #fff;
  margin: 25px 0;
  padding: 25px;
  box-shadow: 0 0 5px #0000001a;
}

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

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

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

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

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

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

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

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

.content.profile .profile-btn {
  cursor: pointer;
  color: #fff;
  appearance: none;
  background-color: #4b4b4b;
  border: 0;
  border-radius: 0;
  margin: 5px 5px 0 0;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-block;
}

.content.profile .profile-btn:hover {
  background-color: #3e3e3e;
}

@media screen and (width <= 400px) {
  .login, .register {
    width: 95%;
  }
}

@media screen and (width <= 1000px) {
  .navtop {
    height: auto;
    padding: 10px;
  }

  .navtop div {
    flex-flow: wrap;
    width: 100%;
  }

  .navtop div h1, .navtop div .h1 {
    flex-basis: 100%;
    display: block;
  }

  .navtop div a {
    flex-basis: 50%;
    padding: 10px 0;
  }

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

  .content form input[type="text"], .content form input[type="password"], .content form input[type="email"] {
    width: 100%;
  }
