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

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

/* Fonts - Furuta PT */
@import url("https://use.typekit.net/abk4jxl.css");

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 0, 120, 164;
    --secondary-color: 255, 122, 51;
    --accent-color:  250, 197, 98;

    --black-color: 17, 17, 17;
    --gray-dark-color: 65, 65, 65;
    --gray-color: 116, 116, 116;
    --gray-light-color: 242, 245, 247;
    --white-color: 255, 255, 255;
    --red-color: 193, 3, 3;

    --accent-green-color: 0, 128, 0;
    --accent-yellow-color: 250, 197, 98;

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

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

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

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

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

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

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

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

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

.mt-5 {
    margin-top: 5rem;
} 

/* Brecder */
.mw-50 {
    max-width: 50rem;
    margin: 0 auto;
}

/* Ovriga klasser */ 
.justify-center {
    justify-content: 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: "TikTok Sans", sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: .3em;
    font-size: 4rem;
    font-weight: 200;
    line-height: 1.2;
    color: rgb(var(--primary-color));
    font-family: futura-pt-bold, sans-serif;
}

.small-title {
    padding-bottom: .2em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgb(var(--primary-color));
    font-family: futura-pt-bold, sans-serif;
}

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

ol {
    padding-inline-start: 25px;
    margin-block-start: 0;
}

ol li::marker {
    color: rgb(var(--secondary-color));
    font-weight: 600;
}

/* List-check */
.list-check {
    padding: 0;
    margin: 0;
    list-style: none;
    margin-bottom: 0.7rem;
}

.list-check li {
    display: flex;
    align-items: baseline;
}

.list-check li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 700;
    color: rgb(var(--secondary-color));
    font-size: 1.2rem;
    width: 20px;          /* fast bredd för ikonkolumn */
    flex-shrink: 0;
    line-height: 1.4;
}

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

.list-pills li {
    display: flex;
    align-items: center;
    padding: 0.7rem 2rem 0.7rem 0.7rem;
    margin: .5rem;
    font-size: 1.5rem;
    border-radius: 4rem;
    background: rgb(var(--primary-color));
}

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

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

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

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

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

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

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

@media only screen and (max-width: 800px) {
    .list-pills {
        display: block;
        max-width: 40rem;
    }
}

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

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

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

@media only screen and (max-width: 420px) {
    .list-pills li {
        font-size: 1.3rem;
    }
}

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    color: rgb(var(--primary-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: 580px) {
    .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.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));
}


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

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

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

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

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

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


/* Grafiska element
========================================================================== */
/* Gradients */
.gradient-primary {
    background: linear-gradient(135deg, rgb(var(--primary-color)), rgb(var(--primary-color), .7));

}

/* Border-radius */
.br-08 {
    border-radius: 8px;
    overflow: hidden;
}

/* Borders */
.border-top-primary {
    border-top: 1px solid rgb(var(--primary-color));
}

