/* W3 Renewables AB */

/* Typsnitt – Barlow */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7rem;
    --menu-height-scrolled: 7rem;

    /* 	Colors */
    --primary-color: 198, 141, 0;
    --primary-light-color: 222, 199, 151;
    --primary-medium-color: 207, 171, 100;

    --accent-color: 239, 226, 203;

    --black-color: 24, 25, 27;
    --gray-color: 110, 110, 110;
    --gray-dark-color: 79, 79, 79;
    --gray-light-color: 242, 242, 242;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1200;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg:  255, 255, 255;
}

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

.section-block-wrapper {
    max-width: 130rem;
}

.mw-none .section-block-wrapper {
    max-width: none;
}

.mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

/* Speciella paddings */
.pt-0 .section-block {
    padding-top: 0;
}

.pt-2:not(.section-wrapper) {
    padding-top: 2rem;
}

.pt-5 .section-block {
    padding-top: 5rem;
}

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

.pb-2 {
    padding-bottom: 2rem;
}

.pb-3 .section-block {
    padding-bottom: 3rem;
}

.pb-5 .section-block {
    padding-bottom: 5rem;
}

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

/* Margins */
.mb-3  {
    margin-bottom: 3rem;
}

.mb-7  {
    margin-bottom: 7rem;
}

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

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Arial', sans-serif;
    font-weight: 400;
}

/* Rubriker */
.section-title {
    font-family: 'Barlow', sans-serif;
    font-size: 4.5rem;
    line-height: 1.2;
    font-weight: 600;
    padding-bottom: 2rem;
    color: rgb(var(--black-color));
}

.small-title {
    font-family: 'Barlow', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

.text-title {
    padding-bottom: .5em;
    font-size: var(--base-size);
    font-weight: 600;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

.text-label {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    padding-bottom: 2rem;
}

/* Brodtext och lankar */
p, li {
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
}

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: var(--primary-color);
}

a:hover {
    text-decoration: none;
}

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

.text-block {
   max-width: 70rem;
}

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

.text-bold {
    font-weight: 600;
}

/* Listor */
.list-arrow {
    list-style: none;
}

.list-arrow li {
    position: relative;
}

.list-arrow li::before {
    content: '\f054';
    position: absolute;
    top: 50%;
    left: -2.5rem;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
    transform: translateY(-50%);
}

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

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

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

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

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

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

.btn-wrapper.center {
    justify-content: center;
}

.btn, .ContactSubmit {
    display: inline-block;
    min-width: 18rem;
    padding: 1.4rem 2.2rem;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: none;
    border-radius: .8rem;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

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

.btn-primary-filled:hover, .ContactSubmit:hover {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--primary-light-color));
    background-color: rgb(var(--primary-light-color));
}

.btn-white-filled {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
}

.btn-white-filled:hover {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--gray-light-color));
    background-color: rgb(var(--gray-light-color));
}

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--gray-dark-color));
}

.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;
} 

/* 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(--primary-color));
    transition: .3s ease;
}

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

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

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

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

.text-white-muted {
    color: rgb(var(--white-color), .6);
}

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

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

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

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

.gradient-white-black {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 50%, rgb(var(--black-color)) 50%);
}

.gradient-graylight-black {
    background-image: linear-gradient(to bottom, rgb(var(--gray-light-color)) 50%, rgb(var(--black-color)) 50%);
}

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

.cards-wrapper.justify-center {
    justify-content: center;
}

.cards-wrapper.space-between {
    justify-content: space-between;
}

.cards-wrapper.align-center {
    align-items: center;
}

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

.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;
}

/* Generellt for card-item */
.card-item {
    text-decoration: none;
}

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

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

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

/* Cards 2 */
.cards-2 .card-item {
    padding: 4rem;
    border-radius: 5rem;
    transition: 0.2s ease-in-out;
}

.cards-2 .icon-wrapper {
    margin:0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.cards-2 .icon-wrapper i {
    font-size: 6.5rem;
}

@media only screen and (max-width: 580px) {
    .cards-2 .card-item {
        padding: 2rem;
    }
}

/* Cards 5 */
.cards-5 .card-item {
    padding: 2rem; 
    text-decoration: none;
    border-radius: 3rem;
    display:flex;
    align-items: center;
}
  
.cards-5 .icon-wrapper {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
}

.cards-5 p {
    font-size: 2rem;
    transition: .3s ease;
    margin-left: 2rem;
    padding: 0;
}

.cards-5 a.card-item:hover p {
    color: rgb(var(--primary-color));
}  

@media only screen and (max-width: 1000px) {
    .cards-5 .icon-wrapper {
        font-size: 1.5rem;
        width: 4rem;
        height: 4rem;
    }
    
    .cards-5 p {
        font-size: 1.6rem;
    }
    
}

/* Cards 7 */
.cards-7 .card-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all .3s ease;
}

