/*
Carousel - posuvne rychle menu

 */



 .rychle{
/* background-color: rgba(230, 234, 252, 0.9); */    /*max-height: 300px; */

 margin-top: 0px;
 width: 90%;
 margin-left: 5%;
 margin-bottom: 40px;



}

 .carousel {
  margin-top: 0px;
  width: 100%;
/*  max-width: 1200px;  */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  min-height: 320px;
  position: relative;
  padding-bottom: 0px;

}




 .rychle .carousel {
  margin-top: 60px;
  width: 100%;
/*  max-width: 1200px;  */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  min-height: 460px;
  position: relative;
  padding-bottom: 0px;
}


@media all and (max-width: 1024px) {
   .rychle{
/* background-color: rgba(230, 234, 252, 0.9); */    /*max-height: 300px; */

 margin-top: 0px;
 padding-top: 60px;



}

 .rychle .carousel {
  margin-top: 0px;

}
}



/* foto */

  .carousel li.foto {
    border: solid 10px #f1f1f2;
}

  .carousel li.foto a {
   position: absolute;
   left: 0px;
   top: 0px;
   width: 100%;
   height: 250px;
   z-index: 10;
     -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
   display: block
}




  .carousel li.foto p {
   position: absolute;
   left: 0px;
   top: 0px;
   width: 100%;
   height: 20px;
   z-index: 10;
     -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;

     background-color: rgba(255, 255, 255, 0.8);
   display: block
}

 .carousel li.foto:hover a {
     -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;

     background-color: rgba(255, 255, 255, 0.4);
}



 .carousel li.foto a::before{

     -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
  font-family:"FontAwesome";
   content: '\f00e';
  color: rgba(0, 0, 0, 0);
  position: absolute;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 20px;
  line-height: 40px;
  z-index: 10000000000;

  left: 40%;
  top: 40%;
  background-color: rgba(255, 255, 255, .0);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.carousel li.foto:hover a::before{
      -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
  color: rgba(0, 0, 0, 1);
   background-color: rgba(255, 255, 255, .8);

}







 @media all and (max-width: 1024px) {

 .carousel {

  width: 80%;



}

   .carousel .slides li.foto {
   height: 250px;

}

}

 @media all and (max-width: 768px) {


   .carousel .slides li.foto {
   height: 250px;

}

}

 .carousel h2{



}



  .carousel .slides{
  margin-left: 0px;
  margin-top: 0px;
     height: 250px;
     overflow: hidden
}
 .carousel .slides li {
   overflow: hidden;
   height: 250px;

width: 28%;
text-align: center;
z-index: 100000;
position: relative;
opacity: 1;
-webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;


}




 .carousel .slides li img{

      height: 100%;
    width: auto;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
 .rychle .carousel .slides li img{

      height: 100%;
      opacity: 1;
    width: auto;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
 .carousel .slides li.foto img{

      height: auto;
      min-height: 250px;
    min-width: 100%;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
/* .carousel .slides li:hover img{
      height: 110%;

 width: auto;
-webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
 .carousel .slides li.foto:hover img{
      height: auto;
         min-height: 250px;
    min-width: 110%;
-webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}*/
 .carousel .slides li:hover {
opacity: 1;
-webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;


}



/*
ryche
 */








   .rychle .carousel .slides{
  margin-left: 0px;
  margin-top: 0px;
     height: 450px;
     overflow: hidden
}


  .rychle  .carousel .slides li {
  vertical-align: top;
  width: 22%;
  background-color: rgba(255, 255, 255, 1);
  height: 440px;
  display: inline-block;
/*  border: solid 10px rgba(255, 255, 255, 1); */
  text-align: left;
  position: relative;
   overflow: hidden;
   border: solid 10px #f1f1f2;
   z-index: 999;


}
 /*
 tlacitko rychle navigace
  */


.rychle .carousel .slides li a{
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1000;
  top: 0px;
}


.rychle .carousel .slides li p.cena {

            position: absolute;
              z-index: 10;
              padding-left: 0px;
              padding-top: 8px;
              text-align: center;
              right: -70px;
              bottom: 30px;
                background-color: rgba(221, 43, 55, 1);
              color: #FFFFFF;
              width: 270px;
              font-size: 12px;

              height: 50px;
              -webkit-transform: rotate(-45deg);
              -moz-transform: rotate(4-5deg);
              -ms-transform: rotate(-45deg);
              -o-transform: rotate(-45deg);
              transform: rotate(-45deg);
              -moz-text-shadow: 0px 0px 3px rgba(0,0,0,0.4);
-webkit-text-shadow: 0px 0px 3px rgba(0,0,0,0.4);
text-shadow: 0px 0px 3px rgba(0,0,0,0.4);

              -moz-box-shadow: 0px 2px 24px rgba(0,0,0,0.6);
-webkit-box-shadow: 0px 2px 24px rgba(0,0,0,0.6);
box-shadow: 0px 2px 24px rgba(0,0,0,0.6);

  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
   /* omezeni stylu */
        margin-top: auto;
    margin-left: auto;
    margin-right: auto;
     min-width: auto;


     margin-bottom:  auto;
     line-height: !important;
            }

.rychle .carousel .slides li:hover p.cena {

                bottom: 30px;
              right: 100%;
              margin-right: -70px;


  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
            }




              .rychle .carousel .slides li p.cena strong{

              font-size: 14px;
              font-weight: 600;

            }
           .rychle .carousel .slides li p.cena i{

              font-size: 13px;
              font-style: normal;

            }



.rychle .carousel .slides li .text1{
  vertical-align: top;
  width: 100%;
  height: 45%;
  top: 0px;

    background-color: rgba(255, 255, 255, 1);
  position: absolute;
  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
  z-index: 0;
}


.rychle .carousel .slides li:hover .text1{
  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
  opacity: 1;
  margin-left: -100%;
}

.rychle .carousel .slides li:hover .text2{
  opacity: 1;
  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    margin-left: 0px;

}
.rychle .carousel .slides li .text2{
  background-color: rgba(221, 43, 55, 1);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
    margin-left: 100%;
      -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.rychle .carousel .slides li  .nahled{
      width: 100%;

      position: absolute;
      -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;

      z-index: 0;
      overflow: hidden;
  height: 250px;
  right: 0px;
  bottom: 0px

}

.rychle .carousel .slides li img{
      width: 100%;

      position: absolute;
      -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;

      z-index: 0;
  height: auto;
  max-height: 250px;
  right: 0px;
  top: 0px

}

.rychle .carousel .slides li:hover  img{

      position: absolute;
      -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
      opacity: 0.7;
      z-index: 0;

  right: 100%;
  top: 0px

}

.rychle .carousel .slides li .text1 h2{
  font-size: 28px;
  font-weight: 400;
  margin-left: 10%;
  width: 90%;

  padding-top: 5%;
  height: 60px;
  line-height: 38px;
  color: #000;
}

.rychle .carousel .slides li .text1 h3{
  font-size: 15px;
  font-weight: 600;
  margin-left: 10%;

  width: 90%;
  padding-top: 45px;
  line-height: 26px;
  position: relative;

    color: rgba(221, 43, 55, 1);

}

.rychle .carousel .slides li .text1 h3 strong{
  font-size: 46px;
  font-weight: 600;
  float: left;
  margin-right: 15px;
  width: 55px;
  height: 80px;
  margin-top: -15px;
  line-height: 80px;
  padding-right: 15px;
   border-right: solid 0.5px rgba(0, 0, 0, 1);
    color: rgba(221, 43, 55, 1);

}

.rychle .carousel .slides li .text1 p{
  font-size: 13px;
  font-weight: 400;
  position: absolute;
  margin-bottom: 0px;
  bottom: 5%;
  width: 80%;
  height: 54px;
  padding-top: 20px;
  margin-left: 10%;
  border-top: solid 0.5px rgba(0, 0, 0, 1);
  color: rgba(0,0,0, 1);

}


.rychle .carousel .slides li .text2 h2{
  font-size: 30px;
  font-weight: 400;
  margin-left: 10%;
  width: 80%;
  padding-top: 5%;
  line-height: 36px;
  position: relative;
  text-transform:  none;
    color: rgba(255, 255, 255, 1);

}
.rychle .carousel .slides li .text2 p{
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 30px;

  width: 80%;

  padding-top: 20px;

  margin-left: 10%;
  color: rgba(255,255,255, 1);

}



.rychle .carousel .slides li .text2 h3{
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0px;
  width: 80%;
  margin-left: 80px;
  margin-bottom: 10px;
  position: relative;
   color: rgba(255, 255, 255, .7);

}
.rychle .carousel .slides li .text2 h3 strong{
  font-size: 14px;
  font-weight: 600;
  position: absolute;
  left: -40px;
  width: 30px;

  margin-top: -5px;
  padding-top: 4px;
  padding-bottom: 5px;

   border-right: solid 0.5px rgba(255, 255, 255, .7);
    color: rgba(255, 255, 255, .7);

}



.rychle .carousel .slides li .text2 h4{
  margin-top: 5%;
  font-size: 13px;
  font-weight: 300;
  margin-bottom: 0px;
  width: 35%;
  padding: 10px;
  padding-left: 6px;
  padding-right: 6px;
  margin-left: 10%;
  margin-right: -5%;
  float: left;
  display: block;
  position: relative;
border: solid 0.5px rgba(255, 255, 255, .2);
   color: rgba(255,255,255, 1);
   text-align: center;
   border-radius: 3px


}
.rychle .carousel .slides li .text2 h4 strong{
  font-size: 15px;
  font-weight: 600;


}
.rychle .carousel .slides li .text2 h4 i{
  font-size: 12px;
  font-style: normal;



}

 @media all and (max-width: 1200px) {
.rychle .carousel .slides li .text1 h2{
  font-size: 26px;
  font-weight: 400;
  margin-left: 5%;
  width: 80%;

  padding-top: 5%;
  height: 60px;
  line-height: 38px;
  color: #000;
}

.rychle .carousel .slides li .text1 h3{
  font-size: 14px;
  font-weight: 600;
  margin-left: 5%;

  width: 90%;
  padding-top: 45px;
  line-height: 26px;
  position: relative;

    color: rgba(221, 43, 55, 1);

}

.rychle .carousel .slides li .text1 h3 strong{
  font-size: 36px;
  font-weight: 600;
  width: 45px;
  margin-right: 15px;
  height: 80px;
  margin-top: -15px;
  line-height: 80px;
  padding-right: 15px;
   border-right: solid 0.5px rgba(0, 0, 0, 1);
    color: rgba(221, 43, 55, 1);

}

.rychle .carousel .slides li .text1 p{
  font-size: 12px;
  font-weight: 400;
  position: absolute;
  margin-bottom: 0px;
  bottom: 5%;
  width: 80%;
  height: 54px;
  padding-top: 20px;
  margin-left: 10%;
  border-top: solid 0.5px rgba(0, 0, 0, 1);
  color: rgba(0,0,0, 1);

}


.rychle .carousel .slides li .text2 h2{
  font-size: 26px;
  font-weight: 400;
  margin-left: 5%;
  width: 90%;
  padding-top: 5%;
  line-height: 36px;
  position: relative;
  text-transform:  none;
    color: rgba(255, 255, 255, 1);

}
.rychle .carousel .slides li .text2 p{
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 30px;

  width: 90%;

  padding-top: 20px;

  margin-left: 5%;
  color: rgba(255,255,255, 1);

}



.rychle .carousel .slides li .text2 h3{
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0px;
  width: 90%;
  margin-left: 60px;
  margin-bottom: 10px;
  position: relative;
   color: rgba(255, 255, 255, .7);

}
.rychle .carousel .slides li .text2 h3 strong{
  font-size: 13px;
  font-weight: 600;
  position: absolute;
  left: -40px;
  width: 30px;

  margin-top: -5px;
  padding-top: 5px;
  padding-bottom: 5px;

   border-right: solid 0.5px rgba(255, 255, 255, .7);
    color: rgba(255, 255, 255, .7);

}



.rychle .carousel .slides li .text2 h4{
  margin-top: 5%;
  font-size: 13px;
  font-weight: 300;
  margin-bottom: 0px;
  width: 35%;
  padding: 10px;
  padding-left: 6px;
  padding-right: 6px;
  margin-left: 10%;
  margin-right: -5%;
  float: left;
  display: block;
  position: relative;
border: solid 0.5px rgba(255, 255, 255, .2);
   color: rgba(255,255,255, 1);
   text-align: center;
   border-radius: 3px


}
.rychle .carousel .slides li .text2 h4 strong{
  font-size: 15px;
  font-weight: 600;


}
.rychle .carousel .slides li .text2 h4 i{
  font-size: 12px;
  font-style: normal;



}

}
 @media all and (max-width: 800px) {
#rychle p.cena {

            position: absolute;
              z-index: 10;
              padding-left: 0px;
              padding-top: 8px;
              text-align: center;
              right: -100px;
              bottom: -15px;
                background-color: rgba(221, 43, 55, 1);
              color: #FFFFFF;
              width: 270px;
              font-size: 12px;

              height: 50px;
              -webkit-transform: rotate(-45deg);
              -moz-transform: rotate(4-5deg);
              -ms-transform: rotate(-45deg);
              -o-transform: rotate(-45deg);
              transform: rotate(-45deg);
              -moz-text-shadow: 0px 0px 3px rgba(0,0,0,0.4);
-webkit-text-shadow: 0px 0px 3px rgba(0,0,0,0.4);
text-shadow: 0px 0px 3px rgba(0,0,0,0.4);

              -moz-box-shadow: 0px 2px 24px rgba(0,0,0,0.6);
-webkit-box-shadow: 0px 2px 24px rgba(0,0,0,0.6);
box-shadow: 0px 2px 24px rgba(0,0,0,0.6);

  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
            }

.rychle{
  overflow-x: visible;
  height: auto;
}
#rychle.nocarousel .slides{
  margin-top: 30px;
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#rychle.nocarousel .slides li{

  width: 100%;
  height: 200px;
    background-color: rgba(255, 255, 255, 1);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    text-align: left;

}
#rychle.nocarousel .slides li a{

  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
  left: 0px;
  top: 0px;
  display: block;
}

#rychle.nocarousel .slides li .text1{
  vertical-align: top;
  width: 70%;
  height: 100%;
  bottom: auto;
 left: 30%;
  top: 0px;

    background-color: rgba(255, 255, 255, 1);
  position: absolute;
  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
  z-index: 0;

}



 #rychle.nocarousel .slides li .text2,
#rychle.nocarousel .slides li:hover .text2{
display: none
}


#rychle.nocarousel .slides li .nahled{
      width: 30%;
        min-width: auto;
      position: absolute;
      -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
      opacity: 0.7;
      z-index: 0;
  height: 200px;
  right: auto;
  left: 0px;
  overflow: hidden;
  top: 0px

}
#rychle.nocarousel .slides li img{
    width: 100%;
    min-width: auto;
    margin-top: auto;
    bottom: 20%;
    display: block;
    vertical-align: bottom;
    position: absolute;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    opacity: 1;
    z-index: 0;
    height: auto;
    max-height: 200px;
    right: auto;

}

