/* Växthuset Utveckling AB */

/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap');

/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 1, 106, 102;
    --primary-light-color: 0, 106, 102;
    --secondary-color: 133, 77, 101;

    --black-color: 34, 34, 34;
    --gray-dark-color: 119, 119, 119;
    --gray-color: 130, 130, 130;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7.5rem;
    --menu-height-scrolled: 8rem;
    --section-width: 140rem;

    /* 	Typography */
    --base-size: 1.6rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 1180;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);
}

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

/* Layout
========================================================================== */
.section-block {
    padding: 15rem 5rem;
}

/* Paddings */
.p-0 .section-block,
.p-0:not(.section-wrapper) {
    padding: 0;
}

.p-2 .section-block,
.p-2:not(.section-wrapper) {
    padding: 2rem;
}

.p-3 .section-block,
.p-3:not(.section-wrapper) {
    padding: 3rem;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

.pb-2 .section-block,
.pb-2:not(.section-wrapper) {
    padding-bottom: 2rem;
}

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

.py-15 .section-block,
.py-15:not(.section-wrapper) {
    padding-top: 15rem;
    padding-bottom: 15rem;
}

.py-20 .section-block,
.py-20:not(.section-wrapper) {
    padding-top: 20rem;
    padding-bottom: 20rem;
}

/* Margins */
.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 2rem;
}

@media only screen and (max-width: 1000px) {
    .section-block {
        padding: 8rem 3rem;
    }

    .py-15 .section-block,
    .py-15:not(.section-wrapper) {
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 580px) {
    .section-block {
        padding: 2rem 2rem 4rem;
    }

    .py-20 .section-block,
    .py-20:not(.section-wrapper) {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Nanum Gothic', sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title {
    padding-bottom: .6em;
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 1px;
    font-family: 'Abhaya Libre', serif;
}

.small-title {
    padding: 2rem 0 1.5rem;
    font-size: 3.3rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Abhaya Libre', serif;
}

.ingress {
    font-size: 2rem;
    font-weight: 400;
}

/* Brodtext och lankar */
p,
li {
    font-weight: 200;
    line-height: 1.9;
    color: rgb(var(--black-color));
}

p,
a {
    padding-bottom: 1.3rem;
}

/* Listor */
ul {
    padding-bottom: 1rem;
}

/* Ovriga klasser */
.text-block {
    max-width: 70rem;
}

.text-block-center {
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.text-bold {
    font-weight: 700;
}
.text-underline{
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

@media only screen and (max-width: 1200px) {
    .section-title {
        font-size: 3.8rem;
    }

    .small-title {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-title {
        font-size: 2.5rem;
    }

    .small-title {
        font-size: 2rem;
    }

    .text-label {
        font-size: 1.2rem;
    }
}

/* Listor
========================================================================== */
.column-container {
    display: flex;
    gap: 2rem;
}

@media (max-width: 600px) {
    .column-container {
        flex-direction: column;
        gap: 0rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    margin-top: 2rem;
}

.btn-wrapper.center {
    text-align: center;
}

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.8rem 2.2rem;
    margin: 7px;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-radius: 5rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--secondary-color));
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--secondary-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: 1.3rem;
    color: rgb(var(--primary-color));
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.arrow-link::after {
    content: '\f105';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
    background-color: rgb(var(--primary-color));
}

.bg-secondary {
    background-color: rgb(var(--secondary-color));
}

.bg-gray-light {
    background-color: rgb(var(--gray-light-color));
}

.bg-white {
    background-color: rgb(var(--white-color));
}

/* Text */
.text-primary {
    color: rgb(var(--primary-color));
}

.text-white {
    color: rgb(var(--white-color));
}
.text-black{
    color: rgb(var(--black-color));
}
/* Borders */
.border-bottom-primary {
    border-bottom: 4px solid rgb(var(--primary-color));
}

/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video {
    position: relative;
    overflow: hidden;
}

.bg-image-wrapper,
.bg-video-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video */
.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Parallax
========================================================================== */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    min-height: 40rem;
    background-color: rgb(var(--black-color), .8)
}

/* Bilder */
.parallax-environment {
    background-image: url('/assets/images/park-2000px.jpg');
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 7rem;
}

.split-image {
    width: 50%;
}

.split-image img {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Split image med grid */
.split-images-grid {
    justify-content: space-between;
    padding-right: 1rem;
}

.split-images-grid .split-content {
    padding: 7rem 4rem;
    border-radius: 2px;
    width: calc(50% - 1rem);
}

.split-image-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr; 
    -ms-grid-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    -ms-grid-rows: 1fr 1fr;
    gap: 1rem;
    width: 50%;
    margin: -1rem 0;
}

.split-image-grid .grid-image {
    position: relative;
    width: 100%;
}

.split-image-grid>.grid-image:nth-child(1) {
    grid-column: 1;
    -ms-grid-column: 1;
    grid-row: 1;
    -ms-grid-row: 1;
}

.split-image-grid>.grid-image:nth-child(2) {
    grid-column: 1;       
    -ms-grid-column: 1;
    grid-row: 2;
    -ms-grid-row: 2;
}

.split-image-grid .split-image {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}
/* Fixerad bild */
.section-steps .split-content {
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .section-steps .split-image {
    position: sticky;
    top: calc(var(--menu-height-scrolled) * 2);
    align-self: flex-start;
  }
@media screen and (max-width: 1300px) {
    .split-content {
        padding: 3rem;
    }

}

@media screen and (max-width: 1100px) {
    .split-wrapper {
        background: transparent;
    }

    .split-content {
        width: 100%;
        padding: 0 0 3rem;
        background: transparent;
    }

    .full-width .split-content {
        padding: 4rem 2rem 2rem;
    }

    .split-image {
        width: 100%;
        min-height: 20rem;
        padding: 1rem;
    }

    .split-wrapper .align-center {
        align-self: flex-start;
    }

    /* Split image med grid */
    .split-images-grid {
        padding: 1rem;
    }

    .split-images-grid .split-content {
        width: 100%;
    }

    .split-image-grid {
        width: 100%;
        margin: 0;
    }

    .split-image-grid .split-image {
        position: relative;
    }
}

@media screen and (max-width: 580px) {
    /* Split image med grid */
    .split-images-grid .split-content {
        padding: 2rem 1rem;
    }
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

/* Bredder */
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}

@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }

    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 480px) {

    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem 0;
    }
}

/* Card 1-1 */
.card-1-1 a {
    text-decoration: none !important;
}

.card-1-1 a.card-item:hover {
    background: rgb(var(--primary-color), .4);
}

.card-1-1 i {
    margin-right: 1rem;
}

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
    align-items: center;
}

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    transition: 0.2s ease-in-out;
}

