/* Hedera Assistans */

/* Fonts */
@font-face {
    font-family: 'segoeuithis-bold';
    font-display: swap;
    src: url('/assets/fonts/segoeuithis-bold.ttf');
}

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 242, 144, 80;
    --primary-light-color: 254, 246, 241;

    --accent-green-color: 143, 173, 21;
    --accent-green-light-color: 245, 247, 234;

    --black-color: 17, 17, 17;
    --gray-dark-color: 77, 77, 77;
    --gray-color: 211, 211, 211;
    --gray-light-color: 243, 243, 243;
    --white-color: 255, 255, 255;

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 980;
    --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;
}

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

.pt-2 .section-block,
.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;
}

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

/* Bredder */
.mw-600{
    max-width: 60rem;
}

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

@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 */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgb(var(--primary-color));
    font-family: 'segoeuithis-bold', 'Open Sans', sans-serif;
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgb(var(--black-color));
    font-family: 'segoeuithis-bold', 'Open Sans', sans-serif;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'segoeuithis-bold', 'Open Sans', sans-serif;
}

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

/* List-check */
.list-arrow {
    padding: 0;
    list-style: none;
}

.list-arrow li::before {
    content: '\f061';
    padding: 0 1rem 0 0;
    color: rgb(var(--accent-green-color));
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Font Awesome 5 Pro';
}

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

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

.text-bold {
    font-family: 'segoeuithis-bold', 'Open Sans', sans-serif;
}

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

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

    .text-label {
        font-size: 1.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: 2rem;
    text-align: center;
    text-decoration: none;
    font-family: 'segoeuithis-bold', 'Open Sans', sans-serif;
    transition: all .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--black-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;
}

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

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

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    text-decoration: none;
    font-family: 'segoeuithis-bold', 'Open Sans', sans-serif;
}

.arrow-link::after {
    content: ' \f105';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--primary-color));
    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(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--accent-green-color));
    transition: .3s ease;
}

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

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

@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-primary {
    background-color: rgb(var(--primary-color));
}

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

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

/* Gradient */
.gradient-primary-light-white {
    background-image: linear-gradient(180deg, rgb(var(--primary-light-color)) 70%, rgb(var(--white-color)) 100%);
}

/* Border farger */
.border-primary-light,
.cards-wrapper .card-item.border-primary-light {
    border-color: rgb(var(--primary-light-color));
}

.border-white,
.cards-wrapper .card-item.border-white {
    border-color: rgb(var(--white-color));
}

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

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

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

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

.br-2{
    border-radius: 2rem;
}

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

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

/* Posters */
.glatt-barn-poster {
    background: url('/assets/images/posters/glatt-barn-poster.jpg') no-repeat center center;
    background-size: cover;
}

@media only screen and (max-width: 980px) {
    .glatt-barn-poster {
        background: url('/assets/images/posters/glatt-barn-poster-mobil.jpg') no-repeat center center;
    }
}

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

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

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

.card-item {
    border-radius: 2rem;
}

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

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

/* 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% !important;
    margin: 5px 0;
}

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

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

    .cards-wrapper.w-20 .card-item,
    .cards-wrapper.w-25 .card-item,
    .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-20 .card-item,
    .cards-wrapper.w-25 .card-item,
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Card 1-1 */
.card-1-1 a.card-item.bg-green-light:hover {
    background-color: rgb(var(--primary-light-color));
}

.card-1-1 a.card-item.bg-primary-light:hover {
    background-color: rgb(var(--accent-green-light-color));
}

/* Card 2-2 */
.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 1.5rem;
}

.card-2-2 .card-header i {
    font-size: 3rem;
}

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
}

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
}

.card-2-4 .card-header i {
    font-size: 3rem;
}

.card-2-4 .card-body {
    flex: 1 1 0px;
    padding: 0 2rem;
}

.card-2-4 .text-small {
    font-size: 1.4rem;
}

/* Card 3-1 */
.card-3-1 .card-item {
    padding: 2rem;
}

.card-3-1 .image-wrapper {
    height: 45rem;
    border-radius: 1.5rem 1.5rem 0 0;
}

.card-3-1 .card-body {
    padding: 2rem .5rem;
}

.contact-info a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: .3s ease;
}

.contact-info a:hover {
    color: rgb(var(--primary-color));
}

.contact-info a em,
.contact-info a i {
    margin-right: 7px;
}

