@font-face {
  font-family: "Exo 2";
  src: url("fonts/static/Exo2-Bold.ttf");
  src: url("fonts/static/Exo2-Italic.ttf");
  src: url("fonts/static/Exo2-Regular.ttf");
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  box-sizing: border-box;
  font-family: "Exo 2";
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
  color: #333;
  overflow-x: hidden;
}
.greyBackground {
  background-color: #f1f1f1;
}
section {
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: auto;
}
.preload {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 3000;
  transition: opacity 2s ease-out;
}
.main {
  opacity: 0;
  display: none;
  transition: opacity 1s ease-in;
}
header {
  min-height: 85vh;
  position: relative;
}
#top-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 72%;
  background-color: #f1f1f1;
}

#bottom-half {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 28%;
  background-color: #555;
}
#slideIn {
  position: absolute;
  right: -100px;
  bottom: 10%;
  height: 300px;
  transition: all 2000ms ease-in-out;
}
.text-dark {
  color: #000000;
}
.text-center {
  text-align: center;
}
.z-10 {
  position: relative;
  z-index: 10;
}
.myForm {
  text-align: center;
  margin-left: 15px;
  padding: 10px;
  background-color: #fff;
  border: 2px solid #333;
  border-radius: 2px;
  width: 1000px;
  box-sizing: border-box;
}
::selection {
  color: #fff;
  background: #4285f4;
}
.myForm .submitButton {
  font-family: "Exo 2";
  font-size: 25px;
  padding: 10px 15px;
  cursor: pointer;
}
.wrapper {
  position: relative;
  display: inline-block;
}

/* Show dropdown content when wrapper has .active */
.wrapper.dropdown.active .content {
  display: block;
}
.wrapper.dropdown .content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.wrapper.dropdown.active .content {
  max-height: 300px; /* or whatever height fits your content */
}

.number-input {
  width: 110px;
  height: 65px;
  padding: 0 20px;
  font-size: 22px;
  background: #fff;
  border-radius: 7px;
  border: none;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.currencySign {
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
  pointer-events: none;
  color: #333;
}

.input-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.input-modal .modal-content {
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.input-modal .modal-content button {
  margin-top: 15px;
  padding: 8px 20px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}


.wrapperBox h3 {
  margin: 0;
}
.wrapper {
  display: inline-block;
  position: relative;
  width: 320px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.regija,
.karoserija,
.zemljaUvoza {
  width: 280px;
}
.wrapperSmall {
  width: 170px;
}

.wrapperSmall.godista {
  width: 120px;
}
.wrapperSmall.kubikaza {
  width: 130px;
  margin: 0 10px;
}
.wrapperSmall.kubikaza .number-input {
  padding: 0px 0px 0px 15px;
  height: 65px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
.select-btn, .selected-value, li {
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: space-around;
}
.select-btn {
  position: relative;
  height: 65px;
  padding: 0 35px 0 20px;
  font-size: 22px;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.select-btn i {
  position: absolute;
  right: 15px;
  font-size: 20px;
  transition: transform 0.3s linear;
}
  .tallerLi .content li {
    padding-top: 10px;
    padding-bottom: 10px;
  }
.dropdown.active .select-btn i {
  transform: rotate(-180deg);
}
.content {
  display: none;
  padding: 20px;
  margin-top: 5px;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.dropdown.active .content {
  display: block;
  position: absolute;
  z-index: 10;
}
.content .search {
  position: relative;
}
.search i {
  top: 50%;
  left: 15px;
  color: #999;
  font-size: 20px;
  pointer-events: none;
  transform: translateY(-50%);
  position: absolute;
}
.kilometraza .search i {
  left: 30px;
}
.wrapper .search input[type='text'] {
  height: 50px;
  width: 72%;
  outline: none;
  font-size: 17px;
  border-radius: 5px;
  padding: 0 20px 0 43px;
  border: 1px solid #b3b3b3;
}
.wrapperSmall .search input[type='text'] {
  width: 85px;
}
.search input:focus {
  padding-left: 42px;
  border: 2px solid #4285f4;
}
.search input::placeholder {
  color: #bfbfbf;
}
.content .options {
  margin-top: 10px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 7px;
}
.options::-webkit-scrollbar {
  width: 7px;
}
.options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 25px;
}
.options::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 25px;
}
.options::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3;
}
.options li {
  height: 50px;
  font-size: 21px;
  padding: 0 13px;
}
.options li:hover,
li.selected {
  border-radius: 5px;
  background: #f2f2f2;
}

.options.twoRow li {
    height: 50px;
    font-size: 21px;
    padding: 10px 13px;
}
.headerline {
  font-size: 34px;
  text-align: left;
  padding-left: 15px;
}
.py-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.row {
  display: flex;
  flex-wrap: wrap;
}

input[type="checkbox"], input[type="radio"] {
  margin: 4px 0 0;
  line-height: normal;
  width: 20px;
  height: 20px;
}
.space-around {
  justify-content: space-around;
}
.text-left {
  text-align: left;
}
.font-size-20 {
  font-size: 20px;
}
.font-size-25 {
  font-size: 25px;
}
.blogCard {
  margin: 20px 15px;
  background-color: #222;
  color: #13265c;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 6px;

  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 1);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 1);
  border: 2px solid #555;
}

.blogCard img {
  display: block;
  width: 100%; /* Ensure the image takes up the full width */
  height: auto; /* Maintain the aspect ratio */
  border-radius: 6px; /* Add border-radius to the image */
}

.blogCard .bcInfo {
  position: absolute;
  padding-left: 4px;
  padding-right: 4px;
  background-color: #ffffff;
  color: #111;
  border-radius: 3px;
  font-size: 17px;

  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 1);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 1);
}

