/* Vasatandläkarna (facelift) */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color:74, 116, 130;

    --black-color: 17, 17, 17;
    --gray-light-color: 243, 241, 237;
    --white-color: 255, 255, 255;

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

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

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

.mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

.mw-1400 .section-block-wrapper {
    max-width: 140rem;
}


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

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

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

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

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

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

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

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

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

.mr-1 {
    margin-right: 1rem;
}

.m-0-auto {
    margin: 0 auto;    
}

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

.EditMode .mt--11 {
    margin-top: 0;
}

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

/* Rubriker */
.section-title {
    padding-bottom: .5em;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
}

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

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

a {
    text-decoration: none;
}

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

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

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

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

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

.text-decorative {
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Alex Brush', sans-serif;
    font-weight: 100 !important;
}

.text-uppercase {
    text-transform: uppercase;
}

@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,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
    text-transform: uppercase;
}

.ContactSubmit {
    padding: 15px 15px;
    font-weight: 400;
}

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

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

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

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

.bg-primary-95 .section-block {
    background-color: rgba(74, 116, 130, .95);
}

.bg-white-08 {
    background-color: rgba(255,255,255,0.8);
}

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

/* bakgrundsbild */
.bg-blommor {
    background-image: url('/assets/images/blommor-monster-1600px.jpg');
}

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

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

/* Modal som oppnas automatiskt
========================================================================== */
  body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color),.7);
  }

  body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 75rem;
    max-height: 75vh;
    padding: 4rem;
    border-radius:0;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%,-50%);
  }

  .section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
  }

  @media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
      padding: 3rem 2rem;
    }
  }

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

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

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

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

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


/* Cards 2 */
.cards-2 .card-item {
    padding: 4rem;
    border-radius: 2rem 2rem 0 0;
    cursor: pointer;
    background: #FFF;
    box-shadow: 0px -10px 7px rgb(0, 0, 0, .2);
    transform: scale(.99);
    transition: 0.2s ease-in-out;
}

.cards-2 .card-item:hover {
    transform: scale(1);
}

.cards-2 .heading-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.cards-2 .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    padding: 2rem;
    margin-right: 2rem;
    border-radius: 50%;
}

.cards-2 .icon-wrapper i {
    font-size: 2.5rem;
}

.cards-2 .small-title {
    padding: 0;
    font-size: 2rem;
    text-align: left;
}

.cards-2 p {
    font-size: 1.6rem;
    text-align: left;
}

@media only screen and (max-width: 1050px) {
    .cards-2 .card-item.arrow-right::after {
        display: none;
    }

    .cards-2 .card-item {
        padding: 3rem 2rem;
    }
}

@media only screen and (max-width: 580px) {
    .cards-2 .card-item {
        padding: 2rem;
        box-shadow: 2px 2px 10px rgb(0 0 0 / 20%);
        border-radius: 2rem;
    }
}

/* Bredder */
.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: 1000px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}


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

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

/* 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: 1300px) {
    .split-content {
        padding: 3rem;
    }
}

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

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

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

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

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

header .container {
    max-width: none;
}

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

.text-logo {
    font-size: 3.5rem;
}

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

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

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

.TemplateMenu a .far {
    color: rgb(var(--primary-color));
    font-size: 2rem;
}

@media only screen and (max-width: 580px) {
    /* Header logo */
    .header-logo a {
        font-size: 1.6rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section .section-block {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--menu-height));
}

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

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

.text-block-inner {
    border: 1px solid rgb(var(--primary-color));
    padding: 4rem 2rem;
}

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

.top-section .small-title {
    font-weight: 400;
}

.top-section p {
    max-width: 60rem;
    margin: 0 auto;
}

.top-section .btn-primary-filled:hover {
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 1440px) {
    .top-section .section-block {
        padding: 3rem 2rem 15rem;
    }
}

