/*
Justering textstorlekar
*/

html {
    scroll-behavior: smooth;
}

#kontakt {
    scroll-margin-top: 120px;
}

.children-list {
  margin: 10px 0 0;
  padding-left: 15px;
  font-size: 14px;
}
.toggle-children {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  margin-left: 5px;
}

.contract-service a.btn-right-arrow:hover{
    color: #fff !important; 
}

body{
    color: #585858;
}
.hero-banner .banner-content h1{
    font-family: 'neo-sans-medium', sans-serif;
    font-size: 78px;
}
.banner-content h1{
    font-size: 78px;
}
body h2,
.map-filters h2{
    font-size: 42px !important;
    line-height: 1.2;
}
.map-filters h2{
    line-height: 1.42;
}
.gt-section > .container{
    padding-left:30px;
    padding-right:30px;
}
.ginput_container_fileupload{
    margin-left: 20px;
}
.gform_wrapper{
    max-width: 600px;
}
body.single-plats h2{
    font-size: 24px !important;
}
h3{
    font-size: 29px;
    line-height: 49px;
}
.manual-box h3{
    line-height: 39px;
}
h4{
    font-size: 24px;
    line-height: 1.2;
}
.gt-module-text p,
.gt-module-text ul li,
.gt-module-text span,
.gt-module-text a{
    max-width: 845px;
    font-size: 18px;
    line-height:1.44;
}
.img-text-content.block-content p,
.img-text-content.block-content ul li,
.img-text-content.block-content span,
.img-text-content.block-content a{
    font-size: 18px !important;
    line-height:26px !important;
}
.main-footer .gt-module-text.footer-bottom-content a{
    font-size: 13px !important;
}
.main-footer .gt-module-text a.btn-theme{
    line-height:50px;
}
.gt-module-text-7 h6{
    font-size: 29px;
}
.gt-module-simple-text-module p{
    font-size: 18px !important;
    line-height: 26px !important;
}
.img-col-block .img-col-wrapper .img-col-content p{
    font-size: 24px !important;
    line-height: 30px !important;
}
/* .gt-module-text h2{
    font-size: 29px !important;
    line-height: 41px !important;
} */
.gt-module-text a.btn-right-arrow{
    margin-top:10px;
}
.gt-module-simple-two-col-image-text-module.heading-smaller h2{
    font-size: 29px !important;
    line-height: 41px !important;
}
.gt-module-text.heading-larger h2{
    font-size: 48px !important;
    line-height: 1.42 !important;
}
.heading-smaller h1{
    font-size:40px; 
    line-height: 40px;
}

@media only screen and (max-width: 1440px){
    .hero-banner .banner-content h1,
    .banner-content h1{
        font-size: 62px;
    }
    .gt-module-text.heading-larger h2{
        font-size: 40px !important;
    }
    h2,
    .map-filters h2{
        font-size: 40px !important;
    }
}
@media only screen and (max-width: 1199px){
    .hero-banner .banner-content h1,
    .banner-content h1{
        font-size: 48px;
    }
    .gt-module-text.heading-larger h2{
        font-size: 34px !important;
    }
    h2,
    .map-filters h2{
        font-size: 34px !important;
    }
}
@media only screen and (max-width: 1024px){
    .gt-module-text p,
    .gt-module-text ul li,
    .gt-module-text span,
    .gt-module-text a{
        font-size: 16px;
    }
}
@media only screen and (max-width: 767px){
    .hero-banner .banner-content h1,
    .banner-content h1{
        font-size: 40px;
    }
    .gt-module-text.heading-larger h2{
        font-size: 28px !important;
    }
    h2,
    .map-filters h2{
        font-size: 28px !important;
    }
}
@media only screen and (max-width: 360px){
    .hero-banner .banner-content h1,
    .banner-content h1{
        font-size: 36px;
    }
    .gt-module-text.heading-larger h2{
        font-size: 26px !important;
    }
    h2,
    .map-filters h2{
        font-size: 26px !important;
    }
}
/**/

.banner-img::after,
.gt-module-videoherobanner-module .video-container::after{
    content:'';
    display: block;
    width: 100vw;
    height:90%;
    margin-left: -webkit-calc(50% - 50vw);
    margin-left: -moz-calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    margin-right: -webkit-calc(50% - 50vw);
    margin-right: -moz-calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: absolute;
    bottom:0px;
    left:0px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    z-index:2;
}

.banner-content.text-white{
    z-index: 3;
}

a{
    color:#E30613;
}

.gt-module-image img{
    height: auto !important;
}

