@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap');
@import url("https://design.textalk.se/jonna/fambra.css");


/* NEW CODES */
.bountiful--header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  flex-wrap: wrap;
  background-color: #ffffff;
  border: none;
  box-sizing: border-box;
  z-index: 99;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bountiful--body {
  margin: 0 !important;
  padding: 0!important;
}

.bountiful--body-wrapper {
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.bountiful--body .bountiful--body-wrapper .bountiful--main .bountiful--main-wrapper {
  padding-top: 0;
  padding-bottom: 0;
}

.bountiful--top-bar {
  display: block;
}
.bountiful--top-bar-left,
.slot--top-bar-audience-selector {
  display: none;
}
.bountiful--top-bar {
  background: #f8f8f8;
}

.user-logged-in .slot--article-stock-shipping {
  display: block;
}
.slot--article-stock-shipping {
  display: none;
}

/* END NEW CODES */

/* SIDHUVUD och RUBRIKER */

.fambra-logo, .fambra-slogan, .slot--custom-header-search {
  display: inline-flex;
  vertical-align: middle;
  color: #232d62;
  font-family: 'Titillium Web', sans-serif;
}

/* Sökfält */

.slot--custom-header-search input[type="text"] {
  border: 2px solid #222;
  padding: 6px 10px;
  border-radius: 4px;
  font-family: 'Titillium Web', sans-serif;
}

.slot--custom-header-search {
  position: absolute;
  right: 10px;
  top: 26px;
}

@media(max-width:767px) {
  .slot--custom-header-search {
    display: none;
  }
}

/* Rubriker i huvudmeny */

h1 {
  color: #232d62;     
  font-weight: 600 !important;  
}

.slot--header-horizontal-menu {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center 
}

.slot--header-horizontal-menu .nav {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.slot--header-horizontal-menu .nav > li {
  margin: 0 12px; /* ersätter gap */
}

.slot--header-horizontal-menu .nav > li > a {
  font-size: 1.4rem;
  font-weight: normal;
  padding: 8px 0;
  text-decoration: none;
  color: #222;
  transition: all 0.2s ease-in-out;
  display: inline-block;
  font-family: 'Titillium Web', sans-serif;
  border: none;
  border-bottom: 3px solid transparent;
}

.slot--header-horizontal-menu .nav > li:hover > a {
  background-color: transparent; /* Ingen bakgrund */
  color: #222; /* svart text */
  border-bottom: 3px solid #222; /* svart linje under */
}

/* Rullgardinsmeny */
.slot--header-horizontal-menu .nav > li > ul {
  background-color: #ffffff; /* vit bakgrund */
}

.slot--header-horizontal-menu .nav > li > ul > li > a {
  color: #222;
  font-weight: normal;
  font-family: 'Titillium Web', sans-serif;
  padding: 10px 15px;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.slot--header-horizontal-menu .nav > li > ul > li > a:hover {
  background-color: transparent;
  color: #ffffff;
}

/* Centrera dropdown-menyn i sidhuvudet */
.nordic--header .tws-menu,
.tws-header .tws-menu,
nav.tws-menu {
  text-align: center !important;
  margin: 0 auto !important;
}
  
/* övrigt på startsida */

.why-choose-fambra {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.why-choose-fambra h2 {
  color: #232d62;
  margin-bottom: 20px;
  font-size: 4rem;
}

.why-choose-fambra p {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #333;
}

.fambra-services {
  padding: 40px 20px;
  font-family: sans-serif;
}

.fambra-services h2 {
  color: #232d62;
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
}

.fambra-services p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
}

.service-boxes-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}
.service-boxes-flex .box {
  flex: 1 1 220px;
  max-width: 260px;
  height: 280px;
  background-color: inherit;
  border-left: 4px solid #232d62;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(35, 45, 98, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left !important;
  display: flex;
  padding: 20px;
  flex-direction: column;
  align-items: left;
  min-height: 260px;
}
.service-boxes-flex .box a {
  display: flex;
  text-decoration: none;
  color: inherit;
  text-align: left;
  padding: 0px;
  height: 100%;
}
.service-boxes-flex .box:hover {
  transform: none;
  box-shadow: 0 6px 14px rgba(35, 45, 98, 0.2);
  background-color: inherit; 
}
.service-boxes-flex .box h3 {
  color: #232d62;
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.service-boxes-flex .box p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .service-boxes-flex {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .service-boxes-flex .box {
    flex: 1 1 45%;
    max-width: none;
  }
}
@media (max-width: 480px) {
  .service-boxes-flex .box {
    flex: 1 1 100%;
  }
}

.cta-button {
  display: inline-block;
  background-color: #232d62;
  color: white !important;
  padding: 12px 24px;
  text-decoration: none !important;
  font-weight: Normal;
  font-family: 'Titillium Web', sans-serif !important;
  border-radius: 999px; /* Gör knappen oval */
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #232d62;
  color: white !important;
  text-decoration: none !important;
}

.intro-fambra {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
}

.intro-fambra h1 {
  color: #232d62;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.intro-fambra p {
  max-width: 900px;
  margin: 0 auto 20px;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #333;
}

h1, h2, h3, h4 {
  font-family: 'Titillium Web', sans-serif !important;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.top-bar-banner {
  background-color: #ffffff; /* Vit bakgrund */
  color: #a01020; /* röd text */
  padding: 5px 0;
  font-size: 14px;
  text-align: center;
}

/* HERO BILDER */

.bountiful--start-page .tws-container--tws-content-box-2x .tws-content-box-2x--box {
  padding: 0;
  margin: 0;
  }
 

/* SIDOFOT */

.fambra-footer {
  background-color: #232d62;
  color: white;
  padding: 5px 10px !important; /* Top/Bottom: 10px, Left/Right: 20px */
  margin: 0 auto !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-container > div {
  flex: 1 1 250px;
  margin-top: 0px;  /* mindre avstånd uppifrån */
  margin-bottom: 5px;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #a01020;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #ffffff44;
  padding-top: 10px;
  font-size: 13px;
}

/* Minska sidfoten */
footer, .nordic--footer {
  padding: 15px 0 !important;
  font-size: 0.85em !important;
}

/* RESPONSIV PÅ MOBIL */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    width: 100%;
    text-align: center;
  }
}

/*--justify the menu--*/

.slot--header-horizontal-menu {
    left: 0px !important;
}

/*--Change the color of the text in product group pages--*/

h2.tws-util-heading--heading a {
    color: #000000 !important;
}

/*--Change the color of the news tag--*/

.tws-article-list--list .tws-article-list--labels .tws-article-labels--new .tws-article-labels--label-text {
    background: #232d62;
    color: #fff;
}
/*--Change the color of the file attachment--*/

.tws-article-attachments tr {
    background-color: #232d62 !important;
}

/*--Right column--*/
.bountiful--body .bountiful--body-wrapper {
    max-width: 100% !important;
}

/*--Image border--*/
.bountiful--article-images .slot--article-images .tws-article-images--current-image {
    border: 2px solid #0073b60f !important;
}

.tws-article-description--text {
  font-weight: normal !important;
  margin-top: 8px; /* Justera detta värde efter behov */
}

/*--Change the appearance of buy button--*/

.tws-article-list--show-more-button {
  background-color: transparent;
  color: #232d62 !important;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 4px;
  margin-top: 12px;
  font-family: 'Titillium Web', sans-serif;
  text-decoration: none;
  display: inline-flex;
  border: none;
  box-shadow: none;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  gap: 6px; /* lite mellanrum mellan text och ikon om det behövs */
}

.tws-article-list--show-more-button:hover {
  background-color: #232d62!important;
  color: #ffffff !important;
}

.tws-article-list--show-more-button-text {
  background: none;
  border: none;
  box-shadow: none;
}

.tws-article-list--show-more-button,
.tws-article-list--show-more-button .tws-article-list--show-more-button-text {
  color: #222 !important;
  font-size: 0.85rem;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  gap: 6px; /* lite mellanrum mellan text och ikon om det behövs */
}

.tws-article-list--show-more-button:hover,
.tws-article-list--show-more-button:hover .tws-article-list--show-more-button-text {
  color: #ffffff !important;
}

/*-- Centrera text i produktboxarna--*/

.caption {
  text-align: center;
}

.caption h2,
.caption .tws-article-list--article-nr,
.caption .tws-article-list--buy-button {
  margin: 0 auto;
  display: block;
}

/*-- tjänster sidan--*/

.services-wrapper {
  padding: 2rem 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 0 !important;
  padding-top: 0.5rem; /* minska utrymmet uppåt om det behövs */
}

.section-title {
  text-align: left;
  color: #232d62;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.service-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-boxes .box {
  display: grid;
  background-color: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid #232d62;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: left;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  min-width: 250px;
}

.service-boxes .box h3 {
  font-size: 1.2rem;
  text-align: left;
  color: #232d62;
  margin-bottom: 0.75rem;
}

.service-boxes .box a {
  text-decoration: none;
  color: inherit;
  text-align: left;
  padding: 0px;
  height: 100%;
 }

.service-boxes .box p {
  font-size: 0.95rem;
  color: #333;
  text-align: left;
  line-height: 1.6;
  margin-left: 0;
  padding-left: 0;
}

.service-boxes .box:hover {
  transform: none;
  box-shadow: 0 6px 14px rgba(35, 45, 98, 0.2);
  background-color: inherit; 
 } 

@media (max-width: 768px) {
  .service-boxes {
    grid-template-columns: 1fr;
  }
}

.cta-box {
  margin-top: 3rem;
  text-align: center !important;
  background: #f1f3f8;
  padding: 2rem;
  border-radius: 12px;
}

.cta-box h4 {
  font-size: 1.3rem;
  color: #232d62;
  text-align: center !important;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1rem;
  text-align: center !important;
  color: #333;
  margin: 0.5rem 0;
}

/*-- tjänster sidan - kalibrering --*/

.service-boxes-kal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.service-boxes-kal .box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid #232d62;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: left;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: 300px;
}

.service-boxes-kal .box h3 {
  font-size: 1.2rem;
  text-align: left;
  color: #232d62;
  margin-bottom: 0.75rem;
  word-break: break-word;
}

.service-boxes-kal .box a {
  text-decoration: none;
  color: inherit;
  text-align: left;
  padding: 0px;
  height: 100%;
  word-break: break-word;
 }

.service-boxes-kal .box p {
  font-size: 0.95rem;
  color: #333;
  text-align: left;
  line-height: 1.6;
  margin-left: 0;
  padding-left: 0;
  word-break: break-word;
}

.service-boxes-kal .box:hover {
  transform: none;
  box-shadow: 0 6px 14px rgba(35, 45, 98, 0.2);
  background-color: inherit; 
 } 

@media (max-width: 768px) {
  .service-boxes-kal {
    grid-template-columns: 1fr;
  }
}

/*-- tjänster sidan - momentomvandlare --*/

.calibration-box {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 3rem;
  background-color: #ffffff;
  border: 1px solid #d7dbe5;
  border-left: 8px solid #232d62;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #1f1f1f;
  transition: box-shadow 0.3s ease;
}

.calibration-box:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.calibration-box p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: #333;
}

/*-- tjänster sidan -alla med .Tool-box --*/

.tool-box {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 3rem;
  background-color: #ffffff;
  border: 1px solid #d7dbe5;
  border-left: 8px solid #232d62;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #1f1f1f;
  transition: box-shadow 0.3s ease;
}

.tool-box:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.tool-box p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: #333;
}


