﻿


/*

    css för startsidan och alla dess varianter, kontroller och rutiner
    version 1.0 2025-09-13

*/


.mt-sm-0 {
    margin-top: 0px;
}

.pt-sm-0 {
    padding-top: 0px !important;
}

.pt-sm-1 {
    padding-top: 10px !important;
}

.pt-sm-2 {
    padding-top: 20px !important;
}

.pb-sm-1 {
    padding-bottom: 10px !important;
}

.newsHero {
    border-radius: 20px !important;
    min-height: 390px;
    max-height: 390px;
    object-fit: cover;
}

.up-2 {
    position: relative;
    top: -2px;
}

.list li {
    margin-bottom: -5px;
}

ul {
    padding-left: 14px;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    background: #000 !important;
}

.call-bike {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/upload/general-page-images/1/sell-bike.jpg");
    background-position: 30% 10%;
}

.call-company {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/upload/general-page-images/1/motorcycle-shop.jpg");
    background-position: 100% 50%;
}

.btn-lightyellow {
    background: #ccba3e;
    color: white;
}

@media (max-width: 576px) {
    .categoryitem p {
        text-align: center;
        font-size: 10px !important;
        width: min-content;
        position: relative;
        left: -8px;
    }
}

/* bakgrund på video */
.tp-opacity-overlay {
    opacity: 0.4 !important;
}

.annons-info {
    position: absolute;
    top: 15px;
    left: 25px;
    background-color: white;
    color: black;
    font-size: 0.85em;
    font-weight: 600;
    padding: 2px 15px 2px 15px;
    border-radius: 50px;
    border: 1px solid #757578;
}

.jumbotron {
    border-radius: 20px;
    filter: brightness(98%);
}

.annons-titel {
    position: relative;
    top: -20px;
    font-weight: 600;
}

html.dark .annons-titel, html.dark .link div, html.dark .link {
    color: #bbbbbb;
}






.btn-darkyellow {
    border-radius: 50px;
    background-color: #F2D53C;
    color: black !important;
    font-weight: 700 !important;
    padding: 8px 25px !important;
}

.btn-transparent {
    border-radius: 50px;
    border: 1px solid #B0AEAE;
    background: #373737bf;
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
}

.border-right {
}

.fixed-columns {
    display: flex;
    flex-wrap: nowrap;
}

    .fixed-columns .col {
        flex: 1 0 20%; /* Each column takes 20% of the row's width */
        padding-left: 10px;
        padding-right: 10px;
    }

        .fixed-columns .col p {
            padding-top: -10px;
        }

.text-10 {
    font-weight: 600;
}

@media (max-width: 1268px) {
    .text-10 {
        font-size: 30px !important;
        font-weight: 500;
    }
}

@media (max-width: 768px) {
    .text-10 {
        font-size: 22px !important;
        font-weight: 600;
    }

    .text-15 {
        font-size: 38px !important;
        font-weight: 600;
    }

    .background-image::before {
        /*background-color: rgba(0, 0, 0, 0.6);*/
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 75%, rgba(0, 0, 0, 0.8) 100% );
    }
}

@media (min-width: 768px) {
    .jumbotron {
        min-height: 220px !important;
    }
}

@media (min-width: 992px) {
    .jumbotron {
        min-height: 280px !important;
    }
}

@media (min-width: 1200px) {
    .jumbotron {
        min-height: 350px !important;
    }
}

@media (min-width: 1500px) {
    .jumbotron {
        min-height: 450px !important;
    }
}

.custom-border-right {
    position: relative;
}

    .custom-border-right::after {
        content: '';
        position: absolute;
        right: 0;
        top: 40%;
        transform: translateY(-50%);
        width: 1px;
        height: 20px; /* Set the height of the border */
        background-color: #B0AEAE; /* Set the color of the border */
    }

html.dark .custom-border-right::after {
    background-color: #373737;
}

.bg-counterplate {
    background: #ededed;
}

html.dark .bg-counterplate {
    background: #151718;
}

