﻿
/* diverse inställningar för produktsidan */


.price-tag-small {
    position: absolute;
    z-index: 9;
    right: 4%;
    bottom: 180px;
}

.medal {
    color: #d96060;
}



.list.list-icons li {.owl-carousel .owl-nav button.owl-next 
    padding-left: 0px;
}

.columns {
    display: grid;
    grid-template-columns: 52.0% 48.0%;
}

.col-50 {
    flex: 50%;
    margin-bottom: 7px;
}


/* för liknande fordon */
.itm-name {
    margin-top: 10px;
    font-weight: 700;
    font-size: 1.1em;
}

.itm-model {
    font-weight: 600;
    font-size: 0.9em;
}

.itm-price {
    font-weight: 300;
    font-size: 0.9em;
}

.itm-region {
    font-weight: 300;
}

.carousel_similar .owl-item img {
    border-radius: 0px;
}

.img-2 {
    background-size: contain;
    height: 22vh;
    max-height: 22vh;
    display: block;
    object-fit: cover;
   /* -webkit-filter: grayscale(10%);
    filter: grayscale(10%);
    opacity: 0.6;*/
}
/* scrollar popup-fönster */
.modal-dialog-fit,
.modal-content-fit {
    /* x% of window height */
    height: 95%;
}

.modal-body-fit {
    /* 100% = dialog height, 120px = header + footer */
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}





#more {
    display: none;
}

html .badge-primary {
    background-color: #E31937;
}

html.dark .amount {
    color: #438523 !important;
}

html.dark .owl-carousel .owl-nav button[class*="owl-"] {
    background-color: #323536;
    border-color: #323536 #323536 #323536;
    color: #FFF;
}

html.dark .text-color-primary, html.dark .text-primary {
    color: #808080 !important;
}

.img-fluid-mini {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

    .img-fluid-mini img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        transform: translate3d(-50%, -50%, 0);
    }

.list-item-2-col {
    list-style-type: disc;
    list-style-position: inside;
    column-count: 2;
    column-gap: 10px;
}

.list-item-2-item {
    /*width: 100%;
            white-space: nowrap;
            overflow-x: hidden;
            overflow-y: hidden;
            text-overflow: ellipsis;*/
}

.list-icons-2 {
    list-style: none;
}

    .list-icons-2 li > [class*="fa-"]:first-child {
        color: cornflowerblue;
        padding-right: 10px;
    }

    .list-icons-2 li > [class*="fa-"]:first-child {
        font-size: 6px;
        color: rgb(200, 140, 9) !important;
        position: relative;
        top: -2px;
    }

.economic-plate {
    background-color: #272b2d;
}

html.dark .card {
    background-color: transparent !important;
    border: 1px solid #444548;
    border-radius: 10px;
}

html .bg-color-light-scale-1 {
    background-color: transparent !important;
}

html.dark .bg-color-light-scale-1 {
    /*background-color: #1b1a1a !important;*/
    background-color: transparent !important;
}

.card-title {
    margin-bottom: 0px;
}

.companylogo {
    max-height: 60px !important;
    overflow: hidden;
    cursor: pointer;
}

.pd-news {
    background-color: black;
    color: white;
    padding: 5px 10px 5px 10px;
    border-radius: 3px;
    position: relative;
    top: -40px;
    left:-10px;
}

.pd-message {
    position: relative;
    top:80px;
}
.pd-author {
    position: relative;
    top: 80px;
}

html-dark .pd-news {
}

.jumbotron {
    max-width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100% !important;
}

.ny {
    font-size: 0.7em !important;
}

.wp-block-image {
    margin-bottom: 1em;
}

figure {
    margin: 0 0 1rem;
}

.wp-block-image img {
    max-width: 100%;
}

.adsheader {
    font-size: 0.7em;
    position: relative;
    bottom: 3px;
    text-transform: uppercase;
}

.icon-settings {
    padding-top: 4px;
}

.owl-carousel .owl-item img {
    border-radius: 4px !important;
}

.thumb-info {
    max-width: 98%;
}

.mb-sm-2 {
    margin-bottom: 0.5rem !important;
}

.imglogo {
    max-width: 230px;
    max-height: 150px;
}

.badge-success {
    background-color: #3da34c;
}

html.dark .badge-success {
    color: white;
    background-color: #3da34c;
}

.playvideo {
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 45px;
    text-align: center;
}

#btnLike:hover {
    cursor: pointer;
}

ul.simple-post-list .list-item {
    padding: 3px 0;
}

.list-item {
    padding-top: 2px 0;
}

.marginalen {
    /*background-color: #E31937;*/
    /*border: 1px solid #f1f1f1;*/
}

    .marginalen p {
        /*color: white;*/
        line-height: 1.1em;
    }

.marginalen-logo {
    max-height: 40px;
    max-width: 160px;
    padding-bottom: 5px;
}

.rating-area {
    -webkit-box-align: center !important;
    -webkit-box-direction: normal !important;
    -webkit-box-orient: horizontal !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin-left: 12px !important;
    width: 75% !important;
}

