/* Novo Dental */

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Questrial&family=Ubuntu:wght@300;400;500;700&display=swap');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 5rem;
    --menu-height: 7rem;
    --menu-height-scrolled: 7rem;
    --section-width: 140rem;

    /* 	Colors */
    --primary-color: 74, 165, 220;
    --primary-light-color: 245, 250, 253;
    --primary-dark-color: 18, 85, 125;

    --accent-red-color: 181, 0, 0;

    --black-color: 0, 0, 0;
    --gray-dark-color: 75, 75, 75;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

    /* 	Typography */
    --base-size: 1.7rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 1150;
    --mobile-menu-height: 7rem;
    --mobile-menu-bg: var(--primary-dark-color);
    --menu-color: var(--black-color);
}

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 4rem;
}

/* Paddings */
.p-3 {
    padding: 3rem;
}

.pt-0 .section-block,
.pt-0:not(.section-wrapper) {
    padding-top: 0;
}

.pt-1:not(.section-wrapper) {
    padding-top: 1rem;
}

.pt-2:not(.section-wrapper) {
    padding-top: 2rem;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

.pb-3 .section-block,
.pb-3:not(.section-wrapper) {
    padding-bottom: 3rem;
}

.pb-6 .section-block,
.pb-6:not(.section-wrapper) {
    padding-bottom: 6rem;
}

.py-0 .section-block {
    padding-top: 0;
    padding-bottom: 0;
}

.py-5 .section-block {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Margins */
.mt-3 {
    margin-top: 3rem;
}

.mt-5 {
    margin-top: 5rem;
}

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

.mw-850 .section-block-wrapper {
    max-width: 85rem;
}

/* Ovriga klasser */
.justify-center {
    justify-content: center;
}

.of-hidden {
    overflow: hidden;
}

@media only screen and (max-width: 980px) {
    .layout-12 .col-2 {
        margin-top: 3rem;
    }
}

@media only screen and (max-width: 630px) {
    .section-block {
        padding: 5rem 2rem;
    }
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: "Questrial", sans-serif;
}

/* Rubriker */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-family: 'Ubuntu', sans-serif;
    color: rgb(var(--primary-color));
}

.text-label {
    padding-bottom: 1rem;
    font-size: var(--base-size);
}

.section-title {
    padding-bottom: 3rem;
    font-size: 4.3rem;
}

.small-title {
    padding-bottom: 1rem;
    font-size: 2.4rem;
}

.smaller-title {
    padding-bottom: 0.5rem;
    font-size: var(--base-size);
}

/* Lankar */
a {
    color: rgb(var(--black-color));
    text-decoration: none;
}

a:not(.btn) {
    text-decoration: none;
}

a:not(.btn):hover {
    text-decoration: underline !important;
}

/* Ovriga klasser */
.text-block {
    max-width: 100rem;
}

.text-block-center {
    max-width: 85rem;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: 600;
}

.text-underline {
    text-decoration: underline;
}

a.text-underline {
    color: rgb(var(--primary-dark-color));
    text-decoration: underline;
}

a.text-underline:hover {
    text-decoration: none;
}

@media only screen and (max-width: 630px) {
    .section-title {
        font-size: 3rem;
    }

    .small-title {
        font-size: 2rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    margin-top: 1.5rem;
}

.btn-wrapper.center {
    text-align: center;
}


/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 17rem;
    padding: 1.2rem 2rem;
    margin: 3px;
    border-radius: 2rem;
    font-size: 1.6rem;
    letter-spacing: 0.03em;
    border: 2px solid;
    text-align: center;
    cursor: pointer;
    transition: .3s linear;
}

.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 {
    color: rgb(var(--black-color));
    background: transparent;
}

.btn-white-filled {
    color: rgb(var(--black-color));
    border-color: rgb(var(--white-color));
    background: rgb(var(--white-color));
}

.btn-white-filled:hover {
    color: rgb(var(--white-color));
    background: transparent;
}

.btn-red-filled {
    color: rgb(var(--white-color));
    border-color: rgb(var(--accent-red-color));
    background: rgb(var(--accent-red-color));
}

.btn-red-filled:hover {
    color: rgb(var(--black-color));
    background: transparent;
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--primary-dark-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--white-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--primary-color));
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

@media only screen and (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
    background: rgb(var(--primary-color));
}

.bg-primary-light {
    background: rgb(var(--primary-light-color));
}

.bg-primary-dark {
    background: rgb(var(--primary-dark-color));
}

.bg-white {
    background: rgb(var(--white-color));
}

