/*
Courser / Events Administör
*/

.form-table {max-width: 100%}

.tabs{display:flex;flex-wrap:wrap}.tabs label.label_tab{color:#fff;order:1;display:block;padding:1rem 2rem;margin-right:.2rem;cursor:pointer;background:#cca166;font-weight:700;transition:background ease .2s}.tabs .tab{order:99;flex-grow:1;width:100%;display:none;padding:1rem;background:#fff}.tabs input[type=radio]{display:none}.tabs input[type=radio]:checked+label.label_tab{background:#5b5657}.tabs input[type=radio]:checked+label.label_tab+.tab{display:block}@media (max-width:45em){.tabs .tab,.tabs label.label_tab{order:initial}.tabs label.label_tab{width:100%;margin-right:0;margin-top:.2rem}}

table td { vertical-align: top}

table.stripped tr:nth-child(even){
  background-color: #ddd;
}

.form-w80 {width: 80%}

.cea_page_content{width:100%;padding:1rem;background:#fff;box-sizing: border-box;margin-left: -20px;}

.jq_do_filter {
  vertical-align: 0px;
  margin-right: 15px;
}

hr {
  border-color: #cca166;
  border-top: 0;
  width: 100%;
}

.hongqi-layout {
  display: flex;
  align-items: flex-start;
}

.hongqi-sidebar {
  flex: 0 0 20%;
  position: relative;
}

.hongqi-mainbar {
  flex: 0 0 80%;
  padding: 0 0 0 1rem;
}

@media (max-width: 768px) {
  .hongqi-layout {
    flex-direction: column;
  }
  
  .hongqi-sidebar,
  .hongqi-mainbar {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
  }

  .hongqi-mainbar {
    margin-top: 1rem; /* alebo iné oddelenie medzi sekciami */
  }
}

/* accordition */
.hongqi-accordion-menu {
  display: inline-block;
  position: relative;
  width: 100%;
}

.hongqi-accordion-menu h2 {
  font-size: 18px !important;
  line-height: 34px !important;
  font-weight: 500;
  display: block;
  margin: 0;
  cursor: pointer;
  color: #6c6c6a;
}

.hongqi-accordion-menu div.hongqi-accordion-content {
  color: #5b5657;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  max-height: 800px;
  opacity: 1;
  transform: translate(0, 0);
  margin-top: 14px;
  z-index: 2;
}

.hongqi-accordion-menu div.hongqi-accordion-content label {
  display: flex;
  align-items: flex-start;
}

.hongqi-accordion-menu div.hongqi-accordion-content label span {
  flex: 1;
  display: block;
}

.hongqi-accordion-menu ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
  background-color: #fff;
}

.hongqi-accordion-menu ul li {
  position: relative;
  padding: 0;
  margin: 0;
  padding-bottom: 4px;
  padding-top: 18px;
  border-top: 1px solid #cca166;
}

.hongqi-accordion-menu ul li:nth-child(1) {
  border: none;
}

.hongqi-accordion-menu ul li:nth-of-type(1) {
  animation-delay: 0.5s;
}

.hongqi-accordion-menu ul li:nth-of-type(2) {
  animation-delay: 0.75s;
}

.hongqi-accordion-menu ul li:nth-of-type(3) {
  animation-delay: 1s;
}

.hongqi-accordion-menu ul li:last-of-type {
  padding-bottom: 0;
}

.hongqi-accordion-menu ul li .arrow {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 10px;
  right: 0;
}

.hongqi-accordion-menu ul li .fas {
  color: #5b5657;
  font-size: 15px;
  margin-right: 10px;
}

/*
Hongqi gold: #cca166
Hongqi red: #e60012
Stylish dark gray: #5b5657
Stylish light gray: #b5b4b5
Fonty: #464646
*/

.hongqi-accordion-menu ul li .arrow:before, .hongqi-accordion-menu ul li .arrow:after {
  content: "";
  position: absolute;
  background-color: #5b5657;
  width: 3px;
  height: 9px;
}

.hongqi-accordion-menu ul li .arrow:before {
  transform: translate(-2px, 0) rotate(45deg);
}

.hongqi-accordion-menu ul li .arrow:after {
  transform: translate(2px, 0) rotate(-45deg);
}

.hongqi-accordion-menu ul li input.hongqi-accordion-item {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}

.hongqi-accordion-menu ul li input.hongqi-accordion-item:not(:checked) ~ div.hongqi-accordion-content {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
}

.hongqi-accordion-menu ul li input.hongqi-accordion-item:not(:checked) ~ .arrow:before {
  transform: translate(2px, 0) rotate(45deg);
}

.hongqi-accordion-menu ul li input.hongqi-accordion-item:not(:checked) ~ .arrow:after {
  transform: translate(-2px, 0) rotate(-45deg);
}

.hongqi-accordion-menu .transition, .hongqi-accordion-menu div.hongqi-accordion-content, .hongqi-accordion-menu ul li .arrow:before, .hongqi-accordion-menu ul li .arrow:after {
  transition: all 0.25s ease-in-out;
}

.hongqi-accordion-menu .flipIn, .hongqi-accordion-menu h1, .hongqi-accordion-menu ul li {
  animation: flipdown 0.5s ease both;
}

.hongqi-accordion-menu .no-select, .hongqi-accordion-menu h2 {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

@keyframes flipdown {
  0% {
    opacity: 0;
    transform-origin: top center;
    transform: rotateX(-90deg);
  }
  5% {
    opacity: 1;
  }
  80% {
    transform: rotateX(8deg);
  }
  83% {
    transform: rotateX(6deg);
  }
  92% {
    transform: rotateX(-3deg);
  }
  100% {
    transform-origin: top center;
    transform: rotateX(0deg);
  }
}
/* accordition */


.list {
  clear: both;
  display: block;
}

.hongqi-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hongqi-row .car {
  flex: 0 0 calc((100% / 3) - (1rem * 2 / 3)); /* 1/3 width minus gaps */
  max-width: calc((100% / 3) - (1rem * 2 / 3));
  background-color: #fff;
  box-sizing: border-box;
  border: 1px #cca166 solid;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease-in;
  text-align:center;
}

.highlight-empty{
  border: 1px #FEC445 solid !important;
  background-color: #FEF6D5 !important;
}

/* Optional: make inner content stretch */
.car .content {
  flex: 1;
}

@media (max-width: 768px) {
  .hongqi-row  {
    flex-direction: column;
  }

  .hongqi-row .car {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}

.list .car * {
  color: #5b5657;
}

.list .car a:hover {
  text-decoration: none !important;
}

.hongqi-row .car .data {
  padding: 12px;
}

.list .car .params {
  text-align: left;
  list-style-type: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 0.5rem; /* row gap / column gap */
  height: 80px;
  overflow: hidden;
}

.list .car .params li {
  display: flex;
  align-items: flex-start;
  gap: 5px;  
  font-size: 11px;
  margin-bottom: 0;
  position: relative;
}

.list .car .params li span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%; 
  flex-shrink: 1;
}

.list .car .params li img {
  width: 18px;
  height: auto;
  flex-shrink: 0;
}
/*
.list .car .params li span {
  display: block;
  line-height: 1.4;
  text-indent: 10px;
  margin-left: -10px;
  padding-left: 10px;
} */

.list .car:hover {
  border-color: #333;
  transition: border-color 0.2s ease-in;
}

.list .car .container_img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  transition: background-size 0.4s ease;
  position: relative;
  width: 100%;             /* or any dynamic width */
  max-width: 100%;
  padding-top: 56.25%;     /* 9 / 16 = 0.5625 */
  overflow: hidden;
}

.list .car:hover .container_img {
  background-size: 110%;
}

.car p.name {
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1;
  margin: 0px 0 12px 0;
  text-transform: uppercase;
}

.car .name span {
  font-weight: 300;
}

.car .price {
  height: 30px;
  font-weight: bold;
}

.car .price_sale {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 0;
}

span.price.old,
.car .price.old {
  font-weight: normal;
  text-decoration: line-through;
  margin-bottom: 0;
}

span.price.old {
  font-size: 0.8em;
}

.car .params,
.car .price {
  margin-bottom: 10px;
}

.car .detail-btn {
  border: 2px #5b5657 solid;
  background-color: #fff;
  line-height: 50px;
  padding: 0 15px;
  color: #5b5657;
  width: 100%;
  margin: 0px auto;
  transition: background-color 0.4s ease;
  text-transform: uppercase;
}

.car:hover .detail-btn {
  border: 2px #5b5657 solid;
  color: #fff;
  background-color: #5b5657;
  transition: background-color 0.4s ease;
}

.car .city {
  display: flex;
  align-items: flex-start;
  gap: 12px; /* space between image and text */
  font-size: 0.8em;
  margin-bottom: 12px;
}

.car .city img {
  width: 18px;
  height: auto;
}

.car .city span {
  display: block;
  line-height: 1.2;
  text-align: left;
}

/* price slider */
.price-slider {
  width: 90%;
  margin: auto;
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
  position: relative;
}
.price-slider svg,
.price-slider input[type=range] {
  position: absolute;
  left: 0;
  bottom: 0;
}

.price-slider-values .labels
{
  display: none;
}

.price-slider-values .values {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.price-slider-values .values p {
  width: 45%;
  border-bottom: 1px #cca166 solid;
}

.price-slider-values .values p:first-child {
  text-align: left;
}

.price-slider-values .values p:last-child {
  text-align: right;
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #cca166;
}
input[type=range]:focus::-ms-fill-lower {
  background: #cca166;
}
input[type=range]:focus::-ms-fill-upper {
  background: #cca166;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: #cca166;
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type=range]::-webkit-slider-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid #cca166;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #a1d0ff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: #cca166;
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type=range]::-moz-range-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid #cca166;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #a1d0ff;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower,
input[type=range]::-ms-fill-upper {
  background: #cca166;
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type=range]::-ms-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid #cca166;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #a1d0ff;
  cursor: pointer;
}

