:root {
  /*--bg-color: #f1f1e6 ;   */
  /*--bg-color: #ccf0ff;*/
  --bg-color: #e6f0ff;

  --text-color: black;


  --menu-bg-color: #436fce;
  --menu-item-color: #436fce;
  --menu-selected-color: #fff7d6;

  --menu-hover-color: #0050aa;

  --table-header-color: #9fc5e8;

  --art-font-size: 16px;
}

* {
	margin: 0;
	padding: 0;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
//  background-image: url(img/tlo.jpg);
//  background-repeat: no-repeat;
//  background-size: cover;

//  background-color: var( --table-header-color );
  background-color: #f3f3f3;

  font-family: Verdana, Arial;
  font-size: var(--art-font-size);
  list-style-position: inside;

  line-height: 1.5;
}

#wrapper {
  width: 960px;
  margin: 0 auto;
  background-color: var(--bg-color);

  position: relative;
  padding-bottom: 40px;
  min-height: 100vh;
}


header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  padding-left: 10px;
  padding-right: 10px;
}

article {
  margin-top: 30px;
  padding: 0 20px;
}


article h1 {
  font-size: 25px;
  text-align: center;

  margin: 0 10% 20px 10%;
  padding-bottom: 5px;
  border-bottom: 3px solid blue;
}

article p {
  text-align: justify;
  padding: 15px 0;
}

img.left {
	float: left;
	padding: 10px;
}

footer {
	height: 28px;
	background-color: var(--menu-bg-color);
	color: white;
	line-height: 28px;

  padding-left: 10px;
	position: absolute;
	bottom: 0;
	width: 100%;
}

nav {
  height: 36px;

  background-color: var(--menu-bg-color);

  font-size: 15px;
  font-weight: bold;

  padding-bottom: 25px;
}

nav ul {
  list-style: none;
}

nav ul li {
  float: left;

  width: 116px;
  height: 36px;

  background-color: var(--menu-item-color);
  opacity: .95;

  line-height: 36px;
  text-align: center;
}

nav ul li a {
  display: block;
  color: white;
  text-decoration: none;
}

nav ul li a:hover {
  color: white;
  background-color: var(--menu-hover-color);
}

nav ul li ul li{
  display: none;
  width: 180px; /* podmenu ma dluzsze napisy*/
}

nav ul li:hover ul li {
  display: block;
}

.menu-item-active {
   /*color: black;*/
   /*background-color: var(--menu-selected-color);*/
   border-bottom: 3px solid red;
}

.data {
	display: block;
	font-size: var(--art-font-size);
	font-weight: bold;
	text-align: center;
	background-color: #0A4D94;
	color: white;
	width: 150px;
	padding-top: 3px;
	padding-bottom: 1px;
}

.info {
	font-size: var(--art-font-size);
	border-top: 3px solid #0A4D94;
	padding-top: 10px;
	padding-bottom: 10px;
}

.cennik {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.cennik > div {
	display: flex;
	flex-direction: column;
	align-content: space-between;
	justify-content: center;
	align-items: center;
	background-image: linear-gradient(#66b3ff, #cce6ff);
	width: 176px;
	height: 250px;
	margin: 10px;
	padding: 20px;
	border: 1px dotted black;
	border-radius: 15px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0,0,0, 0.19);
	text-align: center;
	font-size: 30px;
}

.cennik > div:hover {
	background-image: linear-gradient(#ffff80, #ffffcc);
}

.cena {
	width: 150px;
	padding-top: 3px;
	padding-bottom: 5px;
	background-color: #0080ff;
	border-radius: 8px;
	font-weight: bold;
}

.content-table {
	border-collapse: collapse;
	/* margin: 25px 0; */
	min-width: 500px;

	border-radius: 5px 5px 0 0;
	overflow: hidden;

	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);

	margin-left: auto;
	margin-right: auto;
}


.content-table thead tr {
	/*background-color: #009879;*/
/*	background-color: var(--menu-bg-color);
	color: #fff;
*/
	background-color: var(--table-header-color);

	color: #000;

	text-align: left;
	font-weight: bold;
}

.content-table th, .content-table td {
	padding: 12px 15px;
}

.content-table tbody tr {
	border-bottom: 1px solid #ddd;
}

.content-table tbody tr:nth-of-type(even) {
	background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
	/*border-bottom: 2px solid #009879; /* jak head*/*/
	border-bottom: 2px solid #9fc5e8;
}


/*.content-table tbody tr td:nth-last-child(1), */
.content-table tbody tr td:nth-last-child(-n+2)
 {
	text-align: right;
}


.download-table {
	border-collapse: collapse;
	width: 100%;
	/* margin: 25px 0; */
	min-width: 500px;

	border-radius: 5px 5px 0 0;
	overflow: hidden;

	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}


.download-table thead tr {
	background-color: var(--table-header-color);
	color: black;
	text-align: left;
	font-weight: bold;
}

.download-table th, .download-table td {
	padding: 12px 15px;
}

.download-table tbody tr {
	border-bottom: 1px solid #ddd;
}

.download-table tbody tr:nth-of-type(even) {
	background-color: #f3f3f3;
}

.download-table tbody tr:last-of-type {
	border-bottom: 2px solid #009879; /* jak head*/
}

.download-table tbody tr td:nth-last-child(2)
 {
	text-align: right;
}

.download-table tbody tr td:nth-last-child(1)
 {
	text-align: center;
}

.contact {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}


.notka {
  border-left: 5px solid red;
  background-color: #f1f1f1;
  padding: 10px 20px;
}

.download_link {
	text-decoration: none;
	color: white;

	font-weight: bold;
	background-color: #0A4D94;
	/*background-color: var(--menu-bg-color);*/

  border: 1px solid white;
  border-radius: 8px;

	padding: 6px 25px;
  margin: 2px;
	/*box-shadow: 2px 2px 5px 1px blue;  */
}


.gallery__card {
   border: 1px dotted blue;
   border-radius: 10px;
   padding: 5px;
   margin-top: 20px;
   text-align: center;
   background-color: #e6f0ff;

   position: relative;
}

.gallery__img {
	max-width: 100%;
	margin: 0;
	padding: 0;
	margin-top: 15px;

	box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.5);
}

