/* Galleriatandlakarna */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 0, 75, 104;

    --black-color: 17, 17, 17;
    --gray-dark-color: 34, 34, 34;
    --gray-color: 130, 130, 130;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 4rem;
    --menu-height: 7rem;
    --menu-height-scrolled: 7rem;
    --section-width: 140rem;

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

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

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

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

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

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

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

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
	letter-spacing: .4rem;
}

.section-title {
    padding-bottom: .4em;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
	font-family: "PT Sans", sans-serif;
}

.small-title {
    padding-bottom: .5em;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.4;
	font-family: "PT Sans", sans-serif;
}

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

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

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

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

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

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

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

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

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

/* Knappar */
.btn {
    min-width: 15rem;
    padding: 1.5rem 4rem;
    margin: 7px;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

.btn-primary-border {
    color: rgb(var(--primary-color));
    border: 2px solid rgb(var(--primary-color));
    background-color: transparent;
}

.btn-primary-border:hover {
    color: rgb(var(--white-color));
    border: 2px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

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

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

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

.btn-white-filled:hover {
    color: rgb(var(--white-color));
    border: 2px solid rgb(var(--white-color));
    background-color: transparent;
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    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-white {
    background-color: rgb(var(--white-color));
}

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

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

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

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

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

/* Object position */
.of-wrapper .op-50-100 {
	object-position: 50% 100%;
}

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

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

.parallax .section-block {
    min-height: 55vh;
}

/* Bilder */
.parallax-bus {
    background-image: url('/assets/images/galleriatandlakarna-bus-2000px.jpg');
}

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

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

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

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

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

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

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

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

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

.card-3-1 .card-item {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

.card-3-1 .card-header {
    position: relative;
    z-index: 2;
    max-width: 90%;
    margin-top: -3rem;
    margin-left: -1rem;
    padding: 1.5rem 2rem 1.5rem 3rem;
}

.card-3-1 .btn {
    text-align: left;
    padding: 0 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: 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;
    }
}

/* Modal som öppnas 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: 55rem;
    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;
    }
  }


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

header .container {
	max-width: none;
}

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

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

/* Nav */
.TemplateMenu a {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0 2.6rem;
    color: rgb(var(--gray-dark-color));
}

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

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

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

.top-section .section-block {
    width: 100%;
    padding: 0;
    background-image: linear-gradient(to bottom, transparent 60%, rgb(var(--white-color)) 40%);
}

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

.top-section .text-block {
    max-width: 90rem;
	padding: 5rem;
}

.top-section .section-title {
    font-size: 5.5rem;
    font-weight: 700;
}

.top-section p {
    font-weight: 200;
    max-width: 55rem;
}

/* CTA */
.top-section .cta-wrapper {
    z-index: 3;
    position: absolute;
    right: 0;
    bottom: 20rem;
}

.top-section .cta-wrapper li {
    height: 8rem;
    list-style: none;
}

.top-section .cta-wrapper a {
    position: fixed;
    right: 0;
    font-size: 1.7rem;
    text-decoration: none;
    min-width: 21rem;
    padding: 2rem 2.5rem;
    background-color: rgb(var(--primary-color));
    box-shadow: 0 0 4rem rgba(var(--white-color), .15);
    transition: 0.4s ease-in-out;
}

.top-section .cta-wrapper.scrolled a {
    right: -14.5rem;
}

.top-section .cta-wrapper a:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--gray-dark-color));
    right: 0;
}

.top-section .cta-wrapper a > i {
    margin-right: 2.5rem;
    font-size: 2rem;
}

@media only screen and (max-width: 1200px) {
    .top-section {
        min-height: unset;
    }

    .top-section .section-block {
        background-image: none;
    }

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

    .top-section .bg-image-wrapper {
        position: relative;
        height: unset;
    }

    .top-section .bg-image-wrapper img {
        object-fit: unset;
        object-position: unset;
    }

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

    .top-section .cta-wrapper a,
    .top-section .cta-wrapper.scrolled a {
        right: -14.5rem;
    }
}

@media only screen and (max-width: 1024px) {
    .top-section .text-block {
        padding: 5rem 3rem;
    }
}

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

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

    .top-section .cta-wrapper {
        bottom: 0;
    }

    .top-section .cta-wrapper li {
        height: 5.5rem;
    }

    .top-section .cta-wrapper a,
    .top-section .cta-wrapper.scrolled a {
        font-size: 1.5rem;
        padding: 1rem 1.5rem;
        right: -16.5rem;
    }

    .top-section .cta-wrapper a > i {
        font-size: 1.6rem;
        margin-right: 2rem;
    }
}

