* {
  margin: 0;
  padding: 0;
}

.h1, .h2, .h3 {
  color: #0F7393;
}

body {
  background-color: #F0F0F7;
}

body.with-bg {
  background: url(../images/background.png) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

thead {
  background-color: #F5F6FA;
}

th {
  color: #A3A6B4;
}

td, th {
  padding: 10px;
}

td {
  cursor: pointer;
}

::-webkit-input-placeholder {
  color:rgba(77, 79, 92, 0.5);
}

::-moz-placeholder {
  color:rgba(77, 79, 92, 0.5);
}

::-ms-placeholder {
  color:rgba(77, 79, 92, 0.5);
}

::placeholder {
  color:rgba(77, 79, 92, 0.5);
}

.login-underlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 525px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.20);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  padding: 50px;
}

.login {
  position: absolute;
  height: 100vh;
  padding: 0;
  min-width: 525px;
  background-color: rgba(1, 79, 102, 0.8);
}

.login-content {
  position: relative;
  top: 50%;
  height: 70vh;
  width: 100%;
  min-width: 525px;
  transform: translateY(-50%);
  text-align: center;
}

.login-content h1 {
  color: #ffffff;
  font-size: 2em;
  padding-bottom: 2em;
}

.login-content p {
  color: #ffffff;
  padding-bottom: 1em;
  font-size: 1em;
  margin: 0 50px;
}

.login-content input {
  width: 400px;
}

.stick-to-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.stick-to-bottom .row {
  width: 100%;
}

.login .stick-to-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.page-content .stick-to-bottom {
  width: calc(100% - 70px);
  padding-bottom: 20px;
}

.pagination a {
  display: inline-block;
  padding: 3px;
  border: 1px solid #D7DAE2;
  min-height: 32px;
  min-width: 32px;
  text-align: center;
  text-decoration: none;
  color: #4D4F5C;
}

.pagination a.active {
  background-color: #0F7393;
  color: #ffffff;
  pointer-events: none;
}

.page-content .stick-to-bottom {
  width: calc(100% - 40px);
}

.page-content h1 {
  display: inline-block;
}

a.button {
  color: #ffffff;
  height: 50px;
  width: 30%;
  margin: 5px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

a.button--short {
  height: 40px;
}

a.button--disabled {
  pointer-events: none;
  color: #777 !important;
  background-color: #eee !important;
  border-color: #eee !important;
}

a.button--wide {
  width: 220px;
}

a.button--mid {
  width: 80px;
}

a.button--orange {
  background-color: #FF7700;
  border: 1px solid #FF7700;
  color: #FFFFFF;
}

a.button--green {
  background-color: #0F7393;
  border: 1px solid #0F7393;
  color: #FFFFFF;
}

a.button--border {
  background-color: transparent;
  border: 1px solid #0F7393;
}

a.button--orange:hover {
  background-color: #cc5f00;
  color: #ffffff;
  text-decoration: none;
}

a.button--green:hover {
  background-color: #0a4f65;
  color: #ffffff;
  text-decoration: none;
}

a.button--border:hover {
  background-color: rgba(1, 79, 102, 0.5);
  color: #ffffff;
  text-decoration: none;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 3em;
}

.header {
  background-color: #ffffff;
  height: 70px;
  box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.04);
  -webkit-box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.04);
  -moz-box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.04);
}

.account {
  display: flex;
  align-items: center;
}

.avatar {
  position: absolute;
  display: flex;
  min-height: 38px;
  min-width: 38px;
  border-radius: 19px;
  background-color: #F0F0F7;
  font-size: 0.8em;
  top: 16px;
  right: 16px;
  align-items: center;
  justify-content: center;
  color: #888888;
  text-decoration: none;
}

.avatar:hover {
  color: #888888;
  text-decoration: none;
}

.logo {
  max-height: 70px;
  max-width: 147px;
}

.search {
  padding-left: 100px;
}

.search img {
  max-height: 16px;
  max-width: 16px;
}

