/* Svets Reparation & Montage AB */

/* Typsnitt */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");

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

    /* 	Colors */
    --primary-color: 154, 19, 19;
    --secondary-color: 244, 226, 205;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: 255, 255, 255;
}

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

.section-block-wrapper {
    max-width: 98rem;
}

/* Specifika paddings */
.pt-2 .section-block {
    padding-top: 2rem;
}

.pt-0 .section-block {
    padding-top: 0;
}

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

.pb-5 .section-block {
    padding-bottom: 5rem;
}

.mt-3 {
    margin-top: 3rem;
}

/* Specifika bredder */
.mw-1200 .section-block-wrapper {
    max-width: 120rem;
}

.mw-1500 .section-block-wrapper {
    max-width: 150rem;
}

.mw-900 .section-block-wrapper {
    max-width: 90rem;
}

.mw-expanded .section-block-wrapper {
    max-width: none;
}

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

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

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

/* Rubriker */
.text-label {
    padding-bottom: 0.9em;
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    padding-bottom: 0.3em;
    font-family: 'PT Serif', serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    color: #111;
}

.small-title {
    padding-bottom: 0.5em;
    font-family: 'PT Serif', serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: #111;
}

/* Brodtext och lankar */
p {
    font-weight: 400;
    color: #333;
}

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

li {
    color: #333;
}

/* ovriga klasser */

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

.text-block {
    max-width: 75rem;
    margin: 0 auto;
}

.text-block-center {
    max-width: 65rem;
    margin-left: auto;
    margin-right: auto;
}

/* List-check */
.list-check {
    padding: 0;
    list-style: none;
}

.list-check li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
}

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

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

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

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

    .text-label {
        font-size: 1.3rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */

/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 20rem;
    padding: 1.3rem 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 8px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn::after,
.ContactSubmit::after {
    content: " \2023";
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.4s ease;
}

.btn:hover::after,
.ContactSubmit:hover::after {
    transform: translateX(1rem);
    transition: transform 0.4s ease;
}

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

.ContactSubmit:hover {
    border: 1px solid #444;
    background-color: #444;
}

.btn-wrapper {
    display: flex;
    margin-top: 3rem;
}

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

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
}

.arrow-link::after {
    content: " \f178";
    display: inline-block;
    margin-left: 0.5rem;
    font-family: "Font Awesome 5 Pro";
    font-size: 0.7em;
    transition: transform 0.4s ease;
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform 0.4s ease;
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: 0.5rem;
    font-size: 0;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: 0.3s ease;
}

.circle-icon:hover {
    color: #fff;
    background-color: #444;
}

.circle-icon i:before,
.circle-icon em:before {
    font-size: var(--base-size);
}

/* Bouncing arrow */
.bouncing-arrow {
    position: absolute;
    z-index: 1;
    right: 5rem;
    bottom: -1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    border-radius: 50% 50% 0 0;
    background-color: rgb(255, 255, 255);
}

.bouncing-arrow::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0.5rem;
    left: 0.5rem;
    width: 5rem;
    height: 5rem;
    background-color: rgb(var(--primary-color));
    border-radius: 50%;
}

.bouncing-arrow i {
    color: rgb(255, 255, 255);
    font-size: 3rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

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

    40% {
        transform: translateY(-1rem);
    }

    60% {
        transform: translateY(-0.5rem);
    }
}

@media only screen and (max-width: 1000px) {
    /* Bouncing arrow */
    .bouncing-arrow {
        width: 4rem;
        height: 4rem;
        right: 2rem;
    }

    .bouncing-arrow::after {
        width: 3.4rem;
        height: 3.5rem;
        left: .25rem;
        top: .25rem;
    }

    .bouncing-arrow i {
        font-size: 2rem;
    }
}

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

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

.bg-gray {
    background-color: rgb(242, 242, 242);
}

.bg-white-secondary {
    background-image: linear-gradient(
        to bottom,
        white 5rem,
        rgb(var(--secondary-color)) 5rem
    );
}