.gt-module-video{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9-format (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
    margin-bottom:20px;
}
.gt-module-video iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hide{
    display: none !important;
}
.gt-module-verksamheterslider-module{
    margin-bottom:40px;
    margin-top: 40px
}
.navbar-brand {
    display: inline-block;
    transition: transform 0.3s ease;
}

.navbar-brand.rotate {
    transform: rotate(5deg);
}

/* Evig snurr */
@keyframes spin {
    from { transform: rotate(5deg); }
    to   { transform: rotate(365deg); }
}

.navbar-brand.spinning {
    animation: spin 1s linear infinite;
}

header.fixed-top .main-menu nav.navbar .menu-bar ul.nav li.nav-item{
    display: flex;
    align-items: center;
    height: 44px;
}

.megamenu-item{
    position:static !important;
}
.megamenu-item > a:after{
    content: '';
    display: inline-block;
    margin-left: .5rem;
    vertical-align: .3125rem;
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);    
}
.megamenu-item.active > a:after{
    border-color:#E30613;
}
.megamenu-wrapper{
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}
.megamenu-item.hover-active > .megamenu-wrapper{
    display: block;
    opacity: 1;
    visibility: visible;
}
.megamenu-item .megamenu-wrapper{
    position: absolute;
    padding-top:33px;
    padding-top:52px;
    padding-bottom:50px;
    width: calc(100% + 30px);
    left:-15px;
    top:74px;
    top: 55px;
    background-color: #fff;
}
.megamenu-item .megamenu-container{
    margin-left: auto;
    margin-right: auto;
}
.megamenu-row{
    display: flex;
    gap:4.14%;
}
.megamenu-column{
    width:17.28%;
}
.megamenu-column h3 a{
    line-height: 1;
    margin-top:14px;
    font-family: "neo-sans-medium" !important;
}
.megamenu-column a,
.swiper-slide .children-list a{
    color:#585858 !important;
    font-size: 14px;
    font-family: "neo-sans-regular";
}
.megamenu-column a:hover,
.swiper-slide .children-list a:hover{
    color:#E30613 !important;
}
.megamenu-column a path,
.slider-item a path{
    fill: #585858;
    transition: fill 0.3s ease;
}
.megamenu-column a:hover path,
.slider-item a:hover path{
    fill:#E30613 !important;
}
.megamenu-column h3 a,
.slider-item .slider-title-container{
    display: flex;
    justify-content: space-between;
}
.megamenu-column h3 a .arrow-container,
.slider-item .slider-title-container .arrow-container{
    width:7px;
    height: 19px;
}
.slider-title-container .slider-title{
    margin-bottom:0px;
}
.slider-item .slider-title-container .arrow-container svg{
    width:100%;
}
.megamenu-column .no-hover .arrow-container,
.slider-item .no-hover .slider-title-container .arrow-container{
    display: none;
}
.megamenu-column .no-hover a:hover,
.slider-item a:hover p.no-hover,
.sandahls-side-menu__list .no-hover > a{
    color: #585858 !important;
    cursor: default;
}
.swiper-slide .children-list a:hover{
    text-decoration: underline;
}
.megamenu-column .no-hover a:hover,
.slider-item a:hover p.no-hover,
.sandahls-side-menu__list .no-hover a{
    text-decoration:none;
}
.swiper-slide .children-list li{
    margin-bottom:10px;
}
.megamenu-column ul{
    list-style-type: none;
    padding-left: 0px;
}
.megamenu-header{
    font-size: 16px;
    line-height: 1.2;
}
.megamenu-column ul li{
    margin-bottom:6px;
}
.megamenu-header::after{
    display: block;
    content: '';
    width:100%;
    height:5px;
    margin-top:13px;
    margin-bottom: 16px;
}
.megamenu-logistik::after{
    background-color: #01426A;
}
.megamenu-jarnvagstransporter::after{
    background-color: #FF671F;
}
.megamenu-grus-asfalt::after{
    background-color: #E30613;
}
.megamenu-atervinning::after{
    background-color: #0072CE;
}
.megamenu-ovrigt::after{
    background-color: #585858;
}
.megamenu-image{
    width: 100%;
    aspect-ratio: 202/86;
    overflow: hidden;
    position: relative;
    margin-bottom:18px;
}
.megamenu-image img{
    position: absolute;
    width: 100%;
    height: auto;
    display: block;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    object-fit: cover;    
}
.megamenu-item .megamenu-wrapper .megamenu-container{
    width:100%;
    max-width: 1600px;
    padding-left: 20px;
    padding-right:20px;
}

.megamenu-grid-container {
    max-width: 980px;
    margin: 0 auto; /* centrera i dropdownen */
    padding: 0; /* ingen padding runt */
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* max 3 kolumner */
    gap: 20px;
    justify-content: space-between;
}

.megamenu-grid-item {
    width: 100%;
    max-width: 235px;
}
.megamenu-grid-item h3 a,
.megamenu-description {
    font-size: 17px;
    color: #585858 !important;
    font-family: "neo-sans-regular" !important;
}
.megamenu-grid-item h3::after{
    content:'';
    display: block;
    width:100%;
    height:4px;
    background-color: #E30613;
}

.slider-item {
    position: relative;
}

.children-list {
    position: relative;
}

.children-list li {
    position: relative;
}

