/*
Theme Name: Tangen Sälen
Description: Tangen Sälen Child Theme
Author: Gullström & Co
Template: flatsome
Version: 3.0
*/

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

.grecaptcha-badge { 
    visibility: hidden;
}

@font-face {
    font-family: "InstrumentSansSemibold";
    src: url('fonts/Instrument_Sans_SemiBold.woff2')  format('woff2');
    font-display: swap;
    font-weight: normal;
}

@font-face {
    font-family: "InstrumentSansBold";
    src: url('fonts/Instrument_Sans_Bold.woff2')  format('woff2');
    font-display: swap;
    font-weight: normal;
}

@font-face {
    font-family: "Onest";
    src: url('fonts/Onest.woff2')  format('woff2');
    font-display: swap;
    font-weight: normal;
}

body {
    font-family: "Onest", sans-serif!important;
    font-weight: normal!important;
    font-size: var(--text-body)!important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "InstrumentSansBold", sans-serif!important;
    font-weight: 700!important;
}

h1 { font-size: var(--text-h1)!important; }
h2 { font-size: var(--text-h2)!important; }
h3 { font-size: var(--text-h3)!important; }
h4 { font-size: var(--text-h4)!important; }
h5 { font-size: var(--text-h5)!important; }
h6 { font-size: var(--text-h6)!important; }

.uppertext {
    font-family: "InstrumentSansSemibold", sans-serif!important;
    font-size: var(--text-body)!important;
    font-weight: 700!important;
    & p {
        margin-bottom: 0;
    }
}

.no-margin p, .no-margin h1, .no-margin h2 {
    margin-bottom: 0;
}

.no-margin-bottom {
    padding: 0 15px !important;
}

a {
    font-weight: normal!important;
}

.copyright-footer {
    color: #fff;
}

/*************** Färgvariabler  ***************/
:root {
    --darkblue: #0A3045;
    --lightblue: #39769E;
    --lightlightblue: #9ACAD6;
    --lightcyan: #CADFDE;
    --lightbeige: #F1ECE6;
    --lightgreen: #EAF1D4;
    --strongpink: #BE436E;
    --pastelpink: #C97099;
    --strongyellow: #ffbb06;
    --pastelyellow: #f8c661;
  }
/*************** Spacing / Padding  ***************/
:root {
    --space-xs:  10px;
    --space-sm:  15px;
    --space-md:  24px;
    --space-lg:  30px;
    --space-xl:  60px;
    --space-2xl: 110px;
}

@media only screen and (max-width: 849px) {
    :root {
        --space-xs:  8px;
        --space-sm:  12px;
        --space-md:  20px;
        --space-lg:  24px;
        --space-xl:  40px;
        --space-2xl: 60px;
    }
}

@media only screen and (max-width: 48em) {
    :root {
        --space-xs:  6px;
        --space-sm:  10px;
        --space-md:  16px;
        --space-lg:  20px;
        --space-xl:  30px;
        --space-2xl: 40px;
    }
}

/*************** Border radius  ***************/
:root {
    --radius-full: 9999px;
    --radius-md: 30px;
    --radius-lg: 80px;
}

.radius-tl { border-radius: var(--radius-lg) 0 0 0 !important; overflow: hidden; }
.radius-tr { border-radius: 0 var(--radius-lg) 0 0 !important; overflow: hidden; }
.radius-br { border-radius: 0 0 var(--radius-lg) 0 !important; overflow: hidden; }
.radius-bl { border-radius: 0 0 0 var(--radius-lg) !important; overflow: hidden; }

/*************** Textstorlekar  ***************/
:root {
    --text-body: 1rem;
    --text-h6: 1rem;
    --text-h5: 1.125rem;
    --text-h4: 1.25rem;
    --text-h3: 1.5rem;
    --text-h2: 3rem;
    --text-h1: 4rem;
}

@media only screen and (max-width: 849px) {
    :root {
        --text-h3: 1.25rem;
        --text-h2: 2.25rem;
        --text-h1: 3rem;
    }
}

@media only screen and (max-width: 48em) {
    :root {
        --text-h3: 1.125rem;
        --text-h2: 1.75rem;
        --text-h1: 2.25rem;
    }
}

