trix-editor {
  border: 1px solid #bbb;
  border-radius: 3px;
  margin: 0;
  padding: 0.4em 0.6em;
  min-height: 5em;
  outline: none; }

trix-toolbar * {
  box-sizing: border-box; }

trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto; }

trix-toolbar .trix-button-group {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #bbb;
  border-top-color: #ccc;
  border-bottom-color: #888;
  border-radius: 3px; }
  trix-toolbar .trix-button-group:not(:first-child) {
    margin-left: 1.5vw; }
    @media (max-width: 768px) {
      trix-toolbar .trix-button-group:not(:first-child) {
        margin-left: 0; } }

trix-toolbar .trix-button-group-spacer {
  flex-grow: 1; }
  @media (max-width: 768px) {
    trix-toolbar .trix-button-group-spacer {
      display: none; } }

trix-toolbar .trix-button {
  position: relative;
  float: left;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 0.5em;
  margin: 0;
  outline: none;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent; }
  trix-toolbar .trix-button:not(:first-child) {
    border-left: 1px solid #ccc; }
  trix-toolbar .trix-button.trix-active {
    background: #cbeefa;
    color: black; }
  trix-toolbar .trix-button:not(:disabled) {
    cursor: pointer; }
  trix-toolbar .trix-button:disabled {
    color: rgba(0, 0, 0, 0.125); }
  @media (max-width: 768px) {
    trix-toolbar .trix-button {
      letter-spacing: -0.01em;
      padding: 0 0.3em; } }

trix-toolbar .trix-button--icon {
  font-size: inherit;
  width: 2.6em;
  height: 1.6em;
  max-width: calc(0.8em + 4vw);
  text-indent: -9999px; }
  @media (max-width: 768px) {
    trix-toolbar .trix-button--icon {
      height: 2em;
      max-width: calc(0.8em + 3.5vw); } }
  trix-toolbar .trix-button--icon::before {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.6;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; }
    @media (max-width: 768px) {
      trix-toolbar .trix-button--icon::before {
        right: 6%;
        left: 6%; } }
  trix-toolbar .trix-button--icon.trix-active::before {
    opacity: 1; }
  trix-toolbar .trix-button--icon:disabled::before {
    opacity: 0.125; }

trix-toolbar .trix-button--icon-attach::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  top: 8%;
  bottom: 4%; }

trix-toolbar .trix-button--icon-bold::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-italic::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-link::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-strike::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-quote::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-heading-1::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-code::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-bullet-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-number-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-undo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-redo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-decrease-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-increase-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-dialogs {
  position: relative; }

trix-toolbar .trix-dialog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.75em;
  padding: 15px 10px;
  background: #fff;
  box-shadow: 0 0.3em 1em #ccc;
  border-top: 2px solid #888;
  border-radius: 5px;
  z-index: 5; }