@media only screen and (max-width: 580px) {
    .text-block-inner,
    .top-section .text-block-center.p-5 {
        padding: 2rem;
    }

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


/* Sektion Slider / nyheter
========================================================================== */
.section-slider {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin: 3rem 0 7rem;
}

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

.scroll-wrapper .card-item .image-wrapper {
    max-height: 46rem;
}

.scroll-wrapper .card-item .small-title {
    text-align: left;
    font-size: 2rem;
}

.scroll-wrapper .card-item p,
.scroll-wrapper .card-item a {
    font-size: 1.5rem;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -6rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #fff;
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: #4a7482;
}

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

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

@media only screen and (max-width:480px) {
    .scroll-wrapper .card-item .image-wrapper {
        max-height: 35rem;
    }
}


/* Följ oss
========================================================================== */
.section-socials .fab {
    font-size: 4rem;
}

/* ==========================================================================
Undersidor
========================================================================== */
.hero .section-block {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 50rem;
    padding-bottom: 0;
    /* margin-top: calc(-1 * var(--menu-height)); */
}

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

/* Hero - Hero-title
========================================================================== */
.hero.bg-image {
    overflow:visible;
}

.hero .section-block {
    background-image: linear-gradient(to bottom, transparent 46rem, rgb(var(--white-color)) 46rem);
}

.hero-title-wrapper {
    width: 50rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.25);
}

.hero-title-wrapper .section-title {
    padding-bottom: 0;
    font-size: 6rem;
}

@media only screen and (max-width: 700px) {
    .hero-title-wrapper {
        width: 40rem;
    }

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

@media only screen and (max-width: 580px) {
    .hero .section-block {
        min-height: 40rem;
        background-image: linear-gradient(to bottom, transparent 36rem, rgb(var(--white-color)) 36rem);
    }

    .hero-title-wrapper {
        width: 30rem;
        padding: 2rem;
    }

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

/* ==========================================================================
Undersida: om oss
========================================================================== */
.medarbetare-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 4rem);
    margin: 2rem;
}

@media only screen and (max-width: 760px) {
    .medarbetare-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 4rem);
        margin: 2rem;
    }
}

@media only screen and (max-width: 580px) {
    .medarbetare-wrapper.w-33 .card-item {
        width: 100%;
        margin: 2rem 0;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.contact-form .col-0 {
    padding: 0;
}

.contact-form .col-0 .col-wrapper {
    background-color: #FFF;
    border-radius: 2px;
    padding: 5rem;
    -webkit-box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
    margin-top: -15rem;
    z-index: 5;
    position: relative;
}

.contact-form .col-1 {
    padding-left: 9rem;
    padding-top: 9rem;
}

.contact-form .ContactForm p {
    color: rgb(var(--primary-color));
}

.contact-form .ContactForm input[type="text"], 
.contact-form .ContactForm textarea {
    border: none;
    background-color: rgb(var(--gray-light-color));
}

.contact-form  textarea.textmessage {
    height: 15rem;
}

@media only screen and (max-width: 1100px) {
    .contact-form .col-0 .col-wrapper {
        padding: 3rem;
    }
    
    .contact-form .col-1 {
        padding-left: 3rem;
        padding-top: 5rem;
    }
}

@media only screen and (max-width: 980px) {
    .contact-form .col-1 {
        padding-left: 0rem;
    }
}

@media only screen and (max-width: 600px) {
    .contact-form .col-0 .col-wrapper {
        padding: 3rem 2rem;
    }
    
    .contact-form .col-1 {
        padding-top: 3rem;
    }
}


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

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

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

.footer-menu {
    width: 20%;
    padding-bottom: 3rem;
}

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

.footer .text-label {
    color: rgb(var(--black-color));
    padding: 0 0 1rem;
    line-height: 1;
}

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

.footer-top li {
    padding: 0 0 1rem;
}

.footer-top p,
.footer-top a {
    color: rgb(var(--black-color), .6);
    text-decoration: none;
}

.footer-top .small-title {
    color: rgb(var(--primary-color));
    font-size: 2rem;
}

.footer a:hover {
    text-decoration: none;
    color: rgb(var(--black-color));
}

/* Sociala medier */
.socials .fab {
    font-size: 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(--primary-color));;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgb(var(--black-color), .8);
}

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

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

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}