/*Main*/

@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


select {
  -webkit-appearance: none; /* Tar bort Safari-specifik styling */
  appearance: none; /* Tar bort standard styling för andra moderna webbläsare */
  background: none; /* Anpassa som du vill */
}

*{
	padding:0;
	margin:0;
	box-sizing: border-box;	
}

body{
	font-family:'Montserrat', sans-serif!important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::-moz-selection {
  background-color: #000!important;
  color: #fff;
}
::selection {
  background-color: #000!important;
  color: #fff;
}


.main{
	background-color:#f2f0ef;
}

h1,h2,h3,h4,h5,h6{
	font-family:'Montserrat',sans-serif!important;
	letter-spacing:-.04em;
	font-weight:600;
}

p,span,a{
	font-family:'Montserrat',sans-serif!important;
	font-size:16px;
	line-height:1.85;
}


.mt1{
	margin-top:25px;
}

.mt2{
	margin-top:50px;
}

.mt3{
	margin-top:75px;	
}

.mt4{
	margin-top:100px;
}

.mt5{
	margin-top:125px;	
}


.mb1{
	margin-bottom:25px;
}

.mb2{
	margin-bottom:50px;
}

.mb3{
	margin-bottom:75px;	
}

.mb4{
	margin-bottom:100px;
}

.mb5{
	margin-bottom:125px;	
}

.img-responsive{
	width:100%!important;
	height:auto!important;
}

.img-responsive-ar{
	width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

#toTop{
  position:fixed;
  bottom:80px;
  right:20px;
  width:50px;
  height:50px;
  background-color:#0a0a0a;
  /* —— ny ikon (mörk cirkel + vit uppåtpil) —— */
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA0OCA0OCcgZmlsbD0nbm9uZSc+PHBhdGggb3BhY2l0eT0nLjUnIGQ9J000NCAyNGEyMCAyMCAwIDEgMC00MCAwIDIwIDIwIDAgMCAwIDQwIDAnIGZpbGw9JyMyMDIwMUYnLz48cGF0aCBkPSdNMTYuOTQgMjUuOTRhMS41IDEuNSAwIDEgMCAyLjEyIDIuMTJMIDI0IDIzLjEyID I4Ljk0IDI4LjA2YTEuNSAxLjUgMCAxIDAgMi4xMi0yLjEybC02LTZhMS41IDEuNSAwIDAgMC0yLjEyIDBsLTYgNiEgJyBmaWxsPScjZmZmJy8+PC9zdmc+");
  background-size:100% 100%;
  background-repeat:no-repeat;
  background-position:center;
  border:none;
  cursor:pointer;
}


#toTop:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}

#toTopHover, #toTop .fas {
    display: none;
}

/*Sidan*/

.startknapp-wrapper{
    width: 100%;
    margin-top: 20px;
}

.startknapp{
    padding: 14px 28px 14px 28px;
    margin: 10px 0;
    font-size: 15px;
    font-weight: 600;
    background-color:#000000;
    color: #ffffff;
    border: 1px solid #000000;
    /*border-radius: 50px;*/
    text-decoration: none;
}

.startknapp:hover{
	color: #fff;
    background-color: #434343;
    border: 1px solid #434343;
}

.tb-btn-bounce {
  position: relative;
  display: inline-block;
  padding-right: 2.5rem;   
}

.tb-btn-bounce .arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  animation: bounce 1.4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(-40%); }
}

.startknapp2{
	padding: 14px 30px 14px 30px;
    margin: 0px 10px 0px 10px;
    font-size: 15px;
    font-weight: 600;
    background-color:#fff;
    color: #000;
    border: 1px solid #fff;
    border-radius: 50px;
    text-decoration: none;
}

.sektion-light-titel {
    display: inline-block;
    width: 100%;
    font-size: 27px;
    font-weight: 600;
    color: #d2d2d2;
    margin-bottom: 10px;
    margin-bottom: 10px;
    font-family: Montserrat-Regular;    
}

.sektion-text {
    font-size: 15px;
    font-family: Montserrat-Regular;
	line-height: 1.9;
    letter-spacing: 0.01em;
    color: #d2d2d2;
}

/*HTML sektioner*/
.main-container1{
	padding:0;
	overflow:hidden;
}

.main-container2{
	padding:10vh 0 10vh 0;
	overflow:hidden;
}

.main-container3{
	padding:10vh 0 10vh 0;
	overflow:hidden;
}

.main-container4{
	padding:10vh 0 10vh 0;
	overflow:hidden;
}