.child-link-row {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submenu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.child-popup {
    display: none;
}
.children-list li.has-grandchildren:hover > .child-link-row {
    color: #E30613;
}

.children-list li.has-grandchildren:hover > .child-link-row > a {
    color: inherit !important;
}
/* Röd pil vid hover */
    .children-list li.has-grandchildren:hover > .child-link-row::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8.25 11.28'%3E%3Cpath fill='%23E30613' d='M0,0l4.28,5.54L.02,11.28h3.94l4.3-5.76L3.99,0H0Z'/%3E%3C/svg%3E");
    }

     .children-list li.has-grandchildren > .child-link-row {
        position: relative;
        padding-right: 18px;
    }

    .children-list li.has-grandchildren > .child-link-row::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 7px;
        height: 11px;
        transform: translateY(-50%);

        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8.25 11.28'%3E%3Cpath fill='%23585858' d='M0,0l4.28,5.54L.02,11.28h3.94l4.3-5.76L3.99,0H0Z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }

    .submenu-toggle {
        display: none !important;
    }

@media (min-width: 1025px) {
    .children-list li.has-grandchildren:hover > .child-link-row > .child-popup {
        display: block;
        position: absolute;
        left: calc(100% + 10px);
        top: -10px;
        min-width: 240px;
        background: #fff;
        padding: 18px;
        box-shadow: 0 10px 30px rgba(0,0,0,.15);
        z-index: 9999;
    }

    .child-popup::before {
        content: "";
        position: absolute;
        left: -10px;
        top: 0;
        width: 10px;
        height: 100%;
    }

    .grandchildren-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .grandchildren-list li + li {
        margin-top: 10px;
    }

}
@media (max-width: 1024px) {
/* =========================
   VANLIGA MENYN
========================== */
.slider-title .arrow-container{
    margin-left: 10px;
}
.megamenu-container .child-link-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.megamenu-container .submenu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 6px;
    background: none;
    border: 0;
    color: inherit;
    font-size: 18px;
    line-height: 1;
}

.megamenu-container .children-list li.has-grandchildren > .child-link-row::after {
    display: none;
}

.megamenu-container .child-popup {
    display: none;
}

.megamenu-container .has-grandchildren.is-open > .child-link-row > .child-popup {
    display: block;
    position: static;
    flex-basis: 100%;
    width: 100%;
    padding: 6px 0 0 16px;
    margin: 0;
    box-shadow: none;
    background: transparent;
}

.megamenu-container .has-grandchildren.is-open > .child-link-row > a {
    color: #E30613 !important;
}
}
.custom-logistik-slider .swiper-slide {
    position: relative;
    z-index: 1;
}

.custom-logistik-slider .swiper-slide.submenu-active {
    z-index: 9999 !important;
}

.custom-logistik-slider .swiper-slide:hover,
.custom-logistik-slider .swiper-slide:has(.has-grandchildren:hover) {
    z-index: 50;
}


.swiper-container.custom-logistik-slider .slider-title,
.swiper-container.custom-verksamheter-slider .slider-title{
    font-family: "neo-sans-medium", sans-serif;
}
.swiper-container.custom-logistik-slider .children-list,
.swiper-container.custom-verksamheter-slider .children-list{
    list-style-type: none;
    padding-left: 0px;
}
h2.slider-header{
    margin-bottom:20px;
    font-size: 38px;
}
.gt-module-verksamheterslider-two-module{
    margin-top:60px;
    margin-bottom:80px;
}

#toggle-search{
    display: none !important;
    border: none;
    background-color: #fff;
}
.search-form-holder-mobile{
    position: absolute;
    bottom: -69px;
    height: 60px;
    padding:0px;
    display: none; /* Dölj sökfältet som standard */
    width: calc(100% + 40px);
    background-color: white;
    top: 100%; /* Placeras direkt under headern */
    left: -20px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.search-form-holder-mobile form {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}
.search-form-holder-mobile input[type="search"] {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    background-color: #fff;
}
.search-form-holder-mobile .search-btn {
    background-color: #E30613;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.search-form-holder-mobile form{
    height: 60px;    
}
header .search-form-holder-mobile form input{
    height:60px;
    width:100% !important;
    right:0px !important;
}

main {
    margin-top: 5.2rem;
}
.video-hero-banner .banner-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    -webkit-transform: translate(10px, 0%);
    -moz-transform: translate(10px, 0%);
    -ms-transform: translate(10px, 0%);
    -o-transform: translate(10px, 0%);
    transform: translate(10px, 0%);
}
.video-container {
    width: 100vw;
    margin-left: -webkit-calc(50% - 50vw);
    margin-left: -moz-calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    margin-right: -webkit-calc(50% - 50vw);
    margin-right: -moz-calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 630px;
    overflow: hidden;
    position: relative;
    margin-bottom:0px;
}
.video-container video {
    position: absolute;
    width: 100%;
    height: auto;
    display: block;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    object-fit: cover;
}
.hero-banner .banner-content {
    position: absolute;
    bottom: 80px;
    top: auto;
    left: 0;
    -webkit-transform: translate(10px, 0%); 
    -moz-transform: translate(10px, 0%);
    -ms-transform: translate(10px, 0%);
    -o-transform: translate(10px, 0%);
    transform: translate(10px, 0%); 
}
.sandahls-map{
    margin-top:30px;
    display: flex;
    gap:20px;
}
.sandahls-map #map{
    aspect-ratio: 4/3;
    width:100%;
    border-radius:10px;
    border: 1px solid rgba(0, 0, 0, 0.5);
}
.map-search-wrapper,
.sandahls-map-filtered > div:first-child{
    width:33.37%;
    min-width:475px;
}
.map-container,
.sandahls-map-filtered #map-wrapper{
    width:100%;
    max-width: calc(100% - 495px);
}
.sandahls-map-filtered > div:first-child h3{
    font-size: 34px;
    line-height: 1.4;
    margin-bottom:20px;
}
.map-filters{
    flex-direction: column;
    gap:15px;
}
.map-filters select{
    flex: initial;
}
.map-container{
    border-radius: 10px;
}
#location-search-btn{
    width:100%;
    max-width: 107px;
    min-width: auto;
    font-size: 18px;
    margin-left: 16px;
    background-color: #E30613;
    border:0px;
}
#location-search{
    width:calc(100% - 127px);
}

