/* cassiopeia blog layout */
.blog-items {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    margin-right: -0.5em;
    margin-bottom: 1em;
    margin-left: -0.5em;
  }
  @media (min-width: 992px) {
    .blog-items.columns-2 > div {
      width: 50%;
    }
    .blog-items.columns-3 > div {
      width: 33.33333%;
    }
    .blog-items.columns-4 > div {
      width: 25%;
    }
  }
  
  .blog-item {
    display: flex;
    flex-direction: column;
    padding: 0 0.5em 1em;
    overflow: hidden;
  }
  .boxed .blog-item {
    background-color: white;
    box-shadow: 0 0 2px rgba(51, 57, 66, 0.1), 0 2px 5px rgba(51, 57, 66, 0.08), 0 5px 15px rgba(51, 57, 66, 0.08), inset 0 3px 0 var(--cassiopeia-color-primary);
  }
  .boxed .blog-item .item-content {
    padding: 25px;
  }
  .blog-item .item-image {
    margin-top: 3px;
    margin-bottom: 15px;
    overflow: hidden;
  }
  .boxed .blog-item .item-image {
    margin-bottom: 0;
  }
  @media (min-width: 992px) {
    .image-right .blog-item .item-image {
      order: 1;
    }
  }
  .image-bottom .blog-item .item-image {
    margin-top: -15px;
    order: 1;
  }
  .image-left .blog-item .item-content {
    padding-left: 25px;
  }
  .image-right .blog-item .item-content {
    padding-right: 25px;
  }
  .image-left .blog-item, .image-right .blog-item {
    flex-direction: column;
  }
  @media (min-width: 992px) {
    .image-left .blog-item, .image-right .blog-item {
      flex-direction: row;
    }
    .image-left .blog-item .item-image, .image-right .blog-item .item-image {
      flex: 1 0 40%;
    }
    .image-left .blog-item .item-content, .image-right .blog-item .item-content {
      flex: 1 0 60%;
    }
  }
  
  .article-info dd {
    padding: 0;
  }
  
  @supports (display: grid) {
    .blog-items {
      display: grid;
      margin: 0 0 1em;
      grid-auto-flow: row;
      grid-template-columns: 1fr;
      grid-gap: 2em;
    }
    .blog-items .blog-item {
      padding: 0;
    }
    .blog-items[class^=columns-] > div, .blog-items[class*=" columns-"] > div {
      flex: 0 1 auto;
      width: auto;
      max-width: none;
    }
    @media (min-width: 992px) {
      .blog-items.columns-2 {
        grid-template-columns: 1fr 1fr;
      }
      .blog-items.columns-3 {
        grid-template-columns: 1fr 1fr 1fr;
      }
      .blog-items.columns-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
      }
    }
  }
  .blog-items[class^=masonry-], .blog-items[class*=" masonry-"] {
    display: block;
    -webkit-column-gap: 2em;
       -moz-column-gap: 2em;
            column-gap: 2em;
  }
  .blog-items[class^=masonry-] .blog-item, .blog-items[class*=" masonry-"] .blog-item {
    display: inline-flex;
    margin-bottom: 1em;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
       -moz-column-break-inside: avoid;
            break-inside: avoid;
  }
  @media (min-width: 992px) {
    .blog-items.masonry-2 {
      -webkit-column-count: 2;
         -moz-column-count: 2;
              column-count: 2;
    }
    .blog-items.masonry-3 {
      -webkit-column-count: 3;
         -moz-column-count: 3;
              column-count: 3;
    }
    .blog-items.masonry-4 {
      -webkit-column-count: 4;
         -moz-column-count: 4;
              column-count: 4;
    }
  }

.newsflash {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  margin-bottom: 1em;
  justify-content: space-between;
}
@media (min-width: 992px) {
    .newsflash > div {
        width: 49%;
    }
}

/* EO cassiopeia blog layout */

.container {
  max-width: 1170px;
}
h1,
h2,
h3,
h4,
h5,
#sp-menu {
  font-family: "Titillium Web";
}
h6 {
  font-family: "Shadows Into Light";
}

#sp-feature-wrapper {
  margin: 0px !important;
  padding: 0px !important;
}

#sp-feature-wrapper {
  margin: 0px !important;
  padding: 0px !important;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* slider */
.slider-section {
  background-color: #000;
  background-repeat: no-repeat;
  background-image: url("https://mpgm.poznan.pl/images/banners/oldandnew.jpg");
  background-size: cover;
  background-position: center top;
  width: 100%;
}
.slider-content {
  width: 100%;
  aspect-ratio: 12/5;
  color: #fff;
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(0.563rem, 2.1vw + 0.1rem, 1.625rem);
  line-height: clamp(1rem, 4vw, 3rem);
}

#mod-custom366 {
    height: 100%;
}

.slidebox {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 2px 0px 2px #000;
}
.slidebox>div {
    padding: 1vw;
}
.leftside {
    font-size: clamp(1rem, 4vw, 3rem);
    line-height: clamp(1rem, 4vw + 0.5rem, 3.5rem);
}
.sel1 {
    font-weight: bold;
}
.sel7 {
    margin-top: 1vw;
}
.sel7 a {
    color: #444444;
    text-shadow: 0 1px 0 #ffffff;
}
/* EO slider */

#sp-parallax-1-wrapper.userfaces {
  /* background: #464950 repeat-x; */
  background-image: url("../images/users.jpg");
  padding: 40px 0 !important;
}
.userfaces h3 {
  color: #fff;
}
.userfaces p {
  color: #bbb;
}
.userfaces .btn-default {
  color: #333;
  margin-right: 13px;
}
.userfaces li {
  color: #bbb;
  margin-top: 0.5em;
}
.userfaces .spot li:before {
  color: #fff;
}
a.menu-item[target="_blank"] {
  background-image: url("../images/external-link.png");
  background-repeat: no-repeat;
  background-position: right center;
}
a.menu-item[target="_blank"]:hover {
  background-image: url("../images/external-link-hover.png");
}
.rokbox-thumb {
  margin-bottom: 5px;
}
.newsflash.row-fluid [class*="span"]:nth-child(2n + 1) {
  margin-left: 0;
}
.entry-content dt {
  display: block;
  font-weight: bold;
}
.entry-content dd {
  display: block;
  margin: 0;
  padding: 0 0 1em 1em;
}
h1.entry-title {
    margin-bottom: 14px !important;
}
.controls input[type=text] {
width: 363px;
}
code {
color: #333;
}
.cpnb-button {
color: #fff !important;
}

.breadcrumb > .active {
  color: #fff;
}

.accordion-heading {
    padding: 0 15px;
}

#sp-footer2 a {
    margin-left: 10px;
}

.float-end {
    float: right;
}

nav.pagination {
    margin-top: 15px;    
}

.blog .page-header h2 {
    font-size: 1.5em;
    line-height: 1.5em;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e6e6e6;
}

.page-header h1 {
    padding: 0 0 25px 0;
    text-align: center;
    font-size: 24px;
}
.page-header h1::after {
    margin: 0 auto;
    background-color: #005892;
    content: "";
    display: block;
    height: 2px;
    position: relative;
    width: 25px;
    top: 10px;
}

.com-dpattachments-layout-attachments {
    margin-top: 1em;
}

.com-content-categories__item-title a {
    font-family: 'Titillium Web';
    font-size: 1.5em;
}
.com-content-categories__item-title .badge {
    vertical-align: top;
    top: 2px;
    position: relative;
}

body.gray #sp-main-body-wrapper {
    background-color: #f2f2f2;
}