/* Box sizing rules */
*,
::before,
::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
menu,
ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
}

th {
  text-align: left;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
label {
  line-height: 1.1;
  border-radius: 0;
  border: none;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 5em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}


:root {
  --primary-color: #78909c;
  --accent-color: yellow;
  --border-color: #e0e0e0;
  --dark-text: #111;
  --light-text: #fff;
  --dim-text: rgb(158, 158, 158);
  --link-text: rgb(3, 169, 244);
}

html,
body {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: row;
}

nav {
  background-color: rgb(250, 250, 250);
  display: none;
  flex: 0 0 auto;
  width: 240px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

nav menu {
  display: flex;
  flex-direction: column;
  width: 100%;
}

nav menu li {
  width: 100%;
}

nav menu li a,
nav menu li .logout_form {
  display: block;
  padding: 12px 24px;
  width: 100%;
  transition: background-color .3s;
}

nav menu li a:hover,
nav menu li button:hover {
  background-color: var(--border-color);
}

nav menu li .logout-form:hover {
  background-color: var(--border-color);
}

nav menu li .logout-form button {
  width: 100%;
  padding: 12px 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  text-align: left;
}

header {
  background-color: var(--primary-color);
  height: 72px;
  padding-top: 24px;
  padding-bottom: 12px;
  flex: 0 0 auto;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

header h1,
header a,
header i {
  color: var(--light-text);
  font-weight: 400;
  font-size: 36px;
}

header i {
  margin-right: 12px
}

header>div {
  display: flex;
  align-items: baseline;
}

.centered {
  padding-top: 100px;
}

.centered,
main>div,
header>div,
footer>div {
  padding: 0 16px;
}

footer .logout-form {
  display: inline;
}

footer .logout-form button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

#nav-toggle {
  font-size: 30px;
}

.details {}

@media (min-width: 768px) {
  nav {
    display: block;
  }

  #nav-toggle {
    display: none;
  }

  .centered,
  main>div,
  header>div,
  footer>div {
    max-width: 528px;
    width: 528px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {

  .centered,
  main>div,
  header>div,
  footer>div {
    max-width: 764px;
    width: 764px;
  }
}

@media (min-width: 1280px) {

  .centered,
  main>div,
  header>div,
  footer>div {
    max-width: 1040px;
    width: 1040px;
  }

  .details {
    display: flex;
    gap: 24px;
  }

  .details>div {
    width: calc(50% - 12px);
  }
}

@media (min-width: 1536px) {

  .centered,
  main>div,
  header>div,
  footer>div {
    max-width: 1316px;
    width: 1316px;
  }
}

ul.tabs {
  display: flex;
  list-style: none;
  padding-left: 0;
  width: 100%;
}

ul.tabs li {
  flex: 0 0 25%;
  text-align: center;
  display: block;
}

.tabs a {
  width: 100%;
  display: block;
  text-transform: uppercase;
  color: var(--primary-color);
}

.tabs a.active,
.tabs a:hover {
  border-bottom: 2px solid var(--primary-color);
}

.list-filters {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-end;
  gap: 12px;
}

.list-filters>div {
  max-width: 240px;
  flex: 0 0 25%;
}

ul.collection {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding-left: 0;
  width: 100%;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);

}

.collection-header,
.collection-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.collection-header,
.collection-item {
  padding: 8px 24px;
}

.collection-item .company-list-item {
  padding: 8px 0;
}

.collection-item .secondary-content {
  position: relative;
  z-index: 1;
}

.secondary-content {
  font-size: 16px;
  color: var(--dim-text);
  float: right;
}

.collection-item .title a {
  font-size: 16px;
  color: var(--link-text);
}

.text-right {
  float: right;
}

.right {
  float: right;
}

.s7n-badge {
  border-radius: 3px;
  font-size: 12px;
  padding: 4px 6px;
  color: #333;
}

.s7n-badge.badge-blue {
  background: #b3e5fc;
}

.s7n-badge.badge-yellow {
  background: #fff9c4;
}

.s7n-badge.badge-orange {
  background: #ffccbc;
}

.s7n-badge.badge-purple {
  background: #c7c2fb;
}

.s7n-badge.badge-green {
  background: #c2fbc5;
}

.s7n-badge.badge-gray {
  background: #e9e9e9;
}

.btn,
.btn-large {
  position: relative;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.btn,
.btn-large {
  text-decoration: none;
  color: #fff;
  background-color: #03a9f4;
  text-align: center;
  letter-spacing: .5px;
  transition: .2s ease-out;
  cursor: pointer;
}

.btn,
.btn-large {
  border: none;
  border-radius: 2px;
  display: inline-block;
  height: 36px;
  line-height: 36px;
  outline: 0;
  padding: 0 2rem;
  text-transform: uppercase;
  vertical-align: middle;
}

.btn-floating {
  display: inline-block;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 37px;
  height: 37px;
  line-height: 37px;
  padding: 0;
  background-color: #ffd454;
  border-radius: 50%;
  transition: .3s;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.btn-floating i {

  width: inherit;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  line-height: 37px;

}

.btn-floating.btn-large {
  width: 55.5px;
  height: 55.5px;
}

.btn-floating.btn-large i {
  line-height: 55.5px;
}

.btn-large i {
  font-size: 1.6rem;
}

.button-row {
  height: 36px;
}

.light-blue {
  background-color: #03a9f4 !important;
}

.material-icons {
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
}

.grey-text {
  color: var(--dim-text);
}

#content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

main {
  flex: 1 0 auto;
}

a[disabled] {
  color: rgba(0, 0, 0, .5) !important;
  cursor: default;
}

.btn {
  position: relative;
}

.btn-text,
.btn-flat {
  position: relative;
  padding-left: 10px;
  padding-right: 10px;
  text-transform: uppercase;
}

.btn-text-padded {
  position: relative;
  top: 7px;
}

.display-date {
  position: relative;
  top: -0.4rem;
}

.input-field .suffix {
  position: absolute;
  right: .75rem;
  line-height: 46px;
  color: rgba(0, 0, 0, .5);
  font-size: .8rem;
}

.input-field .suffix~input {
  width: calc(100% - 3rem);
}

.input-field .prefix~.suffix~input {
  width: calc(100% - 6rem);
}

small.header {
  color: rgba(0, 0, 0, .6);
  font-size: .6em;
}

.half-up {
  margin-top: -50%;
}

.quarter-up {
  margin-top: -25%;
}

.quarter-down {
  margin-top: 25%;
}

.text-right {
  text-align: right;
}

.small {
  font-size: 0.8em;
}

.default-text {
  color: #111111;
}

.s7n-title {
  font-size: 1.5rem;
  margin: 0.4em 0 0;
  text-transform: uppercase;
}

.s7n-block {
  display: block;
}

.s7n-full {
  width: 100%;
}

.s7n-center {
  margin: 0 auto;
}

.s7n-typeahead-menu {
  position: static !important;
  background-color: white;
  border: 1px solid var(--border-color);
}

.s7n-typeahead-menu .tt-selectable {
  padding: 0;
  width: 100%;
}

.s7n-typeahead-menu .tt-selectable:hover {
  background-color: var(--border-color);
  color: var(--dark-text);
}

.s7n-typeahead-hint {
  display: none !important;
}

.s7n-comment {
  min-height: 5rem;
}

.errorlist li {
  @extend .red-text;
}

.search-wrapper {
  line-height: normal;
  border: 1px solid var(--border-color);
  height: 32px;
  background-color: #fff;
  display: flex;
  margin-top: 48px;
  margin-left: 12px;
  margin-right: 12px;
}

.inner,
.card-action.inner {
  padding-left: initial;
  padding-right: initial;
}

.dropdown-content li>a,
.dropdown-content li>span {
  font-size: 0.8rem;
}

nav h1 {
  font-size: 2.5rem;
  line-height: 120%;
  margin: 0.8rem 1rem;
}

nav .button-collapse i {
  margin-right: 10px;
}


#logo-container {
  display: block;
  width: 100%;
  height: 120px;
}

.search-wrapper .twitter-typeahead {
  flex: 0 0 auto;
  padding-left: 0;
}

.search-wrapper input#search {
  border: none;
  line-height: 1.6;
  width: 184px;
  height: 30px;
  padding: 0;
  padding-left: 4px;
}

.search-wrapper input#search:focus {
  outline: none;
}

.search-wrapper i.material-icons {
  cursor: pointer;
  line-height: 1.4;
  flex: 0 0 auto;
}

#search_listbox a {
  display: block;
  width: 100%;
  padding: 8px 4px;
}