#location-search,
.verksamhet-filter-wrapper,
.category-filter-wrapper,
#verksamhet-filter,
#category-filter{
    width:100%;
    max-width: 347px;
}
#location-search,
#verksamhet-filter,
#category-filter,
select.gfield_select{
    border-radius: 50px;
    border-color: #585858;
    color:#585858;
    font-size: 18px !important;
    padding-left: 26px !important;
    padding-right: 26px !important;
    background-color: #fff !important;
}
select.gfield_select{
    padding-top:12px !important;
    padding-bottom: 12px !important;
}



#location-search::placeholder{
    color:#585858;
}
#verksamhet-filter,
#category-filter{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.verksamhet-filter-wrapper,
.category-filter-wrapper{
    position: relative;
}
.verksamhet-filter-wrapper i.fa-chevron-down,
.category-filter-wrapper i.fa-chevron-down{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* så man kan klicka på selecten under */
    color: #333;
    font-size: 14px; /* ändra storlek här */
}
.card-block .card-wrapper{
    position: relative;
}
.card-block .card-wrapper .card-img{
    -webkit-border-radius: 10px 10px 0px 0px !important;
    -moz-border-radius: 10px 10px 0px 0px !important;
    border-radius: 10px 10px 0px 0px !important;
}
.card-img{
    position: relative;   
}
.card-img p{
    background-color: #E30613;
    color: #fff;
    position: absolute;
    top:36px;
    left: 0px;
    border-radius: 0px 5px 5px 0px;
    width:140px;
    text-align: center;
    padding-top:6px;
    padding-bottom:6px;
    font-size: 18px;
} 

.btn-theme{
    line-height:50px;
    height:50px;
}
.map-pin-button.btn-theme{
    line-height:40px;
    height:46px
}
.btn-right-arrow{
    padding-left: 1.5625rem;
}
.btn-right-arrow {
    position: relative;
    display: inline-block;
    padding: 10px 20px 10px 55px;
    color: #585858;
    text-decoration: none;
    font-size: 1rem;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index:2;
    line-height: 1.24 !important;
  }
  


  /* Cirkeln bakom pilen */
  .btn-right-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background-color: #E30613;
    border-radius: 50px;
    z-index: -1;
    transition: width 0.4s ease, border-radius 0.4s ease, left 0.4s ease;
  }
  footer .btn-right-arrow:before,
  footer .btn-right-arrow:after{
    display: none;
  }
  footer .btn-right-arrow .arrow-ghost{
    display: none;
  }
  footer .btn-right-arrow{
    display: inline-block;
    min-width: 200px;
    height: 55px;
    line-height: 55px;
    color: #fff;
    font-family: "neo-sans-regular";
    text-align: center;
    margin-right: 1.25rem;
    background: transparent;
    border: 1px solid #3C3C3B;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    border: 1px solid #fff;
    padding:14px 14px;
  }
  footer .btn-right-arrow:hover{
    background-color: #E30613;
    border:1px solid #E30613;
  }
  .area-block .area-wrapper .area-link span::after {
    content: '';
    background-image: url('assets/images/vit-pil.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    height:20px !important;
    top: 20px;
    border: none;
    border-width: 0px;
    display: inline-block;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.area-block .area-wrapper .area-link:hover span::after{
    -webkit-transform: translateX(10px) translateY(-50%);
    -moz-transform: translateX(10px) translateY(-50%);
    -ms-transform: translateX(10px) translateY(-50%);
    -o-transform: translateX(10px) translateY(-50%);
    transform: translateX(10px) translateY(-50%);
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
/*textstorlekar till undersidor som kommuner*/
.parent-pageid-610 h1{
    font-size: 48px;
}
.parent-pageid-610 .contract-card-block .contract-card-wrapper .contract-card-content-wrapper .contract-card-content p{
    font-size: 18px;
}
.parent-pageid-610 h2{
    font-size: 29px;
}
.gt-module-section-title-module h1{
    font-size: 48px;
}
#gform_9 .gform_footer input.gform_button{
    display: inline-block;
    background: #E30613;
    font-size: 1.375rem;
    font-family: inherit;
    color: #fff;
    min-width: 230px;
    height: 60px;
    line-height: 60px;
    border: none !important;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    padding: 0 !important;
    margin-bottom: 0 !important;
}


  /* 🡲 Första pilen */
  .btn-right-arrow::after {
    content: '';
    background-image: url('assets/images/vit-pil.svg');
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    border-width: none;
    display: inline-block;
    padding: 0px;
    height: 11px;
    width: 11px;
    z-index: 2;
    border:none;
    background-repeat: no-repeat;
  }
  
  /* Andra pilen – den som glider ut */
  .btn-right-arrow .arrow-ghost {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    border-width: none;
    display: inline-block;
    padding: 0px;
    height: 11px;
    width: 11px;
    opacity: 1;
    z-index: 2;
    transition: opacity 0.3s ease, left 0.3s ease;
    background-image:url('assets/images/vit-pil.svg');
    background-repeat: no-repeat;
  }
  #main-content .btn-right-arrow{
    color:#585858 !important;
  }
  /* Hover-effekter */
  #main-content .btn-right-arrow:hover {
    color: white !important;
  }
  
