/* Domna Dental */

/* Typsnitt - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

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

    /* 	Colors */
    --primary-color: 0, 114, 175;
    --primary-light-color: 230, 241, 247;
    --primary-dark-color: 56, 137, 197;

    --black-color: 0, 0, 0;
    --gray-dark-color: 30, 30, 35;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: 255, 255, 255;
    --menu-color: var(--black-color)
}

/* Layout
========================================================================== */
.section-block {
    padding: 8rem 4rem;
}

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

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

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

/* Specifika margins */
.mt-5 {
    margin-top: 5rem;
}

/* Orviga klasser */
.justify-center {
    justify-content: center;
}

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

/* Text och typsnitt
========================================================================== */
body {
    font-weight: 400;
    font-style: normal;
    font-family: 'Poppins', sans-serif;
}

/* Rubriker */
.section-title {
    font-size: 4.2rem;
    line-height: 1.3;
    font-weight: 500;
    padding-bottom: 1.5rem;
    color: rgb(var(--primary-color));
}

.small-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 500;
    padding-bottom: 1rem;
}

.text-label {
    font-size: 2.2rem;
    font-weight: 400;
    padding-bottom: 1rem;
}

/* Brodtext */
p {
    font-weight: 300;
}

a {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 19rem;
    padding: 1.3rem 2rem;
    margin: 5px;
    font-size: 1.6rem;
    text-align: center;
    border-radius: 3px;
    border: 2px solid;
    transition: .3s ease;
}

.btn i,
.btn em {
    margin-right: 5px;
}

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

.btn-primary-filled:hover,
.ContactSubmit:hover {
    background: transparent;
}

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

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

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

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

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

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

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

/* Overlays */
.overlay-primary-dark .section-block {
    background: rgb(var(--primary-dark-color), .8);
}

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

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

/* Grafiska element
========================================================================== */
/* Box shadow */
.box-shadow {
    box-shadow: 0 0 1.3rem rgba(var(--black-color), .1);
}

/* Object position */
.of-wrapper img.center-10 {
    object-position: center 10%;
}

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

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

/* Parallax
========================================================================== */
.parallax {
    min-height: 40rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax-building {
    background-image: url('/assets/images/byggnad-1800px.jpg');
}

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

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

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

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

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

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

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

/* Card 1-1 */
@media only screen and (max-width: 1300px) {
    .card-1-1 .small-title {
        font-size: 2.2rem;
    }
}

/* Card 3-1 */
.card-3-1 .small-title {
    font-size: 2.2rem;
}

.card-3-1 p {
    font-size: 1.6rem;
}

/* Logos 1 */
.logos-1 .card-item {
    text-align: center;
    padding: 4rem;
    background-color: rgb(var(--primary-light-color));
}

.logos-1 img {
    max-height: 12rem;
    transform: scale(.94);
    transition: 0.2s ease-in-out;
}

.logos-1 img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1);
}

@media only screen and (max-width: 868px) {
    .logos-1 img {
        max-height: 8rem;
    }
}

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

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

.split-image {
    position: relative;
    width: 50%;
    overflow: hidden;
}

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

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

@media screen and (max-width: 1100px) {
    .split-content {
        padding: 5rem;
    }

    .split-content {
        width: 100%;
    }

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

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

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

/* Header / Navigation
========================================================================== */
/* header */
header {
    background-color: transparent;
}

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

header .container {
    margin: 0 auto;
}

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

header.scrolled .header-logo img,
.header-logo img {
    max-height: 7rem;
}

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

.scrolled .TemplateMenu a {
    color: rgba(var(--black-color));
}

/* hover effect */
.TemplateMenu a:hover:before,
.TemplateMenu li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.TemplateMenu a:before {
    background-color: rgb(var(--primary-color));
    visibility: hidden;
    position: absolute;
    content: "";
    height: .5rem;
    bottom: 2.5rem;
    width: 50%;
    left: 25%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.TemplateMenu a.expandable:before,
.TemplateMenu ul a:before {
    display: none;
}

/* mobilmeny */
.mobile-menu {
    background-color: rgb(var(--white-color));
}

.mobile-menu .container {
    padding: .5rem 2rem;
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(to bottom, rgb(var(--black-color), .6), transparent);
    overflow: hidden;
}

.top-section .section-title {
    padding-bottom: 1rem;
}

.top-section p {
    max-width: 50rem;
    margin: 0 auto;
    font-size: 2rem;
}

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

    .top-section p {
        font-size: var(--base-size);
    }
}

/* Teamet
========================================================================== */
.section-team .image-wrapper {
    height: 65rem;
}

@media only screen and (max-width: 1000px) {
    .section-team .image-wrapper {
        height: auto;
    }
}

/* Bli patient
========================================================================== */
.section-form .Contact {
    max-width: 80rem;
    margin: 3rem auto 0;
}

.section-form .Contact p {
    color: rgb(var(--white-color));
}

.ContactForm input[type="text"] {
    height: 4rem;
    border-radius: 5px;
}

.ContactForm textarea {
    border-radius: 5px;
}

/* Behandlingar - slider
========================================================================== */
.cards-slider .slick-track {
    display: flex;
}

.cards-slider .card-item {
    margin: 1.5rem;
    height: auto;
}

@media only screen and (max-width: 800px) {
    .cards-slider .slick-list {
        width: 100%;
    }
}

/* Bildspel
========================================================================== */
.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;
    margin: 0 1rem;
    transition: all .3s ease;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
    transform: scale(.9);
}

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

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


/* Priser
========================================================================== */
.list-price {
    list-style: none;
    padding-inline-start: initial;
}

.list-price li {
    display: flex;
    justify-content: space-between;
}

.list-price li:not(:last-child) {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgb(var(--white-color), .2);
}

.list-price .price {
    white-space: nowrap;
}

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

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

.footer-container {
    max-width: 160rem;
    padding: 0 4rem;
    margin: 0 auto;
}

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

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

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

.footer .small-title {
    font-size: 1.8rem;
    letter-spacing: normal;
    font-weight: 600;
    color: rgb(var(--primary-color));
}

.footer li {
    display: flex;
    align-items: center;
    margin: .5rem 0;
}

.footer-top p,
.footer-top a,
.footer-top li {
    color: rgba(var(--black-color));
    font-weight: 300;
    font-size: 1.4rem;
}

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

.footer .contacts i {
    width: 3rem;
    font-size: 1.5rem;
    color: rgb(var(--primary-color));
}

.footer-top img {
    margin-bottom: 2rem;
}

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
}

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

@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 {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 2rem 0;
    }
}

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

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

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