#slideshow{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 550px;
  /*box-shadow: 0px 3px 10px rgba(0,0,0,0.3);*/
  z-index: 48;
  overflow: hidden;
  /*animation: slideshow;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;*/
}

/*@keyframes slideshow {
  0%   {background-image: url('/images/slideshow/01.jpg');}
  23%   {background-image: url('/images/slideshow/01.jpg');}
  33%  {background-image: url('/images/slideshow/02.jpg');}
  56%  {background-image: url('/images/slideshow/02.jpg');}
  66%  {background-image: url('/images/slideshow/03.jpg');}
  90%  {background-image: url('/images/slideshow/03.jpg');}
}*/

.slideshow_box{
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 550px;
  position: absolute;
  top: 0px;
  left: 0px;
}

.slideshow_box div{
  width: 80%;
  margin: 0 auto;
  max-width: 1000px;
  /*padding-top: calc(50vh - 190px);*/
  padding-top: 221px;
}

.slideshow_box div span{
  color: var(--r-grey);
}

.slideshow_box:nth-of-type(1) div{
}

#slideshow01{
  background-image: url('/images/slideshow/02.jpg');
}

#slideshow02{
  background-image: url('/images/slideshow/01.jpg');
}

#slideshow03{
  background-image: url('/images/slideshow/03.jpg');
}

#slideshow04{
  background-image: url('/images/slideshow/04.jpg');
}

#slideshow h2{
  color: white;
  font-weight: normal;
  width: 70%;
  font-size: 50px;
  line-height: 100px !important;
  display: inline !important;
  cursor: auto;
  padding: 14px 0px;
  background-color: rgba(0, 125, 186, 0.8);
  vertical-align: middle;
  transform: scale(1) !important;
}

/* 3 obrázky ve slideshow */
/*
.slideshow_box:nth-of-type(1){
  color: transparent !important;
  background-color: transparent !important;
  animation: slideshow_t_1;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  text-align: right;
}

@keyframes slideshow_t_1 {
  0%   {opacity: 1;}
  23%  {opacity: 1;}
  33%  {opacity: 0; transform: scale(1.1)}
  56%  {opacity: 0; transform: scale(1.1)}
  66%  {opacity: 0; transform: scale(1)}
  90%  {opacity: 0; transform: scale(1)}
  100% {opacity: 1;}
}

.slideshow_box:nth-of-type(2){
  color: transparent !important;
  background-color: transparent !important;
  animation: slideshow_t_2;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.slideshow_box:nth-of-type(2) div {
  padding-top: 221px;
}

.slideshow_box:nth-of-type(2) div h2{
  background-color: rgba(0, 125, 186, 0.8) !important;
}

@keyframes slideshow_t_2 {
  0%   {opacity: 0; transform: scale(1.1)}
  23%  {opacity: 0; transform: scale(1.1)}
  33%  {opacity: 1;}
  56%  {opacity: 1}
  66%  {opacity: 0; transform: scale(1)}
  90%  {opacity: 0; transform: scale(1)}
  100% {opacity: 0; transform: scale(1.1)}
}

.slideshow_box:nth-of-type(3){
  color: transparent !important;
  background-color: transparent !important;
  animation: slideshow_t_3;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.slideshow_box:nth-of-type(3) div {
  padding-top: 272px;
}

.slideshow_box:nth-of-type(3) div h2{
  background-color: rgba(255, 205, 0, 0.95) !important;
}

@keyframes slideshow_t_3 {
  0%   {opacity: 0; transform: scale(1.1)}
  23%  {opacity: 0; transform: scale(1)}
  33%  {opacity: 0; transform: scale(1)}
  56%  {opacity: 0; transform: scale(1)}
  66%  {opacity: 1;}
  90%  {opacity: 1;}
  100% {opacity: 0; transform: scale(1.1)}
}
 */

.slideshow_box:nth-of-type(1){
  color: transparent !important;
  background-color: transparent !important;
  animation: slideshow_t_1;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  text-align: right;
}

@keyframes slideshow_t_1 {
  0%   {opacity: 1;}
  18%  {opacity: 1;}
  25%  {opacity: 0; transform: scale(1.1)}
  43%  {opacity: 0; transform: scale(1.1)}
  50%  {opacity: 0; transform: scale(1.1)}
  68%  {opacity: 0; transform: scale(1.1)}
  75%  {opacity: 0; transform: scale(1)}
  93%  {opacity: 0; transform: scale(1)}
  100% {opacity: 1;}
}

.slideshow_box:nth-of-type(2){
  color: transparent !important;
  background-color: transparent !important;
  animation: slideshow_t_2;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  text-align: right;
}

.slideshow_box:nth-of-type(2) div {
  padding-top: 165px;
}

.slideshow_box:nth-of-type(2) div h2{
  background-color: rgba(254,80,0, 0.8) !important;
}

@keyframes slideshow_t_2 {
  0%   {opacity: 0; transform: scale(1.1)}
  18%  {opacity: 0; transform: scale(1.1)}
  25%  {opacity: 1;}
  43%  {opacity: 1;}
  50%  {opacity: 0; transform: scale(1)}
  68%  {opacity: 0; transform: scale(1)}
  75%  {opacity: 0; transform: scale(1)}
  93%  {opacity: 0; transform: scale(1)}
  100% {opacity: 0; transform: scale(1.1)}
}

.slideshow_box:nth-of-type(3){
  color: transparent !important;
  background-color: transparent !important;
  animation: slideshow_t_3;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.slideshow_box:nth-of-type(3) div {
  padding-top: 221px;
}

.slideshow_box:nth-of-type(3) div h2{
  background-color: rgba(0, 125, 186, 0.8) !important;
}

@keyframes slideshow_t_3 {
  0%   {opacity: 0; transform: scale(1)}
  18%  {opacity: 0; transform: scale(1)}
  25%  {opacity: 0; transform: scale(1)}
  43%  {opacity: 0; transform: scale(1)}
  50%  {opacity: 1;}
  68%  {opacity: 1;}
  75%  {opacity: 0; transform: scale(1.1)}
  93%  {opacity: 0; transform: scale(1.1)}
  100% {opacity: 0; transform: scale(1)}
}

.slideshow_box:nth-of-type(4){
  color: transparent !important;
  background-color: transparent !important;
  animation: slideshow_t_4;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.slideshow_box:nth-of-type(4) div {
  padding-top: 272px;
}

.slideshow_box:nth-of-type(4) div h2{
  background-color: rgba(255, 205, 0, 0.95) !important;
}

@keyframes slideshow_t_4 {
  0%   {opacity: 0; transform: scale(1)}
  18%  {opacity: 0; transform: scale(1)}
  25%  {opacity: 0; transform: scale(1.1)}
  43%  {opacity: 0; transform: scale(1.1)}
  50%  {opacity: 0; transform: scale(1.1)}
  68%  {opacity: 0; transform: scale(1.1)}
  75%  {opacity: 1;}
  93%  {opacity: 1;}
  100% {opacity: 0; transform: scale(1)}
}

/*-----------------------------------*/

#scroll {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 20px;
  left:0px;
  font-size: 30px;
  color: var(--r-blue);
  animation: scroll;
  animation-delay: 1.5s;
  animation-duration: 2.0s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}

@keyframes scroll{
  0%   {filter: opacity(20%); bottom: 25px}
  50%  {filter: opacity(100%); bottom: 20px}
  100% {filter: opacity(20%); bottom: 25px}
}
