body {
  background: #333;
  color: #fff;
  margin: 70px 5vw 5vw 5vw;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 120%;
}

i {
  font-style: italic;
}

/* Nawigacja */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #333;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
  z-index: 999;
}

nav .container {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 1300px;
  margin: auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

nav .container .menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: left;
  align-items: center;
  flex: 2;
  cursor: pointer;
}

nav .container .menu-toggle a {
  text-decoration: none;
  color: #fff;
}

nav .container .profile {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: end;
  flex: 3;
}

nav .container .profile .user {
  width: calc(100% - 44px);
}

nav .container .profile .user h3 {
  text-align: end;
  line-height: 1;
  margin-bottom: 4px;
  font-weight: 600;
}

nav .container .profile .img-box {
  position: relative;
  width: 32px;
  height: 32px;
  overflow: hidden;
}

nav .container .profile .img-box .dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: red;
  z-index: 9999;
  border-radius: 50%;
}

nav .container .profile .img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

nav .container .blur {
  background: #333333b5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  visibility: hidden;
}

nav .container .blur.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

nav .container .menu {
  position: absolute;
  top: calc(100% + 24px);
  right: 5px;
  width: 380px;
  min-height: 100px;
  color: #eee;
  background-color: #333;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: 300ms;
  border: 1px solid #444;
}


nav .container .menu::before {
  content: '';
  position: absolute;
  top: -11px;
  right: 14px;
  width: 20px;
  height: 20px;
  background: #333;
  transform: rotate(45deg);
  z-index: -1;
  border-top: 1px solid #444;
  border-left: 1px solid #444;
}

nav .container .menu.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

nav .container .nav_list {
  position: absolute;
  top: calc(100% + 24px);
  left: 5px;
  width: 300px;
  min-height: 100px;
  color: #eee;
  background-color: #333;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: 300ms;
  border: 1px solid #444;
  padding: 10px 5px;
}

nav .container .nav_list .list {
  max-height: 80vh;
  overflow: hidden;
  overflow-y: scroll;
}

nav .container .nav_list .list::-webkit-scrollbar {
  width: 10px;
}

nav .container .nav_list .list::-webkit-scrollbar-track {
  /* box-shadow: inset 0 0 5px grey; */
  /* border-radius: 5px; */
}

nav .container .nav_list .list::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 5px;
}

nav .container .nav_list .list::-webkit-scrollbar-thumb:hover {
  background: #444;
}

nav .container .nav_list::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 14px;
  width: 20px;
  height: 20px;
  background: #333;
  transform: rotate(45deg);
  z-index: -1;
  border-top: 1px solid #444;
  border-left: 1px solid #444;
}

nav .container .nav_list.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

nav .container .nav_list a {
  display: block;
  text-emphasis: inherit;
  text-overflow: ellipsis;
  height: 20px;
  overflow: hidden;
  margin: 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-weight: bold;
}

nav .container .nav_list .list a span {
  font-weight: normal;
}

nav .container .nav_list .list a img {
  height: 20px;
}


/* ./Nawigacja */

/* Logowanie */
form.stempel {
  padding: 20px;
  background: #333;
  border-radius: 15px;
}

form.stempel .error {
  font-size: 10px;
  letter-spacing: 1px;
  color: red;
  font-weight: bold;
  padding: 2px;
}

form.stempel input {
  width: 100%;
  background: #444;
  font-family: Lora, serif;
  border: none;
  padding: 10px;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
}

form.stempel input[type="submit"] {
  background: #ff6600;
  text-transform: uppercase;
  letter-spacing: 5px;
}

form.stempel .stempel_adnotacja {
  display: block;
  text-align: center;
  font-size: 0.8em;
  margin: 5px 0 10px 0;
  color: #999;
  text-wrap: balance;
}

form.stempel a {
  color: #ff6600;
  text-decoration: none;
  border: 0;
}




/* ./Logowanie */


/* Nowiny */

#nowiny {
  width: 100%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  /* justify-content: space-between; */
  flex-wrap: wrap;
  gap: 26px;
}

#nowiny .kraj {
  position: relative;
  background: #333333;
}

#nowiny .kraj .anchor {
  position: absolute;
  top: -60px;
}

#nowiny .kraj a {
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 74%;
  color: #fff;
  text-decoration: none;
}

#nowiny .kraj .forum {
  /* color: #333; */
  font-size: 9px;
  display: inline-block;
  box-sizing: border-box;
  padding: 2px 5px 0px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 25%;
  border-radius: 6px;
  /* --color-primary: hsl(206.25deg 34.04% 81.57%); */
  /* --primary-color-l: 82%; */
  --contrastThreshold: 60%;
  --switch: calc((var(--primary-color-l, 82%) - var(--contrastThreshold))* -100);
  background: var(--color-primary, #00D8FF);
  color: hsl(0, 0%, calc((var(--primary-color-l, 82%) - var(--contrastThreshold)) * -100)) !important;
}