@font-face {
    font-family: "DINPro-Regular";
    src: url("https://db.onlinewebfonts.com/t/c9c60c88cb732119e5a9457f2d9cdc53.eot"); /* IE9*/
    src: url("https://db.onlinewebfonts.com/t/c9c60c88cb732119e5a9457f2d9cdc53.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("https://db.onlinewebfonts.com/t/c9c60c88cb732119e5a9457f2d9cdc53.woff2") format("woff2"), /* chrome firefox */
    url("https://db.onlinewebfonts.com/t/c9c60c88cb732119e5a9457f2d9cdc53.woff") format("woff"), /* chrome firefox */
    url("https://db.onlinewebfonts.com/t/c9c60c88cb732119e5a9457f2d9cdc53.ttf") format("truetype"), /* chrome firefox opera Safari, Android, iOS 4.2+*/
    url("https://db.onlinewebfonts.com/t/c9c60c88cb732119e5a9457f2d9cdc53.svg#DINPro-Regular") format("svg"); /* iOS 4.1- */
}



.fa-search {
    top: 2px;
    position: relative;
    font-weight: 300;
}

/* formatera avatarer */
.profile-top-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

.profile-top-avatar {
    width: 40px;
    height: 40px;
    position: relative;
    margin-left: -15px;
}

    .profile-top-avatar:first-child {
        margin-left: 0;
    }

.profile-top-container p {
    margin-top: 15px;
    margin-left: 20px;
    font-size: 14px;
    color: #333;
    align-self: flex-start;
}

html.dark .scrolltab-item.btn-rounded.btn-dark {
    font-weight: 700;
    border: 2px solid #284266 !important;
    background: #213757;
    color: white;
}


/* panel */

.panel {
    border-radius: 20px;
    padding: 50px;
}

.panel-creem-1 {
    background: #E6E0D14f;
}

.panel-creem-2 {
    background: #c2b89f4f;
}

.panel-pink-1 {
    background: #F6EAEA;
}

.panel-pink-2 {
    background: #FFF5F2;
}

.panel-pink-3 {
    background: #FFCFC9;
}

.panel-grey-1 {
    background: #ededed;
}

.panel-purple-1 {
    background: #F9F4FF;
}

.panel-green-1 {
    background: #F5F6EA;
}

.panel-green-2 {
    background: #dcdfbd;
}

.panel-brown-1 {
    background: #FDF4E6;
}

.panel-grey-1 {
    background: #F4F4F4;
}

.panel-red-1 {
    background: #DE6F6F;
}

.panel-purple-2 {
    background: #E5E7F5;
}

.panel-transparent {
    border: 1px solid #C2C1C1;
}

.panel-black {
    background: #000;
}

/* */
html.dark .panel-purple-1 {
    background: #373040;
}

html.dark .panel-green-1 {
    background: #b3ba69;
}

html.dark .panel-brown-1 {
    background: #403b35;
}

html.dark .panel-grey-1 {
    background: #535353;
}

html.dark .panel-red-1 {
    background: #6c3a3a;
}

html.dark .panel-creem-1 {
    background: #3f6889;
}

html.dark .panel-creem-2 {
    background: #273c51;
}

html.dark .panel-pink-1 {
    background: #6c3a3a;
}

html.dark .panel-pink-2 {
    background: #ffcaba;
}

html.dark .panel-pink-3 {
    background: #e79489;
}

html.dark .panel-purple-2 {
    background: #3b4067;
}

.panel-equal-height {
    display: flex; /* Gör panelerna flexibla */
    flex-direction: column; /* Gör så att innehållet ligger vertikalt */
    justify-content: space-between; /* För att sprida innehållet jämnt */
    / width: 100%; /* Gör panelen 100% av kolumnens bredd */
    box-sizing: border-box; /* Inkludera padding och border i höjd och bredd */
    position: relative; /* Positionering för att använda padding-bottom */
    height: 0;
    padding-bottom: 80%; /* Sätter padding för att skapa en kvadrat */
}

.panel-equal-height-2 {
    display: flex; /* Gör panelerna flexibla */
    flex-direction: column; /* Gör så att innehållet ligger vertikalt */
    height: 100%;
    padding-bottom: 20%; /* Sätter padding för att skapa en kvadrat */
    text-align: center;
}

.panel-content {
    position: absolute; /* Gör innehållet positionerat absolut */
    top: 50%; /* Flytta ner till mitten */
    left: 50%; /* Flytta till mitten */
    transform: translate(-50%, -50%); /* Justera för att centrera */
}

.panel-news p, .panel-news h4 {
    color: white;
}

.panel-shade::before {
    content: ''; /* Skapa ett tomt innehåll för pseudo-elementet */
    position: absolute; /* Absolut positionering */
    top: 0; /* Positionera från toppen */
    left: 0; /* Positionera från vänster */
    right: 0; /* Täcka till höger */
    bottom: 0; /* Täcka till botten */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.9) 80%);
    border-radius: 20px;
    z-index: 0;
}

.panel-no-border {
    border: none;
}

.panel h1 {
    font-weight: 600;
    font-size: 35px;
    margin-bottom: 15px;
}

.panel .h1-large {
    font-size: 60px;
    line-height: 1;
    margin-bottom: 5px;
}

.panel .h2-large {
    font-weight: 400;
}

.panel h6 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 21px;
    line-height: 1.6rem;
}

.panel p {
    font-size: 16px;
    color: black;
}

html.dark .panel p {
    color: white !important;
}

html.dark p.text-black, html.dark h1.text-black {
    color: black !important;
}

.panel .btn {
    font-size: 16px;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: 600;
    color: black;
}

html.dark .panel .btn .btn-dark, .panel .btn-dark {
    color: white !important;
}

@media (min-width: 1200px) {
    .row.text-align-vertical {
        display: flex;
        align-items: center; /* Vertikalt centrerar innehållet */
    }
}

html.dark .btn-light {
    border-color: white !important;
}

.counter {
    color: #4a4848;
    font-family: 'DINPro-Regular',Arial, Helvetica, sans-serif !important;
}


.float-down-right {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
}

.fa-circle-arrow-right {
    font-size: 35px;
}

.float-down-right {
    position: absolute;
    bottom: 20px;
    right: 30px;
}

.float-down-right-transparent {
    background: transparent;
}