.btn-right-arrow:hover::after {
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    border-color: #fff !important;
    left:15px;
}
  
  .btn-right-arrow:hover::before {
    width: 100%;
    left: 0px;
    border-radius: 50px;
  }
  
  .btn-right-arrow:hover .arrow-ghost {
    opacity: 1;
    left: 24px; /* Samma plats, men fade-in */
  }

  .card-block .card-wrapper .card-content-wrapper .card-content p{
    font-size: 18px !important;
    line-height: 26px;
  }
  .card-content h5 strong{
    color: #585858;
    font-family: 'neo-sans-medium', sans-serif !important;
    font-weight: 400;
  }
  .ginput_container input[type="text"],
  .ginput_container textarea{
    font-family: 'neo-sans-regular', sans-serif !important;
    font-size: 18px !important;
    padding: 12px 17px !important;
    justify-self: center;
    border: 1px solid #585858;
    border-radius: 50px;
  }
  
  .ginput_container textarea{
    border-radius: 20px;
  }
  #field_2_8 label{
    display: none !important;
  }
  .gform_wrapper li.hidden_label input,
  .ginput_container_textarea textarea{
    margin:0px !important;
  }
  /* Dölj original input men behåll funktionaliteten */
.gform_wrapper .ginput_container_fileupload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100% !important;
    height: 100%;
    z-index: 2;
  }
/* Justera till en mer exakt knappstorlek */
.gform_wrapper .ginput_container_fileupload {
    position: relative;
    display: inline-block;
    width: auto;
    height: 44px; /* Justera till höjd du vill ha */
}
  
  .gform_wrapper .ginput_container_fileupload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
  }
  #field_2_7{
    margin-top: 0px;
  }
  /* Lägg till egen knapp under fil-inputen */
  .gform_wrapper .ginput_container_fileupload::before {
    content: "Välj fil";
    display: inline-block;
    background-color: #e0e0e0;
    color: #585858;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1;
    position: relative;
    width: 230px;
    height:52px;
    text-align: center;
    border-radius: 50px;
    line-height:2;
  }
input[type="submit"]#gform_submit_button_2{
    width: 230px;
    height:52px;
    text-align: center;
    border-radius: 50px;
    color:#fff;
    background-color: #E30613;
    border:none !important;
  }
  
  /* Valfritt: ändra text när en fil valts */
  .gform_wrapper .ginput_container_fileupload.file-selected::before {
    content: "Fil vald ✓";
    background-color: #E30613;
    color:#fff;
  }
  .loadmore-filter-btn,
  #load-more-tjanster{
    justify-self: center;
    border: 1px solid #585858;
    border-radius: 50px;
  }
  .loadmore-filter-btn a{
    padding-right:0px !important;
    font-family: 'neo-sans-regular', sans-serif !important;
    font-size: 18px !important;
    padding:5px 10px !important; 
  }
  #load-more-tjanster{
    padding:10px 17px !important;
  }
  .loadmore-filter-btn:hover,
  #load-more-tjanster:hover{
    background-color: #E30613;
    border-color: #E30613;
  }
  .loadmore-filter-btn:hover a{
    color: #fff !important;
  }
  .loadmore-filter-btn a::after{
    border:none !important;
  }
  #load-more-tjanster:hover{
    color: #fff !important;
  }
  #lediga-tjanster-container{
    gap: 50px 0px;
  }
  .news-button{
    position: absolute;
    top:3px;
    right:18px;
  }
  .news-button a{
    color: #585858;
    font-size: 16px;
    border-color: #585858;
    min-width: 170px;
  }