#front-page-logo {
  width: 80px;
  display: block;
  margin: 48px auto;
}

@media print {

  #nav-toggle,
  #details #id_text_container,
  #details button,
  a i.material-icons,
  .btn-floating,
  .button-collapse,
  footer>.container {
    display: none;
  }

  header,
  main,
  footer {
    padding: 0;
  }

  .tabs .tab a {
    color: rgba(0, 0, 0, .3);
  }

  .tabs .tab a.active {
    color: #000;
  }
}

#company_search .twitter-typeahead,
#project_search .twitter-typeahead {
  width: calc(100% - 3rem);
}

#company_search i,
#project_search i {
  line-height: inherit !important;
}

#company_search .hidden,
#project_search .hidden {
  display: none;
}

.project-filter-wrapper {
  display: flex;
  width: 100%;
  align-items: baseline;
}

.project-filter-wrapper label {
  color: var(--dim-text);
}

.card {
  background-color: #fff;
  color: #4a4a4a;
  max-width: 100%;
  position: relative;
  margin-bottom: 1rem;
  margin-top: 1rem;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.card .collection {
  box-shadow: none;
  border: 1px solid var(--border-color);
}

.card-content {
  padding: 24px 16px;
}

.card-title {
  font-size: 24px;
  line-height: 48px;
}

p {
  margin-bottom: 1rem;
}

label:not(:last-child) {
  margin-bottom: .5em;
}

label {
  color: #363636;
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

input[type=checkbox] {
  height: 16px;
  width: 16px;
}

input[type=text],
input[type=number],
input[type=date],
input[type=email],
input[type=password],
select,
textarea {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: #363636;
  width: 100%;
  max-width: 100%;
  padding: 4px 8px;
}

button[type=submit] {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.revenue-input {
  display: inline-block;
  position: relative;
  appearance: textfield;
}

footer {
  font-size: 12px;
  flex: 0 0 auto;
}

footer h5 {
  font-size: 18px;
}

footer a {
  color: #fff;
}

footer p {
  margin: 12px 0;
}

footer.page-footer {
  padding-top: 20px;
  background-color: #78909c;
  color: #fff;
}

footer.copyright-footer {
  height: 50px;
  line-height: 50px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  background-color: #546e7a;
  color: #fff;
}

footer .footer-info,
footer .footer-copyright {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-content: space-between;
}

footer .footer-main {
  flex: 1 1 70%;
}

footer .footer-side {
  flex: 1 1 30%;
}

.responsive-table {
  width: 100%;
}

.responsive-table thead th {
  border-bottom: 1px solid #d0d0d0;
}

.responsive-table th,
.responsive-table td {
  padding: 12px 0;
}

.centered-logo img {
  padding-top: 100px;
  padding-bottom: 80px;
  margin: 0 auto;
}

.dynamic-input .collection-item {
  display: flex;
  align-items: center;
}

.dynamic-input .collection-item>div {
  width: 100%;
}

.dynamic-input select.advisor-role {
  height: 34px;
}