/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

:root {
  --color-primary: #B500FF;
  --color-primary-dark: #9200CC;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #f1f1f1;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   WordPress Core
   ========================================================================== */

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
  background-color: #f1f1f1;
  font-family: 'Open Sans', helvetica, sans-serif;
  font-size: .875rem;
  color: #222;
}

.row {
  max-width: 100%;
}

.textalignright {
  text-align: right;
}

.textaligncenter {
  text-align: center;
}

a {
  color: #222;
  transition: all .2s ease-out;
}

a:hover {
  text-decoration: underline;
  color: #444;
  transition: all .2s ease-out;
}

a:focus {
  text-decoration: none;
  color: #222;
}

a:hover i {}

a.button:hover,
a.button:focus {
  text-decoration: none;
}

h1 {
  font-size: 1.625rem;
  font-weight: 300;
}

input[type="text"].half {
  width: 60%;
}

button,
.button {
  background-color: var(--color-primary);
  border-color: var(--color-primary-dark);
}

button:hover,
.button:hover,
button:focus,
.button:focus {
  background-color: var(--color-primary-dark);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /*min-height:95px;*/
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  z-index: 10;
  padding-bottom: 10px;
}

header .logo a {
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  text-indent: -900em;
}

header nav {
  margin: 1rem 0 0;
}

header nav ul {
  list-style-type: none;
}

header nav ul li {
  position: relative;
  display: inline-block;
  font-size: .75rem;
  line-height: 1.1;
  padding-bottom: 4px;
}

header nav ul li h3 {
  font-size: 1.125rem;
  margin: 0;
}

header nav ul li a:hover {
  text-decoration: none;
}

header nav ul li.active {
  color: var(--color-primary);
}

header nav ul li.active i.fa {
  color: var(--color-primary);
}

header nav ul li.item-profile {
  float: right;
  margin-right: 0;
}

header nav ul li.item-profile a.active {
  color: var(--color-primary);
  font-weight: bold;
}

.content-container {
  margin: 0 0 38px;
  padding-bottom: 3rem;
}

.categories-header {
  position: relative;
  padding-bottom: 15px;
}

.category-hint {
  position: relative;
  font-size: 0.75rem;
  color: #aaa;
  line-height: 1.1;
}




