/* Nima Maskin AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 55, 152, 213;
    --primary-light-color: 229, 242, 250;
    --primary-dark-color: 10, 53, 81;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 222, 224, 224;
    --gray-light-color: 247, 246, 246;
    --white-color: 255, 255, 255;

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

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

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

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

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

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

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: .4em;
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.2;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Brodtext och lankar */
p,
li {
    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-center {
    text-align: center;
}

.text-bold {
    font-weight: 700;
}
.display-none {
  display: none !important;
}
@media only screen and (max-width: 1300px) {
    .section-title {
        font-size: 3.5rem;
    }

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2.5rem;
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .4s ease;
}

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

.btn-primary-filled:hover,
.ContactSubmit:hover {
    border-color: rgb(var(--primary-dark-color));
    background-color: rgb(var(--primary-dark-color));
}

/* Arrow link */
.arrow-link {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.arrow-link::after {
    content: ' \f061';
    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(5px);
    transition: transform .4s ease;
}

/* Lank med ikon */
.icon-links {
    padding: 5px 10px;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
    line-height: 1;
    border-radius: 2rem;
    text-decoration: none;
    transition: all .3s ease;
}

.icon-links:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color));
}

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

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

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

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

/* Grafiska element
========================================================================== */
/* Video ratio */
.video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-ratio video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Card 3-1 */
.contact-info a {
    color: rgb(var(--primary-dark-color));
    text-decoration: none;
}

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

.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%;
    transition: .3s ease-in-out;
}

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

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    display: inline-block;
    min-width: 50%;
    padding: 1rem;
    margin-right: 1rem;
    pointer-events: none;
}

@media only screen and (max-width: 580px) {
    .card-3-6 .card-item {
        min-height: 25rem;
    }
}

/* Logos 1 */
.logos-1 .card-item {
    text-align: center;
    background: rgb(var(--white-color));
}

.logos-1 .image-wrapper {
    height: 17rem;
}

.logos-1 img.contain {
    object-fit: scale-down;
}

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

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

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

.split-image,
.split-video {
    width: 50%;
}

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