.rychle.nocarousel .slides li:hover  img{
      width: auto;
      position: absolute;
      -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
      opacity: 0.7;
      z-index: 0;
  height: 230px;
  right: 100%;
  top: 0px

}

#rychle.nocarousel .slides li .text1 h2{
  font-size: 26px;

  font-weight: 400;
  margin-left: 5%;
  width: 90%;
  padding-top:15px;
  line-height: 38px;
  color: #000;
}

#rychle.nocarousel .slides li .text1 h3{
  font-size: 14px;
  font-weight: 600;
  margin-left: 5%;

  width: 90%;
  padding-top: 25px;
  line-height: 21px;
  position: relative;
  text-transform: uppercase;
    color: rgba(221, 43, 55, 1);

}

#rychle.nocarousel .slides li .text1 h3 strong{
  font-size: 38px;
  font-weight: 600;
  margin-right: 15px;
  float: left;

  height: 60px;
  margin-top: -12px;
  line-height: 60px;
  padding-right: 15px;
   border-right: solid 0.5px rgba(0, 0, 0, 1);
    color: rgba(221, 43, 55, 1);

}

#rychle.nocarousel .slides li .text1 p{
  font-size: 12px;
  font-weight: 400;
  position: absolute;
  margin-bottom: 0px;
  bottom: 5%;
  width: 90%;

  padding-top: 20px;
  margin-left: 5%;
  border-top: solid 0.5px rgba(0, 0, 0, 1);
  color: rgba(0,0,0, 1);
  height: auto;

}