.bg-white-secondary-5 {
    background-image: linear-gradient(
        to top,
        white 5rem,
        rgb(var(--secondary-color)) 5rem
    );
}

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

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0) 100%
    );
}

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

.of-wrapper.op-cb img {
    object-position: center bottom;
}


/* Cards
========================================================================== */

.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

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

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

@media only screen and (max-width: 1100px) {
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 550px) {
    .cards-wrapper.w-25 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Cards 2 */
.cards-2 {
    justify-content: center;
}

.cards-2 .card-item {
    padding: 0 2.5rem 2.5rem;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
}

.cards-2 .card-item:hover {
    text-decoration: none;
}

.cards-2 .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: left;
    border-radius: 0 0 2rem 2rem;
    background-color: rgb(var(--secondary-color));
    transition: 0.2s ease-in-out;
}

.cards-2 .icon-wrapper i {
    color: rgb(var(--primary-color));
    font-size: 3.5rem;
}

.cards-2.text-wrapper a {
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.8);
}

.cards-2 .card-item:hover .icon-wrapper {
    transform: scale(1.05);
    transition: 0.2s ease-in-out;
}

/* Cards 12 */
.cards-12 .card-item {
    position: relative;
    padding: 3rem;
    background-color: rgb(var(--secondary-color));
    border-radius: 3px;
}

.cards-wrapper.cards-12 .card-item {
    margin-top: 4rem;
}

.cards-12 .card-item::before {
    position: absolute;
    content: "";
    display: block;
    top: 4.2rem;
    left: 0;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
}

.cards-12 .image-wrapper {
    position: absolute;
    top: -2rem;
    right: 2rem;
    width: 10rem;
    height: 10rem;
    border-radius: 2rem;
    overflow: hidden;
}

.cards-12 .text-wrapper {
    padding-right: 10rem;
}

.cards-12 .small-title {
    padding-bottom: 2rem;
    font-size: 1.6rem;
}

.cards-12 a {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cards-12 a:hover {
    color: #444;
}

.cards-12 em {
    margin-right: 1rem;
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 340px) {
    .cards-12 .card-item::before {
        display: none;
    }

    .cards-12 .card-item {
        padding: 3rem 2rem;
    }
}

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

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

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

.split-image {
    width: 50%;
}

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

/* Speciella margins */
.split-wrapper .mt--20 {
    margin-top: -20rem;
}

@media screen and (max-width: 1300px) {
    .split-content {
        padding: 3rem 3rem 3rem 0;
    }
}

@media screen and (max-width: 1000px) {
    .split-content {
        width: 100%;
        padding: 0 0 5rem;
    }

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

    /* Speciella margins */
    .split-wrapper .mt--20 {
        margin-top: 0;
    }
}

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

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

header.scrolled {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

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

/* nav */
nav.mainmenu a {
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #333;
}

nav.mainmenu a:hover {
    color: rgb(var(--primary-color));
}

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

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

/* Ta bort klick */
.TemplateMenu a[href="/17/3/tjanster/"] {
    pointer-events: none;
}

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 100% !important;
    min-height: calc(100vh - 13rem);
    background-color: rgba(0, 0, 0, 0.5);
}

.top-section .section-block-wrapper {
    max-width: 70rem;
}

.top-section h1 {
    font-family: 'PT Serif', serif;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.3em;
    color: #fff;
    padding-bottom: 0.3em;
}

.top-section p {
    color: #fff;
     font-size: 1.9rem;
}

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

    .top-section h1 {
        font-size: 4rem;
    }
}

@media only screen and (max-width: 550px) {
    .top-section h1 {
        font-size: 3rem;
        padding: 0 5rem 0 0;
    }

    .top-section .section-block-wrapper {
        max-width: none;
    }

    .top-section .btn-wrapper {
        flex-direction: column;
    }
}

/* Sektion Om oss (.section-about)
========================================================================== */