.card-3-1 .card-footer {
    padding: 0 .5rem;
}

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

    .card-3-1 .card-item,
    .card-3-1 .card-body,
    .card-3-1 .card-footer {
        padding: 1rem;
    }
}

/* Card 3-2 */
.cards-wrapper.card-3-2 .card-item {
    margin-top: 6rem;
    border-radius: 1rem;
}

.card-3-2 .image-wrapper {
    display: inline-block;
    max-width: 15rem;
    height: 15rem;
    padding: 2rem;
    margin-top: -4rem;
    margin-left: 3rem;
    border-radius: 50%;
    border: 1px solid rgb(var(--primary-color));
    background: rgb(var(--white-color));
}

/* Card 3-4 */
.card-3-4 .card-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    border-radius: 2rem;
    border: 1px solid;
}

.card-3-4 a.card-item:hover {
    background-color: transparent;
}

.card-3-4 .image-wrapper {
    max-width: 7rem;
    height: 100%;
    border-radius: 1.5rem;
}

.card-3-4 .card-body {
    flex: 1 1 0px;
    padding-left: 2rem;
}

.card-3-4 .text-bold {
    line-height: 1.5;
}

.card-3-4 .date {
    font-size: 1.4rem;
}

.card-3-4 .contact-item i,
.card-3-4 .date i {
    margin-right: 5px;
}
.card-3-4 .js-more-text{
    width: 100%;
}
/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    padding: 20rem 2rem 2rem;
}

.card-3-6 .image-wrapper {
    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.03);
    transition: .3s ease;
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
    border-radius: 2.5rem;
}

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

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

.split-image,
.split-video {
    width: 50%;
    border-radius: 2rem;
    overflow: hidden;
}

.split-video video,
.split-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* Split med lov */
.split-wrapper.leaf::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: url(/assets/images/graphics/leafs-green.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 100% 0;
}

.split-wrapper.leaf-small::after {
    height: 30%;
}

.split-wrapper.leaf .split-content {
    z-index: 1;
    position: relative;
}

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

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
    }

    .split-content {
        width: 100%;
        padding: 2rem;
    }

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

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

@media screen and (max-width: 580px) {
    .split-wrapper {
        padding: 1.5rem;
    }

    .split-content {
        width: 100%;
        padding: 2rem 1rem;
    }

    .split-image,
    .split-video {
        border-radius: 1.5rem;
    }
}

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

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

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

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

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

/* Innehall */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 2rem;
    bottom: 4rem;
    width: 300px;
    max-width: calc(100% - 2rem);
    max-height: calc(100vh - 12rem);
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 1rem 1rem 0 1rem;
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    transition: opacity .3s ease, bottom .3s ease;
}

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

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 2rem;
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

.popup-header .text-title {
    padding: 0;
    line-height: 1;
}

.icon-close-popup {
    appearance: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
}

.icon-close-popup:hover {
    background-color: rgb(var(--gray-light-color));
}

.popup-content {
    padding: 1rem 2rem 3rem;
    max-height: 30rem;
    overflow: auto;
}

.popup-content p {
    line-height: 1.5;
}

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

/* Top header */
.top-header {
    z-index: 1;
    position: relative;
    width: 100%;
    max-width: var(--section-width);
    height: 4rem;
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
    transition: .3s ease;
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
}

.top-header a {
    padding: 0 1rem;
    font-size: 1.4rem;
    text-decoration: none;
    transition: .2s ease;
}

.top-header a:hover {
    color: rgb(var(--primary-color));
}

.top-header i {
    margin-right: 5px;
} 

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

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

/* Dropdown */
header:not(.mobile-menu) .TemplateMenu ul {
    width: 22rem;
}

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

/* Mobilmeny */
.mobile-menu .header-logo {
    margin-top: 0;
}

.mobile-menu .header-cta-wrapper {
    flex: none;
}

/* EditMode */
.EditMode.WebbEssDIY header {
    position: relative;
    top: 14px !important;
}

.EditMode .TemplateMenu>li>ul>li>ul {
    right: -24rem;
    width: 24rem;
}

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

    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    background: linear-gradient(46deg, rgb(var(--black-color), .6), rgb(var(--black-color), .2));
}

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

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

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

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

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

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

/* Nyheter
========================================================================== */
.section-case-news .section-block-wrapper {
    align-items: flex-start;
}