/*************** Bakgrundsfärger  ***************/
.darkblue {
    background-color: var(--darkblue)!important;
}

.lightblue {
    background-color: var(--lightblue)!important;
}

.lightlightblue {
    background-color: var(--lightlightblue)!important;
}

.lightcyan {
    background-color: var(--lightcyan)!important;
}

.lightbeige {
    background-color: var(--lightbeige)!important;
}

.lightgreen {
    background-color: var(--lightgreen)!important;
    color: var(--darkblue) !important;

    & h1, & h2, & h3, & h4, & h5, & h6 {
        color: var(--darkblue) !important;
    }
}

.strongpink {
    background-color: var(--strongpink)!important;
}

.pastelpink {
    background-color: var(--pastelpink)!important;
}

.strongyellow {
    background-color: var(--strongyellow)!important;
}

.pastelyellow {
    background-color: var(--pastelyellow)!important;
}

/*************** Knappar  ***************/
.tangen-btn {
    font-size: 18px!important;
    font-family: "Onest", sans-serif!important;
    font-weight: 600!important;
    min-height: auto!important;
    line-height: 1!important;
    padding: 15px 24px!important;
    text-transform:none!important;
    border-radius: var(--radius-full);
}

.tangen-btn span, .tangen-btn .is-outline {
    line-height: 1!important;
}

@media only screen and (max-width: 48em) {
    .tangen-btn {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
}

.wpcf7-submit {
    font-size: 18px !important;
    font-family: "Onest", sans-serif !important;
    font-weight: 600 !important;
    min-height: auto !important;
    line-height: 1 !important;
    padding: 15px 24px !important;
    text-transform: none !important;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
}

@media only screen and (max-width: 48em) {
    .wpcf7-submit {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
}

/*************** Global Struktur  ***************/
.section-container {
    padding: var(--space-2xl) !important;
}

@media only screen and (max-width: 48em) {
    .section-container {
        padding: var(--space-2xl) var(--space-lg) !important;
    }
}

.full-width-container {
    justify-content: center;
}

.full-width-container p {
    margin-bottom: 0;
}

.full-width-left .col-inner, .full-width-right .col-inner {
    max-width: 685px;
    padding: 40px 80px;
}

@media only screen and (max-width: 48em) {
    .full-width-left .col-inner, .full-width-right .col-inner  {
        max-width: 100%;
    } 
}

.slider-nav-outside .flickity-page-dots {
    bottom: -20px;
}

.checkmark ul {
    list-style: none;
}

.checkmark ul li {
    position: relative;
    padding-left: 1.8em;
    margin-left: 0!important;
    margin-bottom: 0.4em;
}

.checkmark ul li:before{
    content: '';  /* placeholder for the SVG */
    position: absolute;
    left: 0;  /* place the SVG at the start of the padding */
    top: 3px;
    width: 1em;
    height: 1em;
    background-color: var(--lightblue);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg width='15' height='15' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'><path d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg width='15' height='15' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'><path d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/></svg>");
}

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

.page-id-403 main {
    background-color: var(--lightlightblue)!important;
    padding: 80px 0;
}



/*************** Navigation  ***************/
.nav-left {
    justify-content: flex-end;
}

.header {
    position: fixed;

    .header-wrapper {
        &:not(.stuck) {
            background: linear-gradient(180deg, black 0%, transparent 90%);
            .header-logo-dark { display: block !important; }
            .header_logo.header-logo { display: none; }
        }

        .header-bg-color.fill {
            background: transparent;
        }

        &.stuck {
            .header-bg-color.fill {
                background: #ffffff;
            }

            .header-main .nav > li > a {
                color: var(--darkblue) !important;
            }
        }

        .header-main {
            .nav .nav-dropdown .menu-item a {
                color: var(--darkblue);
            }
            .nav > li > a {
                font-weight: 700 !important;
                font-size: 18px;
                color: #fff !important;
            }
        }
    }

    @media only screen and (max-width: 1100px) {
        #logo {
            width: 160px !important;
        }

        .header-main .nav > li > a {
            font-size: 16px !important;
        }

        .nav-spacing-large > li {
            margin: 0 8px !important;
        }
    }

    @media only screen and (max-width: 973px) {
        #logo {
            width: 140px !important;
        }

        .header-main .nav > li > a {
            font-size: 14px !important;
        }

        .nav-spacing-large > li {
            margin: 0 8px !important;
        }
    }
}