/* Overlays */
.overlay-primary-dark:not(.section-wrapper),
.overlay-primary-dark .section-block {
    background: rgba(var(--primary-dark-color), .8);
}

.overlay-primary:not(.section-wrapper),
.overlay-primary .section-block {
    background: rgba(var(--primary-color), .8);
}

.overlay-black:not(.section-wrapper),
.overlay-black .section-block {
    background: rgba(var(--black-color), .2);
}

/* Brodtext */
.text-primary {
    color: rgb(var(--primary-color));
}

.text-white {
    color: rgb(var(--white-color));
}

.text-red {
    color: rgb(var(--accent-red-color));
}

/* Grafiska element
========================================================================== */
/* Boxshadow */
.box-shadow {
    box-shadow: 0 0 2rem rgba(var(--black-color), .1);
}

/* Borders */
.border-top-5-primary {
    border-top: 5px solid rgb(var(--primary-color));
}

/* Text till vanster, ikon till hoger */
.text-icon {
    display: flex;
    padding-bottom: 3rem;
}

.text-icon .section-title {
    padding: 0 1rem 0 0;
}

.text-icon img {
    width: 16%;
    padding-left: 1rem;
}

/* Badge */
.badge-wrapper {
    position: relative;
}

.badge {
    position: absolute;
    top: 2.5rem;
    left: 0;
    padding: .2rem 1.2rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-radius: 0 .5rem .5rem 0;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-dark-color));
}

/* 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;
}

/* Parallaxbilder */
.parallax-heart {
    background-image: url('/assets/images/tandvard-hjarta-1500px.jpg');
}

.parallax-tooth {
    background-image: url('/assets/images/tand-tandborste-2000px.jpg');
}

.parallax-invisalign {
    background-image: url('/assets/images/behandlingar/invisalign-2000px.jpg');
}

.parallax-clinic {
    background-image: url('/assets/images/novodental-reception-1600px.jpg');
}

.parallax-dentist {
    background-image: url('/assets/images/tandlakare-kvinna-2000px.jpg');
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* 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-iframe {
    width: 50%;
}

/* Split m. iframe */
.split-iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

/* Bredder */
.split-wrapper .w-40 {
    width: 40%;
}

.split-wrapper .w-60 {
    width: 60%;
}

@media screen and (max-width: 1100px) {

    .split-content,
    .split-wrapper .w-40,
    .split-wrapper .w-60 {
        width: 100%;
    }

    .split-image,
    .split-iframe {
        width: 100%;
        min-height: 30rem;
    }
}

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }

    .split-content {
        padding: 0 0 3rem 0;
    }
}


/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

/* 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;
}

/* Links */
a.card-item:hover {
    text-decoration: none;
}

/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}

@media only screen and (max-width: 1100px) {

    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 750px) {

    .cards-wrapper.w-25 .card-item,
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }

    /* Paddings */
    .p-3 {
        padding: 2rem;
    }
}

/* 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: 5rem;
}

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
}

.card-2-5 i {
    font-size: 2rem;
}

.card-2-5 .card-body {
    padding: 0 2rem;
}

/* Card 3-1 */
.card-3-1 .card-item {
    border-radius: 5px;
    overflow: hidden;
    transition: .3s ease;
}

.card-3-1 a.card-item:hover {
    box-shadow: 0 0 2rem rgba(var(--black-color), .2);
}

.card-3-1 .image-wrapper {
    height: 25rem;
}

.card-3-1 .card-body {
    padding: 2rem;
}

.card-3-1 .small-title {
    font-size: 2rem;
    color: rgb(var(--black-color));
}

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    padding: 20rem 2rem 2rem;
}

.card-3-6 .image-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-6 img {
    transition: .3s ease;
}

.card-3-6 .card-item:hover img {
    transform: scale(1.05);
    transition: .3s ease;
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
}

/* 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(var(--black-color), .3);
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    color: rgb(var(--white-color));
    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: 45rem;
    max-height: calc(100vh - 12rem);
    padding: 4rem;
    margin: 0 2rem;
    background: rgb(var(--primary-dark-color));
    border-radius: 2rem;
    box-shadow: 0 0 3rem rgba(var(--black-color), .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;
    color: rgb(var(--white-color));
    cursor: pointer;
}

.popup-window .text-label,
.popup-window .small-title,
.popup-window p {
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 450px) {
    .popup-window {
        padding: 2rem 3rem 2rem 2rem;
    }

    .icon-close-popup {
        top: 1rem;
    }
}

/* Cookies 
========================================================================== */
.cookies-notis {
    display: none;
}

