/* Wicab Container Aktiebolag */

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 0, 71, 125;
    --primary-dark-color: 0, 29, 51;

    --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: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 150rem;

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

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

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

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

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

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

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

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

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

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

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

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

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

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

/* Listor */
.list-properties {
    padding: 0;
    margin-top: 0;
    list-style: none;
}

.list-properties li {
    display: flex;
    justify-content: space-between;
    padding-bottom: .3rem;
    margin-bottom: .3rem;
    font-size: 1.5rem;
}

.list-properties li:not(:last-of-type) {
    border-bottom: 1px dotted rgb(var(--primary-color));
}

.list-properties li span {
    padding: 0 .5rem;
}

.list-properties li span:nth-child(1) {
    font-weight: 600;
}

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

.text-italic {
    font-style: italic;
}

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

    /* Listor */
    .list-properties li {
        font-size: 1.4rem;
    }
}

/* 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::after,
.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;
} 

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

.btn-primary-filled::after {
    color: rgb(var(--white-color));
}

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

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

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

/* Animation knapp */
.bouncing-btn::after {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(10px);
    }

    60% {
        transform: translateX(5px);
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
    background-color: rgb(var(--primary-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));
}

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

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    padding-top: 15rem;
    padding-bottom: 15rem;
    background-color: rgb(var(--black-color), .5);
}

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

.parallax .ingress {
    font-size: 1.9rem;
}

/* Bilder */
.parallax-containers {
    background-image: url('/assets/images/wicab-container-2000px.jpg');
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

@media only screen and (max-width: 680px) {
    .parallax .section-block {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    .parallax .ingress {
        font-size: var(--base-size);
    }
}

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

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

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

.cards-wrapper.w-50 .card-item,
.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: 1350px) {
    /* Bredder */
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 3) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 1024px) {
    /* Bredder */
    .cards-wrapper.w-25 .card-item,
    .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-25 .card-item,
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item,
    .cards-wrapper .card-item.w-50 {
        width: 100%;
        margin: 1rem 0;
    }

    /* Paddings */
    .cards-wrapper .p-4 {
        padding: 2rem;
    }
}

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh / 2 - 2rem);
}

.card-3-5 .card-item.mh-70 {
    min-height: 70vh;
}

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

.card-3-5 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .45);
}

.card-3-5 .image-wrapper.overlay-primary::after {
    background: rgba(var(--primary-dark-color), .8);
}

.card-3-5 .card-body,
.card-3-5 .card-footer {
    z-index: 1;
    position: relative;
}

.card-3-5 .text-block-center {
    max-width: 55rem;
}

.card-3-5 .arrow-link::after {
    color: rgb(var(--white-color));
}

/* 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: 1024px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

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

    .split-image {
        width: 100%;
    }

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

/* Header / Navigation
========================================================================== */

/* Top header */
.top-header {
    width: 100%;
    max-width: var(--section-width);
    height: 4rem;
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
    transition: .3s ease;
    background: transparent;
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
}

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

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

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

header {
    border-bottom: 1px solid rgb(var(--primary-color));
    background: rgb(var(--primary-dark-color));
}

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

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

.header-logo img {
    filter: brightness(0) invert();
}

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

/* Dolj hem */
.TemplateMenu>li:nth-child(1) {
    display: none;
}

/* Hover effect */
header:not(.mobile-menu) .TemplateMenu>li>a:hover,
header:not(.mobile-menu) .TemplateMenu>li.active>a {
    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);
    transform: scaleX(1);
}

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

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

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

/* 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 .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

/* Mobilmeny */
header.mobile-menu .TemplateMenu {
    padding-bottom: 5rem;
}

header.mobile-menu.active-menu .header-logo {
    background-color: rgb(var(--mobile-menu-bg));
}

header.mobile-menu .TemplateMenu ul {
    background: transparent;
}

header.mobile-menu .TemplateMenu li.active>a,
header.mobile-menu .TemplateMenu a:hover {
    color: rgb(var(--white-color));
    font-weight: 600;
}