.rating-bg {
    position: relative !important;
    height: 4px !important;
    width: 100% !important;
    margin-right: 4px !important;
    background: rgb(221, 221, 221) !important;
    border-radius: 2px !important;
}

.rating-indicator {
    position: absolute !important;
    top: 0px !important;
    left: 0px !important;
    bottom: 0px !important;
    background: #222222 !important;
    border-radius: 2px !important;
}

html.dark .rating-bg {
    background: rgb(58 60 62) !important;
}

html.dark .rating-indicator {
    background: #fff !important;
}

.w-90 {
    width: 85%;
}

.w-87 {
    width: 87%;
}

/* hero images */
.primary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

/* Flexbox-based solution: */
.images--flex {
    width: 100%;
    display: flex;
}

.images--flex > * {
    flex: 1;
    height: 45vh;
    max-width: 50%;
}

.images--flex__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.images--flex__inner > * {
    width: 50%; /* 50% normalt */
    height: 50%;
}

.img-hero {
    width: 100%; /* normalt 50% */
}

.img-out {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding-right: 8px;
}

.radius-right-top {
    border-top-right-radius: 20px;
}

.radius-right-bottom {
    border-bottom-right-radius: 20px;
}

.custom-image-fit img {
    position: absolute;
    max-height: 100%;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate3d(-50%, -50%, 0);
}

.img-cover {
    overflow: hidden;
    filter: brightness(95%);
}

.img-all-button {
    position: absolute;
    right: 25px;
    bottom: 10px;
}

.nyvideo {
    position: absolute;
    color: white;
    right: 72%;
    top: 45%;
    display: inline-block;
    text-align: center;
    z-index: 2;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 50px;
    cursor: pointer;
}


/* formaterar beroende på skärmstorlek*/

@media screen and (min-width: 1920px) {
    .img-fluid-mini {
        max-height: 100px;
    }

    .images--flex > * {
        height: 45vh;
    }
}

@media screen and (max-width: 1920px) {
    .img-fluid-mini {
        max-height: 100px;
    }

    .images--flex > * {
        height: 45vh;
    }
}

/* för avlånga skärmar */
@media screen and (min-width: 1920px) and (min-height: 1024px) {
    .img-fluid-mini {
        max-height: 100px;
    }

    .images--flex > * {
        height: 60vh;
    }
}

@media screen and (max-width: 1440px) {
    .img-fluid-mini {
        max-height: 100px;
    }

    .images--flex > * {
        height: 40vh;
    }
}

@media screen and (max-width: 1024px) {
    /* start of large tablet styles */
    .img-fluid-mini {
        max-height: 100px;
    }

    .images--flex > * {
        height: 30vh;
    }
}

@media screen and (max-width: 767px) {
    /* start of medium tablet styles */
    /* Adding a fixed/percentage min-width could ensure that the image doesn't get too small */
    .img-fluid-mini {
        max-height: 80px;
    }

    .pt-md-1 {
        padding-top: 2px !important;
    }
}

@media screen and (max-width: 479px) {
    /* start of phone styles */
    /* It's possible to hide the image if the screen becomes too small */
    .img-fluid-mini {
        max-height: 60px;
    }

    .pt-sm-1 {
        padding-top: 2px !important;
    }
}

/* height on screen */
@media screen and (max-height: 1024px) {
    /* ipad pro */
    .images--flex > * {
        max-height: 50vh;
    }
}

/* fordonsdata */
ul {
    padding: 0;
}

.nav-list-simple {
    list-style-type: none;
    padding: 0 !important;
}

.nav-list-simple .fa-light, .nav-list-simple .fa-solid {
    font-size: 19px;
    position: relative;
    top: 2px;
}

.nav-list-simple li {
    height: 35px;
}

/* feedback-ikon och text */
.avatar-format-text {
    float: left;
    margin-top: -1px;
    padding-left: 10px;
    line-height: 1.3em;
}

/* ikon för fordonshistorik */
.circle-icon-solid {
    background-color: #696866;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    line-height: 23px;
    vertical-align: middle;
    padding: 1px;
    font-size: 11px !important;
    color: white;
}

.circle-icon {
    border: 1px solid #777;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    line-height: 23px;
    vertical-align: middle;
    font-size: 11px !important;
    color: black;
}

html.dark .circle-icon {
    color: #fff;
    border-color: dimgray;
    background-color: #383f48;
}

html.dark .circle-icon-solid {
    background-color: darkgreen;
    border: 1px solid dimgray;
}

.history-status {
    display: inline-block;
    width: 140px;
    font-weight: 600;
}








.card {
    border-radius: 20px;
}

.carousel_similar .owl-nav {
    top: 35%;
}

/* vänster/högerpil */
.owl-carousel button.owl-prev:after {
    font-family: "Font Awesome 6 pro";
    content: "\f053";
}

.owl-carousel button.owl-next:after {
    font-family: "Font Awesome 6 pro";
    content: "\f054";
}

.owl-carousel .owl-nav button[class*="owl-"] {
    border-radius: 100px;
    margin: 10px;
    background-color: black;
}

    .owl-carousel .owl-nav button[class*="owl-"]:hover, .owl-carousel .owl-nav button[class*="owl-"].hover {
        background-color: #222121;
    }

