﻿/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/*#region COLORS */
/*#endregion */
:root {
  --btn-border-radius: 6px;
  --btn-padding: 10px 16px;
  --btn-primary-color-bg: #00609C;
  --btn-primary-color-bg-over: #00436d;
  --btn-primary-color-border: #00609C;
  --btn-primary-color: #ffffff;
  --btn-secondary-color-bg: #EDEFEF;
  --btn-secondary-color-bg-over: #f6f7f7;
  --btn-secondary-color-border: #97A1A1;
  --btn-secondary-color: #243746;
  --btn-success-color-bg: #80BC00;
  --btn-success-color-bg-over: #669600;
  --btn-success-color-border: #80BC00;
  --btn-success-color: #ffffff;
  --btn-light-color-bg: #f6f7f7;
  --btn-light-color-bg-over: #EDEFEF;
  --btn-light-color-border: transparent;
  --btn-light-color: #243746;
  --btn-danger-color-bg: var(--color-danger);
  --btn-danger-color-bg-over: #a52a24;
  --btn-danger-color-border: var(--color-danger);
  --btn-danger-color: #ffffff;
  --color-danger: #cf352e;
  --color-warning: #EABB49;
  --color-success: #80BC00;
  --color-progress: #7BBDD4;
  --context-menu-color: #243746;
  --context-menu-bg-color: #D8DCDC;
  --context-menu-bg-color-on: #EDEFEF;
  --font-family: "Open Sans", sans-serif;
  --font-size: 17px;
  --grid-gap: 48px;
  --grid-gap-form: 24px;
  --input-border-color: #97A1A1;
  --input-border-radius: 0.375rem;
  --stats-bg-color: #EDEFEF;
  --stats-sold-color: #7BBDD4;
  --stats-invoiced-color: #80BC00;
  --stats-target-color: #A1DED2;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
body {
  font-family: var(--font-family);
}

.danger {
  color: var(--color-danger);
}

.warning {
  color: var(--color-warning);
}

.success {
  color: var(--color-success);
}

h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
}

h1 {
  font-weight: 300;
}

h2 {
  font-weight: 300;
}
h2 a {
  text-decoration: none;
  transition: padding 0.25s;
}
h2 a:hover {
  padding-left: 10px;
}
h2 small {
  background-color: #97A1A1;
  color: #ffffff;
  padding: 4px 8px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 8px;
}

h3 {
  font-weight: 600;
}

p.small {
  font-size: 12px;
}

strong {
  font-weight: 700;
}

a.psuedo-link {
  text-decoration: none;
  color: #243746;
}
a i {
  margin-right: 8px;
}