trix-toolbar .trix-input--dialog {
  font-size: inherit;
  font-weight: normal;
  padding: 0.5em 0.8em;
  margin: 0 10px 0 0;
  border-radius: 3px;
  border: 1px solid #bbb;
  background-color: #fff;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none; }
  trix-toolbar .trix-input--dialog.validate:invalid {
    box-shadow: #F00 0px 0px 1.5px 1px; }

trix-toolbar .trix-button--dialog {
  font-size: inherit;
  padding: 0.5em;
  border-bottom: none; }

trix-toolbar .trix-dialog--link {
  max-width: 600px; }

trix-toolbar .trix-dialog__link-fields {
  display: flex;
  align-items: baseline; }
  trix-toolbar .trix-dialog__link-fields .trix-input {
    flex: 1; }
  trix-toolbar .trix-dialog__link-fields .trix-button-group {
    flex: 0 0 content;
    margin: 0; }

trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

trix-editor [data-trix-mutable]::-moz-selection,
trix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection {
  background: none; }

trix-editor [data-trix-mutable]::selection,
trix-editor [data-trix-cursor-target]::selection, trix-editor [data-trix-mutable] ::selection {
  background: none; }

trix-editor .attachment__caption-editor:focus[data-trix-mutable]::-moz-selection {
  background: highlight; }

trix-editor .attachment__caption-editor:focus[data-trix-mutable]::selection {
  background: highlight; }

trix-editor [data-trix-mutable].attachment.attachment--file {
  box-shadow: 0 0 0 2px highlight;
  border-color: transparent; }

trix-editor [data-trix-mutable].attachment img {
  box-shadow: 0 0 0 2px highlight; }

trix-editor .attachment {
  position: relative; }
  trix-editor .attachment:hover {
    cursor: default; }

trix-editor .attachment--preview .attachment__caption:hover {
  cursor: text; }

trix-editor .attachment__progress {
  position: absolute;
  z-index: 1;
  height: 20px;
  top: calc(50% - 10px);
  left: 5%;
  width: 90%;
  opacity: 0.9;
  transition: opacity 200ms ease-in; }
  trix-editor .attachment__progress[value="100"] {
    opacity: 0; }

trix-editor .attachment__caption-editor {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
  vertical-align: top;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none; }

trix-editor .attachment__toolbar {
  position: absolute;
  z-index: 1;
  top: -0.9em;
  left: 0;
  width: 100%;
  text-align: center; }

trix-editor .trix-button-group {
  display: inline-flex; }

trix-editor .trix-button {
  position: relative;
  float: left;
  color: #666;
  white-space: nowrap;
  font-size: 80%;
  padding: 0 0.8em;
  margin: 0;
  outline: none;
  border: none;
  border-radius: 0;
  background: transparent; }
  trix-editor .trix-button:not(:first-child) {
    border-left: 1px solid #ccc; }
  trix-editor .trix-button.trix-active {
    background: #cbeefa; }
  trix-editor .trix-button:not(:disabled) {
    cursor: pointer; }

trix-editor .trix-button--remove {
  text-indent: -9999px;
  display: inline-block;
  padding: 0;
  outline: none;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid highlight;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25); }
  trix-editor .trix-button--remove::before {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.7;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90%; }
  trix-editor .trix-button--remove:hover {
    border-color: #333; }
    trix-editor .trix-button--remove:hover::before {
      opacity: 1; }

trix-editor .attachment__metadata-container {
  position: relative; }

trix-editor .attachment__metadata {
  position: absolute;
  left: 50%;
  top: 2em;
  transform: translate(-50%, 0);
  max-width: 90%;
  padding: 0.1em 0.6em;
  font-size: 0.8em;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 3px; }
  trix-editor .attachment__metadata .attachment__name {
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  trix-editor .attachment__metadata .attachment__size {
    margin-left: 0.2em;
    white-space: nowrap; }

.trix-content {
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word; }
  .trix-content * {
    box-sizing: border-box;
    margin: 0;
    padding: 0; }
  .trix-content h1 {
    font-size: 1.2em;
    line-height: 1.2; }
  .trix-content blockquote {
    border: 0 solid #ccc;
    border-left-width: 0.3em;
    margin-left: 0.3em;
    padding-left: 0.6em; }
  .trix-content [dir=rtl] blockquote,
  .trix-content blockquote[dir=rtl] {
    border-width: 0;
    border-right-width: 0.3em;
    margin-right: 0.3em;
    padding-right: 0.6em; }
  .trix-content li {
    margin-left: 1em; }
  .trix-content [dir=rtl] li {
    margin-right: 1em; }
  .trix-content pre {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    font-family: monospace;
    font-size: 0.9em;
    padding: 0.5em;
    white-space: pre;
    background-color: #eee;
    overflow-x: auto; }
  .trix-content img {
    max-width: 100%;
    height: auto; }
  .trix-content .attachment {
    display: inline-block;
    position: relative;
    max-width: 100%; }
    .trix-content .attachment a {
      color: inherit;
      text-decoration: none; }
      .trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
        color: inherit; }
  .trix-content .attachment__caption {
    text-align: center; }
    .trix-content .attachment__caption .attachment__name + .attachment__size::before {
      content: ' \2022 '; }
  .trix-content .attachment--preview {
    width: 100%;
    text-align: center; }
    .trix-content .attachment--preview .attachment__caption {
      color: #666;
      font-size: 0.9em;
      line-height: 1.2; }
  .trix-content .attachment--file {
    color: #333;
    line-height: 1;
    margin: 0 2px 2px 2px;
    padding: 0.4em 1em;
    border: 1px solid #bbb;
    border-radius: 5px; }
  .trix-content .attachment-gallery {
    display: flex;
    flex-wrap: wrap;
    position: relative; }
    .trix-content .attachment-gallery .attachment {
      flex: 1 0 33%;
      padding: 0 0.5em;
      max-width: 33%; }
    .trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
      flex-basis: 50%;
      max-width: 50%; }
/*
 * Provides a drop-in pointer for the default Trix stylesheet that will format the toolbar and
 * the trix-editor content (whether displayed or under editing). Feel free to incorporate this
 * inclusion directly in any other asset bundle and remove this file.
 *

*/

/*
 * We need to override trix.css’s image gallery styles to accommodate the
 * <action-text-attachment> element we wrap around attachments. Otherwise,
 * images in galleries will be squished by the max-width: 33%; rule.
*/
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}
@font-face {
  font-family: 'Roboto';
  src: url(/assets/roboto-light-webfont-ec11bf274b15db0905b1294b83078b93a9bf52442c7f8052c5ec8b20c65ff095.woff2) format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url(/assets/roboto-regular-webfont-a0b8d77149553d46f6173cc5350677f68824231d8e078adc959cc662b45ba10d.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url(/assets/roboto-italic-webfont-e55a5a0580cdd8dd305b2f0767043b03a2dad2133bd2d6fbdd09f8aaff0df828.woff2) format('woff2');
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url(/assets/roboto-bold-webfont-632ede6dac298048005f1489fe66bf835b73144e6318be79f6212dd4fe97f8de.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url(/assets/montserrat-light-webfont-45e504288f42f73daea871c9d8d6ecbbb83741d33e96e4430049d6ee08f923df.woff2) format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url(/assets/montserrat-regular-webfont-8b1399f8880d6b82837174af94f0b3afbd5d504a75b0f9b9454bbf842ca0c858.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url(/assets/montserrat-medium-webfont-55462a77ed61c726fe6b80a210a5fee3845c8480cf3e51850adcaf3ea13c0c47.woff2) format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url(/assets/montserrat-semibold-webfont-5ddb23bc087f05627c56e4ab599a8e83a8e2b2ce22dd642fbca63099a8978509.woff2) format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url(/assets/montserrat-bold-webfont-2a240e06358fbd6204b0c7c248ccf498f9f54f87de8cd816b6b5ae1f148e4c79.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
}
/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

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

html {
  /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
  font-family:
      system-ui,
      'Segoe UI',
      Roboto,
      Helvetica,
      Arial,
      sans-serif,
      'Apple Color Emoji',
      'Segoe UI Emoji';
  line-height: 1.15; /* 1. Correct the line height in all browsers. */
  -webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
  -moz-tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
  tab-size: 4; /* 3 */
}

/*
Sections
========
*/

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

/*
Grouping content
================
*/

/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
}

/*
Text-level semantics
====================
*/

/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
  text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family:
      ui-monospace,
      SFMono-Regular,
      Consolas,
      'Liberation Mono',
      Menlo,
      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;
}

/*
Tabular data
============
*/

/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
}

/*
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 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  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.
*/

::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/

:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-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.
*/

::-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 Chrome and Safari.
*/

summary {
  display: list-item;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
  --brand-primary: #0ab28e;
  --brand-primary-rbga: 10, 178, 142;
  --brand-secondary: #032d23;
  --text-color: #282828;
  --pale-grey: #f6f6f6;
  --approve: #2c9a5d;
  --reject: #e54c4c;
  --featured-job-background: #e8fce8;

  /* interface accent colours */
  --widget-border: #e6e6e6;
  --graph-yellow: #f4c84f;
  --graph-yellow-2: #edc243;
  --graph-light-blue: #5fc0d4;
  --graph-lime: #c1c952;
  --graph-light-green: #6cca7e;
  --green-fg: #32632a;
  --green-bg: #def9db;
  --blue-fg: #2031a2;
  --blue-bg: #d8e5fd;
  --mid-blue-fg: #4e7feb;
  --mid-blue-bg: #d9e4fa;
  --purple-fg: #59189a;
  --purple-bg: #efe4fe;
  --yellow-fg: #c08634;
  --yellow-bg: #fff3c2;
  --orange-fg: #e6a23c;
  --orange-bg: #f9ecd0;
  --gray-fg: #585858;
  --gray-bg: #dcdcdc;

  /* admin dashboard */
  --admin-background: #fcfcfc;
  --admin-text: #585858;
  --bullet-admin: #c49dfb;
  --bullet-draft: #d6d6d6;
  --bullet-expired: #fca5A5;
  --bullet-pending: #ffeb99;
  --bullet-published: #aff0a8;

  --body-font: Roboto,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* Change default 16px font size to 10px.
   * The 62.5% trick makes it easier to scale values without
   * worrying about the type of device used to view the content.
   */
  font-size: 62.5%;
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: black;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

h1 {
  font-size: 3rem; /* font size =30px */
  color: var(--text-color);
}

h2 {
  font-size: 2rem; /* font size = 20px */
}

p {
  font-size: 1.6rem;
  line-height: 2.4rem;
}

.sr-only {
  position: absolute; 
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px; 
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none; }
.inline { display: inline; }

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  z-index: 99;
  background-color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.profile-dropdown {
  top: 2.8rem;
  right: 1.8rem;
  display: none;
  min-width: 23rem;
  font-size: large;
  padding: 1rem;
  border: 1px solid #eee;
  border-top: 0;
  border-radius: 0.8rem 0 0.8rem 0.8rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  ul {
    li {
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;

      a {
        color: #7c7c7c;
        text-decoration: none;


        svg {
          color: #7c7c7c;
          width: 2rem;
          height: 2rem;
        }
      }
    }
  }
}

/* --- BUTTONS --- */
/* TODO: extract this out later to separate .css */

.btn {
  font-weight: 500;
  padding: 2.4rem 1.2rem;
  cursor: pointer;
  border-radius: 0.4rem;
  /*no-underline;*/
}

.btn-sm {
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  line-height: 2rem;
}

.btn-lg {
  padding: 0.8rem 0.4rem;
  font-weight: 500;
  border-radius: 0.4rem;
  font-size: 2rem;
  line-height: 2.8rem;
}

.btn-primary {
  padding: 1.6rem 1.2rem;
  background-color: var(--brand-primary);
  color: white;
  border: none;
}

.btn-outline {
  padding: 1.6rem 1.2rem;
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  background-color: transparent;
}

.btn-outline-white {
  padding: 1.6rem 1.2rem;
  border: 1px solid white;
  color: white;
  background-color: transparent;
}

.btn-outline-gray {
  padding: 1.6rem 1.2rem;
  border: 1px solid #9ca3af;
  color: #9ca3af;
  background-color: transparent;
}

.btn-approve {
  padding: 0.8rem 1.6rem;
  background-color: var(--approve);
  color: white;
  border: none;
}

.btn-reject {
  padding: 0.8rem 1.6rem;
  background-color: var(--reject);
  color: white;
  border: none;
}

.btn-purchase {
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  line-height: 2rem;
  text-align: no-underline;
  background-color: var(--brand-primary);
  color: white;
  border: none;
}

/* --- FORMS --- */
/* TODO: extract this out later to separate .css */

select,
textarea,
input[type="text"],
input[type="number"],
input[type^="datetime"],
input[type="email"],
input[type="password"] {
  appearance: none;
  display: block;
  width: 100%;
  background-color: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 0.4rem;
  padding: 1.6rem 1.2rem;
  line-height: 1.75rem;
  font-size: 1.6rem;
}

label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-weight: 600;
}

input[type="checkbox"] {
  height: 1.6rem;
  width: 1.6rem;
  border: 1px solid #d1d5db;
  border-radius: 0.4rem;
  color: var(--brand-primary);
}

input[type="checkbox"]:focus {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* --- FLASH NOTICES --- */
/* TODO: extract this out later to separate .css */

div.alert {
  background-color: #fee2e2;
  font-size: 1.6rem;
  div {
    margin-left: auto;
    margin-right: auto;
    padding: 1.6rem 0.8rem;
    color: #dc2626;
    text-align: center;
    font-weight: 500;
    font-family: Sans-Serif;
  }
}

div.notice {
  background-color: #bbf7d0;
  font-size: 1.6rem;
  div {
    margin-left: auto;
    margin-right: auto;
    padding: 1.6rem 0.8rem;
    color: #16a34a;
    text-align: center;
    font-weight: 500;
    font-family: Sans-Serif;
  }
}

/* Devise */
#error_explanation {
  background-color: #fef2f2;
  color: #b91c1c;
  padding: 1.6rem;
  border: 1px solid #fca5a5;
  border-radius: 0.4rem;
  margin-bottom: 2.4rem;

  h2 {
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 1.2rem;
  }

  ul {
    list-style: disc;
    padding-left: 2.4rem;
  }
}

.info-note {
  background-color: #f8f8f8;
  border: 1px solid #999;
  border-radius: 0.6rem;
  color: #999;
  text-align: center;
  padding: .75em;
  margin: 1.2em 0;
  a { color: #999; }
}

.login-panel {
  display: grid;
  gap: 2.4rem;
}

.login-form,
.password-login-form {
  display: grid;
  gap: 1.2rem;
}

.login-mode-frame {
  overflow: hidden;
}

.login-mode-link {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--brand-primary);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
  padding: 0.4rem 0;
  text-align: left;
}

.login-links {
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  padding-top: 1.6rem;
}

.role-options {
  border: 0;
  display: grid;
  column-gap: 3.2rem;
  row-gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2.8rem 0;
  padding: 0;
}

.role-options legend {
  display: block;
  grid-column: 1 / -1;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-weight: 600;
}

.role-option {
  display: block;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.role-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-option-content {
  align-items: center;
  border-radius: 0.6rem;
  display: flex;
  gap: 1.4rem;
  min-height: 5.6rem;
  padding: 0.8rem 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.role-option-control {
  align-items: center;
  border: 2px solid #9ca3af;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.4rem;
  justify-content: center;
  margin-top: 0.1rem;
  width: 2.4rem;
}

.role-option-control::after {
  background-color: var(--brand-primary);
  border-radius: 50%;
  content: "";
  display: block;
  height: 1.2rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s ease, transform 0.15s ease;
  width: 1.2rem;
}

.role-option-title,
.role-option-note {
  display: block;
}

.role-option-title {
  color: var(--text-color);
  font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 3.6rem;
}

.role-option:hover .role-option-content,
.role-option input[type="radio"]:focus-visible + .role-option-content {
  transform: translateY(-1px);
}

.role-option input[type="radio"]:checked + .role-option-content {
  color: var(--brand-primary);
}

.role-option input[type="radio"]:checked + .role-option-content .role-option-control {
  border-color: var(--brand-primary);
}

.role-option input[type="radio"]:checked + .role-option-content .role-option-title {
  color: var(--brand-primary);
}

.role-option input[type="radio"]:checked + .role-option-content .role-option-control::after {
  opacity: 1;
  transform: scale(1);
}

.check-email-message {
  margin: 1.2rem 0 2.4rem;
}

.check-email-message h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 3rem;
  margin-bottom: 1.2rem;
}

.check-email-message p {
  color: #4b5563;
  margin-bottom: 1.2rem;
}

.check-email-message strong {
  color: var(--text-color);
  font-weight: 700;
}

/* === APPLICATION LAYOUT === */

main-container {
  display:grid;
  grid-template-rows:auto 1fr auto;
  grid-template-columns:100%;
  background-color: var(--admin-background);
  font-size: 1.6rem;

  main {
    width: 100%;
    min-height: 50vh;
    margin: auto;
  }
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1160px;
  padding: 0 1.6rem;
}

/* --- HEADER / NAV --- */

header {
  width: 100%;
  margin: 0;
  padding: 1.6rem 0;
  background-color: var(--brand-primary);

  #toggleButton {
    display: none;
  }

  nav {
    width: 100%;
    max-width: 1160px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .logo {
      max-width: 38.5rem;
    }

    svg.chevron-down,
    svg.chevron-right {
      display: inline-flex;
      align-items: center;
      width: 1.6rem;
      height: 1.6rem;
      color: white;
      stroke: currentColor;
    }

    ul#primary-navigation {
      display: flex;
      flex-direction: row;
      align-items: center;
      font-size: 1.6rem;
      line-height: 2.4rem;
      text-transform: uppercase;
      list-style-type: none;
      margin: 0;
      padding: 0;

      li {
        a {
          display: inline;
          align-items: center;
          padding: 0.8rem 1.2rem;
          color: white;
          text-decoration: none;
        }

        .disabled-nav-link {
          display: inline;
          align-items: center;
          padding: 0.8rem 1.2rem;
          color: rgba(255, 255, 255, 0.5);
          text-decoration: none;
        }

        a.login-btn {
          border: 1px solid white;
          border-radius: 0.4rem;
          font-size: 1.4rem;
          line-height: 2rem;
          color: white;
          display: inline-flex;
          margin: 0 1.1rem 0 2.4rem;
          text-transform: uppercase;
        }

        ul.sub-menu {
          list-style-type: none;
          background-color: var(--brand-primary);
          min-width: 23.5rem;
          border-bottom-right-radius: 0.4rem;
          border-bottom-left-radius: 0.4rem;
          box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

          li {
            border-bottom: 1px solid rgba(245, 245, 245, 0.35);
            padding: 1.2rem 0;

            a {
              display: inline;
              align-items: center;
              padding: -1rem 1.2rem -0.8rem -1.2rem;
              color: white;
              text-decoration: none;
            }

            .disabled-nav-link {
              display: inline;
              align-items: center;
              padding: -1rem 1.2rem -0.8rem -1.2rem;
              color: rgba(255, 255, 255, 0.5);
              text-decoration: none;
            }
          }
        }
      }

      li.profile-nav {
        display: inline-flex;
        align-items: center;

        .profile-avatar {
          display: inline-flex;
          width: 3.4rem;
          height: 3.4rem;
          margin-left: 1.6rem;
          margin-right: 0.8rem;
          border: 1px solid rgba(255, 255, 255, 0.8);
          border-radius: 0.6rem;
          object-fit: cover;
        }
      }
    }


    .profile-dropdown {
      border-radius: 0.6rem;
      font-size: medium;
      margin-top: 0.8rem;

      ul#profile-menu {
        list-style: none;

        .divider {
          border-top: 1px solid var(--widget-border);
          a { margin-top: 0.6rem; }
        }

        li {
          display: flex;
          align-items: center;
          font-size: 1.4rem;
          line-height: 2rem;
          margin: 0.8rem 0;


          a {
            color: #7c7c7c;
            text-decoration: none;
            display: inline-flex;
            align-items: center;

            svg.profile-icon-fill {
              display: inline-flex;
              align-items: center;
              width: 1.8rem;
              height: 1.8rem;
              color: #7c7c7c;
              fill: currentColor;
              margin-right: 0.8rem;
            }
            svg.profile-icon-outline {
              display: inline-flex;
              align-items: center;
              width: 1.8rem;
              height: 1.8rem;
              color: #7c7c7c;
              stroke: currentColor;
              margin-right: 0.8rem;
            }
          }
        }
      }
    }
  }
}

#closeButton {
  display: none;
}

