/* Kvadrat Stadservice */

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors  */
    --primary-color: 56, 56, 56;
    --secondary-color: 77, 147, 228;

    --white-color: 255, 255, 255;

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

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

    /* 	Layout  */
    --section-width: 130rem;

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

/* Layout
========================================================================== */
.section-wrapper {
    background-color: rgb(var(--white-color));
}

.section-block {
    padding: 12rem 4rem;
}

/* Specifika bredder */
.mw-none .section-block-wrapper {
    max-width: unset;
}

/* Specifika paddings */
.pt-0 .section-block,
.pt-0:not(.section-block-wrapper) {
    padding-top: 0;
}

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

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

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

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

/* Rubriker */
.text-label {
    padding-bottom: 1.5rem;
    font-size: var(--base-size);
    font-weight: 500;
    color: rgb(var(--primary-color));
}

.section-title {
    padding-bottom: 1.5rem;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.small-title {
    padding-bottom: 1rem;
    font-size: 2.6rem;
    line-height: 1.4;
    font-weight: 400;
}

/* Brodtext och lankar */
p {
    font-weight: 300;
}

a {
    color: rgb(var(--primary-color));
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
}

/* Ovriga klasser */
.text-bold {
    font-weight: 700;
}

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

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

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

/* Knappar och speciella länkar
========================================================================== */
.btn-wrapper {
    display: flex;
}

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

.btn,
.ContactForm .ContactSubmit {
    display: inline-block;
    min-width: 20rem;
    padding: 2.2rem;
    font-weight: 500;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

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

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

.btn-primary-border {
    color: #fff;
    border: 1px solid rgb(var(--secondary-color));
    background-color: transparent;
}

.btn-primary-border:hover {
    color: #fff;
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
}

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

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

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

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

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

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
    background: linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%);
}

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

.bg-video-wrapper video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

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

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

/* Card 3-1 */
.card-3-1 {
    margin: 6rem 0rem 6rem 0rem;
}

.card-3-1 .card-item {
    box-shadow: 0 1.5rem 3rem rgba(105, 85, 61, .27);
    overflow: hidden;
}

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

.card-3-1 .small-title {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    border-bottom: 1px solid rgb(var(--primary-color));
}

/* Card contact */
.card-contact {
    margin-top: 2rem;
}

.card-contact .card-header {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.card-contact .card-header i {
    color: rgb(var(--secondary-color));
}

.card-contact a:hover p {
    color: rgb(var(--secondary-color));
}

@media only screen and (max-width:1024px) {
    /* Bredder */
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 2rem 0;
    }
}

