/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
html {
  scroll-behavior: smooth;
}
.wpk-open {
    
}
.wpk-open .wpk-open-title {
    font-weight: bold;
}
.wpk-open-table {
  width: 100%;
  table-layout: fixed;
}
@media only screen and (max-width: 640px) {
  .wpk-open-table {
    table-layout: auto;
  }
}
.wpk-open-table thead {

}
.wpk-open-table tbody {

}
.wpk-open-table tr {
  border-bottom: 1px solid #dcdcdc;
}
.wpk-open-table th {
    font-weight: bold !important;
}
.wpk-open-table th, .wpk-open-table td {
  padding: .6rem 1rem;
  text-align:left;
  width: 50%;
}
.wpk-text-decoration-none {
  text-decoration: none !important;
}
.wpk-visibility {
  display: block !important;
}

/*HEADER OPEN*/
@media only screen and (max-width: 640px) {
  #wpk-open-header > .fusion-column-wrapper {
    justify-content: start;
    overflow-x: scroll;
  }
}
#wpk-open-header > .fusion-column-wrapper .fusion-text {
  margin: 0 20px;
  white-space: nowrap;
  color: white;
  font-size: 14px;
  font-weight: 300;
  position: relative;
}
#wpk-open-header > .fusion-column-wrapper .fusion-text:first-child {
  margin-right: 0;
}
#wpk-open-header > .fusion-column-wrapper > .fusion-text:not(:first-child):not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 5px;
  width: 1px;
  background-color: white;
  bottom: 5px;
}
#wpk-open-header > .fusion-column-wrapper .fusion-text > * {
  margin: 0;
}

/*MENU*/
#menu-top-menu > li > a {
  text-transform: uppercase;
}
.wpk-nav-button {
  border: 2px solid;
  border-radius: 5px !important;
}
.wpk-nav-button.current-menu-item,
.wpk-nav-button:hover {
  border-color: var(--awb-active-color) !important;
}

/*BUTIKER TABS*/
.wpk-butiker-list.fusion-tabs {

}
.wpk-butiker-list.fusion-tabs ul.nav-tabs {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}
.wpk-butiker-list.fusion-tabs ul.nav-tabs > :last-child {
  padding-right: 0;
}
.wpk-butiker-list.fusion-tabs ul.nav-tabs li {
  padding-right: 10px;

  margin-bottom: 0;
  margin-right: 0;
  padding-right: 0;
  display: block;
  width: auto;
}
@media only screen and (max-width: 640px) {
  .wpk-butiker-list.fusion-tabs ul.nav-tabs li {
    padding-right: 0;
  }
}
.wpk-butiker-list.fusion-tabs ul.nav-tabs li a.tab-link {
  background-color: var(--awb-custom_color_9);
  border: 0 !important;
  height: auto !important;
  border-radius: 6px 6px 6px 6px;
}
.wpk-butiker-list.fusion-tabs ul.nav-tabs li a.tab-link:hover {
  background-color: var(--awb-custom_color_3);
}
.wpk-butiker-list.fusion-tabs ul.nav-tabs li.active a.tab-link {
  background-color: var(--awb-custom_color_3);
}
.wpk-butiker-list.fusion-tabs ul.nav-tabs li a.tab-link .wpk-tab-title {
  color: var(--awb-color1);
}
/*BUTIKER CONTENT*/
.wpk-butiker-list.fusion-tabs {

}
.wpk-butiker-list.fusion-tabs .tab-content {

}
.wpk-butiker-list.fusion-tabs .tab-content {

}
.wpk-butiker-list,
.wpk-butiker-list.fusion-tabs .tab-content .tab-pane {
  column-count: 3;
  column-gap: 3rem;
  scroll-margin-top: 95px;
}
@media only screen and (max-width: 1024px) {
  .wpk-butiker-list,
  .wpk-butiker-list.fusion-tabs .tab-content .tab-pane {
    column-count: 2;
    column-gap: 2rem;
  }
}
@media only screen and (max-width: 640px) {
  .wpk-butiker-list,
  .wpk-butiker-list.fusion-tabs .tab-content .tab-pane {
    column-count: 1;
    column-gap: 0;
    scroll-margin-top: 80px;
  }
}
.wpk-butiker-list .wpk-butiker-group,
.wpk-butiker-list.fusion-tabs .tab-content .wpk-butiker-group {
  break-inside: avoid;
}
.wpk-butiker-list .wpk-butiker-group .wpk-butiker-letter > span,
.wpk-butiker-list.fusion-tabs .tab-content .wpk-butiker-group .wpk-butiker-letter > span {
  font-family: var(--h2_typography-font-family);
  font-size: var(--h2_typography-font-size);
  font-weight: var(--h2_typography-font-weight);
  line-height: var(--h2_typography-line-height);
  margin-bottom: var(--h2_typography-margin-bottom);
} 
.wpk-butiker-list .wpk-butiker-group .fusion-highlight,
.wpk-butiker-list.fusion-tabs .tab-content .tab-pane .fusion-highlight {
  padding: .2em .3em;
  line-height: 1.7em;
  --fontSize: 36;
}
.wpk-butiker-list .wpk-butiker-group ul,
.wpk-butiker-list.fusion-tabs .tab-content .tab-pane ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding-left: 0;
}
.wpk-butiker-list .wpk-butiker-group ul li,
.wpk-butiker-list.fusion-tabs .tab-content .tab-pane ul li {
  margin-bottom: 1rem;
  line-height: 1.4rem;
}
.wpk-butiker-list .wpk-butiker-group ul li a.wpk-butik-link,
.wpk-butiker-list.fusion-tabs .tab-content .tab-pane ul li a.wpk-butik-link {
  text-decoration: none !important;
}