#cardContainer {
  display: none;
}

/* small screens */
@media (max-width: 1159px) {
  header {

  nav {
   .logo { max-width: 30rem; }
     ul#primary-navigation { display: none; }

      #toggleButton {
        display: block;
        color: white;
        background-color: transparent;
        border: none;
        padding: 0.8rem 1.6rem;
        border-radius: 0.4rem;
        cursor: pointer;
      }
    }
  }

  #cardContainer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    overflow: hidden;
    background-color: var(--brand-primary);
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;

    #closeButton {
      display: block;
      color: white;
      background: transparent;
      border: none;
      position: absolute;
      top: 3rem;
      right: 2rem;
      z-index: 80;
      cursor: pointer;
    }

    .card-content {
      position: relative;
      width: 100%;
      height: 100%;
      padding: 6.4rem 3.2rem;

      .inner {
        display: flex;
        flex-direction: column;
        row-gap: 0.4rem;
        width: 100%;
        height: auto;
        margin-top: 2.4rem;

        item:hover {
          background-color: rgba(0, 0, 0, 0.15);
        }

        .item {
          display: flex;
          align-items: center;
          width: 100%;
          height: auto;
          margin-top: -1.4rem;
          padding: 1.6rem;
          column-gap: 1.6rem;
          color: white;
          cursor: pointer;
          border-radius: 0.6rem;
          transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
          transition-duration: 500ms;

          a.home {
            text-transform: uppercase;
          }

          a {
            display: inline-flex;
            align-items: center;
            color: white;
            font-size: 1.8rem;
            line-height: 2.8rem;
            font-weight: 400;
            text-decoration: none;


            svg.fill {
              display: inline-flex;
              align-items: center;
              width: 2rem;
              height: 2rem;
              color: white;
              fill: currentColor;
              margin-right: 1rem;
            }

            svg.outline {
              display: inline-flex;
              align-items: center;
              width: 2rem;
              height: 2rem;
              color: white;
              stroke: currentColor;
              margin-right: 1rem;
            }

            svg.fill-6 {
              display: inline-flex;
              align-items: center;
              width: 2.4rem;
              height: 2.4rem;
              color: white;
              fill: currentColor;
              margin-right: 1rem;
            }
          }
        }

        .hr {
          width: 100%;
          height: auto;
          display: flex;
          align-items: center;
          margin: 1.6rem 0;
          border-bottom: 1px solid rgba(243, 244, 246, 0.35);
        }
      }

      .login-logout {
        position: absolute;
        bottom: 3rem;
        left: 0;
        width: 100%;
        height: auto;
        text-align: center;
        padding: 2.4rem;

        a {
          font-size: 2rem;
          line-height: 2.8rem;
          font-weight: 500;
          padding: 1.2rem 2.4rem;
          border: 2px solid white;
          border-radius: 0.4rem;
          color: white;
          cursor: pointer;
          display: inline;
          text-decoration: none;
          text-transform: uppercase;
        }
      }
    }
  }
}

/* --- FOOTER --- */

footer {
  width: 100%;
  background-color: #18181b;
  color: white;
  margin-top: 4rem;
  padding: 2.4rem 0;

  .footer-flex {
    width: 100%;
    max-width: 1160px;
    margin: 2.4rem auto;
    padding: 0 2.4rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    div {
      flex-basis: 100%;

      h3 {
        font-size: 2rem;
        font-weight: 400;
        line-height: 2.8rem;
        padding: 1.2rem 0;
      }

      p {
        display: inline-flex;
        align-items: center;
        font-weight: 300;
        font-size: 1.4rem;
        line-height: 2rem;

        a { text-decoration: none; }
      }

      svg {
        color: white;
        fill: currentColor;
        margin-left: 2px;
        display: inline-flex;
        align-items: center;
      }

      svg.map-pin {
        width: 20px;
        height: 20px;
        margin-right: 1rem;
      }

      svg.envelope {
        width: 20px;
        height: 16px;
        margin-right: 1rem;
      }

      svg.socials {
        width: 45px;
        height: 45px;
      }

      form {
        input[type="submit"] {
          font-weight: 500;
          font-size: 1.2rem;
          padding: 1.2rem 2.4rem;
          border: 1px solid #262626;
          border-radius: 0.4rem;
          background-color: black;
          color: white;
          text-transform: uppercase;
          cursor: pointer;
          margin-top: 0.8rem;
        }
      }
    }
  }
}

@media (min-width: 992px) {
  footer {
    .col-socials {
      text-align: center;
      width: 100%;
      padding: 0 auto;
    }
    .footer-flex {
      div {
        flex-basis: 33.333333%;
        margin-top: 0;
        margin-bottom: 0;
      }
    }
  }
}

@media (max-width: 576px) {
  footer {
    .col-company { margin-top: -2.4rem; }
    .col-socials { text-align: left; }
    .col-socials, .col-subscribe { margin-top: 2.4rem; }
  }
}

/* --- ROADIE BRANDING  --- */

.site-powered-by {
  width: 100%;
  height:55px;
  background-color: black;
  text-align: center;
  font-size: x-small;
  color: #6b7280;
  padding: 2rem;

  a {
    color: #6b7280;
    text-decoration: none;
    line-height: 1.5rem;
  }
}

/* === END APPLICATION LAYOUT === */

/* === DEVISE === */

