body {
  color: #777777;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  line-height: 20px;
  max-width: 100%;
  background-color: #f5f5f5;
}

a {
  color: #000;
}

a:hover {
  color: #343434;
}

header {
  width: 100%;
  margin: 0 auto 0 auto;
  text-transform: uppercase;
  margin: auto;
  padding: 0;
  text-align: center;
  background-color: #2b387e;
}

header div {
  max-width: 1420px;
  margin: auto;
}

header h1 {
  text-decoration: none;
  color: #000;
  display: inline-block;
  font-size: 20px;
  letter-spacing: 3px;
}

header h1 img:hover {
  opacity: 0.6;
  filter: alpha(opacity =60);
}

header h1 img {
  width: 300px;
}

header .kontakt-link {
  text-align: right;
  position: absolute;
  float: right;
  right: 50px;
  top: 60px;
  background: #fff;
  text-decoration: none;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  padding: 10px 30px;
  font-weight: 700;
}

header .kontakt-link-mobile {
  display: none;
  background: #fff;
  text-decoration: none;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  padding: 10px 30px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contener-index article {
  background-color: #fff;
}

.contener-index h2 {
  color: #000;
  text-decoration: none;
  margin: 25px 0;
  letter-spacing: 1px;
  font: 700;
  font-size: 40px;
  line-height: 45px;
  text-align: center;
}

.contener-pods h3 {
  color: #fff;
  text-decoration: none;
  margin-top: 25px;
  letter-spacing: 1px;
  font: 700;
  font-size: 40px;
  line-height: 45px;
  text-align: center;
  padding: 50px 0;
}

header hr {
  border: 0;
  height: 1px;
  margin: 0 auto 40px auto;
  width: 80%;
  max-width: 600px;
  background: #eeeeee;
}

.contener-pods h1,
h2,
h3,
h4 {
  text-decoration: none;
  color: #000;
  margin: 25px 0 5px 0;
}

h1 {
  font-size: 22px;
  line-height: 30px;
}

h2 {
  font-size: 30px;
  line-height: 38px;
}

h3 {
  font-size: 18px;
  line-height: 26px;
}

h4 {
  font-size: 16px;
  line-height: 24px;
}

/* ul li,
ol li {
  margin: 15px 0;
  margin-left: 20px;
  font-size: 14px;
  color: #777777;
  line-height: 22px;
} */

.contener-index p {
  text-align: center;
  font-size: 20px;
}

.contener-index article {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: flex-start;
  overflow: auto;
  flex-direction: row;
  max-width: 1420px;
  margin: auto;
}

.contener-index div {
  width: 22.5%;
  margin: 25px 0.5%;
}

.contener-index div:first-of-type {
  margin: 25px 0.5% 25px 0.75%;
}

.contener-index div:last-of-type {
  margin: 25px 0.75% 25px 0.5%;
}

.contener-index div a {
  background-color: #f5f5f5;
  width: 80%;
  display: inline-block;
  padding: 9%;
  /* border: 0.5% solid #dedede; */
}

.contener-index div img {
  width: 100%;
}

.contener-index div a:hover img {
  opacity: 0.7;
  filter: alpha(opacity =70);
}

.contener-pods {
  width: 100%;
  max-width: 1420px;
  margin: 20px auto 20px auto;
  background: #2b387e;
  color: #d5d5d5;
}

.contener-pods img {
  width: 100%;
}

.contener-pods p {
  margin: 15px 0 0;
  font-size: 14px;
  color: #3b3b3b;
  line-height: 20px;
}

::-moz-selection {
  background: #2b387e;
  color: #fff;
}
::selection {
  background: #2b387e;
  color: #fff;
}

.contener-pods .foto-big {
  width: 100%;
  margin: 0.5% 0;
  float: left;
}

.contener-pods .foto-small-r {
  width: 35%;
  margin: 0.5%;
  float: right;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin-top: 2%;
}

.lightbox:target {
  outline: none;
  display: block;
}

.contact article {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: top;
  align-content: flex-start;
  overflow: auto;
  flex-direction: row;
  max-width: 1420px;
  margin: auto;
}

.contact .map {
  width: 50%;
}

.form-contener {
  width: 46%;
  margin: 0 auto;
  padding: 0 2%;
}

form {
  width: 100%;
}

.form {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  margin-bottom: 40px;
  width: 100%;
}

input {
  box-sizing: border-box;
  width: 100%;
  min-height: 45px;
  padding: 12px;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  background-color: #fff;
  color: #101010;
  margin-bottom: 20px;
}

input[type='checkbox'] {
  width: 10px;
  min-height: 2px;
  margin: 0 10px 0 0;
}

textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 45px;
  padding: 12px;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  background-color: #fff;
  color: #101010;
  margin-bottom: 20px;
  min-height: 200px;
}

label {
  font-size: 13px;
  font-weight: 700;
}

button {
  padding: 15px 25px;
  border: none;
  font-size: 13px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background-color: #2b387e;
  color: #fff;
  width: 100%;
}

button:hover {
  background-color: #2b387e;
  color: #fff;
  cursor: pointer;
  opacity: 0.99;
}

.zgody {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 28px;
  color: #999;
  text-align: left;
}

.zgody2 {
  margin: 40px 0 0 0;
  font-size: 16px;
  line-height: 28px;
  color: #999;
  text-align: left;
}

label {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 28px;
  color: #999;
  text-align: left;
  font-weight: 400;
}

.contact hr {
  background-color: #2b387e;
  width: 8%;
  height: 3px;
  border: none;
}

.mapka img {
  width: 80%;
  padding: 0 10%;
}

.contener-footer article {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: top;
  align-content: flex-start;
  overflow: auto;
  flex-direction: row;
  max-width: 1420px;
  margin: auto;
  background-color: #fff;
}

.contener-footer .dzial {
  width: 31%;
  margin: 25px 0.5%;
  text-align: center;
}

.contener-footer .dzial h3 {
  text-transform: uppercase;
}

.contener-footer .osoba {
  margin: 20px 0;
}

.contener-footer .dzial:first-of-type {
  margin: 25px 0.5% 25px 0.75%;
}

.contener-footer .dzial:last-of-type {
  margin: 25px 0.75% 25px 0.5%;
}

.contener-footer .dzial a {
}

.dzial hr {
  margin-bottom: 60px;
  display: none;
  width: 20%;
}

@media screen and (max-width: 1250px) {
  .contener-index,
  .contener-pods,
  .contact article {
    max-width: 900px;
    margin: auto;
  }
}

@media screen and (max-width: 940px) {
  .contener-index div {
    width: 45%;
    margin: 2%;
  }

  header h1 img {
    max-width: 98%;
  }

  header h1 {
    width: 100%;
    display: inline-block;
  }

  header .kontakt-link {
    display: none;
  }

  header .kontakt-link-mobile {
    display: inline-block;
  }

  .contact .map,
  .form-contener {
    width: 100%;
    padding: 0 2%;
  }

  .contener-footer .dzial {
    width: 99%;
  }

  .dzial hr {
    display: inline-block;
  }
}

@media screen and (max-width: 570px) {
  .contener-index div {
    width: 90%;
    margin: 5%;
  }

  header h1 a {
    padding: 5px 10px;
    font-size: 14px;
    letter-spacing: 2px;
  }

  header {
    padding-bottom: 0;
  }
}
