section.banner-box{
	margin:0px;
}
.slider {
  height: 70vh;
  min-height: 400px;
  max-height:700px;
  position: relative;	
  clear: both;
  overflow: hidden;
  z-index: 2;
  margin: 0px auto 0px auto;
  padding: 0px 4% 0px 4%;
}
.slider:after{
  content:"";
  display:block;
  background-image: url("../../images/czlowiek2.webp");
  position:absolute;
  right:0px;
  bottom:0px;
  z-index:2000;
  height: 100%;
  width:390px;
  background-repeat:no-repeat;
  background-position:bottom left;
  background-size: contain;
}
.slider > div {
  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: none;
  /* background:#edb315; */
  position: absolute;
  top: 46%;
  z-index: 200;
  text-align: center;
  color: #fff;
  font-family: "Montserrat";
  font-size: 40px;
  padding: 0px;
  color: #333;
  height: 46px;
  width: 27px;
  transition: left 0.5s ease;
}
.strzalka_lewo:before,
.strzalka_prawo:before {
  font-family: "FontAwesomeSolid" !important;
  color: #fff;
  font-size: 60px;
}
.strzalka_prawo:before {
  content: "\f054";
}
.strzalka_lewo:before {
  content: "\f053";
}
.strzalka_lewo {
  left: -50px;
}
.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%;
  z-index: 100;
  display: none;
}
.cyferki span {
  /* background:url(../../img/koleczko.png) no-repeat; */
  background-color: red;
  width: 13px;
  height: 13px;
  display: inline-block;
  cursor: pointer;
  margin: 2px;
}
.cyferki span.hover {
  /* background:url(../../img/koleczko-hover.png) no-repeat; */
  background-color: green;
  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 {
  height: 100%;
}
.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 .telefon:hover {
  opacity: 0.8;
}
.slider .telefon > img {
  position: relative;
  top: 4px;
  margin-right: 10px;
}
.slider .haslo {
  position: absolute;
  top: 20%;
  left: 6%;
  right: 6%;
  opacity: 1;
  transition: all 0.4s ease-in;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 30px;
}
.slider .haslo h1:after,
.slider .haslo h2:after,
.slider .haslo h3:after {
  display: none;
}
.slider .haslo h1 span {
  color:#f73f00;
}

.slider .haslo h2 {
  margin: 0px;
  padding-bottom: 10px;
}
.slider .haslo > * {
  clear: both;
}
.slider .haslo p {
  margin-bottom: 0px;
  padding: 0px;
  font-size: 22px;
  margin-top: 5px;
  color: #fff;
  position: relative;
  text-align: left;
  width: 50%;
  font-weight:700;
  text-shadow:1px 1px 0px #028cf0;
}
.slider .content h2 {
  color: #f48d3f;
  margin: 5px 0px;
  font-weight: 700;
  font-size: 46px;
  text-shadow:2px 2px 0px #fff;
}
.slider .item .haslo h1 {
  font-size: 50px;
  font-weight:700;
}
@media screen and (max-width: 1080px) {
    #slider:after{
    top:unset;
    right: 0px;
    bottom: 0px;
    z-index: 10000;
    width: 25%;
    height: 44vw;
    background-repeat: no-repeat;
    background-size: contain;
    }
  .slider .haslo {
    width: auto;
  }
  .slider .haslo p {
    width: auto;
  }
}
@media screen and (max-width: 720px) {

  .slider .haslo h2 {
    font-size: 5vw;
  }
  .slider .haslo h3 {
    font-size: 4vw;
  }
    .slider .haslo p{
    font-size:1rem;
  }
  #slider {
    height: auto;
    min-height: none;
  }
  .home-page .baner .content h1 {
    font-size: 25px;
  }
  .slider > div,
  .slider {
    height: 400px;
  }
  .slider .item .haslo h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  .slider .item .haslo h1,
  .slider .item .haslo h2,
  .slider .item .haslo h3{
    line-height:1em;
  }
  .slider .haslo {
    width: auto;
  }
}
@media screen and (max-width: 420px) {
  #slider:after{
    display:none;
  }
}