/* Inverde AB */

/* Typsnitt - Neue Haas Grotesk Text */
@font-face {
    font-family: Helvetica Neue Normal;
    src: url(/assets/fonts/HelveticaNeueLTStd-Roman.otf);
}

@font-face {
    font-family: Helvetica Neue Normal Italic;
    src: url(/assets/fonts/HelveticaNeueLTStd-It.otf);
}

@font-face {
    font-family: Helvetica Neue Medium;
    src: url(/assets/fonts/HelveticaNeueLTStd-Md.otf);
}

@font-face {
    font-family: Helvetica Neue Bold;
    src: url(/assets/fonts/HelveticaNeueLTStd-Bd.otf);
}

@font-face {
    font-family: Helvetica Neue Bold Italic;
    src: url(/assets/fonts/HelveticaNeueLTStd-BdIt.otf);
}

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 0, 66, 37;
    --primary-light-color: 88, 120, 105;

    --black-color: 4, 10, 6;
    --gray-color: 150, 150, 150;
    --gray-dark-color: 49, 49, 49;
    --gray-light-color: 216, 216, 216;
    --white-color: 255, 255, 255;

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

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

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

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

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

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

.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 */
.mt-2 {
    margin-top: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

/* Bredder */
.mw-800 .section-block-wrapper {
    max-width: 80rem;
}

@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: Helvetica Neue Normal, sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgb(var(--black-color));
}

.section-title {
    padding-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: rgb(var(--black-color));
    font-family: Helvetica Neue Normal, sans-serif;
}

.small-title {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgb(var(--black-color));
    font-family: Helvetica Neue Medium, sans-serif;
}

.text-title {
    color: rgb(var(--black-color));
    font-family: Helvetica Neue Bold, sans-serif;
}

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

.ingress {
    font-size: 1.8rem;
}

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

.text-block {
    max-width: 60rem;
}

.text-bold {
    font-family: Helvetica Neue Bold, sans-serif;
}

.text-italic {
    font-family: Helvetica Neue Normal Italic, sans-serif;
}

.text-bold.text-italic {
    font-family: Helvetica Neue Bold Italic;
}

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

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

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

@media only screen and (max-width: 580px) {
    .text-label {
        font-size: 1.2rem;
    }

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

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

    .ingress {
        font-size: 1.6rem;
    }
}

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

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

.btn-wrapper.space-between {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 18rem;
    padding: 1.4rem 2.5rem;
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    border-radius: .8rem;
    cursor: pointer;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.btn i {
    margin: 0 5px;
    font-size: 1.5rem;
}

.btn-primary-filled,
.btn-primary-light-filled:hover {
    color: rgb(var(--gray-light-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

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

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--gray-dark-color));
}

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

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

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

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

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

@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-1 */
.card-3-1 .card-item {
    padding: 1.5rem;
    border-radius: 5px;
    border: 1px solid rgb(var(--white-color));
    text-decoration: none;
    transition: .3s ease;
}

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

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

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

.card-3-1 .date {
    padding: 0;
    font-size: 1.4rem;
}

/* Card 3-4 */
.card-3-4 .card-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgb(var(--white-color));
    transition: .3s ease;
}

.card-3-4 .card-item:hover {
    background: rgb(var(--white-color));
}

.card-3-4 .image-wrapper,
.card-3-4 .icon-wrapper {
    width: 8rem;
    height: 8rem;
    margin-right: 3rem;
    border-radius: 3px;
}

.card-3-4 .icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(var(--primary-light-color));
}

.card-3-4 .icon-wrapper i {
    font-size: 3rem;
    color: rgb(var(--white-color));
}

.card-3-4 .card-body {
    flex: 1 1 0px;
    text-decoration: none;
}

.card-3-4 .date {
    padding: 0;
    font-size: 1.3rem;
}

@media only screen and (max-width: 580px) {
    .card-3-4 .card-item {
        flex-wrap: wrap;
    }

    .card-3-4 .image-wrapper,
    .card-3-4 .icon-wrapper {
        width: 7rem;
        height: 7rem;
        margin: 0 0 1rem;
    }

    .card-3-4 .icon-wrapper i {
        font-size: 2.5rem;
    }

    .card-3-4 .card-body {
        flex: unset;
        width: 100%;
    }
}

/* Header / Navigation
========================================================================== */
/* Header */
header {
    background-color: rgb(var(--primary-color));
}

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

.header-logo img {
    padding: 1.5rem 0;
}

/* nav */
.TemplateMenu a {
    position: relative;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgb(var(--gray-light-color));
}

.TemplateMenu>li>a::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 50%;
    left: calc(50% + 2rem);
    width: calc(100% - 1rem);
    height: 3.5rem;
    border-radius: .8rem;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

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