.blogCard .carModel {
  top: 5px;
  left: 5px;
  display: flex;
  align-items: center; /* Aligns image and text vertically */
  gap: 5px; /* Adds spacing between the logo and text */
  font-size: 15px;
}
.bcInfo.carModel img {
  height: 20px; /* Ensures consistent image height */
  width: auto;
}

.blogCard .prodYear {
  direction: ltr; /* Ensures left-to-right text rendering */
  text-align: left; /* Aligns text correctly */
  white-space: nowrap; /* Prevents breaking */
  top: 5px;
  right: 5px;
}
.blogCard .carPrice {
  bottom: 13px;
  left: 5px;
  font-weight: bold;
  font-size: 1.2em;
}

/* LOADER 1 */
.loader {
  height: 50px;
  transform-origin: bottom center;
  animation: rotate 2s linear infinite;
}
.circle {
  display: inline-block;
  background-color: #fba92e;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  transform: scale(0);
  animation: grow 1s linear infinite;
  margin: -10px;
}
.circle:nth-child(2) {
  background-color: #333;
  animation-delay: 0.5s;
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes grow {
  50% {
    transform: scale(1);
  }
}
em {
  font-weight: bold;
  letter-spacing: 1px;
}
.oranged {
  color: #fbba57;
}
nav {
  position: absolute;
  top: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  height: 50px;
  width: 100%;
  z-index: 1500;
  position: fixed;
  transition: all 600ms ease-in-out;
}
nav.scrolled-nav {
  background-color: #222;
  opacity: 0.9;
  border-bottom: 1px solid #fff;
}
nav.scrolled-nav #logoWide a,
nav.scrolled-nav ul li a {
  color: #fff;
}
nav ul {
  display: inline-block;
}
#logoWide {
  display: inline-block;
  text-decoration: none;
  vertical-align: top;
  margin-left: 7%;
}
#logoWide a {
  text-decoration: none;
  display: inline-block;
  vertical-align: middle;
  padding-left: 5px;
  font-size: 25px;
  color: #000;
}
#logoWide #logo-img {
  display: inline-block;
}
#logoWide #logo-txt {
  display: inline-block;
  position: relative;
  top: -7px;
  left: 10px;
}
nav ul {
  text-align: right;
  width: 60%;
  margin: 0 auto;
  padding: 0;
  display: inline-block;
}
nav ul li {
  list-style: none;
  display: inline-block;
  padding: 15px;
  cursor: pointer;
  -webkit-transition: background-color 400ms linear;
  -moz-transition: background-color 400ms linear;
  -o-transition: background-color 400ms linear;
  transition: background-color 400ms linear;
}
nav ul li a {
  text-decoration: none;
  color: #000;
  -webkit-transition: color 400ms linear;
  -moz-transition: color 400ms linear;
  -o-transition: color 400ms linear;
  transition: color 400ms linear;
}
nav ul li a:hover {
  /*color: #225470;
     videcu vec sta cu */
}
nav ul li.return a {
  color: #fba92e;
}
#shrinked {
  height: 55px;
}
.toggle {
  width: 100%;
  height: 100%;
  background-color: transparent;
  box-sizing: border-box;
  color: #fff;
  font-size: 30px;
  display: none;
  visibility: hidden;
  opacity: 0;
  -webkit-transition:
    opacity 600ms,
    visibility 600ms;
  transition:
    opacity 600ms,
    visibility 600ms;
}
.toggle i {
  float: right;
  padding: 13px 12px;
  cursor: pointer;
  color: #fff;
}
.toggle a {
  margin-left: 5%;
}
.popupNotif,
.popupNotif2 {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  padding: 10px 25px;
  border: 2px solid #000;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999;
}
/* Style for supported formats hint */
.format-hint {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.upload-container {
    margin: auto;
    padding: 20px;
    border: 2px dashed #ccc;
    text-align: center;
    transition: all 0.2s ease;
}

.upload-container.dragover,
.upload-container.highlight {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.upload-text {
    cursor: pointer;
    display: inline-block;
    padding: 8px 12px;
    margin: 0;
}

.hidden-input {
    display: none;
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    min-height: 90px;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    cursor: move;
    transition: all 0.2s ease;
}

.preview-item.dragging {
    opacity: 0.5 !important;
    transform: none !important;
}

.preview-item.touch-dragging {
    opacity: 0.5;
}

.preview-item:hover {
    box-shadow: 0 0 0 2px #4CAF50;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ccc;
    pointer-events: none;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    z-index: 2;
    touch-action: auto;
    transition: background 0.2s ease;
}

.remove-image:hover {
    background: darkred;
}

/* Ghost element for dragging */
.ghost-element {
    position: fixed;
    width: 80px;
    height: 80px;
    opacity: 0.8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-radius: 4px;
    overflow: hidden;
    z-index: 10000;
    pointer-events: none;
    transform: scale(1.05);
    transition: none;
}

.ghost-element img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Drop indicator */
.drop-indicator {
    position: relative;
    width: 0;
    height: 80px;
    margin: 0 2px;
}

.drop-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 4px;
    height: 100%;
    background: #4CAF50;
    border-radius: 2px;
    animation: pulse 1s infinite;
}

.drop-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    height: 100%;
    background: rgba(76, 175, 80, 0.1);
    z-index: -1;
    border-radius: 8px;
}
.single-preview {
  justify-content: center;
  padding-top: 10px;
}