#rychle.nocarousel .slides li .text2 h2{
  font-size: 32px;
  font-weight: 400;
  margin-left: 10%;
  width: 80%;
  padding-top: 10%;
  line-height: 36px;
  position: relative;
  text-transform:  none;
    color: rgba(255, 255, 255, 1);

}
#rychle.nocarousel .slides li .text2 p{
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 30px;

  width: 80%;

  padding-top: 20px;

  margin-left: 10%;
  color: rgba(255,255,255, 1);

}



#rychle.nocarousel .slides li .text2 h3{
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0px;
  width: 80%;
  margin-left: 90px;
  margin-bottom: 10px;
  position: relative;
   color: rgba(255, 255, 255, .7);

}
#rychle.nocarousel .slides li .text2 h3 strong{
  font-size: 13px;
  font-weight: 600;
  position: absolute;
  left: -40px;
  width: 30px;

  margin-top: -5px;
  padding-top: 4px;
  padding-bottom: 5px;

   border-right: solid 0.5px rgba(255, 255, 255, .7);
    color: rgba(255, 255, 255, .7);

}

}

 @media all and (max-width: 620px) {


#rychle.nocarousel .slides li .nahled{
display: none

}


 #rychle.nocarousel .slides li p.cena {
   display: none;
            }

#rychle.nocarousel .slides li .text1, .rychle.nocarousel .slides li:hover .text1 {
  vertical-align: top;
  width: 96%;
  height: 100%;
  bottom: auto;
  left: 2%;
  top: 0px;

    background-color: rgba(255, 255, 255, 1);
  position: absolute;
  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
  z-index: 0;
}


