
/*
Theme Name: gro
Author: gro
Description: App tema
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gro
*/

@font-face {
  font-family: 'TT Norms Pro';
  src: url('../fonts/TT_Norms_Pro_Normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url('../fonts/TT_Norms_Pro_Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal !important;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url('../fonts/TT_Norms_Pro_DemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url('../fonts/TT_Norms_Pro_Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}


html, body, div, span, applet, object, iframe,
  h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  a, abbr, acronym, address, big, cite, code,
  del, dfn, em, img, ins, kbd, q, s, samp,
  small, strike, strong, sub, sup, tt, var,
  b, u, center,
  dl, dt, dd, ol, ul, li,
  fieldset, form, label, legend,
  table, caption, tbody, button, tfoot, thead, tr, th, td,
  article, aside, canvas, details, embed, 
  figure, figcaption, footer, header, hgroup, 
  menu, nav, output, ruby, section, summary,
  time, mark, audio, video {
      margin: 0;
      padding: 0;
      border: 0;
      font-size: 100%;
      vertical-align: baseline;
      font-family: 'TT Norms Pro', sans-serif !important;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
  }
  /*
  /* HTML5 display-role reset for older browsers */
  article, aside, details, figcaption, figure, 
  footer, header, hgroup, menu, nav, section {
      display: block;
  }
  body {
      line-height: 1;
  }
  ol, ul {
      list-style: none;
  }
  blockquote, q {
      quotes: none;
  }
  blockquote:before, blockquote:after,
  q:before, q:after {
      content: '';
      content: none;
  }
  table {
      border-collapse: collapse;
      border-spacing: 0;
  }
* { box-sizing: border-box; }

:root {
  --primary-logo-color: #00110D;
  --primary-font-family: system-ui, sans-serif;
  --primary-color: #00342D;
  --primary-bg-color: #E9E1DA;
  --primary-title-color: #00110D;
  --primary-subtitle-color: #66706E;
  --primary-element-color: #00342D;
  --primary-cta-color: #00342D;
  --primary-cta-color_hover: #00473D;
  --primary-line-color: rgb(234, 231, 231);
  --primary-frame-text-color: #00342D;
  --secondary-bg-color: #E5EAEA;
}


:root {
  /* Changes the primary theme color to purple using primitives */
  --sl-color-primary-50: #C3F4DB;
  --sl-color-primary-100: #C3F4DB;
  --sl-color-primary-200: #8CEAC1;
  --sl-color-primary-300: #4DC29A;
  --sl-color-primary-400: #21856C;
  --sl-color-primary-500: #00342C;
  --sl-color-primary-600: #002C2A;
  --sl-color-primary-700: #002425;
  --sl-color-primary-800: #001A1E;
  --sl-color-primary-900: #001318;
  --sl-color-primary-950: #001318;
  --sl-color-success-600: #77ffb1;
  --sl-color-neutral-600: #E5EAEA;
  --sl-color-warning-600: #ffb37782;
  --sl-color-danger-600: #ff777766;
}

.badge-primary::part(base) {
  background-color: #02342c;
  color: white;
}

.badge-success::part(base) {
  background-color: #77ffb270;
  color: #02342c;
}

.badge-neutral::part(base) {
  background-color: #E5EAEA;
  color: #02342c;
}

.badge-neutral-outline::part(base) {
  background-color: transparent;
  color: #02342c;
  box-shadow: inset 0 0 0 1px #a0b8b5;
}

.badge-warning::part(base) {
  background-color: #ffb37782;
  color: #02342c;
}

.badge-danger::part(base) {
  background-color: #ff777766;
  color: #02342c;
}



a {cursor: pointer;}
.h1,h2 {color: #00342C; font-size: 20px;}
h1 {color: #00342C; font-size: 18px;}

h1,h2,h3,h4,h5 {
  font-weight: 500;
}

button {
  border-radius: 8px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
}

.cut-corner {
  background: #f6f2ec;
  width: 100vw;
  height: 100vh;
  clip-path: path("M0,0 H100vw V100vh H0 V0 A100,100 0 0 0 100,100 Z");
}

textarea,input {
  font-family: 'TT Norms Pro', sans-serif !important;
}

      .lds-ring-big {
        /* change color here */
        color: #fff
      }
      .lds-ring-big,
      .lds-ring-big div {
        box-sizing: border-box;
      }
      .lds-ring-big {
        display: inline-block;
        position: relative;
        width: 40px;
        height: 40px;
      }
      .lds-ring-big div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 32px;
        height: 32px;
        margin: 4px;
        border: 4px solid currentColor;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: currentColor transparent transparent transparent;
      }
      .lds-ring-big div:nth-child(1) {
        animation-delay: -0.45s;
      }
      .lds-ring-big div:nth-child(2) {
        animation-delay: -0.3s;
      }
      .lds-ring-big div:nth-child(3) {
        animation-delay: -0.15s;
      }
      @keyframes lds-ring {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }


      .lds-ring,
      .lds-ring div {
        box-sizing: border-box;
      }
      .lds-ring {
        display: inline-block;
        position: relative;
        width: 120px;
        height: 120px;
      }
      .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 120px;
        height: 120px;
        border: 8px solid #fff;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #fff transparent transparent transparent;
        transition: all 1s;
      }

      #sendingLoader.active .lds-ring div {
        border-color: #fff
      }
      
    

      #sendingLoader .check img {
        width: 60px;
        height: 60px;
      } 

      #sendingLoader .check {
        width: 100%;
        height: 126px;
        position: absolute;
        top: 200px;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.35s;
      }

      #sendingLoaderText {
        padding-top: 24px;
        text-align: center;
      }

      #sendingLoader.active .check {
        top: 0;
      }

      

      .lds-ring div:nth-child(1) {
        animation-delay: -0.45s;
      }
      .lds-ring div:nth-child(2) {
        animation-delay: -0.3s;
      }
      .lds-ring div:nth-child(3) {
        animation-delay: -0.15s;
      }
      @keyframes lds-ring {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }

  section {display: none;}
  section.active {display: block;}

.message {color: #0a0a0a;}
.message span {
  background: #404129;
  padding: 16px;
  display: block;
  font-size: 12px;
  margin-top: 12px;
  border-radius: 8px;
}

#companies .primaryFinancePartner {
  display: none;
}

#companies tbody tr, #prospects tbody tr {
  display: none;
}

#companies tbody tr.active, #prospects tbody tr.active {
  display: table-row;
}

#companies .volumeToday {
  display: none;
}

