body {
  background-color: rgb(255, 255, 255);
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  margin: auto;
  padding: 20px;
  padding-bottom: 50px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  justify-items: flex-start;
  align-items: flex-start;
  opacity: 0.9;
  background-image: var(--header-bg);
  background-size: 100% 200%;
  background-position: center;
  background-repeat:no-repeat;
  height:120px;
}

main {
  /* margin-left: 20px;
  margin-right: 20px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  top: -17px;
  top: -70px;
  left: 0px;
  background-color: rgba(0,0,0,0.6);
  padding: 10px;
  width: 99%;
}

nav a, button {
  width: 150px;
  background-color: rgba(18, 43, 72, 0.7);
  border: 1px solid white;
  color: white;
  height: 35px;
  border-radius: 7px;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
}

nav a:hover, button:hover {
  border: 1px solid white;
  background-color: rgba(18, 43, 72, 1);;
  color: white;
  font-weight: bold;
}

footer {
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  background-color: rgb(18, 43, 72);
  text-align: center;
  color: white;
  /* height: 10px; */
  /* margin-left: 20px;
  margin-right: 20px;
  border-radius: 5px; */
  font-size: 0.65em;
  padding: 5px;
  /* margin-bottom: 15px;
  margin-top: 15px; */
}

#nadpisLogo {
  font-size: 3em;
  font-weight: bold;
  width: 650px;
  height: 50px;
  background-color: rgba(0,0,0,0.75);
  display: flex;
  flex-direction: row;
  justify-items: center;
  justify-content: center;
  padding: 15px;
  align-items: center;
  border-radius: 10px;
  opacity: 1;
  font-family: serif;
}

#homeinfo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  justify-items: flex-start;
  align-items: center;
  margin: 10px 20px;
  width: 100%;
}

#sidePanel {
  /* position: absolute;
  top: 190px;
  right: 0; */
  display: flex;
  flex-direction: column;
  height: auto;
  min-width: 400px;
  background-color: lightgray;
  border-right: 1px solid darkgray;
}

#homewrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.iteminfo {
  border: 1px solid rgb(18, 43, 72);
  border-radius: 7px;
  margin-bottom: 5px;
  margin-top: 5px;
  width: 1500px;
}

.iteminfoChart {
  border: 1px solid rgb(18, 43, 72);
  border-radius: 7px;
  margin-bottom: 10px;
  margin-top: 10px;
  width: 100%;
  margin-left: 20px;
  margin-right: 20px;
}

.iteminfoheader {
  background-color: rgb(18, 43, 72);
  color: white;
  font-weight: bold;
  padding: 10px 20px 10px 20px;
}

.iteminfobody {
  background-color: white;
  color: rgb(18, 43, 72);
  padding: 10px 20px 10px 20px;
  border-radius: 7px;
}

.form_input {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 10px;
}

.formline {
  display: flex;
  flex-direction: row;
}

.formNadpis {
  width: 150px;
  margin-right: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.table .table-striped {
  border: 0px solid lightgray;
  border-collapse: collapse;
  text-align: center;
}

td, th {
  border-bottom: 1px solid #a8928c;
  padding: 5px 25px 5px 25px;
}

.cenovygraf_menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding-left: 25px;
}
.cenovygraf_menuVertical {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
}

.selectboxes {
  width: 120px;
  height: 25px;
}

.selectboxTicker {
  width: 220px;
  height: 25px;
}

.selectBoxExpDny {
  width: 80px;
  height: 25px;
}

.inputs {
  width: 180px;
  height: 25px;
  padding: 2px;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 5px;
}

#container { display: flex; flex-direction: column; width: 100%; }
#priceChart { width: 100%; height: 400px; }
#volumeChart { width: 100%; height: 150px; }

.hideGroup {
  cursor: pointer;
  width: 300px;
  border: 1px solid darkgray;
  border-radius:10px;
  padding:3px;
  text-align:center;
  position:relative;
  top:13px;
  left:20px;
  background-color: lightgray;
} 
.hideGroup:hover {
  background-color: white;
  font-weight: bold;
}

#expiracneDniSelector {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 5px;
  background-color: rgb(37, 102, 175);
  border-radius: 7px;
  height: 40px;
}
#expiracneDniSelector .expDenButton {
  background-color: rgb(37, 102, 175);
  border: 1px solid white;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 2px 4px;
  cursor: pointer;
  border-radius: 5px;
  padding: 2px;
  height: 30px;
  width: 30px;
}

#expiracneDniSelector .expDenButton:hover {
  background-color: white;
  color: rgb(37, 102, 175);
}

#expiracneDniSelector .expDenButton.active:hover {
  font-size: 16px;
}

#expiracneDniSelector .expDenButton.active {
  background-color: white;
  color: rgb(37, 102, 175);
}

table {
  cursor: pointer;
  border-collapse: collapse;
  border-radius: 7px;
}
td, th {
  border: 1px solid black;
}

.tcall {
  background-color: rgba(59, 215, 70, 0.5);
}

.tput {
  background-color: rgba(59, 119, 215, 0.5);
}

.tStrike {
  background-color: rgba(139, 25, 25, 0.5);
}

.thcall {
  background-color: rgba(3, 40, 5, 0.85);
  color: white;
}

.thput {
  background-color: rgba(4, 21, 47, 0.85);
  color: white;
}

.thStrike {
  background-color: rgba(61, 4, 4, 0.85);
  color: white;
}

.cAskButton,
.cBidButton,
.pAskButton,
.pBidButton {
  width: 60px;
  font-size: 1em;
  font-weight: bold;
  height: 22px;
}

.selectedCAsk,
.selectedCBid,
.selectedPAsk,
.selectedPBid {
  background-color: red !important;
}

/* Overlay container */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* Hide overlay (you can toggle this class with JS) */
#loader-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Spinner */
.loader {
  width: 64px;
  height: 64px;
  border: 6px solid rgba(0, 0, 0, 0.1);
  border-top-color: #4f46e5; /* Indigo color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.obchodDetail {
  width:97%;
  height:auto;
  background-color: #46e58e;
  margin: 5px 0px;
  border-radius: 7px;
  padding:5px;
  /* padding:10px; */
}

.obchodDetail.active {
  background-color: #f0b608;
  border: 1px solid black;
}

.novyObchodOkno {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}