@media only screen and (max-width: 580px) {
    /* CTA  */
    .header-cta-wrapper {
        margin-left: 2rem;
    }

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

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

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

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

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

.top-section .blueprint {
    position: absolute;
    top: 3rem;
    right: 2rem;
    width: 50%;
    opacity: .3;
    pointer-events: none;
}

@media only screen and (max-width: 1300px) {
    .top-section .blueprint {
        width: 90%;
    }
}

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

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

/* Produkter
========================================================================== */
.scroll-container {
    overflow: hidden;
}

.scroll-wrapper.cards-wrapper {
    margin: 0 16rem 5rem;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
    margin: 0 2rem;
    transition: all .3s ease;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick dots */
.scroll-wrapper .slick-dots {
    position: absolute;
    bottom: -5rem;
    left: 50%;
    padding: 0;
    margin: 0;
    transform: translateX(-50%);
}

.slick-dots li::before {
    content: '\f0c8';
    font-size: 1.2rem;
    color: rgb(var(--gray-color));
}

.scroll-wrapper li.slick-active::before {
    opacity: 1;
    color: rgb(var(--primary-color));
    transition: all .2s ease;
}

@media only screen and (max-width: 1300px) {
    .scroll-wrapper.cards-wrapper {
        margin: 0 4rem 5rem;
    }
}

@media only screen and (max-width: 750px) {
    .scroll-wrapper.cards-wrapper {
        margin: 0 2rem 5rem;
    }

    .scroll-wrapper.cards-wrapper .card-item {
        margin: 0 5px;
    }
}

@media only screen and (max-width: 520px) {
    .scroll-wrapper.cards-wrapper {
        margin: 0 1rem 5rem;
    }
}

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

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

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

.hero .section-title {
    font-size: 4.5rem;
    color: rgb(var(--white-color));
}

.hero .blueprint {
    position: absolute;
    top: -1rem;
    right: 2rem;
    width: 42%;
    opacity: .3;
    pointer-events: none;
}

@media only screen and (max-width: 1300px) {
    .hero .blueprint {
        width: 60%;
    }
}

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

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

    .hero .blueprint {
        width: 90%;
    }
}

/* Hero: Hero-split
========================================================================== */
.hero-split {
    min-height: unset;
    background: linear-gradient(to left, rgba(var(--primary-dark-color), .85) 70%, rgb(var(--primary-color)) 0);
}

.hero-split .section-title {
    padding-bottom: 2rem;
    font-size: 4.8rem;
}

@media only screen and (max-width: 1450px) {
    .hero-split .section-title {
        font-size: 3.5rem;
    }
    
    .hero-split .small-title {
        font-size: var(--base-size);
    }
}

@media only screen and (max-width: 1024px) {
    .hero-split {
        background: rgba(var(--primary-dark-color), .85);
    }

    .hero-split .split-wrapper .pr-0 {
        padding-left: 0;
    }
}

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

/* ==========================================================================
Undersida: Produkter > Produktundersida
========================================================================== */
.products-wrapper .image-wrapper {
    width: 100%;
    height: 25rem; 
}

.products-wrapper .card-body {
    padding: 1.5rem;
    text-align: center;
}

.products-wrapper .small-title {
    padding-bottom: 1.5rem;
    font-size: 2.2rem;
}

/* Fler bilder-overlay */
.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: .4s ease;
}

.image-wrapper:hover .more-overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(var(--black-color), .7);
}

.more-overlay i {
    color: rgb(var(--white-color));
    font-size: 5rem;
    transition: .4s ease;
}

.image-wrapper:hover .more-overlay i {
    font-size: 3.5rem;
}

.more-overlay p {
    display: inline-block;
    color: rgb(var(--white-color));
    margin-left: 1.5rem;
    font-size: 0;
    transition: .4s ease;
}

.image-wrapper:hover .more-overlay p {
    font-size: 2rem;
}

@media only screen and (max-width: 580px) {
    .products-wrapper .card-body .small-title {
        font-size: 1.7rem;
    }
    
    .products-wrapper .card-body p {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    padding: 4rem;
    background: rgb(var(--primary-dark-color));
}

.section-contact .col-1 .col-wrapper,
.section-contact .col-1 .block-container,
.section-contact .col-1 .block-object {
    height: 100%;
}

.section-contact .col-1 iframe {
    width: 100%;
    height: 100%;
}

.section-contact p,
.section-contact label{
    color: white;
}

@media only screen and (max-width: 980px) {
    .section-contact .col-1 iframe {
        height: 40rem;
    }
}

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

/* ==========================================================================
Undersida: Offertforfragan
========================================================================== */
.form-wrapper {
    max-width: 100rem;
    padding: 3rem 4rem;
    margin: 0 auto;
    background: rgb(var(--gray-light-color));
}

@media only screen and (max-width: 580px) {
    .form-wrapper {
        padding: 0;
        background: transparent
    }
}

.section-form .col-0{
    max-width: 90rem;
    padding: 4rem;
    margin: 0 auto;
    background: rgb(var(--gray-light-color));
}


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

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

.section-form .ContactForm div.textarea-field,
.section-form .ContactForm div.submit-button-container,
.section-form .ContactForm div.checkbox-field {
    width: 100%; 
}
.ContactForm input.illegal,
.ContactForm textarea.illegal {
    border: 0.1rem solid #fe6464;
}
@media only screen and (max-width: 680px) {
    .section-form .ContactForm > div {
        width: 100%; 
    }
}
/* ==========================================================================
Footer
========================================================================== */
footer {
    padding: 10rem 5rem 0;
    background: rgb(var(--primary-dark-color));
}

/* Footer header */
.footer-header .text-block-center {
    max-width: 80rem;
}

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

.footer-menu {
    width: fit-content;
}

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

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

.footer p,
.footer li,
.footer a {
    color: rgb(var(--white-color));
}

.footer a {
    text-decoration: none;
    transition: .2s 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(--primary-color));
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.2rem;
    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;
    filter: invert();
}

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

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

    .footer-menu {
        width: 100%;
        margin: 0 0 4rem;
    }
    
    .footer-top .small-title {
        font-size: 1.8rem;
        padding: 0;
    }
}

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