#rychle.nocarousel .slides li .text1 h2{
  font-size: 25px;

  font-weight: 400;
  margin-left: 3%;
  width: 94%;
  padding-top:15px;
  line-height: 38px;
  color: #000;
}

#rychle.nocarousel .slides li .text1 h3{
  font-size: 12px;
  font-weight: 600;
  margin-left: 5%;

  width: 90%;
  padding-top: 25px;
  line-height: 21px;
  position: relative;
  text-transform: uppercase;
    color: rgba(221, 43, 55, 1);

}

#rychle.nocarousel .slides li .text1 h3 strong{
  font-size: 35px;
  font-weight: 600;
  float: left;
  width: 45px;
  margin-right: 15px;

  height: 60px;
  margin-top: -12px;
  line-height: 60px;
  padding-right: 15px;
   border-right: solid 0.5px rgba(0, 0, 0, 1);
    color: rgba(221, 43, 55, 1);

}

#rychle.nocarousel .slides li .text1 p{
  font-size: 12px;
  font-weight: 400;
  position: absolute;
  margin-bottom: 0px;
  bottom: 5%;
  width: 98%;

  padding-top: 20px;
  margin-left: 1%;
  border-top: solid 0.5px rgba(0, 0, 0, 1);
  color: rgba(0,0,0, 1);

}

