/* Osso Vattenpolering Och Entreprenad */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 192, 103, 1;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 222, 224, 224;
    --gray-light-color: 247, 246, 246;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8.5rem;
    --menu-height-scrolled: 8.5rem; 
    --section-width: 150rem;

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: 0.2em;
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.2;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.text-label {
    padding-bottom: .3em;
    font-weight: 600;
    line-height: 1.4;
}

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

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

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

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

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

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


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

.text-italic {
    font-style: italic;
}

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2.5rem;
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid;
    transition: all .4s ease;
}

.btn::after,
.arrow-link::after {
    content: ' \f061';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--primary-color));
    transition: transform .4s ease;
}

.btn:hover::after,
.arrow-link:hover::after {
    transform: translateX(5px);
    transition: transform .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
    background: rgb(var(--primary-color)); 
   color: rgb(var(--white-color));
   border: none;
   padding: 1.7rem 2.5rem;
}

.btn-primary-filled:hover,
.ContactSubmit:hover {
    background: rgb(var(--gray-dark-color));
   border: none;
}

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

/* Arrow link */
.arrow-link {
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

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

.circle-icon:hover {
    background-color: rgb(var(--gray-dark-color));
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.4rem;
}

/* Animation knapp */
.bouncing-btn::after {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(10px);
    }
    60% {
        transform: translateX(5px);
    }
}

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

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


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

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

/* 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;
    justify-content: space-between;
    margin-bottom: -4rem;
}

.cards-wrapper .card-item {
    margin-bottom: 4rem;
    text-decoration: none;
}

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

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

/* Generellt */
a.card-item {
    transition: .3s ease;
}

@media only screen and (max-width: 750px) {
    .cards-wrapper {
        margin-bottom: -1rem;
    }

    /* Bredder */
    .cards-wrapper.w-50 .card-item,
    .cards-wrapper.w-100 .card-item {
        width: 100%;
        margin-bottom: 1rem;
    }
}

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

.card-2-4 a.card-item:hover {
    background: rgb(var(--gray-light-color));
}

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

.card-2-4 .card-header i {
    font-size: 3rem;
}

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

.card-2-4 .text-small {
    font-size: 1.4rem;
}

@media only screen and (max-width: 420px) {
    .card-2-4 .card-item {
        flex-direction: column;
        align-items: flex-start;
    }

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

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 45rem;
    padding: 0;
}

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

.card-3-6 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .3s ease-in-out;
}

.card-3-6 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .2);
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    display: inline-block;
    min-width: 50%;
    pointer-events: none;
}

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

.split-wrapper .mh-70 {
    height: 70vh;
}

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

/* Bredder & hojder */
.split-wrapper .w-35 {
    width: 35%;
}

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

@media screen and (max-width: 1024px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

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

    .split-image {
        width: 100%;
    }

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

    /* Bredder */
    .split-wrapper .w-35,
    .split-wrapper .w-65 {
        width: 100%;
    }

    /* Split i full-width sektion */
    .mw-none.pl-0 .split-content {
        padding: 0 3rem 3rem;
    }
} 

@media screen and (max-width: 580px) {
    /* Split i full-width sektion */
    .mw-none.pl-0 .split-content {
        padding: 0 2rem 3rem;
    }
}

/* Header / Navigation
========================================================================== */
/* Top header */
.top-header {
    width: 100%;
    max-width: var(--section-width);
    height: 4rem;
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
    transition: .3s ease;
}

.scrolled .top-header {
    height: 0;
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
}

.top-header a {
    padding: 0 1rem;
    font-size: 1.4rem;
    text-decoration: none;
    transition: .2s ease;
    color: rgb(var(--white-color));
}

.top-header a:hover {
    color: rgb(var(--black-color));
}

.top-header i {
    margin-right: 5px;
}

header {
    background: rgb(var(--primary-color));
    border-bottom: 1px solid rgb(var(--gray-color), 0);
}

header.scrolled {
    border-bottom: 1px solid rgb(var(--gray-color));
}

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