/* END price slider */

/*product detail*/
.administor-car-detail {
  width: 100%;
}

.administor-car-photos {
  width: 40%;
}

.administor-car-photos div {
  width: 30.5%;
  height: 120px;
  margin: 0.5%;
  padding: 0.5%;
  float: left;
  overflow:hidden;
  border: 1px #dedede solid;
}

.administor-car-photos div img {
  max-width: 100%;
}

.administor-car-info {
  padding: 0 0 0 15px;
}

.administor-car-info .version,
.administor-car-info .price {
  line-height: 1.5;
}

.administor-car-info .price .old {
  text-decoration: line-through;
}

.administor-car-info .version strong{
  font-size: 1.4em;
}

.administor-car-info .price strong {
  font-size: 1.8em;
}

div.administor-seller-info-container {
  background: #5b5657 url('https://www.hongqi-slovensko.sk/wp-content/uploads/2025/07/Hongqi_flat_logo_black_10.svg') no-repeat center right;
  padding: 20px;
  color: #fff;
}

.administor-seller-info-container p {
  margin-bottom: 0 !important;
  font-weight: bold;
}

.administor-seller-info-container .params {
  text-align: left;
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5rem 0.5rem; /* row gap / column gap */
}

.administor-seller-info-container .params li {
  display: flex;
  align-items: flex-start;
  gap: 5px; /* space between image and text */
  font-size: 14px;
  margin-bottom: 0;
  position: relative;
  color: #fff;
}