#rychle.nocarousel .slides li .text1 p{
  border-top: none
}



}



















.carousel .flex-direction-nav{
    position: absolute;
    width: 100%;

    left: 0px;
    right: auto;
    top: 50%;
    margin-left: 0px;



    height: 0px;
    z-index: 0;
/*      bottom: inherit; */
}
.carousel:hover .flex-direction-nav{
/*    position: absolute;
    width: 100px;
    left: 50%;
    right: auto;
    bottom: 30px;
    margin-left: -50px;

    height: 0px;
    z-index: 1;*/
/*      bottom: inherit; */
}



@media all and (max-width: 1024px) {

}

.carousel .flex-prev {
  position: absolute;


    left: -40px;
      opacity: 1;
         width: 40px;
    height: 40px;

       top: 0px;
       z-index: 999;


}
.carousel .flex-next {
  position: absolute;
  right: -40px;
  top: 0px;
      opacity: 1;
         width: 40px;
    height: 40px;


}

.carousel:hover .flex-prev {

      opacity: 0.8;

      /*          background-color: #648c00*/;

}
.carousel:hover .flex-next {

      opacity: 0.8;

       /*  background-color: #648c00;       */
}



.carousel .flex-next:hover, .carousel .flex-prev:hover {
/*    background-color: #dc281e;*/
  /* background-color: rgba(255, 255, 255, .6) ;  */
      opacity: 1;

}