.header .header-nav-main li.header-button-1 {
    margin-right: 20px !important;
}
.header-button .button {
    font-size: 14px !important;
    font-family: "Onest", sans-serif !important;
    font-weight: 600 !important;
    min-height: auto !important;
    line-height: 1 !important;
    padding: 12px 20px !important;
    text-transform: none !important;
    border-radius: var(--radius-full);
    background-color: var(--lightgreen) !important;
    color: var(--darkblue) !important;
    border: none;
}

.header-wrapper.stuck .header-button .button {
    background-color: var(--darkblue) !important;
    color: #fff !important;
}

/*************** Footer  ***************/
.footer-wrapper h2 {
    font-size: var(--text-h3) !important;
}


/*************** Navigation mobile & tablet  ***************/
.off-canvas-right.dark .mfp-content {
    background-color: var(--darkblue);
}

.off-canvas:not(.off-canvas-center) .nav-vertical li a {
    font-size: 18px;
    color: #fff;
    font-weight: normal;
}

.off-canvas:not(.off-canvas-center) .nav-vertical li .sub-menu a {
    font-size: 16px;
    color: #fff;
    font-weight: normal;
}

.nav.nav-vertical li {
    border: none;
}

/*************** Tabbar  ***************/
.tabbed-content .nav {
    display: flex;
    justify-content: space-between!important;
}

.tabbed-content .tab {
    margin: 0;
    width: 25%;
    position: relative;
    background-color: var(--darkblue);
}

@media only screen and (max-width: 48em) {
    .tabbed-content .nav {
        flex-direction: column;
    }
    .tabbed-content .tab {
        width: 100%;
    }
}

.tabbed-content .tab a {
    width: 100%;
    text-align: center;
    display: block;
}

.tabbed-content .tab:last-child {
    border-right: none;
}

.tabbed-content .tab span {
    font-size: 18px;
    font-weight: normal;
    color: #fff;
    text-align: center;
}

.tabbed-content .nav .active {
    background-color: var(--lightblue);
}

.tab-panels {
    padding: 30px;
    background: #fff;
    border-radius: 0px 0px var(--radius-lg) 0px;
}

.tabbed-content .nav-vertical {
    justify-content: flex-start!important;
    gap: 5px;

    & .tab {
        border-radius: 999px 0px 0px 999px;
    }
}

.tabbed-content .nav-vertical a {
    text-align: left;
    padding: 10px 15px;
}

.nav-vertical+.tab-panels {
    padding: 30px;
    border: none;
}

.nav-vertical+.tab-panels ul, .tab-panels ul {
    list-style: none;
}

.nav-vertical+.tab-panels ul li, .tab-panels  ul li {
    position: relative;
    padding-left: 1.8em;
}

.nav-vertical+.tab-panels ul li:before, .tab-panels ul li:before{
content: '';  /* placeholder for the SVG */
  position: absolute;
  left: 0;  /* place the SVG at the start of the padding */
  top: 3px;
  width: 1em;
  height: 1em;
  background-color: var(--lightblue);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg width='15' height='15' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'><path d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg width='15' height='15' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'><path d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/></svg>");
}

/*************** FAQ Accordion  ***************/
.faq-accordion .accordion-title {
    border: none;
    background: var(--darkblue);
    color: #fff;
    margin: 0 15px 20px 15px;
}

.faq-accordion .active{
    background: var(--lightblue);
}

.faq-accordion .active span, .faq-accordion .active i[class^=icon-]  {
    color: #fff;
}

.faq-accordion .accordion-title span {
    font-weight: normal;
}

.faq-accordion .accordion-title {
    padding: 15px 20px;
    border-radius: var(--radius-full);
}

.accordion .toggle {
    left: auto;
    right: 5px;
    top: 0.6em;
}

.page-id-761 .accordion-inner {
    padding: 10px;
}

.page-id-761 .accordion-inner p {
    font-size: 0.8rem!important;
}

.page-id-761 .accordion-title {
    margin: 0 0 10px 0;
}