#prospects .latestDeal, #prospects .calcAmount, #prospects .appliedAmount, #prospects .signedAmount, #prospects .volumeThisYear, #prospects .commonGoal {
  display: none;
}
p {color: #0a0a0a;}
.slideIn {
  top: 0;
  right: -100%;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: block;
  background: #F9F2EC;
  transition: right 0.25s ease-in-out, opacity 0.35s ease-in-out;
  will-change: right, opacity;
  position: fixed;
  z-index: 100;
  padding-left: 16px;
  padding-right: 16px;
  opacity: 0;
}

.slideIn.active {
  right: 0;
  opacity: 1;
}

.slideUp {
  width: 100%;
  overflow: hidden;
  display: block;
  background-color: #f9f3ed;
  transition: all 0.35s;
  position: fixed;
  z-index: 100;
  padding: 16px;
  opacity: 0;
  border-radius: 12px 12px 0px 0px;
  max-width: 800px;
  right: 0;
}

.cta.saveProductLine {
  position: relative; width: 100%;
}

.deleteProductLine {
  position: relative; height: 30px; border: 0; width: 100%; margin-top: 12px;
}

.slideUp.active {
  bottom: 0px !important;
  opacity: 1;
}

.calc {
  background: url("../svg/calculator.svg");
}

.products {
  background: url("../svg/shopping-bag.svg");
}

.customer {
  background: url("../svg/briefcase.svg");
}

.contactPerson {
  background: url("../svg/user.svg");
}

.paperclip {
  background: url("../svg/paperclip.svg");
}

.icon {
  height: 50px;
  width: 32px;
  
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 24px;
  cursor: pointer;
  display: block;
}

.close, .back {
  height: 50px;
  width: 50px;
  background: url("../svg/close.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  display: block;
}

.checkbox {
  height: 50px;
  width: 24px;
  background: url("../svg/check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;
  cursor: pointer;
  margin-left: 16px;
  display: block;
  filter:invert(1)
}

.qr {
  background: url("../svg/qr.svg");
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-size: 24px;
}

.buttonList button .lds-ring-big {
  margin-left: 8px;
}



.print {
  background: url("../svg/print.svg");
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-size: 24px;
}

.download {
  background: url("../svg/download.svg");
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-size: 24px;
}

.email {
  background: url("../svg/mail.svg");
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-size: 24px;
}

.sms {
  background: url("../svg/sms.svg");
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-size: 24px;
}

.copy {
  background: url("../svg/link.svg");
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-size: 24px;
}

.url {
  background: url("../svg/eye.svg");
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-size: 24px;
}

.share {
  border: 0;
  height: 50px;
  width: 50px;
  background: url("../svg/share-2.svg");
  background-repeat: no-repeat;
  background-position: center left 8px;
  background-size: 24px;
  cursor: pointer;
  display: inline-block;
}

.addProduct {
  border: 0;
  height: 50px;
  width: 50px;
  background: url("../svg/plus.svg");
  background-repeat: no-repeat;
  background-position: center right 8px;
  background-size: 24px;
  cursor: pointer;
  display: inline-block;
}

.share2 {
  border: 0;
  height: 40px;
  color: #000;
  width: auto;
  padding-left: 12px;
  padding-right: 40px;
  border: 0px #000 solid;
  background: url("../svg/share-2.svg");
  background-repeat: no-repeat;
  background-position: center right 8px;
  background-size: 18px;
  cursor: pointer;
  display: inline-block;
  filter: invert(1);
  background-color: rgb(255 255 255 / 20%);
}

.shareClose {
  border: 0;
  height: 40px;
  color: #000;
  width: auto;
  padding-left: 12px;
  padding-right: 40px;
  border: 0px #000 solid;
  background: url("../svg/x.svg");
  background-repeat: no-repeat;
  background-position: center right 8px;
  background-size: 24px;
  cursor: pointer;
  display: inline-block;
  filter: invert(1);
  background-color: rgb(255 255 255 / 20%);
}

.fileupload {
  border: 0;
  height: 120px;
  width: 120px;
  background: url("../svg/image.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;
  cursor: pointer;
  display: inline-block;
  border: 1px #e8e8e8 solid;
  margin-bottom: 24px;
  position: relative;
  background-color: #fff;
  overflow: hidden;

}

.handleIcon {
  background: #fff;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
  top: -10px;
  left: -10px;
  border: 1px #ddd solid;
}

.handleIcon svg {
  width: 16px;
  height: 16px;
}

.smallImageWrapper {
  height: 50px; width: 50px;
  background: url("../svg/image.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  border: 1px #ddd solid;
  margin-right: 8px;
  position: relative;
}

#sumTableProductList .smallImageWrapper {
  background: url("../svg/image-white.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
}

.smallImage {
  border: 0;
  height: 50px;
  width: 50px;
  position: relative;
  margin-right: 8px;
  display: none;
  border-radius: 8px;
}

.smallImage.active {
  display: block;
}

.fileupload img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  background-color: #fff;
}

.goback {
  border: 0;
  height: 50px;
  width: 50px;
  background: url("../svg/goback.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;
  cursor: pointer;
  display: inline-block;
}

.forward {
  height: 33px;
  width: 33px;
  background: url("../svg/forward.svg");
  background-repeat: no-repeat;
  background-position: center left 0px;
  background-size: 24px;
  cursor: pointer;
  display: inline-block;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  margin-top: 4px;
  display: block;
}

/* Bakgrunden på switchen */
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  padding-bottom: 0;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

fieldset {
  margin-bottom: 48px;
}


.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  transition: 0.4s;
  border-radius: 0px;
  width: 42px;
  height: 26px;
  border-radius: 4px;
  background: #e1e6e6;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

/* Om knappen är aktiverad */
input:checked + .slider {
  background-color: #00342C;
}



input:checked + .slider:before {
  transform: translateX(16px);
}


.buttonGroup {display: flex;gap: 0px;
  border: 1px #ddd solid;
  border-radius: 8px;
}
.buttonGroup button {
  border: 0;
  color: #00342C;
  background: none;
  float: left;
  height: 50px;
  padding-left: 12px;
  padding-right: 12px;
  outline: none;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  transition-timing-function: ease-in;
  font-size: 16px;
  background: #fff;
  border-radius: 0;
  border-right: 1px #e8e8e8 solid;
  width: 100%;
  transform: none !important;
}



.buttonGroup button:first-child {border-radius: 8px 0px 0px 8px}
.buttonGroup button:last-child {border-radius: 0px 8px 8px 0px; border: 0; border-right: 0;}

.buttonGroup button span {display: block; font-size: 14px;}

.buttonGroup button.active {
  background: #00342C;
  border-right: 1px #00342C solid;
  color: #fff;
}


.showPermissions {margin-bottom: 8px; margin-top: 8px;}
li .buttonGroup {
  margin-top: 8px;
}

.bad {
  color: #ff4268;
  border: 1px #ff4268 solid;
  font-weight: bold;
}
.bad.active {
  background: #ff4268 !important;
  color: #fff;
}
.bad.active:hover {
opacity: 0.8;
}
.neutral {
  color: #F6F9B2;
  border: 1px #F6F9B2 solid;
}
.neutral.active {
  background: #F6F9B2 !important;
  color: #000;
}

.good {
  color: #23bc56;
  border: 1px #23bc56 solid;
}
.good.active {
  background: #23bc56 !important;
  color: #000;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.listMenu li {
  opacity: 0;
  animation: fadeEffect 0.8s; /* Fading effect takes 1 second */
  animation-fill-mode: forwards;
  cursor: pointer;
  padding-top: 48px;
}
@keyframes fadeEffect {
  from {opacity: 0; padding-top: 32px;}
  to {opacity: 1; transform: scale(1); padding-top: 16px;}
}



.paddingTop48 {
  padding-top: 48px;
}


input:focus,select:focus,#library-description:focus,#product-description:focus {
  border: 1px #00342C solid;
}

input,select,.input {
  font-size: 16px;
  color: #0a0a0a;
  background: #fff;
  height: 50px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
  outline: none;
  width: 100%;
  border: 0;
  border: 1px #e8e8e8 solid;
  font-weight: 450;
}

select {
  text-align: left;
  -webkit-appearance: none; /* För Safari/Chrome */
  -moz-appearance: none;    /* För Firefox */
  appearance: none;         /* Standard */
}
textarea {
  border: 1px rgb(246 249 178 / 0%) solid;
  color: #0a0a0a;
  background: #fff;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 12px;
  padding-top: 12px;
  border-radius: 4px;
  outline: none;
  resize: none;
}
#library-description,#product-description {
  border: 1px #e8e8e8 solid;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 450;
}
.tabs {margin-bottom: 12px;}
button, .button {
  box-sizing: border-box; 
  cursor: pointer; 
  height: 60px; 
  font-size: 18px; 
  width: 100%; 
  background: none; 
  border: 1px #00342C solid;
  color: #00342C; 
  border-radius: 8px; 
  padding-left: 16px; 
  padding-right: 16px;
  letter-spacing: -0.02em !important;
  font-weight: 600;
}

a.button {
  display: block; text-decoration: none; display: flex; align-items: center; justify-content: center;
}

 button.cta,.filterButtons button.active, .tabs button.active {
  background: #00342C;
  color: #fff;
 }

 button.primaryCta {
  background: #CDEABE;
  color: #00342C;
 }
 

 .whiteCta {
  font-weight: 600;
  letter-spacing: -0.02em;
  background: #DEF0EE;
  color: #00342C;
 }
 
 
.fullWidth {width: 100%;}
 #companyId {max-width: 450px;}
 .tabContent {display: none; max-width: 1400px;}
 .tabContent.active {
  display: block;
 }

 .filterButtons {margin-bottom: 24px; display: flex; gap: 8px;}

 .activityButtons button {margin-right: 8px; float: left;}

 :disabled {opacity: 0.5;}

 .tabMenu {display: flex; gap: 24px; border-bottom: 1px #2f2f2f solid;align-items: center;height: 50px; z-index: 1; background: #000; position: fixed; top: 0; left: 0; width: 100%; padding-left: 16px; padding-right: 16px;}
 .tabMenu a {color: #0a0a0a; cursor: pointer; }
 .tabMenu a.active {color: #00342C;}
 table th {
  padding-top: 8px;
  margin-bottom: 8px;
  padding-right: 24px;
  height: 18px;
  background: url(../svg/down.svg);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 18px;
  transition: all 0.25s;
  cursor: pointer;
}

table th.active {
  background: url("../svg/up.svg") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 18px !important;
}

td, th {
  white-space: nowrap; /* Innehållet bryts inte */
}

td {height: 40px; position: relative; vertical-align: middle; line-height: 10px; font-size: 14px; border-top: 1px #1B4942 solid; border-right: 1px #1B4942 solid; padding: 4px; color: #B5CCCA; padding-right: 8px; padding-left: 2px;}
th {text-align: left; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; padding-left: 4px; padding-bottom: 8px; color: #0a0a0a;}
th:hover {
  background-color: #dbdbdb;
}
td button {
  width: 100%;
}
table tbody {width: 100%; border-bottom: 1px #dbdbdb solid; border-left: 1px #dbdbdb solid;}
label {text-align: left; font-size: 12px; color: #0a0a0a; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; padding-left: 2px; padding-bottom: 6px; opacity: 0.8;}
label {display: block;}
td.companyName,th.companyName {
  min-width: 290px;
}
#edit .activityCompanyName {display: none;}
.underline {
  display: inline-block;
  padding-bottom: 4px;
  padding-top: 4px;
  color: #fff;
  border-bottom: 1px #0a0a0a solid;
  cursor: pointer;
  transition: 0.35s;
  line-height: 16px;
}

.underline:hover {
  background: #00342C;
  color: #000;
  border-bottom: 1px #00342C solid;
  padding-left: 4px;
  padding-right: 4px;
  border-radius: 4px;
}

#dealsList {
  max-width: 66.666%;
  border-radius: 16px 16px 0px 0px;
  max-height: 90vh;
}

#contactList {
  width: 100%;
  max-height: fit-content;
  background: #004036;
  border-radius: 16px;
  padding: 24px;
  overflow: auto;
  display: none;
}

.ansokan #contactList, .avtal #contactList {
  display: block;
}



#contactList h2 { color: #fff; }

#widgets {max-width: 400px; }

.grid-tiny {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(336px, 1fr));
}

.grid50-split {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.grid50 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.grid33 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.grid50Desktop {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1024px;
}

.grid50DesktopFlex {
  display: flex;
  gap: 72px;
  width: 100%;  
  min-height: 100%;
  max-height: 100%;
  max-width: 1200px;
}

.reverse {
  flex-direction: row-reverse;
}

.column {
  width: 100%;
  position: relative;
}

.grid50Desktop .marginTop24 {
  margin-top: 0;
}

#contactPersonWrapper .card {
  border-radius: 8px;
}

#contactPersonWrapper .card img {width: 120px; height: 120px; aspect-ratio: 1 / 1; object-fit:cover; }

#contactPersonWrapper .card {
  display: flex;
  justify-content: center;
  text-align: center;
}
#contactPersonWrapper .card h2 {
  margin-bottom: 12px;
  margin-top: 16px;
}
#contactPersonWrapper img {
  border-radius: 999px;
}
#contactPersonWrapper .card a {
margin-bottom: 12px;
display: inline-block;
text-decoration: none;
padding-bottom: 2px;
border-bottom: 1px #ddd solid;
color: #000;
}

.mobileButtons {
  position: fixed; bottom: 0; width: 100%; left: 0; gap: 16px; display: none; justify-content: center;
}

.productButton {
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 75%, rgba(255, 255, 255, 0) 100%);
  position: sticky; bottom: 0; left: 0; border-radius: 0; padding: 16px; z-index: 2;
  padding-top: 16px;
}


.desktopButtons {
  margin-left: auto;
  gap: 16px;
  display: flex;
}

.desktopButtons button {height: 50px;}



.grid div {position: relative;}



.padding4{padding:4px;}.padding8{padding:8px;}.padding12{padding:12px;}.padding16{padding:16px;}.padding20{padding:20px;}.padding24{padding:24px;}.padding28{padding:28px;}.padding32{padding:32px;}.padding36{padding:36px;}.paddingLeft4{padding-left:4px;}.paddingLeft8{padding-left:8px;}.paddingLeft12{padding-left:12px;}.paddingLeft16{padding-left:16px;}.paddingLeft20{padding-left:20px;}.paddingLeft24{padding-left:24px;}.paddingLeft28{padding-left:28px;}.paddingLeft32{padding-left:32px;}.paddingLeft36{padding-left:36px;}.paddingRight4{padding-right:4px;}.paddingRight8{padding-right:8px;}.paddingRight12{padding-right:12px;}.paddingRight16{padding-right:16px;}.paddingRight20{padding-right:20px;}.paddingRight24{padding-right:24px;}.paddingRight28{padding-right:28px;}.paddingRight32{padding-right:32px;}.paddingRight36{padding-right:36px;}.paddingTop4{padding-top:4px;}.paddingTop8{padding-top:8px;}.paddingTop12{padding-top:12px;}.paddingTop16{padding-top:16px;}.paddingTop20{padding-top:20px;}.paddingTop24{padding-top:24px;}.paddingTop28{padding-top:28px;}.paddingTop32{padding-top:32px;}.paddingTop36{padding-top:36px;}.paddingBottom4{padding-bottom:4px;}.paddingBottom8{padding-bottom:8px;}.paddingBottom12{padding-bottom:12px;}.paddingBottom16{padding-bottom:16px;}.paddingBottom20{padding-bottom:20px;}.paddingBottom24{padding-bottom:24px;}.paddingBottom28{padding-bottom:28px;}.paddingBottom32{padding-bottom:32px;}.paddingBottom36{padding-bottom:36px;}
.margin4{margin:4px;}.margin8{margin:8px;}.margin12{margin:12px;}.margin16{margin:16px;}.margin20{margin:20px;}.margin24{margin:24px;}.margin28{margin:28px;}.margin32{margin:32px;}.margin36{margin:36px;}.marginLeft4{margin-left:4px;}.marginLeft12{margin-left:12px;}.marginLeft16{margin-left:16px;}.marginLeft20{margin-left:20px;}.marginLeft24{margin-left:24px;}.marginLeft28{margin-left:28px;}.marginLeft32{margin-left:32px;}.marginLeft36{margin-left:36px;}.marginRight4{margin-right:4px;}.marginRight8{margin-right:8px;}.marginRight12{margin-right:12px;}.marginRight16{margin-right:16px;}.marginRight20{margin-right:20px;}.marginRight24{margin-right:24px;}.marginRight28{margin-right:28px;}.marginRight32{margin-right:32px;}.marginRight36{margin-right:36px;}.marginTop4{margin-top:4px;}.marginTop8{margin-top:8px;}.marginTop12{margin-top:12px;}.marginTop16{margin-top:16px;}.marginTop20{margin-top:20px;}.marginTop24{margin-top:24px;}.marginTop28{margin-top:28px;}.marginTop32{margin-top:32px;}.marginTop36{margin-top:36px;}.marginBottom4{margin-bottom:4px;}.marginBottom8{margin-bottom:8px;}.marginBottom12{margin-bottom:12px;}.marginBottom16{margin-bottom:16px;}.marginBottom20{margin-bottom:20px;}.marginBottom24{margin-bottom:24px;}.marginBottom28{margin-bottom:28px;}.marginBottom32{margin-bottom:32px;}.marginBottom36{margin-bottom:36px;}
.gap4{gap:4px;}.gap8{gap:8px;}.gap12{gap:12px;}.gap16{gap:16px;}.gap20{gap:20px;}.gap24{gap:24px;}.gap28{gap:28px;}.gap32{gap:32px;}.gap36{gap:36px;}
.flex {display: flex; }
.alignCenter {align-items: center;}
.justifyCenter {justify-content: center;}
.marginLeft {margin-left: auto;}


#users li, #departments li, #internalFiles li {
  color: #0a0a0a;
  border-top: 1px #2f2f2f solid;
  padding-top: 8px;
  padding-bottom: 8px;
}