.cookies-notis {
    display: none;
    z-index: 9;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    width: 95%;
    max-width: 55rem;
    max-height: calc(100vh - 10rem);
    padding: 2.5rem;
    background: rgb(var(--gray-dark-color));
    transform: translateX(-50%);
    overflow: auto;
}

.cookies-notis .small-title {
    font-size: 2rem;
}

.cookies-notis p,
.cookies-notis a {
    color: rgb(var(--white-color));
}

.cookies-notis a {
    text-decoration: underline;
}

.notis-line {
    text-decoration: underline !important;
}

.cookies-notis a:hover {
    color: rgb(var(--primary-color));
    text-decoration: underline;
}

.cookies-notis #close-cookies {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgb(var(--white-color));
    cursor: pointer;
}

@media only screen and (max-width:620px) {

    .cookies-notis p,
    .cookies-notis a {
        max-width: 35rem;
        margin: 0;
    }

    .cookies-notis .btn {
        display: block;
        width: 100%;
        margin: .5rem 0;
    }
}

/* Header / Navigation
========================================================================== */
header .container {
    max-width: none;
}

/* Logo */
.header-logo {
    max-width: 25rem;
    padding: 2rem 0;
    margin: 0 auto 0 0;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgb(var(--black-color));
    font-family: 'Ubuntu', sans-serif;
}

.TemplateMenu>li>a:hover {
    color: rgb(var(--primary-color));
}

/* Dropdown */
.TemplateMenu ul {
    width: 33rem;
    padding: .5rem;
    background: rgb(var(--primary-dark-color));
}

.TemplateMenu ul a {
    padding: .5rem;
    color: rgb(var(--white-color));
    line-height: 1.6;
}

.TemplateMenu ul a:hover {
    color: rgb(var(--white-color));
    text-decoration: none;
    background: rgb(var(--primary-color));
}

/* Tredje nivan */
.TemplateMenu>li>ul>li>ul {
    right: -32rem;
}

/* Fjarde */
.TemplateMenu>li>ul>li>ul>li ul {
    right: -20rem;
}

.TemplateMenu>li>ul>li>ul>li:hover ul {
    display: block;
}

/* Ikoner till behandlingar-sidorna */
.TemplateMenu ul a:before {
    display: inline-block;
    width: 2rem;
    height: 1rem;
    margin: -2rem 1.5rem 0 0;
    vertical-align: middle;
}

.TemplateMenu a[href$="/17/19/akut-tandvard/"]:before {
    content: url("/assets/images/ikoner/akut-tandvard.svg");
}

.TemplateMenu a[href$="/17/28/undersokning/"]:before {
    content: url("/assets/images/ikoner/undersokning-2.svg");
}

.TemplateMenu a[href$="/17/29/forebyggande-tandvard/"]:before {
    content: url("/assets/images/ikoner/forebyggande-tandvard.svg");
}

.TemplateMenu a[href$="/17/30/fyllningar/"]:before {
    content: url("/assets/images/ikoner/fyllningar.svg");
}

.TemplateMenu a[href$="/17/31/tandimplantat/"]:before {
    content: url("/assets/images/ikoner/implantat-2.svg");
}

.TemplateMenu a[href$="/17/32/invisalign-osynlig-tandstallning/"]:before {
    content: url("/assets/images/ikoner/invisalign.svg");
}

.TemplateMenu a[href$="/17/33/bett-och-snarkskenor/"]:before {
    content: url("/assets/images/ikoner/undersokning.svg");
}

.TemplateMenu a[href$="/17/34/kronor-och-broar/"]:before {
    content: url("/assets/images/ikoner/kronor.svg");
}

.TemplateMenu a[href$="/17/35/skalfasader/"]:before {
    content: url("/assets/images/ikoner/estetisk-tandvard.svg");
}

.TemplateMenu a[href$="/17/36/parodontit-tandsten-och-tandlossning/"]:before {
    content: url("/assets/images/ikoner/paradontit.svg");
}

.TemplateMenu a[href$="/17/37/rotfyllning/"]:before {
    content: url("/assets/images/ikoner/rotfyllning.svg");
}

.TemplateMenu a[href$="/17/38/tandblekning/"]:before {
    content: url("/assets/images/ikoner/tandblekning.svg");
}

.TemplateMenu a[href$="/17/39/tandkirurgi/"]:before {
    content: url("/assets/images/ikoner/tandkirurgi-1.svg");
}

.TemplateMenu a[href$="/17/40/tandvardsradsla/"]:before {
    content: url("/assets/images/ikoner/tandvardsradsla.svg");
}