/*************** Startsida  ***************/
.frontpage-hero {
    height: 100vh;
    padding: 0 !important;
    & .section-content {
        align-self: end;
    }
    & .frontpage-hero-box {
        background: var(--darkblue);
        color: #fff !important;
        padding: var(--space-xl);
        & .subtext {
            max-width: 240px;
            justify-self: end;
        }
        & .frontpage-cta {
            padding: 0px;
            .tangen-btn {
                margin:0;
            }
            .col-inner {
                display: flex; 
                justify-content: space-between;
            }
        }
    }
    & .frontpage-hero-box h1 {
        color: #fff;
    }

    @media only screen and (max-width: 48em) {


        & .frontpage-hero-box .subtext {
            max-width: none;
        }
    }
}


.service-box-row {
    & > .service-box-container {
        & .banner {
            border-radius: 0px 0px var(--radius-lg) 0px !important;
            overflow: hidden;
            & .banner-layers {
                background: linear-gradient(22deg, #000000a6 10%, transparent 70%);
            }
        }
        & .service-box-text {
            padding-bottom: 0!important;
            .col-inner {
                display: flex;
                padding: 20px 0px !important;
                justify-content: space-between;
                align-items: center;
                border-top: solid 1px #000;
                border-bottom: solid 1px #000;
            & h3 {
                width: fit-content;
                margin-bottom: 0;
            }
            & p {
                max-width: 160px;
                margin-bottom: 0;
            }
            }
        }

        /* Flytta bakgrundsfärg från containern till .col-inner */
        &[class*="blue"],
        &[class*="pink"],
        &[class*="yellow"],
        &[class*="green"],
        &[class*="beige"],
        &[class*="cyan"] {
            background-color: transparent !important;

            & > .col-inner {
                background-color: inherit;
                padding: var(--space-md) !important;
            }
        }

        &.darkblue > .col-inner { background-color: var(--darkblue) !important; }
        &.lightblue > .col-inner { background-color: var(--lightblue) !important; }
        &.lightlightblue > .col-inner { background-color: var(--lightlightblue) !important; }
        &.lightcyan > .col-inner { background-color: var(--lightcyan) !important; }
        &.lightbeige > .col-inner { background-color: var(--lightbeige) !important; }
        &.lightgreen > .col-inner { background-color: var(--lightgreen) !important;
         & h3, p {
            color: #000 !important;
         }}
        &.strongpink > .col-inner { background-color: var(--strongpink) !important; }
        &.pastelpink > .col-inner { background-color: var(--pastelpink) !important; }
        &.strongyellow > .col-inner { background-color: var(--strongyellow) !important; }
        &.pastelyellow > .col-inner { background-color: var(--pastelyellow) !important; }

        /* Pil-cirkel ikon → botten vänster */
        & .banner-layers .img {
            left: 20px !important;
            right: auto !important;
            bottom: 20px !important;
            top: auto !important;
            transform: none !important;
            width:40px !important;
        }

        /* Länk täcker hela boxen */
        & > .col-inner {
            position: relative;
        }

        & .banner-layers > a {
            position: static;
        }

        & .banner-layers > a::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 5;
        }

        /* Bildzoom vid hover */
        & .banner-bg img {
            transition: transform 0.4s ease;
        }

        &:hover .banner-bg img {
            transform: scale(1.08);
        }
    }
}

.quote-section {
    & .quote-header-row {
        padding-top: 70px;
        & .quote-header {
            position: relative;
            display: flex;
            align-items: center;
            gap: var(--space-md);

            &::before {
                content: '\201C';
                font-family: "Onest";
                font-size: 10em;
                line-height: 1;
                color: var(--strongpink);
                flex-shrink: 0;
            }
        }
    }
            & .quote-column {
            padding-bottom: 0 !important;
            & .quote-column-text:not(:last-of-type) {
                margin-bottom: 40px;
            }
        }

    @media only screen and (max-width: 48em) {
        & .quote-header-row {
            padding-top: 170px;
        }
    }
}