.cards-7 .card-item:hover {
    background-color: rgb(var(--white-color));
    transition: all .3s ease;
}

.cards-7 .image-wrapper {
    position: relative;
    padding-top: 50%;
    border-radius: 1rem;
    overflow: hidden;
}

.cards-7 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cards-7 .text-wrapper {
    padding: 2rem 2rem 1rem;
}

.cards-7 .small-title {
    padding: 0 0 5px;
    margin: 0 0 5px;
}

.cards-7 .btn-wrapper {
    margin: auto 0 2rem;
    padding: 0 2rem;
}

/* Cards 11 */
.cards-11 img {
    border-radius: 1rem;
}

.cards-11 .text-wrapper {
    padding: 3rem;
}

.cards-11 .small-title {
    font-size: 1.9rem;
    font-weight: 700;
}

.cards-11 p,
.cards-11 a {
    display: block;
    padding-bottom: .3rem;
    font-size: 1.5rem;
}

.cards-11 em,
.cards-11 i {
    margin-right: 1rem;
    color: rgb(var(--primary-color));
}

.cards-11 .socials-wrapper {
    margin-top: 1rem;
}

.cards-11 .socials-wrapper a {
    display: inline-block;
}
/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

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

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

.split-image {
    width: 50%;
    border-radius: 3px;
}

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

/* Speciella bredder */
.split-wrapper .w-60 {
    width: 60%;
}

.split-wrapper .w-40 {
    width: 40%;
}

/* Speciella paddings */
.split-wrapper .pl-0 {
    padding-left: 0;
}

.split-image.h-50 {
    height:50rem;
}

@media screen and (max-width: 1000px) {
    .split-content,
    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 100%;
        padding: 3rem 0 5rem;
    }

    .split-image {
        width: 100%;
    }
}

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

    .split-content {
        padding: 0 0 3rem 0;
    }
}


/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
}

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

/* bildspel */
.crossfade {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
  
.crossfade div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Object-position */
.of-wrapper .op-center-top {
    object-position: center top;
}

/* Header / Navigation
========================================================================== */
/* Header */
header {
    background-color: rgb(var(--white-color));
}

header .container {
    padding: 0 5rem;
    margin: 0 auto;
}

/* nav */
.mainmenu {
    margin: 0 2rem 0 auto;
}

.TemplateMenu a {
    font-weight: 400;
    font-size: 1.4rem;
    color: rgb(var(--gray-dark-color));
}

.TemplateMenu a:hover,
header.scrolled .TemplateMenu a:hover {
    color: rgb(var(--primary-color));
}

/* header cta  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 2rem;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: .8rem 1.6rem;
    line-height: 1;
}

/* Mobilmeny */
.mobile-menu {
    background-color: rgb(var(--white-color));
}

header.mobile-menu .header-logo {
    flex-grow: 1;
    filter: none;
}

@media only screen and (min-width: 1201px) {
    .IndexPage header:not(.scrolled) {
        background-color: transparent;
    }

    /* logo */
    .IndexPage header:not(.scrolled) .header-logo {
        filter: brightness(0) invert();
    }

    .IndexPage header:not(.scrolled) .TemplateMenu > li > a:not(:hover) {
        color: rgb(var(--white-color));
    }
}

/* Mobilmeny */
@media only screen and (max-width: 1024px) {
    header .container {
        padding: 0 3rem;
    }
}

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

/* ==========================================================================
Startsida
========================================================================== */
/* Top Section
========================================================================== */
.top-section {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 95vh;
    background-color: rgb(var(--black-color), .4);
    margin-top: calc(-1 * var(--menu-height));
}

.top-section::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 5rem;
    bottom: -1px;
    left: 0;
    background-color: rgb(var(--white-color));
    clip-path: polygon(0% 0%, calc(100% - 9rem) 0%, calc(100% - 7rem) 2rem, calc(100% - 5rem) 0%, 100% 0%, 100% 100%, 0% 100%);
}

