html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

* {
  margin: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

input, button, textarea, select {
  font: inherit;
  color:  inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

.wrapper {
  background: #f7f7f7;
}

.btn {
  text-transform: uppercase;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  display: inline-block;
  padding: 1rem 0.625rem;
  width:  100%;
  cursor: pointer;
}

.btn-primary {
  background-color: #008c95;
  border: 1px solid #008c95;
  color: #fff;
  transition: color .2s ease-out;
  font-weight: bold;
  transition: background 0.2s ease;
}

.btn-secondary {
  background-color: #fff;
  border: 1px solid #008c95;
  color: #008c95 !important;
  font-weight:  bold;
  transition: background-color .2s ease-out;
  transition: color .2s ease-out;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
  background-color: #e5f3f4;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background-color: #33a3aa;
}

.login-wrapper,
.not-found-wrapper,
.content-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction:  column;
}

.login,
.not-found,
.main-content {
  flex:  1;
  display: flex;
  justify-content: center;
}

.main-content {
  align-items: flex-start;
}

.login,
.not-found {
  align-items: center;
}

.not-found {
  flex-direction: column;
}

.not-found p {
  margin: 1rem 0;
}

.login-logo {
  font-size:  2rem;
  font-weight: bold;
  margin-bottom:  3rem;
  text-align: center;
}

.login-logo img {
  display: block;
  max-width: 100%;
}

.login form {
  box-shadow: 0px 0px 8px 0px #9a9794;
  background: #ffffff;
  flex: 1;
  max-width: 360px;
  padding: 2rem;
}

.form-control {
  margin: 1rem 0;
}

.form-control {
  margin: 1rem 0;
}

.form-control label,
.form-control input[type="text"],
.form-control input[type="password"],
.form-control input[type="number"] {
  display: block;
  width:  100%;
}

.form-control label {
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="password"],
input[type="search"],
input[type="number"] {
    padding: 0.5rem 1rem;
    margin: 0;
    border: 1px solid #c5c5c5;
    border-radius: 2px;
    background-color: white;
    transition:  all 0.2s ease;
}

input[type="text"]:hover, input[type="password"]:hover, input[type="number"]:hover, input[type="search"]:hover,
input[type="text"]:active, input[type="password"]:active, input[type="number"]:active, input[type="search"]:active,
input[type="text"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="search"]:focus {
  outline: none;
  border: 1px solid #008c95;
  box-shadow: 0 0 3px #008c95;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  color: #000;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 2px;
  padding: 0.5rem 1rem;
  font-size: 15px;
  position: relative;
  background-position: right 50%;
  background-repeat: no-repeat;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAAJklEQVR42mNgGLmgoaHhP5DCiqFy1DGUbMOwGUqxYciGUs2wQQcAeeAf7XfgdqMAAAAASUVORK5CYII=");
  border: 1px solid #c5c5c5;
}

select:hover,
select:active,
select:focus {
  outline: none !important;
  border: 1px solid #008c95 !important;
  box-shadow: 0 0 3px #008c95 !important;
}

.link-primary {
  color: #008c95;
  transition: all 0.2s;
}

.link-primary:hover, .link-primary:active, .link-primary:focus {
  color: #33a3aa;
}

.footer {
  margin-top:  2rem;
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.footer ul {
  margin:  0;
  padding: 0;
  list-style: none;
  display: flex;
}

.footer li {
  padding: 0.25rem;
  margin: 0 0.25rem;
  list-style: none;
}

.pw-forgot {
  margin-top: 3rem;
}

.text-error {
  color: #dc3545;
}

.header {
  margin-left:  auto;
  margin-right:  auto;
  margin-bottom:  2rem;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  max-width: 920px;
  align-items: center;
}

.header ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content:  flex-end;
  flex: 1;
}

.header img {
  display: block;
  width:  220px;
  max-width: 100%;
}

.header li {
  margin: 0 1rem;
  list-style: none;
}

.header li,
.header button {
  font-size: 12px !important;
}

.header .user-info {
  color: #008c95;
}

.top-nav {
  margin-bottom:  2rem;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 920px;
  flex: 1;
}

.top-nav li {
  margin: 0 1rem;
  list-style: none;
}

.top-nav-link {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 22px 0 23px;
  text-decoration: none;
  color: #212121;
  font-weight: bold;
}

.top-nav-link:hover,
.top-nav-link:active,
.top-nav-link:focus {
  color: #008c95;
  background-color: #f1f8fa;
}

.top-nav-link.active {
  color: #008c95;
  background-color: #f1f8fa;
  border-bottom: 2px solid #008c95;
  color: #212121;
}

.header-wrapper *,
.footer * {
  font-size: initial !important;
  font-family: 'Open Sans', sans-serif;
}