.devise-wrapper {
  width: 100%;
  max-width: 50rem;
  margin: 2.4rem auto;
  padding: 0 1.6rem;

  label { margin-top: 2.4rem; }
  input[type="submit"] { width: 100%; margin: 2.4rem auto; }
  select { margin-bottom: 2.4rem; }
  hr { margin: 1.6rem auto; color: var(--pale-grey); }
  h3 { font-weight: 700; margin-bottom: 1.2rem; }
  p {
    margin: 0.8rem auto;
    a { text-decoration: underline; color: var(--brand-primary); font-size: 1.4rem; }
  }
  span {
    font-style: italic;
    color: #4b5563;
    font-size: 1.4rem;
  }
  .callout { color: #ef4444; }

  .pwd-show-hide {
    display: flex;
    button {
      margin-left: -0.8rem;
      background-color: white;
      border: 1px solid #d1d5db;
      border-left: 1px solid white;
      border-radius: 0.4rem;
      border-radius-left: 0;
      padding: 1.2rem 1.6rem;
      svg {
        color: #d1d5db;
        stroke: currentColor;
        width: 2.4rem;
        height: 2.4rem;
      }
    }
  }

  .remember-me {
    display: flex;
    align-items: center;
    margin-top: 2.4rem;
    label {
      margin: auto auto 0 1.2rem;
    }
  }
}

/* === END DEVISE === */

/* === ADMIN CONTENT === */

admin-container {
  display:grid;
  grid-template-rows:auto 1fr auto;
  grid-template-columns:100%;
  background-color: var(--admin-background);

  /* fallback height */
  min-height:100vh;

  /* new small viewport height for modern browsers */
  min-height:100svh;
}

.roadie {
  width: 100%;
  text-align: center;
  font-size: x-small;
  color: #222222;
  padding: 2rem;

  a {
    color: #222222;
    text-decoration: none;
    line-height: 1.5rem;
  }
}

/* --- ADMIN HEADER --- */
admin-header {
  width: 99%;

  div > nav {
    width: 100%;
    margin: auto auto 2rem auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-height: 60px;

    div {
      text-decoration: none;
      display: inline-flex;
      align-items: center;

      a.logo > img {
        border-radius: 0.8rem;
        width: 40px;
        height: 40px;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
      }

      ul#admin-navigation {
        list-style-type: none;
        margin: 0 0 0 2rem;
        padding: 0;
        display: inline-flex;
        align-items: center;

        li {
          display: inline-flex;
          align-items: center;
          padding: 0 1rem;
          font-size: medium;

          a {
            text-decoration: none;
            color: #222222;
          }
        }
      }
    }

    div#action-menus {
      display: inline-flex;
      align-self: flex-end;
      gap: 2rem;

      svg.admin-settings {
        width: 2.4rem;
        height: 2.4rem;
        color: #565656;
        stroke: #565656;
      }

      button#toggleButton {
        color: var(--text-color);
        border: none;
        background-color: white;
        display: none;
      }


      div.dropdown {

        .divider {
          border-top: 1px solid var(--widget-border);
          a { margin-top: 1.2rem; }
        }

        li {
          list-style-type: none;
          display: flex;
          align-items: center;

          svg.chevron-down {
            width: 16px;
            height: 16px;
            margin-left: 2px;
            color: var(--pale-gray);
            display: inline-flex;
            stroke: currentColor;
          }

          img#profile-avatar {
            width: 30px;
            height: 30px;
            border: 1px solid var(--brand-primary);
            border-radius: 0.8rem;
            object-fit: cover;
          }

          a svg {
            width: 16px;
            height: 16px;
            margin-left: 2px;
            color: var(--pale-gray);
            display: inline-flex;

            .filled { fill: currentColor; }
            .outline { stroke: currentColor; }
          }
        }
      }
    }
  }
}

/* --- ADMIN MAIN --- */

admin-main {
  width: 100%;
  max-width: calc(100vw - 10%);
  margin: 0 auto;
  color: var(--admin-text);
  font-weight: 300;

  h1 {
    color: #222222;
  }

  #pagination {
    display: grid;
    justify-items: left;
    margin: 2.5rem;

    span a, span.current {
      color: var(--admin-text);
      font-size: 1.4rem;
      font-weight: 300;
      text-decoration: none;
      padding: 0 0.5rem;
    }

  }
}

/* --- Admin Dialog Modals --- */

dialog {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  margin: auto;
  background: white;
  padding: 0;
  border: 1px solid #e7e7e8;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border-radius: 0.8rem;
  width: fit-content;
  max-height: 90vh;
}

#candidate-modal {
  width: 70vw;
  max-width: 1024px;

  #wrapper {
    padding: 4rem 4rem 1rem 4rem;

    #heading {
      display: flex;
      align-items: center;
      margin: 4rem 0;

      img {
        width: 10rem;
        height: 10rem;
        display: inline-flex;
        object-fit: cover;
      }

      h1 {
        font-size: 3.2rem;
        font-weight:600;
        display: inline-flex;
        padding: 0 0.5rem;
      }
    }

    #details {
      margin-bottom: 2rem;
      color: var(--admin-text);
      display: grid;
      grid-template-columns: 1fr 4fr;

      svg.candidate-location {
        width: 20px;
        height: 20px;
        color: var(--admin-text);
        stroke: var(--admin-text);
        margin: auto 0.3rem -0.3rem auto;
        display: inline-flex;
        justify-items: center;

      }
    }

    #resume {
      span {
        width: 100%;
        display: flex;
        justify-content: space-between;

        h2 {
          font-size: 2.8rem;
          font-weight: 500;
        }

        a {
          margin-bottom: 2rem;
          padding: 0 0.5rem;
          color: darkgray;
          font-size: 1.5rem;
          line-height: unset;
          font-weight: 300;
          border: 1px solid darkgrey;
          text-decoration: none;
          border-radius: 0.5rem;
        }
      }

      embed {
        width: 100%;
        height: fit-content;
        min-height: 80vh;
      }
    }
  }

  #action {
    width: 100%;
    border-top: 1px solid var(--widget-border);
    padding: 2rem;
    margin: 0;
    display: flex;
    justify-content: space-between;

    #approve-reject {
      display: inline-flex;

      button.approve {
        padding: 1.2rem 0.8rem;
        color: white;
        background-color: color-mix(in srgb,var(--approve),#fff 20%);
      }

        button.reject {
        padding: 1.2rem 0.8rem;
        color: white;
        background-color: color-mix(in srgb,var(--reject),#fff 20%);
      }
    }
  }
}

#search-wrapper {
  display: flex;

  input[type="text"] {
    font-size: 1.2rem;
    padding: 0.8rem;
    width: 30rem;
    max-width: 35rem;
  }
}

#sort-wrapper {
  display: flex;
  justify-content: end;
  margin-top: -3rem;
  margin-bottom: 2rem;

  label {
    display: inline-flex;
    margin-right: 0.5rem;
    margin-top: 1rem;
  }

  #sort_by {
    display: inline-flex;
    min-width: 15rem;
    width: fit-content;
    padding: 1rem;
  }

  button {
    background: none;
    border: none;
  }

  svg {
    width: 3rem;
    height: 3rem;
    color: white;
    background-color: color-mix(in srgb, var(--brand-primary), #fff 20%);
    margin-top: 0.1rem;
    margin-left: 1rem;
    border-radius: 0.5rem;
    padding: 0.4rem;
  }
}

/* --- Admin Dashboard - Index --- */

admin-dashboard {
  width: 100%;
  margin: auto 2rem;

  dashboard-container {
    width: 100%;
    display: grid;
    grid-gap: 3rem;
    justify-items: stretch;
    grid-template-columns: minmax(72%, 2fr) minmax(28%, 1fr);
    align-items: start;
    color: var(--admin-text);
    margin: 2rem 0;

    dashboard-widgets{
      margin: 2rem 0;
      column-span: 2;

      widget-container {
        display: grid;
        grid-template-columns: minmax(45%, 1fr) minmax(45%, 1fr);
        grid-template-rows: auto;
        gap: 1.5rem;

        .widget {
          background-color: white;
          border: 1px solid var(--widget-border);
          border-radius: 0.8rem;
          padding: 2rem 1rem;

          h2.chart-title {
            font-size: 1.4rem;
            font-weight: 400;
          }
        }
      }
    }

    quick-links {
      margin: 2rem 0;
      column-span: 1;

      quick-links-container {
        display: grid;
        grid-template-rows: 1fr;
        gap: 2rem;

        .links {
          background-color: white;
          border: 1px solid var(--widget-border);
          border-radius: 0.8rem;
          padding: 2rem;
          gap: 1.5rem;

          h2 {
            font-size: 1.6rem;
            font-weight: 600;
            margin-bottom: 2rem;
          }

          a {
            text-decoration: none;
            display: flex;
            font-size: 1.6rem;
            color: var(--admin-text);
            padding: .5rem 0;

            svg {
              display: inline-flex;
              align-items: center;
              width: 2rem;
              height: 2rem;
              margin-right: 0.3rem;
              color: #282828;
            }
          }
        }

        .stats {
          background: var(--brand-primary);
          color: white;
          padding: 1.4rem;
          border-radius: 0.8rem;
          text-align: center;

          h2 {
            font-size: 4.5rem;
            margin: 2rem 0 0.8rem 0;
          }

          p {
            font-size: 1.5rem;
            font-weight: 300;
          }

          p.last {
            margin-bottom: 2rem;
          }
        }
      }
    }
  }
}

admin-jobs,
admin-candidates,
admin-employers,
admin-settings {

  table {
    width: 100%;
    padding: 1rem;
    font-weight: 300;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    /* FIXME: in order to have a border radius and border collapse we need 2 tables - an inner and an outer */
    border-radius: 0.8rem;
    /* for bottom border to show */
    border-collapse: collapse;
    border: 1px solid #e7e7e8;

    tr {
      font-size: 1.6rem;
      border-bottom: 1px solid #e7e7e8;
      line-height: 4rem;

      td {
        padding: 1.2rem 1rem;
        vertical-align: middle;
      }
    }

    thead tr {
      font-size: 1.5rem;

      a {
        color: var(--brand-primary);
      }
    }
  }
}

admin-jobs {

  .page-heading {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    margin-bottom: 2rem;
    background-color: transparent;

    h1 {
      margin-right: 1rem;
    }

    .paid-jobs-count {
      background-color: var(--green-bg);
      color: var(--green-fg);
      border-radius: 1.8rem;
      padding: 0.8rem 1.5rem;
      margin: 0 0.5rem;
      font-size: small;
    }

    .pending-jobs-count {
      background-color: var(--yellow-bg);
      color: var(--yellow-fg);
      border-radius: 1.8rem;
      padding: 0.8rem 1.5rem;
      margin: 0 0.5rem;
      font-size: small;
    }

    .admin-jobs-count {
      background-color: var(--purple-bg);
      color: var(--purple-fg);
      border-radius: 1.8rem;
      padding: 0.8rem 1.5rem;
      margin: 0 0.5rem;
      font-size: small;
    }

    .admin-draft-jobs-count {
      background-color: var(--gray-bg);
      color: var(--gray-fg);
      border-radius: 1.8rem;
      padding: 0.8rem 1.5rem;
      margin: 0 0.5rem;
      font-size: small;
    }
  }

  .add-job {
    display: flex;
    align-items: center;
    margin-top: -0.5rem;
    color: var(--brand-primary);
    font-size: 1.5rem;

    svg {
      width: 2rem;
      height: 2rem;
      color: var(--brand-primary);
      stroke: var(--brand-primary);
    }
  }

  .inline-bullet {
    width: 1rem;
    height: 3rem;
    margin-right: 1rem;
  }

  .admin {
    border: 2px solid var(--bullet-admin);
  }

  .published {
    border: 2px solid var(--bullet-published);
  }

  .pending {
    border: 2px solid var(--bullet-pending);
  }

  .draft {
    border: 2px solid var(--bullet-draft);
  }

  .expired {
    border: 2px solid var(--bullet-expired);
  }

  a {
    text-decoration: none;
    color: var(--brand-primary);
  }

  svg.job-filled {
    width: 3.2rem;
    height: 3.2rem;
    color: var(--brand-primary);
    stroke: var(--brand-primary);
    margin: auto auto;
  }

  td {

    div.actions {
      padding-left: 1.8rem;
      margin-top: -1rem;
      display: flex;
      align-items: center;

      svg.check, svg.delete {
        display: flex;
        width: 3.2rem;
        height: 3.2rem;
        color: #9ca3af;
        stroke: #9ca3af;
        margin: auto 0.8rem auto auto;
      }

      svg.edit {
        display: flex;
        align-self: flex-end;
        width: 2rem;
        height: 2rem;
        color: #9ca3af;
        stroke: #9ca3af;
        margin: auto 0.8rem auto auto;
      }
    }
  }
}