.card-2-4 .card-header i {
    font-size: 3rem;
    transition: 0.2s ease-in-out;
}

.card-2-4 .card-item:hover .card-header,
.card-2-4 .card-item:hover .card-header i {
    transform: scale(110%);
}

.card-2-4 .card-body {
    flex: 1 1 0px;
    padding: 0 3rem;
}

@media only screen and (max-width: 580px) {
    .card-2-4 .card-item {
        display: block;
        align-items: start;
    }

    .card-2-4 .card-body {
        padding: 1rem 0 0 0;
    }
}

/* Header / Navigation
========================================================================== */
/* Ta bort klick */
body:not(.EditMode) .TemplateMenu a[href="/17/3/tjanster/"] {
    pointer-events: none;
}

header {
    padding: 0;
    position: fixed;
}

header .container {
    max-width: none;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Logo */
.header-logo {
    flex: 1 1 0px;
}

.header-logo img {
    max-width: 20rem;
}

.header-logo a {
    font-size: 2.5rem;
    text-decoration: none;
    padding-bottom: 0;
}

/* Nav */
.TemplateMenu a {
    font-weight: 200;
    font-size: 1.4rem;
    padding: 0 2.5rem;
    color: rgb(var(--black-color));
}

.TemplateMenu ul {
    min-width: 21rem;
}

.TemplateMenu li {
    padding-bottom: 0;
}

.TemplateMenu>li>a:hover {
    color: rgb(var(--primary-color));
}

.TemplateMenu>li>ul>li>a:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
}

/* CTA  */
.header-cta-wrapper {
    z-index: 9;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0px;
    padding: 0;
    margin: 0 0 0 2rem;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1.3rem 2.2rem;
    font-weight: 300;
    line-height: 1;
}

/* Mobilmeny */
.mobile-menu .container {
    height: var(--mobile-menu-height);
}

.mobile-menu .header-cta-wrapper {
    margin: 0;
}

.mobile-menu .hamburger {
    margin: 0 -1rem 0 0;
}

@media only screen and (max-width: 1100px) {
    .header-cta-wrapper .circle-icon {
        display: none;
    }
}