#users li a, #departments li a, #internalFiles li a {
  color: #0a0a0a;
}

#internalFiles {border-left: 0; border-bottom: 0;}


.drop-zone {
  width: 100%;
  max-width: 100%;
  height: 250px;
  border: 2px dashed #f6f9b2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f6f9b2;
  font-size: 16px;
  text-align: center;
  margin: 0;
  margin-bottom: 24px;
}
.drop-zone.dragover {
  background-color: #262619;
}


.expand {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.buttonList button {
  border: 0;
  border-top: 1px rgb(0 0 0 / 10%) solid;
  color: #1B4942;
  text-align: left;
  padding-left: 8px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  position: relative;
}

.statusGroup {
  display: flex;
  gap: 8px;
}

.statusGroup button{
width: 40px;
height: 40px;
border: 1px transparent solid;
box-sizing: border-box;
opacity: 0.15;
background: none;
cursor: pointer;
}

.rowButton {
  height: 40px;
  color: #B5CCCA;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding-left: 0;
  text-align: left;
  background: url("../svg/rowbutton.svg");
  background-repeat: no-repeat;
  background-position: right;
  background-size: 18px;
  transform: none !important;
  transition: none !important;
}

.box {
display: none;
}

.box #productList {
  padding-bottom: 0;
}

.box button {
  color: #B5CCCA;
  transform: none !important;
  transition: none !important;
  padding: 0;
  border: 0 !important;
  border-top: 1px #1B4942 solid !important;
  cursor:auto;
}

.box .smallImage {
  background: url(../svg/image-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
}

td.active .box {
  display: block;
}

td.active .rowButton {
  background: url("../svg/rowbutton2.svg");
  background-repeat: no-repeat;
  background-position: right;
  background-size: 18px;
}

#edit-product #productsheet,#product #productsheet {
  display: flex;
  gap: 16px;
  align-items: center;
}

#productsheet .button {
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

#edit-product #productsheet button,
#product #productsheet button {
  width: 60px !important;
  min-width: 60px !important;
  max-width: 60px !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  height: 60px !important;
  margin: 0 !important;
  flex: 0 0 60px !important;
}

.trash {cursor: pointer; }
.trash:hover {background: #ddd;}

.statusGroup button:hover{
  opacity: 0.6;
  background: #ddd;
  }

.statusGroup button.active{
opacity: 1;
}


.handle,.section-handle,.element-handle,.inner-section-handle {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  background:url("../svg/handle.svg");
  background-repeat: no-repeat;
  background-position: center;
  border: 0px #000 solid;
}

.handle:hover {
  background-color: #333;
}

table {
  table-layout: auto; /* Anpassar kolumnbredd efter innehåll */
  width: auto; /* Se till att tabellen inte sträcker sig onödigt */
}

ul {color: #0a0a0a; width: 100%;}

.whiteghost {
  border: 1px #1B4942 solid;
  color: #fff;
  background: #002923;
}

#sending {
  background: #002923;
}

.listMenu li:first-child {
  border-radius: 8px 8px 0px 0px;
}

.listMenu li:last-child {
  margin-bottom: 120px;
}

.buttonMenu {
  background: #fff;
  width: 100%;
  box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -webkit-box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -moz-box-shadow: 0px 18px 40px -12px rgba(167, 132, 92, 0.30);
  max-width: 600px;
  border-radius: 16px;
  height: fit-content;
}

.buttonMenu button{border-radius: 0;}

.listMenu li, .card {
  min-height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px #ddd solid;
  background: #fff; border-radius: 0px; padding-top: 16px; padding-bottom: 16px; margin-bottom: 0px; padding-left: 16px; padding-right: 16px;
}

.card {margin-bottom: 24px;
  box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -webkit-box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -moz-box-shadow: 0px 18px 40px -12px rgba(167, 132, 92, 0.30);
}

.greenCard {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin-top: 12px;
  align-items: center;
  background: #00342C; 
  color: #fff;
  border-radius: 8px; padding-top: 24px; padding-bottom: 24px; margin-bottom: 16px; padding-left: 24px; padding-right: 24px;
 
  box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -webkit-box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -moz-box-shadow: 0px 18px 40px -12px rgba(167, 132, 92, 0.30);
}

.greenCard table td {
  width: 50%;
}

.listMenu li span,.smallSpan {display: block; padding-top: 3px; padding-bottom: 3px;}
section { color: #0a0a0a; }


#sumCurrency {
  font-size: 32px;
  color: #fff;
}



.faq {
  background: #fff;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -webkit-box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -moz-box-shadow: 0px 18px 40px -12px rgba(167, 132, 92, 0.30);
  overflow: hidden;

}

.faq-question {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 16px;
  padding-right: 16px;
  min-height: 65px;
  cursor: pointer;
  background: #fff;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.faq-toggle {
  background-image: url("../svg/plus.svg");
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.25s;
  margin-left: auto;
}

#contactPersonRow.active .faq-toggle,
#companyDetails.active .faq-toggle,
#productsRows.active .faq-toggle {
  background-image: url("../svg/check.svg");
  transform: rotate(0deg);
}

#calcRows.active .faq-toggle {
  background-image: url("../svg/check.svg");
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  background: #fff;
  transition: all 0.3s;
  opacity: 0;
}

.faq.open .faq-question {
  border-bottom: 1px #e6e6e6 solid;
}

.faq.open .faq-answer {
  padding: 16px;
  opacity: 1;
}

.faq.open .faq-toggle {
  transform: rotate(135deg);
}

#companyDeals {
  background: #fff; border-radius: 0px 0px 16px 16px;
  position: absolute;
  top:54px;
  height: calc(100% - 54px);
  left: 0;
  overflow: auto;
  padding-bottom: 100px !important;
}
#companyDeals li {display: none;}
#companyDeals li.active {display: block;}


button.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  height: auto;
  padding: 0;
  border: 1px rgb(255 255 255 / 20%) solid;
  color: #fff;
  background-color: #ccbcab;
}

button.products-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  height: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  border: 1px rgb(255 255 255 / 20%) solid;
  color: #fff;
  background-color: #ccbcab;
}

button.settings-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  height: auto;
  border: 1px rgb(255 255 255 / 20%) solid;
  color: #fff;
  background-color: #ccbcab;
  padding: 0;
}