admin-candidates,
admin-employers {

  .page-heading {
    display: inline-flex;
    align-items: center;
    background-color: transparent;

    .candidate-count {
      background-color: var(--green-bg);
      color: var(--green-fg);
      border-radius: 1.8rem;
      padding: 0.8rem 1.5rem;
      margin-left: 1rem;
      font-size: small;
    }

    .pending-count {
      background-color: var(--yellow-bg);
      color: var(--yellow-fg);
      border-radius: 1.8rem;
      padding: 0.8rem 1.5rem;
      margin-left: 1rem;
      font-size: small;
    }

    .employers-count {
      background-color: var(--gray-bg);
      color: var(--gray-fg);
      border-radius: 1.8rem;
      padding: 0.8rem 1.5rem;
      margin: 0 1rem;
      font-size: small;
    }
  }

  tr {
    padding: 1.2rem 1rem;

    td.name_or_email {
      display: inline-flex;
      align-items: center;
      line-height: 2.2rem;

      img {
        width: 4rem;
        height: 4rem;
        border-radius: 10rem;
        margin-right: 0.5rem;
        display: inline-flex;
      }

      button {
        color: var(--brand-primary);
        font-weight: 300;
        display: inline-flex;
        align-items: center;
        border: none;
        background: none;
        margin-left: 0.5rem;
        cursor: pointer;
      }

      span {
        display: inline-flex;
      }
    }

    td.status {

      .status {
        font-size: small;
        font-style: italic;
        border-radius: 10rem;
        padding: 0.5rem 1.2rem;
        background-color: var(--yellow-bg);
        color: var(--yellow-fg);
      }

      .approved {
        background-color: var(--green-bg);
        color: var(--green-fg);
      }
    }

    td.company_logo {
      align-self: center;
      text-align: center;
    }
  }

  svg.created-at,
  svg.activity-hourglass {
    width: 20px;
    height: 20px;
    color: var(--admin-text);
    stroke: var(--admin-text);
    margin: auto 0.3rem -0.4rem auto;
    display: inline-flex;
    justify-items: center;
  }
}

/* --- Admin Dashboard - Settings --- */

admin-settings {

  h2 {
    margin: 1.8rem auto 1.5rem auto;
  }
}

#job-categories {
  details {
    font-size: 1.5rem;
    margin: 1.5rem 0;

    form {
      margin: 1.5rem 0;
      padding: 1.5rem;
      border: 1px solid var(--widget-border);
      background-color: white;
      border-radius: 0.6rem;

      [type="submit"] {
        margin-top: 1.2rem;
      }
    }
  }

  thead tr td {
    font-weight: 600;
    font-size: 1.8rem;
  }

  td.job-category-actions {
    display: flex;
    justify-content: flex-end;
    font-weight: 500;
    font-size: 1.6rem;

    svg.edit {
      width: 2rem;
      height: 2rem;
      color: #9ca3af;
      stroke: #9ca3af;
      margin: 0;
      margin-right: 1rem;
    }

    svg.delete {
      width: 3.4rem;
      height: 3.4rem;
      color: #9ca3af;
      stroke: #9ca3af;
    }
  }
}

/* --- Admin Dashboard - Analytics --- */

admin-analytics {
  width: 100%;
  margin: auto 2rem;

  .page-heading {
    background-color: transparent;
  }

  by-day, by-source {
    display: grid;
    grid-template-columns: minmax(100%, 1fr);
    grid-template-rows: 1fr;
    gap: 1.5rem;
    margin: 3.5rem 0;

    h2 {
      margin-bottom: 1.5rem;
    }
  }

  by-device-os-browser {
    display: grid;
    grid-template-columns: minmax(33%, 1fr) minmax(33%, 1fr) minmax(33%, 1fr);
    grid-template-rows: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;

    h2 {
      text-align: center;
      margin-bottom: 2rem;
    }
  }
}

/* === END ADMIN CONTENT === */

/* === BEGIN STATIC PAGES === */

.page-heading {
  background-color: var(--pale-grey);
  margin-top: 0;
  padding: 3.2rem 0;
  text-align: center;

  h1 {
    font-size: 3rem;
    line-height: 3.6rem;
    font-weight: 600;
  }
}

.cols-1 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  width: 100%;
  max-width: 1160px;
  margin: 2.4rem auto;
  padding: 2.4rem 3.2rem 3.2rem;
  gap: 3.2rem;
}

.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 1160px;
  margin: 2.4rem auto;
  padding: 2.4rem 3.2rem 3.2rem;
  gap: 3.2rem;
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 1160px;
  margin: 2.4rem auto;
  padding: 2.4rem 3.2rem 3.2rem;
  gap: 3.2rem;
}

.cols-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 1160px;
  margin: 2.4rem auto;
  padding: 2.4rem 3.2rem 3.2rem;
  gap: 3.2rem;
}

.cols-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: 1160px;
  margin: 2.4rem auto;
  padding: 2.4rem 3.2rem 3.2rem;
  gap: 3.2rem;
}

@media (max-width: 768px) {
  .cols-2, .cols-3, .cols-4, .cols-5 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.6rem;
  }
}

/* --- Home Page --- */

.home-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 80vh;
  max-height: 80vh;
  padding: 2rem;

  background: url(/assets/cover-photo-373f401847d70e8952b3bc0ff7e18281ac6eff9c50ff1a43360d3d72f683ea4a.jpg);
  background-size: cover;
  background-position: 100% 0;
  background-attachment: scroll;
  background-repeat: no-repeat;


  div {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));

    h1 {
      font-size: 4.8rem;
      line-height: 1;
      font-weight: 700;
      color: white;
    }

    h2 {
      font-size: 2.4rem;
      line-height: 3.2rem;
      font-weight: 700;
      color: white;
    }

    a {
      color: white;
      background-color: var(--brand-primary);
      margin-top: 2.4rem;
      margin-bottom: 2.4rem;
      padding: 1.6rem 3.2rem;
      width: fit-content;
      font-size: 1.8rem;
      text-decoration: none;
      border-radius: 0.4rem;
    }

    a:hover {
      background-color: black;
      color: #fde047;
    }
  }
}

.job-seekers {
  width: 100%;
  background-color: var(--brand-secondary);
  padding: 2.4rem 0;

  div {
    margin: 2.4rem auto;
    color: white;
    padding: 2rem;

    & h2 {
      font-size: 2.4rem;
      line-height: 3.2rem;
      font-weight: 700;
      margin-bottom: 2.4rem;
    }

    & h3 {
      font-size: 1.6rem;
      font-weight: 600;
    }

    & p {
      font-style: italic;
      font-weight: 300;
      font-size: 1.6rem;
    }
  }
}

.homepage-jobs {

  h2 {
    text-align: center;
    font-weight: 300;
    font-size: 2.4rem;
    line-height: 3.2rem;
    margin-top: 4rem;
  }

  hr {
    width: 12.8rem;
    height: 0.4rem;
    margin: 1.6rem auto 0.8rem;
    background-color: var(--brand-primary);
    border: 0;
    border-radius: 0.4rem;
  }

  a.more-jobs {
    display: flex;
    align-content: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 4rem;
    text-decoration: none;
    font-size: 1.6rem;
  }
}

.home-cta {
  width: 100%;
  background-color: var(--brand-secondary);
  margin: -0.4rem;
  padding: 2.4rem 2rem;
  color: white;

  .cta-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;

    h2 {
      font-size: 2rem;
      line-height: 2.8rem;
      font-weight: 700;
    }

    .cta-buttons {
      display: inline-flex;
      justify-content: center;
      gap: 2rem;

      a {
        font-size: 1.6rem;
        text-transform: uppercase;
        border: 1px solid white;
        text-decoration: none;
      }
    }
  }
}

.home-benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  margin: 0;
  padding: 2rem;
  background-size: cover;
  background-attachment: scroll;
  background-position: center center;
  background: url(/assets/block-background-fa6025e66e1360631e553e229e67db4fb8bea57887534fe5be13cb29eafbc470.png);

  .benefits-cols {

    div {
      background-color: white;
      margin: 0 auto;
      padding: 2.5rem;
      border-radius: 0.8rem;

      h2 {
        margin-top: 2.4rem;
        font-size: 2.4rem;
        line-height: 3.2rem;
        font-weight: 700;
        text-align: center;
      }

      ul {
        list-style: none;
        margin: 0;
        padding: 0;

        li {
          font-size: 2rem;
          line-height: 3.2rem;
          margin-bottom: 2.4rem;
          margin-top: 2.4rem;
          padding-left: .8rem;
          padding-right: .8rem;

          svg.chevron-right {
            display: inline;
            width: 2.4rem;
            min-width: 2.4rem;
            height: 2.4rem;
            min-height: 2.4rem;
            color: var(--brand-primary);
            stroke: currentColor;
            stroke-width: 4;
            margin-bottom: -0.5rem;
          }
        }
      }
    }
  }
}