.section-case-news .col-0 {
    width: calc(100% - 50rem);
}

.section-case-news .col-1 {
    width: 50rem;
    padding: 2rem;
    border-radius: 2rem;
    background: rgb(var(--primary-light-color));
}

/* Vanster spalten */
.section-case-news .card-3-6 .card-item {
    padding: 30rem 0 10rem;
    margin: 0;
    border-radius: 2rem;
    overflow: hidden;
}

.section-case-news .card-3-6 .card-body {
    display: inline-block;
    min-width: 45%;
}

@media only screen and (max-width: 1200px) {
    .section-case-news .col-0 {
        width: 100%;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .section-case-news .col-1 {
        width: 100%;
    }
}

/* Kalendarium (3 st)
========================================================================== */
.section-calendar .section-block-wrapper {
    justify-content: space-between;
}

.section-calendar .col-1,
.section-calendar .col-2,
.section-calendar .col-3 {
    width: calc(100% / 3 - 1.5rem);
    padding: 2rem;
    border-radius: 2rem;
    background: rgb(var(--white-color));
}

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

    .section-calendar .col-1,
    .section-calendar .col-2,
    .section-calendar .col-3 {
        width: 100%;
        margin: 1rem 0;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    background-image: linear-gradient(180deg, rgb(var(--primary-light-color)) 70%, rgb(var(--white-color)) 100%);
}

.hero .logos {
    display: flex;
    justify-content: center;
}

.hero .logo {
    height: 3rem;
    margin: 1rem;
}

/* ==========================================================================
Undersida: Bli kund
========================================================================== */
.section-form .section-block-wrapper {
    padding: 5rem;
    max-width: 90rem;
    border-radius: 2rem;
    background: rgb(var(--accent-green-light-color));
}

.section-form .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-form .ContactForm>div {
    width: 49%;
}

.section-form .ContactForm div.textarea-field,
.section-form .ContactForm div.submit-button-container {
    width: 100%;
}

.ContactForm input[type="text"],
.ContactForm input[type="number"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm input[type="date"],
.ContactForm input[type="datetime-local"],
.ContactForm select,
.ContactForm option,
.ContactForm textarea {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 2rem;
}

.ContactForm select {
    height: 4.6rem;
}

.ContactForm>div.submit-button-container {
    margin-bottom: 0;
}

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

    .section-form .ContactForm>div {
        width: 100%;
    }
}

/* ==========================================================================
Undersida: synpunkter & klagomal
========================================================================== */
.form-section .section-block-wrapper {
    padding: 5rem;
    max-width: 90rem;
    border-radius: 2rem;
    background: rgb(var(--accent-green-light-color));
}

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

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.contact-wrapper a {
    display: inline;
    text-decoration: none;
    transition: .3s ease;
}

.contact-wrapper a:hover {
    color: rgb(var(--primary-color));
}

/* ==========================================================================
Undersida: For assistenter (sub-ass)
========================================================================== */

/* Hero
========================================================================== */
.sub-ass .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background: linear-gradient(46deg, rgb(var(--black-color), .8), rgb(var(--black-color), .2));
}

.sub-ass .hero .section-title {
    font-size: 5rem;
}

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

/* Vardegrund
========================================================================== */
.section-sticky-right .section-block-wrapper {
    align-items: flex-start;
}

.section-sticky-right .col-2 {
    position: sticky;
    top: calc(var(--menu-height) + 6rem);
}

.section-sticky-right video {
    width: 100%;
    border-radius: 2rem;
    overflow: hidden;
}

/* ==========================================================================
Undersida: For assistenter (sub-ass) > Anstallningsinfo (sub-ass)
========================================================================== */
.section-sidebar .col-0 {
    width: 40rem;
    border-right: 2px solid rgb(var(--gray-light-color));
}

.section-sidebar .col-1 {
    width: calc(100% - 40rem);
    padding-left: 10rem;
}

/* Sidebar */
.tags-heading {
    display: none;
}

.section-sidebar .col-0 ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.section-sidebar .col-0 a {
    padding: 6px 0 6px 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: rgb(var(--black-color));
    border-left: 2px solid rgb(var(--accent-green-light-color));
    text-decoration: none;
    transition: .3s ease;
}

.section-sidebar .col-0 a:not(.active-page):hover {
    border-left: 2px solid rgb(var(--accent-green-color));
}