.single-preview .single-video {
  width: 160px;
  height: 90px;
}

.single-preview .preview-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 1px solid #ccc;
}
@keyframes pulse {
    0% { opacity: 0.6; transform: scaleY(0.95); }
    50% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0.6; transform: scaleY(0.95); }
}

/* Mobile specific styles */
@media (hover: none) {
    .upload-container {
        cursor: default;
        padding: 15px;
    }
    
    .upload-text {
        cursor: pointer;
        display: inline-block;
        padding: 8px 12px;
        background: #f5f5f5;
        border-radius: 4px;
        color: #333;
    }
    
    .upload-text:active {
        background: #e0e0e0;
    }
    
    .preview-item {
        touch-action: none;
        user-select: none;
        -webkit-user-drag: none;
    }
    
    .preview-item:active {
        transform: scale(0.98);
    }
    
    .remove-image {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }
}

/* Accessibility improvements */
.preview-item:focus-visible {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

.remove-image:focus-visible {
    outline: 2px solid #4CAF50;
    outline-offset: 1px;
}

/* Prevent transitions during drag */
.preview-item.touch-dragging,
.preview-item.dragging {
    transition: none !important;
}

    .car-card {
      margin-bottom: 20px;
      width: 80%;
      border: 1px solid #777;
    }
    .image-container {
    position: relative;
    display: inline-block;
}
    .image-container img{
      width: 100%;
    }
    .price-tag{
      position: absolute;
      top: 10px;
      right: -2px;
      background-color: ;
    }
    .name-tag {
      position: absolute;
      top: 7px;
      left: 5px;
      background-color: ;
    }
    .year-tag {
    position: absolute;
    bottom: 7px;    /* 7px from bottom of image */
    left: 5px;      /* 5px from left of image */
    background: rgba(0,0,0,0.5); /* Semi-transparent background */
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 14px;
    }
    .mileage-tag {
      position: absolute;
      bottom: 7px;
      right: 5px;
    background: rgba(0,0,0,0.5); /* Semi-transparent background */
    }


.adsContainer {
  display: flex;
  flex-wrap: wrap;
}
.singleAd {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background: #fff;
  width: 320px;
  max-width: 400px; /* optional */
  margin: 1rem auto;
  -webkit-box-shadow: 0px 2px 10px -1px rgba(0,0,0,0.85); 
box-shadow: 0px 2px 10px -1px rgba(0,0,0,0.85);
}
.singleAd-link {
  color: inherit;              /* text takes parent color */
  text-decoration: none;       /* remove underline */
  display: inline-block;              /* makes the whole card clickable */
}

.singleAd-link:hover {
  text-decoration: none;       /* prevent underline on hover */
  color: inherit;              /* prevent color change */
}
/* Tab header */
.ad-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: #f8f8f8; /* optional */
  border-bottom: 1px solid #ddd; /* optional */
}

.ad-tab .left-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-logo {
  width: 28px;
  height: auto;
}

.ad-tab .username {
  font-weight: 600;
  font-size: 14px;
}

.ad-tab .year {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}


.platform-logo {
  width: 30px;
  height: 30px;
}

.username {
  font-size: 14px;
}

/* Body wrapper */
.ad-body {
  display: flex;
  flex-direction: column;
}

/* Upper body: 1/3 image, 2/3 info */
.upperBody {
  width: 100%;
  height: 200px; /* or any fixed height you prefer */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #ddd; /* optional */
  background: #f9f9f9; /* optional, to fill empty space */
}

.upperBody img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profPicHolder img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  object-fit: cover;
}

.infoHolder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

/* Lower body: two columns */
.lowerBody {
  padding: 8px 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px; /* row-gap / column-gap */
}

.lowerBody div {
  font-size: 16px;
}
.lowerBody i {
  color: #0c4076; /* Serbian blue for icons */
}

.power, .country {
  text-align: left;
}
.fuel_type, .price {
  text-align: right;
}
.price {
  font-weight: bold;
}
.view-more-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: white;
  background: linear-gradient(90deg, #c6363c, #0c4076);
  background-size: 200% 100%;
  background-position: left center;
  transition: background-position 0.6s ease, transform 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.view-more-btn:hover {
  background-position: right center; /* smooth shift from red→blue to blue→red */
  transform: translateY(-2px);
}

.view-more-btn i {
  margin-right: 6px;
}

        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
            margin-top: 20px;
        }
        
        h1 {
            color: #2c3e50;
            margin-bottom: 20px;
            font-size: 28px;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }
        
        .gallery-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .main-image-container {
            position: relative;
            width: 100%;
            height: 500px;
            overflow: hidden;
            border-radius: 8px;
            background-color: #f9f9f9;
            cursor: pointer;
        }
        
        .main-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: opacity 0.3s ease;
        }
