/* GRON närvärme AB */

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 150rem;

    /* 	Colors */
    --primary-color: 2, 159, 141;
    --primary-light-color: 241, 210, 200;
    --primary-dark-color: 119, 44, 21;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

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

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

.section-block-wrapper {
    max-width: var(--section-width);
}

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

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

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

.pt-0 .section-block,
.pt-0:not(.section-wrapper) {
    padding-top: 0;
}
.pt-2 .section-block,
.pt-2:not(.section-wrapper) {
    padding-top: 2rem;
}
.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

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

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

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

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

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

@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: 'Open Sans', sans-serif;
}

/* Rubriker */
.text-label {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    padding-bottom: 1em;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    padding-bottom: .5em;
}

.small-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
}

.ingress {
    font-size: calc(var(--base-size) * 1.2);
    font-weight: 700;
}

/* 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: inherit;
}

a:hover {
    text-decoration: none;
}

/* 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-center {
    text-align: center;
}

/* List-check */
.list-check {
    list-style: none;
}

.list-check {
    padding: 0;
}

.list-check li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Font Awesome 5 Pro';
}

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100rem;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.list-pills li {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 10.5rem;
    padding: .6rem 2rem;
    margin: .5rem;
    font-size: 1.5rem;
    border-radius: 5px;
    color: rgb(var(--white-color));
    text-align: center;
    background: rgb(var(--primary-color));
}

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    font-size: 1.3rem;
    font-weight: 400;
    border-radius: 0rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    text-decoration: none;
    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 {
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
    color: rgb(var(--primary-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;
}

@media only screen and (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
    }
}

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

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

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* 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%;
}

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

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

.card-item {
    text-decoration: none;
    transition: all .3s ease;
}

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

/* Specifika bredder */
.cards-wrapper.w-25 .card-item {
    width: calc((100% / 4));
}

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

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

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

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

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

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

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

/* Card 2-3 */
.card-2-3 .card-item {
    border-radius: 1rem;
    overflow: hidden;
}

.card-2-3 .card-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    padding: 2rem;
    margin: -1rem 0 0 -1rem;
    border-radius: 50%;
}

/* Card 3-1 */
.card-3-1 .image-wrapper {
    height: 30rem;
}

/* Card 3-2 */
.card-3-2 .image-wrapper {
    height: 35rem;
}

.card-3-2 .image-wrapper.flex {
    display: flex;
    justify-content: center;
}

.card-3-2 .round {
    display: inline-block;
    max-width: 20rem;
    height: 20rem;
    border-radius: 50%;
    text-align: center;
}

.card-3-2.flex .card-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Card 3-3 */
.card-3-3 .card-body {
    border-radius: 1rem;
    overflow: hidden;
}

.card-3-3 .card-body {
    z-index: 1;
    position: relative;
    width: 85%;
    margin: -3rem auto 0;
}

@media only screen and (max-width: 1050px) {
    .cards-wrapper.card-3-3 .card-item:last-of-type {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 480px) {
    .card-3-3 .card-body {
        z-index: 1;
        position: relative;
        width: 90%;
        margin: -3rem auto 0;
    }
}

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    z-index: 1;
}

.card-3-6 .card-content {
    padding: 4rem;
    background-color: rgb(var(--black-color));
    transition: all .3s ease;
    height: 100%;
}

.card-3-6 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
}

.card-3-6 .card-header i {
    font-size: 2.5rem;
}

.card-3-6 .card-footer {
    padding-top: 2rem;
}

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

.card-3-6 .card-item:first-child .card-content {
    background-color: rgb(var(--black-color), .6);
    transition: all .3s ease;
}

.card-3-6 .card-item:hover .card-content {
    background-color: rgb(var(--primary-color), .5);
    transition: all .3s ease;
}

@media only screen and (max-width: 750px) {
    .card-3-6 .card-content {
        padding: 4rem 2rem;
    }
}

/* Logos 1 */
.logos-1 .card-item {
    height: 8rem;
    padding: 1rem;
    text-align: center;
    background: rgb(var(--white-color));
}

.logos-1 img {
    width: 100%;
    max-height: 12rem;
}

/* 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%;
}

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

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

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

.h-60 {
    max-height: 60rem;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
} 

.split-wrapper .align-end {
    align-self: flex-end;
  }

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

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

    .split-content,
    .split-wrapper .w-60,
    .split-wrapper .w-40,
    .split-wrapper .w-30 {
        width: 100%;
    }

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

}

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

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

}

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--black-color));
    padding: 0 5rem;
}

.IndexPage header:not(.scrolled) {
    background-color: transparent;
}

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

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
}

.header-logo img {
    padding: 0;
}

/* Nav */
.TemplateMenu a {
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: rgb(var(--white-color));
}

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