.main-container5{
	padding:10vh 0 10vh 0;
	overflow:hidden;
}

.main-container6{
	padding:10vh 0 10vh 0;
	overflow:hidden;
}

.main-container7{
	/*Senaste bilar slider*/
	background-color:#f2f0ef;
	padding:10vh 0 10vh 0;
	overflow:hidden!important;
}

.main-container8{
	/*Senaste bilar slider*/
}

.main-container9{
	padding:10vh 0 10vh 0;
	overflow:hidden;
}

.main-container10{
	padding:10vh 0 10vh 0;
	overflow:hidden;
}

.main-container11{
	padding:10vh 0 10vh 0;
	overflow:hidden;
}

.main-containerfooter{
	background-color:#000;
	padding:0;
	overflow:hidden;
}

.header-link a{
	color:#EB001F;
	font-size:16px;
	text-decoration:none;
}

.bil-block-img{
	
}


.slides-content{
	border:0!important;
	padding: 0 0 0 5px;
}


.slides-content span {
    background: transparent;
    color: #1e1e1c;
    text-transform: uppercase;
}

.slides-modell{
	font-size:16px;
	font-weight:600;
	padding: 5px 0 0 0;
	color:#1e1e1c;
	text-align:left!important;
	text-overflow:ellipsis;
	white-space: nowrap;
	height:auto;
}

.slides-artal{
	font-size:16px;
	color:#1e1e1c;
	font-family:'Montserrat', sans-serif!important;
	display:inline-block!important;
	margin-right:10px;
}

.slides-miltal{
	font-size:16px;
	color:#1e1e1c;
	font-family:'Montserrat', sans-serif!important;
	display:inline-block!important;
	margin-right:10px;
}

.slides-pris{
	font-family: 'Montserrat', sans-serif !important;
    font-size: 2rem;
    color: #1e1e1c;
    border: 1px solid #1e1e1c !important;
    width: 40%;
    /* border-radius: 2em; */
    padding: 10px 0;
    text-align: center;
    margin-top: 5px;
}

.select-box {
    padding: 15px;
    width: 100%;
    font-size: 16px;
    border-radius: .25rem;
    border: 1px solid #EAEAEA;
    /* background: #f2f0ef; */
    color: #0a0a0a;
}

.search-container {
    padding: 3rem 2rem;
    background-color: #fdfdfd;
    border-radius: .25em;
    margin-top: -5.5em;
}

.searchbox-header{
	margin-top:0!important;
	padding-left:0!important;
	background:#0a0a0a;
	border-radius: .25em;
}

.searchbox-header h4 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom:10px!important;
	padding:15px;
	color:#fff;
}

.search-box {
    padding: 15px;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    border:1px solid #EAEAEA;
}

.search-box::placeholder {
  color: #0a0a0a;              /* ändra till den nyans du vill */
  opacity: 1;                  /* 1 = helt opak, 0.5 = halvgenomskinlig */
}

.search-row-margin{
	margin:20px!important;
}

#sokform{
	display: block;
    margin-top: 1.25em;
}

.btn-visafilter {
    width: fit-content;
    display: block;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    margin: 0 auto;
}

.btn-visafilter-text{
	font-size:16px;
	font-weight:500;
}

.btn-search {
    display: block;
    height: auto;
    /* border-radius: 4px; */
    font-size: 16px;
    padding: 1.45rem;
    text-align: center;
    text-decoration: none;
    background-color: #34bd77 !important;
    color: #ffffff !important;
    font-weight: 500;
    border-radius: .25rem;
}



.sortering-box {
    color: #0a0a0a;
    width: fit-content;
    padding: 0 10px;
    margin-right: -15px;
}

.sortering-pretext{
	font-weight:600;
	color:#0a0a0a;
}

.antalsidor {
	padding:60px 0 auto;
    display: block;
}

.antalsidor-text{
	font-weight:600;
	color:#0a0a0a;
}

#row1{
	margin-top:20px;
}

.bil-block-main {
    color: #1e1e1c;
    border: 0;
}

.bil-block-header{
	max-height: none;
    overflow: hidden;
}

.bil-block-modell {
    color: #0a0a0a;
    height: auto;
    max-height: 50px;
	text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    padding: 5px 0 0 0;
    display: block;
    width: 100%;
    text-transform: uppercase;
}

.bil-block-modell span {
    color: inherit;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight:600;
}

