

* { box-sizing: border-box; }


/*body { font-family: sans-serif; }*/
.slider{
    height: 500px;
    overflow: hidden;
    position: relative;
}
.slider2{
  height: 340px;
}

.slider2 .flickity-page-dots{
    display: block;
    width: 90%;
    text-align: center;
    bottom: 0px;
}
.slider2 .next, .slider2 .previous{
  float: right;
    display: block;
    position: absolute;
    background: transparent;
    width: 50px;
    height: 39px;
    top: 30%;
    font-size: 12px;
    border: none;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    /* background-image: url(../img/left-right.jpg); */
    /* background-size: 60px; */
    /* background-position-y: center; */
    /* background-repeat: no-repeat; */
}

.slider1 .next, .slider1 .previous{
  /*display: none;*/
}
.carousel {
  /*background: #FAFAFA;*/
  height: 100%;
  margin-bottom: 0;
  overflow: hidden;
}
.carousel-cell {
  width: 100%;
  height: 100%;
  background-size:100%;
  margin-right: 10px;
  background: #fff;
  counter-increment: carousel-cell;
}
img.carousel-cell {
  background-size:100%;
  background-repeat:no-repeat;
}
/* cell number */
.carousel-cell:before {
  display: block;
  text-align: center;
  content: none;
  line-height: 200px;
  font-size: 80px;
  color: white;
}
.flickity-page-dots {
  bottom: 10px;
}
.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}
.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.previous svg, .next svg{
    /*display: none;*/
}
.previous, .next {
    float: right;
    display: block;
    position: absolute;
    background: transparent;
    width: 50px;
    height: 39px;
    top: 50%;
    font-size: 12px;
    border: none;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;    
    background-image: url(../img/left-right.jpg);
    background-size: 60px;
    background-position-y: center;
    background-repeat: no-repeat;
}
.previous {
    left: 0px;
    /*border-bottom-right-radius: 50px;*/
    /*border-top-right-radius: 50px;*/
    background-position-x: 26px;
}
.next {
    right: 0px;
    /*border-bottom-left-radius: 50px;*/
    /*border-top-left-radius: 50px;    */
    background-position-x: -30px;
}
.previous:hover, .next:hover {
    /*background-color: #2c5677;*/
}


/* ---- page dots ---- */

.flickity-page-dots {
    position: absolute;
    bottom: 10px;
    padding: 0;
    left: 0px;
    right: 0px;
    list-style: none;
    text-align: center;
    line-height: 1;
    /* display: none; */
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 3px;
    background: transparent;
    border-radius: 100%;
    cursor: pointer;
    border: 3px solid #cec9c9;
}

.flickity-page-dots .dot.is-selected {
  border-color: #25c144;
}


@media (max-width: 768px) {
    
  .slider, .carousel { 
      height:145px;
  }
  .previous, .next {
      top:40%;
      display:none;
  }
  .slide-text, .slide-text-yuxari{ 
      font-size:14px;
  }
  .slide-text-yuxari-balaca{ 
      font-size:12px; 
      bottom: 26%;
  }
  .flickity-page-dots .dot{
    width: 12px;
    height: 12px;
  }
  .flickity-page-dots{
    left: 25px;
    bottom: 0px;
  }
  
  
} 