.tag {
  background-color: #ffffff;
  padding: 10px;
}
.tag:not(:last-child) {
  margin-right: 16px;
}
.tag i {
  margin-right: 8px;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
*,
::after,
::before {
  box-sizing: border-box;
}

body {
  background-color: #f6f6f6;
}

.container {
  padding: 20px;
  grid-gap: var(--grid-gap);
}

.section {
  margin-bottom: 32px;
}
.section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.section .section-header h3 {
  margin: 0;
}
.section .section-header .nav {
  visibility: hidden !important;
}
.section .section-header:hover .nav {
  visibility: visible !important;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
.dashboard .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: var(--grid-gap);
}
.dashboard .header {
  grid-row-start: 1;
  grid-column-start: 1;
  grid-row-end: 2;
  grid-column-end: 2;
}
.dashboard .header form {
  display: flex;
  align-items: center;
  grid-gap: var(--grid-gap-form);
  margin-bottom: 1.5rem;
}
.dashboard .header p {
  margin: 0;
}
.dashboard .actions {
  grid-row-start: 1;
  grid-column-start: 2;
  grid-row-end: 2;
  grid-column-end: 4;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
.details .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: var(--grid-gap);
  grid-template-areas: "header-left header-right" "content-left content-right";
}
.details h1 {
  margin: 0;
}
.details .header-left {
  grid-area: header-left;
}
.details .header-right {
  grid-area: header-right;
  text-align: right;
  display: flex;
  column-gap: 32px;
}
.details .content-left {
  grid-area: content-left;
}
.details .content-right {
  grid-area: content-right;
}
.details .details-info {
  height: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #EDEFEF;
  padding: 18px 0 24px 24px;
}
.details .details-info h1 {
  margin-bottom: 24px;
}
.details .details-info p {
  margin: 0 0 6px;
}
.details .details-info p.small {
  margin: 0;
}
.details .details-info .level {
  padding: 8px 64px 8px 16px;
  margin-bottom: 24px;
}
.details .details-info .level.level-dormant {
  border: 1px solid #97A1A1;
}
.details .details-info a {
  text-decoration: none;
  color: #243746;
  margin-right: 32px;
  font-size: 14px;
}
.details .details-info a:hover {
  border-bottom: 1px solid #243746;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
.list .container {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  grid-gap: var(--grid-gap);
  grid-template-areas: "header actions" "content content";
}
.list .header {
  grid-area: header;
}
.list .header h1 {
  margin: 0;
}
.list .actions {
  grid-area: actions;
  display: flex;
  column-gap: 20px;
}
.list .content {
  grid-area: content;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
.navbar {
  --navbar-bg-color: #00609C;
  --navbar-color: #ffffff;
  --navbar-direction: column;
  display: flex;
  flex-direction: var(--navbar-direction);
  justify-content: space-between;
  align-items: center;
  background-color: var(--navbar-bg-color);
  padding: 10px;
  color: var(--navbar-color);
}
@media screen and (min-width: 768px) {
  .navbar {
    --navbar-direction: row;
  }
}
.navbar h1, .navbar .h1, .navbar h2, .navbar .h2, .navbar h3, .navbar .h3, .navbar h4, .navbar .h4, .navbar h5, .navbar .h5, .navbar h6, .navbar .h6, .navbar p, .navbar a, .navbar .btn {
  color: var(--navbar-color);
}
.navbar .navbar-section {
  display: flex;
  flex-direction: var(--navbar-direction);
  align-items: center;
}
.navbar .dropdown {
  position: relative;
  display: inline-block;
}
.navbar .dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--navbar-bg-color);
  min-width: 220px;
  padding: 8px 28px;
  z-index: 1;
}
.navbar .dropdown .dropdown-content .nav-link {
  padding-top: 12px;
  padding-bottom: 12px;
}
.navbar .dropdown:hover .dropdown-content {
  display: block;
}
.navbar .nav-link {
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  cursor: pointer;
}
.navbar .nav-link i {
  margin-right: 8px;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
.context-menu {
  position: relative;
  display: inline-block;
  visibility: hidden !important;
}
.context-menu:hover {
  visibility: visible !important;
}
.context-menu .menu {
  display: none;
  position: absolute;
  right: 0;
  min-width: 240px;
  z-index: 1;
  background-color: var(--context-menu-bg-color);
  text-align: left;
}
.context-menu .menu.show {
  display: block;
}
.context-menu .menu .menu-item {
  display: block;
  padding: 10px 24px;
  text-decoration: none;
  color: var(--context-menu-color);
}
.context-menu .menu .menu-item:hover {
  background-color: var(--context-menu-bg-color-on);
}
.context-menu .menu .menu-item i {
  margin-right: 12px;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
table {
  border-spacing: 0 10px;
  border-collapse: separate;
  width: 100%;
  font-size: var(--font-size);
}
table thead th {
  padding: 10px;
  text-align: left;
}
table thead th span {
  margin-right: 16px;
}
table thead th a {
  color: #97A1A1;
}
table thead th a.active {
  color: black;
}
table tr {
  background-color: #EDEFEF;
  transition: background-color 0.25s ease;
}
table tr .context-menu {
  visibility: hidden !important;
}
table tr:hover {
  background-color: #D8DCDC;
}
table tr:hover .context-menu {
  visibility: visible !important;
}
table td {
  padding: 10px;
  border-left: solid 2px #ffffff;
}
table td a {
  display: block;
  text-decoration: none;
  color: #243746;
}
table td .badge {
  display: inline-block;
  text-align: center;
  margin-right: 8px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 22px;
  width: 22px;
  height: 22px;
  border: solid 1px #97A1A1;
}
table td .badge:not(:first-child) {
  margin-left: 20px;
}
table td i {
  margin-right: 8px;
}
table td .btn-context i {
  margin-right: 0;
}
table td .inactive {
  color: #97A1A1;
}
table td.table-actions {
  padding: 10px 0;
  width: 30px;
  text-align: right;
  border-left: none;
}
table td.status {
  padding: 0;
  width: 14px;
  border-right: solid 2px #ffffff;
}
table td.status-active {
  background-color: #80BC00;
}
table td.status-inactive {
  background-color: #97A1A1;
}
table td.status-prospective, table td.status-location {
  background-color: #42A7C6;
}
table td.status-completed {
  background-color: #EDEFEF;
}
table td.detail {
  padding-left: 16px;
  padding-right: 16px;
}
table td.detail h1 {
  margin: 16px 0;
}
table td.detail h2 {
  margin: 16px 0;
}
table td.detail p {
  margin: 16px 0;
}
table td.detail p i {
  margin-right: 8px;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
.info-box {
  border-radius: 18px;
  box-shadow: 0px 7px 20px 0px rgba(40, 41, 61, 0.08);
  background-color: #ffffff;
  padding: 1rem 2rem 2rem;
}
.info-box .title {
  margin-bottom: 1rem;
}
.info-box .headline {
  font-size: 32px;
  margin-bottom: 1rem;
}
.info-box .sub-headline {
  font-weight: 700;
  font-size: 18px;
}
.info-box .stat {
  display: flex;
  justify-content: center;
  align-self: center;
  margin-bottom: 2rem;
}
.info-box .stat .number {
  display: inline-block;
  font-size: 48px;
  width: 100px;
  line-height: 100px;
  border-radius: 50%;
  background-color: #EABB49;
  color: #ffffff;
  text-align: center;
}
.info-box .links {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 10px;
}
.info-box.info-box-condensed {
  text-align: left;
  flex-grow: 1;
}
.info-box.info-box-condensed .title {
  margin-bottom: 0;
}
.info-box.info-box-condensed .stat {
  margin-bottom: 0;
  --stats-size: 80px;
  --stats-font-size: 20px;
}

/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
/* #region Buttons and Dropdowns */
.btn {
  padding: var(--btn-padding);
  cursor: pointer;
  background-color: transparent;
  text-decoration: none;
  display: inline-block;
  border: none;
  border-radius: var(--btn-border-radius);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn.btn-primary {
  background-color: var(--btn-primary-color-bg);
  border: solid 1px var(--btn-primary-color-border);
  color: var(--btn-primary-color);
}
.btn.btn-primary:hover {
  background-color: var(--btn-primary-color-bg-over);
}
.btn.btn-secondary {
  background-color: var(--btn-secondary-color-bg);
  border: solid 1px var(--btn-secondary-color-border);
  color: var(--btn-secondary-color);
}
.btn.btn-secondary:hover {
  background-color: var(--btn-secondary-color-bg-over);
}
.btn.btn-success {
  background-color: var(--btn-success-color-bg);
  border: solid 1px var(--btn-success-color-border);
  color: var(--btn-success-color);
}
.btn.btn-success:hover {
  background-color: var(--btn-success-color-bg-over);
}
.btn.btn-light {
  background-color: var(--btn-light-color-bg);
  border: solid 1px var(--btn-light-color-border);
  color: var(--btn-light-color);
}
.btn.btn-light:hover {
  background-color: var(--btn-light-color-bg-over);
}
.btn.btn-danger {
  background-color: var(--btn-danger-color-bg);
  border: solid 1px var(--btn-danger-color-border);
  color: var(--btn-danger-color);
}
.btn.btn-danger:hover {
  background-color: var(--btn-danger-color-bg-over);
}
.btn.btn-context {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 24px;
}

/* #endregion */
/* #region Form layout */
.form {
  max-width: 768px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  background-color: #EDEFEF;
  border-radius: 0.25rem;
}
.form .form-header {
  background-color: #00609C;
  color: #ffffff;
  border-bottom: 4px solid #ffffff;
  padding: 1rem;
  font-size: 18px;
}
.form .form-header.danger {
  background-color: var(--color-danger);
}
.form .form-header i {
  margin-right: 1rem;
}
.form form {
  padding: 2rem;
}
.form form .form-field {
  display: relative;
  margin-bottom: 1rem;
}
.form form .form-field label {
  display: block;
  margin-bottom: 8px;
}
.form form .form-field .form-option input[type=radio],
.form form .form-field .form-option label {
  display: inline-block;
  cursor: pointer;
}
.form form .form-field span {
  display: block;
}
.form .dropdown {
  position: relative;
  display: inline-block;
}
.form .dropdown .dropdown-content {
  display: none;
  z-index: 1;
  position: absolute;
  right: 0;
  left: auto;
  background-color: #ffffff;
}
.form .dropdown .dropdown-content.show {
  display: block;
}
.form .dropdown .dropdown-content button {
  display: block;
  text-decoration: none;
  background-color: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #243746;
  padding: 8px 12px;
}
.form .dropdown .dropdown-content button:hover {
  background-color: #EDEFEF;
}
.form .form-footer {
  margin-top: 3rem;
}

/* #endregion */
/*#region Inputs */
input[type=text],
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=tel],
input[type=url],
select,
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  border: solid 1px var(--input-border-color);
  border-radius: var(--input-border-radius);
}

.input-group {
  display: flex;
}

/*#endregion */
/*#region Validation */
.validation-summary-errors {
  color: var(--color-danger);
}

.field-validation-error {
  color: var(--color-danger);
}

/*#endregion */
/*#region COLORS */
/*#endregion */
/*#region COLORS */
/*#endregion */
.search-bar {
  margin-bottom: 1rem;
}
.search-bar h1 {
  margin: 0;
  line-height: 1;
}
.search-bar .input-group-text {
  background-color: transparent;
}

.level-tier1 {
  background-color: #42A7C6;
  color: #ffffff;
}

.level-tier2 {
  background-color: #7BBDD4;
  color: #ffffff;
}

.level-tier3 {
  background-color: #A8D2E2;
  color: #243746;
}

.level-tier4 {
  background-color: #D4E8F0;
  color: #243746;
}

.level-tier5 {
  background-color: #EDF5F8;
  color: #243746;
}

.level-dormant {
  background-color: transparent;
  color: #243746;
}

.level-prospect {
  background-color: #EABB49;
  color: #243746;
}

.level-partner {
  background-color: #97A1A1;
  color: #ffffff;
}