button.contact-btn .icon {
  background: url("../svg/message.svg");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  background-size: 24px;
  padding-bottom: 18px;
  height: 40px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  }

      button.calculator-btn .icon {
        background: url("../svg/percent.svg");
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 8px;
        background-size: 24px;
        padding-bottom: 18px;
        height: 40px;
        width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0px;
        }

        button.products-btn .icon {
          background: url("../svg/products.svg");
          background-repeat: no-repeat;
          background-position: center;
          border-radius: 8px;
          background-size: 24px;
          padding-bottom: 18px;
          height: 40px;
          width: 50px;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-left: auto;
          margin-right: auto;
          margin-bottom: 4px;
          }

        button.settings-btn .icon {
          background: url("../svg/settings.svg");
          background-repeat: no-repeat;
          background-position: center;
          border-radius: 8px;
          background-size: 24px;
          padding: 0;
          height: 40px;
          width: 50px;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-left: auto;
          margin-right: auto;
          margin-bottom: 0px;
          }

     
          #buttonWrapper span.counter {width: 20px; height: 20px; font-weight: 600px; margin-left: 6px; display: flex; align-items: center; justify-content: center;border-radius: 8px; background: #00342c; color: #fff;}
          .buttonGroup input{display: none;}
          .buttonGroup button.active span.counter {
            background: #fff; color: #00342C;
          }

       

          .listObject {
            border: 0;  
            display: flex;
            justify-content: left;
            border-bottom: 1px #e8e8e8 solid;
            align-items: center;
            border-radius: 0 !important;
            letter-spacing: -0.02em !important;
            font-weight: 500 !important;
          }

          button.active .sum {opacity: 1;}
          .sumTableWrapper h2 {color: #fff; padding-bottom: 16px;}
          .sumTableWrapper {
            padding: 24px;
            background: #00342C;
            border-radius: 8px;
            width: 100%;
            max-height: fit-content;
          }
.sumTableWrapper small {font-size: 12px; text-align: center; padding-left: 32px; padding-right: 32px; padding-top: 12px; color: #B5CCCA; display: block;}
          .sumTable {width: 100%; border: 0 !important;}
          .sumTable tbody {border: 0 !important;}
          .sumTable tbody td {border-right: 0; width: 50%;}

          .error span{
            padding: 4px;
            border-radius: 4px;
            margin-top: 4px; display: block; font-weight: 400; color: #fff !important; font-size: 12px;
          }

          .faq.open #calc {
            max-height: fit-content;
            overflow: visible;
          }

          .faq.open #contactPersonBox {
            max-height: 508px;
          }

          .faq.open #customer {
            max-height: fit-content;
          }

          .faq.open #products {
            max-height: fit-content;
            overflow: auto;
          }

          .faq.open #attachments {
            max-height: fit-content;
            overflow: visible;
          }

      

          #seriesNumber {text-transform: uppercase;}

          #products {
            padding: 0 !important;
            position: relative;
          }

          

          #searchInput {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            margin-bottom: 10px;
          }
          .autocomplete-list {
            border: 1px solid #ddd;
            max-height: 200px;
            overflow-y: auto;
            position: absolute;
            background-color: #fff;
            width: 100%;
            z-index: 1000;
          }
          .autocomplete-item {
            padding: 10px;
            cursor: pointer;
          }
          .autocomplete-item:hover {
            background-color: #f0f0f0;
          }

          #productList li {
            padding-bottom: 0px;
          }

          #productList button {
            border: 0;
            border-bottom: 1px #e1e1e1 solid;
            border-radius: 0px;
            height: 80px;
          }
          #productList li .name {
            display: block;
            font-size: 16px;
            text-align: left;
          }

      

          #productList li .price {
            display: block;
            font-size: 12px;
            text-align: right;
            display: none;
          }

          #productList li .qty, #productList li .productRowPrice {
            font-size: 13px;
            text-align: left;
            display: block;
            padding-top: 0px;
            opacity: 0.8;
            font-weight: 300;
            color: rgba(0,52,52,0.6);
          }

          #productList button.active {
            border: 1px #000 solid;
          }

          #productClose, #shareClose {
            height: 100vh;
            width: 100%;
            opacity: 0;
            position: fixed;
            top: 0;
            left: 0;
            z-index: -1;
            transition: all 0.55s;
          }

          #productClose.active, #shareClose.active {
            display: block;
            z-index: 100;
            opacity: 1;
          }

       

          .totalCard {
            background: #00342D; 
            border-radius: 8px; 
            aspect-ratio: 16 / 9; 
            margin-bottom: 16px; 
            position: relative;
          }


          .content {
            position: absolute;
            top: 57px;
            left: 50%;
            transform: translateX(-50%);
            margin-left: auto;
            margin-right: auto;
            display: block;
            width: 100%;
            display: flex;
            justify-content: center;
            height: calc(var(--vh, 1vh)* 100 - 57px);
            overflow: auto;
            padding-top: 72px;
            padding-left: 6vw;
            padding-right: 6vw;
            padding-bottom: 0px;
            box-sizing: border-box;  
      
            
        }

         

          .resultList {
            position: absolute;
            top: 100%;
            left: 0;
            margin-top: 3px;
            width: 100%;
            z-index: 1;
            background-color: #fff;
            border-radius: 8px;
            border: 1px #e8e8e8 solid;
            display: none;
          }
          
          .resultList li label {padding-left: 0; padding-top: 4px;}

          .resultList li {
            cursor: pointer;
            list-style-type: none;
            border-bottom: 1px #e8e8e8 solid;
            background: url(../svg/briefcase.svg);
            background-repeat: no-repeat;
            background-position: center left 12px;
            background-size: 24px;
            height: 60px;
            display: flex;
    align-items: center;
    padding-left: 48px;

          }
          .resultList li:hover {background-color: #f9f9f9;}


          .resultList li label{margin: 0 !important;}

          .backgroundVideo {
            display: flex;
            align-items: center;
            border-bottom: 1px rgb(0 0 0 / 10%) solid;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1;
         
    
            height: 203px;
            background: #00342c;
          }

          .backgroundVideo video {opacity: 0.5; position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}

          .sectionheader {
            display: flex;
            align-items: center;
            box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
            -webkit-box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
            -moz-box-shadow: 0px 18px 40px -12px rgba(167, 132, 92, 0.30);
            position: absolute;
            top: 0;
            left: 50%;
            width: 100%;
            z-index: 1;
            background: #fff;
            transform: translateX(-50%);
            color: #00342c;
          }

          .secondarySectionHeader {
            display: flex;
            align-items: flex-end;
            position: absolute;
            top: 57px;
            left: 0%;
            width: 100%;
            z-index: 1;
 
    
  
            padding: 16px;

          }

          .sectionheader h1 {
            margin-left: auto;
            margin-right: auto;
            color: #0a0a0a;
        
            font-size: 18px;
            display: flex;  
          }

          .sectionheader span {height: 56px; display: flex; align-items: center;}



          .quotes, button, .faq-question, label {
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
         
          }




          /* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  width: 100%;
  margin-top: 22px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  position: relative;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card.active .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  color: black;
  background: #00342C;
  padding: 16px;
  border-radius: 8px;
}

/* Style the back side */
.flip-card-back {
  color: white;
  transform: rotateY(180deg);
    background: #00342C;
  padding: 16px;
  border-radius: 8px;
}

.justLine {
  border-bottom: 2px #ddd solid;
  width: 100%;
}

.buttonGroup2 input {display: none;}
.buttonGroup2 {display: flex;
border-radius: 8px 8px 0px 0px;
background: #fff;
min-width: 100%;
}

.buttonGroup2 span {min-height: 20px; display: flex; align-items: center;}

.buttonGroup2 button {
  border: 0;
  color: #00342C;
  background: none;
  float: left;
  height: 50px;
  padding-left: 12px;
  padding-right: 12px;
  outline: none;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  transition-timing-function: ease-in;
  font-size: 16px;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  transform: none !important;
  box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -webkit-box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
  -moz-box-shadow: 0px 18px 40px -12px rgba(167, 132, 92, 0.30);
  
}

li.info {border: 0; display: block !important; width: 100%;}
.message {background: #f9f9f9; padding: 16px; border-radius: 8px;}

.buttonGroup2 button span {display: block; font-size: 14px;}

.buttonGroup2 button.active {
  background: #002d26;
  color: #fff;
}

.kalkyl {width: 100%;}



.ansokan .kalkyl, .avtal .kalkyl, .ansokan .deleteCase, .avtal .deleteCase {
  display: none;
}

#sendingLoader {display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 126px;
  position: relative;
}

@media only screen and (min-width: 769px) {

  .saveProductLine,.deleteProductLine {
    position: relative !important;
    bottom: auto !important;
    width: 100% !important;
    left: auto !important;
  }

  .deleteProductLine {margin-top: 12px;}

  #productClose {
    background: rgb(0 0 0 / 50%);
  }

  .slideUp {
    background: #fff;
    border: 0;
    bottom: 0 !important;
    height: 100vh !important;
    border-radius: 0 !important;
    right: -500px;
    max-width: 500px;
    box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
    -webkit-box-shadow: 0px 18px 40px -12px rgb(167 132 92 / 30%);
    -moz-box-shadow: 0px 18px 40px -12px rgba(167, 132, 92, 0.30);
  }

  .slideUp.active {
    right: 0;
  }
 
}

@media only screen and (min-width: 769px) {
  #companyDeals {
    height: calc(100% - 80px) !important;
  }


}


@media only screen and (max-width: 500px) {
  .content {
    padding-left: 16px;
    padding-right: 16px;
 
  }
}


@media only screen and (max-width: 768px) {

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .sumTableWrapper {max-width: 100%;}

  #contactList {margin-bottom: 24px;}

  .totalCard {
    aspect-ratio: auto;
    min-height: 100px;
  }

  .desktopButtons {display: none;}
  .mobileButtons {display: flex;}
  .content {
    padding-top: 10px;
    padding-bottom: 0;
  }
  .grid50Desktop {
    display: block; 
  }
  .grid50Desktop .marginTop24 {
    margin-top: 24px;
  }

  .grid50DesktopFlex {
    display: block;
  }

  #dealsList,#widgets,#contactList {max-width: 100%;}

  #paymentMethodsColumns {
    flex-direction: column;
    gap: 0px !important;
  }

  #leasingColumn, #bnplColumn {
    flex: 1 1 100%;
    width: 100%;
  }

  #bnplColumn {
    margin-top: 32px;
  }
}


/* Chestnut -- Baseframe */

/* Inputs and labels */

input#customerName, 
input#customerCompanyId, 
input#customerAddress, 
input#customerAddress2, 
input#customerZip, 
input#customerCity, 
input#externalRef, 
input#name,
input#price {
  font-family: 'TT Norms Pro' !important;
  padding: 8px 12px;
  font-weight: 450;
  letter-spacing: -0.01em;
  height: 52px;
}

select#userMonths,
select#userResidualPercent,
select#userDownPaymentPercent {
  font-family: 'TT Norms Pro' !important;
  padding: 8px 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  height: 52px;
}

label {
  text-transform: none !important;
  letter-spacing: -0.015rem !important;
  font-size: 14px;
  font-weight: 450 !important;
  text-transform: none;
  color: rgba(0, 52, 45, 0.9) !important;
  opacity: 1;
  margin-bottom: 3px;
  padding-left: 0 !important;
}


/* End Inputs */

/* Desktopnav */

.desktopNav {
  padding-top: 120px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.desktopNav button {
  border-bottom: 0 !important;
}

.desktopNav button.active {
  background: #003F37;
}


/* End Desktopnav */

.sectionheader .gap4 {
  display: flex;
  margin: 0 !important;
}

.sectionheader .settings-btn, .sectionsheader .contact-btn {
  display: flex;
}

.sectionheader .goback {
  background-position: -10px;
}

.sectionheader h1 {
  display: flex;
  align-items: center;
  font-weight: 500 !important;
  letter-spacing: -0.015rem;
  color: #00342D;
}

.sectionheader h1 sl-badge::part(base) {
  margin-top: 0 !important;
}

.sectionheader .contact-btn {
  display: none !important;
}

.sectionheader #companyName {
  display: flex;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: -0.015rem;
}

.sectionheader #seriesNumber {
  display: flex;
  font-weight: 500 !important;
  letter-spacing: -0.015rem;
}

.desktopButtons {
  margin-top: 20px !important;
}

.desktopButtons button {
  height: 65px !important;
  font-weight: 600 !important;
  font-size: 18px;
}

/* Chestnut -- Baseframe Views */

.tab {
  padding: 0 !important;
  overflow: visible !important;
  background: #FAF3ED !important;
}

.tab .tabHeader { 
  padding-left: 50px !important;
  padding-right: 50px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 90px;
}

.tab .tabHeader h2 {
  letter-spacing: -0.025em;
  font-weight: 500;
}

.tab .tabHeader button {
  justify-content: flex-end;
}

.tab .tabHeader button svg {
  width: 24px;
}

.tab .tabContent { 
  padding: 0px 50px 80px 50px !important; 
}

/* Chestnut -- Baseframe Slideins */

.slideIn {

}

.slideIn .sectionheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 50px;
  padding-right: 50px;
  min-height: 90px;
}

.slideIn .sectionheader button {
  display: flex; 
  justify-content: flex-end;
}

.slideIn .sectionheader button.share {
  background-position: center right 0px;
}

.slideIn .content {
  top: 90px;
  padding: 36px 50px 80px 50px !important; 
}

@media only screen and (min-width: 1466px) {
  .tab .tabContent, .slideIn .content {
    max-width: 1920px;
  }
}

/* Chestnut -- Baseframe/mobile */

@media only screen and (max-width: 820px) {

  .tab {
    overflow: auto !important;
  }

  .tab .tabHeader {  
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  .tab .tabHeader  {
    min-height: 60px;
  }  
  
  .tab .tabHeader h2 {
    font-size: 18px;
    letter-spacing: -0.025em;
    font-weight: 500;
  }
  
  .tab .tabContent { 
    padding: 0 12px 12px 12px !important; 
  }

  .slideIn {

  }

  .slideIn .sectionheader {
    display: flex;
    min-height: 60px;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .slideIn .tabHeader h2 {
    font-size: 18px;
  }

  .slideIn .content {
    top: 60px;
    padding: 12px 12px 12px 12px !important;
  }

}

/* Chestnut -- Baseframe/Subheaders */

.tab .content .tabContentHeader, .slideIn .content  .tabContentHeader {
  display: flex;
  flex-direction: row;
  background: #FFFFFF;
  padding: 1rem;
  border-radius: 8px;
}

.tab .content .tabContentHeader .searchWrapper {
  display: flex;
  width: 40rem;
}

.tab .content .tabContentHeader .searchWrapper #companySearch {
  width: 100%;
}

.tab .content .tabContentHeader .cta {
  width: 25rem;
  max-width: 18rem;
}

@media only screen and (max-width: 860px) {
  
  .tab .tabContent .tabContentHeader, .slideIn .content  .tabContentHeader {
    flex-direction: column;
  }

  .tab .tabContent .tabContentHeader .searchWrapper {
    display: flex;
    width: 100%;
  }

  .cta {
    width: 100%;
    max-width: 100% !important;
  }
}


/* Chestnut -- Deals */

#deals .content {
}

