@media all and (min-width: 768px) {
  .stories__block {
    display: none;
  }
}
@media all and (max-width: 768px) {
  .zoomright {
    animation: zoomright 6s normal forwards;
  }

  .zoomleft {
    animation: zoomleft 6s normal forwards;
  }

  .zoomtop {
    animation: zoomtop 6s normal forwards;
  }

  .zoombottom {
    animation: zoombottom 6s normal forwards;
  }

  @keyframes zoomright {
    0% {
      transform: scale(1, 1) translate(0px, 0px);
    }
    100% {
      transform: scale(1.2, 1.2) translate(-20px, 0px);
    }
  }
  @keyframes zoomleft {
    0% {
      transform: scale(1, 1) translate(0px, 0px);
    }
    100% {
      transform: scale(1.2, 1.2) translate(20px, 0px);
    }
  }
  @keyframes zoomtop {
    0% {
      transform: scale(1, 1) translate(0px, 0px);
    }
    100% {
      transform: scale(1.2, 1.2) translate(0px, 30px);
    }
  }
  @keyframes zoombottom {
    0% {
      transform: scale(1, 1) translate(0px, 0px);
    }
    100% {
      transform: scale(1.2, 1.2) translate(0px, -30px);
    }
  }
  body.block {
    overflow-y: hidden;
  }

  body[data-type*="category"] .stories__block, body[data-type*="frontpage"] .stories__block, body[data-type*="folder"] .stories__block {
    min-height: auto;
    box-shadow: none;
    padding: 0;
  }
  body[data-type*="category"] .stories__block > h2, body[data-type*="category"] .stories__block__content, body[data-type*="frontpage"] .stories__block > h2, body[data-type*="frontpage"] .stories__block__content, body[data-type*="folder"] .stories__block > h2, body[data-type*="folder"] .stories__block__content {
    display: none;
  }

  .stories__block {
    margin-bottom: 0px;
    background: white;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 8px;
    overflow: hidden;
    padding-bottom: 25px;
    min-height: 287px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .stories__block h2 {
    color: #d50033;
    display: flex;
    align-content: center;
    align-items: center;
    margin: 20px 0 13px;
    padding: 0 0 0 16px;
    text-transform: uppercase;
    font-family: "Averta Bold";
    font-size: 20px;
  }
  .stories__block h2 span {
    width: 29px;
    height: 29px;
    background: #d50032;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 7px;
  }
  .stories__block h2 span.inactive:after {
    display: none;
  }
  .stories__block h2 span:after {
    border: 2px solid #57a4f2;
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transform: translate(-51%, -50%);
  }
  .stories__block h2 span img {
    width: 20px;
    height: auto;
  }
  .stories__block .splide__list {
    margin-right: 6px !important;
  }
  .stories__block .splide__list .splide__slide {
    width: 100px;
    margin-right: 6px;
  }
  .stories__block .splide__list .splide__slide img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  .stories__block .splide__list .splide__slide .title {
    display: none;
  }
  .stories__block .splide__list .splide__slide .time {
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    font-size: 12px;
    width: 100%;
    z-index: 2;
    padding-left: 8px;
    padding-bottom: 4px;
  }
  .stories__block .splide__list .splide__slide .time:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, black, transparent);
    z-index: -1;
    border-radius: 0 0 5px 5px;
  }
  .stories__block__content {
    padding: 0 0 0 12px;
  }
  .stories__block__content .splide__arrows {
    display: none;
  }
  .stories__block__content.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 101;
  }
  .stories__block__content.fixed .splide {
    height: 100%;
  }
  .stories__block__content.fixed .splide__track {
    height: 100%;
  }
  .stories__block__content.fixed .splide__list {
    height: 100%;
  }
  .stories__block__content.fixed .splide__list .splide__slide {
    width: 100%;
    height: 100%;
  }
  .stories__block__content.fixed .splide__list .splide__slide img {
    border-radius: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .stories__block__content.fixed .splide__list .splide__slide__content {
    height: 100%;
  }
  .stories__block__content.fixed .splide__list .splide__slide__content .image {
    height: 100%;
  }
  .stories__block .stories__full {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 101;
    transition: all 200ms ease-in-out;
  }
  .stories__block .stories__full.hide-swipe #swipe {
    display: none;
  }
  .stories__block .stories__full.active {
    opacity: 1;
    visibility: visible;
  }
  .stories__block .stories__full .logo {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 1;
    font-size: 14px;
    width: auto;
  }
  .stories__block .stories__full .splide {
    height: 100%;
    width: 360px;
  }
  .stories__block .stories__full .splide__track {
    height: 100%;
  }
  .stories__block .stories__full .splide__list {
    height: 100%;
  }
  .stories__block .stories__full .splide__slide {
    margin-right: 0;
  }
  .stories__block .stories__full .splide__slide__content {
    height: 100%;
    position: relative;
  }
  .stories__block .stories__full .splide__slide__content:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background-image: linear-gradient(to bottom, black, transparent);
    width: 100%;
    height: 120px;
    z-index: 0;
  }
  .stories__block .stories__full .splide__slide__content .image {
    height: 100%;
  }
  .stories__block .stories__full .splide__slide__content .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }
  .stories__block .stories__full .splide__slide__content .time {
    top: 21px;
    left: 76px;
    bottom: initial;
    z-index: 9;
    width: auto;
  }
  .stories__block .stories__full .splide__slide__content .time:before {
    display: none;
  }
  .stories__block .stories__full .splide__slide__content .title {
    position: absolute;
    display: block;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 12px 17px;
    line-height: 30px;
    z-index: 1;
    color: white;
    font-family: "Averta ExtraBold";
    font-size: 25px;
  }
  .stories__block .stories__full .splide__slide__content .title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 310px;
    background-image: linear-gradient(to top, black, transparent);
    z-index: -1;
  }
  .stories__block [class*="-close"] {
    position: absolute;
    top: 13px;
    right: 15px;
    z-index: 2;
    color: white;
    font-size: 19px;
    width: 40px;
    height: 36px;
    text-align: right;
  }
  .stories__block .timeline {
    position: absolute;
    left: 0;
    top: 53px;
    width: 100%;
    width: 100%;
    z-index: 2;
    padding: 0 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .stories__block .timeline__element {
    flex-grow: 1;
    height: 3px;
    margin-right: 2px;
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    border-radius: 5px;
    overflow: hidden;
  }
  .stories__block .progress {
    width: 0;
    height: 100%;
    background: #f6f6f6;
  }
  .stories__block .stories__sponsor {
    line-height: 12px;
    letter-spacing: -0.12px;
    font-weight: 400;
    font-size: 12px;
  }

  /**
  nowy
  **/
  .slider {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .slider #swipe {
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    position: absolute;
    left: 50%;
    top: 80px;
    z-index: 2;
    background-color: transparent;
    transform: translate(-50%, 0);
  }
  .slider .arrows {
    position: absolute;
    background: transparent;
    color: black;
    z-index: 3;
    padding: 10px;
    width: 40px;
    top: 80px;
    height: calc(100% - 80px);
  }
  .slider .arrows.arrow__left {
    left: 0;
  }
  .slider .arrows.arrow__right {
    right: 0;
  }
  .slider__wrapper {
    position: relative;
    white-space: nowrap;
    background: white;
    max-width: 756px;
    height: 100%;
    white-space: nowrap;
    overflow: scroll;
  }
  .slider__wrapper.dragging {
    cursor: grab;
  }
  .slider__wrapper__element {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
  }
  .slider__wrapper__element.vert {
    vertical-align: top;
  }
  .slider__wrapper__element.vert .advert-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -43%);
    z-index: 1;
  }
  .slider__wrapper__element:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background-image: linear-gradient(to bottom, black, transparent);
    width: 100%;
    height: 120px;
    z-index: 0;
  }
  .slider__wrapper__element .image {
    width: 100%;
    height: 100%;
  }
  .slider__wrapper__element .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .slider__wrapper__element .time {
    position: absolute;
    left: 86px;
    top: 19px;
    z-index: 1;
    color: white;
    font-family: 'Averta';
    font-size: 12px;
  }
  .slider__wrapper__element .title {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    color: white;
    white-space: normal;
    font-family: 'Averta ExtraBold';
    font-size: 28px;
    padding: 0px 22px 14px;
    line-height: 33px;
  }
  .slider__wrapper__element .title--info {
    color: white;
    text-align: center;
    margin-top: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
  }
  .slider__wrapper__element .title--info img {
    width: 20px;
    height: auto;
    margin-right: 5px;
    vertical-align: middle;
    transform: translate(0px, 0px);
    transition: all 2s ease-in-out;
  }
  .slider__wrapper__element .stories__sponsor {
    display: block;
    margin-bottom: 7px;
  }
  .slider__wrapper__element .stories__sponsor span {
    letter-spacing: -0.12px;
    background-color: rgba(255, 255, 255, 0.6);
    color: #000000;
    display: inline-block;
    padding: 4px 6px;
    text-transform: uppercase;
    font-weight: 400;
  }
  .slider .stories__shadow__bottom {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 390px;
    background-image: linear-gradient(to top, black, transparent);
    z-index: 0;
  }

  .stories__block {
    z-index: 214000001;
  }
  .stories__block h2 {
    font-family: "Proxima", arial, sans-serif;
    padding-left: 8px;
    font-size: 23px;
    margin-bottom: 16px;
  }
  .stories__block h2 span {
    background-color: #fffacd;
    width: 32px;
    height: 32px;
    margin-right: 9px;
  }
  .stories__block .stories__full {
    z-index: 1101;
  }
  .stories__block .stories__full .logo {
    left: 14px;
    top: 16px;
  }
  .stories__block .splide__list .splide__slide {
    width: 134px;
  }
  .stories__block .splide__list .splide__slide .title {
    display: block;
    position: absolute;
    z-index: 0;
    bottom: 8px;
    left: 0;
    padding: 0 6px;
    display: block;
  }
  .stories__block .splide__list .splide__slide .title span {
    color: white;
    background-color: #e10b00;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    text-transform: uppercase;
    font-size: 14px;
    padding: 0 2px;
    line-height: 19px;
  }
  .stories__block .splide__list .splide__slide .time {
    display: none;
  }
  .stories__block .splide__list .splide__slide:nth-child(even) .title span {
    background-color: #FFE800;
    color: black;
  }

  .stories__block .slider__wrapper__element .title {
    font-family: "Proxima", arial, sans-serif;
  }
  .stories__block .slider__wrapper__element .title a {
    color: white;
  }
  .stories__block .slider__wrapper__element .time {
    left: 124px;
    top: 22px;
    font-family: "Roboto";
    font-size: 12px;
    font-weight: 400;
  }
  .stories__block .slider__wrapper__element .stories__sponsor {
    letter-spacing: -0.12px;
    font-family: "Roboto";
    font-size: 12px;
    font-weight: 400;
  }
}