.about-split .section-title {
    max-width: 40rem;
}

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

/*hero-bild */
.hero-1 {
    min-height: 40rem;
}

/*textrutan*/
.hero-1-box {
    background-color: rgb(var(--secondary-color));
    max-width: 120rem;
    width: calc(100% - 8rem);
    margin: 0 auto;
    margin-bottom: -5rem;
    top: -15rem;
    padding: 4rem 2rem 5rem 2rem;
    z-index: 2;
    position: relative;
    text-align: center;
    border-radius: 3px;
}

@media screen and (max-width: 550px) {
    .hero-1-box {
        width: calc(100% - 4rem);
        padding: 2rem;
    }

}

/* ==========================================================================
Undersida tjanster - enskild tjanst
========================================================================== */

.gallery-wrapper {
    padding-top: 5rem;
    display: flex;
    flex-wrap: wrap;
}

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

.gallery-box {
    padding: 2rem;
    border-radius: 3px;
    transition: 0.2s ease-in-out;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
}

.gallery-box:hover {
    transition: 0.2s ease-in-out;
    transform: scale(.98);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.2);
}

.gallery-box a {
    display: block;
}

.gallery-box .image-wrapper {
    height: 35rem;
    width: 100%;
    margin: 0;
    border-radius: 2px;
}

.gallery-box .text-wrapper {
    margin-top: 1.5rem;
    border-top: 1px solid #eaeaea;
    padding: 5px 0 0;
}

@media only screen and (max-width: 1000px) {
    .gallery-wrapper.w-33 .gallery-box {
        width: calc((100% / 2) - 2rem);
    }

    .gallery-box .image-wrapper {
        height: 20rem;
    }
}

@media only screen and (max-width: 580px) {
    .gallery-wrapper.w-33 .gallery-box {
        width: 100%;
        margin: 1rem 0;
    }

    .gallery-box .image-wrapper {
        height: 20rem;
    }
}

/* =======================================================================
Umdersida kontakt
========================================================================== */
.contact-section .layout-2 .col-1 {
    z-index: 1;
    position: relative;
    margin-left: -15rem;
}

.contact-section .layout-2 .col-1 .ContactForm {
    background-color: #fff;
    padding: 4rem;
    margin-top: 5rem;
    box-shadow: 0 1rem 2rem rgb(0 0 0 / 6%);
}

.grecaptcha-badge {
    display: none;
}

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

.ContactForm input[type="text"],
.ContactForm textarea {
    border: none;
    background-color: #fff;
    border-bottom: 1px solid #9a1414;
}

@media only screen and (max-width: 980px) {
    .contact-section .layout-2 .col-1 {
        z-index: 0;
        position: static;
        margin-left: 0rem;
    }
}

@media only screen and (max-width: 500px) {
    .contact-section iframe {
        height: 30rem;
    }

    .contact-section .layout-2 .col-1 .ContactForm {
        padding: 2rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */

.footer {
    background-color: rgb(245, 245, 245);
}

.footer-container {
    max-width: 160rem;
    padding: 0 2rem;
    margin: 0 auto;
}

.footer :is(p, a) {
    color: rgba(17, 17, 17, 0.6);
}

.footer a:hover {
    color: rgb(17, 17, 17);
}

.footer .small-title {
    color: rgb(var(--primary-color));
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem 2rem;
    border-bottom: 1px dotted rgb(var(--primary-color));
}

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

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

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

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

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

.footer-bottom .circle-icon {
    width: 3rem;
    height: 3rem;
    color: #fff;
}

.footer-bottom .circle-icon:hover {
    color: #fff;
}

.footer-bottom em::before {
    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;
}

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

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 2rem 0;
    }

    .footer-bottom .socials {
        margin-bottom: 1.5rem;
    }
}

@media only screen and (max-width: 450px) {
    /* Footer top */
    .footer-top {
        padding: 8rem 0 4rem 0;
    }

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