/*
Theme Name: PWIK Sztum 1.0
Text Domain: Mainsoft
Author: Mainsoft
Author URL: https://mainsoft.pl/
Description: PWIK Sztum website theme
Tags: PWIK Sztum
Version: 1.0
Requires at least: 5.0
*/
:root {
  --main-background: #fff;
  --main-color: #333;
  --header-background: #fff;
  --nav-link-color: #333;
  --nav-color: #2d55a6;
  --nav-background: #fff;
  --header-top-container: #fff;
  --top-header-items-background: #e8e8e8;
  --top-header-items-color: #464647;
  --second-background: #f9f9f9;
  --items-background: #fff;
  --items-color: #323232;
  --breadcrumb-background: #f5f5f5;
  --header-color: #333;
  --header-bottom-stroke: #e8e8e8;
  --footer-background: #f9f9f9;
  --search-border: none;
  --search-color: #000;
  --main-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  --link-underline: none;
}

.contrast {
  --main-background: #000;
  --main-color: #ff0;
  --header-background: #ff0;
  --nav-link-color: #ff0;
  --nav-color: #ff0;
  --nav-background: #333;
  --top-header-items-background: #000;
  --top-header-items-color: #fff;
  --second-background: #000;
  --items-background: #202020;
  --items-color: #ff0;
  --breadcrumb-background: #000;
  --header-color: #ff0;
  --header-bottom-stroke: #ff0;
  --footer-background: #202020;
  --search-border: 1px solid var(--header-bottom-stroke);
  --search-color: #ff0;
  --main-shadow: none;
  --link-underline: underline;
}

*,
::after,
::before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font: 16px/1.5 "Roboto", sans-serif;
  color: var(--main-color);
  overflow-x: hidden;
  background: var(--main-background);
}

a:hover {
  text-decoration: underline;
}

input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  opacity: 1;
  border-radius: 0%;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top-color: currentcolor;
  border-top-style: none;
  border-top-width: 0px;
  border-top: 1px solid #eeeeee;
}

iframe,
embed,
object,
video {
  max-width: 100%;
}

code,
kbd,
pre,
samp,
textarea,
input,
button {
  font-family: "Roboto", sans-serif;
}

a:focus,
input:focus,
button:focus {
  outline: 2px dashed #ff0000 !important;
}

a {
  text-decoration: var(--link-underline) !important;
}

button {
  border: 0;
  cursor: pointer;
}

.medium-font {
  font-size: 18px;
}

.big-font {
  font-size: 20px;
}

.flex {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.news-slogan {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--header-background);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  color: #333;
  z-index: 999;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  opacity: 1;
  transition: transform 0.5s ease-in-out;
  border-top: 1px solid var(--header-bottom-stroke);
}

.news-btn {
  width: 50px;
  height: 50px;
  background: var(--nav-color);
  color: var(--main-background) !important;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  position: fixed;
  right: 0;
  bottom: 0;
  border: none;
  font-size: 2em;
  z-index: 9999;
  border-top: 1px solid var(--nav-color);
}

.news {
  animation: slide 10000ms linear infinite;
  white-space: nowrap;
  text-transform: uppercase;
  padding: 0 6rem;
}

.close-slogan {
  transform: translateY(100%);
}

.icon-anim {
  transform: rotate(180deg);
}

.error-404 {
  font-size: 4em;
  text-align: center;
  padding: 200px 50px;
}

.declaration_btn {
	color: var(--top-header-items-color);
}

.phone .flex, .aside-email .flex {
  align-items: center;
  gap: 0 10px;
}

.wp-block-file__button {
  padding: 2px 8px;
  border-radius: 8px;
  margin-bottom: 5px;
  background: #2d55a6;
}

@keyframes slide {
  0% {
    transform: translatex(0);
  }
  100% {
    transform: translatex(-100%);
  }
}
.header {
  width: 100%;
  background: var(--header-background);
  box-shadow: var(--main-shadow);
  z-index: 999;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
  height: 130px;
}

.menu-btn {
  display: none;
}

.logo-container {
  max-width: 250px;
  height: 125px;
}