.thumbnails-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
    gap: 10px;
    justify-content: center; /* centers the whole grid */
}



        
        .thumbnail {
            width: 100%;
            height: 80px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            border: 2px solid transparent;
        }
        
        .thumbnail:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .thumbnail.active {
            border-color: #3498db;
            box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
        }
        
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
        
        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
        }
        
        .lightbox-image {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
        }

.lightbox-close {
  position: absolute;
  top: 70px;
  right: 25px;
  width: 50px;              /* same width as right nav */
  height: 90px;             /* top quarter of the right nav */
  padding: 75px 25px 25px 25px;
  cursor: pointer;
  z-index: 2001;
  color: white;
  font-size: 40px;
  background: transparent; /* don’t darken the zone by default */
  transition: background 0.2s ease;
}
/* Optional: highlight area on hover */
.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.4);
}


.lightbox-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;               /* clickable area */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 3rem;
  user-select: none;
  transition: background 0.2s ease;
  z-index: 1001;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8),
               0 0 12px rgba(0, 0, 0, 0.6);
}
        
.lightbox-prev {
  left: 0;
  justify-content: flex-start; /* align chevron closer to edge */
  padding-left: 15px;
}
.lightbox-next {
  right: 0;
  justify-content: flex-end; /* align chevron closer to edge */
  padding-right: 15px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0,0,0,0.2);
}
        .lightbox-counter {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 18px;
            background: rgba(0, 0, 0, 0.5);
            padding: 5px 15px;
            border-radius: 20px;
        }
        
        .image-info {
            margin-top: 15px;
            padding: 10px;
            background-color: #f9f9f9;
            border-radius: 4px;
            font-size: 14px;
            color: #666;
        }
        
        .car-details {
          min-height: auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .detail-card {
          border: 1px solid #888;
            background: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            font-size: 1.4em;
        }
        
        .detail-card h3 {
            color: #2c3e50;
            margin-bottom: 10px;
            border-bottom: 1px solid #ddd;
            padding-bottom: 5px;
        }
        
        .detail-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #eee;
        }
        
        .detail-label {
            font-weight: bold;
            color: #555;
        }
        
        .detail-value {
            color: #333;
        }
        .detail-icon {
          height: 30px;
          vertical-align: bottom;
        }
        .detail-icon-small {
          height: 18px;
          vertical-align: middle;
        }
.car_equipment {
  min-height: auto;
}
        .section_headline {
          margin: 25px 10% 2px 10%;
    font-size: 1.6em;
    text-align: left;
    border-bottom: 1px solid #777;
        }


        .no_border {
          border: none;
        }
        .equipment_card {
          text-align: left;
        }
        .equipment_card p {
          margin-top: 4px;
          margin-bottom: 8px;
          font-size: 1.4em;
        }
        .equipment_card i.fa-xmark {
          color: #880808;
        }
        .equipment_card i.fa-square-check {
          color: #4285f4;
        }
