@font-face {
	font-family: tekst;
	src: url(../fonts/Lato-Regular.ttf);
	}

body, html {
	font-family: tekst;
	background-color: #F5F5F5;
	margin: 0;
	padding: 0;
	height: 100%;
	}

.container {
      display: flex;
	  height: 100%;
    }

    .lewa {
      width: 4%;
	  min-height: 100%;
    }

    .prawa {
	min-height: 100%;
    width: 96%;
	
    }


    .kolumna {
      padding: 5px;
      box-sizing: border-box;
	  margin-left: 15px;
    }




#mapaOC {
	border-width: 2px;
	border-color: #000;
	border-style: solid;
	border-radius: 5px;
	padding:1px;
	min-height: 100%;
	}

.menu {
background-color: #FDF5E6;
border: 1px solid #FDF5E6;
padding: 5px;
cursor: pointer;
appearance: none;
background-color: inherit;
margin: 5px;
}



.menu:hover {
background-color: #AFEEEE;
border-style: solid;
border-color: #000;
border-width: 1px;
border-radius: 5px;
}

.link {
text-decoration: none;
color: #000;
background-color: #0B99FC;
padding: 2px;
border-radius: 3px;
border-style: solid;
border-color: #000;
border-width: 1px;

}

.link:hover {
text-decoration: none;
color: #000;
background-color: #99FFFF;

}

a {
color: #0B00FC;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 1px;
  font-size: 12px;
  text-align:center;
}

tr:nth-child(even) {
  background-color: #E0FFFF;
}

th {
text-align: center;
}

.mbtn {
background-color: #f7b4b6;
width: 100%;
  border-style: solid;
  border-color: #000;
  border-width: 1px;
  border-radius: 5px;
  cursor: url(../img/del_s.png), auto;
}

.mbtn:hover {
	background-color: #FF4500;
}

.btn	{
border: 0px;
width: 30px;
height: 30px;	
}

#coords, #centermap
{
	font-size: 12px;	

}

#ilosc
{
font-size: 12px;	
color: #778899;
}



/* ===== Obrazek na mapie: uchwyty i panel ===== */
.gf-handle {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font: bold 14px/1 sans-serif;
  color: #000;
  user-select: none;
}
.gf-h-scale, .gf-h-skew {
  background: #fff;
  border: 2px solid #0B99FC;
  border-radius: 2px;
  cursor: nwse-resize;
}
.gf-h-skew {
  border-color: #FF4500;
  border-radius: 50%;
  cursor: crosshair;
}
.gf-h-move {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #0B99FC;
  border-radius: 50%;
  cursor: move;
}
.gf-h-rot {
  background: #0B99FC;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: grab;
}
.gf-img-panel {
  background: #FDF5E6;
  padding: 8px;
  width: 190px;
  font-size: 12px;
}
.gf-img-panel label {
  display: block;
  margin-bottom: 6px;
  cursor: pointer;
}
.gf-img-panel input[type=range] { width: 100%; }
.gf-img-panel button {
  display: block;
  width: 100%;
  margin-bottom: 4px;
  border: 1px solid #000;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.gf-img-panel button:hover { background: #AFEEEE; }
.gf-img-panel #img-remove:hover { background: #f7b4b6; }
.gf-img-title {
  font-weight: bold;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gf-img-help { color: #555; font-size: 11px; margin-top: 4px; }


/* ===== Okno instrukcji ===== */
#help-dialog {
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 24px 28px 20px;
  border: 2px solid #000;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  box-sizing: border-box;
}
#help-dialog::backdrop { background: rgba(0, 0, 0, 0.55); }
.gf-dialog-close {
  position: sticky;
  top: 0;
  float: right;
  width: 34px;
  height: 34px;
  margin: -8px -12px 0 0;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
}
.gf-dialog-close:hover { background: #f7b4b6; }
.gf-dialog-ok {
  display: block;
  margin: 18px auto 0;
  padding: 8px 32px;
  font: inherit;
  font-size: 16px;
  background: #0B99FC;
  color: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  cursor: pointer;
}
.gf-dialog-ok:hover { background: #63B8FF; }

.gf-help { font-size: 14px; line-height: 1.45; color: #222; }
.gf-help h2 { margin: 0 0 6px; font-size: 24px; }
.gf-help h2 small { font-size: 14px; color: #778899; font-weight: normal; }
.gf-help h3 { margin: 20px 0 8px; font-size: 17px; border-bottom: 1px solid #ddd; padding-bottom: 4px; }
.gf-help-lead { margin-top: 0; color: #444; }
.gf-help-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gf-help-steps figure { margin: 0; }
.gf-help-steps img {
  width: 100%;
  height: auto;
  border: 1px solid #aaa;
  border-radius: 6px;
  display: block;
}
.gf-help-steps figcaption { margin-top: 6px; font-size: 13px; }
.gf-help table.gf-help-table { width: 100%; border-collapse: collapse; font-family: inherit; }
.gf-help .gf-help-table td {
  border: 0;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  padding: 6px 4px;
  vertical-align: middle;
}
.gf-help .gf-help-table tr:nth-child(even) { background: none; }
.gf-help .gf-help-table td:first-child { width: 48px; text-align: center; }
.gf-help .gf-help-table img { width: 32px; height: 32px; }
.gf-help-icon { display: inline-flex; width: 24px; height: 24px; }
.gf-help-icon-sm { width: 14px; height: 14px; }
.gf-help kbd {
  border: 1px solid #999;
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 12px;
  background: #f5f5f5;
}
.gf-help-foot { color: #778899; font-size: 12px; margin-top: 18px; }
.gf-help-page { padding: 16px; max-width: 900px; margin: 0 auto; height: auto; }
.gf-img-size { margin-bottom: 6px; color: #333; }
@media (max-width: 640px) {
  .gf-help-steps { grid-template-columns: 1fr; }
  #help-dialog { padding: 16px; }
}
