
#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: pointer;
}

#overlay_text{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color: white;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}


.JSWindow {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.9);
  z-index: 100;
  cursor: pointer;
}

.JSWindow_Window{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 12px;
  background: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}

.JSWindowClose {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  font-size: 1em;
  height: 100%;
  margin-left: 10px;
}

.JSWindowClose:hover {
  background: #CCCCCC;
  -webkit-transition-duration: 0.8s;
  transition-duration: 0.8s;
}


.JSWindow_Header{
  background: #000000;
  color: #FFFFFF;
  padding: 5px;
  font-size: 1em;
  font-weight: bold;
}

.JSWindow_Content{
  background: transparent;
  color: #000000;
  padding: 5px;
  font-size: 12px;
  font-weight: normal;
  overflow:auto;
}


/*jquery*/
.my-tooltip-styling {
  width:  1200px;
  max-width: 1200px;
}


/* HELP CLASS */

/* Styl dla dymka */
.help-tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  font-size: 1em;
  padding: 1em;
  border-radius: 0.5em;
  z-index: 1000;
  max-width: 45vw;
  max-height: 45vh;
  overflow: auto;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Styl dla modala */
.help-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.help-modal-content {
  background-color: #fff;
  font-size: 1em;
  padding: 2em;
  border-radius: 1em;
  max-width: 80%;
  max-height: 80%;
  overflow: auto;
  text-align: left;
}


.fitContent {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.inner-fitContent {
  width: 100%;
  height: 100%;
  transform-origin: top left;
  display: inline-block;    /* Zapobiega przed dodaniem marginesów dla rodzica */
}