/*
Theme Name: Motorlist
Theme URI: http://motorlist.se
Author: Dan Rosshagen
Author URI: http://motorlist.se
Description: Köp och sälj bilar i hela Sverige - gratis!
Version: 2.0
*/

html {
  -webkit-text-size-adjust: 100%;
}


body {
    font-family: "Exo", sans-serif;
    color: #000;
    background: #fff;
	margin: 0;
}

/* HUVUDMENY */



section.ny-annons {
    max-width: 40rem;
}


section .promo {
  color: #000;
  font-size: 12px;
  font-family: "Exo", sans-serif;
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

section .promo h1 {
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  margin: 0;
}

section .promo a {
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

section .promo a:hover {
  text-decoration: underline;
  color: inherit;
}

#moreContent {
  color: #000;
  font-size: 12px;
  font-family: "Exo", sans-serif;
  font-weight: 300;
  margin-top: 10px;
  overflow: hidden;
  transition: height 0.4s ease;
  height: 0;
  max-width: 800px;
}

#moreContent p{
  margin: 3px 0;
}

footer .container p{
  	font-size: 12px;
	font-weight: 300;
}



/* ANNONSSIDA */


/* Sökförmulär */

#carFormSteps > .step > label{
	font-weight: 600;;
	margin-bottom: 6px;
}

#carFormSteps > .step > label span{
	font-weight: 400;
	display: inline;
	position: relative;
}



#slider-step, #slider-mileage {
    height: 5px;
	padding: 0px 8px;
	margin: 10px 5px;
}


#car_year_display, #car_mileage_display {
	margin-left: 9px;
}


#bil-filter-results{
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem; /* space between cards */
    width: 100%;
    box-sizing: border-box;
}


/* Each card inside the results container */
#bil-filter-results > span { /* or > div if your cards are divs */
    flex: 1 1 calc(20% - 1rem); /* 20% for 5 columns, minus gap adjustment */
    box-sizing: border-box;
	max-width: calc(20% - 1rem);
}

#bil-filter-results .bil-bild .mySwiper{
  height: 160px;
  overflow: hidden;
  background-color: rgb(209, 210, 214);
}

/* Optional: responsive stacking */
@media (max-width: 1024px) {
    #bil-filter-results > span {
        flex: 1 1 calc(33.333% - 1rem); /* 3 columns on tablet */
		max-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    #bil-filter-results > span {
        flex: 1 1 calc(50% - 1rem); /* 2 columns on small tablets */
		max-width: calc(50% - 1rem);
    }
	
	#bil-filter-results .bil-bild .mySwiper{
	  height: 110px;
	}
}



#bil-filter-results .bil-bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

#bil-card {
    position: relative;
    color: rgb(26, 32, 48);
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 2px, rgba(0, 0, 0, 0) 0px 1px 4px, rgba(0, 0, 0, 0) 0px 2px 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 0.2rem;
}

.bil-content{
	text-align: left;
    margin: 0.5rem;
	font-family: "Open Sans", sans-serif;
	color: #222!important;
	line-height: 1.3em;
}

.bil-content a {
    text-decoration: none;   
    color: inherit;          
}

.bil-content .info{
	color: #aaa!important;
	text-decoration: none;
}

.bil-content .bil-ort{
	color: #aaa!important;
	margin-top: 0.3em;
}


.bil-content h3 {
    font-size: 0.9rem;
    font-weight: 550;
	font-family: "Exo", Sans-serif;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;         /* 1.5em line height × 3 lines */
    line-height: 1.2em;	
	margin: 0;
	color: #222!important;

}

.bil-content div{
	font-size: 0.75rem;
}

.bil-content .info span:not(:last-child)::after {
    content: "|";
    margin: 0px 2px;
    color: rgb(209, 210, 214);
	  
}

.bil-content .priset{
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  color: #222!important;
}