.ad_description {
  text-align: left;
  margin: 8px 8% 12px 8%;
  font-size: 1.1em;
}
    .car-header {
    display: flex;
    justify-content: space-between; /* distribute evenly */
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

    .login_card {
        width: 450px;
    border: 1px solid #888;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1.4em;
    }
    .login_card_holder {

        display: flex;
    margin-top: 30px;
        justify-content: center;
    }
/* Base styles (desktop and larger screens) */
.car-header {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 25px; /* default */
}
.car-header-item.car-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.brand-logo {
    width: 40px;
    height: auto;
    object-fit: contain;
}

.main-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay zones */
.nav-zone {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 3.5rem;
    user-select: none;
    transition: background 0.2s;
}

.nav-left {
    left: 0;
    width: 18%;
    justify-content: flex-start;
    padding-left: 20px;
}

.nav-right {
    right: 0;
    width: 18%;
    justify-content: flex-end;
    padding-right: 20px;
}

.nav-center {
    left: 18%;
    width: 64%;
    justify-content: center;
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.2s;
    cursor: pointer; /* shows magnifying glass */
}

/* Show icons on hover */
.nav-zone:hover {
    background: rgba(0,0,0,0.2);
}

.nav-center:hover {
    opacity: 1;
}

.chevron {
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8),
               0 0 12px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.plus {
    pointer-events: none;
    font-weight: bold;
}
.unavailable {
  opacity: 0.6;
}
.emphasized {
  font-size: 1.1em;
  font-weight: bold;
}
@media (max-width: 1050px) {
  .myForm {
    width: auto;
    margin-left: 3px;
    margin-right: 3px;
  }
  .toggle {
    display: block;
    visibility: visible;
    opacity: 1;
    animation: fade 1s;
  }
  #logoWide {
    display: none;
  }
  nav ul {
    position: absolute;
    right: 0;
    background: #333;
    padding: 0;
    width: 65%;
    transform-origin: right;
    transform: translateX(100%);
    transition: 0.5s;
  }
  nav ul li {
    display: block;
    text-align: center;
    border: 1px solid #fff;
    z-index: 25;
  }
  ul li a {
    display: block;
    color: #fff;
    z-index: 30;
  }
  .active1 {
    transform: translateX(0%);
  }
  .active2 {
    overflow: visible;
    -webkit-transition: visibility 600ms;
    transition: visibility 600ms;
  }
}
.overlaid {
  position: fixed;
  /* Sit on top of the page content */
  display: none;
  /* Hidden by default */
  width: 100%;
  /* Full width (cover the whole page) */
  height: 100%;
  /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  /* Black background with opacity */
  z-index: 50;
  /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer;
  /* Add a pointer on hover */
}
.overlay-appear {
  display: block;
  animation: fade 1s;
}
.hd-ovrl {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: url("../media/img/auto-berza-bkg-lg.jpg") no-repeat right bottom;
  z-index: 1;
}
.hd-txt {
  z-index: 50;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.v-header {
  height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
}
.container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.row {
  display: flex;
}
.col {
  flex: 1;
}
.col2 {
  flex: 2;
}
.col3 {
  flex: 3;
}
.col6 {
  flex: 6;
}
.pt-500 {
  padding-top: 5rem;
}
.pt-300 {
  padding-top: 3rem;
}
.pt-175 {
  padding-top: 1.75rem;
}
.pt-3 {
  padding-top: 5rem;
}
.pb-15 {
  padding-bottom: 1.5rem;
}
.m-0 {
  margin: 0;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-500 {
  margin-top: 5rem;
}
.my-500 {
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.inline {
  display: inline;
}
.headline {
  letter-spacing: 1.5px;
  font-size: 2em;
}
.info-card {
  margin: 1rem;
  padding: 1rem;
  vertical-align: middle;
  max-width: 650px;
  border: 2px #d7d7d7 solid;
  -webkit-box-shadow: 10px 10px 30px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 30px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 30px 0px rgba(0, 0, 0, 0.75);
}
.borderShaded {
  border-bottom: 2px solid #777;
}
.borderShaded2 {
  border-bottom: 2px solid #777;
}
.small-ico {
  font-size: 25px;
  padding-right: 7px;
}
.card-icon {
  font-size: 60px;
  color: #fba92e;
}
.card-icon span {
  font-size: 30px;
}
.img-fluid {
  width: 100%;
}
#img-holder {
  padding: 0;
}
.parallax {
  padding: 8rem 5rem;
  background: url(../media/img/hd-bg0.jpg) no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
}
.parallax div {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 5px;
}
.parallax h3 {
  text-align: right;
}
/**/
.fullscreen-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.fullscreen-video-wrap > video {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
@media screen and (max-aspect-ratio: 1920/1080) {
  .fullscreen-video-wrap > video {
    height: 100%;
  }
}
@media screen and (min-aspect-ratio: 1920/1080) {
  .fullscreen-video-wrap > video {
    width: 100%;
  }
}
.header-overlay {
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1;
  background: #000;
  opacity: 0.8;
}
.header-content {
  margin: 0 auto;
  z-index: 2;
}
.header-content h1 {
  font-size: 60px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.header-content h2 {
  margin-top: 2rem;
  font-size: 42px;
  display: block;
}
.scroll-down {
  color: #fba92e;
  margin-top: 2rem;
  font-size: 3rem;
  -webkit-animation: mymove 5s infinite;
  /* Safari 4.0 - 8.0 */
  animation: mymove 5s infinite;
}
.popping-up {
  -webkit-animation: popping 5s infinite;
  /* Safari 4.0 - 8.0 */
  animation: popping 5s infinite;
}
.card-text {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#blog {
  text-align: center;
  background-color: #dadada;
  padding-bottom: 1rem;
}
.a {
  text-decoration: none;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  color: #333;
}
.a > h3 {
  font-size: 20px;
}
.a:hover {
  text-decoration: underline;
}
.a > h3 {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.text-input{
    width: 300px;
    height: 65px;
    padding: 0 20px;
    font-size: 22px;
    background: #fff;
    border-radius: 7px;
    border: none;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  .login_card_item .text-input, .login_card_item .select-btn {
    margin-bottom: 15px;
    border: 1px solid #888;
  }

  .login_card_item label {
    display: block;
  }

  .login_card_item label.terms {
    display: inline;
  }
  .login_card_item .image-preview{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 10px;
    min-height: 90px;
  }
  .login_card_item .preview-item {
    width: 120px;
    height: 120px;
  }
  .person-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.person-option {
  width: 48%;
  text-align: center;
}

.person-option label {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
}

.person-option input[type="radio"] {
  transform: scale(1.4);
  cursor: pointer;
}
.password-wrapper {
  position: relative;
  display: inline-block;
}

.login_card_item .password-wrapper .fa-regular {
  line-height: 1.5;
}
.toggle-password {
  position: absolute;
  right: 20px;
  bottom: 30px;
  font-size: 20px;
  color: #777;
  cursor: pointer;
  transition: color 0.2s ease;
}

.toggle-password:hover {
  color: #333;
}

  .myForm .header-3 {
    text-align: left;
    padding-left: 20px;
    font-size: 27px;
    margin: 0;
  }
  .myForm .wrapper.mediumNum {
    width: 110px;
  }
  .myForm .wrapper.mediumNum .number-input{
    width: 110px;
    padding-left: 25px;
    padding-right: 0;
  }
  .myForm .wrapperSmall.mediumNum {
    width: 140px;
  }
  .myForm .wrapperSmall.mediumNum .number-input{
    width: 140px;
  }
  .myForm .wrapper.mediumNum .currencySign{
    display: none;
    right: -12px;
  }

  .wrapper.snaga{
    display: flex;
  }
  .wrapper.snaga .select-btn{
    width: 55px;
    -webkit-box-shadow: 15px 0px 24px 0px rgba(66, 68, 90, 0.14);
-moz-box-shadow: 15px 0px 24px 0px rgba(66, 68, 90, 0.14);
box-shadow: 15px 0px 24px 0px rgba(66, 68, 90, 0.14);
  }
  .wrapper.snaga .number-input{
    width: 80px;
    text-align: right;

  }
.wrapper.snaga .content {
    padding: 10px;
    width: 55px;
    left: 125px;
    top: 65px;
}
  .wrapper.snaga .content ul{
    padding: 0;
    padding-inline-start: 5px;
  }
.myForm hr {
  margin: 10px 15px;
}
.flex {
  display: flex;
}
.flexOnBig {
  display: flex;
}
.flexOnBig label{
  margin-left: 7px;
  margin-right: 7px;
}
.marginLeft20onBig {
  margin-left: 20px;
}
.align-items-center{
  align-items: center;
}

.text-left-spec {
    display: flex;
    align-items: start; /* Aligns content to the left */
    font-size: 20px;
}

.text-left-spec input[type="checkbox"] {
    align-self: center; /* Centers the checkbox vertically */
    margin-bottom: 5px; /* Adds some spacing between checkbox and label */
}
.text-left-spec label {
    padding-top: 15px;
    padding-left: 7px;
    text-align: left;
    line-height: 1.2;
}


    .text-container {
        width: 100%;
        font-family: Arial, sans-serif;
        font-size: 16px;
    }

    .text-container textarea {
        width: 100%;
        box-sizing: border-box; /* Ensures padding doesn't overflow */
        font: inherit; /* Inherits font family and size */
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        resize: vertical; /* Allows resizing only vertically */
    }

/* animations from CSS-Animations library */
@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1) translateY(0);
    transform: scale3d(1, 1, 1) translateY(0);
  }
  50% {
    -webkit-transform: scale3d(1.5, 1.5, 1.5) translateY(150px);
    transform: scale3d(1.5, 1.5, 1.5) translateY(15px);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1) translateY(0);
    transform: scale3d(1, 1, 1) translateY(0);
  }
}
@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1) translateY(0);
    transform: scale3d(1, 1, 1) translateY(0);
  }
  50% {
    -webkit-transform: scale3d(1.25, 1.25, 1.25) translateY(15px);
    transform: scale3d(1.25, 1.25, 1.25) translateY(15px);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1) translateY(0);
    transform: scale3d(1, 1, 1) translateY(0);
  }
}
.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
}
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}
.animated {
  -webkit-animation-duration: 1.3s;
  animation-duration: 1.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
@media (print), (prefers-reduced-motion: reduce) {
  .animated {
    -webkit-animation-duration: 1ms !important;
    animation-duration: 1ms !important;
    -webkit-transition-duration: 1ms !important;
    transition-duration: 1ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
  }
}
.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.animated.delay-1s {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
.animated.delay-6s {
  -webkit-animation-delay: 7s;
  animation-delay: 7s;
}
.section {
  height: 100vh;
}
#kako {
  color: #f7f7f7;
  background-color: #333;
  padding-bottom: 3rem;
}
#poziv {
  color: #f7f7f7;
  background-color: #333;
}
#poziv p {
  text-align: center;
}
.sider {
  width: 50%;
  background: url(../media/img/1.jpg) no-repeat center bottom;
}
.side-image {
  width: 100%;
}
.imgbkg {
  background: url(../media/img/missing.jpg) no-repeat top right;
  height: 100vh;
}
.imgbkg2 {
  background: url(../media/img/idk.jpg) no-repeat center right;
  height: 100vh;
}
.txt-holder {
  position: relative;
  padding: 1.5rem;
  font-size: 1.25em;
}
.next {
  text-align: center;
  padding-top: 1rem;
}
.next a {
  color: #fba92e;
  text-decoration: none;
}
.next a i {
  margin: 0;
  font-size: 40px;
}
/* friends ribbon */
.friends {
  background-color: #ddd;
  text-align: center;
  padding: 10px 20px 20px 20px;
}
.friends .ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.friends a {
  padding: 30px;
}
.friends #spc {
  padding: 2px;
  background-color: #333;
  border-radius: 3px;
  line-height: 0;
}
#contact {
  position: relative;
  background: url(../media/img/contact.jpg) no-repeat center right;
  min-height: 100vh;
}
#contact .txt-holder p,
h5 {
  text-align: center;
}
.contact-overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(251, 169, 46, 0.7);
  z-index: 0;
}
.input-form {
  padding: 2rem 4rem;
  text-align: center;
}
.input {
  display: block;
  margin-bottom: 1rem;
  padding: 5px;
  width: 100%;
  font-size: 1rem;
}
.my-button {
  border: 2px solid #ddd;
  border-radius: 2px;
  background-color: #333;
  color: #ddd;
  padding: 5px 10px;
  font-family: "Exo 2", sans-serif;
  font-size: 16px;
  cursor: pointer;
}
.under-button {
  font-size: 16px;
}