/* Box shadow */
.box-shadow {
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

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

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

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

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

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

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

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

@media screen and (max-width: 1000px) {
    .cards-wrapper .p-3 {
        padding: 2rem;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

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

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

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 4rem;
}

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

.card-2-1 .fad,
.card-2-1 .far {
    padding: 2rem;
    border-radius: 50%;
}

@media only screen and (max-width: 750px) {
    .card-2-1 .small-title {
        font-size: 2rem;
    }
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

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

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

.split-image,
.split-video {
    width: 50%;
}

/* Split video */
.split-video video,
.split-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* speciella hojder */
.split-wrapper .mih-40 {
    min-height: 40rem;
}

@media screen and (max-width: 1300px) {
    .split-content {
      padding: 1rem 2rem 3rem 1rem;
    }
}

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

    .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 1rem 0;
    }

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

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

@media screen and (max-width: 700px) {
    .split-wrapper .mih-40 {
        min-height: 25rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

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

/* Nav */
.TemplateMenu a {
    font-size: 1.7rem;
    font-weight: 400;
    color: rgb(var(--black-color));
    font-family: futura-pt, sans-serif;
}

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

/* Hover effect */
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: 50%;
    left: calc(25% + 2rem);
    background-color: rgb(var(--primary-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 {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 4rem;
    list-style: none;
}

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

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

    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    background-color: rgb(var(--black-color), .30);
    padding-top: var(--menu-height);
    background-image: url(/assets/images/waves/wave-2.svg);
    background-size: 100% 8rem;
    background-repeat: no-repeat;
    background-position: center bottom;
}

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

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

.top-section .section-title {
    font-size: 5.8rem;
    font-weight: 600;
    padding-bottom: 1rem;
}

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

@media only screen and (max-width: 680px) {
    .top-section {
        background-size: 100% 4rem;
        min-height: 70rem;
    }
}

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

/* CTA-sektion */
.cta-wrapper {
    padding: 12rem 4rem;
    border-radius: 8px;
    background-image: linear-gradient(to right, rgb(var(--black-color), .5), rgb(var(--black-color), .4)), url('/assets/images/event-2000px.jpg');
    background-size: cover;
    background-position: center 60%;
}

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

.cta-wrapper .btn {
    display: unset;
}

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

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

@media screen and (max-width: 580px) {
.cta-wrapper .btn-wrapper {
        padding-top: 0;
    }
}

/* Omdomen
========================================================================== */
.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;
    padding: 2rem 3rem;
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    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;
}

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

/* Hero - Grundkod
========================================================================== */
/* Hero */
 .hero {
    display: flex;
    align-items: center;
    min-height: 50rem;
    /* margin-top: calc(var(--menu-height) * -1); */
    /* padding-top: var(--menu-height); */
    background-color: rgb(var(--gray-dark-color), .25);
    background-image: url(/assets/images/waves/wave-2.svg);
    background-size: 100% 8rem;
    background-repeat: no-repeat;
    background-position: center bottom;
    display: flex;
}

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

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

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

@media only screen and (max-width: 680px) {
    .hero {
        background-size: 100% 4rem;
        min-height: 30rem;
    }
}

/* ==========================================================================
Undersida: Kalender
========================================================================== */
.table-wrapper {
    width: 100%;

}
#upcoming-meetings,
#past-meetings {
    overflow-x: auto;
    display: block;
}

#upcoming-meetings .row,
#past-meetings .row {
    min-width: 120rem; 
}
.table {
    margin: 0 auto;
}
.table p {
   padding-bottom: 0;
}
.row {
    display: flex;
    flex-wrap: nowrap; 
}

.row:nth-child(odd):not(.table-heading) {
    background-color: rgb(var(--gray-light-color));
}

.cell {
    width: 35%;
    padding: 1rem;
}

.cell-small {
    width: 12%;
}

.cell-big {
    width: 42%;
}

/* ==========================================================================
Undersida: Affarsnytta
========================================================================== */
.card-hero .cards-wrapper:not(.w-100) {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.card-hero .cards-wrapper .section-title {
    padding-bottom: 0;
    font-size: 3rem;
    font-weight: 200;
    color: rgb(var(--accent-color));
}

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

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

 @media only screen and (max-width: 450px) {
    .card-hero .cards-wrapper.w-33 .card-item .p-2 {
     padding: 1rem;
    }

    .card-hero .cards-wrapper .section-title {
    font-size: 2rem;
}
}

/* ==========================================================================
Undersida: Om oss
========================================================================== */

.section-contact-about .col-0{
    max-width: 80rem;
    margin: auto;
    padding: 2rem;
    border-radius: 8px;
    background-color: rgb(var(--gray-light-color));
}

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

/* Kolumn 2 */
.section-contact .col-2 {
    max-width: 60rem;
    padding: 0;
    border-radius: 8px;
    background: rgb(var(--gray-light-color));
    overflow: hidden;
}

.ContactForm {
    padding: 2rem;
}

.ContactForm p {
    font-size: 1.8rem;
    font-weight: 400;
    color: rgb(var(--black-color));
    font-family: futura-pt, sans-serif;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm select:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--white-color));
    border-color: transparent;
    border-radius: 1rem;
}

.ContactForm .radio-option label {
    font-size: 1.4rem;
}


@media only screen and (max-width: 980px) {
.section-contact .col-2 {
        max-width: 60rem;
        margin: 3rem 0;
        border-radius: 1rem;
        background: rgb(var(--gray-light-color));
    }
}

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

.footer a:hover {
    text-decoration: underline;
}

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

.footer-menu {
    width: 20%;
    margin-bottom: 2rem;
}

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

.footer .small-title {
    font-size: 2rem;
    letter-spacing: normal;
    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));
    text-decoration: none;
}

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    color: rgb(var(--white-color));
    text-decoration: none;
}

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

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

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

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

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

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}