/*
 * Base consists of all the base rules.
 * These base rules are the defaults and are almost exclusively single element selectors.
 * Essentially, a base style says that wherever this element is on the page, it should look like this.
 */
/*
 * Constants contains all the continuously reoccuring values for the mark-up.
 * What defines a constant is that it is used throughout the layout of the application, consistently.
 */
*,
html {
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  background-color: #f6f9fe;
  color: #00111B;
  font-size: 16px;
}
h1 {
  font-size: 44px;
  font-weight: normal;
  margin: 0 0 28px 0;
}
h2 {
  font-size: 32px;
  margin: 20px 0;
}
a {
  color: #00111B;
  cursor: pointer;
  text-decoration: underline;
}
a:hover,
a:active {
  color: #0a386b;
}
p {
  line-height: 18px;
  margin: 0 0 12px 0;
}
pre {
  display: inline;
}
ul {
  padding: 0 0 0 40px;
}
hr {
  margin: 12px 0;
}
/*
 * Layout rules divide the page into sections.
 * Each layout section is holding one or more modules together.
 * Layout elements usually consistent throughout the application.
 */
html,
body {
  height: 100%;
}
.page {
  min-height: 100%;
  min-width: 100%;
}
app-root {
  display: block;
}
.header {
  background: #ffffff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}
.header .wrapper {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: 80%;
}
.header .wrapper .logo {
  cursor: pointer;
  width: 120px;
}
.action-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px 0;
}
.content {
  margin: 0 auto;
  padding: 40px 0 0 0;
  width: 80%;
}
.content .spinner {
  margin: 0 auto;
}
.content .not-found {
  margin: 0 auto;
  min-width: 290px;
  width: 50%;
}
.footer {
  display: flex;
  justify-content: flex-end;
}
.footer .copy {
  font-size: 12px;
  padding: 8px 16px;
}
/*
 * Modules are the reusable, modular parts of the design like sidebar sections, the product lists, the pop-ups, the alerts, the menu bars, the banners and so on...
 * When this file grows big (e.g. > 250 lines) it is a good practice to separate modules into individual scss files.
 */
