/* Evioline */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 217, 213, 209;

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

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7.5rem;
    --menu-height-scrolled: 7.5rem;
    --section-width: 140rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--primary-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-2 .section-block,
.p-2:not(.section-wrapper) {
    padding: 2rem;
}

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

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

/* 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;
    color: rgb(var(--gray-dark-color));
}

.section-title {
    padding-bottom: .3em;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    font-family: "Cormorant Garamond", serif;
    color: rgb(var(--black-color));
}

.small-title {
    padding-bottom: .2em;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.4;
    font-family: "Cormorant Garamond", serif;
    color: rgb(var(--black-color));
}

.ingress {
    font-size: calc(var(--base-size) * 1.1);
    font-weight: 500;
}

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

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-pills li {
    display: flex;
    align-items: center;
    padding: .3rem 2rem;
    margin: .5rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 4rem;
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--white-color));
    background: rgb(var(--gray-light-color), .7);
}

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1rem 2rem;
    margin: 7px;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 2rem;
    text-align: center;
    text-decoration: none;
    font-family: "Cormorant Garamond", 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(--black-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
}

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

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

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    color: rgb(var(--gray-dark-color));
    font-family: "Cormorant Garamond", serif;
}

.arrow-link::after {
    content: ' \f061';
    display: inline-block;
    margin-left: 1rem;
    font-size: 1.3rem;
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--black-color));
    transition: transform .4s ease;
}

.arrow-link.text-white::after {
    color: rgb(var(--primary-color));
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}

/* Farger
========================================================================== */
/* Bakgrunder */
.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));
}

/* 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: 40rem;
    background-color: rgb(var(--black-color), .6)
}

.parallax-earth {
    background-image: url('/assets/images/earth-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;
}

.card-item {
    --base-size: 1.5rem;
    text-decoration: none;
}

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

@media only screen and (max-width: 1050px) {
    /* Bredder */
    .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;
    }

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

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 45vh;
}

.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;
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--gray-light-color), .9);
}

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

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

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

.split-image {
    width: 50%;
}

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

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

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

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

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

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

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

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

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

.header-logo a {
    font-size: 3.5rem;
    font-family: "Cormorant Garamond", serif;
    text-decoration: none;
}

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

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

/* Dolj sidor */
body:not(.EditMode) header:not(.mobile-menu) .TemplateMenu>li:nth-child(1),
body:not(.EditMode) header:not(.mobile-menu) .TemplateMenu > li > a[href$="/17/9/contact-us/"] {
    display: none;
}

/* Dropdown */
.TemplateMenu ul {
    background-color: rgb(var(--primary-color));
}

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

.header-cta-wrapper .btn:hover {
    color: rgb(var(--black-color));
    border-color: rgb(var(--black-color));
}

/* Mobilmeny */
.mobile-menu .TemplateMenu li {
    padding: 0 2rem;
    text-align: center;
}

@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: calc(100vh - var(--menu-height));
    background-color: rgb(var(--black-color), .5);
}

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

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

.top-section .section-title {
    position: relative;
    padding: 0;
    font-size: 8.2rem;
    font-weight: 600;
}

.top-section .section-title::before,
.top-section .section-title::after {
    content: '';
    position: absolute;
    top: calc(50% + 5px);
    left: 2rem;
    width: 20rem;
    border-bottom: 4px double rgb(var(--white-color));
    transform: translateY(-50%);
}

.top-section .section-title::after {
    left: unset;
    right: 2rem;
}

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

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

@media only screen and (max-width: 1100px) {
    .top-section .text-block-center {
        max-width: 65rem;
    }

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

    .top-section .section-title::before,
    .top-section .section-title::after {
        width: 15rem;
    }

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

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

    .top-section .section-title::before,
    .top-section .section-title::after {
        display: none;
    }

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background-color: rgb(var(--black-color), .3);
}

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

.hero .section-title {
    position: relative;
    padding: 0;
    font-size: 6rem;
    font-weight: 600;
}

.hero .section-title::before,
.hero .section-title::after {
    content: '';
    position: absolute;
    top: -3rem;
    left: 0;
    width: 100%;
    border-top: 4px double rgb(var(--white-color), .5);
}

.hero .section-title::after {
    top: unset;
    bottom: -3rem;
}

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

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

/* CTA
========================================================================== */
.section-cta {
    background: linear-gradient(to bottom, rgb(var(--white-color)) 50%, rgb(var(--primary-color)) 50%);
}

.section-cta .section-block {
    padding-top: 0;
    padding-bottom: 0;
}

.cta-wrapper {
    padding: 7rem 2rem;
    background-color: rgb(var(--white-color));
    box-shadow: 0 0 4rem 0 rgba(var(--black-color), .07);
}

@media only screen and (max-width: 580px) {
    .cta-wrapper {
        padding: 3rem 2rem;
    }
}

/* Sektion med formular
========================================================================== */
.section-form .heading-wrapper {
    max-width: 80rem;
    padding: 3rem;
    margin: 0 auto;
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.section-form .heading-wrapper p {
    max-width: 57rem;
    margin: 0 auto;
}

.section-form .ContactForm {
    max-width: 80rem;
    padding: 5rem;
    margin: 0 auto;
    border: 1px solid rgb(var(--primary-color));
    border-top: 0;
    background-color: rgb(var(--gray-light-color));
}

.ContactForm p {
    font-size: 1.4rem;
    font-weight: 600;
}

.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 input[type="date"]:not(.illegal),
.ContactForm input[type="datetime-local"]:not(.illegal),
.ContactForm select:not(.illegal),
.ContactForm textarea:not(.illegal),
.ContactForm .file-dropzone:not(.illegal) {
    border-color: transparent;
}

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

.ContactSentMessage {
    max-width: 80rem;
    padding: 3rem 1rem 3rem 7rem;
    margin: 0 auto;
    border: 1px solid rgb(var(--primary-color));
    border-top: 0;
    border-radius: none;
}

.ContactSentMessage p:nth-child(2) {
    display: none;
}

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

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

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

.footer-menu {
    width: 20%;
    margin: 0 0 3rem;
}

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

.footer .text-label {
    padding: 0 0 1rem;
    line-height: 1;
}

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

.footer-top li,
.footer-top p {
    font-size: 1.4rem;
}

.footer-top a {
    font-size: 1.5rem;
    text-decoration: none;
}

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

/* Documents Menu */
.documents-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.documents-menu li {
    margin: 1rem 1rem 1rem 0;
}

.document-links {
    padding: 5px 10px;
    font-size: 1.3rem;
    line-height: 1;
    border-radius: 2rem;
    text-decoration: none;
    color: rgb(var(--black-color));
    background-color: rgb(var(--white-color));
    transition: all .3s ease;
}

.document-links:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-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(--white-color));
}

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

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

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

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

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

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

    .footer-menu-large p {
        max-width: 55rem;
    }
}

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

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

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

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

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

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