.gallery__desc {
	color: white;
	/*background-color: #e6f0ff;*/
	background-color: var(--mnu-item);

	border-radius: 7px;
	font-size: 14px;
	font-weight: bold;

	padding: 2px 10px;

	text-align: center;

	position: absolute;
	top: -14px;
	left: 10px;
	right: 10px;
}


.photos {
  display: flex;
  flex-direction: column;
}

.photo {
  margin-top: 20px;
  /*box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.5);*/
  box-shadow: 0px 10px 36px 0px rgba(0, 0, 0, 0.16), 0px 0px 0px 1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo__img {
   max-width: 100%;
   padding: 0 10px 20px;
}

.photo__header {
	font-size: 20px;
  padding: 18px 16px;
  /*background-color: #f0f0f0; */
}

.photo:hover {
	/*box-shadow: 0px 19px 38px rgba(0, 0, 0, 0.3), 0px 15px 12px rgba(0, 0, 0, 0.22);*/
	box-shadow: 0px 2px 4px 0px rgba(14, 30, 37, 0.12), 0px 2px 16px 0px rgba(14, 30, 37, 0.32);
}


.news {

}

.news__header {

}

.news_text {

}

.list {
  list-style: square outside;
  padding-left: 30px;
}

.list__item {
  /*padding-left: 10px; */
  padding-bottom: 10px;
  /*line-height: 3.5em;*/
  /*height: auto;*/
}

.list--second {
  /*padding-left: 30px;*/
  list-style: circle outside;
}

.list__item--second {
  padding-left: 5px;
}

.grid {
	display: flex;
	justify-content: space-around;
  font-size: 20px;
}


.grid__item {
	background-color: #fff;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 3rem 6rem rgba(0,0,0, 0.1);
	cursor: pointer;
	transition: 0.2s;
	width: 220px;
}

.grid__item:hover {
	transform: translateY(-0.5%);
	box-shadow: 0 4rem 8rem rgba(0,0,0, 0.5);
}


.grid__item a {
	text-decoration: none;
}
.card__img {
	display: block;
	width: 100%;
	height: 15rem;
	/*object-fit: cover;*/
	object-fit: scale-down;
}

.card__content {
	padding: 0.8rem;
}

.card__header {
	font-size: 1rem;
	font-weight: 500;
	color: #0d0d0d;
	margin-bottom: 0.8rem;
}

.card__text {
	font-size: 0.8rem;
	letter-spacing: 0.1rem;
	line-height: 1.7;
	color: #3d3d3d;
	margin-bottom: 1.3rem;
	text-align: left;
}

.card__btn {
	display: block;
	width: 100%;
	padding: 0.8rem;
	font-size: 1rem;
	text-align: center;
	color: #3363ff;
	background-color: #d8e0fd;
	border: none;
	border-radius: 0.4rem;
	transition: 0.2s;
	cursor: pointer;
	letter-spacing: 0.1rem;
}

.card__btn span {
	margin-left: 1rem;
	transition: 0.2s;
}

.card__btn:hover span,
.card__btn:active span {
	margin-left: 0.8rem;
}