.administor-seller-info-container .params li img {
  color: #fff;
  width: 20px;
  height: auto;
  flex-shrink: 0;
}

.administor-seller-info-container .params li a {
  color: #fff;
  text-decoration: none;
}

.administor-seller-info-container .params li span {
  color: #fff;
  display: block;
  line-height: 1.4;
  text-indent: 10px;        /* indent first line */
  margin-left: -10px;       /* cancel indent so first line aligns with image */
  padding-left: 10px;       /* reapply indent visually */
}

/* .administor-car-info div {
  padding: 0 10px;
  margin-bottom: 15px;
}

.administor-car-info div h3 {
  padding: 0;
  margin: 0 0 10px 0;
} */

iframe div.administor-car-detail {
}

div.administor-car-detail {
  width: 100%;
  max-width: 100%;
  padding: 0 15px;
}

div.administor-car-detail .row .col {
  width: 50%;
  float: left;
}

@media (max-width:45em) {
  div.administor-car-detail .row .col {
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
  }
}

.administor-car-detail .buttons {
  display: flex;
  justify-content: space-between;
}

.administor-car-detail .buttons .btn {
  flex: 0 0 23%;
  display: inline-block;
  border: 2px #5b5657 solid;
  background-color: #fff;
  line-height: 50px;
  padding: 0 15px;
  color: #5b5657;
  margin: 25px auto 25px auto ;
  transition: background-color 0.4s ease;
  text-transform: uppercase;
  text-align: center;
}