#nowiny>div {
  width: 100%;
}

#nowiny>div h2 {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0 0 26px 0;
  letter-spacing: -1px;
  font-weight: bold;
  font-size: 26px;
  padding: 5px 0 13px;
  line-height: 100%;
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

#nowiny>div h2 .anchor_link {
  display: inline;
  cursor: grab;
}

#nowiny>div h2 span {
  font-weight: normal;
}

#nowiny #kraj_reklama {
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  padding: 20px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}

#nowiny #kraj_reklama a {
  width: 100%;
  display: block;
  margin: 0 auto 2em auto;
}

#nowiny a:visited {
  color: #999;
}

#nowiny #kraj_reklama img {
  margin: 0 auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}



@media (max-width: 700px) {
  ul.tematy li {
    font-size: 14px;
    margin-bottom: 8px;
  }

  ul.tematy li:nth-child(n+16) {
    display: none;
  }

  ul.tematy li .forum {
    font-size: 12px !important;
    padding: 5px 8px;
  }

}

@media only screen and (min-width: 700px) {
  #nowiny {
    gap: 30px 5%;
  }

  #nowiny>div {
    width: 47.5%;
  }

  #nowiny #kraj_reklama img {
    max-height: 440px;
  }
}

@media only screen and (min-width: 1000px) {
  #nowiny {
    gap: 40px 5%;
  }

  #nowiny>div {
    width: 30%;
  }
}

@media only screen and (min-width: 1200px) {
  #nowiny {
    gap: 50px 4%;
  }

  #nowiny>div {
    width: 22%;
  }

}




.forum {
  /* background: #fff; */
  --color-primary: hsl(0, 0%, 100%);
  --primary-color-l: 100%;
}

.kraj_297 .forum {
  /* background: #ffffff; */
  --color-primary: hsl(0, 0%, 100%);
  --primary-color-l: 100%;
}

.kraj_320 .forum {
  /* background: #A8A8A8; */
  --color-primary: hsl(0, 0%, 66%);
  --primary-color-l: 66%;
}

.kraj_349 .forum {
  /* background: #FF6A6A; */
  --color-primary: hsl(355.89deg 100% 37.25%);
  --primary-color-l: 37.25%;
}

.kraj_354 .forum {
  /* background: #1cbe4f; */
  --color-primary: hsl(139, 74%, 43%);
  --primary-color-l: 43%;
}

.kraj_392 .forum {
  /* background: #599BFF; */
  --color-primary: hsl(216, 100%, 67%);
  --primary-color-l: 67%;
}

.kraj_420 .forum {
  /* background: #fec356; */
  --color-primary: hsl(39, 99%, 67%);
  --primary-color-l: 67%;
}

.kraj_422 .forum {
  /* background: #cadceb; */
  --color-primary: hsl(207, 45%, 86%);
  --primary-color-l: 86%;
}

.kraj_477 .forum {
  /* background: #c09855; */
  --color-primary: hsl(38, 46%, 54%);
  --primary-color-l: 54%;
}

.kraj_478 .forum {
  /* background: #53A7D0; */
  --color-primary: hsl(200, 57%, 57%);
  --primary-color-l: 57%;
}

.kraj_515 .forum {
  /* background: #C09D34; */
  --color-primary: hsl(45, 57%, 48%);
  --primary-color-l: 48%;
}

.kraj_574 .forum {
  /* background: #f6222e; */
  --color-primary: hsl(357, 92%, 55%);
  --primary-color-l: 55%;
}

.kraj_599 .forum {
  /* background: #5EA7D3; */
  --color-primary: hsl(203, 57%, 60%);
  --primary-color-l: 60%;
}

.kraj_635 .forum {
  /* background: #aa0000; */
  --color-primary: hsl(0, 100%, 33%);
  --primary-color-l: 33%;
}

.kraj_642 .forum {
  /* background: #f7e1a0; */
  --color-primary: hsl(45, 84%, 80%);
  --primary-color-l: 80%;
}

.kraj_554 .forum {
  /* background: #6abbff; */
  --color-primary: hsl(207, 100%, 71%);
  --primary-color-l: 71%;
}

.kraj_618 .forum {
  /* background: #FEAF16; */
  --color-primary: hsl(40, 99%, 54%);
  --primary-color-l: 54%;
}

.kraj_677 .forum {
  /* background: #1c7f93; */
  --color-primary: hsl(190, 68%, 34%);
  --primary-color-l: 34%;
}

.kraj_797 .forum {
  /* background: #0065bd; */
  --color-primary: hsl(208, 100%, 37%);
  --primary-color-l: 37%;
}

.kraj_810 .forum {
  /* background: #FF63BE; */
  --color-primary: hsl(325, 100%, 69%);
  --primary-color-l: 69%;
}