@media only screen and (max-width: 980px) {
    header {
        padding: 0 3rem 0 0;
    }

    .header-cta-wrapper .circle-icon {
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 680px) {

    /* CTA */
    .header-cta-wrapper li {
        display: none;
    }
}

@media only screen and (max-width: 580px) {
    header {
        padding: 0 2rem .5rem 0;
    }
}

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section .section-block {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(0, 0, 0, .7);
    border-right: 20px solid rgb(var(--white-color));
    border-bottom: 20px solid rgb(var(--white-color));
    border-left: 20px solid rgb(var(--white-color));
}

.top-section .section-block-wrapper {
    width: 100%;
}

.top-section .text-block-center {
    max-width: 110rem;
}

.top-section .section-title {
    font-size: 6rem;
    font-weight: 300;
    color: rgb(var(--white-color));
}

.top-section p {
    max-width: 70rem;
    margin: 0 auto;
    color: rgb(var(--white-color));
}

.top-section .top-cta {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 80rem;
    padding: 5rem;
    background-color: rgb(var(--primary-color));
}

.top-cta .section-title {
    font-size: 4rem;
}

@media only screen and (max-width: 1200px) {
    .top-section .section-title {
        font-size: 4.5rem;
    }

    .top-cta .section-title {
        font-size: 2.7rem;
    }
}

@media only screen and (max-width: 1000px) {
    .top-section .top-cta {
        max-width: none;
        width: 100%;
    }
}

@media only screen and (max-width: 580px) {
    .top-section .section-block {
        border-right: 10px solid rgb(var(--white-color));
        border-bottom: 10px solid rgb(var(--white-color));
        border-left: 10px solid rgb(var(--white-color));
    }

    .top-section .section-title {
        font-size: 3rem;
    }

    .top-section .top-cta {
        padding: 2.5rem;
    }

    .top-cta .section-title {
        font-size: 2rem;
        padding-bottom: 2rem;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero .section-block,
.hero-small .section-block {
    display: flex;
    align-items: flex-end;
}

.hero .section-block {
    min-height: 50rem;
    padding-bottom: 10rem;
    background: linear-gradient(53deg, rgba(81, 129, 128, 0.9) 0%, rgba(0, 106, 102, 0.6) 100%);
}

.hero-small .section-block {
    min-height: 30rem;
    padding-bottom: 5rem;
    background: rgb(var(--secondary-color), 0.8)
}

.hero .section-block-wrapper,
.hero-small .section-block-wrapper {
    width: 100%;
}

.hero .text-block {
    max-width: 80rem;
}

.hero .text-label {
    padding-bottom: 3rem;
}

.hero .section-title {
    font-size: 5.5rem;
    color: rgb(var(--white-color));
}

.hero-small .section-title {
    padding-bottom: 0;
}

@media only screen and (max-width: 1200px) {

    .hero .section-title,
    .hero-small .section-title {
        font-size: 4rem;
    }
}

@media only screen and (max-width: 980px) {

    .hero .section-block,
    .hero-small .section-block {
        min-height: unset;
        margin-top: var(--mobile-menu-height);
        padding: 6rem 2rem;
    }
}

@media only screen and (max-width: 580px) {

    .hero .section-title,
    .hero-small .section-title {
        font-size: 2.9rem;
    }
}

/* ==========================================================================
Undersida: Reparation & Verkstad (.section-rep)
========================================================================== */
@media only screen and (max-width: 1000px) {
    .reparation-wrapper.w-33 .card-item {
        width: calc((100% / 3) - 2rem);
    }
}

@media only screen and (max-width: 750px) {
    .reparation-wrapper.w-33 .card-item {
        margin: 1rem;
    }
}

@media only screen and (max-width: 580px) {
    .reparation-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* ==========================================================================
Undersida: Miljo (.section-climate)
========================================================================== */
@media only screen and (max-width: 1000px) {
    .section-climate .section-block {
        padding: 0;
    }

    .section-climate .split-content {
        padding: 4rem 2rem 2rem;
    }
}

/* ==========================================================================
Undersida: Kontakta oss (.section-contact)
========================================================================== */
.section-contact .col-0 {
    background-color: rgb(var(--white-color));
    padding: 5rem;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 7%);
}

/*.section-contact .col-1 {
    display: flex;
    align-items: center;
    padding-left: 10rem;
} */

@media only screen and (max-width: 980px) {
    .section-contact .section-block-wrapper {
        flex-direction: column-reverse;
    }

    .section-contact .col-0 {
        padding: 2rem;
    }

    .section-contact .col-1 {
        padding-bottom: 5rem;
        padding: 2rem 1rem;
    }

    .section-contact .col-1 i {
        display: none;
    }

    .section-contact .col-1 .text-bold {
        color: rgb(var(--primary-color));
    }
}

@media only screen and (max-width: 750px) {
    .map {
        height: 40rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--black-color));
    color: rgb(var(--white-color));
}

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

/* Logga */
.footer-logo {
    max-width: 20rem;
    padding-bottom: 1rem;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 5rem 5rem;
}

.footer-menu {
    width: 25%;
    padding: 3rem;
}

.footer .text-label {
    padding: 0 0 2rem;
    line-height: 1;
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top li,
.footer-top p,
.footer-top a {
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1.9;
    font-weight: inherit;
    color: rgb(var(--white-color));
}

.footer a:not(.circle-icon):hover {
    text-decoration: underline;
    color: rgb(var(--secondary-color));
}

/* Footer logos */
.footer-logos {
    display: flex;
    flex-wrap: wrap;
}

.footer-logos .logo-item {
    max-width: 20rem;
    border-radius: 6px;
    border: 2px solid rgb(var(--secondary-color));
    padding: 4px;
    margin: 0 1rem 1rem 0;
}

.footer-logos .logo-item img {
    height: 100%;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin: 0 2rem;
    border-top: 1px solid rgb(var(--white-color));
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgb(var(--white-color));
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    filter: invert();
}

@media only screen and (max-width: 1200px) {

    /* Footer top */
    .footer-menu {
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-menu-large {
        width: 100%;
    }

    .footer-menu-large p {
        max-width: 55rem;
    }
}

@media only screen and (max-width: 750px) {

    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
        padding-top: 0;
    }
}

@media only screen and (max-width: 580px) {

    /* Footer top */
    .footer-top {
        padding: 5rem 0 0;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}