.main-logo {
  max-width: 250px;
  height: 100%;
  display: block;
}

.main-logo img {
  max-width: 100%;
  height: 100%;
}

.right-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: 100%;
  justify-content: space-evenly;
}

.nav-menu .menu-item a {
  color: var(--nav-link-color);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.875em;
  display: block;
  padding: 13px 20px;
  position: relative;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu .nav-menu .current-menu-item a {
  color: var(--nav-color) !important;
}

.nav-menu .menu-item a:hover {
  background-color: var(--nav-color);
  color: #fff !important;
}

.sub-menu {
  background: var(--nav-background);
  border-radius: 0 0 3px 3px;
  border-top: 3px solid var(--nav-color);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  display: none;
  flex-direction: column;
  list-style: none;
  min-width: 200px;
  padding: 10px;
  position: absolute;
  z-index: 9999;
}

.menu-item-has-children:hover .sub-menu {
  display: flex !important;
}

.accessibility {
  display: flex;
  gap: 0 8px;
  align-items: center;
}

.top-header-bar-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 14px;
  height: 32px;
  border-radius: 6px;
  font-size: 0.75rem;
  background: var(--top-header-items-background);
  font-weight: 400;
  white-space: nowrap;
  color: var(--top-header-items-color);
}

.top-header-bar-item .fa-calendar-alt {
  font-size: 16px;
}

.top-header-bar-item p {
  gap: 0 5px;
}

.header-links-bar {
  display: flex;
  align-items: center;
  gap: 0 8px;
}

.top-header-bar-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--top-header-items-background);
}

.translate-btn,
.contrast-btn,
.font-btn,
.facebook-btn,
.youtube-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--top-header-items-background);
  font-size: 1.1em;
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.media-btn:hover,
.contrast-btn:hover {
  text-decoration: none !important;
}

.contrast-btn {
  background: #323232;
  color: #ffff00;
}

.facebook-btn {
  background: #4267b2;
  color: #fff;
}

.youtube-btn {
  color: #ff0000;
}

.translate-btn-item {
  padding: 0 6px;
}

.translate-btn {
  width: 75px;
}

.translate-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-links-a {
  text-decoration: none;
  margin-right: 8px;
}

.weather-bar::first-letter {
  text-transform: capitalize;
}

.nav-container {
  background: var(--nav-background);
  width: 100%;
  border-top: 1px solid var(--header-bottom-stroke);
}

.nav-elements-holder {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
  justify-content: space-between;
}

.header .nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
}

.menu-item-has-children > a::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  padding-left: 6px;
  content: "\f107";
}

.search-form {
  width: 250px;
  position: relative;
  border: var(--search-border);
  border-left: 1px solid var(--header-bottom-stroke);
  border-right: 1px solid var(--header-bottom-stroke);
  color: #333 !important;
}

.search-input {
  height: 100%;
  width: 100%;
  border: none;
  padding: 0 50px 0 15px;
  background: var(--nav-background);
  color: var(--search-color);
  font-size: 0.9rem;
}

.search-submit {
  border: none;
  width: 50px;
  height: 100%;
  background: none;
  font-size: 20px;
  position: absolute;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
  color: var(--nav-link-color) !important;
  right: 0;
}

.search-submit:hover {
  background-color: var(--nav-color);
  color: var(--items-background) !important;
}

.search-form .fa-search {
  cursor: pointer;
}

.main-news-feed {
  display: flex;
  width: 100%;
  height: 100%;
}

.container-news-feed {
  width: 100%;
  height: 100%;
}

.news-feed-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  padding: 10px 20px;
}

