/* Varmdo Musteri AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 0, 72, 55;
    --secondary-color: 170, 52, 58;

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

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 100000;
    --mobile-menu-height: 9rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);
}

@media only screen and (max-width: 580px) { 
    :root {
        --base-size: 1.5rem;
    }
}

/* Layout 
========================================================================== */
body { 
    background: rgb(var(--white-color));
} 

.section-block {
    padding: 10rem 5rem;
}

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

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

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

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

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

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

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

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

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Libre Baskerville', sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 600; 
}

.section-title {
    padding-bottom: .8em;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.small-title {
    padding-bottom: .4em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
}

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

/* 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-italic {
    font-style: italic;
}

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 2px;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

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

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

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--secondary-color));
    text-decoration: none;
}

.arrow-link::after {
    content: ' \f105';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

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

/* Pulse btn */
.snake-btn {
    position: relative;
    background: transparent;
}

.snake-btn::before,
.snake-btn::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 2px;
    border: 2px solid rgb(var(--white-color));
    transition: all 0.5s;
    -webkit-animation: clippath 5s infinite linear;
    animation: clippath 5s infinite linear;
}

.snake-btn::after {
    -webkit-animation: clippath 5s infinite -2.5s linear;
    animation: clippath 5s infinite -2.5s linear;
}

@-webkit-keyframes clippath {
    0%, 100% {
        -webkit-clip-path: inset(0 0 98% 0);
        clip-path: inset(0 0 98% 0);
    }
    25% {
        -webkit-clip-path: inset(0 98% 0 0);
        clip-path: inset(0 98% 0 0);
    }
    50% {
        -webkit-clip-path: inset(98% 0 0 0);
        clip-path: inset(98% 0 0 0);
    }
    75% {
        -webkit-clip-path: inset(0 0 0 98%);
        clip-path: inset(0 0 0 98%);
    }
}

@keyframes clippath {
    0%, 100% {
        -webkit-clip-path: inset(0 0 98% 0);
        clip-path: inset(0 0 98% 0);
    }

    25% {
        -webkit-clip-path: inset(0 98% 0 0);
        clip-path: inset(0 98% 0 0);
    }

    50% {
        -webkit-clip-path: inset(98% 0 0 0);
        clip-path: inset(98% 0 0 0);
    }

    75% {
        -webkit-clip-path: inset(0 0 0 98%);
        clip-path: inset(0 0 0 98%);
    }
}

@media only screen and (max-width: 380px) {
    .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-gray-light {
    background-color: rgb(var(--gray-light-color));
}

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

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

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

/* Grafiska element
========================================================================== */
/* Borders */
.border-bottom-dotted-primary {
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px dotted rgb(var(--primary-color));
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    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;
}

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

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

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

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

/* Specifika bredder */
.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%;
    margin: 1rem 0;
}

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

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

@media only screen and (max-width: 480px) {
    /* Paddings */
    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem;
    }
}

/* Card 1-1 */
.card-1-1 .card-item {
    border-radius: 5px;
}

.card-1-1 .small-title {
    font-size: 2rem;
    font-weight: 600;
}

.card-1-1 i {
    margin-right: 1rem;
}

.card-1-1 p:not(.small-title) {
    font-size: 1.5rem;
}

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

.card-1-1 a.card-item:hover * {
    color: rgb(var(--white-color));
    border-color: rgb(var(--white-color));
}

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

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 5rem;
}

/* Card 3-1 */
.card-3-1 .card-item {
    border-radius: 2px;
    overflow: hidden;
}

.card-3-1 .image-wrapper {
    height: 25rem;
}

/* 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%;
    border-radius: 2px;
}

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

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

@media screen and (max-width: 1000px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

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

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

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

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

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

/* Top header */
/* .top-header {
    z-index: 1;
    position: relative;
    width: 100%;
    height: 4rem;
    margin: 0 auto;
    background: rgb(var(--primary-color));
    overflow: hidden;
    transition: .3s ease;
}

.top-header ul {
    display: flex; 
    justify-content: flex-end;
    max-width: var(--section-width);
    padding: .5rem 0;
    margin: 0 auto;
    list-style: none;
}

.top-header a {
    padding: 0 1rem;
    font-size: 1.4rem;
    text-decoration: none;
    color: rgb(var(--white-color));
    transition: .2s ease;
}

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

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

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.4rem;
    font-weight: 600;
}

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

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

.EditMode .header-cta-wrapper {
    display: none;
}

.header-cta-wrapper li {
    padding: 0;
}

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

/* Mobilmeny */
header.mobile-menu.active-menu::after {
    content: '';
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(var(--black-color), .5);
} 

.mobile-menu .container {
    padding: 0 1rem; 
}

.mobile-menu .mainmenu {
    width: auto;
    padding-left: 5rem;
    padding-right: 9rem;
    padding-bottom: 10rem;
}

.mobile-menu .TemplateMenu {
    max-width: var(--section-width);
    margin: 0 auto; 
}

.mobile-menu .header-logo img {
    padding: 5px 0;
} 

/* Andrar ordningen i menyraden */
.mobile-menu .hamburger {
    order: 1;
    flex: 1 1 0px;
}

.mobile-menu .header-logo {
    order: 2;
    margin: 0 0 0 1rem; 
}
 
