/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.9942222
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


/* Styles for Riksrent.se (Replacements of CAF) */


.banner-transparent > div > div.banner-bg.fill {
  background: transparent !important;
}
.banner-transparent {
  background: transparent !important;
}
/* END OF CSS */


.tip-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #dddddd;
    margin-bottom: 30px;
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .box.has-hover.box-image-services.has-hover.box-overlay.dark.box-text-bottom
    > .box-text.text-center {
    height: 32px !important;
  }
  ul.nav.nav-pills.nav-size-large.nav-left > li > a > span {
    border-radius: 4px !important;
    font-size: 15px;
    text-transform: capitalize;
    padding: 0px 4px;
  }
  .ingress_h3 {
    text-align: center;
  }
  .header.show-on-scroll,
  .stuck .header-main {
    height: 70px !important;
  }
  a.button.primary.expand.btn-overlay-services {
    font-size: 0.8em;
    padding: 3px;
  }
  .services > div {
    padding-left: 15px;
    padding-bottom: 0px;
    padding-right: 5px;
  }

  .services > div:nth-child(2n) {
    padding-left: 5px;
    padding-bottom: 0px;
    padding-right: 15px;
  }
  span.section-title-main {
    margin: 0 auto;
    text-align: center;
    font-size: 135% !important;  }
  .section-title-normal span {
    border-bottom: 2px solid rgb(181 155 51) !important;
    margin-bottom: -2px;
  }
  ul.nav.nav-pills.nav-size-large.nav-left {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px; /* Extra utrymme för scrollbar */
    margin-bottom: -10px; /* Kompenserar för extra padding */
    scrollbar-width: thin; /* För Firefox */
  }

  ul.nav.nav-pills.nav-uppercase.nav-size-large.nav-left::-webkit-scrollbar {
    height: 4px; /* Scrollbar-höjd */
  }

  ul.nav.nav-pills.nav-uppercase.nav-size-large.nav-left::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* Scrollbar-färg */
    border-radius: 4px;
  }

  ul.nav.nav-pills.nav-uppercase.nav-size-large.nav-left > li {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  a.button.primary.expand.btn-overlay-services {
    font-size: 0.8em !important;
  }
  .mobile-sidebar-levels-1 .nav-slide>li>.sub-menu>li, .mobile-sidebar-levels-1 .nav-slide>li>ul.children>li {
    border-bottom: 1px solid #fafafa;
}
  .off-canvas:not(.off-canvas-center) .nav-vertical li>a {
    padding-left: 20px;
    text-transform: math-auto;
    color: #222;
    font-size: 1.15em;
    padding: 12px;
}
  
  .col.small-12.slider_col {
    padding-top: 7px !important;
    font-size: 1em !important;
    padding-bottom: 0px !important;
  }
  #logo img {
    max-height: 100px !important;
  }

  form#form_ring-upp {
    margin: 0;
    margin-bottom: -35px;
    padding: 0 !important;
}

li.html.custom.html_nav_position_text_top {
  background: transparent !important;
}

a.switch-button {
  color: #0e273a !important;
  font-size: 1em !important;
}
a.switch-button > i.fa-solid.fa-arrow-right {
  margin-left: 7px;
  font-size: 1em;
}
.header-main .nav > li > a {
  line-height: 16px;
  color: #0e273a !important;
}
button.frm_button_submit {
  width: 100% !important;
  text-transform: math-auto;
  font-weight: 600 !important;
  padding: 12px !important;
}


/* menu edits */
  div#main-menu > div > div > div > a.switch-button {
    color: #344054 !important;
    padding: 15px 10px !important;
    margin-top: 15px !important;
    font-size: 1.1em !important;
    position: relative;
    top: 12px;
    left:9px;
  }
  .mfp-ready .mfp-close {
    opacity: 1;
    width: 55px;
    height: 70px;
}
.sidebar-menu-top-content {
  background: #f0f0f0;
  height: 70px;
  padding-top: 12px;
}
button.toggle {
  width: 50%;
  text-align: right;
  padding-right: 15px;
}
}
   /* End of mobile only CSS */




/* theme specials */
.border-caf {
  border-radius: 12px;
}
.projekt-tjanster {
  position: absolute;
  top: 8px;
  left: 8px;
  width: fit-content;
  background: #0e273a;
  color: white;
  font-weight: bold;
  padding: 4px 15px;
  border-radius: 8px 0px 8px 0px;
}
li.html.custom > i {
  margin-right: 4px;
}