/* Nav */
.TemplateMenu a {
    font-size: 1.6rem;
    font-weight: 400; 
    color: rgb(var(--white-color));
}

/* Hover effect */
header .TemplateMenu li.active>a, 
header .TemplateMenu a:hover {
    color: rgb(var(--white-color));
    text-decoration: none;
}

header:not(.mobile-menu) .TemplateMenu>li>a:hover:before,
header:not(.mobile-menu) .TemplateMenu>li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
} 

header:not(.mobile-menu) .TemplateMenu>li>a:before {
    visibility: hidden;
    position: absolute;
    content: "";
    height: 2px;
    top: 60px;
    width: 40%; 
    left: calc(25% + 2.5rem); 
    background-color: rgb(var(--white-color));
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}
 
/* CTA  */
.header-cta-wrapper {
    z-index: 9;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center; 
    flex: 1 1 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

/* Mobilmeny */
.mobile-menu .TemplateMenu {
    text-align: center;
}

@media only screen and (max-width: 580px) {
    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

/* ==========================================================================
Startsida
========================================================================== */
  
/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--menu-height));
    background-color: rgb(var(--black-color), .5);
}
 
.top-section .section-block { 
    width: 100%;
}

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

.top-section .section-title {
    font-size: 4.5rem;
    font-weight: 600; 
}

.top-section p {
    font-size: 1.7rem;
}

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

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

/* Text-divider
========================================================================== */
.section-text-divider .section-block {
    padding-top: 15rem;
    padding-bottom: 15rem;
}

.section-text-divider .col-0 {
    width: calc(35% - 1.5rem);
    padding-right: 5rem;
}

.section-text-divider .col-1 {
    width: 65%;
    padding-left: 0;
}

.section-text-divider.bg-primary .arrow-link::after {
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 1024px) {
    .section-text-divider .section-block {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }

    .section-text-divider .col-0 {
        width: 100%;
        padding-right: 0;
    }
    
    .section-text-divider .col-1 {
        width: 100%;
    }
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: 50vh;
    background: rgb(var(--gray-dark-color)); 
}

.hero .section-block {
    width: 100%;
    padding-bottom: 5rem;
}

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

.hero .section-title {
    padding: 0 0 1rem;
    margin: 0 0 1rem;
    font-size: 4.5rem;
    color: rgb(var(--white-color));
    border-bottom: 2px solid rgb(var(--primary-color)); 
}

.hero p {
    font-size: 1.7rem; 
    color: rgb(var(--white-color));
}

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

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

    .hero p {
        font-size: 1.6rem;
    }
}

/* Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
    max-width: 140rem;
}

/* Kolumn 2 */
.section-contact .col-2 {
    max-width: 50rem;
    padding: 0;
    background: rgb(var(--white-color));
    border: 1px solid rgb(var(--gray-dark-color));
    overflow: hidden;
}

/* Kontaktformular */
.ContactForm {
    padding: 2rem;
}

.ContactForm p {
    display: none;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border: none;
    border-bottom: 1px solid rgb(var(--primary-color));
}

@media only screen and (max-width: 980px) {
    .section-contact .col-2 {
        max-width: 50rem;
        margin: 5rem auto 0;
    }
}

/* Karta
========================================================================== */
.section-map .section-block {
    font-size: 0;
}

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

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

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

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

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

.footer-menu-large .section-title {
    max-width: 50rem;
}

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

.footer-top a {
    text-decoration: none;
    transition: .2s ease;
}

.footer a:not(.circle-icon, .arrow-link):hover {
    color: rgb(var(--primary-color));
}

.footer .socials {
    text-align: right;
}

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.2rem;
    line-height: 1.6;
}

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

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

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

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

    .footer-menu {
        width: 48%;
        margin: 0 0 5rem;
    }

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

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

    /* Footer top */ 
    .footer-menu {
        width: 100%;
        margin: 0 0 3rem;
    }

    .footer .socials {
        text-align: left;
    }
}