.grid-container {
  max-width: 1200px;
  min-width: 800px;
  width: 80%;
  /*height: 100%;*/
  color: rgb(50, 50, 55);
  font-family: Verdana;
  margin: auto;
  display: grid;
  align-items: center;

  grid-template-columns: 25% auto;
  grid-gap: 1px;  
}

.logo {
  grid-column-start: 1;
  grid-column-end: 2;
  max-height:118px;
}
.logo img {
max-width:100%;
max-height:118px;
}
.tytul {
  grid-column-start: 2;
  grid-column-end: 3;
  text-align: center;
  font-family: Myriad, Verdana;
  font-size: 15pt;
  color: rgb(0, 98, 145);
  font-weight: bold;
  vertical-align: middle;
  line-height: 1.4;
  text-indent: 0em;
  max-height:118px;
}

.nav {
  grid-column-start: 1;
  grid-column-end: 3;
  background-color: rgb(0, 98, 145);
  border-bottom: 1px solid rgb(0, 98, 155);
  border-right: 1px solid rgb(0, 98, 155);
  border-top: 1px solid rgb(0, 98, 155);
  margin-top: 2px;
  position: sticky;
  position: -webkit-sticky;
  top: 0; 
}

.nav ul,
.nav li {
  margin: 0 0;
  padding: 0 0;
  list-style: none;
  -webkit-transition: .8s;
  transition: .8s;
}

.nav li {
  float: left;
  display: inline;
  position: relative;
  text-shadow: 0 -1px 0 #000;
}

.nav li:first-child {
  border-left: none
}

.nav a {
  display: block;
  line-height: 35px;
  padding: 0 14px;
  text-decoration: none;
  color: #eee;
}

.nav li:hover > a,
.nav li a:hover {
  background-color: rgb(40, 80, 140);
}

.nav ul.menus {
  height: auto;
  width: 180px;
  background-color: rgb(0, 98, 145);
  position: absolute;
  z-index: 99;
  display: none;
  border: 0;
}

.nav ul.menus li {
  display: block;
  width: 100%;
  text-transform: none;
}

.nav li:hover ul.menus {
  display: block;
}

.nav a.home {
  background: #c00;
}

.nav a.prett {
  padding: 0 27px 0 14px
}

.nav a.prett::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 15px;
  right: 9px
}

.nav ul.menus a:hover {
  background-color: rgb(40, 80, 140);
}

.nav ul.menus .submenu {
  display: none;
  position: absolute;
  left: 180px;
  background-color: rgb(0, 98, 145);
  top: 0;
  width: 180px;
}

.nav ul.menus .submenu li {
  background-color: rgb(0, 98, 145);
}

.nav ul.menus .has-submenu:hover .submenu {
  display: block;
    -webkit-transition: .8s;
  transition: .8s;
}

#pass {
  float:right;
  display: block;
  color: black;
  text-align: left;
  padding: 5px 5px;
  width: 140px;
  box-shadow: 2px 2px 3px grey;
  background-color:rgb(230, 230, 230);
}

#ok {
  background-color: rgb(0, 98, 145);
  color: white;
  margin-top: 2px;
}

.main {
  grid-column-start: 1;
  grid-column-end: 3;
  font-family: Verdana;
  overflow: auto;
  height: auto;
  padding-bottom: 80px; 
  margin-bottom: 5px;
}
h3 {
	margin: 40px 0px;
	color: rgb(0, 98, 145);
}

h4 {
	color: rgb(0, 98, 145);	
}

/* style do strony "badania" */
.subtitle a {
	color: rgb(0, 98, 145);
	text-decoration: none;
}

.subtitle a:hover {
	color: rgb(40, 80, 140);
	text-decoration: underline;
}
	
p {
	text-align: justify;
	line-height: 1.5;
	padding-right: 5px;
	padding-left: 2px;
}

.main img {
	box-shadow: 2px 2px 3px grey;
}
/*style do zdjęć na stronie "badania" */

.imag {
  bottom: 0;
  max-width: 1200px;
  min-width: 800px;
  width: 80%;
  margin-bottom: 25px;
}
.imag ul {
  list-style-type: none;
  background-color: rgb(230, 230, 230);
}

.imag li {
  float: left;
}
.imag li a {
  display: block;
  color: rgb(0, 98, 145);
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
}

.imag img {
	box-shadow: 2px 2px 3px grey;
}
/*footer */

.footer {
  position: fixed;
  bottom: 0;
  max-width: 1200px;
  min-width: 800px;
  width: 80%;
  /*grid-column-start: 1;
  grid-column-end: 3;*/
  background-color: rgb(230, 230, 230);
  margin-top: 15px;

}

.footer ul {
  list-style-type: none;
  background-color: rgb(230, 230, 230);
}

.footer li {
  float: left;
}
.footer li a {
  display: block;
  color: rgb(0, 98, 145);
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
}

.footer img {
	box-shadow: 2px 2px 3px grey;
}

.wykaz {
	width: 100%;
	line-height: 1.8;
	align-items: center;
}

.wykaz tr:nth-child(odd){
      background-color: rgb(230, 230, 230);
}

.wykaz td {
	font-family: verdana, geneva, sans-serif;
	font-size: 10pt;
	overflow:auto; 
	padding: 5px;
	vertical-align: top;
}

.wykaz, textarea, input {
	font-family: verdana, geneva, sans-serif;
	font-size: 10pt;
}

input {
	font-family: verdana, geneva, sans-serif;
	font-size: 10pt;
}
.people {
	min-height: 12 0px;
	border-bottom: ridge 1px grey;
}

.people img {
	margin-right: 10px;
	box-shadow: 2px 2px 3px grey;
}