/* Digital Asset Media Malmö AB */


/* animate on scroll */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 12rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

    /* 	Colors */
    --primary-color: 5, 68, 94;
    --primary-light-color: 221, 244, 253;

    --black-color: 7, 7, 7;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

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

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 5rem;
}

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

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

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

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

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

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

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

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

/* Rubriker */
.section-title {
    font-family: 'New Title';
    font-size: 8rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: .5em;
    text-transform: uppercase;
}

.small-title {
    font-family: 'New Title';
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
}

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

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

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

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

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

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

.btn-wrapper.center {
    justify-content: center;
}

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

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

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

.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 {
    border: 1px solid rgb(var(--white-color));
    background-color: transparent;
    color: rgb(var(--white-color));
}

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

.arrow-link:not(.small-title) {
    font-size: var(--base-size);
}

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

.arrow-link:hover::before {
    transform: translateX(5px);
    transition: transform .4s ease;
}

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

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

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

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

.text-gray-light {
    color: rgb(var(--gray-light-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;
}

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

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

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

/* 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:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

    .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 2-1 */
.card-2-1 a.card-item {
    display: flex;
    justify-content: center;
}

.card-2-1 a.card-item:hover {
    border: 4px solid rgb(var(--primary-color));
    background-color: transparent;
}

.card-2-1 .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 3.5rem;
}

.card-2-1 .card-header i {
    flex-shrink: 0;
}

.card-2-1 .card-header .small-title {
    padding: 0;
    margin-left: 2rem;
}

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

.card-2-1 .card-body {
    align-self: center;
}

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

.card-2-4 a.card-item:hover {
    background: rgb(var(--gray-light-color));
}

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

@media only screen and (max-width: 420px) {
    .card-2-4 .card-item {
        flex-direction: column;
        align-items: flex-start;
    }

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

/* Card 3-6 */
.cards-wrapper.card-3-6 .card-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 35rem;
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.card-3-6 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-6 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .3);
    transition: .3s ease-in-out;
}

.card-3-6 .card-item:hover .image-wrapper::after {
    background: rgba(var(--primary-color), .7);
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    transform: translateY(calc(100% - 4.9rem));
    transition: .3s ease-in-out;
}

.card-3-6 .card-item:hover .card-body {
    transform: translateY(0);
    transition: .3s ease-in-out;
}

.card-3-6 .card-body-header {
    z-index: 1;
    position: relative;
    display: inline-block;
    height: 5rem;
    min-width: 50%;
    pointer-events: none;
    padding: 1rem 2rem;
    border-top-right-radius: 1rem;
}

.card-3-6 .card-body-content {
    padding: 2rem;
}

/* Logos 2 */
.logos-2 .card-item {
    width: 13rem;
    margin: 0 -2rem;
    padding: 1rem;
    border-radius: 50%;
    background-color: rgb(var(--white-color));
    transition: all .3s ease;
    box-shadow: 0 5px 2rem rgb(var(--black-color), .2);
}

.logos-2 .card-item:hover {
    margin: 0 3rem;
}

@media only screen and (max-width: 580px) {
    .logos-2 .card-item {
        width: 5.5rem;
        margin: 0 -1rem;
    }

    .logos-2 .card-item:hover {
        margin: 0 2rem;
    }
}

/* 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: 1000px) {
    .split-content {
        width: 100%;
        padding: 3rem;
    }

    .full-width .split-content {
        padding: 5rem 3rem;
    }

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

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }

    .split-content {
        padding: 0 0 3rem;
    }

    .full-width .split-content {
        padding: 5rem 2rem 3rem;
    }

}

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

body:not(.EditMode) header {
    display: none;
}

header:not(.scrolled) {
    background-color: transparent;
}

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

.header-logo img {
    width: 14rem;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.8rem;
    color: rgb(var(--white-color));
}

/* Hover effect */
header:not(.mobile-menu) .TemplateMenu li.active>a,
header:not(.mobile-menu) .TemplateMenu ul a:hover {
    color: rgb(var(--white-color));
    text-decoration: none;
}

header:not(.mobile-menu) .TemplateMenu>li>a:hover:before,
header:not(.mobile-menu) .TemplateMenu>li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1) translateX(-50%);
    transform: scaleX(1) translateX(-50%);
}

header:not(.mobile-menu) .TemplateMenu>li>a:before {
    visibility: hidden;
    position: absolute;
    content: "";
    height: 2px;
    top: 8rem;
    width: 30%;
    left: 50%;
    background-color: rgb(var(--white-color));
    -webkit-transform: scaleX(0) translateX(-50%);
    transform: scaleX(0) translateX(-50%);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

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

.header-cta-wrapper li {
    margin: 0 .5rem;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
}

@media only screen and (max-width: 1024px) {
    .header-logo img {
        width: 10rem;
    }
}

@media only screen and (max-width: 580px) {
    .header-logo a {
        font-size: 1.6rem;
    }

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    /* margin-top: calc(-1 * var(--menu-height)); */
}

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

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

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

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

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

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

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

/* Certifikat/Partners
========================================================================== */
.certificates {
    padding: 6rem 3rem 0;
    margin-bottom: 5rem;
    border-radius: 5px;
}

.certificates .cards-wrapper {
    transform: translateY(50%);
}

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

/* CTA-sektion
========================================================================== */
.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-wrapper .text-block {
    max-width: 65rem;
}

.cta-wrapper .btn-wrapper {
    margin-top: 0;
}

@media only screen and (max-width: 1000px) {
    .cta-wrapper {
        flex-wrap: wrap;
    }

    .cta-wrapper .btn-wrapper {
        margin-top: 2rem;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));
    text-align: center;
    background-color: rgb(var(--black-color), .5);
}

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

.hero .section-title {
    padding: 0;
    font-size: 9rem;
    letter-spacing: 1px;
    color: rgb(var(--white-color));
}

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

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

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

/* ==========================================================================
Undersida: Contact
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
}

.section-contact .col-2 {
    max-width: 50rem;
    padding: 3rem;
    box-shadow: 0 0 10px rgb(var(--black-color), .2);
    background: rgb(var(--white-color));
    border-radius: 1rem;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border-radius: 5px;
}

@media only screen and (max-width: 980px) {
    .section-contact .col-2 {
        max-width: 50rem;
        margin: 3rem auto 0;
    }
}

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

body:not(.EditMode) footer {
    display: none;
}

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

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

.footer-menu-large {
    --base-size: 1.3rem;
    width: 30%;
}

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

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

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

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

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--base-size);
}

.webbess-stamp img {
    width: 2rem;
    margin-left: 1rem;
    opacity: .6;
    filter: invert();
}

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

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

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

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

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

    /* Footer top */
    .footer-menu {
        width: 100%;
        order: 0;
    }

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

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

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

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