/* Bonum Stadservice AB */

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

/* Modal */
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 0, 102, 35;
    --primary-light-color: 72, 115, 25;

    --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: 7.5rem;
    --menu-height-scrolled: 7.5rem;
    --section-width: 150rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --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: 8rem 5rem;
}

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

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

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

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

/* Bredder */
.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: 'Lato', sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: 0.2em;
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Bellefair', sans-serif;
}

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

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

p a {
    color: rgb(var(--primary-color));
}

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

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

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

/* 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;
    font-family: inherit;
    transition: all .4s ease;
}

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

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

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

.btn-white-filled:hover {
    color: rgb(var(--white-color));
    border-color: rgb(var(--primary-light-color));
    background-color: rgb(var(--primary-light-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;
}

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

.arrow-link:hover::after {
    transform: translateX(5px);
    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(--black-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);
}

/* Pulse btn */
.pulse-btn {
    background-color: rgb(var(--primary-color));
    /* Ursprunglig fÃ¤rg */
    -webkit-animation: pulsing 2.8s infinite;
    -moz-animation: pulsing 2.8s infinite;
    -ms-animation: pulsing 2.8s infinite;
    animation: pulsing 2.8s infinite;
    transition: background-color 0.3s ease;
    /* Mjuk Ã¶vergÃ¥ng vid hover */
}

@-webkit-keyframes pulsing {
    0% {
        background-color: rgb(var(--primary-color));
    }

    50% {
        background-color: rgb(var(--primary-light-color));
    }

    100% {
        background-color: rgb(var(--primary-color));
    }
}

@-moz-keyframes pulsing {
    0% {
        background-color: rgb(var(--primary-color));
    }

    50% {
        background-color: rgb(var(--primary-light-color));
    }

    100% {
        background-color: rgb(var(--primary-color));
    }
}

@-ms-keyframes pulsing {
    0% {
        background-color: rgb(var(--primary-color));
    }

    50% {
        background-color: rgb(var(--primary-light-color));
    }

    100% {
        background-color: rgb(var(--primary-color));
    }
}

@keyframes pulsing {
    0% {
        background-color: rgb(var(--primary-color));
    }

    50% {
        background-color: rgb(var(--primary-light-color));
    }

    100% {
        background-color: rgb(var(--primary-color));
    }
}

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Badge */
.badge-wrapper {
    position: relative;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 2.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    background-color: rgb(var(--primary-color));
    border-radius: 55% 45% 47% 53% / 52% 36% 64% 48%;
    text-decoration: none;
}

/* Badge- card */
.badge-wrapper-card {
    position: relative;
    padding-right: 8rem !important;
}

.badge-card {
    position: absolute;
    top: 2.5rem;
    right: -4.5rem;
    width: 19rem;
    padding: 1rem;
    font-size: 1.5rem;
    background-color: rgb(var(--primary-color));
    text-align: center;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.left {
    right: unset;
    left: 1rem;
}

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

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

.cards-wrapper .card-item {
    text-decoration: none;
}

/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}

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

.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: 1324px) {

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

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

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

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

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

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

    /* Paddings */
    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem;
    }
}

/* Card 1-1 */
.card-1-1 .card-item {
    overflow: hidden;
    border: 1px solid rgb(var(--primary-color));
}

.card-1-1 .card-body {
    border-top: 1px solid rgb(var(--primary-color), .2);
}

.card-1-1 .small-title {
    font-size: 3rem;
    padding-bottom: 0;
}

.card-1-1 .btn {
    margin: 0;
    border-radius: 0;
}

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

    .card-1-1 .small-title {
        font-size: 2.3rem;
    }
}

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

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

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

.IndexPage .split-image {
    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;
    }
}

/* Modal
========================================================================== */
.modal {
    max-width: 85rem;
    width: 100%;
    max-height: 75vh;
    padding: 5rem;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
}

.modal.fonsterputs::after {
    content: '';
    z-index: -1;
    opacity: .2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/assets/images/fonsterputs-1200px.jpg);
    background-position: 50% 30%;
    background-size: cover;
}

.blocker {
    z-index: 100;
}

.modal a.close-modal {
    display: none;
}

.modal .custom-close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
}

.modal p.ingress {
    font-size: calc(var(--base-size) * 1.1);
    color: rgb(var(--black-color));
}

@media only screen and (max-width: 450px) {
    .modal {
        padding: 3rem 4rem 3rem 2rem;
        text-align: left;
    }

    .blocker {
        padding: 1rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    padding: 0;
    background-color: transparent;
}

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

header .container {
    padding: 0 5rem;
}

/* Top header */
.top-header {
    text-align: center;
    background-color: rgb(var(--primary-light-color));
}

.top-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--section-width);
    height: 4.7rem;
    padding: .5rem 0;
    margin: 0 auto;
    overflow: hidden;
}