.mobile-menu .header-cta-wrapper {
    order: 3;
    flex: 1 1 0px;
}
 
@media only screen and (max-width: 780px) { 
    /* Andrar ordningen i menyraden */
    .mobile-menu .hamburger {
        order: 3;
        flex: unset;
    }

    .mobile-menu .header-logo {
        order: 1;
        margin: 0 1rem 0 0;  
    }
    
    .mobile-menu .header-cta-wrapper {
        order: 2;
        flex: 1;
    }

    /* Menyn */
    .mobile-menu .mainmenu {
        width: 100%;
        padding-left: 0;
        padding-right: 2rem;
    }

    /* Dolj cta-knapp */
    .header-cta-wrapper li:nth-child(1) {
        display: none;
    }
}

@media only screen and (max-width: 580px) {
    .mobile-menu .header-logo {
        margin: 0;
    }

    .header-cta-wrapper .btn {
        padding: 1rem .5rem;
        margin: 0 0 0 4px;
        font-size: 1.2rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height)); /* - 4rem);*/
    background-color: rgb(var(--black-color), .5);
}

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

.top-section .section-title {
    font-size: 6rem;
    text-transform: uppercase;
    padding-top: .5em;
    padding-bottom: 1rem;
}

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

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

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

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

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

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

/* CTAs 
========================================================================== */
.section-ctas .section-block {
    padding-top: 0;
}

body:not(.EditMode) .section-ctas .cards-wrapper { 
    position: relative;
    margin-top: -8rem;
    border-radius: 1rem;
    padding: 1rem;
} 

@media only screen and (max-width: 1024px) {
    body:not(.EditMode) .section-ctas .cards-wrapper { 
        transform: translateY(-5rem);
    }
}

@media only screen and (max-width: 750px) {
    body:not(.EditMode) .section-ctas .cards-wrapper {
        padding-top: 0;
    }
}

/* CTA-sektion
========================================================================== */
.cta-wrapper {
    padding: 10rem 4rem 4rem;
    border-radius: 2px;
    background-image: linear-gradient(to right, rgb(var(--black-color), .5), rgb(var(--black-color), .3)), url('/assets/images/appeltrad-2000px.jpg');
    background-size: cover;
    background-position: center;
}

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

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

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 30rem;
    text-align: center;
    background-color: rgb(var(--black-color), .5);
}

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

.hero .section-title {
    font-size: 6rem;
    color: rgb(var(--white-color));
    padding-bottom: 0;
}

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

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

/* Accordion
========================================================================== */
.accordion-item {
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgb(var(--gray-light-color));
    transition: .3s ease;
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 2rem 4rem 2rem 2rem;
    text-decoration: none;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 2rem;
    right: 2rem; 
    font-size: 1.7rem;
    font-weight: 700;
    font-family: "Font Awesome 5 Pro";
    color: rgb(var(--primary-color));
    transition: .5s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 2rem 2rem;
}

.accordion-body p {
    font-size: 1.5rem;
}

@media only screen and (max-width: 580px) {
    .accordion-header {
        padding: 1.5rem 3rem 1.5rem 1.5rem;
    }

    .accordion-header::after {
        right: .8rem;
    }

    .accordion-body {
        padding: 0 1.5rem 1.5rem;
    }
}

/* ==========================================================================
Undersida: Musta egen frukt > Appelsorter, mognad & sotma
========================================================================== */
table {
    width: 100%;
    border: 1px solid rgb(var(--gray-light-color));
    border-collapse: separate;
    border-spacing: 0;
}

table.w-33 th,
table.w-33 td {
    width: 33.333%;
    padding: 6px 1rem;
    font-size: 1.4rem; 
    text-align: left;
} 

thead tr,
tbody tr:nth-child(even) {
    background-color: rgb(var(--gray-light-color));
}

tr th:nth-child(3),
tr td:nth-child(3) {
    text-align: center;
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
    padding: 5rem;
    background: rgb(var(--gray-light-color));
}

.section-contact .col-1 {
    max-width: 50rem;
}

.section-contact .ContactForm {
    margin-top: 2rem;
}

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

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

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

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

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

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

.footer-menu {
    width: 20%;
}

.footer-menu-large {
    width: 40%;
    padding-right: 5rem;
}

.footer .text-label {
    padding: 0 0 1rem;
    line-height: 1;
    color: rgb(var(--primary-color));
}

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

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

.footer-top a {
    transition: .2s ease;
}

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

.footer-top em {
    width: 2rem;
    margin-right: 5px;
    font-size: 1.4rem;
    text-align: center;
}

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

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

.social-menu a {
    font-size: 1.4rem;
    color: rgb(var(--black-color));
    padding: 5px 10px;
    border-radius: 2rem;
    line-height: 1;
    text-decoration: none;
    transition: all .3s ease;
}

.social-menu a:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color));
    transition: all .3s ease;
}

/* 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(--black-color), .5);
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    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: 48%;
        margin: 0 0 5rem;
    }

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

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

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

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

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

    /* Footer top */
    .footer-menu {
        margin: 0 0 3rem;
    }

    /* Social Menu */
    .social-menu {
        justify-content: center;
    }

    .social-menu li {
        margin: 1rem 5px;
    }

    .social-menu a {
        font-size: 1.2rem;
    }

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

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

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