/* Basic styling and fonts */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  height: 100%;
}

body {
  color: #10181d;
  display: flex;
  flex-direction: column;
  font-weight: 400;
  font-family: 'Space Mono', monospace;
}

body.login {
  background: #ccc url(../gfx/map-bg.jpg) center center;
  background-size: cover;
}

body.login #contentWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #00313f5c;
}

/* Login box styling */
body.login #contentWrapper .loginBox {
  margin-left: 1em;
  margin-right: 1em;
  background: #00313f;
  padding: 2em;
  border-radius: 1em;
  box-shadow: 0px 0px 2em rgb(0 28 37 / 70%);
  -webkit-box-shadow: 0px 0px 2em rgb(0 28 37 / 70%);
  -moz-box-shadow: 0px 0px 2em rgb(0 28 37 / 70%);
}

body.login #contentWrapper .loginBox .loginHere {
  display: flex;
  align-items: center;
}

#contentWrapper {
  flex: 1 0 auto;
  background-color: #ffffff;
  padding-bottom: 4em;
}

/* Form elements styling */
label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 1.2em;
  color: #fff;
}

.btn {
  line-height: 1em;
  font-size: 1.2em;
  padding: 0.8em 2em 0.8em 2em;
  border-radius: 1.6em;
  text-transform: uppercase;
}

.btn-danger {
  background-color: #eb2246;
}

/* Logo bar styling */
#logo-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 2.5em;
}

#logo-bar img {
  height: 48px;
}

/* Login box specific styles */
.loginBox {
  width: 600px;
}

.loginBox p,
.loginBox h3 {
  color: #fff;
}

.loginBox h6 {
  color: #2fcac1;
}

/* Error message styling */
.errorMsg {
  position: absolute;
  width: 100%;
  height: 4em;
  background-color: #eb2246;
  bottom: 0;
  text-align: center;
  padding: 1.25em;
  font-size: 1.5em;
  color: #fff;
  z-index: 1000;
}

.errorMsg.small {
  font-size: 0.8em;
}

/* Bootstrap overrides for login page */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}

.col,
.col-12,
.col-sm-12 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.text-center {
  text-align: center !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  body.login #contentWrapper .loginBox .loginHere {
    text-align: center;
  }

  .loginBox {
    width: 100%;
    max-width: 500px;
  }
}