@media (min-width: 1440px) {
    .float-down-right {
        bottom: 20px;
    }

    .jumbotron {
        min-height: 400px !important;
    }
}

@media (max-width: 1440px) {
    .panel-equal-height-2 {
        padding-bottom: 25%; /* Sätter padding för att skapa en kvadrat */
    }
}

@media (max-width: 1200px) {
    .panel-equal-height-2 {
        padding-bottom: 55%; /* Sätter padding för att skapa en kvadrat */
    }

    h1 {
        line-height: 1.1em;
    }

    .hide-on-xl {
        display: none;
    }

    .align-bottom {
        bottom: 0;
        left: 20px;
    }
}

@media (max-width: 991px) {
    .panel-equal-height-2 {
        padding-bottom: 20%; /* Sätter padding för att skapa en kvadrat */
    }

    .hide-on-xl {
        display: inherit;
    }

    .jumbotron {
        min-height: 280px !important;
    }

    .align-bottom {
        bottom: 20px;
        left: 40px;
    }

    .panel {
        padding: 15%;
    }
}

@media (max-width: 768px) {
    .custom-border-right::after {
        background-color: transparent;
    }

    .panel {
        padding: 90px;
    }
}

@media (max-width: 575px) {
    .jumbotron {
        min-height: 480px !important;
    }

    .mt-sm-1 {
        margin-bottom: 5px;
    }

    .panel {
        padding: 70px;
    }
}

@media (max-width: 475px) {
    .panel {
        padding: 30px;
    }

    .h1-large {
        font-size: 45px;
    }

    .h2-large {
        font-size: 35px;
    }

    .panel-equal-height-2 {
        padding-bottom: 30%; /* Sätter padding för att skapa en kvadrat */
        padding: 20%;
    }

    #chatbot-toggler {
        bottom: 15px !important;
    }

    .float-down-right {
        bottom: 20px;
        right: 30px;
    }

    .mb-sm-0 {
        margin-bottom: 0;
    }

    .btn-rounded {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bg-beeline {
        height: 420px;
    }

    .text-sm-nowrap {
        white-space: nowrap !important;
    }

    .jumbotron {
        min-height: 350px !important;
    }
}

.btn-rounded-right {
    border-top-right-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

#txtSearch {
    padding-left: 20px;
}

html.dark #txtSearch {
    background: #589fdd4f;
    color: white;
}

    html.dark #txtSearch::placeholder {
        color: #c3d3d3 !important;
    }


/* sökrutan mobil*/
@media (max-width: 768px) {
    .input-group {
        flex-direction: unset !important;
        flex-wrap: nowrap;
    }
}

/* */

.owl-carousel .item {
    padding-right: 40px;
    bottom: 50%;
}

    .owl-carousel .item img {
        max-height: 50px;
        object-fit: scale-down;
    }

.shortcut-container {
    display: flex;
    flex-wrap: wrap;
    margin: 10px;
}

.shortcuts {
    position: relative;
    padding: 15px;
    border-radius: 20px;
    border: 5px solid transparent;
    flex: 1;
    min-width: 200px;
    transition: background 0.3s ease, border 0.3s ease;
}

    .shortcuts a {
        text-decoration: none;
    }

    .shortcuts:hover {
        background: #f9f9f9;
        border: 1px solid #f1f1f1;
        border: 5px solid transparent;
    }

html.dark .shortcuts:hover {
    background: #333944;
}

.shortcuts:hover::after {
    content: "\e09f";
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    color: #333;
    animation: beat-fade 1s infinite alternate;
}

/* stjärna med meddelande */

.starburst-container .price-container {
    position: absolute;
    left: 2.5rem;
    top: 2rem;
    transform: rotate(-35deg)
}

    .starburst-container .price-container:after, .starburst-container .price-container:before {
        position: absolute;
        top: 0;
        left: 0;
        content: ""
    }

    .starburst-container .price-container:before {
        transform: rotate(-22.5deg)
    }

    .starburst-container .price-container:after {
        transform: rotate(22.5deg)
    }

    .starburst-container .price-container, .starburst-container .price-container .price, .starburst-container .price-container:after, .starburst-container .price-container:before {
        width: 4.0em;
        height: 4.0em;
        background: #308cce;
    }

        .starburst-container .price-container .price {
            position: absolute;
            right: 0;
            bottom: 0;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 4.0em;
            transform: rotate(45deg)
        }

            .starburst-container .price-container .price > span {
                position: relative;
                z-index: 10;
                color: #fff;
            }

                .starburst-container .price-container .price > span.big {
                    font-weight: 700;
                    font-size: 1.55em;
                    line-height: .9em
                }

                .starburst-container .price-container .price > span.small {
                    font-weight: 600;
                    font-size: .775em;
                    line-height: 1em;
                    padding: 3px;
                }

.starburst-container_action > .button {
    position: relative;
    z-index: 2;
    margin: 0
}

.starburst-container_text {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    margin-bottom: 2rem
}

    .starburst-container_text > h2 {
        margin-bottom: .25em;
        font-size: 5vw;
        line-height: 1;
        text-transform: uppercase
    }