@media (max-width: 768px) {
              .main-image-container {
                height: 300px;
            }
            
            .thumbnails-container {
                grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            }
            
            .thumbnail {
                height: 60px;
            }
            
            .car-details {
                grid-template-columns: 1fr;
            }
  .header-content h1 {
    font-size: 40px;
    margin-bottom: 1rem;
  }
  .header-content h2 {
    font-size: 28px;
    margin-bottom: 1rem;
  }
  .row {
    display: block;
  }
  .row2 {
    display: block;
  }
  .col {
    width: 100%;
  }
  .col2 {
    display: inline-block;
    width: 40%;
  }
  .imgbkg {
    height: 70vh;
  }
  .ad_description {
    margin: 6px 4% 8px 4%;
    font-size: 1.4em;
}
}
@media (max-width: 576px) {
.marginLeft20onBig {
  margin-left: 0px;
}
.space-around-small {
  justify-content: space-around;
}
.content-center-small {
  justify-content: center;
}
.pl-10-small {
  padding-left: 10px;
}
.flexOnBig {
  display: block;
}
  .row2 {
    display: block;
  }
  .col2 {
    width: 80%;
  }
  .imgbkg {
    background: url(../media/img/missing-small.jpg) no-repeat top left;
    height: 70vh;
  }
  .imgbkg2 {
    background: url(../media/img/idk-small.jpg) no-repeat bottom right;
    height: 70vh;
  }
  .parallax {
    padding: 3rem 1.5rem;
    background: url(../media/img/hd-bg0.jpg) no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
  }
  .parallax div {
    padding: 1rem;
    text-align: center;
  }
  .parallax h2 {
    font-size: 1.25em;
  }
  #contact {
    background: url(../media/img/contact-small.jpg) no-repeat center center;
  }
  .popupNotif {
    width: 80%;
  }
}
#berza {
  position: relative;
  background-color: #222;
  min-height: 100vh;
  padding: 60px;
}
#berza h2 {
  font-size: 38px;
  color: #fff;
}
.oglas {
  display: inline-block;
  background-color: #f3f3f3;
  margin: 20px;
  padding: 20px;
  width: 500px;
  min-height: 200px;
  border-radius: 4px;
}
.oglas h4 {
  margin: 0;
  padding: 7px 0 4px 0;
  font-size: 20px;
  letter-spacing: 1px;
}
.category {
  display: inline;
}
.brzKont {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.pratioci {
  padding-left: 8px;
  border-left: 5px solid #444;
}
.oglas div h5 {
  font-size: 17px;
  letter-spacing: 0.5px;
}
.btnHolder {
  padding-top: 15px;
  text-align: center;
}
.btn {
  text-decoration: none;
  padding: 9px 14px;
  background-color: #fba92e;
  font-size: 1.1em;
  color: #000;
  border-radius: 6px;
  cursor: pointer;
}
.seeMore {
  text-align: center;
  font-size: 18px;
  color: #fff;
}
.seeMore a {
  color: #fff;
  font-size: 22px;
}
.pagination {
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}
.pagination-lg .page-link {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
}
.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #555;
  background-color: #fff;
  border: 2px solid #777;
  border-radius: 3px;
}
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
a {
  text-decoration: none;
}
.form-control {
  display: inline-block;
  margin-bottom: 1px;
  width: 250px;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}