@media (max-width: 768px) {
	.bil-filter-dropdown .dropdown{
		margin-bottom: 6px;
	}
	
	.dropdown-toggle {
    	padding: 5px 10px;
	}
	
	#active-filters{
		margin-top: .6rem!important;
	}
	
	.bil-content{
		margin: 0.3rem 0.2rem 0.2rem 0.2rem;
	}
	
	.bil-content h3 {
		font-size: 0.8em;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		min-height: 2.4em;         /* 1.2em line height × 2 lines */
		line-height: 1.2em;
		margin-bottom: 0.2em;
		margin-top: 0.2em;
	}
	
	.bil-content .priset{
		font-size: 0.85rem;
	}
	
	.bil-content .bil-ort{
		font-size: 0.6rem;
		margin-top: 0.7em;
	}
	
	.bil-content .info{
		font-size: 0.7rem;
	}
}


#output-table button, #output-table input{
	padding: 0px 20px;
	font-size: 0.9em;
}

#output-table td{
	padding: 8px;
}
/*
#carFormSteps .car-option {
  position: relative;
  display: inline-block;
  margin-right: 10px!important;
  text-align: center;
}

.car-options .car-option img{
  position: relative;
  bottom: -1px;
}

.car-options .car-option::after {
  content: attr(data-value);
  position: absolute;
  bottom: -8px;
  left: 33px;
  font-size: 12px;
	font-weight: 400;
  color: #000;
  padding: 2px 4px;
}*/


.car-options, .fuel-options, .vxl-options, .skick-options {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
	justify-items: start;
}

.car-option {
    display: flex;           /* flex row: radio + content */
    align-items: center;     /* vertical align */
    cursor: pointer;
    padding: 6px;
	font-size: 1rem;
    transition: border-color 0.2s;
	align-items: flex-start;
}

.car-option input[type="radio"] {
    margin-right: 8px;       /* space between radio and image/label */
}

.car-content {
    display: flex;
    flex-direction: column;  /* stack image + label */
    align-items: center;     /* center under the radio */
	margin-top: -1rem;
}

.car-label {
    font-size: 13px;
    text-align: center;
}



@media (max-width: 768px) {
  .car-options, .fuel-options, .vxl-options, .skick-options {
    grid-template-columns: repeat(2, 1fr);
  }
}


input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    width: 100%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem .5rem;
    transition: all .3s;
	box-sizing: border-box;
}


#titleInput, #textTextarea {
  padding-right: 40px; 
  box-sizing: border-box;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.ai-icon {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ai-icon:hover {
  animation: colorCycle 2s linear infinite;
  transform: scale(1.3);
}

@keyframes colorCycle {
  0% {
    filter: invert(32%) sepia(94%) saturate(7485%) hue-rotate(0deg) brightness(94%) contrast(102%);
  }
  100% {
    filter: invert(32%) sepia(94%) saturate(7485%) hue-rotate(360deg) brightness(94%) contrast(102%);
  }
}


#titleTooltip, #textTooltip {
    position: absolute;
    top: 10px; /* just below the input */
    right: 40px; 
    background: #f9f9f9;
    border-radius: 6px;
    padding: 10px 15px;
    width: 260px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 100;
    font-family: sans-serif;
    font-size: 14px;
}

#titleTooltip p, #textTooltip p {
    margin: 0 0 8px 0;
    color: #333;
}

#titleTooltip p, #textTooltip p {
    font-weight: bold;
}

#titleTooltip span, #textTooltip div {
    font-weight: 400;
}

#insertTitleBtn, #insertTextBtn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#insertTitleBtn:hover, #insertTextBtn:hover {
    background-color: #005bb5;
}

#textTooltip #suggestedText p, #textTooltip #suggestedText li{
	font-weight: 600!important;
}


.bil-filter-dropdown .dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: #f4f4f4;
    padding: 10px 8px 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    margin-top: 5px;
	max-height: 60vh;
	overflow-y: auto;
    z-index: 999;
    border-radius: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	display: none;
}

.bil-filter-dropdown .dropdown-menu {
	padding: 15px!important;
	box-sizing: border-box;
}

.bil-filter-dropdown .dropdown-menu label{
	padding-left: 0px;!important;
	display: flex;
    align-items: center;
}


/* Container for all dropdowns */
.bil-filter-dropdown .bil-filter-fold{
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* space between dropdowns */
}



.noUi-handle {
    border: none;
    border-radius: 3px;
    cursor: grab!important;
    box-shadow: none!important;
}