.services-slider .carousel-cell {
    height: 420px !important;

    & .box-image,
    & .box-image > *,
    & .box-image > * > * {
        height: 100%;
    }

    & .box-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    & .slider-text h3::after {
        content: '\203A';
        margin-left: 10px;
    }

    & .box-text {
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        padding: 20px !important;
        pointer-events: none;
    }

    & .box-text-inner {
        position: relative !important;
        height: 100% !important;
    }
    & .slider-text {
        text-shadow: none;
    }

    & .slider-text-up {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
    }

    & .slider-text {
        position: absolute !important;
        bottom: 0 !important;
        right: 0 !important;
    }

    & .box-text-inner .img {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 40px !important;
    }
}

.tangen-tjanst .button {
    opacity: 0;
    position: absolute;
    max-height: 40px;
    bottom: -40px;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    transition: all .4s ease-in-out;
}

.tangen-tjanst:hover .button {
    opacity: 1;
}

.tangen-tjanst:hover .box-text {
}

.hero-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

@media only screen and (max-width: 700px) {
    .hero-tabs {
        flex-direction: column;
    }
}

.hero-tabs .nav-vertical {
    flex-direction: row!important;
    flex-flow: row!important;
    width: 50%;
    margin-right: 20px;
}

@media only screen and (max-width: 700px) {
    .hero-tabs .nav-vertical {
        width: 100%;
        margin-bottom: 20px;
    }
}

.hero-tabs .tab-panels {
    padding: 0;
}

.hero-tabs .nav-vertical+.tab-panels .wpcf7-form p {
    border: none;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.hero-tabs .tab a{
    padding: 10px 15px;
}

.hero-form .wpcf7-form p {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}

@media only screen and (max-width: 700px) {
    .hero-form .wpcf7-form p {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
}

.hero-form .wpcf7-form {
    margin: 0;
}

.hero-form .wpcf7-radio, .hero-form .wpcf7-list-item label {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: normal;
}

.hero-form input[type="radio"] {
    display: none;
}

.hero-form .tangen-tjanst-privat, .hero-form .tangen-tjanst-foretag {
    font-size: 18px;
    box-shadow: none;
    margin-right: 20px;
    padding: 0;
}

@media only screen and (max-width: 700px) {
    .hero-form .tangen-tjanst-privat, .hero-form .tangen-tjanst-foretag {
        width: 100%;
    }
}

.hero-form .wpcf7-select {
    box-shadow: none!important;
    border-radius: 5px!important;
    font-size: 18px!important;
    line-height: 1!important;
    padding: 15px 24px!important;
    height: auto!important;
    width: 200px!important;
    border: 1px solid #124a65!important;
    color: #124a65!important;
}

@media only screen and (max-width: 700px) {
    .hero-form .tangen-tjanst-privat .wpcf7-select, .hero-form .tangen-tjanst-foretag .wpcf7-select {
        min-width: 100%!important;
    }
}

.hero-form input[type=submit] {
    font-size: 18px;
    border: none;
    font-weight: normal;
    min-height: auto;
    line-height: 1;
    padding: 15px 24px;
    text-transform:none;
    background-color: var(--pink)!important;
}

.hero-form .wpcf7-spinner, .hero-form .wpcf7-response-output {
    display: none;
}

.hero-form .wpcf7-submit, .hero-form .wpcf7-select {
    margin: 0;
}

@media only screen and (max-width: 1100px) {
    .hero-row {
        flex-direction: column!important;
    }

    .hero-row h2 {
        text-align: center;
        margin-bottom: 20px;
    }
}

.quote p {
    font-family: serif;
    font-size: 6em;
    margin-bottom: 0;
    line-height: 1.3;
    height: auto;
}

.services-header-row {
    & .col {
        padding-bottom: 0px;
    }
}
.services-slider .flickity-viewport {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

.services-slider {
    & .carousel-cell {
        padding: 0;
        overflow: hidden;
        margin-right:20px;
        transition: transform 0.4s ease;

        & .box-image {
            background: transparent !important;
        }

        & .box-image img[src*="missing.jpg"] {
            display: none !important;
        }

        &:hover {
            transform: scale(1.05);
        }
    }
}

@media only screen and (max-width: 48em) {
    .services-slider .slider-text h3 {
        font-size: 30px !important;
    }
}

.box:has(.box-text .slider-text-up) .box-image img{
    z-index: -999;
    position: relative;
}

/*********** Undersidor ***********/
.hero-banner .banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 100%) 0%, transparent 80%);
    pointer-events: none;
}