/* Swiper bildspel, verksamheter */ 
.slider-outer{
    padding-left: 50px;
    padding-right: 50px;
}
.slider-container .btn-wrapper{
    margin-bottom:23px;
    float:right;
}
.slider-container .btn-theme,
.map-pin-button.btn-theme{
    color: #585858;
    border-color: #585858;
    font-size: 16px;
    min-width:170px;
}
.slider-container .btn-theme:hover,
.map-pin-button.btn-theme:hover{
    color:#fff;
    border-color: #E30613; 
}
#map-buttons{
    display: flex;
    gap:20px;
    flex-direction: column;
    width:240px;
}
#map-buttons.ballast-buttons{
    width:320px;
}
#map-buttons .map-pin-button{
    width:100%;
}
#map-buttons .map-pin-select {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #585858;
  border-radius:50px;
  font-size: 16px;
}
.map-pin-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;

  padding-right: 44px;
}
.swiper-container {
    width: 100%;
    overflow: hidden; /* döljer slides utanför vyn */
    padding-bottom:20px;
}
.swiper-wrapper {
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}
.swiper-slide {
    flex-shrink: 0;
    width: auto; /* Swiper justerar detta automatiskt */
    transition: color 0.3s ease;
}
.swiper-slide p{
    color:#585858;
}
.slider-item a:hover .slider-title{
    color:#E30613;
}
.slider-image-wrapper {
    aspect-ratio: 353 / 183;
    width: 100%; /* eller en max-bredd om du vill begränsa det */
    overflow: hidden;
    border-radius:10px;
    margin-bottom:15px;
    background-color: #cdcdcd;
}
.slider-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.5s ease;
}
.swiper-slide:hover .slider-image-wrapper img{
    transform: scale(1.05); /* subtil zoom */
}
.swiper-button-prev {
    left: -50px; /* flytta utanför vänster */
}
.swiper-button-next {
    right: -50px; /* flytta utanför höger */
}
.swiper-scrollbar{
    bottom:40px !important;
}

.sandahls-button-prev::after,
.sandahls-button-next::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sandahls-button-prev::after {
  background-image: url('assets/images/slider-left.svg'); /* byt till rätt ikon */
}

.sandahls-button-next::after {
  background-image: url('assets/images/slider-right.svg'); /* byt till rätt ikon */
}
.swiper-button-next, 
.swiper-button-prev{
    width:47px;
    height:47px;
    top: 50%;
}
.facts-container{
    margin-top:120px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 720px;
    gap:40px;
    margin-bottom:80px;
}
.facts-container .fact-item{
    max-width: 210px;
}
.facts-container .fact-item .fact-number{
    font-size: 48px;
}
.facts-container .fact-item .fact-text{
    font-size: 18px;
}
.slim-columns .bg-overlay::before{
    background: transparent;
}
.slim-columns .block-content p{
    font-size: 18px !important;
    line-height: 26px !important;
}
.slim-columns .block-content h2{
    font-size: 29px !important;
}
.contract-service a{
    color: #fff !important;
    text-decoration: underline;
}
.contract-service.simple-card-block a{
    color: #585858 !important;
    text-decoration: none;
}
.contract-service a:hover{
    color: #E30613 !important;
}
.contract-service.simple-card-block a:hover{
    color: #fff !important;
}
.boka-wrapper .contract-service{
    margin-bottom:0px !important;
}
.boka-wrapper h2{
    font-size: 34px !important;
    line-height: 1.2;
}
.boka-wrapper a:hover{
    color:#fff !important;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 45px 16px;
    max-width: 1460px;
    margin: 0 auto;
    padding: 2rem;
}
.service-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}
.image-wrapper {
    width: 100%;
    aspect-ratio: 353 / 183;
    background-color: #e0e0e0; /* Fallback bakgrund */
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    margin-bottom:15px;
}
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}
.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}
.service-card h3 {
    font-size: 18px;
    line-height:26px;
    font-family: 'neo-sans-regular', sans-serif;
    text-align: left;
}