.noUi-handle:before, .noUi-handle:after {
    display: none!important;
}

.dropdown-arrow{
	margin-top: 3px;
	margin-left: 10px;
}

.noUi-target {
    background: #DFDFDF;
    border-radius: 6px;
    border: none;
	box-shadow: none;
}

.noUi-horizontal .noUi-handle.noUi-active {
    border-color: #57c5f7;
    box-shadow: 0 0 0 5px #96dbfa!important;
}

input.marke-checkbox2 {
	display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
	accent-color: #499ad4;
    width: 16px;
	height: 16px;
	background-color: #f0f0f0;
    border: none;
}

.dropdown-menu label {
    position: relative; 
    height: 30px;
    display: flex;
    align-items: center;
	padding-left: 15px;
}

.dropdown-menu label span{
    /*position: absolute;
    right: 10px;*/
	margin-left: .6rem;
    color: #707070;
	font-size: 12px;
}

.slider-labels {
    font-weight: bold;
    margin-bottom: 10px;
}

.sok-slider {
    height: 5px;
	padding: 0 8px;
	margin-bottom: 6px;
}

.sok-slider .noUi-connect, #slider-step .noUi-connect, #slider-mileage .noUi-connect {
    background: #499ad4!important;
}

.sok-slider .noUi-handle, #slider-step .noUi-handle, #slider-mileage .noUi-handle{
    height: 1.3rem;
    width: 1.3rem;
	background: #499ad4!important;
    top: -9px;
    right: -9px;
    border-radius: 50%;
	box-shadow: none;
}

.sok-values{
	text-align: center;
	margin-bottom: 15px;
}

#bil-filter-results {
    margin-top: 1rem;
}

.remove-filter svg{
	transform: translateY(2px);
}

.filter-chip.fade-out {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mySwiper .swiper-pagination-horizontal{
	position: relative;
	top: -15px!important;
}

.mySwiper .swiper-pagination-bullet-active{
	background: #FFFFFFDD;
}

.mySwiper .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    transform: scale(0.6);
}

.mySwiper .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    transform: scale(0.6);
}

.mySwiper {
  --swiper-pagination-bullet-horizontal-gap: 2px; /* change spacing */
}

.swiper-pagination-bullet-active {
    filter: none!important;
}


input.marke-checkbox, input.modell-checkbox, input.radio-checkbox, input.kontakt-checkbox, input.egenskap-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 1.4em;
    height: 1.4em;
    border: solid 0.06em #ccc;
    border-radius: 0.2em;
    background-color: #f4f4f4;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

input.marke-checkbox:checked, input.modell-checkbox:checked, input.radio-checkbox:checked, input.kontakt-checkbox:checked, input.egenskap-checkbox:checked {
    background-color: #499ad4;
    border-color: #499ad4;
}

input.marke-checkbox:checked::after, input.modell-checkbox:checked::after, input.radio-checkbox:checked::after, input.kontakt-checkbox:checked::after, input.egenskap-checkbox:checked::after {
    content: '';
    position: absolute;
	left: 0.45em;
  	top: 0.25em;
  	width: 0.25em;
  	height: 0.5em;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.sektionsList{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.sektionsList h2{
	color: #282828;
    font-family: "Exo", sans-serif;
    font-weight: 600;
	font-size: clamp(18px, 2vw,20px);
	margin: 0px 0px 10px 0px;
}

.mobil-meny {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 600px;
	background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.13);
    transform: translate(-50%, -50%) scale(.6);
    transition: transform 0.3s ease, opacity 0.2s ease;
    opacity: 0;
    z-index: 999;
	pointer-events: none;
}

@media (max-width: 768px) {
	.mobil-meny {
		max-width: 70%!important;
	}
}


.mobil-meny.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
	pointer-events: all;
}

.mobil-meny ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobil-meny ul li {
    margin: 1rem 0;
}

.mobil-meny ul li a {
    text-decoration: none;
    font-size: 30px;
    font-weight: 600;
    color: #000;
}

.mobil-meny-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 998;
}

.mobil-meny-overlay.active {
    opacity: 1;
    pointer-events: all;
}