.referens-wrapper {
  border-radius: 8px;
}
div.gallery-image > a > img {
  border-radius: 8px 8px 0px 0px;
}
.projektdetaljer {
  padding: 20px;
  background-color: rgb(248, 248, 248);
  border: none !important;
  border-radius: 12px;
  margin-bottom: 15px;
}
.box.has-hover.box-image-services.has-hover.box-overlay.dark.box-text-bottom
  > .box-text.text-center {
  position: absolute;
  top: 0;
  height: 44px;
  border-radius: 12px 12px 0px 0px;
}
a.button.primary.expand.btn-overlay-services {
  font-size: 1.05em;
}
.row.row-collapse.row-divided.hide-for-small {
  padding: 5px;
  padding-bottom: 0px;
}
button.btn.primary.expand {
  border-radius: 4px;
}
a.button.primary.expand.btn-overlay-services > i {
  color: #b59b31 !important;
}
a.button.primary.expanded-res-btn > i {
  color: #b59b31 !important;
}
.header-ref {
  padding-top: 50px !important;
}
/* Tjänster - Startpage */
.tjanster {
  border-radius: 12px;
}
a.read-more-link-ref {
  width: 100% !important;
  padding: 10px !important;
  font-size: 1.1em !important;
}
.header a.icon:not(.button) {
  margin-left: 0.6em;
  margin-right: 0;
}
span.section-title-main {
  text-transform: math-auto;
}
.projektdetaljer > p {
  margin-bottom: 3px;
}
.box.has-hover.box-image-services.has-hover.box-overlay.dark.box-text-bottom
  > .box-image {
  border-radius: 12px 12px 0px 0px;
}
.ribbon {
  font-size: 20px;
  font-weight: bold;
  color: #020202;
  text-shadow: none !important;
}
.ribbon {
  --r: 0.4em;
  --c: #b59b32;
  position: absolute;
  top: -280px;
  left: calc(-1 * var(--r));
  line-height: 1.8;
  padding: 0 0.5em calc(2 * var(--r));
  border-radius: var(--r) 0 0 var(--r);
  background: radial-gradient(100% 50% at left, var(--c) 98%, #0000 101%) 100% 0 /
      0.5lh calc(100% - 2 * var(--r)),
    radial-gradient(100% 50% at right, #0005 98%, #0000 101%) 0 100% / var(--r)
      calc(2 * var(--r)),
    conic-gradient(
        from 90deg at var(--r) calc(100% - 2 * var(--r)),
        #0000 25%,
        var(--c) 0
      )
      0 0 / calc(101% - 0.5lh) 100%;
  background-repeat: no-repeat;
}

a.button.btn-overlay-services {
  border-radius: 0px 0px 8px 8px;
  padding-top: 2px;
  padding-bottom: 2px;
}

div > div.box-image > .image-cover {
  border-radius: 8px 8px 0px 0px !important;
}

.banner-inner .fill,
.banner {
  border-radius: 12px !important;
}
.btn_first_cta {
}
.off-canvas:not(.off-canvas-center) .nav-vertical li>a {
  padding-left: 20px;
  text-transform: math-auto;
  font-size: 1.1em;
  color: #222;
}
.off-canvas-left.mfp-ready .mfp-content {
  opacity: 1;
  transform: translate(0);
  width: 100%;
  background: white;
}
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-carousel-fade-left {
  background: linear-gradient(to right, rgb(250 250 250) 0%, rgb(250 250 250) 40%, rgb(250 250 250 / 0%) 100%) !important;
  position: absolute;
  height: 60px;
  z-index: 999999999;
  width: 45px;
  top: 10px;
  left: 0px;
}
.logo-carousel-fade-right {
  background: linear-gradient(to left, rgb(250 250 250) 0%, rgb(250 250 250) 40%, rgb(250 250 250 / 0%) 100%) !important;
  position: absolute;
  height: 60px;
  z-index: 999999999;
  width: 45px;
  top: 10px;
  right: 0px;
}
.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}
.logo-carousel-section {
  padding: 30px 0;
}
.swiper-slide {
  background-size: cover;
  background-position: center;
}

.mySwiper2 {
  height: 80%;
  width: 100%;
}

.mySwiper {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.mySwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.twentytwenty-container {
  border-radius: 8px;
}

.rounded-corners {
  border-radius: 8px;
}


img.attachment-large.size-large {
  border-radius: 8px;
}

/* referensprojekt */
.swiper.mySwiper2.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
  border-radius: 8px;
}

.swiper-slide img {
  border-radius: 8px;
}
li.nav-slide-header.pt-half.pb-half {
  margin-top: -20px;
  font-size: 1.2em;
  color: #000000;
  background: #fafafa;
}
.nav-slide-header .toggle {
  margin-left: 0 !important;
  padding-left: 5px;
  position: relative !important;
  text-align: left;
  top: 0 !important;
  width: 100%;
  opacity: 1;
  padding-top: 5px;
}
@media screen and (max-width: 768px) {
  .expanded-res-btn {
    width: 100%;
    padding: 4px;
  }
}

@media screen and (min-width: 850px) {
  .row-divided > .col + .col:not(.large-12) {
    border-left: 1px solid #091925;
  }
}

.nav-spacing-xlarge > li {
  margin: 0 20px;
}

.nav-outline > li > a {
  border-radius: 8px !important;
}

a.switch-button {
  color: white !important;
}

li.html.custom.html_nav_position_text_top {
  background: #0e273a;
  border-radius: 8px;
  padding: 0px 12px;
  font-size: 15px;
}
#masthead > div > div.flex-col.hide-for-medium.flex-right > ul > li > a > i {
  padding-left: 8px;
}

.fill.banner-link {
  border-radius: 12px !important;
}