.page-content {
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

.content-block {
  margin-bottom: 1rem;
}

.products {
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 2rem;
  margin-bottom: 2rem !important;
}

.comments textarea {
  height: 100px;
}

.button-bar {
  border-top: 1px solid #f1f1f1;
  padding-top: 2rem;
  margin-top: 1rem;
  text-align: center;
}

.empty-block {
  min-height: 100px;
  text-align: center;
  color: #aaa;
  font-size: 1.625rem;
  font-weight: 300;
  padding-top: 2rem;
}

table.default-table {
  width: 100%;
}

table.default-table thead th {
  font-size: .75rem;
  line-height: 1;
  color: #666;
}

table.default-table thead th a {
  color: #666;
}

table.default-table thead th a.sort {
  position: relative;
  display: inline-block;
  padding-right: 12px;
  color: #111;
}

table.default-table thead th a.sort::after {
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  content: "";
  margin-left: 5px;
  margin-top: -5px;
  border: none;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  width: 6px;
  height: 6px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

table.default-table thead th a.sort.desc::after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
  margin-top: -2px;
}

table.default-table tbody a {
  text-decoration: underline;
}

table.default-table .button {
  margin: 0;
  padding: .4rem .5rem;
  text-decoration: none;
}

table.default-table .button.button-decrease,
.default-table .button.button-increase {
  padding: .2rem .4rem;
}

table.default-table tr {
  transition: all .4s ease-out;
}

table.default-table tr td,
table.default-table tr td a {
  transition: all .2s ease-out;
}

table.default-table tr td .button {
  transition: all .2s ease-out;
}

.added {
  background-color: var(--color-primary);
  transition: all .4s ease-out;
}

.added td,
.added td a,
.added td .has-tip {
  color: #fff;
  transition: all .2s ease-out;
}

.added td .button {
  background-color: #fff;
  color: #222;
  transition: all .2s ease-out;
}

table tr.even.added,
table tr.alt.added,
table tr:nth-of-type(even).added {
  background-color: #191928;
}

.amount {
  width: 100px;
}

.amount .amount-txt {
  width: 50px;
  display: inline-block;
  margin: 0;
  height: auto;
  padding: .2rem .2rem;
  text-align: center;
}

.amount a.button {
  display: inline-block;
}

.credit-limit {
  display: inline-block;
  border: 1px solid #5d5d5d;
  background-color: #eaeaea;
  padding: .1rem .4rem;
  margin-top: .2rem;
}

footer {
  background-color: #999999;
  color: #fff;
  font-size: 0.75rem;
  z-index: 5;
}

footer a {
  color: #fff;
  text-decoration: underline;
  font-size: 0.75rem;
}

footer a:hover {
  color: #eee;
}

footer a i.fa {
  font-size: 1rem;
}

footer strong {
  margin-left: 2rem;
}

footer .help-tel {
  margin-right: .5rem;
}

footer .help-email {
  margin-left: .5rem;
}

.reveal-modal .button-bar {
  padding-top: 0;
  border-top: none;
  margin-top: 1rem;
}

.reveal-modal .button-bar button,
.reveal-modal .button-bar .button {
  margin-bottom: 0;
}

.reveal-modal a.close-reveal-modal:hover {
  text-decoration: none;
}

.cutting-modal {
  max-width: 600px;
}

.cutting-container {
  height: 500px;
  overflow: auto;
  border: solid 1px #ddd;
}

.cutting-container ul {
  list-style-type: none;
  margin: 1rem;
}

.cutting-container ul li {
  font-weight: bold;
  padding: .2rem 0;
}

.cutting-container ul li table {
  font-weight: normal;
  width: 100%;
  margin-right: .2rem;
}

.cutting-container ul li table thead th {
  font-size: .75rem;
}

.cutting-container ul li table tfoot th {
  font-size: .75rem;
}

/*.cutting-container ul li ul { border:1px solid #ddd; margin:0 .5rem 1rem 0; }
.cutting-container ul li ul li { font-weight:normal; padding:.1rem; }
.cutting-container ul li ul li+li { border-top:1px solid #ddd; }*/
.cutting-container .button {
  margin-bottom: 0;
}

.button.remove-cutting {
  float: right;
  padding: .4rem .5rem;
}

.button.add-cutting {
  padding: .4rem .5rem;
}

input[type="text"].cutting-value {
  display: inline-block;
  width: 5rem;
  margin: 0;
  padding: .1rem;
  height: auto;
}

body.login {
  margin: 0;
  padding: 0;
  height: auto;
  background: #8c8c8c url(../images/login-bg.jpg) no-repeat center center;
  background-size: cover;
}

.login-container {
  background: #f1f1f1;
  margin: 5rem auto 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.login-container .login-header {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.login-container .login-content {
  padding: 1rem;
}

.login-container .login-content img {
  margin-bottom: 1rem;
}

.login-container .button-bar {
  margin: 0;
  padding: 0;
}

.login-container .button-bar button,
.login-container .button-bar .button {
  margin-bottom: 0;
}

.error-container {
  background: #f1f1f1;
  margin: 5rem auto 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.small-modal {
  max-width: 400px
}

.stalprofil-logo {
  display: none;
  background-image: url(../images/stalprofil.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 1rem;
  text-indent: 900em;
}

html[lang="en"] .stalprofil-logo {
  background-image: url(../images/stalprofil-en.png);
}

.default-filter {
  position: relative;
  margin: 0 0 1rem 0;
  border-bottom: 1px solid #f1f1f1;
  border-top: 1px solid #f1f1f1;
}

.default-filter ul {
  margin: 0 0 -.3rem 0;
  padding: 0;
}

.default-filter li h3 {
  font-size: .875rem;
  font-weight: bold;
}

.default-filter li input[type="text"] {
  display: inline-block;
  width: 100px;
  margin-bottom: .4rem;
}

.default-filter li select {
  width: 100px;
  margin-bottom: .4rem;
}




.unauthorized .login-container {
  margin: 0;
}

.unauthorized.reveal-modal {
  padding: 0;
}

.reveal-modal {
  z-index: 2000;
}

.products-count {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: normal;
  padding: 0 .35rem;
  border-radius: 1rem;
  font-size: .6rem;
  float: right;
}

.cutting-modal ul li.error table tfoot tr td {
  color: red
}

.cutting-modal a.close-reveal-modal {
  display: none;
}

.cutting-modal .cutting-value.error {
  color: red;
  border-color: red;
}

/*
 * Tabs
 */
.tab-title.disabled a {
  color: #aaa;
  cursor: default;
  pointer-events: none;
}

.tab-title.disabled a:hover {
  text-decoration: none;
}

.tab-title:focus,
.tab-title a:focus {
  outline: none;
}


#header-fixed {
  position: fixed;
  top: 95px;
  display: none;
}


/*
 * Pagination based on Foundation
 */

ul.pagination li a,
ul.pagination li span {
  border-radius: 3px;
  transition: background-color 300ms ease-out;
  background: none;
  color: #999999;
  display: block;
  font-size: 0.75rem;
  font-weight: normal;
  line-height: inherit;
  padding: 0.05556rem 0.55556rem 0.05556rem;
  text-decoration: none;
}

ul.pagination li.active span {
  background: var(--color-primary);
  color: #FFFFFF;
  cursor: default;
  font-weight: bold;
}

ul.pagination li.disabled span {
  cursor: default;
  color: #999999;
  pointer-events: none;
}

ul.pagination li:hover a,
ul.pagination li a:focus {
  background: #e6e6e6;
}

#invoices-tab>hr:last-child {
  display: none;
}

#packingslips-tab>hr:last-child {
  display: none;
}

/*
 * Varia
 */

nav a:focus {
  color: black;
}

.alert-box ul {
  margin: 0;
  list-style-type: none;
  font-size: inherit;
}

.alert-box .close {
  margin-top: 0;
  top: .25rem;
}

.alert-box .close:hover,
.alert-box .close:focus {
  text-decoration: none;
}

.alert-box.alert {
  background-color: var(--color-primary);
}

button,
.button {
  font-family: 'Open Sans', helvetica, sans-serif;
}

.upload-csv-file {
  margin-bottom: 20px;
}

.upload-csv-file a {
  color: var(--color-primary);
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */



/* Small screens */
/* Define mobile styles */
@media only screen {
  body {
    padding: 120px 0 39px;
  }

  .login-container {
    max-width: 285px;
  }

  .error-container {
    max-width: 285px;
  }

  header {
    background: #444;
    min-height: 45px;
  }

  header .logo {
    margin: 5px 0 0 0;
  }

  header .logo a {
    width: 90px;
    height: 30px;
    margin: 0 0 5px;
    background-image: url(../images/tammer20-white.svg);
  }

  header nav {
    margin: 0 0 0;
  }

  header nav ul {
    margin: 0;
  }

  header nav ul li {
    color: #fff;
    width: 23%;
    text-align: center;
    display: block;
    float: left;
  }

  header nav ul li a {
    color: #fff;
  }

  header nav ul li i.fa {
    color: #fff;
    display: block;
    font-size: 1.4rem;
  }

  header nav ul li h3 {
    font-size: .7rem;
    color: #fff;
    line-height: 1.1;
  }

  header nav ul li .subtext {
    display: none;
  }

  .stalprofil-logo {
    width: 100%;
    height: 37px;
  }

  .categories-container {
    position: relative;
    border: 1px solid #888;
    background-color: #999;
    padding: .5rem;
    margin-bottom: 1rem;
    cursor: pointer;
  }

  .categories-container .categories-heading {
    font-size: 1.1rem;
    color: #fff;
  }

  .categories-container .categories-heading:after {
    content: " ";
    display: block;
    position: absolute;
    top: 15px;
    right: 1rem;
    border: 2px solid transparent;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    width: 10px;
    height: 10px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .categories-container .categories {
    display: none;
  }

  .categories-container.opened .categories {
    display: block;
  }

  .categories-container.opened .categories-heading:after {
    -ms-transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
  }

  .categories {
    --_border-color: #aaa;
    list-style-type: none;
    margin: .3rem 0 0;
    padding: 0;
    font-size: .9rem;
    text-transform: uppercase;
  }

  .category__list {
    grid-column: 1 / -1;
  }

  .category__list--lvl-2 {
    margin-left: 0;
  }

  .category__item {
    list-style: none;
  }

  /* .category__item:first-child {
    border-top: 1px solid #aaa;
  } */

  .category__label {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.5rem;
    transition: all 0.2s ease-out;
  }

  .category__label a {
    display: block;
    padding: .3rem 0;
    color: #fff;
    transition: all .2s ease-out;
  }

  /* .category__label a:is(:focus, :hover) {
    background-color: #000;
    color: #fff;
  } */

  .category__label:is(:focus-within, :hover) a {
    background-color: transparent;
    font-weight: 600;
    text-decoration: none;
  }

  .category__item.active>.category__label>a {
    font-weight: bold;
    text-decoration: none;
    color: var(--color-primary);
  }

  .category__item+.category__item>.category__label {
    border-top: 1px solid var(--_border-color);
  }

  .category__list--lvl-1>.category__item>.category__label,
  .category__item.selected>.category__label {
    border-bottom: 1px solid var(--_border-color);
    transition: none;
  }

  .page-content {
    overflow: hidden;
    padding: .5rem .5rem;
  }

  .products,
  .order-rows,
  #products-table-target,
  #content-target {
    overflow: hidden;
  }

  .row.client-info .medium-2.textalignright img {
    display: none;
  }

  .default-filter {
    background: #f1f1f1;
    padding: .4rem;
    cursor: pointer;
  }

  .default-filter ul li {
    display: none;
  }

  .default-filter ul li:first-child {
    display: block;
  }

  .default-filter.opened ul li {
    display: block;
  }

  .default-filter:after {
    content: " ";
    display: block;
    position: absolute;
    top: 12px;
    right: 1rem;
    border: 2px solid transparent;
    border-right: 2px solid #222;
    border-bottom: 2px solid #222;
    width: 8px;
    height: 8px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .default-filter.opened:after {
    -ms-transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
  }

  .default-filter li input[type="text"],
  .default-filter li input[type="search"],
  .default-filter li select {
    width: 100%;
    margin-bottom: .3rem;
  }

  table.default-table {
    overflow-x: auto;
    display: block;
  }

  footer {
    padding: .6rem 0;
  }

  footer .column {
    text-align: center;
  }

  .alert-modal {
    min-width: 100px;
    width: 100%;
    height: 100%;
  }
}

/* max-width 640px, mobile-only styles, use when QAing mobile issues */
@media only screen and (max-width: 40em) {}

/* Medium screens */
/* min-width 641px, medium screens */
@media only screen and (min-width: 40.063em) {
  body {
    padding: 75px 0 39px;
  }

  .login-container {
    max-width: 325px;
  }

  .error-container {
    max-width: 500px;
  }

  header .logo {
    margin: 8px 0 0;
  }

  header .logo a {
    width: 125px;
    height: 45px;
  }

  header nav {
    margin: 10px 0 0;
  }

  .category-hint {
    border-bottom: 4px solid #aaa;
    padding-bottom: 10px;
    margin-bottom: .2rem;
  }

  .category-hint:after {
    display: block;
    content: " ";
    width: 20px;
    height: 20px;
    border-bottom: 4px solid #aaa;
    border-right: 4px solid #aaa;
    background-color: #f1f1f1;
    position: absolute;
    left: 45%;
    bottom: -13px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .categories-container {
    border: none;
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
  }

  .categories-container .categories-heading {
    display: none;
  }

  .categories-container .categories-heading:after {
    display: none;
  }

  .categories-container .categories {
    display: block;
  }

  .categories {
    --_border-color: #e3e3e3;
    margin: 0;
  }

  .category__item {
    list-style: none;
    font-size: .75rem;
  }

  .category__label > a {
    color: #222;
  }

  .page-content {
    overflow: visible;
    padding: 1rem 1.2rem;
    min-height: 500px;
  }

  .row.client-info .medium-2.textalignright img {
    display: inline-block;
  }

  .client-info {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 2rem;
    margin-bottom: 2rem !important;
  }


  .default-filter {
    background: #fff;
    padding: .4rem 0;
  }

  .default-filter ul li {
    display: block;
    margin-right: 10px;
    float: left;
  }

  .default-filter ul li:first-child {
    display: inline-block;
    padding-top: .4rem;
  }

  .default-filter.opened ul li {
    display: inline-block;
  }

  .default-filter li input[type="text"],
  .default-filter li input[type="search"],
  .default-filter li select {
    width: auto;
    margin-bottom: .5rem;
  }

  .default-filter .filter-field-code input[type="search"] {
    width: 200px;
  }

  .default-filter .filter-field-date input[type="text"] {
    width: 100px;
  }

  .default-filter .filter-field-treatment select {
    width: 150px;
  }

  .default-filter .filter-field-pack select {
    width: 150px;
  }

  .default-filter .filter-field-status select {
    width: 150px;
  }

  .default-filter:after {
    display: none;
  }

  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38px;
    padding: .6rem 0 0;
  }

  footer .column {
    text-align: left;
  }

  footer .column.textalignright {
    text-align: right;
  }

  .alert-modal {
    min-width: 100px;
    max-width: 600px;
    width: 100%;
    height: auto;
  }
}

/* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {}

/* Large screens */
/* min-width 1025px, large screens */
@media only screen and (min-width: 64.063em) {
  body {
    padding: 120px 0 39px;
  }

  header {
    background: #fff;
    min-height: 95px;
  }

  header .logo {
    margin: 20px 0 0 0;
  }

  header .logo a {
    width: 150px;
    height: 55px;
    background-image: url(../images/logo.svg);
  }

  header nav {
    margin: 1rem 0 0;
  }

  header nav ul {
    margin: 0;
  }

  header nav ul li {
    color: #222;
    margin-left: 55px;
    margin-right: 2rem;
    width: auto;
    text-align: left;
    display: inline-block;
    float: none;
  }

  header nav ul li a {
    color: #222;
  }

  header nav ul li a:hover {
    color: #444;
    transition: all .2s ease-out;
  }

  header nav ul li i.fa {
    color: #222;
    font-size: 3rem;
    position: absolute;
    top: 0;
    left: -55px;
    transition: all .4s ease-out;
  }

  header nav ul li a:hover i.fa {
    color: #444;
    transition: all .4s ease-out;
    left: -52px;
  }

  header nav ul li h3 {
    font-size: 1.125rem;
    color: #222;
    line-height: 1.4;
    transition: all .2s ease-out;
  }

  header nav ul li a:hover h3 {
    color: #444;
    transition: all .2s ease-out;
  }

  header nav ul li .subtext {
    display: block;
  }

  header nav ul li.active {
    border-bottom: 4px solid var(--color-primary);
  }

  header nav ul li.active a:hover i.fa {
    color: var(--color-primary);
  }

  .stalprofil-logo {
    max-width: 162px;
    width: 100%;
    height: 45px;
  }

  .page-content {
    padding: 2rem 2.5rem;
    min-height: 500px;
  }

  .products,
  .order-rows,
  #products-table-target,
  #content-target {
    overflow: visible;
  }

  .default-filter .filter-field-code input[type="search"] {
    width: 300px;
  }

  table.default-table {
    overflow-x: visible;
    display: table;
  }

  .category__label:is(:focus-within, :hover) a {
    padding-left: 2px;
    padding-right: 2px;
    /* background: #e5e5e5; */
    color: #000;
    font-weight: bold;
  }
}

/* min-width 1025px and max-width 1440px, use when QAing large screen-only issues */
@media only screen and (min-width: 64.063em) and (max-width: 90em) {}

/* XLarge screens */
/* min-width 1441px, xlarge screens */
@media only screen and (min-width: 90.063em) {}

/* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */
@media only screen and (min-width: 90.063em) and (max-width: 120em) {}

/* XXLarge screens */
/* min-width 1921px, xxlarge screens */
@media only screen and (min-width: 120.063em) {}





@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: none;
  }

  a[href]:after {
    content: "";
  }

  abbr[title]:after {
    content: "";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .categories-header {
    display: none;
  }

  .categories-container {
    display: none;
  }

  header {
    display: none;
  }

  footer {
    display: none;
  }

  .default-filter {
    display: none;
  }

  a.button {
    display: none
  }

  a.button.visible-in-print {
    display: block
  }

  .client-info .column {
    float: left;
    width: auto;
  }

  .logo {
    display: none
  }
}

/* The Modal (background) */
.myModal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.myModal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 720px;
}

/* The Close Button */
.myModal-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.myModal-close:hover,
.myModal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modalImg {
  max-width: 100%;
  height: auto;
}

.arrow-up,
.arrow-down {
  width: 10px;
  height: 10px;
  float: right;
  margin-top: -18px;
  margin-right: 7px;
}

.arrow-up {
  transform: rotate(180deg);
}

.btn--caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  margin-bottom: 0;
  padding: 0.5rem;
  background-color: transparent;
  border-radius: 2px;
  color: var(--color-primary);
  transition: all 0.2s ease-out;
}

.btn--caret:is(:focus, :hover) {
  background-color: #fff;
  color: var(--color-primary);
}

/* .btn--caret:active {
  background-color: var(--color-primary);
  color: #fff;
} */

.btn--caret svg {
  transition: all 0.2s ease-out;
}

.selected>.category__label>.btn--caret svg {
  transform: rotate(180deg);
}