/* Parallax
========================================================================== */
.parallax {
    min-height: 45rem;
    background-image: url('/assets/images/sovrum-2000px.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

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

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

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

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

.split-image {
    position: relative;
    width: 50%;
    overflow: hidden;
}

.split-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

@supports (object-fit: cover) {
    .split-image {
        min-height: unset !important;
    }

    .split-image img {
        position: static;
        transform: none;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

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

/* Speciella margins */
.split-wrapper .ml--18rem {
    z-index: 1;
    position: relative;
    margin-left: -18rem;
}

/* Speciella bredder */
.split-wrapper .w-60 {
    width: 60%;
}

.split-wrapper .w-40 {
    width: 40%;
}

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

    .split-content,
    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 100%;
    }

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

    /* Speciella margins */
    .split-wrapper .ml--18rem {
        margin-left: 0;
    }

}

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

    .split-content {
        padding: 3rem 2rem 3rem 2rem;
        background: transparent;
    }

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

/* Header / Navigation
========================================================================== */
/* header logo */
.header-logo {
    flex-basis: 0;
    flex: 1 1 0px;
}

/* nav */
nav.mainmenu a {
    font-weight: 500;
    font-size: 1.35rem;
    color: #555;
}

.TemplateMenu a:hover {
    color: rgb(var(--secondary-color));
}

/* header CTA  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-basis: 0;
    flex: 1 1 0px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 3rem;
    margin: 0 .5rem;
}

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

    .header-cta-wrapper .btn {
        padding: 1rem;
        margin: 0.5rem 0.5rem;
    }
}

@media only screen and (max-width: 375px) {
    .header-cta-wrapper .btn {
        display: none;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    justify-content: left;
    max-width: 100% !important;
    min-height: 80vh;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%);
}

.top-section .btn {
    margin: 1%;
}

.top-section .btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.page-title-wrap {
    position: relative;
    background-color: transparent;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 95rem;
    text-align: left;
    padding-left: 2rem;
}

.page-title-wrap .section-title {
    font-size: 7rem;
    font-weight: 400;
    color: #fff;
    padding: 0 0 .1em;
    line-height: 1.2;
    text-shadow: none;
    text-transform: none;
    letter-spacing: 0;
}

.usp-1 {
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    font-style: italic;
}

.page-title-wrap p {
    color: #fff;
    font-size: 2rem;
}

@media only screen and (max-width:780px) {
    .page-title-wrap .section-title {
        font-size: 5.6rem;
    }

    .page-title-wrap {
        padding-left: 0rem;
    }
}

@media only screen and (max-width: 480px) {
    .page-title-wrap .section-title {
        font-size: 4.2rem;
    }
}

@media only screen and (max-width: 360px) {
    .page-title-wrap .section-title {
        font-size: 3.6rem;
    }
}

/* Sektion Om oss
========================================================================== */
.section-about .split-content {
    background: rgba(var(--primary-color), 0.85);
}

/* Startsida: Kontakt och karta
========================================================================== */
.section-contact iframe {
    width: 100%;
    height: 50rem;
    border: none;
    display: block;
}

.section-contact .contact-info {
    z-index: 1;
    position: relative;
    max-width: 110rem;
    width: 80%;
    padding: 7rem;
    margin: 0 auto -10rem;
    background: rgba(var(--primary-color), 0.85);
    margin-top: 10rem;
}

@media only screen and (max-width: 980px) {
    .section-contact .contact-info {
        width: 95%;
        padding: 4rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-contact .contact-info {
        width: 100%;
        padding: 3rem 2rem;
        margin: 0;
    }
}

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

/* ==========================================================================
Undersida:  Om oss
========================================================================== */

/* Sub header
========================================================================== */
.sub-about .sub-header {
    background-image: url('/assets/images/kvadrat-stadservice-gothenburg-1000px.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sub-about .sub-header .section-block {
    background: linear-gradient(to left, rgba(227, 227, 227, 0.7) 70%, #ffff 40%);
    backdrop-filter: blur(10px);
    padding: 8rem 4rem;
}

@media screen and (max-width: 1100px) {
    .sub-about .sub-header .section-block {
        background: rgba(227, 227, 227, 0.7);
    }
}

@media only screen and (max-width: 380px) {
    .sub-about .sub-header .section-block {
        padding: 8rem 2rem;
    }
}

/* Section Vara ledord
========================================================================== */
.timeline-wrapper {
    position: relative;
    max-width: 80rem;
    margin: 10rem auto 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgb(var(--secondary-color));
    top: 0;
    bottom: 0;
    left: 50%;
    border-radius: 40px;
}

.timeline-text:before {
    content: '';
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgb(var(--secondary-color));
    position: absolute;
    left: -14%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-box-shadow: 0 0 0 4px #ffffff;
    box-shadow: 0 0 0 4px #ffffff;
    z-index: 1;
}

.item-right .timeline-text::before {
    left: auto;
    right: -14%;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
}

.timeline-item.item-left {
    justify-content: flex-end;
}

.timeline-text,
.timeline-image {
    width: 45%;
}

.timeline-text {
    padding-left: 5rem;
}

.timeline-text .timeline-step {
    font-size: 5rem;
    color: rgb(var(--secondary-color));
}

.timeline-text h3 {
    line-height: 1.4;
}

.item-right .timeline-image {
    order: 1;
    justify-content: flex-end;
}

.item-right .timeline-text {
    padding-right: 5rem;
    padding-left: 0;
}

.timeline-item .timeline-image {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timelime-result {
    font-size: 3rem;
    font-weight: 600;
    color: rgb(var(--secondary-color));
    padding: 0;
    line-height: 1;
    margin-bottom: 1rem;
}

.timelime-result::before {
    content: '#';
    display: inline-block;
    margin-left: -2rem;
    color: rgb(76 145 227 / 40%);
}

@media only screen and (max-width:1200px) {
    .timeline-text h3 {
        font-size: 2.4rem;
    }
}

@media only screen and (max-width: 1000px) {
    .timeline-text {
        padding-left: 2rem;
    }

    .item-right .timeline-text {
        padding-right: 0;
        padding-left: 2rem;
    }
}

@media only screen and (max-width: 600px) {
    .timeline-wrapper::before {
        left: 0;
    }

    .timeline-item {
        justify-content: flex-end;
    }

    .timeline-item.item-left {
        flex-wrap: wrap-reverse;
    }

    .timeline-text,
    .timeline-image {
        width: calc(100% - 2rem);
    }

    .timeline-text {
        margin-bottom: 2rem;
    }

    .timeline-text:before {
        left: -2.8rem;
    }

    .item-right .timeline-text::before {
        left: -2.8rem;
        right: auto;
    }
}

/* ==========================================================================
Undersida:  Offertförfrågan
========================================================================== */

/* Sub header
========================================================================== */
.sub-header {
    background-image: url('/assets/images/kvadrat-stadservice-cleaning-1000px.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sub-header .section-block {
    background: linear-gradient(to left, rgba(227, 227, 227, 0.7) 70%, #ffff 40%);
    backdrop-filter: blur(10px);
    padding: 8rem 4rem;
}

@media screen and (max-width: 1100px) {
    .sub-header .section-block {
        background: rgba(227, 227, 227, 0.7);
    }
}

@media only screen and (max-width: 380px) {
    .sub-offert .sub-header .section-block {
        padding: 8rem 2rem;
    }
}

/* Formular
========================================================================== */
.ContactForm {
    max-width: 80rem;
    margin: 0 auto;
    padding: 6rem;
    background-color: rgba(var(--secondary-color), 0.35);
    border-radius: 1rem;
}

.ContactForm p {
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.5rem;
}

.ContactForm input[type="text"],
.ContactForm input[type="tel"],
.ContactForm input[type="email"],
.ContactForm textarea {
    border: none;
    background-color: #fff;
    border-radius: 0.5rem;
}

.ContactForm .ContactSubmit {
    width: 22rem;
    margin: 0 auto;
    display: block;
}

@media only screen and (max-width: 680px) {
    .ContactForm {
        padding: 6rem 2rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
footer {
    background: rgb(var(--secondary-color));
}

footer * {
    color: #fff;
}

.footer-container {
    padding: 0 2rem;
}

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

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

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

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

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

.footer a {
    text-decoration: none;
    transition: .2s ease;
    font-weight: 300;
}

.footer a:hover {
    text-decoration: underline;
}

.logo-wrapper {
    max-width: 20rem;
}

/* Footer bottom */
.footer-bottom {
    padding: 2rem;
    border-top: 1px solid #fff;
    justify-content: center;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

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

/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: normal;
}

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


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

    /* 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,
    .footer-menu-large {
        width: 100%;
    }
}

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

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

    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0;
    }
}