.public-service-row {
    & h2 {
        font-size: var(--text-h3) !important;
    }

}

/*************** Kontaktformulär Provstädning  ***************/

textarea {
    font-size: 18px!important;
    font-weight: normal;
    line-height: 1!important;
    padding: 15px 24px!important;
    height: auto!important;
    box-shadow: none!important;
    border: none;
    background: #f1f1f1;
    border-radius: 5px;
    color: #124a65!important;
    resize: none;
}

textarea::placeholder {
    color: #124a65!important;
}

textarea:focus {
    background: #e1e1e1;
}

.provstad {
    & .col-inner {
        border-radius: 0px 80px 80px 0px !important;
    }

    & .wpcf7-form {
        margin-bottom: 0;
    }

    & .wpcf7-text, & .wpcf7-number, & .wpcf7-date {
        font-size: 16px !important;
        font-weight: normal;
        line-height: 1 !important;
        padding: 15px 24px !important;
        height: auto !important;
        box-shadow: none !important;
        border: none;
        background: #f1f1f1;
        border-radius: 5px;
        color: #124a65 !important;

        &::placeholder {
            color: #124a65 !important;
        }

        &:focus {
            background: #e1e1e1;
        }
    }

    & input[type=submit] {
        font-size: 18px !important;
        font-family: "Onest", sans-serif !important;
        font-weight: 600 !important;
        border: none;
        min-height: auto !important;
        line-height: 1 !important;
        padding: 15px 24px !important;
        text-transform: none !important;
        border-radius: var(--radius-full);
        margin: 0;
        cursor: pointer;
    }

    & .wpcf7-radio, & .wpcf7-list-item label {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 0;
    }

    & .wpcf7-list-item-label {
        font-weight: normal;
    }

    & .wpcf7-radio {
        margin-bottom: 20px;
    }

    & input[type=radio] {
        margin: 0 10px 0 0;
        display: none;
    }

    & .wpcf7-select {
        box-shadow: none;
        border-radius: 5px;
        font-size: 16px;
        line-height: 1;
        padding: 15px 24px;
        height: auto;
        border: 1px solid #124a65;
        color: #124a65;
    }
}

#pwbox-403 {
    font-size: 16px !important;
    font-weight: normal;
    line-height: 1 !important;
    padding: 15px 24px !important;
    height: auto !important;
    box-shadow: none !important;
    border: none;
    background: #f1f1f1;
    border-radius: 5px;
    color: #124a65 !important;
}

.wpcf7-list-item-label {
    margin-left: 30px;
    line-height: 1;
    margin-top: 5px;

    &:before {
        background: #cde1de;
        width: 20px;
        height: 20px;
        border-radius: 20px;
        content: ' ';
        position: absolute;
        top: 0;
        transform: translateX(-30px);
        transition: all .2s ease-in-out;
    }
}

input[type=radio]:checked + .wpcf7-list-item-label:before {
    background: #124a65;
}


/************* Half bg section *************/
.half-bg-left {

    & .section-bg {
        width: calc(50% - 60px);
        height: auto;
    }
}

.half-bg-right {

    & .section-bg {
        left: calc(50% + 60px);
        width: calc(50% - 60px);
        height: auto;
    }
}

@media only screen and (max-width: 849px) {
    .half-bg-right, .half-bg-left {
        flex-direction: column;
        padding-top: 0 !important;
        & .section-bg {
            flex-basis: 100%;
            width: 100% !important;
            position: relative !important;
            left: 0 !important;
            right: 0 !important;
            aspect-ratio: 16 / 10;
            margin-bottom: 30px !important;
            transform: none !important;
        }
    }
}


 
/*************** ADD MOBILE ONLY CSS HERE  ***************/
@media only screen and (max-width: 48em) {
    .provstad .tangen-tjanst-privat .wpcf7-select, .provstad .tangen-tjanst-privat .wpcf7-select {
        font-size: 15px;
    }

    .provstad .wpcf7-text {
        font-size: 15px!important;
    }
    
}

/*************** ADD MOBILE ONLY CSS HERE  ***************/
@media only screen and (max-width: 48em) {
    
    
}

.custom-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: #000;
    text-align: center;
}

.slide img,
.slide video {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}