/* service och reparation sida */

.circle-layout-wrapper {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 2rem 1rem;
  text-align: center;
}

.circle-layout-title {
  font-size: 1.8rem;
  color: #232d62;
  margin-bottom: 3rem;
}

.circle-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 400px;
  margin: 0 auto;
}

.circle-item {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #232d62;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #232d62;
  text-align: center;
  padding: 0.75rem;
  box-sizing: border-box;
}

/* Positionering i cirkelform */
.circle-item:nth-child(1) {
  top: 0%;
  left: 50%;
  transform: translate(-50%, 0);
}
.circle-item:nth-child(2) {
  top: 20%;
  left: 85%;
  transform: translate(-50%, 0);
}
.circle-item:nth-child(3) {
  top: 65%;
  left: 73%;
  transform: translate(-50%, -50%);
}
.circle-item:nth-child(4) {
  top: 65%;
  left: 27%;
  transform: translate(-50%, -50%);
}
.circle-item:nth-child(5) {
  top: 20%;
  left: 15%;
  transform: translate(-50%, 0);
}

/* Responsiv fallback (stackade boxar på mobil) */
@media (max-width: 600px) {
  .circle-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    height: auto;
  }

  .circle-item {
    position: static;
    transform: none;
  }
}
.service-section,
.service-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.main-title {
  text-align: center;
  font-size: 2rem;
  color: #232d62;
  margin-bottom: 2rem;
}