/*BUTIK SINGLE*/
.wpk-butik-list > li.fusion-li-item {
  display: flex;
  /*justify-content: center;*/
  color: var(--link_color);
}
.wpk-butik-list > li.fusion-li-item div.fusion-li-item-content {
  color: var(--link_color);
}
.wpk-butik-list + .category-back-link {
  font-size: small;
  text-decoration: none;
  margin-top: 30px;
}
.wpk-butik-open .wpk-butiker-open-content {
  font-size: 1rem;
}
.wpk-butik-open .wpk-butiker-open-content .wpk-open-table thead {
  display: none;
}
.wpk-butik-open .wpk-butiker-open-content table tr td {
  padding:10px !important;
}

/*BUTIK TERM ARCHIVE*/
.wpk-term-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}
.wpk-term-list li {
  margin-bottom: 1rem;
  line-height: 1.4rem;
}
.wpk-term-list li:last-child {
  margin-bottom: 0;
}
.wpk-term-list li.active,
.wpk-term-list li.active a {
  color: var(--primary_color);
}
.wpk-term-list li a {
  text-decoration: none !important;
}

/*front page slider*/
body.home #layerslider {
  height: 60vh !important;
}
body.home #layerslider div {
  height: 100% !important;
}
body.home #layerslider .ls-layers > .ls-wrapper.ls-z .ls-wrapper {
  height: initial !important;
  top: auto !important;
  bottom: 20px !important;
  scale: 1;
  transition: scale .5s;
}
body.home #layerslider .ls-layers > .ls-wrapper.ls-z .ls-wrapper:hover {
  scale: 1.1 !important;
}
body.home #layerslider .ls-layers > .ls-wrapper.ls-z .ls-wrapper > span {
  filter: brightness(100%);
  transition: filter .5s;

}
body.home #layerslider .ls-layers > .ls-wrapper.ls-z .ls-wrapper:hover > span {
  filter: brightness(120%) !important;
}
/*
body.home #layerslider .ls-layers > .ls-wrapper.ls-z .ls-wrapper.ls-in-out.ls-inner-wrapper {
  top: 100% !important;
  transform: translateY(-100%) !important;
}
*/
body.home #layerslider div img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
  x: 0;
  y: 0;
}
@media only screen and (max-width: 1024px) {
  body.home #layerslider {
    height: 50vh !important;
  }
}
@media only screen and (max-width: 640px) {
  body.home #layerslider {
    height: 40vh !important;
  }
}

/*WAYFINDER*/
#wayfinder {
  width:100%;
  height: auto;
  max-height: 100%;
}
#wayfinder > svg {
  width:100%;
  height: auto;
}
#wayfinder > svg #explain0, 
#wayfinder > svg #explain-1, 
#wayfinder > svg #explain1, 
#wayfinder > svg #explain-portals0, 
#wayfinder > svg #explain-portals-1, 
#wayfinder > svg #explain-portals1 {
  display: none;
}
@media only screen and (max-width: 640px) {
  #wayfinder {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    cursor: grab;
    aspect-ratio: 1/1;
  }
  #wayfinder > svg {
    width: auto;
    height: 100%;
    user-select: none;
    pointer-events: none;
    /*
    position: absolute; 
    top: 0;
    left: 0;
    */
  }
}

/* FAQ styles: accessible, compact and responsive */
.wpk-faq {
  width: 100%;
  margin: 1.5rem auto;
  padding: 0 1rem;
}
.wpk-faq .wpk-faq-item {
  border-bottom: 1px solid #e9e9e9;
  padding: .75rem 0;
}
.wpk-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  outline: none;
}
.wpk-faq summary::-webkit-details-marker { display: none; }
.wpk-faq .wpk-faq-question {
  position: relative;
  padding-right: 2rem;
  color: var(--text_color, #222);
}
.wpk-faq .wpk-faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--awb-custom_color_3);
  transition: transform .15s ease, color .15s ease;
}
details[open] .wpk-faq-question::after {
  content: "−";
}
.wpk-faq .wpk-faq-answer {
  margin-top: .5rem;
  color: #444;
  line-height: 1.6;
}
.wpk-faq .wpk-faq-answer p { margin: 0 0 .5rem 0; }
@keyframes wpk-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
details[open] .wpk-faq-answer {
  animation: wpk-fade-in .12s ease-in;
}
@media only screen and (max-width: 640px) {
  .wpk-faq { padding: 0 .6rem; }
  .wpk-faq .wpk-faq-question::after { right: .2rem; }
}