.TemplateMenu a[href$="/17/50/tips-rad/"]:before {
    content: url("/assets/images/ikoner/fyllningar.svg");
}

/* CTA  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 1rem;
    list-style: none;
}

.header-cta-wrapper li {
    margin: 0 .5rem;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
    white-space: nowrap;
}

/* Mobilmeny */
.mobile-menu .TemplateMenu a {
    color: rgb(var(--white-color));
}

/* Dropdown */
.mobile-menu .TemplateMenu ul {
    width: 100%;
    background: transparent;
}

.mobile-menu .TemplateMenu ul a {
    color: rgb(var(--white-color));
}

.mobile-menu .TemplateMenu ul a:hover {
    color: rgb(var(--white-color));
    background: transparent;
}

@media only screen and (max-width: 580px) {
    .header-logo {
        max-width: 8rem;
    }

    .header-cta-wrapper .btn {
        min-width: unset;
        padding: 0.7rem 1.5rem;
        font-size: 1.3rem;
    }
}

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 82vh;
}

.top-section .section-block-wrapper {
    width: 100%;
}

.top-section .text-block {
    max-width: 55rem;
}

.top-section .section-title {
    font-size: 5rem;
    font-weight: 500;
}

@media only screen and (max-width: 580px) {
    .top-section .section-title {
        font-size: 3.5rem;
    }
}

/* Badge
========================================================================== */
.section-badge .badge-item {
    position: relative;
    display: block;
    max-width: 35rem;
    border-radius: 2rem;
    margin: -20rem 0 0 auto;
}

.section-badge .badge-item:hover {
    text-decoration: none;
}

.section-badge .badge-item .small-title {
    font-size: 1.9rem;
}

.section-badge .badge-item p {
    font-size: 1.5rem;
}

@media only screen and (max-width: 1024px) {
    .section-badge .badge-item {
        margin: 2rem auto;
        ;
    }
}