.section-sidebar .col-0 a.active-page {
    color: rgb(var(--primary-color));
    border-left: 2px solid rgb(var(--primary-color));
}

/* Content */
.section-sidebar .col-1 .block-object {
    max-width: 80rem;
}

@media only screen and (max-width: 1500px) {
    .section-sidebar .col-0 {
        width: 30rem;
    }

    .section-sidebar .col-1 {
        width: calc(100% - 30rem);
        padding-left: 5rem;
    }
}

@media only screen and (max-width: 900px) {
    .section-sidebar .col-0 {
        width: 100%;
        margin-bottom: 4rem;
        border-right: none;
    }

    .section-sidebar .col-1 {
        width: 100%;
        padding-left: 0;
    }

    /* Sidebar */
    .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%;
        height: 50rem;
        text-align: left;
        background: rgb(var(--white-color));
        box-shadow: 1px 1px 10px rgba(var(--black-color), .1);
        overflow: auto;
    }

    .tags-wrapper.opened .tags-list {
        display: block;
    }

    .section-sidebar .col-0 a {
        width: 100%;
        padding: 1rem 2rem;
        border: none;
    }

    .section-sidebar .col-0 a:not(.active-page):hover,
    .section-sidebar .col-0 a.active-page {
        border: none
    }
}

/* ==========================================================================
Undersida: For assistenter (sub-ass) > Svea / Gota / Norra (sub-ass)
========================================================================== */
.section-news .section-block-wrapper {
    align-items: flex-start;
}

.section-news .col-1 {
    width: calc(100% - 50rem);
}

.section-news .col-2 {
    position: sticky;
    top: calc(var(--menu-height) + 6rem);
    width: 50rem;
    padding: 2rem;
    margin-top: 1rem;
    border-radius: 2rem;
    background: rgb(var(--primary-light-color));
}

@media only screen and (max-width: 1250px) {
    .section-news .section-block-wrapper {
        flex-direction: column-reverse;
    }

    .section-news .col-1 {
        width: 100%;
    }

    .section-news .col-2 {
        position: static;
        width: 100%;
        margin: 0 0 3rem;
    }
}

/* ==========================================================================
Undersida: For assistenter (sub-ass) > Svea / Gota / Norra (sub-ass) > Nyhetsundersida (sub-ass)
========================================================================== */
.section-text-form .section-block-wrapper {
    justify-content: space-between;
}

.section-text-form .col-1 {
    width: calc(100% - 60rem);
    padding-right: 10rem;
}

.section-text-form .col-2 {
    width: 60rem;
    padding: 0;
    border-radius: 2rem;
    overflow: hidden;
}
.section-text-form .col-2 img {
max-width: 100%;
}


@media only screen and (max-width: 1400px) {
    .section-text-form .col-1 {
        width: 100%;
        padding-right: 0;
    }

    .section-text-form .col-2 {
        width: 100%;
        max-width: 85rem;
        margin: 3rem auto 0;
    }

    .section-text-form .col-1 .text-block {
        max-width: 85rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 6rem 5rem 0;
    border-top: 1px solid rgb(var(--gray-light-color));
}

/* Footer logo */
.footer-header {
    width: 100%;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 35rem;
}

.footer-logo p {
    margin-left: 6.3rem;
}

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

.footer-menu {
    width: calc(30% - 4rem);
}

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

.footer-menu.socials {
    width: 4rem;
}

.footer-menu.footer-menu-large .footer-submenu {
    column-count: 2;
}

.footer .small-title {
    padding: 0 0 1rem;
    font-size: var(--base-size);
    line-height: 1;
    color: rgb(var(--primary-color));
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    text-decoration: none;
}

.footer a:not(.circle-icon):hover {
    text-decoration: none;
    color: rgb(var(--accent-green-color));
}

/* 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.4rem;
    line-height: 1.6;
}

/* 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: 1100px) {
    .footer {
        padding: 8rem 3rem 0;
    }

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

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

    .footer-menu.socials .footer-submenu {
        display: flex;
    }
}

@media only screen and (max-width: 850px) {
    .footer {
        padding: 5rem 2rem 0;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 3rem;
    }

    /* Footer header */
    .footer-logo p {
        margin-left: 0;
    }

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

    .footer-menu.footer-menu-large .footer-submenu {
        column-count: 1;
    }

    .footer-menu.socials .footer-submenu {
        justify-content: center;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
    }

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