#deals .content .grid50DesktopFlex {
  justify-content: center;
}

#deals .content .kalkyl {

}

#deals .content #contactList {
  display: none;
  border-radius: 16px;
  margin-bottom: 12px;
}

#deals .content label {
  text-transform: none !important;
  letter-spacing: -0.015rem !important;
  font-size: 14px;
  font-weight: 450 !important;
  text-transform: none;
  color: #00342D;
  opacity: 1;
  margin-bottom: 3px;
  padding-left: 0 !important;
}

#deals .content .faq-container {

}

#deals #phaseInfo.phaseInfoBanner {
  background-color: #f0f5f5;
  border-left: 3px solid #00342D;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #02342c;
}

#deals .content .faq-container .faq, #deals .content .faq {
  border-radius: 8px;
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.09);
}

#deals .content .faq-container .faq.open {
}

#deals .content .faq-container .faq .faq-question, #deals .content .faq {
  min-height: 65px;
}

#deals .content .faq-container .faq .faq-question h3, #deals .content .faq-question h3 {
  letter-spacing: -0.02em;
  color: rgba(0,52,45,1.0);
  opacity: 1 !important;
  font-size: 19px;
}

#deals .content .faq-container .faq .faq-question .icon, #deals .content .faq-question .icon {
  width: 36px;
}

#deals .content .faq-container .faq .faq-answer {}

#deals .content .faq-container .faq .faq-answer .marginTop24 {
  margin-top: 16px;
}

#deals .content #sumTableProductList, #deals .content #productList li button {
  min-height: 100px;
  border-radius: 0 !important;
}

#deals .content #productList .smallImageWrapper {
  position: relative;
  height: 70px;
  width: 70px;
  margin-right: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 0 !important;
  background: #f2f4f4 !important;
}

#deals .content #productList .smallImageWrapper .handleIcon {
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border: 0 !important;
}

#deals .content #productList .smallImageWrapper .handleIcon svg {
  width: 10px;
  height: 10px;
}

#deals .content #productList .smallImageWrapper .smallImage {
  aspect-ratio: 1 / 1;
  opacity: 1;
  border: 0 !important;
  border-radius: 0 !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#deals .content #productList .name {
  opacity: 1 !important;
  font-weight: 500;
  font-size: 16px !important;
  letter-spacing: -0.02em !important;
}

#deals .content #productList .smallWrapper {
  gap: 10px;
}

#deals .content #productList .qty,#deals .content #productList .productRowPrice {
  font-size: 14px;
  font-weight: 500;
  margin-top: 0.2rem;
}

#deals .content .faq-answer #productList .name {
  color: rgba(0,52,52,1);
}

#deals .content .sumTableWrapper #productList .name {
  color: #FFFFFF;
}

#deals .content .sumTableWrapper #productList .qty,#deals .content .sumTableWrapper #productList .productRowPrice  {
  font-size: 13px;
  margin-top: 0.2rem;
  color: rgba(0, 52, 52, 0.6) !important;
}

#deals .content .sumTableWrapper {
  padding-top: 32px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 32px;
  border-radius: 16px;
}

#deals .content .sumTableWrapper .subTableHeader h2 {
  font-size: 24px;
  padding-bottom: 20px;
}

#deals .content .sumTableWrapper .sumTable tr:first-child td {
  padding-bottom: 0;
}

#deals .content .sumTableWrapper .sumTable tr:first-child td {
  border-top: 0 !important;
}

#deals .content .sumTableWrapper .sumTable tr td:nth-child(1) {
  font-weight: 350 !important;
}

#deals .content .sumTableWrapper .sumTable tr td:nth-child(2) {
  color: #FFFFFF !important;
  font-weight: 400;
  font-size: 15px;
  text-align: right;
}

#deals .content .sumTableWrapper .sumTable tr:last-child td {

}

#deals .content .sumTableWrapper .sumTable tr:last-child td:nth-child(1) {
}


#deals .content .sumTableWrapper .kalkyl {

}

#deals .content .sumTableWrapper .kalkyl .flex {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

#deals .content .sumTableWrapper .whiteghost {
  border: 0 !important;
}


#deals .content .faq-answer #paymentMethodsColumns {
  display: flex;
  flex-direction: column;
  gap: 0px !important;
  margin-top: 0 !important;
}

#deals .content .faq-answer #paymentMethodsColumns #bnplColumn:before {
  display: flex;
  content: ' ';
  border-bottom: 1px solid #e6e6e6;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#deals .content .faq-answer #paymentMethodsColumns #leasingColumn, 
#deals .content .faq-answer #paymentMethodsColumns #bnplColumn {
  display: flex;
  flex-direction: column;
  min-width: 100% !important;
  flex: auto !important;
  margin: 0 !important;
}

#deals .content .faq-answer #paymentMethodsColumns #leasingToggleRow, #deals .content .faq-answer #paymentMethodsColumns #bnplToggleRow {
  display: flex;
  height: 26px;
}

#deals .content .faq-answer #paymentMethodsColumns .grid50, #payment-methods .content .buttonMenu .grid50  {
  display: flex;
  margin-bottom: 0 !important;
  width: 100%;
  justify-content: flex-start;
  height: 26px;
  padding: 0 !important;
}

#payment-methods .content .buttonMenu .grid50.paddingTop24 {
  margin-top: 1.5rem;
}

#deals .content .faq-answer #paymentMethodsColumns .grid50 label, #payment-methods .content .buttonMenu .grid50 label  {
  display: flex;
  height: 100%;
  align-items: center;
  margin: 0 !important;
  font-size: 0.975rem;
  color: rgba(0,52,45,1.0);
}

#deals .content .faq-answer #paymentMethodsColumns .grid50 label:first-child, #payment-methods .content .buttonMenu .grid50 label:first-child {
  display: flex;
  align-items: center;
  padding: 0 !important;
  width: 60%;
}

#deals .content .faq-answer #paymentMethodsColumns .switch, #payment-methods .content .buttonMenu .grid50 .switch {
  cursor: pointer;
  position: relative;
  display: flex;
  width: 40%;
  justify-content: flex-end;
}

#deals .content .faq-answer #paymentMethodsColumns .switch .slider, #payment-methods .content .buttonMenu .grid50 .switch .slider {
  top: 0;
  right: 0;
  left: auto;
  bottom: auto;
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings, #payment-methods .content .buttonMenu #leasing-settings,
#deals .content .faq-answer #paymentMethodsColumns #bnpl-settings, #payment-methods .content .buttonMenu #bnpl-settings {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  background: #f2f4f4;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

#payment-methods .content .buttonMenu #bnpl-settings .paddingTop24:first-child > div {
  font-size: 14px;
  line-height: 1.4em;
}

#payment-methods .content .buttonMenu #bnpl-settings .paddingTop24:last-child > div {
  flex-direction: column;
  padding: 0 !important;
  font-size: 16px !important;
  letter-spacing: -0.015rem !important;
  font-weight: 600;
  color: #00342C;
  background-color: transparent !important;
}

#payment-methods .content .buttonMenu #bnpl-settings .paddingTop24:last-child > div span {
  font-size: 14px;
  line-height: 1.4em;
  font-weight: 400;
  margin-top: .75rem;
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings {
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings > div, 
#payment-methods .content .buttonMenu #leasing-settings > div,
#payment-methods .content .buttonMenu #bnpl-settings > div {
  margin: 0 !important;
  padding: 0 !important;
}

#payment-methods .content .buttonMenu #leasing-settings > div,
#payment-methods .content .buttonMenu #bnpl-settings > div {
  margin-top: 1.5rem !important;
}

#payment-methods .content .buttonMenu #leasing-settings > div:first-child,
#payment-methods .content .buttonMenu #bnpl-settings > div:first-child {
  margin-top: 0 !important;
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings .buttonGroup {
  border: 0;
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings .buttonGroup button {
  display: flex;
  border-radius: 0 !important;
  min-height: 60px !important;
  height: auto !important;
  border-color: #f2f4f4 !important;
  border-width: 1px !important;
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings .buttonGroup button:first-child {
  border-radius: 8px 0 0 8px !important;
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings .buttonGroup button:last-child {
  border-radius: 0 8px 8px 0 !important;
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings .downPaymentPercent #downPayment, 
#payment-methods .content .buttonMenu input,
#payment-methods .content .buttonMenu select {
  border: 0 !important;
  padding: 8px 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings .downPaymentPercent #downPaymentSlider {
  
}

#deals .content .faq-answer #paymentMethodsColumns #leasing-settings #externalRef {
  border: 0 !important;
}

#deals .content .faq-answer #paymentMethodsColumns #bnpl-settings > div {
  flex-direction: column;
  padding: 0 !important;
  font-size: 16px !important;
  letter-spacing: -0.015rem !important;
  font-weight: 600;
  color: #00342C;
  background-color: transparent !important;
}

#payment-methods .content .buttonMenu #bnpl-settings > div > div {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  border-radius: 0 !important;
}

#deals .content .faq-answer #paymentMethodsColumns #bnpl-settings strong, #payment-methods .content .buttonMenu #bnpl-settings strong {
  display: flex;
  width: 100%;
  text-transform: none !important;
  letter-spacing: -0.015rem !important;
  font-size: 14px;
  font-weight: 450 !important;
  text-transform: none;
  color: rgba(0, 52, 45, 0.9) !important;
  opacity: 1;
  padding-left: 0 !important;
  margin-bottom: 1rem;
}

#deals .content .faq-answer #paymentMethodsColumns #bnpl-settings, 
#deals .content .faq-answer #paymentMethodsColumns #bnpl-settings span,
#payment-methods .content .buttonMenu #bnpl-settings,
#payment-methods .content .buttonMenu #bnpl-settings span {
  display: inline;
}

#payment-methods .content .buttonMenu {
  padding: 24px 20px !important;
}

/* Chestnut -- Deals 3.0 status */

#deals-right #phaseInfo {
  display: none !important;
}

#deals #phaseInfo.phaseInfoBanner {
  margin-top: 24px;
  background: #00342D;
  border-radius: 16px;
  padding: 2.5rem 1.25rem;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #FFFFFF;
}

#deals-right #statusCardWrapper {
  display: flex;
  flex-direction: column;
  background: #00342D;
  box-sizing: border-box;
  border-radius: 16px;
  padding: 2.5rem 1.25rem;
  row-gap: 1.25rem;
  margin-bottom: .5rem;
  transition: all .25s ease-in;
  width: 100%;
  max-width: 400px;
}

@media only screen and (max-width: 820px) {
  #deals-right {
    width: 100%;
    min-width: 0;
  }
    #deals-right #statusCardWrapper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    }
}

#deals-right .statusCardHeader {
  position: relative;
  display: flex;
  flex-direction: row;
  column-gap: 1rem;
}

#deals-right .statusCardHeader .textWrapper {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  order: 1;
}

#deals-right .statusCardHeader .statusCardSub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: -0.02em;
}

#deals-right .statusCardHeader .statusCardTitle {
  font-size: 40px;
  color: rgba(255,255,255,1);
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: -0.02em;
}

#deals-right .statusCardHeader .imageWrapper {
  position: relative;
  display: flex;
  order: 2;
  margin-left: auto;
}

#deals-right .statusCardHeader .statusCardSymbol {
  position: relative;
  top: -.75rem;
  aspect-ratio: 1 / 1;
  width: 4rem;
  max-height: 4rem;
  border-radius: 100%;
  background: rgba(0,0,0,0.2);
}

