/* Klippans Hisservice AB */

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

/* 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: 120rem;

    /* 	Colors */
    --primary-color: 0, 114, 188;
    --primary-dark-color: 31, 43, 65;
    --primary-light-color: 87, 162, 255;

    --black-color: 20, 20, 20;
    --gray-dark-color: 65, 65, 65;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

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

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

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

/* Paddings */
.p-0 {
    padding: 0;
}

.pt-0 .section-block,
.pt-0:not(.section-wrapper) {
    padding-top: 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;
}

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

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

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

/* Bredder */
.mw-800 .section-block-wrapper {
    max-width: 80rem;
}
.mw-1600 .section-block-wrapper {
    max-width: 160rem;
}

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

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 1em;
}

.section-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: .5em;
}

.small-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    line-height: 1.4;
    padding-bottom: .7em;
}



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

.text-title{
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
    font-size: 1.6rem;
}

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

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

.list-circle li {
    padding: 0;
}

.list-circle li::before {
    content: '\f111';
    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: 60rem;
}

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

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

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

.text-center {
    text-align: center;
}
.justify-center{
    justify-content: center;
}
.no-underline{
    text-decoration: none;
}

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

/* 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: 20rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 8px;
    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 {
    background-color: rgb(var(--primary-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;
}

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

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

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

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

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

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

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

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

/* Bakgrundsvideo */
.bg-video {
    position: relative;
}

.bg-video-wrapper video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

/* Grafiska element
========================================================================== */
.br-2{
    border-radius: 2rem;
}
/* Pil */
.arrow-primary-right {
    position: relative;
}

.arrow-primary-right::after {
    content: '\2192';
    position: absolute;
    top: 5rem;
    right: 0;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: rgb(var(--primary-color));
    transform: translateX(50%);
}

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

/* Specifika bredder */
.cards-wrapper.w-100 .card-item {
    width: 100%;
    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;
}

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

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

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

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


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

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

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

    /* Generellt */
    .cards-wrapper .arrow-primary-right::after {
        top: unset;
        right: calc(50% + -1rem);
        bottom: -2rem;
        transform: translateY(-50%) rotate(90deg);
    }
}

@media only screen and (max-width: 480px) {
    /* Paddings */
    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem;
    }
}

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

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

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

/* Cards 3-1 */
.card-3-1 .card-item {
    background-color: transparent;
    text-decoration: none;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
}

.card-3-1 a.card-item:hover {
    background-color: rgb(var(--white-color));
}

.card-3-1 .image-wrapper {
    height: 25rem;
    border-radius: 1rem;
}

.card-3-1 .card-body {
    width: 100%;
    padding: 3rem 3rem 0;
}

.card-3-1 .btn-wrapper {
    position: relative;
    margin-top: 0;
    transform: translateY(50%);
}

@media only screen and (max-width: 1050px) {
    .card-3-1 .card-item:not(:last-child) {
        margin-bottom: 6rem;
    }
}

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

    .card-3-1 .btn-wrapper {
        transform: none;
    }
}

/* Card 3-4 */
.card-3-4 .card-item {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 3rem;
    border-radius: 1rem;
}

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

.card-3-4 .contact-item i {
    margin-right: 1rem;
}

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    padding: 20rem 2rem 2rem;
}

.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%;
    background: rgba(var(--black-color), .3);
    transition: .3s ease-in-out;
}

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

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    pointer-events: none;
}

@media only screen and (max-width: 750px) {
	.card-3-6.cards-wrapper .card-item {
		width: calc((100% / 2) - 1rem);
		margin: 0.5rem;
        padding: 10rem 2rem 2rem;
    }
}

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

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

@media screen and (max-width: 1100px) {
    .split-content {
        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 .container {
    padding: 0 5rem;
}

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

.header-logo img {
    padding: 2rem 0;
}

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

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

/* 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 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 .header-logo {
    width: 8rem;
}

.mobile-menu .header-logo img {
    padding: 0;
}

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

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

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

    .header-cta-wrapper .btn {
        min-width: unset;
        padding: 0.7rem 1.5rem;
    }
}

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

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

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

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

.top-section p {
    max-width: 55rem;
    margin: auto;
    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;
    }
}


.slick-list{
    overflow: visible !important;
}
.section-scroll {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-bottom: 5rem;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    top: -6rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

@media only screen and (max-width: 600px) {
    .section-scroll .card-3-1 .card-item{
        margin: 1rem;
    }
    .scroll-wrapper .slick-arrow {
    top: -3rem;
}
}


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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 30rem;
    background-image: linear-gradient(to right, rgb(var(--primary-dark-color), .8) 20%, rgb(var(--primary-dark-color), .2));
}

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

.hero .section-title {
    font-size: 5rem;
    padding: 0;
    text-align: center;
}

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


/* ==========================================================================
Undersida Våra tjanster > Undersidor
========================================================================== */
.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
}

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

.accordion-item {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgb(var(--gray-light-color));
    transition: .3s ease;
}

.accordion-item:hover,
.accordion-item.active {
    background: rgb(var(--primary-light-color));
}


.accordion-header {
    position: relative;
    width: 100%;
    padding: 2rem 4rem 2rem 2rem;
    text-decoration: none;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.7rem;
    font-weight: 700;
    font-family: "Font Awesome 5 Pro";
    color: rgb(var(--primary-color));
    transition: .5s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 2rem 2rem;
}

.accordion-body p {
    font-size: 1.5rem;
    color: rgb(var(--white-color));
}

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

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

    .accordion-header::after {
        right: 1rem;
    }

    .accordion-body {
        padding: 0 1.5rem 1.5rem;
    }
}
/* ==========================================================================
Undersida Kontakt
========================================================================== */
.section-contact .col-1{
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
    padding: 4rem;
    background-color: rgb(var(--white-color));
    border-radius: 2rem;
}
.section-contacts .col-0{
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
    padding: 4rem;
    background-color: rgb(var(--white-color));
    border-radius: 2rem;
}

/* ==========================================================================
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 5rem;
    border-bottom: 1px solid rgb(var(--white-color), .5);
}

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

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

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

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

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

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

/* 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: 1024px) {
    .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;
    }
}