.kraj_921 .forum {
  /* background: #fbe426; */
  --color-primary: hsl(54, 96%, 57%);
  --primary-color-l: 57%;
}

.kraj_936 .forum {
  /* background: #782ab6; */
  --color-primary: hsl(273, 63%, 44%);
  --primary-color-l: 44%;
}

.kraj_942 .forum {
  /* background: #90ad1c; */
  --color-primary: hsl(72, 72%, 39%);
  --primary-color-l: 39%;
}

/*
.kraj_9 .forum {
    background: #485fc7;
}
/*
.kraj_10 .forum {
    background: #009241;
}

.kraj_13 .forum {
    background: #00d8ff;
}

.kraj_15 .forum {
    background: #3d9970;
}
*/
.kraj_144 .forum {
  /* background: #90ad1c; */
  --color-primary: hsl(72, 72%, 39%);
  --primary-color-l: 39%;
}



.kraj_354 h2 {
  border-bottom-color: #1cbe4f;
}

.kraj_810 h2 {
  border-bottom-color: #b00068;
}

.kraj_297 h2 {
  border-bottom-color: #ffffff;
}

.kraj_618 h2 {
  border-bottom-color: #FEAF16;
}

.kraj_677 h2 {
  border-bottom-color: #1c7f93;
}

.kraj_921 h2 {
  border-bottom-color: #fbe426;
}

.kraj_797 h2 {
  border-bottom-color: #0065bd;
}

.kraj_392 h2 {
  border-bottom-color: #3283fe;
}

.kraj_642 h2 {
  border-bottom-color: #f7e1a0;
}

.kraj_554 h2 {
  border-bottom-color: #6abbff;
}

.kraj_9 h2 {
  border-bottom-color: #485fc7;
}

.kraj_10 h2 {
  border-bottom-color: #009241;
}

.kraj_574 h2 {
  border-bottom-color: #f6222e;
}

.kraj_422 h2 {
  border-bottom-color: #cadceb;
}

.kraj_13 h2 {
  border-bottom-color: #00d8ff;
}

.kraj_936 h2 {
  border-bottom-color: #782ab6;
}

.kraj_15 h2 {
  border-bottom-color: #3d9970;
}

.kraj_477 h2 {
  border-bottom-color: #c09855;
}

.kraj_599 h2 {
  border-bottom-color: #2182bd;
}

.kraj_144 h2 {
  border-bottom-color: #90ad1c;
}

.kraj_320 h2 {
  border-bottom-color: #999999;
}

.kraj_942 h2 {
  border-bottom-color: #90ad1c;
}

.kraj_349 h2 {
  border-bottom-color: #ff0000;
}

.kraj_420 h2 {
  border-bottom-color: #fec356;
}

.kraj_478 h2 {
  border-bottom-color: #0d6793;
}

.kraj_515 h2 {
  border-bottom-color: #85660D;
}

.kraj_635 h2 {
  border-bottom-color: #aa0000;
}

/* ./Nowiny */

li {
  margin: 0 0 3px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logout {
  text-align: right;
  font-size: 0.8em;
  padding: 10px;
}

.logout a {
  color: #fff;
  text-decoration: none;
}

img.avatar {
  float: left;
  max-height: 50px;
  max-width: 50px;
  width: auto !important;
  height: auto !important;
  margin-right: 5px;
  object-fit: cover;
  border: 1px solid #555;
  border-radius: 10px;
}

.menu ul {
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  clear: both;
}

.menu ul::-webkit-scrollbar {
  width: 10px;
}

.menu ul::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 5px;
}

.menu ul::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 5px;
}

.menu ul::-webkit-scrollbar-thumb:hover {
  background: #444;
}

.menu ul .notifications {
  position: relative;
  margin-bottom: 5px;
  border-top: 1px solid #444;
  padding: 10px 5px;
  font-size: 12px;
}

.menu ul .notifications a {
  color: #fff;
  text-decoration: none;
  flex: 1;
}

.menu ul .notifications .mark_as_read {
  width: 30px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: #ffffff10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.2;
  transition: opacity 0.3s;
}

.menu ul .notifications .mark_as_read:hover {
  opacity: 1;
}

.menu ul .notifications .mark_as_read svg {
  width: 24px;
  fill: currentColor;
}

.menu ul .notifications .notification-block {
  width: 100%;
}

.menu ul .notifications .notification-text {
  margin-left: 58px;
  white-space: normal;
}

.menu ul .notifications .global-notify-footer {
  display: flex;
  margin-top: 4px;
}

.menu ul .notifications .global-notify-footer .global-notify-country {
  width: 50%;
}

.menu ul .notifications .global-notify-footer .global-notify-time {
  width: 50%;
  text-align: right;
}

.highlight {
  background: #282828;
  min-height: 50px;
}