.statusCardSymbol svg {
  fill: #DEF0EE;
  stroke: #DEF0EE;
}

#deals-right .statusCardBody .statusCardBodyMessage {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

#deals-right .statusCardBody .statusCardBodyMessage p {
  font-size: 16px;
  line-height: 1.5em;
  color: rgba(255,255,255,0.75);
}

#deals-right .statusCardBody .statusCardBodyMessageList li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  flex-direction: row;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 1rem 0;
  column-gap: 1.25rem;
}

#deals-right .statusCardBody .statusCardBodyMessageList li:last-child {
  border-bottom: 0 !important;
}

#deals-right .statusCardBody .statusCardBodyMessageList li.inactive {
  opacity: 0.5;
}

#deals-right .statusCardBody .statusCardBodyMessageList li .label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.75);
}

#deals-right .statusCardBody .statusCardBodyMessageList li .value {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,1.0);
}

#deals-right .supplierDeliveryControls {
  box-sizing: border-box;
  margin: 0 0 24px;
  width: 100%;
  max-width: 100%;
  padding: 16px;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  min-width: 0;
}

#deals-right .supplierDeliveryControls label {
  display: block;
  margin-bottom: 8px;
  color: inherit !important;
  font-size: 14px;
  font-weight: 600;
}

#deals-right .supplierDeliveryControls input,
#deals-right .supplierDeliveryControls button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: 8px;
  color: inherit;
  font: inherit;
}

#deals-right .supplierDeliveryControls input {
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color-scheme: dark;
}

#deals-right .supplierDeliveryControls input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  box-sizing: border-box;
}

/* Touch devices show no native calendar icon, so draw our own; desktop keeps its native one.
   flex + centered: with appearance reset, iOS otherwise top-aligns the value text. */
@media (hover: none) and (pointer: coarse) {
  #deals-right .supplierDeliveryControls input[type="date"] {
    display: flex;
    align-items: center;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
  }

  /* Real phones render no native indicator; this only affects desktop Chrome's phone emulation. */
  #deals-right .supplierDeliveryControls input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
  }
}

#deals-right .supplierDeliveryControls input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
}

#deals-right .supplierDeliveryControls [hidden] {
  display: none !important;
}

#deals-right .supplierDeliveredStatus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-top: 16px;
}

#deals-right .supplierDeliveredCopy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#deals-right .supplierDeliveredText {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

#deals-right .supplierDeliveredText strong {
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#deals-right .supplierDeliveredText span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

#deals-right .supplierDeliveryControls button.supplierDeliveryUndoButton {
  flex: 0 0 auto;
  width: auto;
  min-width: 88px;
  min-height: 36px;
  margin: 0;
  padding: 6px 12px;
  border-color: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  font-size: 14px;
}

#deals-right .supplierDeliveryControls button {
  margin-top: 16px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid currentColor;
  white-space: normal;
}

#deals-right .supplierDeliveryControls button:disabled {
  opacity: 0.6;
  cursor: default;
}

#deals-right .supplierDeliveryControls p {
  margin: 8px 0 0;
  color: inherit;
  font-size: 13px;
  overflow-wrap: anywhere;
}

#deals-right .supplierDeliveryControls p:empty {
  display: none;
}

#deals-right .statusCardFooter {
  margin-top: 0.75rem;
}

#deals-right .statusCardFooter .statusCardFooterActions .cta {
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  height: 60px;
  min-height: 60px;
  font-size: 18px;
  width: 100%;
  border-radius: 8px;
  letter-spacing: -0.02em !important;
  font-weight: 600 !important;
  text-decoration: none;
  margin: 0 !important;
  padding: 0 !important;
}

.statusToggleInput {
  display: none;
}

.statusCardTimelineWrapper {
  position: relative;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: 0.2s ease;
  background: #0D3E38;
  border-radius: 16px;
  max-width: 100%;
}

.statusToggleInput:checked ~ .statusCardTimelineWrapper {
  max-height: 500px;
  opacity: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.statusCardTimelineWrapper .statusCardTimelineInnerWrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  min-width: 0;
  max-width: 100%;
}

.statusCardTimelineInnerWrapper::-webkit-scrollbar {
  display: none;
}

.statusCardTimelineWrapper .statusCardTimelineInnerWrapper .statusCardTimeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: max-content;
  padding: 24px 32px;
  margin: 0;
  list-style: none;
}

.statusCardTimeline li {
  position: relative;
  flex: 0 0 140px;
  text-align: center;
  padding-top: 40px;
  scroll-snap-align: center;
}

.statusCardTimeline li::after {
  content: "";
  position: absolute;
  top: 12px;
  left: -50%;
  width: 100%;
  height: 4px;
  background: #234C47;
  z-index: 1;
}

.statusCardTimeline li.active::after {
  background: linear-gradient(-90deg, rgba(35,76,71,1) 50%, rgba(222,240,238,1) 100%);
}

.statusCardTimeline li:first-child::after {
  display: none;
}

.statusCardTimeline li.checked .symbol {
  background: #DEF0EE;
  border: 4px solid #DEF0EE;
  width: 24px;
  height: 24px;
}

.statusCardTimeline li.checked .symbol:after {
  content: '✓';
  line-height: 1.2em;
  color: #022A24;
}

.statusCardTimeline li.active .symbol {
  background: #234C47;
  border: 4px solid #234C47;
  width: 24px;
  height: 24px;
}

.statusCardTimeline li.upcoming .symbol {
  background: #0D3E38;
  border: 4px solid #234C47;
  width: 24px;
  height: 24px;
}

.statusCardTimeline li.checked::before {
  background: #DEF0EE;
}

.statusCardTimeline li.checked::after {
  background: #DEF0EE;
}

.statusCardTimeline li:first-child::before {
  display: none;
}

.statusCardTimeline .symbol {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  z-index: 2;
}

.statusCardTimeline .label {
  display: block;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.statusCardTimeline .date {
  display: block;
  font-size: 12px;
  opacity: 0.6;
  margin-top: 4px;
}

.statusCardTimeline li.upcoming .label {
  color: rgba(255,255,255,0.5);
}

.statusCardTimelineInnerWrapper {
  scroll-behavior: smooth;
  cursor: grab;
  -webkit-user-drag: none;
}

.statusCardTimelineInnerWrapper.dragging {
  cursor: grabbing;
}

.statusCardTimelineInnerWrapper.dragging,
.statusCardTimelineInnerWrapper.dragging * {
  user-select: none;
}

.statusCardTimelineWrapper::before,
.statusCardTimelineWrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 3;
  pointer-events: none;
}

.statusCardTimelineWrapper::before {
  left: 0;
  background: linear-gradient(to right, #0D3E38, transparent);
}

.statusCardTimelineWrapper::after {
  right: 0;
  background: linear-gradient(to left, #0D3E38, transparent);
}

.no-select {
  user-select: none !important;
}

/* End Chestnut -- Deals 3.0 - Status */

/* Chestnut -- Deals 2.0 */

#deals-right #cardWrapper {
  background: #00342D;
  border-radius: 16px;
  padding: 2.5rem 1.25rem;

}

@media only screen and (max-width: 820px) {
  #deals-right #cardWrapper {
    min-width: 100%;
  }
}

#deals-right #cardWrapper .cardHeader {
  display: flex;
  justify-content: flex-start !important;
  align-items: flex-start;
  flex-direction: column;
  row-gap: 1rem;
  padding: 0 0 0.25rem 0;
  height: auto !important;
  margin-top: 0;
}

#deals-right #cardWrapper .cardHeader #customerName {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  padding-bottom: 0.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

#deals-right #cardWrapper .cardHeader #calculatorMonthly {
  font-size: 40px;
  color: rgba(255,255,255,1);
  padding-bottom: 0.25rem;
  font-weight: 500 !important;
  letter-spacing: -0.02em;
}

#deals-right #cardWrapper .cardHeader #calculatorMonthly:after {
  content: ' /mån';
}

#deals-right #cardWrapper .cardBody {
  padding: 0.35rem 0 0 0;
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper {
  padding: .25rem 0;
  background: rgba(255,255,255,0.00);
  border-radius: 8px;
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper.active .box {
  display: flex;
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper .rowButton {
  color: rgba(255,255,255,0.75);
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper #productList li {
  color: rgba(255,255,255,1); 
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper #productList li button {
  display: flex;
  width: 100%;
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper #productList li .smallImageWrapper {
  margin-right: 1rem !important;
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper #productList li .name {
  color: rgba(255,255,255,1);
  font-weight: 500 !important;
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper #productList li .smallWrapper {
  display: flex;
  width: 100%;
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper #productList li .qty {
  color: rgba(255,255,255,0.75) !important;
}

#deals-right #cardWrapper .cardBody .cardProductListWrapper #productList li .productRowPrice {
  color: rgba(255,255,255,0.75) !important;
}


#deals-right #cardWrapper .cardBody .cardProductListWrapper #productList li .handleIcon {
  display: none;
}

#deals-right #cardWrapper .cardBody .detailsWrapper {
  display: flex;
  flex-direction: column;
  padding: 1rem 0 1.25rem 0;
  row-gap: 0;
}

#deals-right #cardWrapper .cardBody .detailsWrapper .detailsRow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 1rem;
  padding-top: 1rem;
}

#deals-right #cardWrapper .cardBody .detailsWrapper .detailsRow:last-child {
  border-bottom: 0;
}

#deals-right #cardWrapper .cardBody .detailsWrapper .detailsRow .label, #deals-right #cardWrapper .cardBody .detailsWrapper .detailsRow .value {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,1.0);
}

#deals-right #cardWrapper .cardBody .detailsWrapper .detailsRow .label {
  color: rgba(255,255,255,0.75);
}

#deals-right #cardWrapper .cardBody .detailsWrapper .detailsRow .value  {
  font-weight: 500 !important;
}

#deals-right #cardWrapper .cardFooter {
  padding: 0 0 0 0;
}

#deals-right #cardWrapper .cardFooter button {
  border-radius: 8px !important;
  height: 65px !important;
  margin-top: 0 !important;
}

#deals-right #cardWrapper .cardFooter small {
  font-size: 13px !important;
  line-height: 1.4em !important;
  color: rgba(255,255,255,0.75);
  text-align: center;
}

#deals .content .deleteCase {
  margin-top: 0px;
}

#deals .content .deleteCase button, .deleteProduct button {
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
}

/* Attachments */
.attachmentsDropzone {
  border-radius: 8px;
  padding: 60px 30px;
  text-align: center;
  cursor: pointer;
  color: #4a7a72;
  font-size: 14px;
  display: flex;
  font-weight: 400;
  margin-top: 0.5rem;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: all 0.15s, border-color 0.15s;
  background: #f2f4f4;
}
.attachmentsDropzone:hover, .attachmentsDropzone.dragover {
  background: #eef5f4;
  border-color: #00342D;
  color: #00342D;
}
.attachmentsList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.attachmentItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  border-radius: 8px;
  padding: 0 1.25rem;
  background: #f2f4f4;
  transition: background .15s ease-in-out; 
}

.attachmentItem:first-child {
  margin-top: 1rem;
}

.attachmentItem:hover {
  background: #eef5f4;
}

.attachmentItem.uploading {
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  border-radius: 8px;
  padding: 0 1.25rem;
  min-height: 60px;
  background: #f2f4f4;
  transition: background .15s ease-in-out; 
}
.attachmentItem.error .attachmentStatus {
  color: #c0392b;
}
.attachmentItem .attachmentName {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  color: #00342D;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 8px;
}
.attachmentItem .attachmentName:hover {
  text-decoration: underline;
}
.attachmentItem .attachmentStatus {
  font-size: 13px;
  color: #666;
}
.attachmentItem .attachmentDelete {
  background: none;
  border: none;
  color: #00342D;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  padding-right: 16px;
  padding-left: 16px;
  width: 30px;
  transition: opacity .15s ease-in-out;
}