button,
input {
  overflow: visible;
}
.catLogo,
.catRelative {
  display: none;
}
.cat {
  font-size: 24px;
}
/*the container must be positioned relative:*/
.custom-select {
  text-align: center;
  position: relative;
  margin: 0 10px;
  font-size: 24px;
  vertical-align: bottom;
  width: 250px;
  display: inline-block;
}
.searchBTN {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  position: relative;
  margin: 0 10px 2px 10px;
  font-size: 24px;
  width: 200px;
  height: calc(1.5em + 0.75rem + 2px);
  vertical-align: middle;
  display: inline-block;
}
.custom-select select {
  display: none;
  /*hide original SELECT element:*/
}
.select-selected {
  background-color: #fba92e;
  border-radius: 3px;
}
/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 25px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}
/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}
/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}
/*style items (options):*/
.select-items {
  position: absolute;
  background-color: #fba92e;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}
/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}
.select-items div:hover,
.same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}
.nmbInpHld {
  display: inline-block;
  text-align: center;
  color: #fff;
}
.nmbInp {
  display: inline-block;
  margin-bottom: 1px;
  width: 80px;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}
form {
  text-align: right;
}


/* Responsive adjustment for small screens */
@media (max-width: 570px) {
  .car-header {
    display: grid;
    grid-template-columns: 1fr 1fr; /* two columns for bottom row */
    grid-template-rows: auto auto;  /* two rows total */
    font-size: 20px; /* smaller font */
  }

  /* Make the brand span full width on the first row */
  .car-header-item.car-brand {
    grid-column: 1 / -1; /* spans across both columns */
    text-align: center;  /* optional: center align brand */
    margin-bottom: 6px;
  }

  /* Align year left */
  .car-header-item:nth-child(2) {
    text-align: left;
  }

  /* Align price right */
  .car-header-item:nth-child(3) {
    text-align: right;
  }
}