.note {
  margin-top: 1.5rem;
  background: #f8f8f8;
  padding: 1rem;
  border-left: 4px solid #232d62;
  font-style: italic;
}

/* uthyrning sida */

.rental-benefits-wrapper {
  padding: 3rem 1rem;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* Gör alla boxar till en kolumn, centrerade och smalare */
.rental-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2rem;
  justify-items: center; /* centrerar varje box */
  max-width: 700px;      /* justera bredd efter behov */
  margin: 0 auto 3rem;
}

.rental-box {
  width: 100%;
  max-width: 700px;       /* boxens max-bredd */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  text-align: left;       /* eller center om du vill centrera texten */
}

.rental-box h3 {
  font-size: 1.2rem;
  color: #232d62;
  margin-bottom: 0.75rem;
}

.rental-box p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

/* Behåll tidigare styling för tool-rental-description och rental-link */


.tool-rental-description {
  text-align: center;
  padding: 2rem 1rem;
}

.tool-rental-description p {
  max-width: 800px;
  margin: auto;
  font-size: 1rem;
  color: #444;
}

.tool-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  font-weight: 500;
  color: #232d62;
}

.rental-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #232d62;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.rental-link:hover {
  background: #1a224f;
}
.tool-types-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 800px;
}

.tool-type {
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  padding: 0.8rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  color: #232d62;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}

.tool-type:hover {
  background-color: ;
}

/* Titelcentrering för alla .section-title */
.section-title {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  color: #232d62;
}

/* UTBILDNINGSSEKTION */

.training-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(35, 45, 98, 0.08);
  font-family: "Segoe UI", "Roboto", sans-serif;
  color: #333;
  line-height: 1.7;
}

.training-section h3 {
  font-size: 1.8rem;
  color: #232d62;
  margin-bottom: 16px;
}

.training-section h4 {
  font-size: 1.3rem;
  margin-top: 30px;
  color: #232d62;
}

.training-section p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.training-section ul {
  margin-left: 20px;
  padding-left: 0;
  list-style-type: "✔ ";
  color: #232d62;
}

.training-section li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #333;
}

.training-section hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}

.course-box {
  background-color: #ffffff;
  border-left: 4px solid #232d62;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(35, 45, 98, 0.05);
  margin: 30px auto;
  max-width: 700px;
}

.course-box h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: #232d62;
  text-align: center;
}

.course-box ul {
  padding-left: 1.2rem;
  list-style-type: "✔ ";
}

.course-box li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}