.top-section h1 {
    font-size: 8rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

@media only screen and (max-width: 1024px) {
    .top-section h1 {
        font-size: 5rem;
    }
}

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

/* Section About
========================================================================== */
.about-split .split-content {
    padding: 10rem;
}

.about-split .split-image {
    position: relative;
    background-color: rgb(var(--primary-dark-color));
    border-radius: 0;
    overflow: hidden;
}

.about-split .split-image::after {
    position: absolute;
    content: '';
    display: block;
    width: 102%;
    height: 101%;
    top: -1%;
    right: -1%;
    pointer-events: none;
    background-image: url(/assets/images/circle-cutout-right.svg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

@media only screen and (max-width: 1500px) {
    .about-split .split-content {
        padding: 5rem;
    }
}

@media only screen and (max-width: 1024px) {
    .about-split .split-content {
        padding: 3rem;
    }
}

@media only screen and (max-width: 1000px) {
    .about-split .split-image::after {
        background-image: url(/assets/images/circle-cutout-top.svg);
        background-position: center top;
        background-size: 100% auto;
    }
}

@media only screen and (max-width: 580px) {
    .about-split .split-content {
        padding: 2rem;
    }
}

/* Instagram
========================================================================== */
.section-instagram {
    padding: 1rem;
}

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

/* Hero
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 50rem;
    background: linear-gradient(90deg, rgba(var(--black-color), .7) 0%, rgba(var(--black-color), .7) 0%, rgba(var(--black-color), .5) 100%);
}

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

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

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

@media only screen and (max-width: 580px) {
    .hero .section-block {
        min-height: 40rem;
    }

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

/* ==========================================================================
Undersida: Career
========================================================================== */
.form {
    padding: 4rem;
    border-radius: 1rem;
    background-color: rgb(var(--white-color));
}

@media only screen and (max-width: 980px) {
    .form {
        padding: 2rem;
    }
}

/* ==========================================================================
Undersida: Career > Enskilt jobb
========================================================================== */
.section-job .section-block-wrapper {
    align-items: flex-start;
}

.section-job .col-0 {
    width: calc(100% - 35rem);
    padding-right: 10rem;
}

.section-job .col-1 {
    position: sticky;
    top: 10rem;
    width: 35rem;
    padding: 3rem;
    background: rgb(var(--primary-light-color));
}

@media only screen and (max-width: 980px) {
    .section-job .col-0 {
        width: 100%;
        padding: 0 0 5rem 0;
    }
    
    .section-job .col-1 {
        width: 100%;
    }
} 

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
.section-form .layout-2 .col-1 {
    position: relative;
    padding: 3rem;
    border: 1px solid rgb(var(--gray-light-color));
    background-color: rgb(var(--white-color));
    border-radius: 2rem;
}

.section-form .ContactForm p {
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.4rem;
}

.section-form .ContactForm input[type="text"],
.section-form .ContactForm textarea,
.ContactForm input[type="email"]:not(.illegal) {
    border: none;
    border-radius: 1rem;
    background-color: rgb(var(--gray-light-color));
}

@media only screen and (max-width: 980px) {
    .section-form .layout-2 .col-1 {
        padding: 2rem;
    }
}

/* Sektion Karta
========================================================================== */
.section-map iframe {
    height: 40rem;
    border-radius: 3px;
    overflow: hidden;
}

@media only screen and (max-width: 580px) {
    .section-map iframe {
        height: 30rem;
    }
}

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

.footer-container {
    max-width: 160rem;
    padding: 0 5rem;
    margin: 0 auto;
}

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

.footer-menu {
    margin: 1.5rem 0;
}

.footer-menu{
    width: 22%;
}

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

.footer-top p,
.footer-top a,
.footer-top li {
    color: rgb(var(--white-color), .7);
    font-weight: 400;
    font-size: 1.4rem;
}

.footer a:hover {
    color: rgb(var(--white-color));
}

.footer p.small-title {
    font-size: 1.4rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgb(var(--white-color));
}

.footer-logo img{
    border-radius: 1.8rem;
    padding: 1rem;
}

.footer-logo{
    max-width: 10rem;
    display: flex;
}

.footer-submenu .logo-geblod {
    padding-top: 2rem;
    max-width: 30rem;
}

.socials {
    display: flex;
    margin-top: 3rem;
}

.footer .circle-icon {
    width: 3rem;
    height: 3rem;
    font-size: 0;
    border: 1px solid rgb(var(--white-color), .2);
    background-color: rgb(var(--black-color));
    color: rgb(var(--white-color));
}

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

.footer em::before {
    font-size: 1.4rem;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p {
    font-size: 1.3rem;
    color: rgb(var(--white-color), .5);
}

/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: 300;
}

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


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

    .footer-container {
        padding: 0 3rem;
    }

    /* Footer top */
    .footer-menu {
        width: 48%;
    }

    .footer-menu:first-child {
        width: 100%;
    }

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

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-menu,
    .footer-menu:first-child {
        width: 100%;
    }
    
    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

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