.top-header p,
.top-header a {
    padding: 0 1rem;
    font-size: 1.6rem;
    text-decoration: none;
    color: rgb(var(--white-color));
}

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

.header-logo img {
    margin-right: 1rem;
}

.header-logo a {
    display: flex;
    align-items: center;
    font-size: 1.7rem;
    color: rgb(var(--white-color));
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: .3s ease;
}

.header-logo .slogan {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
}

header.scrolled .header-logo a {
    color: rgb(var(--primary-color));
}

header.scrolled .header-logo .slogan {
    color: rgb(var(--primary-light-color));
}

/* Nav */
.TemplateMenu a {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgb(var(--black-color));
}

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

/* 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: 1300px) {
    header .container {
        padding: 0 1rem;
    }
}

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

    /* Header logo */
    .header-logo img {
        margin-right: 5px;
    }

    .header-logo a {
        font-size: 1.3rem;
        white-space: nowrap;
    }

    .header-logo .slogan {
        font-size: 1.1rem;
    }

    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1.3rem;
        letter-spacing: normal;
    }
}

@media only screen and (max-width: 420px) {
    .header-logo span {
        display: none;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height) - 4.7rem);
    background-color: rgb(var(--black-color), .5);
}

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

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

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

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

/* Om oss
========================================================================== */

/* Tjanster
========================================================================== */
.full-split-slider .slick-list {
    width: 100%;
}

/* Knappar */
.full-split-slider .slick-arrow {
    z-index: 1;
    position: absolute;
    top: 3rem;
    width: 2rem;
    padding: 0;
}

.full-split-slider .slick-prev {
    right: 9rem;
}

.full-split-slider .slick-next {
    right: 2rem;
}

.full-split-slider .slick-arrow::after {
    font-weight: 400;
    transition: .3s ease;
}

.full-split-slider .slick-arrow::after {
    color: rgb(var(--gray-light-color));
}

.full-split-slider .slick-arrow:hover::after {
    color: rgb(var(--primary-color), .8);
}

/* Dots */
.full-split-slider .custom_paging {
    z-index: 1;
    position: absolute;
    top: 2.9rem;
    right: 5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.full-split-slider .custom_paging li {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 3px;
    pointer-events: none;
    color: rgb(var(--white-color), .8);
}

.full-split-slider .custom_paging li:not(.slick-active) {
    display: none;
}

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

    /* Knappar */
    .full-split-slider .slick-arrow {
        top: unset;
        bottom: 3rem;
    }

    /* Dots */
    .full-split-slider .custom_paging {
        top: unset;
        bottom: 2.6rem;
    }
}

/* CTA
========================================================================== */
.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cta-wrapper .text-block {
    max-width: 65rem;
}

.cta-wrapper .btn-wrapper {
    margin-top: 0;
}

@media only screen and (max-width: 1000px) {
    .cta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-wrapper .btn-wrapper {
        margin-top: 2rem;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: 60vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height) - 4.7rem);
    background-color: rgb(var(--black-color), .5);
}

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

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

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

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

/* ==========================================================================
Undersida: Kontakt / Offert 
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
}

.section-contact .col-1 .cards-wrapper {
    max-width: 50rem;
}

.section-contact .col-2 {
    padding: 0;
    border: 1px solid rgb(var(--primary-color));
}

.section-contact .col-2 .text-block-center {
    max-width: 100%;
    padding: 3rem 3rem 2rem;
    background: rgb(var(--primary-color));
}

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

.section-contact .ContactForm>div {
    width: 49%;
}

.section-contact .ContactForm div.textarea-field,
.section-contact .ContactForm div.submit-button-container {
    width: 100%;
}

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

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

    .section-contact .ContactForm>div {
        width: 100%;
    }
}

/* ==========================================================================
Footer
========================================================================== */
footer {
    padding: 10rem 5rem 0 5rem;
    border-top: 1px solid rgb(var(--black-color));
}

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

.footer-logos .logo-item {
    height: 10rem;
    padding: 4px;
    margin: 0 1rem 1rem 0;
}

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

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

.footer-menu {
    width: 14%;
}

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

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

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

/* Logo */
footer .logo {
    width: 48rem;
}

footer .logo img {
    max-width: 12rem;
    margin-right: 2rem;
}

footer .logo a {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: rgb(var(--primary-color));
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: .3s ease;
}

footer .logo .slogan {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    color: rgb(var(--primary-light-color));
}

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--black-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* 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: 8rem 0 3rem;
    }

    /* Footer logos */
    .footer-logos {
        justify-content: center;
    }

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

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

    footer .logo {
        width: 100%;
    }

    footer .logo a {
        justify-content: center;
    }
}

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

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

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

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

    /* Footer top */
    footer .logo img {
        max-width: 8rem;
        margin-right: 5px;
    }

    footer .logo a {
        font-size: 1.8rem;
    }

    footer .logo .slogan {
        font-size: 1.4rem;
    }
}