.news-feed-info-custom {
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-feed-title,
.news-feed-btn-more {
  color: #fff;
  text-decoration: none;
}

.news-feed-item-img {
  width: 100%;
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.news-feed-item-img a {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.news-container {
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
  height: 550px;
  margin-top: 50px;
  gap: 0 30px;
}

.new-article-list {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.new-article-item {
  display: flex;
  width: 100%;
  height: 150px;
  position: relative;
}

.news-article-main-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.new-article-content-container {
  position: absolute;
  display: flex;
  text-decoration: none;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
}

.front-page-icon-calendar {
  padding-right: 5px;
  font-size: 0.85em;
}

.new-article-photo {
  width: 100%;
}

.news-article-title {
  width: 100%;
}

.news-article-title h2 {
  font-size: 1.3em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-article-title:hover {
  text-decoration: underline;
}

.news-slider {
  width: 100%;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination {
  bottom: 0px !important;
}

.swiper-pagination-bullet {
  background: #fff !important;
}

.bottom-slider-container {
  max-width: 1600px;
  margin: 50px auto;
  padding: 0 30px;
  height: 275px;
  position: relative;
  overflow: hidden;
}

.bottom-slide-item {
  width: 175px;
  height: 175px;
  background: var(--items-background);
  overflow: hidden;
  margin-bottom: 30px;
  padding: 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.bottom-slide-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.bottom-slider-container .swiper-slide img {
  object-fit: contain;
}

.bottom-slider-container .articles-header {
  box-shadow: none;
  margin-bottom: 10px;
}

.bottom-slider-container .swiper-container {
  height: 175px;
  overflow: hidden;
  padding: 0 75px;
}

.bottom-slider-container .swiper-button-next,
.bottom-slider-container .swiper-button-prev {
  background: #d7d7d7;
  color: #fff;
}

.bottom-slider-container .swiper-button-next::after,
.bottom-slider-container .swiper-button-prev::after {
  font-size: 1.5em;
}

.container-all {
  max-width: 1600px;
  margin: 50px auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 0 50px;
}

.wrapper-container {
  background: var(--second-background);
}

.articles-header {
  font-size: 1.6em;
  font-weight: 700;
  background: var(--items-background);
  border-radius: 8px;
  color: var(--items-color);
  padding: 10px 20px;
  text-align: center;
  box-shadow: 0px 4px 19px -2px rgba(0, 0, 0, 0.11);
}

.articles-header a {
  color: var(--nav-color);
  text-decoration: none;
}

.post-item {
  width: 100%;
  height: auto;
  padding: 10px;
  background: var(--items-background);
  border-radius: 8px;
  display: flex;
  margin-top: 20px;
  box-shadow: 0px 4px 19px -2px rgba(0, 0, 0, 0.11);
}

.post-title {
  color: var(--nav-color) !important;
  margin-bottom: 10px;
  text-decoration: none;
}

.post-btn-more {
  color: var(--nav-color);
}

.post-item-img {
  width: 250px;
  height: 200px;
  align-self: center;
  margin: 15px;
}

.post-content {
  max-width: 750px;
  width: 100%;
  padding: 10px;
}

.post-item-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.post-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
}

.page-main-title {
  font-size: 2em;
}

.post-date {
  font-weight: 300;
  padding: 8px 2px;
  color: var(--items-color);
}

.post-excerpt {
  color: var(--items-color);
  overflow: hidden;
  margin: 10px 0;
}

.breadcrumb {
  padding: 8px 15px;
  list-style: none;
  background-color: var(--breadcrumb-background);
  border-radius: 4px;
}

.breadcrumb a {
  color: var(--nav-color);
  text-decoration: none;
}

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

.container-posts-inside {
  width: 100%;
  border: 1px solid #e7e7e7;
  background: var(--items-background);
  color: var(--main-color);
  padding: 0px !important;
  margin: 30px auto;
  word-wrap: break-word;
  padding: 30px !important;
  max-width: 950px;
}

.page-information {
  margin-bottom: 20px;
}

.change-page-container {
  width: 100%;
  height: 50px;
  background: var(--items-background);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  box-shadow: 0px 4px 19px -2px rgba(0, 0, 0, 0.11);
}

.change-page-container a {
  width: 195px;
  height: 42px;
  display: flex;
  text-align: center;
  margin: 4px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 0px 5px 5px 0px;
  color: var(--nav-color);
}

.post-content-inside {
  text-align: justify;
  word-wrap: break-word;
  line-height: 30px;
}

.post-content-inside li {
  margin-left: 30px;
}

.aside,
.container-posts {
  padding: 30px 0;
}

.container-aside {
  max-width: 575px;
  width: 100%;
  flex-flow: row wrap;
  justify-content: center;
  gap: 0 30px;
  margin-top: 20px;
}

.aside-item {
  width: 350px;
  border-radius: 6px;
  background: var(--items-background);
  box-shadow: 0px 4px 19px -2px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  margin-bottom: 30px;
  padding: 20px;
}

.aside-left {
  max-width: 350px;
}

.aside-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.aside-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer {
  width: 100%;
  background: var(--footer-background);
  color: var(--header-color);
}

.footer-container {
  margin: 0 auto;
  height: 100px;
  padding: 0 80px;
  display: flex;
  align-items: center;
  background: var(--main-background);
  justify-content: space-between;
}

.footer-copyright {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  justify-content: space-between;
}

.mainsoft {
  -webkit-text-decoration: var(--link-underline) !important;
  text-decoration: var(--link-underline) !important;
  color: var(--nav-color) !important;
}

.footer-module-container {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 275px;
}

.footer-module-item ul {
  list-style: none;
}

.footer-module-item {
  z-index: 10;
}

.contact-container {
  font-size: 1.2em;
}

.contact-container:first-of-type {
  font-size: 1em;
  margin-bottom: 10px;
}

.contact-container a,
.contact-container i {
  color: var(--nav-color);
  text-decoration: none;
}

.footer-module-item h2 {
  border-top: 2px solid var(--nav-color);
  margin-bottom: 15px;
}

.footer-day-hour-container {
  justify-content: space-between;
}

.footer-module-item .phone {
  margin-bottom: 10px;
}

.mobile-menu-btn {
  display: none;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}

.hamburger {
  display: flex;
  width: 50px;
  height: 6px;
  background: #000;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  border: transparent;
  justify-content: end;
  cursor: pointer;
  outline: none;
}

.hamburger::after,
.hamburger::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 6px;
  background: #000;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.hamburger::before {
  transform: translateY(-16px);
}

.hamburger::after {
  transform: translateY(16px);
}

.mobile-menu-btn.active .hamburger {
  background: transparent;
  transform: translateX(-50px);
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(-45deg) translate(35px, 35px);
  visibility: visible;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(45deg) translate(35px, -35px);
  visibility: visible;
}

@media (max-width: 1200px) {
  .news-container {
    flex-direction: column;
    height: auto;
    justify-content: center;
    gap: 20px 30px;
  }
  .new-article-list {
    max-width: 100%;
    gap: 20px 0;
    overflow: hidden;
  }
  .top-header-bar,
  .middle-header-bar {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .container-all {
    flex-direction: column;
  }
  .aside {
    order: 2;
  }
  .news-slider {
    height: 500px;
  }
  .news-feed-info-custom {
    padding: 15px;
  }
  .container-aside {
    max-width: 100%;
  }
  .nav-container {
    display: none;
  }
  .nav-container.active {
    display: flex;
  }
  .nav-container.active .nav-elements-holder {
    flex-direction: column;
    align-items: baseline;
    padding: 15px 30px;
    gap: 10px 0;
    width: 100%;
  }
  .nav-container.active .nav-menu {
    flex-direction: column;
    width: 100%;
  }
  .nav-container.active .search-form {
    align-self: center;
    height: 47.5px;
    border: 1px solid var(--header-bottom-stroke);
  }
  .nav-container.active .sub-menu {
    border-radius: none;
    background: unset;
    box-shadow: none;
    position: unset;
    padding: 0 10px;
    border: none;
  }
  .main-logo {
    width: 200px;
  }
  .footer-module-container {
    flex-direction: column;
    width: 100%;
    gap: 30px 0;
  }
}
@media (max-width: 780px) {
  .post-item {
    flex-direction: column;
  }
  .post-item-img {
    width: 100%;
    margin: 0;
  }
  .news-slider {
    height: 350px;
  }
  .footer-container {
    padding: 0;
  }
  .footer-copyright {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px 0;
  }
}

/*# sourceMappingURL=style.css.map */