.attachmentItem .attachmentDelete:hover {
  opacity: 0.5;
}


/* Chestnut -- Calculator */

#calculator .content {
  padding-top: 0 !important;
}

#calculator .content .calculatorInner {
  display: flex;
  flex-direction: column;
  width: 42rem;
  background: transparent;
  padding: 0;
  padding-top: 24px;
  padding-bottom: 24px !important;
  border-radius: 16px;
}


#calculator .content .calculatorInner label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px;
  font-weight: 450 !important;
  margin-bottom: 5px;
  color: #00342D !important;
  letter-spacing: -0.015rem !important;
  opacity: 1 !important;
}

#calculator .content .calculatorInner .monthlyResult {

}

#calculator .content .calculatorInner .cta {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px; 
  min-height: 60px;
}

@media only screen and (max-width: 768px) {
  #calculator .content .calculatorInner .monthlyResult {
    margin-top: 32px;
    padding-bottom: 24px;
  }
}

#calculator .content .calculatorInner .monthlyResult div {
  background: transparent !important;
  color: rgba(0,52,52,1) !important; 
  padding: 0 !important;
}

#calculator .content .calculatorInner .monthlyResult div span {
  color: rgba(0,52,52,1) !important; 
  font-size: 36px !important;
}

#calculator .content .calculatorInner .grid50Desktop {

}

#calculator .content .maxWidth1200 {
  width: 100%;
  top: 0;
}


/* Petri -- Merged from index.php */


#sendApplicationBtn, #shareApplicationBtn {opacity: 0.5;}
#sendApplicationBtn.active, #shareApplicationBtn.active {opacity: 1;}
.whiteCtaOutline {
  border: 1px #fff solid;
  color: #fff;
 }
.ansokan .share {
  display: none;
}

body {
  margin: 0;
  width: 100%;
  display: table;
padding: 0;
min-height: 100vh;
position: absolute;
top: 0;
left: 0;
}

html {
  background: #F9F2EC;
  font-family: 'TT Norms Pro', sans-serif !important;
  margin: 0;
  overflow: hidden !important;
}
 
.slideIn {
position: absolute;
}

.deleteCase button, .deleteProduct button {
border: 0;
}

.smallWrapper {
  display: flex;
  gap: 16px;
  padding-top: 2px;
}


/* Petri 2025-04-02 Modifierad och tillagd kod */

.sortable-chosen {
  background: #ddd;
}


.mobileNav {
position: fixed; bottom: 0; left: 0; width: 100%; background: #F9F2EC;
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;

border-top: 1px solid rgba(0, 52, 45, 0.15) !important;

}
.mobileNav .menu {
display: flex;
}
.mobileNav .menu button {
border: 0;
font-size: 11px;
color: #000;
opacity: 0.7;
width: 66px;
text-align: center;
padding: 0;
}

.mobileNav .menu button svg {
filter: grayscale(1);
}

.mobileNav .menu button.active  {
opacity: 1;
color: #023433;
}
.mobileNav .menu button.active svg {
filter:none;
}

.mobileNav .menu button span {
display: block;
padding-top: 4px;
}

.desktopNav .menu {
width: 100%;
}

.desktopNav {
width: 312px;
position: fixed;
left: 0;
top: 0;
height: 100vh;
background: #02342c;
z-index: 10000;
padding: 16px;
}

.desktopNav button {display: flex; align-items: center; width: 100%; min-width: 100%; gap: 10px; margin-bottom: 6px; margin-top: 6px; border: 0; border-radius: 0; color: #f9f2ec;
border-bottom: 1px rgb(255 255 255 / 10%) solid; opacity: 0.7;
}

.desktopNav .menu button svg {
filter: grayscale(1);
}

.desktopNav .menu button.active  {
opacity: 1;
color: #f9f2ec;
}
.desktopNav .menu button.active svg {
filter:none;
}


.mobileNav {
display: none;
}

.desktopNav {
display: flex;
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
#widgets {
  max-width: 312px;
}
}
@media only screen and (min-width: 769px) {
  .mobile {display: none !important;}
}
@media only screen and (max-width: 768px) {

  .desktop {display: none !important;}

  .mobileNav {
  display: flex;
  }

  .desktopNav {
  display: none;
  }

}

@media only screen and (min-width: 768px) {
section {
  margin-left: 0px;
  width: calc(100%) !important;
  padding: 32px !important;
}

#importProducts {padding-left: 0;}

.slideUp {
margin-left: 0;
z-index: 100000;

}


.tabHeader {padding-top: 0 !important;}
}

.tab {
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: auto;
display: none;
background: #F9F2EC;
transition: all 0.35s;
position: fixed;
z-index: 100;
padding-left: 16px;
padding-right: 16px;
opacity: 0;
}

.tab.active {
display: block;
opacity: 1;
}

.tabHeader {
display: flex;
align-items: center;
padding-top: 16px;
padding-bottom: 16px;
}

.tabHeader button {
margin-left: auto;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
border: 0;
}

.tabHeader h2 {
font-size: 32px;
}

.addProduct {
background-size: 32px;
}

.tabContent {
display: block;
max-width: 100%;
}


.rightColumn {
max-width: 400px; width: 100%;
}


.grid50DesktopFlex {
gap: 24px;
}



/* Chestnut -- deals-list */

#dealsList {
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.09);

}

#deals-list .tabContent {
}

#deals-list .tabContent .totalCard {
  display: flex;
  min-height: 27vh !important;
  border-radius: 16px !important;
  margin-bottom: 12px !important;
  margin-top: 14px !important;
  max-width: 100% !important;
  background: linear-gradient(-45deg, #00342D, #003434, #006A59, #00342D, #DBC8A7);
	background-size: 400% 400%;
	animation: gradient 25s ease infinite;
}

#deals-list .tabContent .totalCard .cardHeader.mobile #companyName {
  font-size: 17px !important;
  letter-spacing: -0.02em;
  font-weight: 500;
}

@media only screen and (min-width: 1080px) {
  #deals-list .tabContent .totalCard { 
    min-height: 20vh !important; 
    margin-top: 0 !important;
  }
}

#deals-list .tabContent .totalCard label {
  position: relative;
  top: 24px !important;
  left: 20px !important;
  text-transform: capitalize !important;
  letter-spacing: 0 !important;
  font-size: 16px;
  font-weight: 500 !important;
  color: rgba(255,255,255,1) !important;
  width: 100%;
}

#deals-list .tabContent .totalCard #sumCurrency {
font-size: 52px; 
letter-spacing: -0.125rem;
bottom: 24px !important;
left: 20px !important;
font-weight: 500;
}

#deals-list .tabContent .buttonGroup2 {
border-radius: 16px 16px 0 0 !important;
min-height: 52px;
}

#deals-list .tabContent .buttonGroup2 .justLine {
display: none !important;
}

#deals-list .tabContent sl-tab-group {
width: 100%;
}

#deals-list .tabContent sl-tab-group::part(nav) {
padding: 0 !important;
}

#deals-list .tabContent sl-tab {
width: 33.3332%;
}

#deals-list .tabContent sl-tab::part(base) {
display: flex;
align-items: center;
justify-content: center;
color: rgba(0,52,45,0.75);
min-height: 60px !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
font-size: 14px !important;
letter-spacing: -0.3px;
font-weight: 500 !important;
border-radius: 0;
}

@media only screen and (min-width: 1080px) {
  #deals-list .tabContent sl-tab::part(base) {
    min-height: 70px !important;
    font-size: 16px !important;
  }
}

#deals-list .tabContent sl-tab[active]::part(base) {
color: rgba(0,52,45,1.0);
}

#deals-list .tabContent #buttonWrapper span.counter {
  display: flex;
  background: #E5EAEA;
  color: #00342D;
  min-width: 26px !important;
  height: 22px !important;
  margin-left: 6px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

#deals-list .tabContent sl-tab[active] span.counter {
  background: rgba(0,52,45,1) !important;
  color: #FFFFFF !important;
}

#deals-list .subFilter {
  padding: 1rem 1rem 1rem 1rem;
  background: #FFFFFF;

}

#deals-list .subFilterInner {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.5rem;
}

#deals-list .subFilterInner .subFilterButton {
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0;
  border-radius: 4px !important;
  width: auto !important;
  padding: 0 0.5rem;
  border: 1px #E5EAEA solid;
  gap: 0.15rem;
}

#deals-list .subFilterInner .subFilterButton#contracts-all, 
#deals-list .subFilterInner .subFilterButton#quotes-all,
#deals-list .subFilterInner .subFilterButton#applications-all {
  margin-right: auto;
}

#deals-list .subfilterInner .subfilterButton.active {
  background: #DEF0EE;
  color: #00342C;
  border: 1px solid #DEF0EE;
}

#deals-list .subFilterInner .subFilterButton .text, #deals-list .subFilterInner .subFilterButton span:first-child  {
  font-size: 11px;
  font-weight: 500;
}

#deals-list .subFilterInner .subFilterButton .counter {
  font-size: 11px;
  font-weight: 500;
}

#deals-list #companyDeals.listMenu {
  top: 57px !important;
  padding-top: 0.35rem;
  padding-bottom: 0px;
  z-index: 900;
}

#deals-list #companyDeals.listMenu li {
  align-items: center;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  justify-content: space-between;
  border-bottom: 0 !important;
  min-height: 74px;
  margin: 0 !important;
  border-bottom: 1px solid rgba(0,52,45,0.15) !important;
}

@media only screen and (min-width: 1080px) {
  #deals-list #companyDeals.listMenu li {
    padding: 20px !important;
    transition: all .15s ease-in-out;
  }

  #deals-list #companyDeals.listMenu li:hover {
    background:rgba(0, 52, 45, 0.025);
  }
}

#deals-list #companyDeals.listMenu li.active {
display: flex;
}

#deals-list #companyDeals.listMenu li .flex {
display: flex;
align-items: flex-start;
width: 100%;
}

#deals-list #companyDeals.listMenu li .flex .col1 { 
display: flex;
flex-direction: column;
}

#deals-list #companyDeals.listMenu li .flex .col2 { 
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-direction: column;
}

#deals-list #companyDeals.listMenu li .flex .col1 .customerName {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02rem !important;
  color: #00342D;
  opacity: 1;
  text-transform: none;
  padding: 0 !important;
  padding-bottom: 0.35rem !important;
  line-height: 1.2em;
  padding-right: 1.5rem !important;
}

@media only screen and (min-width: 1080px) {
  #deals-list #companyDeals.listMenu li .flex .col1 .customerName {
    font-size: 18px;
  }
}

#deals-list #companyDeals.listMenu li .flex .col1 .info {
  display: flex;
  align-items: center;
  min-height: 1.25rem;
}


#deals-list #companyDeals.listMenu li .flex .col1 .info .badge.assignedTo {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#deals-list #companyDeals.listMenu li .flex .col1 .info .badge.assignedTo sl-badge::part(base) {
  display: flex;
  background-color: transparent !important;
  border: 1px solid rgba(0,52,52,0.6) !important;
  color: rgba(0,52,52,0.6) !important;
  font-weight: 600 !important;
  padding-top: 0.35rem;
}