/* Hitta hit 
========================================================================== */
.section-findus .split-content {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

@media only screen and (max-width: 580px) {
    .section-findus .split-content {
        padding: 3rem 2rem;
        background: rgb(var(--primary-dark-color));
    }
}

/* CTA
========================================================================== */
.section-cta .section-block-wrapper {
    max-width: 55rem;
    margin: 0 0 0 auto;
}

@media only screen and (max-width: 1100px) {
    .section-cta .section-block {
        background-color: rgba(var(--primary-dark-color), .8);
    }

    .section-cta .section-block-wrapper {
        margin: 0 auto;
        text-align: center;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 50vh;
    background: rgba(var(--primary-dark-color), .8);
}

.hero .section-block-wrapper {
    width: 100%;
}

.hero .section-title,
.hero p,
.hero i {
    color: rgb(var(--white-color));
}

.hero .card-2-5 p {
    font-size: 1.5rem;
}

/* Hero
========================================================================== */
.hero-text .section-block {
    min-height: 35rem;
}

/* ==========================================================================
Formular for undersidor
========================================================================== */
.section-cta-form .col-0{
    max-width: 70rem;
    margin: auto;
}

.section-cta-form .ContactForm p{
     color: rgb(var(--white-color));
}

/* ==========================================================================
Undersida: Behandlingar > Behandlingsundersidor
========================================================================== */

/* Karta
========================================================================== */
.section-map {
    font-size: 0;
}

.section-map iframe {
    width: 100%;
    height: 50rem;
    border: none;
}

/* ==========================================================================
Undersida: Priser
========================================================================== */
.table {
    width: 100%;
    max-width: 110rem;
    margin: 5rem auto 0;
}

.row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

.row:not(.table-heading):hover {
    background: rgb(var(--gray-light-color));
}

.row .cell:nth-child(1) {
    flex-shrink: 0;
    width: 15rem;
    padding: 1rem;
}

.row .cell:nth-child(2) {
    flex-grow: 1;
    padding: 1rem;
}

.row .cell:nth-child(3) {
    flex-shrink: 0;
    width: 20rem;
    padding: 1rem;
}

.cell p {
    padding-bottom: 0;
    font-size: 1.5rem;
}

@media only screen and (max-width: 750px) {
    .table-heading {
        display: none;
    }

    .row {
        flex-direction: column;
    }

    .row:nth-child(even) {
        background: rgb(var(--gray-light-color));
    }

    .row .cell:nth-child(1),
    .row .cell:nth-child(2),
    .row .cell:nth-child(3) {
        width: 100%;
        padding: 1rem;
    }

    .cell:before {
        content: attr(data-title);
        display: block;
        font-size: 1.3rem;
        color: #666;
        text-transform: uppercase;
        margin-bottom: 13px;
    }
}

/* ==========================================================================
Undersida: Tips & rad
========================================================================== */

/* Sok + filtrering
========================================================================== */
/* Sok */
.search-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

.search-wrapper em {
    position: absolute;
    left: 2rem;
    top: 50%;
    font-size: 2rem;
    transform: translateY(-50%);
}

.search-wrapper input {
    width: 20rem;
    max-width: 60rem;
    height: 4rem;
    padding: 0 2rem 0 5rem;
    margin: 0 .6rem;
    border: none;
    border-radius: 5rem;
    box-shadow: 1px 1px 5px rgb(var(--black-color), .2);
    transition: .5s ease;
}

.search-wrapper input:focus {
    width: calc(100% - 1.2rem);
    outline: unset;
}

.card-item.hidden-search-item {
    display: none;
}

/* Taggar */
.tags-heading {
    display: none;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    padding: .3rem 1.5rem;
    margin: .6rem .5rem;
    font-size: 1.5rem;
    box-shadow: 1px 1px 5px rgb(var(--black-color), .1);
    border-radius: 2rem;
    cursor: pointer;
    transition: .5s ease;
}

.tag:hover,
.tag.tag-picked {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

@media only screen and (max-width:580px) {

    /* Sok */
    .search-wrapper input {
        width: 100%;
    }

    /* Taggar */
    .tags-wrapper {
        position: relative;
        max-width: 25rem;
        background: rgb(var(--primary-color));
        cursor: pointer;
    }

    .tags-heading {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
    }

    .tags-heading p {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        color: rgb(var(--white-color));
    }

    .tags-heading i {
        margin-left: 2rem;
    }

    .tags-list {
        display: none;
        z-index: 1;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        text-align: left;
        background: rgb(var(--white-color));
        box-shadow: 1px 1px 10px rgba(var(--black-color), .1);
    }

    .tags-wrapper.opened .tags-list {
        display: block;
    }

    .tags-wrapper .tag {
        display: block;
        padding: 1rem 2rem;
        margin: 0;
        letter-spacing: normal;
        text-transform: initial;
        box-shadow: none;
        border-radius: 0;
    }
}

/* ==========================================================================
Undersida: Tips & rad > Undersida
========================================================================== */

/* Accordion
========================================================================== */

.accordion-item {
    padding-bottom: 2rem;
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 0 2rem 1rem;
    border-bottom: 1px solid rgb(var(--primary-color));
    cursor: pointer;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 1.7rem;
    font-family: "Font Awesome 5 Pro";
    transition: .5s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-header p {
    padding-right: 2.5rem;
    font-weight: 600;
}

.accordion-header h2 {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: black;
}

.accordion-body {
    padding: 2rem;
}

@media only screen and (max-width: 580px) {
    .accordion-header {
        padding: 0 .5rem 1rem;
    }

    .accordion-header::after {
        right: 1rem;
    }

    .accordion-body {
        padding: 2rem 1rem;
    }
}

/* ==========================================================================
Undersida kontakt
========================================================================== */
.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="number"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm select:not(.illegal),
.ContactForm textarea:not(.illegal) {
    border-radius: 0.5rem;
}

/* ==========================================================================
Footer
========================================================================== */
/* Footer top */

.footer-container{
    max-width: 100%;
}
.footer-top {
    background: rgb(var(--primary-color));
}

.footer-top-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem 2rem;
    max-width: 160rem;
    margin: 0 auto;
}

.footer-menu {
    width: 20%;
    margin: 1.5rem 0;
}

.footer .small-title {
    font-size: 2rem;
    color: rgb(var(--white-color));
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer li,
.footer p,
.footer a:not(.circle-icon) {
    color: rgb(var(--white-color));
}

.footer-logo {
    width: 100%;
    max-width: 30rem;
    margin-bottom: 2rem;
}

/* Footer bottom */
.footer-bottom {
    background: rgb(var(--primary-dark-color));
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 160rem;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.footer-bottom p,
.footer-bottom a:not(.circle-icon) {
    display: inline-block;
    padding: .5rem .2rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

.footer .circle-icon {
    width: 3rem;
    height: 3rem;
}

.footer em::before {
    font-size: 1.4rem;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    filter: invert();
}

@media only screen and (max-width: 1024px) {

    /* Footer top */
    .footer-top-inner {
        padding: 5rem 2rem 3rem;
    }

    .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: 450px) {

    /* Footer top */
    .footer-top-inner {
        padding: 5rem 2rem 3rem;
    }
}