.administor-car-detail .btn:hover {
  border: 2px #5b5657 solid;
  color: #fff;
  background-color: #5b5657;
  transition: background-color 0.4s ease;
  text-decoration: none !important;
}

/* car detail gallery */
.cd-gallery {
  max-width: 100%;
  margin: 0 auto;
}

.cd-gallery .main-image img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  display: block;
}

.cd-gallery .thumbs-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cd-gallery .thumbs-scroll {
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
  flex: 1;
}

.cd-gallery .thumbs-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.cd-gallery .thumbs {
  display: flex;
  gap: 10px;
  min-width: max-content;
  padding: 0;
}

.cd-gallery .thumbs a {
  flex: 0 0 auto;
  width: 150px;
  max-height: 113px;
  border: 1px solid #ccc;
  overflow: hidden;
}

.cd-gallery .thumbs a img {
  width: 150px;
  height: 113px;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cd-gallery .thumbs img:hover {
  transform: scale(1.05);
}

.cd-gallery .thumbs-wrapper {
  position: relative;
}

.cd-gallery .thumb-nav {
  background: rgba(255, 255, 255, 0);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 0%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.cd-gallery .thumb-nav:hover {
  /* background: rgba(0, 0, 0, 0.8);
  color: #fff;
  transform: scale(1.1); */
}

.cd-gallery .thumb-nav.left {
  margin-right: 8px;
  left: 0;
}

.cd-gallery .thumb-nav.right {
  margin-left: 8px;
  right:0;
}

.car-info {
  margin-top: 15px;
  padding: 25px;
  background-color: #5b5657;
}

.car-info table {
  color: #fff;
  width: 100%;
  text-align: left;
}

.car-info table tr td:nth-child(2) {
  font-weight: bold;
}

/* car detail accordion */
.accordion .accordion-item {
  border-bottom: 1px solid #e5e5e5;
}

.accordion .accordion-item button[aria-expanded='true'] {
  border-bottom: 1px solid #cca166;;
}

.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em 0;
  color: #7288a2;
  font-size: 1.15rem;
  font-weight: 400;
  border: none;
  background: none;
  outline: none;
}

.accordion button:hover,
.accordion button:focus {
  cursor: pointer;
  color: #cca166;;
}

.accordion button:hover::after,
.accordion button:focus::after {
  cursor: pointer;
  color: #cca166;;
  border: 1px solid #cca166;;
}

.accordion button .accordion-title {
  color: #5b5657;
  font-weight: bold;
  padding: 1em 1.5em 1em 30px;
}

.accordion button:hover .accordion-title {
  color: #cca166;
  font-weight: bold;
  padding: 1em 1.5em 1em 30px;
}

.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  left: 0;
  width: 22px;
  height: 22px;
  color: #cca166;
}

