/* Installationsteamet Sverige AB */

@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7rem;
    --menu-height-scrolled: 7rem;
    --section-width: 140rem;

    /* 	Colors */
    --primary-color: var(--gray-color);

    --black-color: 17, 17, 17;
    --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(--white-color);
    --menu-color: var(--black-color);
}

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

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

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

@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: 'Vazirmatn', sans-serif;
}

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

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 300;
    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));
}

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

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

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

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

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

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

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

.btn-white-filled {
    color: rgb(var(--gray-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;
    font-size: var(--base-size);
    font-weight: 600;
    color: rgb(var(--gray-dark-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;
}

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

/* Gradient */
.gradient-graylight-gray {
    background-image: linear-gradient(125deg, rgba(var(--gray-light-color)) 50%, rgba(var(--gray-color)) 100%);
}

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

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

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

/* Grafiska element
========================================================================== */
/* Borders */
.border {
    border: 1px solid;
}

.border-gray-light {
    border-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;
}

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

.parallax .section-block {
    background-color: rgb(var(--black-color), .65)
}

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

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

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

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

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

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

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

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

/* Card 2-2 */
.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    margin-bottom: 2rem;
    border-radius: 50%;
}

.card-2-2 .card-header i {
    font-size: 3rem;
}

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
}

.card-2-5 .card-header i {
    font-size: 2.7rem;
}

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

.card-2-5 .card-item .small-title {
    transition: .3s ease;
}

.card-2-5 .card-item:hover .small-title {
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 580px) {
    .card-2-5 .card-header {
        width: 5rem;
        height: 5rem;
    }

    .card-2-5 .card-header i {
        font-size: 2.2rem;
    }

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

/* Card 3-1 */
.card-3-1 a.card-item.border-gray-light:hover {
    background-color: rgb(var(--gray-light-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: 1000px) {

    .split-wrapper,
    .split-content {
        background: transparent;
    }

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

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

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

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

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

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    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 .8rem;
    line-height: 1;
    white-space: nowrap;
}

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

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: calc(100vh - (var(--menu-height) * 2));
    background-color: rgb(var(--black-color), .5);
    background-image: linear-gradient(125deg, rgba(var(--gray-color), .8) 0%, rgba(var(--gray-color), .4) 50%, transparent 50%, transparent 100%);
    background-repeat: no-repeat;
    background-position: center left;
}

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

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

.top-section .section-title {
    max-width: 50%;
    font-size: 4.3rem;
    font-weight: 400;
}

@media only screen and (max-width: 1250px) {
    .top-section {
        text-align: center;
        background-image: linear-gradient(180deg, rgba(var(--gray-color), .5) 0%, rgba(var(--gray-color), .7) 50%);
    }

    .top-section .section-title {
        max-width: 70rem;
        margin: 0 auto;
        font-size: 4.5rem;
    }
}

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

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

/* Sektion CTA
========================================================================== */
.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;
        justify-content: center;
        text-align: center;
    }

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 55vh;
    background-color: rgb(var(--black-color), .45);
    background-image: linear-gradient(125deg, rgba(var(--gray-color), .85) 0%, rgba(var(--gray-color), .5) 50%, transparent 50%, transparent 100%);
    background-repeat: no-repeat;
    background-position: center left;
}

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

.hero .section-title {
    max-width: 50%;
    font-size: 5rem;
}

@media only screen and (max-width: 1250px) {
    .hero {
        text-align: center;
        background-image: linear-gradient(180deg, rgba(var(--gray-color), .5) 0%, rgba(var(--gray-color), .7) 50%);
    }

    .hero .section-title {
        max-width: 70rem;
        margin: 0 auto;
        font-size: 4rem;
    }

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

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

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

.section-contact .col-2 {
    max-width: 55rem;
    padding: 3rem;
    background-image: linear-gradient(125deg, rgba(var(--gray-light-color)) 50%, rgba(var(--gray-color)) 100%);
}

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

.ContactForm input[type="text"],
.ContactForm input[type="number"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm input[type="date"],
.ContactForm input[type="datetime-local"],
.ContactForm select,
.ContactForm textarea,
.ContactForm .file-item,
.ContactForm .file-dropzone {
    border: none;
}

.ContactForm > div.submit-button-container {
    margin-bottom: 0;
}

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

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

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

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

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

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

.footer .text-label {
    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 {
    text-decoration: none;
}

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

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

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

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

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

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

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