/* Common button style */
#nextBtn,
#backBtn,
#goToStartBtn,
input[name="car_submit"],
#kontakt-saljare-form button,
.kontakt-form button{
    background-color: #499ad4;       /* Main color */
    color: #fff;                     /* Text color */
    border: none;                    /* Remove default border */
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 16px;                 /* Font size */
    font-weight: 600;                /* Bold text */
    cursor: pointer;                 /* Pointer on hover */
    transition: all 0.3s ease;       /* Smooth transition */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Subtle shadow */
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

/* Hover effect */
#nextBtn:hover,
#backBtn:hover,
#goToStartBtn:hover,
input[name="car_submit"]:hover {
    background-color: #3b82c4;       /* Darker shade */
    transform: translateY(-2px);     /* Slight lift */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15); /* Bigger shadow */
}

/* Active / click effect */
#nextBtn:active,
#backBtn:active,
#goToStartBtn:active,
input[name="car_submit"]:active {
    transform: translateY(0);        /* Reset lift */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Reset shadow */
}

.form-navigation {
    display: flex;
    justify-content: flex-end; /* Right align for Step 1 "Next" button */
    margin-top: 50px;
}

/* Fixed bottom navigation for Step 2 */
.form-navigation.fixed-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Back left, Next/Submit right */
    align-items: center;
    margin-top: 50px; /* optional spacing from form */
}



.fade-up {
  opacity: 0;
  transform: translateY(10px); /* start 20px lower */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0); /* move up into place */
}


/* Base section styling */
section, header, footer {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem;
}

/* Standard content wrapper */
section .content, header .content, footer .content {
  max-width: 80rem;    /* Constrain content */
  margin: 0 auto;
}

/* Fullwidth section */
section.fullwidth {
  width: 100%;          /* Stretch section itself */
  /*padding-left: 2rem;
  padding-right: 2rem;  */     
  position: relative;   /* Allow overlays if needed */
}

/* Fullwidth section content wrapper */
section.fullwidth .content {
  max-width: 80rem;     /* Keep content constrained */
  margin: 0 auto;
  padding: 2rem 1rem;   /* Optional inner padding for text spacing */
}


header{
	box-shadow: 0px 0px 80px 0px rgba(0, 0, 0, 0.12);
}

header .content {
  	display: flex;
  	justify-content: space-between; 
  	align-items: center;
}

header .motorlist-heading-title, header .motorlist-heading-title a {
  	font-family: "Fascinate", Sans-serif;
  	font-weight: 400;
  	text-transform: uppercase;
  	color: #282828;
  	text-decoration: none;
  	/* 3vw = 375 × 0.03 ≈ 11.2px */
  	/* 3vw = 1440 × 0.03 ≈ 43.2px */
	font-size: clamp(23px, 3vw, 36px);
  	margin: 0;
}


header .content .right-content>a.menu-toggle svg {
  	display: block;
	width: clamp(25px, 3vw, 40px);
  	height: auto; 
}

header>.content>nav>.mobil-meny-close {
  	position: absolute;
	top: 10px;
	right:10px;
	background: none;
	border: none;
}

header>.content>nav>.mobil-meny-close>svg:hover {
    cursor: pointer;    
}


.site-footer {
  /*background: #efefef;*/
  background: rgba(239, 239, 239, 0.8);
  padding: 0rem 1rem 2rem 1rem;
  font-family: "Open sans", sans-serif;
  color: #222;
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
}

.footer-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 0.5rem;
}

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