.carousel .flex-prev::before, .carousel .flex-next::before {
color:  #000000;
  line-height: 40px;
  font-size: 30px;
}

.carousel .flex-prev::before {
  content: '\f104';
  font-family:"FontAwesome";

}
.carousel .flex-next::before {
  content: '\f105';
 font-family:"FontAwesome";

}


/* reference */

 .reference, .reference1 {
  margin-top: 0px;
  width: 96%;
/*  max-width: 1200px;  */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-height: 250px;
  position: relative;
  padding-bottom: 0px;

}


 .reference  .flex-direction-nav, .reference1  .flex-direction-nav{
    position: absolute;
    width: 100%;
    margin-right: 0px;
    margin-left: auto;
    top: -30px;
    right: 0px;
    z-index: 1;
      bottom: inherit;
}


 .reference  .flex-prev,  .reference1  .flex-prev {
  position: absolute;


    right: 31px;
    left: auto;
      opacity: 1;
         width: 30px;
    height: 30px;
        background-color: #132891;


}
 .reference  .flex-next,  .reference1  .flex-next {
  position: absolute;
  right: 0px;
      opacity: 1;
         width: 30px;
    height: 30px;
        background-color: #132891;
}

.reference .flex-prev::before, .reference .flex-next::before, .reference1 .flex-prev::before, .reference1 .flex-next::before {
  color: rgba(255, 255, 255, 1);
  line-height: 30px;
  font-size: 20px;
}

.reference .flex-next:hover, .reference .flex-prev:hover, .reference1 .flex-next:hover, .reference1 .flex-prev:hover {
    background-color: rgba(238,58,70, 1);
      opacity: 1;

}




 .reference .slides, .reference1 .slides {

  max-height: 250px;
  overflow: hidden;
}

 .reference .slides li,  .reference1 .slides li{

  max-height: 250px;
 overflow: hidden;
   height: 250px;

width: 28%;
text-align: center;
z-index: 100000;
position: relative;

border: solid 5px rgba(255, 255, 255, 0)
}

 .reference li h3, .reference1 li h3 {

position: absolute;

}
 .reference li p, .reference1 li p{

position: absolute;

}

 .reference li a.vice, .reference1 li a.vice{

position: absolute;

}





 .reference .slides li h3, .reference1 .slides li h3{
color: rgba(255, 255, 255, 1);
    font-size: 15px;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 40px;
    display: block;
        -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    text-align: left;
    font-weight: 500;
    padding: 5px;

    position: absolute;
    background-color: rgba(19, 40, 145, .9);
    z-index: 101

}

 .reference .slides li:hover h3,  .reference1 .slides li:hover h3{

    background-color: rgba(19, 40, 145, .0);
          -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;

}

 .reference .slides li p,  .reference1 .slides li p{
color: rgba(255,255,255,1);
    font-size: 14px;
    margin-top: 80px;
    margin-left: 20px;
    margin-right: 20px;
    max-width: 80%;
    display: block;
        -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    text-align: left;
    font-weight: 300;

    position: absolute;
    z-index: 101

}