/* filter ovanpå bilderna */
.img-2:hover, .img-2:focus {
    opacity: 0.9;
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    cursor: pointer;
}

.owl-carousel .owl-nav button.owl-next {
    right: 12px;
}

/* tar bort dubbla << i navigering på similar fordon */
.fa-chevron-left:before, .fa-chevron-right:before {
    content: "";
}

/* storlek på mini-bilderna */
@media only screen and (max-width: 480px) {
    .companylogo {
        max-width: 170px !important;
    }

    .img-fluid-mini {
        min-height: 110px !important;
        max-height: 110px !important;
    }
}

@media only screen and (max-width: 768px) {
    .img-fluid-mini {
        min-height: 120px !important;
        max-height: 120px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .img-fluid-mini {
        min-height: 130px !important;
        max-height: 130px !important;
    }
}

@media (min-width: 1024px) {
    .modal-xl {
        min-width: 840px !important;
    }
}




/*#region Kalenderbokning provkörning */

/* css för kalenderbokningen */
.calendarbooking .calday {
    border: 1px solid #f3f3f3;
    text-align: center;
    background-color: #f9f9f9;
    padding-top: 10px;
    padding-bottom: 10px;
}

.calendarbooking .dayname {
    font-size: 0.9em;
    font-weight: 700;
}

.calendarbooking .daynumber {
    font-weight: 400;
    font-size: 1.4em;
}

.calendarbooking .current {
    color: #96bf32;
    font-weight: 600;
}

.calendarbooking .disabled, .calendarbookingitems .disabled {
    background-color: transparent;
    color: #91878759;
}

.calendarbookingitems .caldayrow {
    text-align: center;
    border-right: 1px solid #f3f3f3;
    padding-bottom: 13px;
    padding-top: 10px;
}

.calendarbookingitems .calitem {
    text-decoration: underline;
    font-weight: 600;
    color: black;
    cursor: pointer;
}

.calendarbookingitems .caldayrow:first-child {
    /*border-left: 1px solid #f3f3f3;*/
}

.calendarbookingitems .caldayrow > span {
    position: relative;
    top: 10px;
    bottom: 10px;
}

.calendarbookingitems .caldayrow:last-of-type {
    padding-bottom: 50px;
    border-right: 1px solid transparent;
}

/* rundade kanter */
.calendarbooking .calday:first-of-type {
    border-top-left-radius: 20px;
}

.calendarbooking .calday:last-of-type {
    border-top-right-radius: 20px;
}

.calendarbookingitems.seven-cols {
    border: 1px solid #f3f3f3;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* dark mode #3b485126 */

html.dark .calendarbooking .current {
    color: #1b6b3e;
}

html.dark .calendarbookingitems .calitem {
    color: white;
}

html.dark .calendarbooking .calday {
    background-color: #1b1c1c;
    border: 1px solid #3f4247;
}

html.dark .calendarbookingitems .caldayrow {
    border-right: 1px solid #3f4247;
}

    html.dark .calendarbookingitems .caldayrow:last-of-type {
        border-right: 1px solid transparent;
    }

html.dark .calendarbooking .disabled {
    background-color: #69707526;
    color: #91878759;
}

html.dark .calendarbookingitems .disabled {
    background-color: transparent;
}

html.dark .calendarbookingitems.seven-cols {
    border: 1px solid #3f4247;
}

/* rund navigeringsikon */
.navigator-circle {
    text-decoration: none;
    display: inline-block;
    padding: 6px 14.4px;
    border-radius: 50%;
    background-color: #000;
    cursor: pointer;
}

    .navigator-circle i {
        color: white;
        position: relative;
        top: 1px;
        left: 0px;
        font-size: 1.3em;
    }

/* bokningskalender med 7 kolumner */

@media (min-width: 375px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
        max-width: 14.285714285714285714285714285714% !important;
        flex: none !important;
    }
}

@media (min-width: 768px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
        max-width: 14.285714285714285714285714285714% !important;
        flex: none !important;
    }
}

@media (min-width: 992px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
        max-width: 14.285714285714285714285714285714% !important;
        flex: none !important;
    }

    /* 2 kolumner av datum? */
    .caldayrow.columns-2.col-md-1,
    .caldayrow.columns-2.col-sm-1,
    .caldayrow.columns-2.col-lg-1 {
        column-count: 2;
        -webkit-column-count: 2; /* Chrome, Safari, Opera */
        -moz-column-count: 2; /* Firefox */
        column-gap: 10px;
        /*column-rule: 1px solid red;*/
    }
}

@media (min-width: 1200px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
        max-width: 14.285714285714285714285714285714% !important;
        flex: none !important;
    }
}

/*#endregion */


/* sektion kontakta mig */
.group-container {
    border: 1px solid #d9dbe2;
    border-radius: 20px;
    padding: 15px;
}

html.dark .group-container {
    border: 1px solid #575758;
}

.payment-format-text {
    width: 85%;
    margin-top: 10px;
    padding-left: 31px;
}

.radio-custom label {
    font-weight: 700;
}

body.modal-open {
    overflow: visible;
}