@media (max-width: 500px) {

    .login_card {
        width: 100%;
      }
.text-input {
  width: 80%;
  }


  #berza {
    padding: 60px 7px;
  }
  #berza h2 {
    padding-left: 15px;
  }
  form {
    text-align: center;
  }
  .searchBTN {
    margin-top: 15px;
  }
}
.infoBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #fba92e;
  border: 2px solid #000;
  padding: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 700ms ease-in-out;
  z-index: 10;
}
.infoBtn i {
  font-size: 50px;
  color: #000;
}
/* CSS talk bubble */
.talk-bubble {
  opacity: 0;
  margin: 40px;
  display: inline-block;
  position: fixed;
  bottom: 120px;
  right: 10px;
  width: 200px;
  height: auto;
  background-color: #f2f2f2;
  transition: opacity 1s;
  transition: all 700ms ease-in-out;
}
.border {
  border: 8px solid #666;
}
.round {
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
}
/* Right triangle placed top left flush. */
.tri-right.border.left-top:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -40px;
  right: auto;
  top: -8px;
  bottom: auto;
  border: 32px solid;
  border-color: #666 transparent transparent transparent;
}
.tri-right.left-top:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -20px;
  right: auto;
  top: 0px;
  bottom: auto;
  border: 22px solid;
  border-color: lightyellow transparent transparent transparent;
}
/* Right triangle, left side slightly down */
.tri-right.border.left-in:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -40px;
  right: auto;
  top: 30px;
  bottom: auto;
  border: 20px solid;
  border-color: #666 #666 transparent transparent;
}
.tri-right.left-in:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -20px;
  right: auto;
  top: 38px;
  bottom: auto;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}
/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -8px;
  right: auto;
  top: auto;
  bottom: -40px;
  border: 32px solid;
  border-color: transparent transparent transparent #666;
}
.tri-right.btm-left:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: 0px;
  right: auto;
  top: auto;
  bottom: -20px;
  border: 22px solid;
  border-color: transparent transparent transparent lightyellow;
}
/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left-in:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: 30px;
  right: auto;
  top: auto;
  bottom: -40px;
  border: 20px solid;
  border-color: #666 transparent transparent #666;
}
.tri-right.btm-left-in:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: 38px;
  right: auto;
  top: auto;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow transparent transparent lightyellow;
}
/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right-in:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 30px;
  bottom: -40px;
  border: 20px solid;
  border-color: #666 #666 transparent transparent;
}
.tri-right.btm-right-in:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 38px;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}
/* left: -8px;
 right: auto;
 top: auto;
 bottom: -40px;
 border: 32px solid;
 border-color: transparent transparent transparent #666;
 left: 0px;
 right: auto;
 top: auto;
 bottom: -20px;
 border: 22px solid;
 border-color: transparent transparent transparent lightyellow;
/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -8px;
  bottom: -40px;
  border: 20px solid;
  border-color: #666 #666 transparent transparent;
}
.tri-right.btm-right:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 0px;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}
/* Right triangle, right side slightly down*/
.tri-right.border.right-in:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -40px;
  top: 30px;
  bottom: auto;
  border: 20px solid;
  border-color: #666 transparent transparent #666;
}
.tri-right.right-in:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -20px;
  top: 38px;
  bottom: auto;
  border: 12px solid;
  border-color: lightyellow transparent transparent lightyellow;
}
/* Right triangle placed top right flush. */
.tri-right.border.right-top:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -40px;
  top: -8px;
  bottom: auto;
  border: 32px solid;
  border-color: #666 transparent transparent transparent;
}
.tri-right.right-top:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -20px;
  top: 0px;
  bottom: auto;
  border: 20px solid;
  border-color: lightyellow transparent transparent transparent;
}
/* talk bubble contents */
.talktext {
  padding: 1em;
  text-align: left;
  line-height: 1.5em;
}
.talktext p {
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}
.overlaid2 {
  position: fixed;
  /* Sit on top of the page content */
  display: none;
  /* Hidden by default */
  width: 100%;
  /* Full width (cover the whole page) */
  height: 100%;
  /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  /* Black background with opacity */
  z-index: 40;
  /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer;
  /* Add a pointer on hover */
}
.overlayAppear {
  display: block;
  animation: fade 1s;
}
.speci1 {
  display: none;
}
.speci2 {
  width: 5px;
  position: absolute;
  right: 0;
  visibility: hidden;
}
.speci3 {
  width: 6px;
  z-index: -1;
  opacity: 0;
  position: absolute;
  right: 0;
}
.scrolledInf {
  bottom: 350px;
}
.scrolledtxt {
  bottom: 420px;
}
.mladenovOglas .category {
  font-size: 19px;
  letter-spacing: 1px;
}
.mladenovOglas .category i {
  font-size: 25px;
}

.headlineHolder {
  text-align: center;
}