.partners {
  text-align: center;
  margin: 2.4rem;

  h2 {
    text-align: center;
    font-weight: 300;
    font-size: 2.4rem;
    line-height: 3.2rem;
    margin-top: 4rem;
  }

  hr {
    width: 12.8rem;
    height: 0.4rem;
    margin: 1.6rem auto 0.8rem;
    background-color: var(--brand-primary);
    border: 0;
    border-radius: 0.4rem;
  }

  .client-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    div {
      padding-top: 1.6rem;
      padding-bottom: 1.6rem;

      img {
        display: inline;
        max-height: 80px;;
      }
    }
  }

}

.remember {
  width: 100%;
  background-color: var(--brand-primary);
  color: white;

  & div {
    margin-bottom: -4rem;
    padding: 0 2rem;

    & h2 {
      padding-top: 2.4rem;
      font-weight: 500;
      font-size: 2rem;
      line-height: 2.8rem;
      color: white;
    }

    & p {
      padding-bottom: 2.4rem;
      font-size: 1.8rem;
      line-height: 2.8rem;
      color: white;
    }
  }
}

@media (max-width: 512px) {
  .home-hero {
    background-position: 60% 60%;
    max-height: 48rem;
  }
}

@media (max-width: 768px) {
  .home-cta {
    .cta-cols {
      grid-template-columns: repeat(1, minmax(0, 1fr));

      .cta-buttons {
        margin-top: 2.4rem;
      }
    }
  }
  .benefits-cols.cols-2 {
    padding: 0;
    gap: 1.5rem;
    div { margin: 0; }
  }
  .partners {
    .client-cols {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }
  }
}

@media (min-width: 769px) {
  .home-hero {
    background-position: center top;
  }
}

/* --- About Page --- */

.cols-2.about {
  div {
    margin-top: 3.2rem;
    margin-bottom: 3.2rem;

    h2 {
      font-size: 2.4rem;
      line-height: 3.2rem;
      font-weight: 700;
      text-align: center;
    }

    h3 {
      font-size: 2rem;
      line-height: 2.8rem;
      font-weight: 400;
      margin-top: 1.6rem;
      margin-bottom: 1.6rem;
    }

    p {
      color: #52525b;
      font-size: 1.6rem;
      line-height: 2.4rem;
    }
  }
}

.about-cta {
  width: 100%;
  background-color: var(--pale-grey);
  padding: 3.2rem 2rem;

  div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;

    h2 {
      font-size: 2.4rem;
      line-height: 3.2rem;
      font-weight: 700;
      text-align: center;
    }

    .actions {
      display: inline-flex;
      flex-wrap: wrap;

      a {
        font-size: 1.6rem;
        line-height: 2.4rem;
        font-weight: 500;
        text-decoration: none;
        text-transform: uppercase;
        padding: 1.2rem 1.6rem;
      }
    }
  }
}

@media (max-width: 640px) {
  .cols-2.about {
    div {
      margin-top: 1.6rem;
      margin-bottom: 1.6rem;
    }
  }
}

@media (max-width: 1024px) {
  .about-cta {
    div {
      .actions {
        margin: 2.4rem 0 1.2rem;
      }
    }
  }
}

/* --- Contact Page --- */

.contact-header {
  text-align: center;
  font-weight: 700;
  font-size: 3rem;
  line-height: 3.6rem;
  margin: 3rem auto 0;

  hr {
    width: 12.8rem;
    height: 0.4rem;
    margin: 1.6rem auto;
    background-color: var(--brand-primary);
    border: 0;
  }
}

.contact-form {
  width: 100%;
  max-width: 90rem;
  margin: 2.4rem auto;
  padding: 2.4rem 3.2rem;

  div {
    margin-bottom: 2.4rem;
  }

  input[type="submit"] {
    padding: 1.5rem;
    background-color: var(--brand-primary);
    color: white;
    border: none;
    font-size: medium;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0.4rem;
    font-weight: 500;
  }
}

/* --- Terms & Conditions Page --- */

.tos-wrapper {
  margin: 3.2rem auto;
  h2 {
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 3.2rem;
    padding: 1.6rem auto;
  }
  p { padding-bottom: 1.6rem; }
  ol {
    list-style-type:lower-latin;
    li { margin-left: 2.4rem; padding: 0.8rem; }
  }
}

/* --- Maintenance Page --- */

.maintenance {
  margin: 4rem auto;
}

/* === END STATIC PAGES === */

/* === BEGIN SITE CONTENT === */

/* --- Bookmarks --- */

.bookmark-this {
  display: inline-block;
  -webkit-mask: url(/assets/icons/bookmark-91ee8a2ea6bff2e8e5ea43eedd4b57ee56da567882827bf6207f8a198b548200.svg) no-repeat 100% 100%;
  mask: url(/assets/icons/bookmark-91ee8a2ea6bff2e8e5ea43eedd4b57ee56da567882827bf6207f8a198b548200.svg) no-repeat 100% 100%;
  -webkit-mask-size: cover;
  mask-size: cover;
  background-color: var(--brand-primary);
  width: 20px;
  height: 20px;
}

.bookmarks {
  margin: 3.2rem auto;
  border-top: 1px solid #e5e7eb;

  .empty {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.6rem 0;
    color: #6b7280;
  }

  .bookmark {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    place-items: start;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    font-size: 1.4rem;
    line-height: 2.0rem;
    border-bottom: 1px solid #e5e7eb;

    .actions {
      display: inline-flex;
      align-items: center;
      margin-top: -0.4rem;
      font-size: 1.4rem;
      line-height: 2rem;

      svg {
        display: inline;
        width: 20px;
        height: 20px;
        color: rgba(107, 114, 128, 0.5);
        fill: currentColor;
      }

      svg.delete {
        width: 28px;
        height: 28px;
        margin-bottom: -0.6rem;
      }
    }

    .bookmarkable {
      grid-column: span 2 / span 2;

      a {
        text-decoration: none;
        color: var(--brand-primary);
      }
    }

    .note {
      grid-column: span 2 / span 2;

      span {
        color: rgba(107, 114, 128, 0.5);
      }
    }
  }
}

.edit-bookmark {
  form {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    width: 75%;
    margin: 3.2rem auto;

    .note {
      padding-bottom: 1.6rem;
    }

    .btn {
      margin-top: 1.6rem;
      font-size: 1.4rem;
      text-decoration: none;
      border: 1px solid var(--brand-primary);
    }

    .btn-outline {
      border: 1px solid var(--brand-primary);
      margin-left: 1.2rem;
    }

    .errors {
      width: fit-content;
      background-color: #fef2f2;
      color: #b91c1c;
      border: 1px solid #fca5a5;
      border-radius: 0.6rem;
      margin-bottom: 2.4rem;

      ul {
        list-style-type: disc;
        padding-left: 2.4rem;
      }
    }
  }
}

@media (max-width: 768px) {
  .bookmarks {
    .bookmark {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      .actions {
        svg.edit { width: 30px; height: 30px; }
        svg.delete { width: 40px; height: 40px; }
      }
      .bookmarkable {
        font-size: 2.4rem;
        line-height: 3.2rem;
        font-weight: 500;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
      }
    }
  }
  .edit-bookmark {
    form {
      width: 100%;

      .errors {
        width: 100%;
      }
    }
  }
}

/* --- Job Alerts --- */

.add-alert {
  form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    padding: 4rem 0 1.5rem;
    select { margin: 1.2rem auto; max-width: 100%; }
    input[type="submit"] { margin: 2rem auto 0.8rem 2rem; padding: 1rem 0.8rem; }
  }
}

.job-alerts {
  margin: 3.2rem auto;
  border-top: 1px solid #e5e7eb;

  .empty {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.6rem 0;
    color: #6b7280;
  }

  .job-alert {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    place-items: start;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    font-size: 1.4rem;
    line-height: 2.0rem;
    border-bottom: 1px solid #e5e7eb;

    .start { justify-self: start; display: inline-flex; align-items: center; }
    .center { justify-self: center; }
    .end { justify-self: end; }

    svg {
      display: inline;
      width: 20px;
      height: 20px;
      color: rgba(107, 114, 128, 0.5);
      fill: currentColor;
    }

    svg.delete {
      width: 28px;
      height: 28px;
      margin-bottom: -0.6rem;
    }

    .btn { padding: 1rem 0.8rem; text-decoration: none; }
  }
}

@media (max-width: 992px) {
  .add-alert {
    max-width: 90%;
    margin: auto;

    form {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      /*input[type="submit"] { margin: 2rem auto 0.8rem 2rem; }*/

      input[type="submit"] {
        margin: 1rem auto;
      }
    }
  }
}

@media (max-width: 768px) {
  .job-alerts {
    max-width: 90%;
    margin: auto;

    .job-alert {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      line-height: 4rem;
      align-items: center;

      .start { justify-self: start; margin-top: -1.5rem; }
      .center { justify-self: start; }
      .end { justify-self: start; }

      svg.delete {
        width: 30px;
        height: 30px;
        margin: 1.4rem 0 0 -1.5rem;
      }
    }
  }
}

/* --- Candidates --- */