/* Grafiska element for bilden */
.split-image.clip img {
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

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

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

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

    .split-image,
    .split-video {
        width: 100%;
    }

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

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

body:not(.nav-white) header:not(.scrolled) {
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

.EditMode.WebbEssDIY header {
    position: relative;
    top: 17px !important;
}

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

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

body:not(.nav-white) header:not(.scrolled, .mobile-menu) .TemplateMenu>li>a:not(:hover) {
    color: rgb(var(--white-color));
}

/* Dropdown */
.TemplateMenu ul {
    width: 30rem;
}

.TemplateMenu>li>ul>li>ul {
    right: -30rem;
}

.EditMode .TemplateMenu>li>ul>li>a,
.EditMode .TemplateMenu>li>ul>li>ul>li>a {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

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

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

/* Mobilmeny */
.mobile-menu .Navigator {
    padding-bottom: 10rem;
}

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

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

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

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

.top-section::before,
.top-section::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 18rem;
    left: 0;
    bottom: -1px;
}

.top-section::before {
    background-color: rgba(var(--primary-color), 0.8);
    -webkit-clip-path: polygon(0 0, 0 100%, 50% 50%);
    clip-path: polygon(0 0, 0 100%, 50% 50%);
}

.top-section::after {
    background-color: rgb(var(--white-color));
    -webkit-clip-path: polygon(50% 50%, 0 100%, 100% 100%);
    clip-path: polygon(50% 50%, 0 100%, 100% 100%);
}

.top-section .section-block {
    width: 100%;
    padding-top: 18rem;
    padding-bottom: 18rem;
}

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

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

@media only screen and (max-width: 1024px) {
    .top-section {
        margin-bottom: 5rem;
    }

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

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

    .top-section::before,
    .top-section::after {
        height: 8rem;
    }

    .top-section .section-block {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

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

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

/* Split med clip-bild
========================================================================== */
@media only screen and (max-width: 1024px) {
    .section-split-clip {
        padding-top: 10rem;
    }
}

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

/* Logo-slider
========================================================================== */
.section-scroll {
    overflow: hidden;
}

.logo-slider .slick-list {
    width: 100%;
    overflow: visible;
}

.logo-slider .slick-slide {
    padding: 2rem;
    margin: 0 1rem;
}

.logo-slider .logos-1 .image-wrapper {
    height: 8rem;
}

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

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

.hero .section-block {
    width: 100%;
    padding-top: 18rem;
    padding-bottom: 18rem;
}

.hero::before,
.hero::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 18rem;
    left: 0;
    bottom: -1px;
}

.hero::before {
    background-color: rgba(var(--primary-color), 0.8);
    clip-path: polygon(0 40%, 0 100%, 50% 70%);
}

.hero:after {
    background-color: rgb(var(--white-color));
    clip-path: polygon(50% 70%, 0 100%, 100% 100%);
}

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

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

    .hero .section-block {
        width: 100%;
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .hero::before,
    .hero::after {
        height: 8rem;
    }

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

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

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

@media only screen and (max-width: 1000px) {
    .cta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

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


/* ==========================================================================
Undersida: Produkter > Samlingssida
========================================================================== */
/* Taggar */
.tags-heading {
    display: none;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    padding: .3rem 1.5rem;
    margin: .6rem .5rem;
    font-size: 1.5rem;
    background: rgb(var(--primary-light-color));
    cursor: pointer;
    transition: .5s ease;
}

.tag:hover,
.tag.tag-picked {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

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

    /* Sok */
    .search-wrapper input {
        width: 100%;
    }

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

    .tags-wrapper {
        max-width: 100%;
    }

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

    .tags-wrapper .tag {
        display: block;
        padding: 1rem 2rem;
        margin: 0;
        letter-spacing: normal;
        text-transform: initial;
        box-shadow: none;
        border-radius: 0;
    }
}

/* ==========================================================================
Undersida: Produkter
========================================================================== */
.section-products .card-3-6 img {
    object-fit: scale-down;
}

/* ==========================================================================
Undersida: Produkter > Produktundersida
========================================================================== */
.section-product .split-wrapper {
    align-items: flex-start;
}

.section-product .split-content {
    padding-top: 0;
    padding-bottom: 0;
}

.section-product .split-image::after,
.section-product .split-video::after {
    content: 'Se fler bilder';
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 8px;
    color: rgb(var(--white-color));
    font-weight: 100;
    font-size: 1.3rem;
    font-weight: 600;
    background: rgb(var(--black-color));
    pointer-events: none;
}

.section-product .split-image img {
    object-fit: scale-down;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 3rem;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    font-size: 1.3rem;
    margin: 0 5px 0 0;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 0 0 5px;
}

.breadcrumbs li:last-of-type a {
    font-weight: 300;
    text-decoration: none;
}

/* Accordion */
.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.accordion-item {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 3px;
    background: rgb(var(--white-color));
    transition: .3s ease;
}

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

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

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

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

.accordion-item li,
.accordion-item p,
.accordion-item a {
    font-size: 1.5rem;
}

.accordion-body a {
    text-decoration: none;
}

.accordion-body a i {
    width: 2rem;
    color: rgb(var(--primary-dark-color));
}

/* Kop-knapp */
.section-product .split-content .btn {
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
}

.section-product .product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.section-product .product p {
    padding: 0;
}

.section-product .products .btn {
    min-width: unset;
    padding: 5px 2rem;
    margin: 0 0 0 2rem;
}

@media screen and (max-width: 1024px) {
    .section-product .split-content {
        padding-bottom: 5rem;
    }
}

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

    /* Accordion */
    .accordion-header {
        padding: 1.5rem 3rem 1.5rem 1.5rem;
    }

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

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

/* ==========================================================================
Undersida: Bestall produkter
========================================================================== */
.section-order .section-block-wrapper {
    max-width: 100rem;
}

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

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

.section-order .ContactForm .ContactFormMessage,
.section-order .ContactForm .select-wrapper {
    width: 100%;
}
.submit-button-container{
    width: 100% !important;
}

.section-order .ContactForm p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgb(var(--black-color));
}

.section-order .ContactForm input[type="text"],
.section-order .ContactForm input[type="email"],
.section-order .ContactForm input[type="tel"],
.section-order .ContactForm select,
.section-order .ContactForm textarea {
    border: none;
}

.section-order .ContactForm input[type="text"]:not(.illegal),
.section-order .ContactForm input[type="email"]:not(.illegal),
.section-order .ContactForm input[type="tel"]:not(.illegal),
.section-order .ContactForm select,
.section-order .ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--gray-light-color));
}

/*.section-order .field-4 {
    display: none;
}*/

.section-order .ContactForm select {
    height: 4.57rem;
}

.section-order .ContactForm textarea {
    min-height: 20rem;
}

.section-order .ContactSubmit {
    margin: 0;
    font-family: inherit;
}

@media only screen and (max-width: 600px) {
    .section-order .ContactForm div {
        width: 100%;
    }
}

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

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

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

.footer .text-label {
    padding: 0 0 1rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    color: rgb(var(--primary-dark-color));
}

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

.footer-top li,
.footer-top p:not(.text-label),
.footer-top a {
    font-size: 1.5rem;
    text-decoration: none;
}

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

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgb(var(--primary-color));
}

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

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.3rem;
    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: 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;
    }
}