.search input {
  background-color: transparent;
  border-radius: 0;
  border: none;

  -webkit-appearance: none;
  -moz-appearance: none;

  font-family: inherit;
  font-size: 1em;

  vertical-align: middle;
  padding-left: 10px;

  margin-top: auto;
  margin-bottom: auto;

  height: 100%;
  width: calc(100% - 30px);

  outline: none;
}

.side-navigation {
  list-style: none;
}

.side-navigation-item {
  display: flex;
  padding-left: 25px;
  height: 53px;
  width: 100%;
  max-width: 250px;
  align-items: center;
}

.side-navigation-item a,
.side-navigation-item a:hover {
  color: #212529;
  text-decoration: none;
}

.side-navigation-item img {
  max-height: 16px;
}

.side-navigation-item span {
  padding-left: 10px;
}

.side-navigation-item--selected {
  background-color: rgba(15, 115, 147, 0.1);
}

.side-navigation-item--selected::before {
  content: "";
  position: absolute;
  background-color: #0F7393;
  width: 5px;
  height: 53px;
  left: 0;
}

.section-heading input[type="text"],
.report-section-block input[type="text"],
.section-heading select {
  background-color: #ffffff;
  border-radius: 5px;
  border: 1px solid #E9E9F0;

  -webkit-appearance: none;
  -moz-appearance: none;

  font-family: inherit;
  font-size: 0.8em;

  padding-left: 10px;
  height: 35px;
  width: 250px;
}

.section-block {
  position: relative;
  width: 100%;
  margin-right: 20px;
  padding: 20px;
  background-color: #ffffff;
}

.section-block:last-of-type() {
  margin-right: 0;
}

.section-block h2 {
  background-color: #F5F6FA;
  color: #A3A6B4;
  padding: 10px;
  font-size: 16px;
}

.section-block h3 {
  background-color: #F5F6FA;
  color: #A3A6B4;
  padding: 10px;
  font-size: 16px;
  /* font-variant: small-caps; */
  font-weight: 400;
}

.document-preview {
  position: relative;
  background-color: #F5F6FA;
  margin: 20px 0;
  width: 100%;
  height: 450px;
}

.document-preview-enlarge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 99999;
}

.section-block-buttons {
  display: flex;
  justify-content: flex-end;
}

.section-block-buttons a.button:first-of-type {
  margin-left: 0;
}

.section-block-buttons a.button:last-of-type {
  margin-right: 0;
}

.filters {
  text-align: right;
}

.selected-row {
  background-color: rgba(15, 115, 147, 0.1);
}

.section-block .field {
  --fieldInputColor: #4D4F5C;
  --fieldLabelColor: rgba(77, 79, 92, 0.5);
  --fieldBorderColor: #E9E9F0;
  --fieldBorderColorActive: #014F66;
  --fieldPlaceholderColor: #E9E9F0;
  padding-top: 15px;
  width: 100%;
}

.modal .field {
  --fieldInputColor: #4D4F5C;
  --fieldLabelColor: rgba(77, 79, 92, 0.5);
}

.section-block input {
  outline: none !important;
}

.linked-companies ul {
  position: relative;
  list-style: none;
}

.linked-companies li {
  display: flex;
  align-items: center;
  height: 50px;
  width: 100%;
  padding-left: 10px;
}

.linked-companies img {
  position: absolute;
  right: 10px;
  height: 16px;
  cursor: pointer;
}

.btn-link-company {
  background-color: #0F7393 !important;
}


.error {
  border-color: #ff0000 !important;
}

.error:focus {
  outline-color: #f99 !important;
}

.dirty {
  border-color: #55aa55 !important;
}

.dirty:focus {
  outline-color: #88ee88 !important;
}

.search input:after {
  content: "Press Enter to search";
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 16px;
}

.custom-control-input:checked~.custom-control-label::before {
  border-color: #0F7393;
  background-color: #0F7393;
}

.error-messages {
  font-size: 1.5em;
  color: #ffffff;
}

.error-messages li {
  list-style: none;
}

img.maintain-aspect-ratio {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.maintain-aspect-ratio-container {
  width: 100%;
}