.accordion button .icon::before {
  display: block;
  position: absolute;
  content: '';
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: currentColor;
}
.accordion button .icon::after {
  display: block;
  position: absolute;
  content: '';
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.accordion button[aria-expanded='true'] {
  color: #cca166;
}
.accordion button[aria-expanded='true'] .icon::after {
  width: 0;
}
.accordion button[aria-expanded='true'] + .accordion-content {
  opacity: 1;
  max-height: 100%;
  transition: all 200ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content p {
  font-size: 1rem;
  font-weight: 300;
  margin: 2em 0;
}

.accordion .accordion-content table {
  width: 100%;
}

.accordion .accordion-content table tr:nth-child( odd ) {
  background-color: #eee;
}

.accordion .accordion-content table th,
.accordion .accordion-content table td {
  padding: 3px 15px;
  text-align: left;
}

/* admin drag and drop gallery */
.gallery-container {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
}

.admprop_photo_container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns */
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.admprop_photo_item {
  width: 100%;  /* One-fifth of the row, minus the gap */
  height: 200px;             /* Fixed height */
  overflow: hidden;          /* Ensure oversized images are cropped */
  position: relative;
  border-radius: 8px;
}

.admprop_photo_item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This makes sure images are cropped to fill the container */
  object-position: center; /* Ensures the center of the image is displayed */
  display: block;
}

.admprop_photo_control {
  position: absolute;
  bottom:5px;
  left: 5px;
  margin: 0;
  line-height: 25px;
  width: calc(100% - 10px);
  text-align:center;
}

.admprop_photo_control label {
  background-color: #c00000;
  color: #fff;
  display: inline-block;
  height: 25px;
  line-height: 25px;
  padding: 0 5px;
  border-radius: 3px;
}

.admprop_photo_control a {
  display: inline-block;
  text-decoration:none;
  font-size: 25px;
  width: 25px;
  height: 25px;
  border: 1px #ccc solid;
  border-radius: 3px;
  background-color: #ffffff;
  line-height: 22px;
}

.admprop_photo_control a:hover {
  background-color: #cccccc;
  border: 1px #000 solid;
}

.admprop_photo_control a:first-child {
  float:left;
}

.admprop_photo_control a:last-child {
  float: right;
}

.gallery-item.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.drop-zone {
  width: 100%;
  height: 200px;
  border: 2px dashed #00f;
  overflow: hidden;          /* Ensure oversized images are cropped */
  position: relative;
  border-radius: 8px;
  display: none;
}

.features-wrap {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-row {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
}

.feature-item {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #f9f9f9;                
  font-size: 14px;
}

.feature-label {
  font-weight: 600;
}

.feature-value {
  color: green;
  white-space: nowrap;
}

/* Mobil: 1 dvojica na riadok */
@media (max-width: 600px) {
  .feature-row {
    flex-direction: column;
    gap: 1rem;
  }
}

/* PRINT */
@media print {
  .page-break {
    break-before: page;
  }
  
  .fusion-tb-header,
  .fusion-tb-page-title-bar,
  .fusion-tb-footer,
  .cky-btn-revisit-wrapper,
  .to-top-container,
  .thumb-nav,
  .no-print {
    display: none !important;
  }
  
  .cd-gallery .thumbs {
    display: block;
    min-width: 100%;
  }
  
  .cd-gallery .thumbs a {
    display: inline-block;
    width: 145px;
  }
  
  .accordion .accordion-content {
    opacity: 1;
    max-height: 100%;
    transition: all 200ms linear;
    will-change: opacity, max-height;
  }
}