.TemplateMenu li.active>a::before,
.TemplateMenu>li>a:hover::before {
    background-color: rgb(var(--primary-light-color));
}

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

.TemplateMenu>li>ul>li.active {
    background-color: rgb(var(--primary-light-color));
}

/* Header cta  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 4rem;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: .8rem 1.6rem;
    line-height: 1;
    font-size: 1.6rem;
}

/* Mobilmeny */
.mobile-menu .header-logo img {
    padding: 2rem 0;
}

.mobile-menu .TemplateMenu li {
    padding: 0 2rem;
    margin: 5px 0;
    text-align: center;
}

.mobile-menu .TemplateMenu>li>a::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    transform: unset;
}

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

.EditMode .TemplateMenu ul a {
    font-size: 1.4rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

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

/* Top Section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 40rem;
    background-color: rgb(var(--primary-color), .5);
}

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

.top-section .section-title {
    max-width: 50rem;
}

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

.top-section .section-title {
    font-size: 5rem;
    letter-spacing: -1px;
}

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

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

/* Hero
========================================================================== */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: 40rem;
    background-color: rgb(var(--primary-color), .5);
}

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

.hero .section-title {
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: -1px;
}

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

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

/* Sok
========================================================================== */
/* 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;
    height: 4rem;
    padding: 0 2rem 0 5rem;
    margin: 0;
    border: none;
    border-radius: 5px;
    border: 1px solid rgb(var(--gray-color));
    transition: .5s ease;
}

.search-wrapper input:focus {
    width: 100%;
    outline: unset;
}

.card-item.hidden-search-item {
    display: none;
}

/* ==========================================================================
Undersida: Kundbrev > Undersida / Webbinarie > Undersida
========================================================================== */
.section-news-item .section-block-wrapper {
    max-width: 65rem;
}

/* Texter */
.section-news-item .section-title {
    font-weight: 500;
    font-family: Helvetica Neue Bold, sans-serif;
}

.section-news-item .small-title {
    padding-top: 2rem;
}

/* Lankar */
.section-news-item a:not(.btn) {
    display: inline;
}

/* Bilder och videos */
.section-news-item .image-wrapper,
.section-news-item .video-wrapper {
    margin: 1rem 0;
}

.section-news-item .video-wrapper video,
.section-news-item .video-wrapper iframe {
    width: 100%;
}

/* Fotnoter / Beskrivning av bild */
.smaller-on-print {
    font-size: .9rem;
    line-height: 1.6;
}

/* Linje */
.section-news-item hr {
    margin: 2rem 0 2.5rem;
}

/* Fotnoter */
.note {
    display: inline;
    position: relative;
    top: -8px;
    left: -2px;
    font-size: 1.2rem;
    color: rgb(var(--primary-color));
    text-decoration: none;
    font-family: Helvetica Neue Bold, sans-serif;
}

/* Tillbaka-lankar till Fotnoter */
.notes-list .note {
    position: static;
    margin-left: .5rem;
    font-size: 1.5rem;
}

/* Finstilta */
.fine-print-wrapper {
    padding: 1.5rem 2rem;
    margin: 4rem 0;
    border-radius: 3px;
    background-color: rgb(var(--white-color));
}

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

    /* Tillbaka-lankar till Fotnoter */
    .notes-list {
        padding-left: 1.8rem;
    }

    /* Knappar */
    .section-news-item .btn-wrapper.space-between {
        flex-direction: column-reverse;
    }

    .section-news-item .btn-wrapper.space-between a {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* Utskrift
========================================================================== */
@media print {

    header,
    footer,
    .btn {
        display: none !important;
    }

    .section-title {
        font-size: 2.7rem;
    }

    .small-title {
        padding-bottom: .2em;
        font-size: 1.9rem;
    }

    .ingress,
    p,
    a,
    li {
        font-size: 15px;
        color: rgb(var(--black-color));
        line-height: 1.6;
    }

    .smaller-on-print {
        font-size: 12px;
        line-height: 1.5;
    }

    @page {
        margin: 2cm;
    }
}

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

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 80rem;
    padding: 8rem 0 0;
    margin-left: auto;
    margin-right: auto;
}

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

.footer p.text-label {
    padding: 0 0 1rem;
    font-size: 1.3rem;
    line-height: 1;
    font-family: Helvetica Neue Bold, sans-serif;
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    font-size: 1.4rem;
    text-decoration: none;
    color: rgb(var(--white-color));
}

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

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

.footer-menu-large p {
    font-size: 1.4rem;
}

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgb(var(--gray-light-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;
    filter: invert();
}

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

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

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

    /* Footer top */
    .footer-menu {
        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;
    }
}