/* Behandlingar
========================================================================== */
.section-scroll {
    overflow: hidden;
}

.section-scroll .section-block-wrapper {
    max-width: 120rem;
}

.section-scroll .btn {
    margin: 0;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin: 2rem 0 4rem;
}

.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 3rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    top: -9rem;
    width: 4.5rem;
    height: 4.5rem;
    background-color: rgb(var(--black-color));
}

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

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

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

@media only screen and (max-width: 750px) {
    .scroll-wrapper.cards-wrapper {
        margin: 2rem 0 8rem;
    }

    .scroll-wrapper .slick-arrow {
        top: unset;
        bottom: -6rem;
    }

    .scroll-wrapper .slick-prev {
        right: unset;
        left: 0;
    }

    .scroll-wrapper .slick-next {
        right: unset;
        left: 5rem;
    }
}

/* Karta
========================================================================== */
.map {
    font-size: 0;
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 40rem;
    background-color: rgb(var(--primary-color), .9);
}

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

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

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

/* ==========================================================================
Undersida: Om oss
========================================================================== */
.section-team .card-3-1 .image-wrapper {
    height: unset;
}

/* ==========================================================================
Undersida: Priser
========================================================================== */
.table {
    width: 100%;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.row:nth-child(odd) {
    background-color: rgb(var(--white-color));
}

.cell {
    width: 12.5%;
    padding: 2rem;
}

.cell.name {
    width: 50%;
}

.cell p {
    font-size: calc(var(--base-size)* .8);
    padding-bottom: 0;
}

@media only screen and (max-width: 1100px) {
    .table-heading {
        display: none;
    }

    .cell {
        width: 30%;
    }
    
    .cell.name {
        width: 70%;
    }

    .cell:before {
        content: attr(data-title);
        display: block;
        font-size: 1.3rem;
        color: rgb(var(--primary-color));
        text-transform: uppercase;
        margin-bottom: 13px;
    }
}

@media only screen and (max-width: 580px) {
    .section-price .section-block {
        padding: 0;
    }

    .cell:first-child,
    .cell.name {
        padding-bottom: 0;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .col-0,
.section-contact .col-1,
.section-contact .col-2 {
    padding: 5rem;
}

.section-contact .col-0 {
    margin-bottom: 7rem;
    border-bottom: 1px dotted rgb(var(--gray-dark-color));
}

.section-contact .col-1 {
    margin-right: 2rem;
    width: calc((100% / 2) - 2rem);
    background-color: rgb(var(--gray-light-color));
}

.section-contact .col-2 {
    margin-left: 2rem;
    width: calc((100% / 2) - 2rem);
    background-color: rgb(var(--primary-color));
}

/* Kontaktuppgifter */
.section-contact .col-1 i {
    margin-right: 1.5rem;
}

.section-contact .col-1 a {
    text-decoration: none;
}

.section-contact .col-1 a:hover {
    color: rgb(var(--primary-color));
}

/* Oppettider */
.time-wrapper p {
    display: flex;
    justify-content: space-between;
}

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

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

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

.footer-container {
    max-width: 150rem;
}

.footer a {
    text-decoration: none;
}

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

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

.footer-menu {
    width: 22%;
    padding: 0 3rem;
    margin: 0 0 4rem;
}

.footer-menu-large img {
    max-width: 24rem;
}

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

.footer-top .logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.footer-top .logo-wrapper img {
    max-width: 22rem;
    margin-bottom: 1.5rem;
}

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

.footer-top .small-title {
    font-size: 1.9rem;
}

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.2rem;
    font-weight: 200;
    line-height: 1.6;
    padding-bottom: .5em;
    color: rgb(var(--white-color));
}

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

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

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

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

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

@media only screen and (max-width: 900px) {
    .footer {
        padding: 0;
    }

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

    .footer-submenu {
        margin: 0;
    }

    .footer-top .logo-wrapper {
        align-items: start;
    }
}

@media only screen and (max-width: 580px) {
    /* Footer top */
    .footer-top {
        padding: 5rem 0 0;
    }

    .footer-menu {
        padding: 0 2rem;
    }

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

    .webbess-stamp {
        margin-top: 2rem;
    }
}