.footer-col ul li {
  margin-bottom: 0.3rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: #222;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #000;
  text-decoration: underline;
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.footer-social li a {
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-social li a i {
  margin-right: 0.4rem;
}

/* Footer bottom */
.footer-bottom {
  /*border-top: 1px solid rgba(0,0,0,0.1);*/
  text-align: center;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #444;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 0;
  }
  .footer-grid {
    gap: 1.5rem;
  }
  .footer-brand {
    font-size: 1.3rem;
  }
}

/* SKAPA ANNONS */
.sp .sparkle-button {
  --active: 0;
  background: white;
  border: 0;
  cursor: pointer;
  padding: 0.5em 1em;
  display: flex;
  align-items: center;
  gap: 0.25em;
  white-space: nowrap;
  border-radius: 50px;
  position: relative;
  scale: calc(1 + (var(--active) * 0.05));
  transition: .3s;
  border: 1.5px solid #333;
}

.sp .sparkle-button:active {
  scale: 1;
  transition: .3s;
}

.sp .sparkle path {
  color: #222;
  transform-box: fill-box;
  transform-origin: center;
  fill: currentColor;
  stroke: currentColor;
  animation-delay: .3s;
  animation-duration: 0.6s;
  transition: color .3s;
}

.sp .sparkle-button:is(:hover, :focus-visible) path {
  animation-name: bounce;
}

@keyframes bounce {
  35%, 65% {
    scale: var(--scale);
  }
}

.sp .sparkle path:nth-of-type(1) {
  --scale: 0.5;
  --delay: 0.1;
  --base: 40%;
}

.sp .sparkle path:nth-of-type(2) {
  --scale: 1.5;
  --delay: 0.2;
  --base: 20%;
}

.sp .sparkle path:nth-of-type(3) {
  --scale: 2.5;
  --delay: 0.35;
  --base: 30%;
}

.sp .sparkle-button:is(:hover, :focus-visible) ~ :is(.bodydrop, .particle-pen) {
  --active: 1;
  --play-state: running;
}

.sp .sparkle-button:is(:hover, :focus-visible) {
  --active: 1;
  --play-state: running;
}

.sp .particle {
  fill: #222;
  width: calc(var(--size, 0.25) * 1rem);
  aspect-ratio: 1;
  position: absolute;
  top: calc(var(--y) * 1%);
  left: calc(var(--x) * 1%);
  opacity: var(--alpha, 1);
  animation: float-out calc(var(--duration, 1) * 1s) calc(var(--delay) * -1s) infinite linear;
  transform-origin: var(--origin-x, 1000%) var(--origin-y, 1000%);
  z-index: -1;
  animation-play-state: var(--play-state, paused);
}


.sp .particle:nth-of-type(even) {
  animation-direction: reverse;
}

.sp .text {
  translate: 2% -6%;
  letter-spacing: 0.01ch;
  -webkit-background-clip: text;
  color: #222;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  line-height: 1.3em;
}

.sp .sparkle-button svg {
  inline-size: 1.25em;
  translate: -25% -5%;
}


/* Hide on tablet and smaller */
@media (max-width: 1024px) {
  .sp {
    display: none;
  }
}

/* STATISTIK PUFF STARTSIDA*/








/* MOBILMENY */

/* Hide mobile menu on desktop */
.container_meny {
  display: none;
}

.container_meny .item a,
.container_meny .item a img {
  -webkit-touch-callout: none;  /* disables callout on long press */
  -webkit-user-select: none;    /* prevents text selection */
  user-select: none;
}


/* Normal menu item link */
.container_meny .item {
  transition: box-shadow 0.15s, background 0.15s;  
  -webkit-tap-highlight-color: transparent; 
}

/* Pressed-down effect */
.container_meny .item.pressed {
  background: rgba(0, 0, 0, 0.15); 
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3); /* inner shadow for pressed look */
  transition: box-shadow 0.15s, background 0.15s;    
}

/* Show on mobile */
@media screen and (max-width: 768px) {
	.container_meny {
      display: flex;
      height: 50px;
      border-top: 1px solid #E3E3E3;
      position: fixed;           /* fix it to viewport */
  	  bottom: env(safe-area-inset-bottom);
      left: 0;
      width: calc( 100% - 0rem);
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      background: rgba(240, 240, 240, 0.9);
      overflow: hidden;
      z-index: 99;
    }

    .container_meny .item {
      width: 20%;
      display: flex;
      justify-content: center; /* horizontal center of <a> */
      align-items: flex-end;   /* bottom alignment */
      padding-bottom: 5px;
    }
    
    .container_meny .item a {
      display: flex;
      flex-direction: column;
      justify-content: flex-end; /* push content to bottom */
      align-items: center;       /* center horizontally */
      width: 100%;
      height: 100%;
      text-decoration: none;
      color: inherit;
    }

    .container_meny .item .text {
      color: #000;
      font-size: 12px;
      font-family: "Exo", Sans-serif;
      font-weight: 300;
    }
}