@charset "UTF-8";
:root, [data-bs-theme="light"] {
  --body-color1: #D1BEA8;
  --body-color-rgb1: 209, 190, 168;
  --body-bg: #C4A484;
  --border-color:#410200;
  --secondary-color: #8FBC8B;
  --secondary-color-rgb: 143, 188, 139;
  --cassiopeia-color-primary: #006400; 
  --cassiopeia-color-hover: #008000;

  

  --tertiary-bg: #F5DEB3;
  --tertiary-bg-rgb: 255, 228, 196;
  
  --link-color: #000;
  --link-color-rgb: 0, 0, 0;
  --link-decoration: underline;
  --link-hover-color: #2F4F4F;
  --link-hover-color-rgb: 47, 79, 79;
}

.container-header {
    z-index: 10;
    background-color: #c4a484 !important;
    background-image: linear-gradient(190deg, #c4a484 0%, #C38A41 100%) !important;
    position: relative;
    box-shadow: inset 0 5px 5px #00000008;
}

.btn-primary {
  --btn-color: #fff;
  --btn-bg: #F5DEB3;
  --btn-border-color: #410200;
  --btn-hover-color: #fff;
  --btn-hover-bg: #006400;
  --btn-hover-border-color: #575e64;
  --btn-focus-shadow-rgb: 131, 138, 145;
  --btn-active-color: #ddd;
  --btn-active-bg: #006400;
  --btn-active-border-color: #52585e;
  --btn-active-shadow: inset 0 3px 5px #00000020;
  --btn-disabled-color: #ccc;
  --btn-disabled-bg: #6d757e;
  --btn-disabled-border-color: #6d757e;
}

.btn-secondary {
  --btn-color: #000;
  --btn-bg: #F5DEB3;
  --btn-border-color: #410200;
  --btn-hover-color: #fff;
  --btn-hover-bg: #006400;
  --btn-hover-border-color: #575e64;
  --btn-focus-shadow-rgb: 131, 138, 145;
  --btn-active-color: #ddd;
  --btn-active-bg: #006400;
  --btn-active-border-color: #52585e;
  --btn-active-shadow: inset 0 3px 5px #00000020;
  --btn-disabled-color: #ccc;
  --btn-disabled-bg: #6d757e;
  --btn-disabled-border-color: #6d757e;
}
.inputbox {
  border: 1px solid #000 !important;
  color: #000 !important;
  background-color: #F5DEB3 !important;
}

.card {
  --card-border-color: #410200;
  --card-box-shadow: #483C32 !important;
   box-shadow: 5px 5px 10px rgba(72, 60, 50, 0.7);
}

.form-control {
  width: 100%;
  color: var(--body-color);
  appearance: none;
  background-color: var(--body-bg);
  border: var(--border-width) solid #410200;
  border-radius: var(--border-radius);
  background-clip: padding-box;
  padding: .6rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  display: block;
}

.form-check-input:checked {
  background-color: #410200 !important;
  border-color: #410200;
}


.input-group-text {
  color: var(--body-color);
  text-align: center;
  white-space: nowrap;
  background-color: var(--tertiary-bg);
  border: var(--border-width) solid #410200;
  border-radius: var(--border-radius);
  align-items: center;
  padding: .6rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
}

.com-content-categories__item {
    border-bottom: 1px solid #410200;
}

.table {
  border: none !important;
  border-width: 0px !important;
  border-style: none !important;
  --table-striped-color:#C4A484;
  --table-hover-color: #C4A484;
}

.table-hover {
  border: none !important;
  border-width: 0px !important;
  border-style: none !important;
  color: #C4A484;
}

.table-striped{
  border: none !important;
  border-width: 0px !important;
  border-style: none !important;
  color:#C4A484;
}

.table-striped > tbody > tr:nth-of-type(odd) > *, .table-striped-columns > :not(caption) > tr > :nth-child(2n) {
  border: none !important;
  border-width: 0px !important;
  border-style: none !important;
  --table-color-type: #C4A484;
  --table-bg-type: #C4A484;
}


.table-hover > tbody > tr:hover > * {
  border: none !important;
  border-width: 0px !important;
  border-style: none !important;
  --table-color-state: #C4A484;
  --table-bg-state: #C4A484;
}

.table-hover > tbody > tr > * {
  border: none !important;
  border-width: 0px !important;
  border-style: none !important;
  --table-color-state: #C4A484;
  --table-bg-state: #C4A484;
}

.city {
  display: inline-block;
  position: relative;
  width: 900px;
  height: 900px;
  border-radius: 30px;
  border: solid #410200;
  overflow:hidden;
  box-shadow: 5px 5px 10px rgba(72, 60, 50, 0.7);
  margin: 10px;
}

.city-description {
  position: absolute;
  color: #410200;
  left: 20px;
  top: 20px;
}

.tablex , th, td {
	border: 0px solid #000;
	padding: 5px;
	border-spacing: 0px;
 }

/* Timeline */
#timeline {
  position: relative;
  width: 100%;
  padding-inline: .5rem;
  margin: 30px auto;
}
#timeline:before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  content: "";
  background-color: #000000;
}
#timeline:after {
  display: table;
  width: 100%;
  clear: both;
  content: "";
}
.timeline-item:after,
.timeline-item:before {
  display: block;
  width: 100%;
  clear: both;
  content: "";
}
.timeline-item {
  position: relative;
  margin-bottom: 50px;
}
.timeline-item .timeline-icon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-left: -23px;
  overflow: hidden;
  background-color: #000000;
  border-radius: 50%;
  border: 12px solid #AC8053;
  padding: 12px;
}
.timeline-item .timeline-content {
  width: 45%;
  padding: .5rem;
  --background: #f4f4f4;
  background: #D9C4B0;
  border-radius: var(--border-radius);
  box-shadow: 5px 5px 10px rgba(72, 60, 50, 0.7);
  box-shadowX: 0 3px 0 rgba(0, 0, 0, 0.1);
}
.timeline-item .timeline-content h2 {
  padding: .5rem;
  margin: -.5rem -.5rem .5rem -.5rem;
  font-size: 1.5rem;
  color: #fff;
  background-color: #AC8053;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.timeline-item .timeline-content p {
  margin-top: 1rem;
}
.timeline-item .timeline-content:before {
  position: absolute;
  top: 20px;
  left: 45%;
  width: 0;
  height: 0;
  content: "";
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #AC8053;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
}
.timeline-item:nth-child(even) .timeline-content:before {
  right: 45%;
  left: inherit;
  content: "";
  border-right: 7px solid #AC8053;
  border-left: 0;
}

