/* Inside Team */

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,500,700,800');
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css');

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

    /* 	Colors */
    --primary-color: 185, 209, 196;
    --primary-dark-color: 130, 147, 138;

    --black-color: 0, 0, 0;
    --gray-dark-color: 65, 65, 65;
    --gray-light-color: 244, 244, 244;
    --white-color: 255, 255, 255;

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

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

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

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

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

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

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

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

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

/* Margins */
.mt-3 {
    margin-top: 3rem;
}
.mb-3{
    margin-bottom: 3rem;
}
/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

.mw-800 .section-block-wrapper {
    max-width: 80rem;
}

@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: 'Source Sans Pro', 'sans-serif';
    color: rgb(var(--gray-dark-color));
}

/* Rubriker */
.text-label {
    padding-bottom: .5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
}

.small-title {
    padding-bottom: 1rem;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.4;
}

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

/* Brodtext och lankar */
p,
li {
    font-weight: 400;
}

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-italic {
    font-style: italic;
}

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

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

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

/* Listor */
ul {
    margin-top: 0;
}

@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 {
    margin-top: 2rem;
}

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

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

.btn-small {
    min-width: 15rem !important;
}

.btn-primary-filled {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover {
    background-color: rgb(var(--primary-color), .8)
}

.btn-gray-filled {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--gray-dark-color));
    background-color: rgb(var(--gray-dark-color));
}

.btn-gray-filled:hover {
    color: rgb(var(--gray-dark-color));
    background-color: transparent;
}

/* Pulse btn */
.pulse-btn {
    box-shadow: 0 0 0 0 rgb(var(--primary-color));
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}

@-webkit-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--primary-color), 0);
    }
}

@-moz-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--primary-color), 0);
    }
}

@-ms-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--primary-color), 0);
    }
}

@keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--primary-color), 0);
    }
}

/* Speciella lankar */

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(var(--gray-dark-color));
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Inre border */
.offset-white {
    outline: 1px solid rgb(var(--white-color));
    outline-offset: -11px;
}

/* Object position */
.of-wrapper .op-center-20 {
    object-position: center 20%;
}

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

.bg-christmas {
    background-image: linear-gradient(rgba(36, 36, 37, 0.377), rgba(36, 36, 37, 0)),
        url('/assets/images/julbild-500px.jpg');
}

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

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax-boy {
    background-image: url(/assets/images/pojkar-leker-2000px.jpg);
}

.parallax .section-block {
    background-color: rgb(var(--black-color), .6);
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

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

a.card-item {
    text-decoration: none;
    transition: .2s ease;
}

.center-text.card-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

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

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

/* Specifika bredder */
.cards-wrapper.w-20 .card-item {
    width: calc((100% / 5) - 2rem);
    margin: 1rem;
}

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

.cards-wrapper.w-60 .card-item {
    width: 60%;
    margin: 1rem 0;
}

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

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

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

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

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

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

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

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

/* Card 3-2 - medarbetarkort */
.card-3-2 .contacts {
    padding-top: 0;
}

.card-3-2 .contacts a {
    display: block;
    padding-bottom: 1rem;
    font-size: 1.5rem;
    text-decoration: none;
    transition: .2s ease;
}

.card-3-2 .contacts a:hover {
    color: rgb(var(--primary-dark-color));
}

.card-3-2 .contacts a em {
    margin-right: 1rem;
    color: rgb(var(--primary-dark-color));
}

/* 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-image img:not(.contain) {
    outline: 1px solid rgb(var(--white-color));
    outline-offset: -11px;
}

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

/* Paddings */
.split-wrapper .pr-0 {
    padding-right: 0;
}

@media screen and (max-width: 1100px) {
    .split-wrapper {
        justify-content: flex-end;
        background-color: transparent;
    }

    .split-content {
        width: 100%;
        max-width: 80rem;
        padding: 5rem 0;
    }

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

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

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

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

.blocker {
    z-index: 100;
}

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

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

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

    .blocker {
        padding: 1rem;
    }
}
/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%,-50%);
    transition: .3s ease;
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
    transform: translate(-50%,-50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
    transform: translate(-50%,-50%) scale(0);
}

/* Innehåll */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    max-width: 30rem;
    max-height: calc(100vh - 12rem); 
    padding: 0rem;
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 2rem;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    overflow: auto;
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.icon-close-popup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
}

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

    .icon-close-popup {
        top: 1rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}
header .container {
    max-width: 160rem;
}


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

/* Nav */
.TemplateMenu a {
    font-size: 1.5rem;
    color: rgb(var(--black-color));
}
.TemplateMenu ul a {
    min-width: 30rem;
}

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

/* Doprdown */
header:not(.mobile-menu) .TemplateMenu ul {
    border-left: 2px solid rgb(var(--primary-color));
    border-bottom: 2px solid 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;
}

.header-cta-wrapper .of-wrapper img {
    width: 3rem;
    height: 2rem;
    border-radius: 0.2rem;
    margin-top: 1rem;
}

/* Mobilmeny */

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

    .header-logo {
        max-width: 15rem;
    }
}

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--menu-height));
    border: 2rem solid rgb(var(--white-color));
    border-top: 0;
}

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

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

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

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

@media only screen and (max-width: 1100px) {
    .top-section .split-image {
        max-width: 100%;
        max-height: 50vh;
    }
}

@media only screen and (max-width: 580px) {
    .top-section {
        border: 0rem solid rgb(var(--white-color));
    }

    .top-section .section-block {
        padding: 2rem;
    }

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

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 50rem;
    background-color: rgba(var(--black-color), .5);
}

.hero.bg-primary-dark .section-block {
    min-height: 35rem;
    background-color: transparent;
}

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

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

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

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

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

/* Vanliga fragor & svar 
========================================================================== */
.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

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

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

.accordion-item:hover,
.accordion-item.active {
    background: rgb(var(--primary-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(--black-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;
}

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

/* Litet meddelande-sektion (.section-message)
========================================================================== */
.section-message .section-block {
    padding: 1rem 2rem;
    text-align: center;
    background-color: rgb(var(--primary-color));
}

.section-message p {
    padding: 0;
}

/* Karta med en inforuta pÃ¥ (tex kontaktundersidor)
========================================================================== */
.map-wrapper {
    position: relative;
}

.map-wrapper .map-info {
    position: absolute;
    right: 1rem;
    top: 1rem;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: .2s ease;
}

.map-wrapper .map-info.bg-primary-dark:hover {
    background: rgb(var(--gray-dark-color));
}

.map-wrapper .small-title {
    padding-bottom: 0;
    font-size: 2rem;
}

.map-wrapper p {
    padding-bottom: 0;
    font-size: 1.5rem;
}

.map-wrapper iframe {
    width: 100%;
    height: 50rem;
}

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

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


/* ==========================================================================
Footer
========================================================================== */
.footer {
    background: rgb(var(--gray-dark-color));
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem 2rem;
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

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

.footer .text-label {
    padding-bottom: .5rem;
    letter-spacing: normal;
}

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

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

.footer a:not(.circle-icon) {
    text-decoration: none;
    transition: .2s ease;
}

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

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

.footer-bottom p,
.footer-bottom a:not(.circle-icon) {
    padding: .5rem .2rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

.footer .circle-icon {
    width: 3rem;
    height: 3rem;
}

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

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

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

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

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

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

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

    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0;
    }
}

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

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

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

    .footer-bottom p,
    .footer-bottom a:not(.circle-icon) {
        order: 2;
    }

    .footer-bottom .socials {
        order: 1;
        padding-bottom: 1rem;
    }
}