input[type=text],
input[type=date],
textarea {
  background-color: #ffffff;
  border: 1px solid #00111B;
  border-radius: 6px;
  font-size: 16px;
  min-width: 300px;
  padding: 9px;
}
textarea {
  white-space: pre-wrap;
}
input[type=checkbox],
input[type=radio] {
  cursor: pointer;
  margin: 0 6px 0 0;
}
input[type=file] {
  background-color: #ffffff;
  cursor: pointer;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 8px;
}
input[type=file]::file-selector-button {
  background: #0671b9;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  margin: 0 12px 0 0;
  padding: 8px 12px;
}
input[type=file]::file-selector-button:hover {
  opacity: 0.8;
}
label {
  background: #ffffff;
  display: table;
  font-size: 14px;
  margin: 0 0 0 10px;
  padding: 0 8px;
  position: relative;
  width: fit-content;
}
button {
  align-items: center;
  background: #0671b9;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  padding: 12px 24px;
}
button.with-logo {
  display: flex;
}
button.with-logo svg {
  fill: #ffffff;
  height: 25px;
  margin: 0 12px 0 0;
}
button .text {
  align-self: center;
}
button.anchor {
  background: none;
  color: #00111B;
  cursor: pointer;
  display: inline;
  font-size: 16px;
  text-decoration: underline;
  width: auto;
}
.menu .spinner {
  margin: 20px 0 0 0;
}
.menu .menu-item {
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
  opacity: 0.7;
}
.menu .menu-item.submenu {
  cursor: default;
}
.menu app-fixed-link {
  margin: 0 25px 0 0;
}
.menu app-fixed-link:last-child {
  margin: 0;
}
.hamburger {
  cursor: pointer;
  display: none;
}
.hamburger > svg {
  background: #0671b9;
  border-radius: 8px;
  fill: #ffffff;
}
.spinner {
  display: flex;
}
.spinner.center {
  justify-content: center;
  width: 30px;
}
.spinner::after {
  animation: loading 1s ease infinite;
  border: 6px solid #00111B;
  border-top-color: #f2f2f2;
  border-radius: 16px;
  box-sizing: unset !important;
  content: "";
  display: flex;
  margin: -26px auto 0 auto;
  height: 18px;
  width: 18px;
}
@keyframes loading {
  to {
    transform: rotate(360deg);
  }
}
.form-input {
  display: flex;
  flex-direction: column;
}
.form-input textarea {
  min-height: 200px;
}
.modal {
  background: #ffffff;
  border: 6px solid #f2f2f2;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  min-width: 290px;
  padding: 30px;
  width: 28%;
}
.modal .logo {
  height: 120px;
  margin: 0 auto 40px auto;
  width: 120px;
}
.modal h1 {
  text-align: center;
}
.modal .spinner {
  margin-top: 20px;
}
.modal button {
  margin: 20px 0 0 0;
  width: 100%;
}
.modal .google-overlay {
  margin: 30px 0 0 0;
}
.modal hr {
  margin: 30px 0;
}
.modal .description {
  margin: 20px 0 0 0;
  text-align: center;
}
.login .forgot-password {
  font-size: 12px;
}
.login .or {
  background-color: #ffffff;
  justify-self: center;
  margin: -40px 0 0 0;
  padding: 0 10px;
}
.login .cancel {
  text-align: center;
  margin: 40px 0 0 0;
}
.data-list .entry {
  border-bottom: 1px solid #00111B;
  border-radius: 6px;
  cursor: pointer;
  line-height: 40px;
  padding: 0 14px;
}
.line {
  align-items: center;
  display: flex;
  margin: 0 0 20px 0;
}
.line .key-wrapper {
  align-self: start;
  display: flex;
  line-height: 40px;
  width: 30%;
}
.line .value {
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  cursor: text;
  min-width: 220px;
  padding: 9px;
  white-space: pre-line;
}
.line .value.overflow-y {
  overflow-y: auto;
}
.line input[type=checkbox] {
  cursor: pointer;
}
.line.vertical,
.line.no-label {
  align-items: flex-start;
  flex-direction: column;
}
.line.vertical .value,
.line.no-label .value,
.line.vertical .key-wrapper,
.line.no-label .key-wrapper {
  min-width: 100%;
  width: 100%;
}
.line.vertical .key-wrapper,
.line.no-label .key-wrapper {
  display: flex;
}
.line.vertical .select-wrapper,
.line.no-label .select-wrapper {
  width: 100%;
}
.line.vertical .select-wrapper .selected,
.line.no-label .select-wrapper .selected {
  width: 100%;
}
.line.file .current {
  cursor: pointer;
}
.line.file .current .wrapper {
  background: #ffffff;
  border: 1px solid #deecf7;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  margin: 4px;
}
.line.file .current .wrapper a {
  margin: 9px;
}
.line.file .current .wrapper > div,
.line.file .current .wrapper > img {
  padding: 10px;
}
.line.file .current .wrapper .remove {
  align-self: center;
  border-left: 1px solid #deecf7;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}
.line.file .current img {
  max-width: 100px;
  max-height: 100px;
}
.line.file .current img:hover {
  opacity: 0.8;
}
.line.file .drop-multi {
  border: 2px dashed #0a386b;
  cursor: pointer;
  font-size: 28px;
  font-weight: bold;
  padding: 4px 8px;
  text-align: center;
  width: 100%;
}
.key-wrapper {
  display: flex;
}
.block {
  border: 1px solid #deecf7;
  border-radius: 6px;
  margin: 0 0 20px 0;
}
.block .title {
  border-bottom: 1px solid #deecf7;
  cursor: pointer;
  display: flex;
  font-weight: bold;
  justify-content: space-between;
  padding: 25px;
}
.block .title::after {
  content: '>';
  display: inline-block;
  margin: 0 0 0 40px;
  transition: transform 0.3s ease;
  transform: rotate(90deg);
}
.block .block-content {
  padding: 25px 25px 0 25px;
}
.select {
  display: flex;
}
.select .select-wrapper {
  align-items: center;
  border: 1px solid #0a386b;
  border-radius: 4px;
  cursor: text;
  min-height: 37px;
  padding: 6px 6px;
  position: relative;
}
.select .select-wrapper .current-value-wrapper {
  align-items: center;
  display: flex;
  height: 100%;
}
.select .select-wrapper .current-value-wrapper .selected {
  min-width: 68px;
}
.select .select-wrapper .current-value-wrapper .not-set {
  min-width: 90px;
}
.select .select-wrapper .current-value-wrapper .dropdown-icon {
  background-image: url("../assets/dropdown.svg");
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  display: inline-block;
  height: 14px;
  margin: 4px;
  width: 14px;
}
.select .select-wrapper .selected-wrapper {
  background-color: #ffffff;
  border: 1px solid #0a386b;
  border-radius: 4px;
  display: inline-block;
  margin: 0px 3px 0 0;
  padding: 6px;
}
.select .select-wrapper .selected-wrapper .remove {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  margin: 0 4px;
}
.select .select-wrapper .selected-wrapper .remove::after {
  content: 'X';
  cursor: pointer;
}
.select .select-wrapper .selected-wrapper:last-child {
  margin: 0;
}
.select .select-wrapper .value {
  border: 1px solid #0a386b;
  cursor: text;
  flex-grow: 1;
  padding: 6px;
}
.select .select-wrapper .options {
  border: 1px solid #0a386b;
  border-radius: 4px;
  position: absolute;
  top: 100%;
  z-index: 111;
}
.select .select-wrapper .options .option {
  background: #ffffff;
  border-bottom: 1px solid #0a386b;
  cursor: pointer;
  user-select: none;
  padding: 6px 12px;
}
.select .select-wrapper .options .option:last-child {
  border: none;
}
.to-expand {
  display: none;
}
.list {
  display: flex;
  margin: 0 0 20px 0;
}
.list .list-key {
  font-weight: bold;
  min-width: 145px;
  padding: 10px 0 0 0;
}
.list .list-entry {
  background: #deecf7;
  border: 1px solid #0671b9;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  margin: 0 0 5px 0;
  padding: 6px;
}
.list .list-entry span {
  margin: 0 10px 0 0;
}
app-container {
  display: block;
}
app-container.grid {
  display: grid;
}
.check-options {
  display: flex;
  flex-wrap: wrap;
}
.check-options .check-wrapper {
  margin: 0 20px 0 0;
}
.check-options.vertical {
  flex-direction: column;
}
.help-text {
  cursor: pointer;
}
.tabs app-tab-head {
  border-bottom: 1px solid #d0d0d0;
  display: flex;
}
.tabs app-tab-head app-tab-tab {
  border: 1px solid #d0d0d0;
  border-bottom: none;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  margin: 0 10px;
  padding: 0 10px;
}
.tabs app-tab-head app-tab-tab.selected {
  background-color: #deecf7;
}
.tabs app-tab-content {
  background: #ffffff;
  padding: 10px;
}
/*
 * State rules describe how modules and layouts will look in a particular state.
 *      Hidden buttons, expanded or collapsed paragraphs, an active menu item and so forth...
 * A state is something that augments and/or overrides other styles.
 * States are generally applied to elements that (can) change after the page is loaded.
 */
.hidden {
  display: none;
}
.expanded .to-expand {
  display: block;
}
.clickable {
  cursor: pointer;
}
.clickable:hover {
  opacity: 0.8;
}
.menu .menu-item:hover,
.menu .menu-item:active {
  opacity: 1;
}
.menu .menu-item.active {
  text-decoration: underline;
  opacity: 1;
}
input[type=text]:focus,
input[type=date]:focus,
textarea:focus {
  border: 2px solid #494949;
  outline: none;
}
.block.expanded .title::after {
  transition: transform 0.3s ease;
  transform: rotate(-90deg);
}
.value.not-set {
  height: 44px;
}
.button:hover,
.button:active {
  opacity: 0.9;
}
.button.disabled {
  pointer-events: none;
  user-select: none;
}
.button.anchor:hover,
.button.anchor:active {
  opacity: 0.8;
}
.select .options .option.focussed,
.select .options .option:hover,
.select .options .option:active {
  background-color: #deecf7;
}
.data-list .entry:hover,
.data-list .entry:active {
  background-color: #deecf7;
}
.list .list-entry:hover,
.list .list-entry:active {
  border: 1px solid #00111B;
}
[when-loaded] {
  display: none;
}
[when-loaded].loaded {
  display: block;
}
[while-loading].loaded {
  display: none;
}
[when-editing] {
  display: none;
}
[when-editing].editing {
  display: block;
}
[when-editing].editing.check-options {
  display: flex;
}
[not-editing].editing {
  display: none;
}
[show-if] {
  display: none;
}
[show-if].shown {
  display: block;
}
[show-if].shown.flex {
  display: flex;
}
.select .select-wrapper.editing {
  background-color: #ffffff;
}
.select .select-wrapper.disabled {
  background-color: #f2f2f2;
}
app-line-edit-element.loading,
app-textarea-element.loading,
app-select-element.loading,
app-date-element.loading {
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
app-line-edit-element.loading .value,
app-textarea-element.loading .value,
app-select-element.loading .value,
app-date-element.loading .value,
app-line-edit-element.loading .select-wrapper,
app-textarea-element.loading .select-wrapper,
app-select-element.loading .select-wrapper,
app-date-element.loading .select-wrapper {
  border: 2px solid #0671b9;
}
app-line-edit-element.loading .value::after,
app-textarea-element.loading .value::after,
app-select-element.loading .value::after,
app-date-element.loading .value::after,
app-line-edit-element.loading .select-wrapper::after,
app-textarea-element.loading .select-wrapper::after,
app-select-element.loading .select-wrapper::after,
app-date-element.loading .select-wrapper::after {
  animation: loading 1s ease infinite;
  border: 6px solid #00111B;
  border-top-color: #f2f2f2;
  border-radius: 16px;
  box-sizing: unset !important;
  content: "";
  margin: -26px auto 0 auto;
  height: 18px;
  width: 18px;
  display: flex;
  margin: -30px auto 0 auto;
}
app-line-edit-element.loading .value::after.center,
app-textarea-element.loading .value::after.center,
app-select-element.loading .value::after.center,
app-date-element.loading .value::after.center,
app-line-edit-element.loading .select-wrapper::after.center,
app-textarea-element.loading .select-wrapper::after.center,
app-select-element.loading .select-wrapper::after.center,
app-date-element.loading .select-wrapper::after.center {
  justify-content: center;
  width: 30px;
}
app-line-edit-element.loading .value::after::after,
app-textarea-element.loading .value::after::after,
app-select-element.loading .value::after::after,
app-date-element.loading .value::after::after,
app-line-edit-element.loading .select-wrapper::after::after,
app-textarea-element.loading .select-wrapper::after::after,
app-select-element.loading .select-wrapper::after::after,
app-date-element.loading .select-wrapper::after::after {
  animation: loading 1s ease infinite;
  border: 6px solid #00111B;
  border-top-color: #f2f2f2;
  border-radius: 16px;
  box-sizing: unset !important;
  content: "";
  display: flex;
  margin: -26px auto 0 auto;
  height: 18px;
  width: 18px;
}
app-line-edit-element.loading.no-border .value,
app-textarea-element.loading.no-border .value,
app-select-element.loading.no-border .value,
app-date-element.loading.no-border .value,
app-line-edit-element.loading.no-border .select-wrapper,
app-textarea-element.loading.no-border .select-wrapper,
app-select-element.loading.no-border .select-wrapper,
app-date-element.loading.no-border .select-wrapper {
  border: 1px solid #494949;
  outline: none;
}
app-line-edit-element.error .value,
app-textarea-element.error .value,
app-select-element.error .value,
app-date-element.error .value,
app-line-edit-element.error .select-wrapper,
app-textarea-element.error .select-wrapper,
app-select-element.error .select-wrapper,
app-date-element.error .select-wrapper {
  border: 2px solid #ff3300;
  padding: 6px;
}
app-line-edit-element.error .value.not-set,
app-textarea-element.error .value.not-set,
app-select-element.error .value.not-set,
app-date-element.error .value.not-set {
  border: 2px solid #ff3300;
}
app-line-edit-element.done .value,
app-textarea-element.done .value,
app-select-element.done .value,
app-date-element.done .value,
app-line-edit-element.done .select-wrapper,
app-textarea-element.done .select-wrapper,
app-select-element.done .select-wrapper,
app-date-element.done .select-wrapper {
  border: 2px solid #008a35;
  padding: 6px;
}
.submenu {
  position: relative;
}
.submenu .wrapper {
  background: #ffffff;
  display: none;
  flex-direction: column;
  padding: 10px;
  position: absolute;
  width: fit-content;
}
.submenu .wrapper app-fixed-link {
  border-bottom: 1px solid #494949;
  margin: 10px 0 0 0;
  padding: 0 0 10px 0;
}
.submenu .wrapper app-fixed-link:last-child {
  border: none;
}
.submenu:hover .wrapper {
  display: flex;
}
.line.file .wrapper.drag-over {
  border: 2px dashed #0a386b;
  padding: 8px;
}
@media only screen and (max-width: 800px) {
  h1,
  h2,
  p {
    word-wrap: break-word;
  }
  app-root {
    padding: 93px 0 0 0;
  }
  .header {
    background: #ffffff;
    box-shadow: 1px 1px 4px #0a386b;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 11;
  }
  .header .wrapper .logo {
    height: 50px;
  }
  .header .wrapper .database-select {
    display: none;
  }
  .header .wrapper .menu {
    height: 100%;
    padding: 25px 0;
  }
  .menu {
    background: #ffffff;
    border-right: 1px solid;
    height: 100%;
    left: -290px;
    padding: 40px 0 0 0;
    position: fixed;
    top: 0;
    width: 70%;
    z-index: 111;
  }
  .menu .menu-item {
    display: block;
    margin: 0 20px 20px 20px;
  }
  .menu .submenu .wrapper {
    display: block;
  }
  .hamburger {
    display: block;
  }
  .content {
    width: 100%;
  }
  .content .line {
    align-items: start;
    flex-direction: column;
  }
  .content .line .key {
    margin: 0 0 20px 0;
    width: 100%;
  }
  .content .line .value {
    background: #ffffff;
    padding: 10px;
  }
  .content .list {
    flex-direction: column;
  }
  .content .list .list-key {
    margin: 0 0 10px 0;
  }
  .content .grid {
    display: block;
  }
}