.candidate {
  display: flex;
  width: 75%;
  max-width: 1160px;
  margin: 2.4rem auto;
  gap: 3rem;

  .info, .resume {
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    background-color: #f9fafb;
    padding: 2.4rem;
  }

  .info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    width: 100%;
    max-width: 400px;
    color: #6b7280;

    .photo {
      img {
        aspect-ratio: 1 / 1;
        width: 20rem;
        object-fit: cover;
        border-radius: 0.6rem;
        margin-bottom: 2.4rem;
      }
      .name {
        font-size: 2.4rem;
        line-height: 4rem;
        font-weight: 600;
        text-align: center;
        color: var(--brand-primary);
        color: ;

        form {
          display: inline-flex;
        }
      }

      .title {
        text-align: center;
        margin-bottom: 3.2rem;
      }
    }

    .details {
      width: fit-content;
      padding-left: 2rem;
      padding-right: 2rem;
      justify-items: start;

      .pitch {
        /*TODO: unhide once we have a candidate pitch field*/
        display: none;
        text-align: center;
        margin-bottom: 2.4rem;
        font-size: 1.6rem;
        line-height: 2.2rem;
      }

      .skills {
        /*TODO: unhide when skills code is better developed*/
        display: none;
        /*display: grid;*/
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin-top: 2.4rem;
        gap: 1rem;

        div {
          width: fit-content;
          flex-wrap: wrap;
          gap: 1rem;

          h2 {
            display: block;
            margin-bottom: -1rem;
            color: var(--text-color);
          }
          span {
            display: flex;
            flex-wrap: wrap;
            color: #7c7c7c;
            background-color: var(--pale-grey);
            border: 1px solid #7c7c7c;
            border-radius: 1.2rem;
            min-width: fit-content;
            padding: 0.6rem 0.8rem;
            font-size: x-small;
            text-transform: uppercase;
          }
        }
      }

      div {
        display: flex;
        align-items: flex-start;
        font-size: 1.6rem;
        padding-bottom: 1rem;


        svg.email,
        svg.location {
          width: 20px;
          height: 20px;
          color: rgba(107, 114, 128, 0.5);
          stroke: currentColor;
          stroke-width: 2;
          margin-right: 0.6rem;
        }
      }
    }

    .download { display: none; }
  }

  .resume {
    width: 100%;

    .download {
      display: flex;
      justify-content: end;
      width: 100%;
      margin-top: 2.4rem;

      a {
        text-decoration: none;
        align-self: flex-end;
        margin: -0.6rem 0.2rem;
      }
    }

    .file {
      iframe {
        aspect-ratio: 2 / 2.813;
        width: 100%;
      }
    }
  }
}

@media (max-width: 1159px) {
  .candidate {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2.4rem;
    min-width: 100%;
    padding: 0.8rem;

    .info {
      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      justify-items: center;
      width: fit-content;
      min-width: 75%;
      margin: 2rem auto;
      padding: 2.4rem 0.8rem;

      .download {
        display: inline-flex;
        margin-top: 2.4rem;

        a { text-decoration: none; }
      }
    }

    .resume {
      display: none;
    }
  }
}

@media (max-width: 768px) {
  .candidate {
    .info {
      margin: 0 auto;
      min-width: 95%;
    }
  }
}

/* --- Dashboard --- */

