@import url('normalize.css');
@import url('../includes/fonts/fonts.css');
html {
  color: #ebf4fd;
  font-size: 1rem;
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  background-image: -webkit-gradient(linear, left top, right top, from(#02111b), to(#87989f));
  background-image: linear-gradient(to right, #02111b, #87989f);
  scroll-behavior: smooth;
  /*scroll-padding-top: 5rem;*/
}
body {
  margin: 0 auto;
  min-height: 100vh;
  //max-width: 80rem; /* 80*16=1.280px */
}
header,
main {
  max-width: 80rem;
  margin: 0 auto;
}
input,
select {
  border: 1px solid #02111b;
  border-radius: 3px;
  padding: 3px;
  color: #1b3d50;
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
}
input[type='submit']:hover,
input[type='button']:hover {
  background-color: #1b3d50;
  color: #fff;
  cursor: pointer;
}
img {
  vertical-align: middle;
}
a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

a.pwd_lost {
  font-size: 0.8em;
  padding-top: 1rem;
}

a.pwd_lost:hover {
  text-decoration: underline;
}

.seo {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
}
nav {
  font-size: 0.9rem;
  z-index: 500;
  //position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.logo {
  max-width: 150px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
}

nav ul li:first-child {
  margin-left: auto;
}

nav ul li:last-child {
  margin-left: auto;
}

nav ul li:hover > ul {
  background-color: #02111b;
  display: flex;
}
nav ul li ul li:last-child {
  font-weight: normal;
  overflow: hidden;
}
nav li {
  float: left;
}
nav li:last-child {
  float: right;
  font-weight: bold;
  background-color: #02111b;
}
nav li a {
  display: block;
  color: inherit;
  padding: 1rem 1.2rem;
  text-decoration: none;
  -webkit-transition: color 0.3s, color 0.15s, opacity 0.3s, -webkit-box-shadow 0.3s;
  transition: color 0.3s, color 0.15s, opacity 0.3s, -webkit-box-shadow 0.3s;
  transition: color 0.3s, color 0.15s, box-shadow 0.3s, opacity 0.3s;
  transition: color 0.3s, color 0.15s, box-shadow 0.3s, opacity 0.3s, -webkit-box-shadow 0.3s;
}
nav li a:hover,
nav li a:focus {
  //color: #87989f;
  color: rgb(226 232 240 / 0.8);
  //background-color: rgb(2 17 27 / 0.44);
}

.tNew {
  color: #ff3;
}
.warnY {
  color: #02111b;
  background-color: #ff3;
}
.warnR {
  color: #ebf4fd;
  background-color: #c00;
}
.subMenu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  -webkit-transition: background-color 0.3s, color 0.15s, opacity 0.3s, -webkit-box-shadow 0.3s;
  transition: background-color 0.3s, color 0.15s, opacity 0.3s, -webkit-box-shadow 0.3s;
  transition: background-color 0.3s, color 0.15s, box-shadow 0.3s, opacity 0.3s;
  transition: background-color 0.3s, color 0.15s, box-shadow 0.3s, opacity 0.3s, -webkit-box-shadow 0.3s;
  display: none;
  border: 1px solid #5d6d75;
  z-index: 500;
}
nav ul li:hover > ul,
.subMenu:hover {
  visibility: visible;
  opacity: 0.95;
  display: block;
}
.subMenu li {
  clear: both;
  width: 100%;
}
.subMenu li:last-child {
  padding: 0;
}
.aCenter {
  text-align: center;
}
.aLeft {
  text-align: left;
}
.aRight {
  text-align: right;
}
.aJustify {
  text-align: justify;
}
.basket {
  margin: -10px 0;
}
#data {
  margin: 20px auto;
  padding: 0.5rem;
  text-align: center;
  display: -ms-grid;
  display: grid;
  grid-gap: 1rem;
  -ms-grid-columns: (minmax 300px, 1fr) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax 300px, 1fr);
  justify-content: center;
}
#data table {
  display: inline-block;
  border: 1px solid #02111b;
  border-radius: 5px;
  border-collapse: collapse;
}
#data th,
#data tfoot {
  padding: 10px;
  font-weight: bold;
  letter-spacing: 0.2rem;
  background-color: #02111b;
  color: #ebf4fd;
}
#data td {
  padding: 5px 10px;
}
section {
  width: 95%;
  margin: 0 auto;
}
span {
  //display: block;
  text-align: left;
  padding: 20px 0 10px 10px;
  clear: both;
}
span.desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}
article {
  min-height: 200px;
  padding: 5px;
  margin: 0.5rem;
  display: inline-block;
  vertical-align: text-top;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
article img {
  width: auto;
  max-width: 350px;
  height: auto;
  max-height: 250px;
}
article img:hover {
  opacity: 0.8;
}
article label {
  display: block;
  padding-bottom: 5px;
}
article label img,
article h4 img {
  height: 28px;
  width: 28px;
  padding-left: 5px;
  opacity: 0.4;
}
article label img:hover,
article h4 img:hover {
  opacity: 1;
  cursor: pointer;
}
.funds {
  background-color: #fff;
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  min-height: 0;
  min-width: 0;
  text-align: center;
  border-radius: 50px;
  max-width: 1150px;
}
.funds span {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.5rem;
  color: #16222a;
  max-width: 500px;
  vertical-align: middle;
  text-align: center;
}
.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  max-width: 25em;
  margin: 0 auto;
  padding: 3em;
  -webkit-box-shadow: 0 3px 30px rgba(2, 17, 27, 0.3);
  box-shadow: 0 3px 30px rgba(2, 17, 27, 0.3);
}
.container h3 {
  color: #a9c4cb;
  padding: 1em;
  font-size: initial;
  letter-spacing: 0.1em;
}
.container input {
  padding: 1em;
  -webkit-box-shadow: inset 0 3px 10px rgba(2, 17, 27, 0.3);
  box-shadow: inset 0 3px 10px rgba(2, 17, 27, 0.3);
}
.container input[type='submit'] {
  margin-top: 3em;
  text-transform: uppercase;
  background-color: #a9c4cb;
  color: #02111b;
  font-weight: bold;
  -webkit-transition: -webkit-box-shadow 300ms;
  transition: -webkit-box-shadow 300ms;
  transition: box-shadow 300ms;
  transition: box-shadow 300ms, -webkit-box-shadow 300ms;
}
.container input:hover,
.container input:focus {
  border: 1px solid rgba(2, 17, 27, 0.3);
}
.container input[type='submit']:hover,
.container input[type='submit']:focus {
  -webkit-box-shadow: 0 3px 10px rgba(2, 17, 27, 0.3);
  box-shadow: 0 3px 10px rgba(2, 17, 27, 0.3);
}
.container span {
  letter-spacing: 0.1em;
  padding-left: 0;
  font-weight: bold;
  font-size: 0.9em;
}
.funds a {
  font-size: 0.9rem;
  color: #16222a;
  padding: 0.5rem;
}
.funds a > img {
  max-height: 50px;
  max-width: 151px;
  padding: 0 1rem;
}
.funds a:last-child:hover {
  background-color: #5d6d75;
  color: #ebf4fd;
}
h2 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #a9c4cb;
  letter-spacing: 0.1rem;
  max-width: calc(1 / 1.4 * 70ch);
}
h3 {
  font-size: 1rem;
  padding: 1.5rem 0 0.8rem 0.8rem;
  line-height: 1;
  margin: 0;
}
h4 {
  font-weight: normal;
  padding: 0.4rem 0;
  margin: 0;
}
#data.logo {
  width: 100%;
  max-width: 300px;
  height: auto;
}
.title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #a9c4cb;
  letter-spacing: 0.1rem;
}
.opis {
  line-height: 1.5;
}
.opis > p {
  margin: 0;
  text-align: left;
  max-width: 70ch;
}
.inline {
  display: inline-block;
  padding: 1rem;
}
.wBold,
h3 {
  font-weight: bold;
}
#errMsg {
  color: #ff3;
}
#map {
  padding: 0;
  border: 1px solid #a9c4cb;
  border-radius: 5px;
  background-color: #fff;
  color: #000;
  height: 480px;
  margin: 0.5rem;
  z-index: 1;
}
#scrl {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 99;
  outline: none;
  cursor: pointer;
  padding: 10px;
  background-color: #5d6d75;
  opacity: 0.7;
  color: #fff;
  border-color: #ebf4fd;
  -webkit-transition: background-color 0.3s, color 0.15s, opacity 0.3s, -webkit-box-shadow 0.3s;
  transition: background-color 0.3s, color 0.15s, opacity 0.3s, -webkit-box-shadow 0.3s;
  transition: background-color 0.3s, color 0.15s, box-shadow 0.3s, opacity 0.3s;
  transition: background-color 0.3s, color 0.15s, box-shadow 0.3s, opacity 0.3s, -webkit-box-shadow 0.3s;
}
#scrl:hover {
  background-color: #02111b;
  color: #fff;
  border-color: #02111b;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 70px;
  left: 0;
  top: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #02111b;
}
.modal-content {
  margin: 0 auto;
  display: block;
  height: auto;
  max-width: 95%;
  max-height: 95%;
}
#caption {
  display: inline-block;
  max-width: 700px;
  font-size: 1.6rem;
  color: #000;
  background-color: #a9c4cb;
  padding: 0 15px;
  z-index: 5;
  border-radius: 15px;
}
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}
@keyframes zoom {
  from {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
footer {
  color: #a9c4cb;
  font-size: 0.8rem;
  padding: 20px 0.5rem 5px 0.5rem;
  text-align: left;
  clear: both;
  max-width: calc(1 / 0.8 * 70ch);
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  #map {
    height: 200px;
  }
  .opis > p {
    font-size: 1.2rem;
  }
  p.title {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 768px) {
  .opis {
    line-height: 1.15;
  }
  .opis > p {
    font-size: 1.2rem;
  }
  #map {
    height: 300px;
  }
  p.title {
    font-size: 1.4rem;
  }
  footer {
    font-size: 0.9rem;
  }
}
@media print {
  body {
    display: none;
    visibility: hidden;
  }
}