.service-card:hover .image-wrapper img{
    transform: scale(1.05);
}
.service-card:hover h3{
    color:#E30613 !important;
}
.contract-card-content-wrapper{
    padding-top:10px !important;
}
.contract-service .contract-card-content-wrapper{
    padding-top:45px !important;
}
.area-block .area-wrapper .area-link{
    background: #01426A;
}
.area-block .area-wrapper .area-link:hover{
    color:#fff !important;
}
.area-block .area-wrapper .area-link:hover span::after{
    border-color: #fff !important;
}
.card-content-wrapper{
    display: block !important;
}
.card-content-wrapper .btn-wrapper{
    margin-top:20px;
}
.gt-module-text p a:hover{
    text-decoration: underline;
}
.gt-module-text p a.btn-right-arrow:hover{
    text-decoration: none;
}
.wp-block-heading{
    margin-top:30px;
}
.kontaktperson{
    margin-bottom:40px;
}
footer .footer-middle .footer-menu ul li a:hover,
footer .footer-contact li a:hover,
.footer-banner a:hover{
    color:#fff !important;
    text-decoration: underline;
}
.verksamheter-slider a:hover p,
.megamenu-column li a:hover,
.megamenu-header a:hover{
    text-decoration: underline;
}
.megamenu-grid-item h3 a{
    font-family: 'neo-sans-medium' !important;
    line-height: 1.4;
}
.megamenu-grid-item h3{
    line-height: 1.4;
    font-size: 17px;
}
.megamenu-grid-item h3::after{
    margin-top:5px;
}
.megamenu-grid-item h3 a:hover{
    color:#E30613 !important;
    text-decoration: underline;
}
.swiper-slide a:hover p{
    text-decoration: underline;
}
#primary-menu .cls-1, #primary-menu .cls-4{
    stroke: transparent !important;
}
#Texter_outline g.cls-10 path,
#Texter_outline g.cls-11  path{
    fill: #3C3C3B !important;
    opacity:1 !important;
}
#Texter_outline g.cls-11{
    opacity: 0.8 !important;
}
footer{
    background-color: #01426A;
}
footer .footer-top h5{
    font-size: 48px;
    margin-bottom:36px !important;
}
footer .footer-banner{
    height:80px;
    padding:0px;
    display: flex;
    align-items: center;
}
footer .footer-middle .social-icon ul li a:hover{
    color:#fff;
    opacity: 1;
    background-color: #E30613;
}
footer .footer-middle .btn-wrapper{
    margin-top:10px !important;
}
footer .footer-middle .btn-wrapper .btn-theme{
    min-width: 150px;
    font-size: 18px;
}
footer .footer-middle .menu{
    margin-top: 0px !important;
}
footer .footer-top-banner::before{
    background-color: #FF671F;
}
footer .footer-top-banner p{
    margin-bottom:0px;
    font-size: 13px;
}
footer .footer-top-banner a{
    margin-bottom:0px;
    color: #fff;
}
footer .footer-middle-banner::before{
    background-color: #E30613;
}
footer .footer-bottom-banner::before{
    background-color: #0072CE;
}
footer .social-icon ul li a{
    color: #01426A;
}
footer .footer-menu ul{
    list-style: none;
}
footer .footer-menu ul{
    list-style-position: inside;
    padding-left:0px;
}
footer .footer-menu ul li a,
footer .footer-contact li,
footer .footer-contact li a,
footer .footer-contact a{
    color:#fff;
    font-size: 18px;
}
footer .footer-menu ul li{
    line-height: 26px !important;
}
footer .footer-contact li a:hover{
    color:#E30613;
}
footer .footer-bottom-banner-menu ul{
    display: flex;
}
footer .footer-bottom-banner-menu ul{
    display: flex;

}
footer .footer-bottom-banner-menu ul{
    gap: 0px 70px;
}
footer .footer-bottom-banner > .row{
    width: 100%; 
}
footer .footer-bottom-banner > .row .col-md-6:nth-child(2) .gt-column-inner{
    display:flex;
    justify-self: flex-end;
}
footer .footer-bottom-banner > .row .col-md-6:nth-child(1) p{
    margin-bottom:0px;
}
footer .footer-contact *{
    color:#fff;
}
footer .footer-contact ul li:nth-child(2){
    margin-bottom:20px;
}
footer h4{
    font-size: 30px;
    margin-bottom:0px;
}
footer .footer-bottom-banner ul li a,
footer .footer-bottom-banner *{
    font-size: 13px !important;
}
footer #menu-footer-bottom-banner{
    margin-bottom:0px;
}
@media only screen and (max-width: 1443px){
    footer .footer-middle .social-icon ul li a{
        width:40px;
        height:40px;
        font-size: 20px;
    }
}
@media only screen and (max-width: 1440px) {
    #map-desc{
        position: relative;
        box-shadow: none;
        top:0px;
        left:0px;
    }
    #map-desc ul{
        display: flex;
        gap:10px 20px;
        padding-left:0px !important;
        padding-right:0px !important;
        flex-wrap:wrap;
    }
    #map-desc ul li{
        font-size: 14px;
        line-height:14px;
    }
    #map-desc ul li::before{
        margin-right:3px;
    }
    .gm-style-iw-d{
        overflow: visible !important;
    }
    .gm-style-iw{
        max-height: auto;
    }
    a.directions{
        margin-bottom:4px;
    }
}
@media (max-width: 1199px) {
    main {
        margin-top: 80px !important;
    }
    body h2{
        font-size: 2.125rem !important;
    }
    .sandahls-map{
        flex-direction: column;
    }
    .sandahls-map-filtered #map-wrapper{
        max-width:100%;
    }
    .news-button{
        top:-6px;
      }
    footer .footer-top h5{
        font-size: 36px;
        margin-bottom:36px !important;
        line-height: 1.1;
    }
}
@media (max-width: 991px) {
    .search-form-holder-desktop{
        display: none;
    }
    #toggle-search{
        display: block !important;
    }
    main {
        margin-top: 75px !important;
    }
    .megamenu-item {
        position: relative !important;
    }
    .megamenu-column{
        margin-bottom:10px;
    }
    .megamenu-column h3 a{
        margin-top: 0px;
        margin-left: 10px;
    }
    .megamenu-column ul {
        padding-left: 40px;
    }
    .megamenu-column ul li a{
        font-size: 1rem;
    }
    .megamenu-column .megamenu-header,
    .megamenu-grid-item h3{
        display: flex;
        align-items: center;
    }
    .megamenu-column .megamenu-header::after,
    .megamenu-grid-item h3::after {
        width: 10px;
        height: 10px;
        border-radius: 10px;
        order:1;
    }
    .megamenu-column .megamenu-header a,
    .megamenu-grid-item h3 a{
        order:2;
    }
    header.fixed-top .main-menu nav.navbar .menu-bar#navbar {
        top: 75px !important;
        height: calc(100% - 75px) !important;
    }
    .reserve-wrapper .res-btn {
        margin-right: 20px;
    }
    .megamenu-item .megamenu-wrapper{
        position: relative;
        display: none;
        padding-top:0px;
        padding-bottom:20px;
        width: calc(100% + 30px);
        left:-15px;
        top:0px;
        background-color: #fff;
    }
    .megamenu-row {
        gap: 5px;
        flex-direction: column;
    }
    .megamenu-column{
        width:100%;
        max-width: 400px;
        padding-left: 1.875rem;
    }
    .megamenu-image{
        display: none;
    }

    .megamenu-grid {
        display: block; /* Ta bort grid */
    }

    .megamenu-grid-item {
        max-width: 100%;
        width: 100%;
        padding-left: 1.875rem;
        position: relative;
    }
    .megamenu-grid-item h3{
        line-height: 39px;
    }
    .megamenu-grid-item a {
        display: block;
        padding-left: 1.5em;
        position: relative;
    }

    /* Dölj beskrivningen */
    .megamenu-description {
        display: none;
    }
    header.fixed-top .main-menu nav.navbar .menu-bar ul.nav li.nav-item{
        display: block !important;
        height:auto !important;
    }
    
    footer .footer-middle .col-md-3{
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 50%;
        -moz-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom:40px;
    }
    footer .footer-middle .col-md-3 h4{
        font-size: 20px;
    }
    footer .footer-menu ul li a,
    footer .footer-contact li,
    footer .footer-contact li a,
    footer .footer-contact a{
        color:#fff;
        font-size: 16px;
    }
    footer .footer-bottom-banner .col-md-6{
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 100%;
        -moz-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    footer .footer-bottom-banner > .row .col-md-6:nth-child(2){
        margin-top: 4px;
    }
    footer .footer-bottom-banner > .row .col-md-6:nth-child(2) .gt-column-inner{
        justify-self: flex-start;
    }
    footer .footer-bottom-banner-menu ul{
        flex-wrap: wrap;
        gap:0px 30px;
    }
    footer .footer-bottom-banner-menu ul li {
        margin-left: 0px;
    }
    footer .footer-bottom-banner{
        height:120px;
    }
}
@media (max-width: 767px) {
    main {
        margin-top: 66px !important;
    }
    header.fixed-top .main-menu nav.navbar .menu-bar#navbar{
        top:66px !important;
        height: calc(100% - 66px) !important;
    }
    .video-container {
        height: 300px;
    }
    .sandahls-map #map {
        aspect-ratio: 2 / 3;
        width: 100%;
        border-radius: 10px;
    }
    .facts-container{
        margin-top:60px;
        gap:20px;
    }
    .facts-container .fact-item .fact-number{
        font-size: 36px;
        margin-bottom:0px;
    }
    .facts-container .fact-item .fact-text{
        font-size: 16px;
    }
}
@media only screen and (max-width: 576px) {
    .slider-outer{
        padding: 0px;
    }
    .slider-outer .gt-column{
        padding-right:0px;
        padding-left:0px;
    }
    .swiper-container{
        padding-right:20px;
        padding-left:20px;
    }
    .swiper-scrollbar{
        width:calc(100% - 40px) !important;
        right: 0px !important;
        left: 0px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
    .slider-container .btn-wrapper{
        margin-right:20px;
    }
    .swiper-button-prev,
    .swiper-button-next {
      display: none !important;
    } 
    .verksamhet-filter-wrapper, 
    .category-filter-wrapper, 
    #verksamhet-filter, 
    #category-filter,
    .map-search-wrapper {
        width: 100%;
        max-width: 100%;
    }
    #location-search{
        max-width: calc(100% - 127px);
    }
    .map-search-wrapper{
        min-width: 100%;
    }
    .facts-container .fact-item .fact-text{
        font-size: 14px;
    }
    .gm-style-iw{
        max-width: 100% !important;
        width:300px;
    }
    .sandahls-map-filtered > div:first-child h3{
        font-size: 26px;
        line-height: 1.4;
        margin-bottom:20px;
    }
    .sandahls-map-filtered > div:first-child{
    width:33.37%;
    min-width:auto;
}
}
@media only screen and (max-width: 460px) {
    footer .footer-middle .social-icon ul li a {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }
    .services-grid{
        padding:0px;
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}
@media only screen and (max-width: 434px) {
    .swiper-container {
        padding-bottom: 0px;
    }
    #location-search, 
    #verksamhet-filter, 
    #category-filter{
        font-size: 14px;
    }
}