.employer-dashboard {
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
  color: #6b7280;

  svg {
    display: inline;
    width: 20px;
    height: 20px;
    color: rgba(107, 114, 128, 0.5);
  }

  .job-add {
    display: flex;
    align-items: center;
    margin-top: 1.6rem;
    color: var(--brand-primary);

    a {
      color: var(--brand-primary);
      text-decoration: none;
    }

    svg.add {
      width: 16px;
      height: 16px;
      color: var(--brand-primary);
      stroke-width: 2.5;
    }
  }

  .empty {
    margin: 3.2rem auto;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
  }

  .jobs {
    margin: 3.2rem auto;
    border-top: 1px solid #e5e7eb;

    .job {
      display: grid;
      grid-template-rows: repeat(2, minmax(0, 1fr));
      place-items: start;
      padding-top: 1.6rem;
      padding-bottom: 1.6rem;
      line-height: 2.0rem;
      border-bottom: 1px solid #e5e7eb;

      svg.fill { fill: currentColor; }
      svg.outline { stroke: currentColor; }

      .title {
        display: inline-flex;
        align-items: center;
        padding-top: 0.8rem;
        padding-bottom: 1rem;

        svg.filled { margin-right: 0.4rem; }

        a {
          color: #6b7280;
          text-decoration: none;
        }
      }

      .details {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(max-content, 1fr));
        column-gap: 2rem;
        padding-top: 0.8rem;

        svg { margin-right: 0.8rem; }
        span {
          font-style: italic;
          margin-left: 0.8rem;
          display: flex;
        }
        span.pending { color: #fbbf24 }
        span.rejected { color: #ef4444; }

        .dates span {
          display: inline-flex;
          margin-left: 0;
          margin-right: 2rem;
          svg.created { color: var(--bullet-published); }
          svg.expires { color: var(--bullet-expired); }
          svg.draft { color: rgba(107, 114, 128, 0.5); }
        }
        form.button_to { display: inline; }

        .applicants {
          display: flex;
          justify-content: flex-end;
          align-items: center;
        }

        .actions {
          place-self: end;
          a {
            text-decoration: none;
            svg.edit { width: 22px; height: 24px; }
            svg.delete, svg.check { width: 24px; height: 24px; }
          }
        }
      }
    }
  }
}

.candidate-dashboard {
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
  color: #6b7280;

  svg {
    display: inline;
    width: 20px;
    height: 20px;
    color: rgba(107, 114, 128, 0.5);
  }

  .resume-add {
    display: flex;
    align-items: center;
    margin-top: 1.6rem;
    color: var(--brand-primary);

    a {
      color: var(--brand-primary);
      text-decoration: none;
    }

    svg.add {
      width: 16px;
      height: 16px;
      color: var(--brand-primary);
      stroke-width: 2.5;
    }
  }

  .resumes {
    margin: 3.2rem auto;
    border-top: 1px solid #e5e7eb;

    .resume {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      place-items: start;
      padding-top: 1.6rem;
      padding-bottom: 1.6rem;
      font-size: 1.5rem;
      line-height: 2.0rem;
      border-bottom: 1px solid #e5e7eb;


      svg.fill { fill: currentColor; }
      svg.outline { stroke: currentColor; }

      .file, .title, .location, .created-at, .actions {
        display: inline-flex;
        align-items: center;
        padding: 0.8rem;

        svg { margin-right: 0.8rem; }
        a { color: #6b7280; text-decoration: none; }
        span {
          font-style: italic;
          margin-left: 0.8rem;
        }
        span.pending { color: #fbbf24 }
        span.rejected { color: #ef4444; }
      }

      .actions {
        justify-self: flex-end;
        button {
          padding: 0;
          border: none;
          background-color: transparent;
          svg.edit { width: 24px; height: 20px; }
          svg.delete { width: 28px; height: 28px; }
        }
      }
    }
  }
}

@media (max-width: 1159px) {
  .employer-dashboard {
    grid-template-rows: repeat(1, minmax(0, 1fr));
    .jobs {
      display: grid;
      .job {
        display: grid;
        grid-template-rows: auto;
        .title {
          display: flex;
          font-size: larger;
          a { color: var(--brand-primary); }
        }
        .details {
          grid-template-columns: repeat(1, minmax(max-content, 1fr));
          justify-items: start;
          gap: 2rem;

          .applicants { margin-left: -1rem; }

          .actions {
            place-self: start;
            a {
              margin-right: 1.4rem;
              svg.edit { width: 22px; height: 24px; }
              svg.delete, svg.check { width: 24px; height: 24px; }
            }
          }
        }
      }
    }
  }
  .candidate-dashboard {
    .resumes {
      .resume {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        .actions { justify-self: flex-start; }
      }
    }
  }
}

/* --- Job Postings --- */

.list-price {
  .callout {
    background-color: var(--brand-primary);
    padding: 2.8rem;
    margin: 2.4rem 0;
    h3 { font-size: 1.6rem; font-weight: 400; padding-bottom: 0.5rem; padding-top: 0.5rem; }
    .line-item { text-transform: uppercase; }
    .cost { color: white; }
  }
}

.job-listing-form {
  padding: 4rem 0 2.4rem;
  trix-toolbar .trix-button-group--file-tools { display: none; }
  div[class^="cols-"] { padding: 0; }
  .remote-hybrid {
    display: inline-flex;
    justify-content: flex-end;
    margin-top: 1rem;
    width: 100%;
    input[type="checkbox"] { margin-right: 0.8rem; }
    label { margin-right: 2rem; }
  }
  .renumeration { margin-top: 4.8rem; }
  .salary-ranges {
    .doe {
      display: inline-flex;
      align-items: center;
      justify-content: start;
      width: 100%;
      input[type="checkbox"] {margin-top: 2rem;  margin-right: 0.8rem; }
      label { margin-top: 2.8rem; margin-right: 2rem; }
    }
  }
  .logo {
    display: inline-flex;
    img { width: 100%; max-width: 10rem; }
    input[id='job_posting_company_logo'] {
      margin: 2.4rem auto 0;
      padding: 1rem;
      background-color: var(--pale-grey);
      border: 1px solid var(--widget-border);
      border-radius: 0.6rem;
      width: 100%;
    }
  }
  .admin-publish {
    justify-content: start;
    width: fit-content;
  }
  .tos {
    margin: 2.4rem 0;
    a { color: var(--brand-primary); margin-left: 0.8rem; }
  }
  .actions {
    margin-top: 2.4rem;
    a { margin-left: 2rem; }
  }
}

.job-postings {
  margin: 0 2rem 2.4rem 2rem;
  border-bottom: 1px solid #e5e7eb;

  .job-rows {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .featured-job {
      border-radius: 0.5rem;
      background-color: var(--featured-job-background);
  }

  .job-col-1 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.4rem;
    margin-bottom: -1.2rem;

    .job-title {
      h4 a {
        display: inline-flex;
        margin: 0 0.8rem 0;
        font-weight: 700;
        font-size: 2rem;
        line-height: 2.8rem;
        color: #18181b;
        text-decoration: none;
      }

      a svg.edit {
        display: inline-flex;
        width: 20px;
        height: 20px;
        color: var(--brand-primary);
        fill: currentColor;
      }
    }

    .company-logo {
      width: 100%;
      display: flex;
      justify-content: flex-end;

      img {
        max-height: 50px;
        max-width: 150px;
        object-fit: cover;
      }
    }
  }

  .job-col-2 {
    display: flex;
    justify-content: space-between;
    padding: 1.6rem 0;
    width: 100%;

    div {
      display: flex;
      align-items: center;
      width: 100%;
      font-weight: 400;
      font-size: 1.6rem;
      line-height: 2.4rem;
      margin: auto;

      svg.job-icon {
        display: inline-flex;
        width: 20px;
        height: 20px;
        margin-right: 0.4rem;
        color: var(--brand-primary);
        fill: currentColor;
      }
    }

    .posted-at {
      justify-content: flex-end;
    }
  }
}

div[id^="job-posting-"] {
  .job-heading {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    .title {
      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      justify-items: start;
      .category { color: var(--brand-primary); }
      h1 {
        font-weight: 700;
        margin: 1.2rem auto;
        letter-spacing: 0.05em;
      }
      .type {
        background-color: #84cc16;
        color: white;
        border-radius: 0.4rem;
        text-transform: uppercase;
        font-size: 1.2rem;
        padding: 0.4rem 0.8rem;
        width: fit-content;
      }
    }
    .bookmark {
      display: flex;
      justify-self: end;
    }
  }
  .job-details {
    margin: 2.4rem auto;
    a.edit {
      color: var(--brand-primary);
      text-decoration: none;
      svg {
        display: inline-flex;
        width: 1.6rem;
        height: 1.6rem;
     }
    }
    .job-summary {
      margin: 2.4rem auto;
      white-space: pre-line;
      div { margin-bottom: 2.4rem; }
      ul, ol { margin: -2.4rem auto auto 2.4rem }
      blockquote {
        font-style: italic;
        font-weight: 500;
        margin-bottom: 1.2em;
        margin-top: 1.2em;
        padding-left: 1.2em;
        border-left: 4px solid var(--gray-bg);
      }
    }
  }
  .actions { margin: 4rem 0; }
  .candidates {
    h3 {
      margin-bottom: -1.6rem;
      font-size: 2.4rem;
      line-height: 3.2rem;
      font-weight: 600;
    }
    .job-applicants {
      margin-top: 2.4rem;
      border-top: 1px solid #e5e7eb;
      border-bottom: 1px solid #e5e7eb;

      .row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: space-evenly;
        align-items: center;
        border-bottom: 1px solid #e5e7eb;

        img {
          width: 50px;
          height: 50px;
          object-fit: cover;
          border-radius: 0.6rem;
          margin: 1rem 1rem 1rem 0;
          display: inline-flex;
        }

        .name {
          display: inline-flex;
          align-items: center;
          font-size: 1.8rem;
          font-weight: 600;
          a { text-decoration: none; }
        }

        .resume {
          display: inline-flex;
          width: 100%;
          justify-content: end;
          a {
            text-decoration: underline;
            color: var(--text-color);
          }
          svg.icon {
            display: inline;
            width: 20px;
            height: 20px;
            fill: currentColor;
          }
        }

      }
      .row:last-child { border-bottom: none; }
    }
  }
}

.job-index {
  .add-job {
    display: inline-flex;
    align-items: center;
    margin: 1rem;
    a { color: var(--brand-primary); text-decoration: none; }

    svg {
      width: 2rem;
      height: 2rem;
      color: var(--brand-primary);
      stroke-width: 2;
      margin-right: 0.8rem;
    }
  }
}

.job-search-form {
  margin-top: 3.2rem;
  .keyword-location-category {
    margin-bottom: -0.2rem;
    background-color: #f1f5f9;
    border-top-left-radius: 0.6rem;
    border-top-right-radius: 0.6rem;
    padding: 2rem;
  }

  .job-types {
    margin-top: -0.2rem;
    align-items: center;
    background-color: #e2e8f0;
    border-bottom-right-radius: 0.6rem;
    border-bottom-left-radius: 0.6rem;
    padding: 2rem;

    .filters {
      display: inline-flex;
      flex-wrap: wrap;
      justify-content: center;
      input[type="checkbox"] { margin-right: 0.8rem; }
      label { margin-right: 2rem; }
      .filter { display: inline-flex; }
    }
    .actions {
      display: inline-flex;
      justify-content: center;
      a { margin-right: 2rem; text-decoration: none; }
    }
  }
}

@media (max-width: 1024px) {
  div[id^="job-posting-"] {
    .job-heading {
      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      .bookmark { justify-self: start; margin-top: 2rem; }
    }
    .candidates {
      .job-applicants {
        .row {
          display: grid;
          grid-template-columns: repeat(1, minmax(0, 1fr));
          .resume { justify-content: start; margin: 1.6rem auto; }
        }
      }
    }
  }
  .job-listing-form {
    .salary-ranges {
      margin-top: 2.4rem;
      align-items: end;
    }
  }
}

@media (max-width: 990px) and (min-width: 769px) {
  div[id^="job-posting-"] {
    .job-heading {
      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      .bookmark { justify-self: start; margin-top: 2rem; }
    }
    .candidates {
      .job-applicants {
        .row {
          display: grid;
          grid-template-columns: repeat(1, minmax(0, 1fr));
          .resume { justify-content: start; margin: 1.6rem auto; }
        }
      }
    }
    .salary-ranges {
      margin-top: 2.4rem;
      align-items: end;
    }
  }
}

@media (max-width: 768px) {
  .job-postings {
    .job-col-1 {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 0.5rem;
      .company-logo {
        margin-top: -2rem;
        justify-content: flex-start;
      }
    }
    .job-col-2 {
      flex-wrap: wrap;
      .posted-at {
        justify-content: flex-start;
      }
    }
  }
  .job-listing-form {
    max-width: 90vw;
    .remote-hybrid { justify-content: flex-start; }
    .renumeration { margin-top: 2.4rem; }
    .salary-ranges { margin-top: 2.4rem; }
    .admin-publish { width: 100%; }
  }
}

@media (min-width: 1024px) {
  .job-postings {
    .job-col-1 {
      justify-content: space-between;
      .company {
        width: fit-content;
      }
    }
  }
  .job-listing-form {
    .type-category { margin-top: -2rem; }
  }
}

/* --- Orders --- */
.orders {
  margin: 3.2rem auto;
  border-top: 1px solid #e5e7eb;

  .empty {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.6rem 0;
    color: #6b7280;
  }

  .order {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    font-size: 1.4rem;
    line-height: 2.0rem;
    border-bottom: 1px solid #e5e7eb;

    h2 { font-size: 1.6rem; }

    .view {
      display: flex;
      justify-content: flex-end;
      width: 100%;
      a { text-decoration: none; }

      span.disabled {
        font-weight: 500;
        padding: 0.4rem 0.8rem;
        border-radius: 0.4rem;
        font-size: 1.4rem;
        line-height: 2rem;
        text-align: no-underline;
        background-color: #e5e7eb;
        color: white;
        border: none;
      }
    }
  }
}

@media (max-width: 768px) {
  .orders {
    .order {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }
  }
}

/* --- Profile --- */

.profile-wrapper {
  margin: 3.2rem 0;
  width: 100%;
  max-width: 98vw;

  svg {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    color: var(--brand-primary);
  }

  svg.filled { fill: currentColor; }
  svg.outline { stroke: currentColor; }

  h3 { font-weight: 300; font-size: 1.8rem; font-family: var(--body-font); }
  p { margin-bottom: 2.4rem; }
  img { width: 100%; }
  input[id^='profile_'] { margin-bottom: 2.4rem; }
  input[type='submit'] { margin-top: 2.4rem; }
  .btn { border: none; }
  .optional { font-size: smaller; font-style: italic; }
  label { display: inline-flex; }
  span.optional { margin-top: -1.8rem; display: inline-flex; }

  input[id='profile_photo'] {
    margin: 2.4rem auto 0;
    padding: 1rem;
    background-color: var(--pale-grey);
    border: 1px solid var(--widget-border);
    border-radius: 0.6rem;
    width: 100%;
  }

  .with-icon {
    display: flex;
    svg { margin-right: 0.4rem; }
  }

  .actions {
    padding-top: 3.2rem;
    a { text-decoration: none; }
  }

  .skills {
    span {
      display: inline-flex;
      flex-wrap: wrap;
      margin: 1rem 1rem 0 0;
      color: #7c7c7c;
      background-color: var(--pale-grey);
      border: 1px solid #7c7c7c;
      border-radius: 1.2rem;
      min-width: fit-content;
      padding: 0.6rem 0.8rem;
      font-size: x-small;
      text-transform: uppercase;
    }
  }
}

/* --- Purchases --- */

.purchase {
  padding: 3.2rem;
  text-align: center;
  .details {
    background-color: var(--brand-primary);
    padding: 2.4rem;
    h3 { color: white; padding: 0.4rem 0; }
    h3.uppercase { color: var(--text-color); text-transform: uppercase; }
  }
}

/* --- Resumes --- */

.resume-form {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  width: 75%;
  margin: 2.4rem auto;
  padding: 2.4rem 0 3.2rem 0;
  .why {
    h2 { padding-bottom: 1.6rem; }
    p { padding-bottom: 2.4rem; }
    span { font-weight: 600; color: var(--brand-primary); }
  }
  input { margin-bottom: 2.4rem; }
  input[id='resume_file'] {
    padding: 1rem;
    background-color: var(--pale-grey);
    border: 1px solid var(--widget-border);
    border-radius: 0.6rem;
    max-width: 50%;
  }
  .terms {
    display: flex;
    align-items: center;
    input[type="checkbox"] { }
    a {
      margin-left: 0.8rem;
      text-decoration: underline;
      color: var(--brand-primary);
    }
    label { margin-top: -1.5rem;}
  }
  .actions {
    a { margin-left: 1.5rem;}
  }
}

div[id^='status_'] {
  align-self: flex-start;
  justify-self: start;
  padding: 0.8rem 0;
  .approved {
    background-color: #bbf7d0;
    width: 100%;
    text-align: center;
    color: #16a34a;
    margin: 0.8rem 0;
  }
  .rejected {
    background-color: #fecaca;
    width: 100%;
    text-align: center;
    color: #dc2626;
    margin: 0.8rem 0;
  }
  .pending {
    background-color: #fef08a;
    width: 100%;
    text-align: center;
    color: #ca8a04;
    margin: 0.8rem 0;
  }
  .actions {
    display: flex;
    button { margin: 0.8rem; }
  }
}

@media (max-width: 1024px) {
  .resume-form {
    input[id='resume_file'] { max-width: 100%; }
  }
}

@media (max-width: 768px) {
  .resume-form {
    width: 100%;
    input[id='resume_file'] { max-width: 100%; }
  }
  div[id^='status_'] {
    justify-self: end;
  }
}

/* === END SITE CONTENT === */