@media (max-width: 768px) {
  #timeline {
    width: 90%;
    padding: 0;
    margin: 30px;
  }
  #timeline:before {
    left: 0;
  }
  .timeline-item .timeline-content {
    float: right;
    width: 90%;
  }
  .timeline-item .timeline-content:before,
  .timeline-item:nth-child(even) .timeline-content:before {
    left: 10%;
    margin-left: -6px;
    border-right: 7px solid #AC8053;
    border-left: 0;
  }
  .timeline-item .timeline-icon {
    left: 0;
  }
}

/* ** MAPA ** /
/* 1. Nastavení obalu - aby se piny držely uvnitř */
.herni-mapa-obal {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1200px; /* Maximální šířka mapy */
    margin: 0 auto;
}

.mapa-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 2. Nastavení PINU (obal pro bod i text) */
.mapa-pin {
    position: absolute;
    /* Piny mají nulovou velikost, slouží jen jako kotva */
    width: 0;
    height: 0;
    cursor: pointer;
    z-index: 10;
}

/* 3. Vzhled samotného bodu (kolečko na mapě) */
.pin-bod {
    width: 20px;
    height: 20px;
    background-color: #ffd700; /* Zlatá barva */
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    /* Vycentrování bodu na souřadnice */
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
}

/* Varianta pro červený bod */
.pin-bod.cerveny {
    background-color: #ff4444;
}

/* Efekt po najetí na bod - zvětšení */
.mapa-pin:hover .pin-bod {
    transform: translate(-50%, -50%) scale(1.3);
}

/* 4. Popis (Tooltip) - skrytý */
.pin-popis {
    display: none; /* Ve výchozím stavu skryto */
    position: absolute;
    bottom: 25px; /* Zobrazí se nad bodem */
    left: 50%;
    transform: translateX(-50%); /* Vycentrování vůči bodu */
    width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    pointer-events: none; /* Aby popis nepřekážel myši */
    z-index: 20;
}

/* Šipka dolů od popisu k bodu */
.pin-popis::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

/* 5. Zobrazení popisu při najetí myší */
.mapa-pin:hover .pin-popis {
    display: block;
    animation: fadeIn 0.3s;
}

/* Jednoduchá animace pro hladký nástup */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}