div > div > .has-video {
  .banner-bg.fill {
    border-radius: 12px;
  }
}

.section-title-normal span {
  border-bottom: 2px solid rgb(181 155 51) !important;
}

.section-title-normal {
  border-bottom: 2px solid #b59b334d !important;
}

.sweden-map-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
}

.sweden-map {
  width: 70%;
  min-width: 300px;
}

.region-info {
  width: 30%;
  min-width: 250px;
  padding: 15px;
}

.sweden-map svg {
  max-width: 100%;
  height: auto;
}

.sweden-map path {
  fill: #e0e0e0;
  stroke: #ffffff;
  stroke-width: 1;
  transition: fill 0.3s ease;
}

.sweden-map path:hover {
  fill: #0056b3;
  cursor: pointer;
}

@media (max-width: 768px) {
  .sweden-map,
  .region-info {
    width: 100%;
  }
}

div#col-1085089067 {
  position: relative;
  max-width: 150px !important;
  display: block;
  height: 82px;
  top: -90px;
}

element.style {
  width: max-content;
  margin-top: 55px;
  font-size: 0.95em;
}

.absolute-footer.dark.medium-text-center.small-text-center {
  display: none;
}
div > div > div.box-text.text-center {
  background: #0000005c;
  padding: 5px;
}
ul.header-nav.header-nav-main.nav.nav-left.nav-size-xlarge.nav-spacing-xlarge {
  padding-left: 25px;
}

.ti-widget[data-layout-id="106"][data-set-id="light-minimal"] .ti-small-logo {
  margin-right: 4px;
  fill: white !important;
  filter: brightness(0) invert(1);
}

ul.nav.top-bar-nav.nav-right.nav-small.nav-divided {
  font-size: 1.2em;
}
.has-dropdown .icon-angle-down {
  font-size: 18px;
  margin-left: 8px;
  opacity: 1;
  color: #b59b31 !important;
  margin-top: 4px;
}
@media only screen and (max-width: 48em) {
  .extended_button {
    width: 100%;
  }
  .res-mid {
    text-align: center;
    font-size: 1.5em !important;
  }
}

/* referenser */

.projekt-ort {
  background: #f6bb08;
  color: #0e273a;
  width: fit-content;
  margin-left: 15px;
  z-index: 9999 !important;
  position: relative;
  top: -40px;
  padding: 2px 10px;
  font-size: 85%;
  border-radius: 4px;
}

.referens-item.col.col-12.medium-4.large-4.small-12 {
  padding: 8px;
}

.referens-content {
  background: #d4d4d422;
}

.referens-wrapper {
  padding: 15px;
  background: #f7f7f7;
}
a.switch-button.foretag-button {
  font-weight: bold;
}
a.switch-button.privat-button {
  font-weight: bold;
}
.projekt-tjanster {
  position: absolute;
  top: 8px;
  left: 8px;
  width: fit-content;
  background: #0e273a;
  color: white;
  font-weight: bold;
  padding: 4px 15px;
}
.col.small-12.slider_col {
  padding-top: 10px;
  font-size: 1.15em;
  padding-bottom: 5px;
}
a.read-more-link-ref {
  font-weight: 500;
  border-radius: 4px;
  top: 18px;
  display: block;
  margin-top: 15px;
  width: fit-content;
  font-size: 0.9em;
}

i.icon-menu {
  color: #000000;
  font-size: 36px !important;
}

.referens-content {
  background: #d4d4d422;
  box-shadow: #22222240 1px 1px 20px;
  border-radius: 8px;
}

.usp_floating_text {
}

img.attachment-medium_large.size-medium_large {
  border-radius: 8px;
}

.stuck .header-main .nav > li > a {
  line-height: 16px !important;
}

.box.has-hover.has-hover.box-shade.dark.box-text-bottom > .box-text.text-left {
  pointer-events: none;
}

/* offert */
.box-shadow-1 {
  box-shadow: 0 1px 20px -2px rgb(0 0 0 / 0%), 0 1px 20px rgb(0 0 0 / 9%);
}
.frm_percent_complete {
  display: none;
}
.frm_pages_complete {
  display: none;
}


li.frm_rootline_single.frm_current_page {
  opacity: 1;
  pointer-events: auto;
}

li.frm_rootline_single {
  opacity: 0.6;
  pointer-events: none;
}
/* ring upp form */

div#ring-upp {
  border-radius: 12px;
  padding: 20px !important;
}
button.frm_button_submit.frm_final_submit {
  text-transform: math-auto;
  font-weight: bold !important;
  font-size: 110% !important;
  padding: 15px !important;
}
form#form_ring-upp {
  margin: 0;
  margin-bottom: -35px;
  padding: 35px;
}


.call_us_menu-btn {
  padding: 8px 50px;
  width: 100%;
  background: #0e273a;
  border-radius: 8px;
  color: white;
  font-size: 1.1em;
}

span.class_us_menu-span {
  display: block;
  font-weight: 700;
}

.icon_pre-btn {
  position: absolute;
  left: 35px;
  font-size: 1.5em;
}


a.normalize-btn {
  padding: 0 !important;
  font-size: 1em !important;
}