.TemplateMenu ul {
    background-color: rgb(var(--black-color));
}

/* Dropdown */
.TemplateMenu > li > ul {
    width: 25rem;
    }

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

.header-cta-wrapper li {
    margin: 0 .5rem;
}

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

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

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

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

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

    .header-cta-wrapper .btn {
        padding: 0.7rem 1rem;
        letter-spacing: 0.1rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    margin-top: calc(-1 * var(--menu-height) - 1px);
}

.top-section .section-block {
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - 5rem);
    background-color: rgb(var(--black-color), .5);
}

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

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

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

.top-section p {
    max-width: 55rem;
    color: rgb(var(--white-color));
}

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

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

/* Sektion CTA
========================================================================== */
.cta-wrapper {
    background-image: linear-gradient(to right, rgb(var(--black-color), .5), rgb(var(--black-color), .3)), url('/assets/images/ror-solnedgang-1600.jpg');
    background-size: cover;
    background-position: center 60%;
    padding: 10rem 4rem 4rem;
    border-radius: 3px;
}

@media screen and (max-width: 580px) {
    .cta-wrapper {
        padding: 10rem 2rem 2rem;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 40rem
}

.hero.bg-image .section-block {
    background-color: rgba(var(--black-color), .5);
}

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

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

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

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

/* ==========================================================================
Undersida Tjanster
========================================================================== */

/* Sektion Galleri (.section-slider)
========================================================================== */
.section-slider {
    overflow: hidden;
}

.gallery-slider .image-wrapper {
    height: 50rem;
}

.gallery-slider .slick-slide {
    margin: 0 1rem;
    border-radius: 3px;
}

.gallery-slider .slick-list {
    overflow: visible;
}

/* Slick Settings */
.gallery-slider .slick-list,
.gallery-slider .slick-track {
    height: 100%;
}

.gallery-slider .slick-list {
    width: 100%;
}

.gallery-slider .slick-dots {
    position: absolute;
    bottom: 1rem;
    left: 20rem;
    width: auto;
    padding: 0;
    margin: 0;
    background-color: rgb(var(--white-color));
    border-radius: 2rem;
}

.gallery-slider .slick-dots li.slick-active::before {
    opacity: 1;
    color: rgb(var(--primary-color));
    transition: all .2s ease;
}

@media only screen and (max-width: 980px) {
    .gallery-slider .slick-dots {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media only screen and (max-width: 580px) {
    .gallery-slider .image-wrapper {
        height: 25rem;
    }
}

/* Loggor
========================================================================== */
.logos {
    max-width: 50rem;
    max-height: 6.5rem;
    margin: 0 0 4rem 0;
}

@media only screen and (max-width: 580px) {
    .logos {
        max-width: 50rem;
        max-height: 4.5rem;
        margin: 0 0 3rem 0;
    }
}

.section-slider-logo {
    overflow: hidden;
}

.section-slider-logo .slick-list {
    width: 100%;
}

.section-slider-logo .card-item {
    margin: 0 2rem 0 2rem;
}

/* ==========================================================================
Undersida Erbjudande
========================================================================== */

.section-erbjudande .of-wrapper img {
    object-fit: scale-down;
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .Contact {
    padding: 3rem;
    margin: 5rem 0 0;
    background: rgb(var(--white-color));
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

.section-contact .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ContactForm div {
    width: 49%;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border-radius: 0rem;
    background: rgb(var(--gray-light-color));
    border-color: rgb(var(--gray-light-color));
}

.ContactForm .ContactFormMessage {
    width: 100%;
}

/* Bekraftelseruta */
.ContactSentMessage {
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: .5rem;
    background-color: rgba(var(--primary-color), .2);
}

.ContactSentMessage p {
    padding: 0;
}

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

    .ContactForm div {
        width: 100%;
    }
}

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

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

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

.footer-menu {
    width: 15%;
    margin: 0 0 3rem;
}

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

.footer .text-label {
    color: rgb(var(--white-color));
    padding: 0 0 1rem;
    line-height: 1;
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    color: rgb(var(--white-color), .6);
    text-decoration: none;
}

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

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgb(var(--white-color), .5);
}

.social-menu li {
    margin: 1rem 1rem 1rem 0;
}

.social-menu a {
    font-size: 1.4rem;
    color: rgb(var(--white-color));
    padding: 5px 10px;
    border-radius: 2rem;
    line-height: 1;
    text-decoration: none;
    transition: all .3s ease;
}

.social-menu a:hover {
    background-color: rgb(var(--white-color));
    color: rgb(var(--black-color));
    transition: all .3s ease;
}

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

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

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

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

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

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

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

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

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

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

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