.bounce {
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}
@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
  }
}
@-moz-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -o-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -o-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
.slider{
  height: 40vh;
  min-height: 450px;
  padding: 0px;
  background: none;
  position: relative;
  clear: both;
  margin: 0px auto 0px auto;
  overflow: hidden;
  z-index: 2;
  padding: 0px 4% 0px 4%;
}
.slider > div {
  opacity: 0;
  position: absolute;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}
.slider > div:first-child {
  z-index: 1;
}
.strzalka_dol {
  z-index: 10;
  position: absolute;
  left: 50%;
  bottom: 15px;
  display: inline-block;
  padding: 0px;
  animation: 2s ease 0s normal none infinite running bounce;
}
.strzalka_lewo,
.strzalka_prawo {
  display: block;
  /* background:#edb315; */
  position: absolute;
  top: 46%;
  z-index: 200;
  text-align: center;
  color: #fff;
  font-family: Arial;
  font-size: 40px;
  padding: 0px;
  color: #333;
  height: 46px;
  width: 27px;
  transition: left 0.5s ease;
  /* background-image:url(../../images/strzalka_prawo.png); */
  /* background-color: rgba(1,1,1,0.2); */
}
.strzalka_lewo:before,
.strzalka_prawo:before {
  font-family: IcoFont !important;
  color: #000;
  font-size: 60px;
}
.strzalka_prawo:before {
  content: "\eaca";
}
.strzalka_lewo:before {
  content: "\eac9";
}
.strzalka_lewo {
  left: -50px;
  /* background-image:url(../../images/strzalka_lewo.png); */
}
.strzalka_prawo {
  right: -30px;
  transition: right 0.5s ease;
}
.slider:hover .strzalka_lewo {
  left: 0px;
}
.slider:hover .strzalka_prawo {
  right: 30px;
}
.strzalka_lewo:hover,
.strzalka_prawo:hover {
}
.cyferki {
  overflow: hidden;
  position: absolute;
  bottom: 5%;
  left: 0px;
  text-align: center;
  width: 100%;
  display: none;
}
.cyferki span {
  /* background:url(../../img/koleczko.png) no-repeat; */
  width: 13px;
  height: 13px;
  display: inline-block;
  cursor: pointer;
  margin: 2px;
}
.cyferki span.hover {
  /* background:url(../../img/koleczko-hover.png) no-repeat; */
  cursor: default;
}
.cyferki span:before {
  content: "\ec77";
  font-family: "Icofont";
  display: block;
  width: 30px;
  height: 30px;
  background-color: blue;
  font-size: 14px;
  color: grey;
}

.slider .content {
  bottom: 0%;
  position: absolute;
  left: 4%;
  right: 4%;
  position: absolute;
  left: 4%;
  right: 4%;
}
.slider > .content {
  width: 100%;
  z-index: 100;
  bottom: 50%;
  text-align: center;
}
.slider .telefon {
  display: block;
  margin: 0px auto 0px auto;
  background: rgba(99, 99, 99, 0.6);
  padding: 7px 15px 10px 20px;
  width: 270px;
  color: #fff;
  font-size: 26px;
  border-radius: 5px;
  margin-top: 2%;
  opacity: 1;
  box-shadow: 2px 2px 1px #333;
  cursor: pointer;
}
.slider .telefon:before {
  content: "\efbb";
  font-family: "IcoFont" !important;
  display: inline-block;
}
/* .slider > div > .content {
  background: rgba(45, 45, 45, 0.8);
  padding: 30px;
  top: 150px;
} */
.slider .telefon:hover {
  opacity: 0.8;
}
.slider .telefon > img {
  position: relative;
  top: 4px;
  margin-right: 10px;
}
.slider .haslo {
  position: relative;
  font-size: 20px;
  margin-left: auto;
  /* margin-right: auto; */
  display: block;
  width: 440px;
  padding: 40px 50px;
  margin-bottom: 4vh;
}
.slider .haslo:before {
  content: "";
  display: block;
  background-color:var(--zolty);
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  transform: scale(0);
  -webkit-transition: all 1s ease-in-out 0.2s;
  -moz-transition: all 1s ease-in-out 0.2s;
  -o-transition: all 1s ease-in-out 0.2s;
  transition: all 1s ease-in-out 0.2s;
  border-radius: 50px 0px 50px 0px;
}
.slider .item.active .haslo:before {
  transform: scale(1);
}

.slider .haslo h1:after,
.slider .haslo h2:after,
.slider .haslo h3:after {
  display: none;
}
.slider .haslo h1 span {
  display: block;
}
.slider .haslo h1 span:last-child {
  font-size: 30px;
}
.slider .haslo h2 {
  margin: 0px;
  padding-bottom: 10px;
}
.slider .haslo > * {
  clear: both;
}
.slider .haslo p {
  margin-bottom: 0px;
  padding: 0px;
  font-size: 20px;
  margin-top: 5px;
  /* text-shadow: 1px 1px #000000; */
  color: #353535;
  position: relative;
}
/*.slider .haslo a {
  display: inline-block;
  background: #fff;
  color: #333;
  border: 1px solid rgb(230, 230, 230);
  padding: 10px 25px;
  font-size: 25px;
  border-radius: 15px;
}*/
/* .slider .haslo a:hover {
  color: #000;
  border-color: #eee;
  text-shadow: none;
  background: #fff;
} */

.home-page .baner .content h1 {
  font-size: 50px;
  line-height: 0.8em;
  font-weight: 800;
  color: #1b1b1b;
  margin: 0px;
  text-transform: uppercase;
}
.home-page .baner .content h2 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 150px;
  color: #404040;
}



/* animations  */
/* .slider .item .content {
  transform: translateX(-1350px);
  transition: all 0.8s ease-in-out 0.5s;
} */

.slider .item .haslo h1 {
  transform: translateY(-520px);
  transition: all 1.3s ease-in-out 0.6s;
}

.slider .item.active .haslo h1 {
  transform: translateY(0px);
}

.slider .item .haslo > *:nth-child(2) {
  transform: translateX(1350px);
  transition: all 1.3s ease-in-out 0.4s;
}

.slider .item .haslo > *:last-child {
  opacity: 0;
  transition: all 1.3s ease-in-out 2s;
}

/*  active item */
/* .slider .item.active .haslo h1 {
  transform: translateY(0px);
}
.slider .item.active .content {
  transform: translateX(0px);
} */
.slider .item.active .haslo > *:nth-child(2) {
  transform: translateX(0px);
}
.slider .item.active .haslo > *:last-child {
  opacity: 1;
}


@media screen and (max-width: 720px) {
  .home-page .baner .content h1 {
    font-size: 25px;
  }
  .slider > div{
	  height:100%;
	  top: auto;
  }

  .slider .haslo h1 {
    font-size: 30px;
  }
  .slider .haslo h2 {
    font-size: 25px;
  }
  .slider > div > .content {
    /* top:25%;	 */
  }
  .slider .haslo {
    width: auto;
	padding:30px 10%;
  }
}
@media screen and (max-width: 480px) {
  .slider .haslo h1 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .slider .haslo h2 {
    font-size: 18px;
    line-height: 26px;
  }
  .slider .telefon {
    font-size: 24px;
  }
  .slider .haslo p{
	  font-size:18px;
  }
}