.bil_block_info_inner{
    display: flex;
    flex-direction: row;
    background: transparent;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
    font-size:15px;
}

.bil_block_info_inner span {
	font-size:14px;
}

.bil-block-arsmodell{
	display:flex;
}

.bil-block-drivmedel{
	display:flex;
}

.bil-block-vaxellada{
	display:flex;
}

.bil-block-miltal{
	display:flex;
}

.bil-block-info-left{
	width:auto;
	color:#0a0a0a;
	font-weight:600;
}

.bil-block-info-right{
	width:auto;
	padding: 0 0 0 5px;
	color: #0a0a0a;
}

.bil-block-pris {
	display: inline-flex;
    flex-direction: row;
    align-items: stretch;
    column-gap: 20px;
	background-color: transparent;
    width: 100%;
    margin-top: 0;
    text-align: left;
    float: none;
    padding: 15px 0 15px 0;
    font-weight:600;
    font-size:20px;
	border-radius: 10px;
}

.bil-block-pris-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    border: 1px solid #020202;
    padding: 5px 10px;
    border-radius: 0;
    width: 160px;
    text-align: center;
    color: #d2d2d2;
    background-color: #000;
}
}

.bil-block-exklmoms-pris-text{
	font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #fff;
	width: 120px;
    /* border: 1px solid red; */
    padding: 5px 10px;
    text-align: center;
    background-color: #c2c2c2;
    border-radius: 2em;
    align-content:center;
}

.autoripa-col-wrapper{
	padding: 0 20px 30px 20px;
    background-color: #f1f1f2;
    border-radius: 0 0 2em 2em;
}

.top-meny-kontakt-titel a{
	color:#fff;
}



.start-linje{
	max-width:40px;
}

/* Dataval Container < End */


/* General */


.tb-hero-header{
	text-align:center;
	color:#f2f0ef;
}

.tb-hero-section{
	padding:25vh 0 25vh 0;
	background-size:cover;
}

.tb-content-box{
	padding:1em;
}

.tb-content-box hr{
	max-width:40px;
	border-top: 1px solid #0a0a0a;
}

.tb-content-box h3,
.tb-content-box p {
	color:#0a0a0a;
}

.tb-hero-box {
    position: absolute;
    top: 80%;
    left: 22%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    z-index: 2;
    text-align: left;
    color: #fff;
    /* background: #202020ba; */
    /* border-bottom: 7px solid #20202099; */
    /* padding: 3.25rem; */
}

.tb-section-header-w{
	text-align: center;
    margin: 0 auto 10vh;
    padding: 20px 20px;
    width: fit-content;
    display: block;
    color:#0a0a0a;
	border-radius: 15px;
	font-size: 26px;

}

.tb-section-header-b{
	text-align: center;
    margin: 0 auto 10vh;
    padding: 1em 0;
    width: fit-content;
    display: block;
    background: bbbbbb;
    color:#fff;
    border-radius: 15px; 
}

/* Cards */

.tb-card {
  position: relative;     
  overflow: hidden;       
  border-radius: 8px;     
  background:#f8f8f8;
  cursor:pointer;
}

.tb-card-thumb {
  position: relative;
  overflow: hidden;          
  aspect-ratio: 16 / 9;
}

.tb-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  transform-origin: center;
}

.tb-card:hover .tb-card-img {
  transform: scale(1.2);
}

.tb-card-content{
	padding:1em;
}

.tb-card-content h4{
	color:#0a0a0a;
}


/* Video */

#topvideo {
  display:block;
  width:-webkit-fill-available;
  width: 100%;
  height: 100vh;         /* helskärm eller välj egen höjd */
  object-fit: cover;
}

.topvideo-wrapper{
  position:relative;   /* ankare för overlay */
  width:100%;
  overflow:hidden;     /* klipp om något sticker ut */
}

.topvideo-wrapper::after {
    content: "";
    position: absolute;
    height: 100vh;
    inset: 0;
    background: linear-gradient(rgb(0 0 0 / 43%), /* #111827 med 35 % opacitet */ rgb(0 0 0 / 83%) /* mörkare nedåt */);
    pointer-events: none;
}



/* Media */


@media (max-width: 767.98px) {      /* < 768 px  */
  .tb-row-reverse{
	display:flex;
	flex-direction: column-reverse;
	}
	
	.tb-hero-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    z-index: 2;
    text-align: center;
    color: #fff;
    /* background: #202020ba; */
    /* border-bottom: 7px solid #20202099; */
    /* padding: 3.25rem; */
}

}