#deals-list #companyDeals.listMenu li .flex .col1 .seriesNumber, #deals-list #companyDeals.listMenu li .flex .col1 .externalRef {
  display: flex;
  position: relative;
  align-items: flex-end;
  font-size: 13px !important;
  font-weight: 500;
  color: rgba(0,52,52,0.6) !important;
  padding: 0 !important;
  margin-top: 0rem;
  margin-top: 0;
  margin-left: 0.15rem;
  text-transform: uppercase;
  opacity: 1;
}

#deals-list #companyDeals.listMenu li .flex .col1 .seriesNumber:after {
}

  
#deals-list #companyDeals.listMenu li .flex .col1 .externalRef:after {
  padding-left: 0.25rem;
  content: ""
}

#deals-list #companyDeals.listMenu li .flex .col2 .amount {
  display: flex;
  justify-content: flex-end;
  font-size: 16px;
  font-weight: 600 !important;
  letter-spacing: -0.02rem;
  padding: 0 !important;
  text-transform: none;
  color: #00342D;
  opacity: 1 !important;
  padding-bottom: 0.25rem !important;
  line-height: 1.2em !important;
}

@media only screen and (min-width: 1080px) {
  #deals-list #companyDeals.listMenu li .flex .col2 .amount {
    font-size: 18px;
  }
}

#deals-list #companyDeals.listMenu li .flex .col2 .phaseStatusWrapper {
  padding: 0 !important;
  min-height: 1.25rem;
}

#deals-list #companyDeals.listMenu li .flex .col2 .badge {
display: flex;
justify-content: flex-end;
padding: 0 !important;
}

#deals-list #companyDeals.listMenu li .flex .col2 .badge sl-badge.badge-neutral::part(base), 
#deals-list #companyDeals.listMenu li .flex .col2 .badge sl-badge.badge-success::part(base) {
  display: flex !important;
  align-items: flex-start;
  padding-top: 0.35rem !important;
}

#deals-list #companyDeals.listMenu li .flex .col2 .badge img {
  position: relative;
  margin-right: 0.25rem !important;
  top: -0.075rem;
}

.success {
  background: #DEF0EE !important;
  color: rgba(0,52,45,1) !important;
}

sl-badge::part(base)  {
  border: 0 !important;
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  opacity: 1;
  margin-top: 0;
  height: 1.25rem;
  opacity: 1 !important;
  letter-spacing: -0.015rem;
  border-radius: 4px !important;
}

#deals-list .tabContent .mobileButtons {
  padding-top: 42px !important;
  background: rgb(250,243,237);
  background: linear-gradient(0deg, rgba(250,243,237,1) 75%, rgba(250,243,237,0) 100%);
  gap: 0;
  padding-left: 12px !important;
  padding-right: 12px !important;
  padding-bottom: 20px;
  padding-top: 32px !important;
  z-index: 950;
}

#deals-list .tabContent .mobileButtons button {
  font-weight: 600 !important;
}

#deals-list .tabContent .mobileButtons button.secondary {
  border-radius: 8px 0 0 8px;
  background: #DFF1EE !important;
  border: 0 !important;
}

#deals-list .tabContent .mobileButtons button.cta {
  border-radius: 16px;
}

/* Chestnut -- deals-list end */

/* Chestnut -- Petri Deals-list */

#deals-list #companyDeals.listMenu {position: relative; top: 0 !important;}

.subFilter {
  padding-top: 8px; padding-bottom: 8px; background: #fff;
}

#subFilterButtons button {display: none;}
#subFilterButtons button.show {display: flex;}


#deals-list #companyDeals.listMenu li.active.subActive {display: flex;}

/* Chestnut -- end Petri Deals-list */

@media only screen and (max-width: 768px) {

}

.seriesNumber {
}

.grid-item {max-width: 336px; height: auto; padding: 0; border: 0; overflow: hidden; border-radius: 0;}
.grid-item img {width: 100%; aspect-ratio: 1 / 1; object-fit: cover;}
.grid-item.active {border: 2px #05342c solid; padding: 8px;}
.grid-title,.grid-price {display: block; margin-top: 4px; text-align: left;}

#importProducts {
  position: fixed;
  bottom: 0px;
  left: 0;
  width: 100%;
  z-index: 10000;
  display: none;
  padding-left: 16px;
  padding-right: 16px;
  justify-content: center;
}

#importProducts.active {
display: flex;
}

#importProducts button {
max-width: 400px;
}

.searchWrapper input{
  padding-left: 48px;
  border: 0;
  height: 60px;
  font-weight: 500;
  background: url(../svg/search.svg);
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-color: #f2f4f4;
  transition: padding 0.2s;
}

.searchWrapper input:focus{
padding-left: 16px;
background: none;
background-color: #f2f4f4;
}

.resultList {
  margin-top: 10px;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 4px 10px 0px;
}

.resultList li {
  display: flex;
  min-height: 70px;
  height: auto !important;
  padding-left: 55px;
  padding-right: 16px;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  background-position: center left 16px;
}

.resultList li div {
  display: flex;
  flex-direction: column;
  row-gap: 0.25rem;
  font-weight: 500 !important;
  letter-spacing: -0.02em;
}

.resultList li div label {
  padding: 0 !important;
  color: rgba(0,52,45,0.75) !important;
  padding-top: 0.25rem !important;
}


/* Chestnut -- Products */

#product-library {
  
}

#product-library .tabHeader {
}

#productGrid.grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

@media only screen and (min-width: 1920px) {
  #productGrid.grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media only screen and (max-width: 1080px) {
  #productGrid.grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  #productGrid.grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#productGrid.grid.gap24 {
  gap: 16px;
}

#productGrid.grid .grid-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px !important;
  overflow: hidden;
  background: #FFFFFF;
  max-width: 100%;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 5px 0px;
  transition: all .15s ease-in;
}

#productGrid.grid .grid-item:hover {
  box-shadow: rgba(0, 0, 0, 0.09) 0px 4px 10px 0px;
}

#productGrid.grid .grid-item .grid-image-wrapper {

}

#productGrid.grid .grid-item .grid-content-wrapper {
  padding: 1.25rem 1rem;
}

#productGrid.grid .grid-item .grid-image {

}

#productGrid.grid .grid-item .grid-title {
  font-size: 16px;
  font-weight: 500;
  color: rgba(2, 52, 44, .75);
}

#productGrid.grid .grid-item .grid-price {
  font-weight: 600 !important;
  font-size: 16px;
  margin-top: 6px;
  color: rgba(2, 52, 44, 1.0);
}

/* Chestnut -- Homegrid -- Added by petri 2025-04-08 */

#homeGrid .grid-item {
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  background: #00342C;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 5px 0px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#homeGrid .grid-item svg {
  width: 32px;
  height: 32px;
}

#homeGrid .grid-title {
  color: #fff;
  padding-top: 8px;
}

#deals-left {
  min-width: 428px;
}

@media only screen and (min-width: 1200px) {
  #deals-right #cardWrapper {min-width: 400px;}
  #importProducts {bottom: 60px;}
}

@media only screen and (max-width: 550px) {
  #deals-left {
    min-width: 100%;
  }
}

/* Chestnut - Login */

section#login-user {
  width: 100%;
  height: 100vh;
  background: url('../image/login-mobile.jpg');
  background-size: cover;
  background-position: -120px;
  background-color: #CFC5AC;
  animation: fade .75s ease-in;
}

section#login-user.active {
  display: flex;
}

section#login-user .loginWrapper {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
}

section#login-user .loginWrapper .loginHeader {
  position: absolute;
  display: flex;
  justify-content: space-between;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  padding: 0 5vw;
}

section#login-user .loginWrapper .loginHeader .loginHeaderLeft {
  display: flex;
}

section#login-user .loginWrapper .loginHeader .loginHeaderLeft {
  display: flex;
}

section#login-user .loginWrapper .loginHeader .loginHeaderLeft svg {
  display: flex;
  width: 50px;
  height: 100%;
}

section#login-user .loginWrapper .loginInner {
  position: absolute;
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  top: 25%;
  left: 0;
  width: 100%;
  padding: 0 5vw;
}

section#login-user .loginWrapper .loginInner .loginInnerHeader {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

section#login-user .loginWrapper .loginInner .loginInnerHeader .loginLabel {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #FFFF;
}

section#login-user .loginWrapper .loginInner .loginInnerHeader .loginTitle {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #FFFF;
}

section#login-user .loginWrapper .loginInner .loginInnerContent {
}

section#login-user .loginWrapper .loginInner .loginInnerContent #loginError .loginMessage {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

section#login-user .loginWrapper .loginInner .loginInnerContent #loginError { 
  color: #FFFFFF;
  font-weight: 500;
  letter-spacing: -0.02em;
}

section#login-user .loginWrapper .loginInner .loginInnerContent form {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

section#login-user .loginWrapper .loginInner .loginInnerContent form input {
  height: 60px;
  border: 0;
  padding: 0 16px;
}

section#login-user .loginWrapper .loginInner .loginInnerContent button {
  height: 60px !important;
}


section#login-user .loginWrapper .loginFooter {
  position: absolute;
  display: flex;
  align-items: center;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  padding: 0 5vw;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #FFF;
}

/* Chestnut - Login (Desktop) */

@media only screen and (min-width: 860px) {
  
  section#login-user {
    background: url('../image/login-desktop.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }

  section#login-user .loginWrapper .loginHeader {
    padding: 40px 60px;
    height: auto;
  }

  section#login-user .loginWrapper .loginHeader .loginHeaderLeft svg {
    display: flex;
    width: 65px;
    height: 100%;
  }

  section#login-user .loginWrapper .loginInner {
    position: absolute;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    top: auto;
    bottom: 10vw;
    left: 0;
    min-width: 640px;
    max-width: 640px;
    padding: 0 60px;
  }

  section#login-user .loginWrapper .loginFooter {
    height: 80px;
    padding: 0 60px;
  }

}


/* Chestnut - Keyframes */

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes fade {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.cardHeader {display: flex; width: 100%; color: #fff; align-items: center; height: 50px; margin-top: -10px;}
.cardHeader #companyName {color: #fff;}
.cardHeader button {width: 50px; height: 50px; border: 0; display: flex; align-items: center; justify-content: flex-end; margin-bottom: 4px; padding: 0; margin-left: auto;}



input[type="range"]#downPaymentSlider {
  border: 0;
  padding: 0;
  min-height: 1.25rem;
  border-radius: 0.25rem;

}


input[type="range"] {
-webkit-appearance: none; /* Tar bort standard-styling i WebKit */
width: 100%;
height: 0.5rem;
background: none;
border-radius: 0.25rem;
outline: none;
}

/* WebKit (Chrome, Safari, Edge) */
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 1.25rem;
height: 1.25rem;
background: var(--primary-cta-color);
border-radius: 50%;
cursor: pointer;
border: none;
box-shadow: 0 0 2px rgba(0,0,0,0.2);
margin-top: -0.35rem; /* justerar för att centrera thumb på banan */
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
width: 1.5rem;
height: 1.5rem;
background: var(--primary-cta-color);
border-radius: 50%;
cursor: pointer;
border: none;
}

/* Optional: Track-styling för WebKit */
input[type="range"]::-webkit-slider-runnable-track {
height: 0.5rem;
background: #e1e6e6;
border-radius: 0.25rem;
}

/* Optional: Track-styling för Firefox */
input[type="range"]::-moz-range-track {
height: 0.5rem;
background: #e1e6e6;
border-radius: 0.25rem;
}


.is-desktop .sms {display: none;}


#product {
  overflow: auto;
}