.reference .slides li  a.vice, .reference1 .slides li  a.vice {
    display: inline-block;
    text-align: left;

    font-size: 14px;
 -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
           background-color: rgba(221, 43, 55, 0);
        font-weight: 400;
        color:  #fff;
        position: absolute;
        margin-top: 200px;
        width: 140px;
        height: 20px;
        opacity: 1;
}



.reference .slides li a.vice::after, .reference1 .slides li a.vice::after {
    content: "\f105";
    font-family:"FontAwesome";
    text-align: center;
    top: 12px;
    margin-left: 10px;
 font-size: 14px;
 line-height: 17px;
 right: auto;
 position: absolute;
    color: rgba(255, 255, 255, 1);
    width: 18px;
    height: 18px;
    border: solid 1px rgba(255, 255, 255, 1);
    border-radius: 50%
}


.reference .slides li a, .reference1 .slides li a{
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1000;
  top: 0px;
}
.reference .slides li::before, .reference1 .slides li::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  z-index: 10;
   background-color: rgba(238,58,70, 0);
  top: 0px;
  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
.reference .slides li:hover::before, .reference1 .slides li:hover::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  z-index: 10;
   background-color: rgba(238,58,70, 0.8);
  top: 0px;
  -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

 .reference .slides li img,  .reference1 .slides li img{
      width: 100%;
    height: auto;
    min-height: 250px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}



/*
ostatni carousel kategorii na ostatnich strankach
 */

  .ostatni.carousel{
    width: 100%;
    margin-left: 0px;
    margin-top: 60px;
    margin-bottom: 30px;
}

@media only screen and (max-width: 1024px) {
  .ostatni.carousel{
    width: 93%;
    margin-left: 3.5%;
    margin-top: 60px;
    margin-bottom: 30px;
}
}


  .ostatni  .flex-direction-nav{
    position: absolute;
    width: 100%;
    margin-right: 0px;
    left: 10px;
    top: -34px;
    right: 0px;
    z-index: 1;
      bottom: inherit;
      background: none
}


  .ostatni  .flex-prev {
  position: absolute;


    left: 0px;
      opacity: 1;
      background-color: #D3D3D3;


}
  .ostatni .flex-next {
  position: absolute;
  left: 45px;
      opacity: 1;
      background-color: #D3D3D3;

}
  .ostatni .flex-next:hover,    .ostatni .flex-prev:hover{
   background-color: #fff;

}

.reference .flex-prev::before, .reference .flex-next::before {
  color: rgba(255, 255, 255, 1);
  line-height: 30px;
  font-size: 20px;
}

.reference .flex-next:hover, .reference .flex-prev:hover {
    background-color: rgba(238,58,70, 1);
      opacity: 1;

}




@media all and (max-width: 1024px) {
.reference .flex-direction-nav{
    position: absolute;
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    top: -30px;
    left: 50px;
    z-index: 1;
      bottom: inherit;
}


.reference .flex-prev {
  position: absolute;


    left: -47px;
      opacity: 1;
         width: 30px;
    height: 30px;
        background-color: #132891;


}
.reference .flex-next {
  position: absolute;
  left: -16px;
      opacity: 1;
         width: 30px;
    height: 30px;
        background-color: #132891;
}
.reference:hover .flex-prev {

      opacity: 1;

}
.reference:hover .flex-next {

      opacity: 1;

}



.reference .flex-next:hover, .reference .flex-prev:hover {
    background-color: rgba(238,58,70, 1);
      opacity: 1;

}


.reference .flex-prev::before, .reference .flex-next::before {
  color: rgba(255, 255, 255, 1);
  line-height: 30px;
  font-size: 20px;
}

.reference .flex-prev::before {
  content: '\f104';
  font-family:"FontAwesome";

}
.reference .flex-next::before {
  content: '\f105';
 font-family:"FontAwesome";

}

}


 @media all and (max-width: 450px) {
 .reference, .reference1 {
  margin-top: 0px;
  width: 94%;
/*  max-width: 1200px;  */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-height: 250px;
  position: relative;
  padding-bottom: 0px;

}

}