#slideshow, .slideshow_box, .bg{
  height: 400px;
}

#slideshow{
  width: 100%;
  position: relative;
  z-index: 48;
  overflow: hidden;
}

.slideshow_box{
  background-size: cover;
  background-position: center center;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
}

.slideshow_box div.box_content{
  background-color: transparent;
}

.slideshow_box div.box_content div{
  background-color: rgba(0,0,0, 0.6);
  display: inline-block;
  padding: 40px 50px;
}

.slideshow_box:nth-of-type(1) div.box_content{
  padding-top: 115px;
}

.slideshow_box:nth-of-type(3) div.box_content{
  padding-top: 80px;
}

.slideshow_box:nth-of-type(2) div.box_content{
  padding-top: 106px;
}

.bg{
  background-size: cover;
  background-position: center center;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
}

#slideshow01 .bg{
  background-image: url('/images/slideshow/industrial-hall.jpg');
}

#slideshow02 .bg{
  background-image: url('/images/slideshow/factory.jpg');
}

#slideshow03 .bg{
  background-image: url('/images/slideshow/konference.jpg');
}

#slideshow h2{
  color: white;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.5 !important;
  display: block !important;
  cursor: auto;
  padding: 0px;
  margin: 0 0 25px 0;
  vertical-align: middle;
  transform: scale(1) !important;
}

#slideshow img{
  width: 350px;
  margin-bottom: 25px;
  display: block;
}

#slideshow a,#slideshow a:hover,#slideshow a:visited{
  color: white;
}

.slideshow_box:nth-of-type(1){
  animation: slideshow_t_1;
}

.slideshow_box:nth-of-type(1) .bg{
  animation: slideshow_bg_1;
}

@keyframes slideshow_t_1 {
  0%   {opacity: 1; z-index: 4000}
  23%  {opacity: 1; z-index: 4000}
  33%  {opacity: 0; z-index: 3960}
  56%  {opacity: 0; z-index: 3960}
  66%  {opacity: 0; z-index: 3960}
  90%  {opacity: 0; z-index: 3960}
  100% {opacity: 1; z-index: 4000}
}

@keyframes slideshow_bg_1 {
  0%   {}
  23%  {}
  33%  {transform: scale(1.05)}
  56%  {transform: scale(1.05)}
  66%  {transform: scale(1.00)}
  90%  {transform: scale(1.00)}
  100% {}
}

.slideshow_box:nth-of-type(2){
  animation: slideshow_t_2;
  text-align: right;
}

.slideshow_box:nth-of-type(2) .bg{
  animation: slideshow_bg_2;
}

@keyframes slideshow_t_2 {
  0%   {opacity: 0; z-index: 3960}
  23%  {opacity: 0; z-index: 3960}
  33%  {opacity: 1; z-index: 4000}
  56%  {opacity: 1; z-index: 4000}
  66%  {opacity: 0; z-index: 3960}
  90%  {opacity: 0; z-index: 3960}
  100% {opacity: 0; z-index: 3960}
}

@keyframes slideshow_bg_2 {
  0%   {transform: scale(1.05)}
  23%  {transform: scale(1.05)}
  33%  {}
  56%  {}
  66%  {transform: scale(1)}
  90%  {transform: scale(1)}
  100% {transform: scale(1.05)}
}

.slideshow_box:nth-of-type(3){
  animation: slideshow_t_3;
}

.slideshow_box:nth-of-type(3) .bg{
  animation: slideshow_bg_3;
}

@keyframes slideshow_t_3 {
  0%   {opacity: 0; z-index: 3960}
  23%  {opacity: 0; z-index: 3960}
  33%  {opacity: 0; z-index: 3960}
  56%  {opacity: 0; z-index: 3960}
  66%  {opacity: 1; z-index: 4000}
  90%  {opacity: 1; z-index: 4000}
  100% {opacity: 0; z-index: 3960}
}

@keyframes slideshow_bg_3 {
  0%   {transform: scale(1.05)}
  23%  {transform: scale(1)}
  33%  {transform: scale(1)}
  56%  {transform: scale(1)}
  66%  {}
  90%  {}
  100% {transform: scale(1.05)}
}

.slideshow_box:nth-of-type(1), .slideshow_box:nth-of-type(1) .bg,
.slideshow_box:nth-of-type(2), .slideshow_box:nth-of-type(2) .bg,
.slideshow_box:nth-of-type(3), .slideshow_box:nth-of-type(3) .bg{
  background-color: transparent !important;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/*-----------------------------------*/

#scroll {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 30px;
  left:0px;
  font-size: 40px;
  color: white;
  animation: scroll;
  animation-duration: 2.0s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}

@keyframes scroll{
  0%   {filter: opacity(40%); bottom: 30px}
  50%  {filter: opacity(80%); bottom: 20px}
  100% {filter: opacity(40%); bottom: 30px}
}

@media screen and (max-width: 670px) {
  #slideshow h2{
    font-size: 25px;
    margin: 0 0 15px 0;
  }

  #slideshow img{
    width: 250px;
    margin-bottom: 15px;
  }

  #slideshow, .slideshow_box, .bg{
    height: 280px;
  }


  .slideshow_box div.box_content div{
    padding: 30px 30px;
    font-size: 12px;
  }

  .slideshow_box:nth-of-type(1) div.box_content{
    padding-top: 75px;
  }

  .slideshow_box:nth-of-type(3) div.box_content{
    padding-top: 50px;
  }

  .slideshow_box:nth-of-type(2) div.box_content{
    padding-top: 70px;
  }
}