/* Visit http://www.menucool.com/responsive-slider for instructions */

#ninja-slider {
  width: 100%;
  /* background:rgba(0,0,0,0.8); */
  padding-top: 0px; /*10px*/
  /* padding-bottom: 10px; */
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}

#ninja-slider.fullscreen {
  background: black;
}

#ninja-slider.fullscreen #ninja-slider-prev {
  left: -50px;
}
#ninja-slider.fullscreen #ninja-slider-next {
  right: -50px;
}

#ninja-slider .fs-icon {
  top: 0px;
  right: 0px;
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.5)
    url(https://poi.co.id/pets/public/assets/images/fullscreen.png) no-repeat 0 0;
  /* z-index: 2; */
  opacity: 0;
  -webkit-transition: opacity 0.8s;
  transition: opacity 0.8s;
  border-top-right-radius: 20px;
}

#ninja-slider:hover .fs-icon {
  opacity: 1;
  border-top-right-radius: 20px;
}

#ninja-slider.fullscreen .fs-icon {
  background-position: center -45px;
  opacity: 1;
}

#ninja-slider .slider-inner {
  /* max-width: 700px; */
  margin: 0 auto; /*center-aligned*/
  font-size: 0px;
  position: relative;
  box-sizing: border-box;
}

#ninja-slider.fullscreen .slider-inner {
  max-width: 900px;
  max-height: 80%;
}

#ninja-slider ul {
  /*overflow:hidden;*/
  position: relative;
  list-style: none;
  padding: 0;
  box-sizing: border-box;
  margin-bottom: 0;
}

#ninja-slider li {
  /* background-color: #111; */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  font-size: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  box-sizing: border-box;
}

#ninja-slider li.ns-show {
  opacity: 1;
}

/* --------- slider image ------- */
#ninja-slider .ns-img {
  /* background-color:rgba(0,0,0,0.3); */
  background-size: contain; /*Note: If transitionType is zoom, it will be overridden to cover.*/

  border-top-left-radius: 20px;
  border-top-right-radius: 20px;

  cursor: default;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

/* ---------Arrow buttons ------- */
/* The arrow button id should be: slider id + ("-prev", "-next", and "-pause-play") */
#ninja-slider-pause-play {
  display: none;
}

#ninja-slider-prev,
#ninja-slider-next {
  position: absolute;
  display: inline-block;
  width: 42px;
  height: 56px;
  line-height: 56px;
  top: 50%;
  margin-top: -28px;
  background-color: rgba(0, 0, 0, 0.4);
  background-color: #ccc\9; /*IE8 hack*/
  backface-visibility: hidden;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 2px;
  z-index: 10;
  opacity: 0.3;
  font-family: sans-serif;
  font-size: 13px;
  cursor: pointer;
  -webkit-transition: all 0.7s;
  transition: all 0.7s;
}

.slider-inner:hover #ninja-slider-prev,
.slider-inner:hover #ninja-slider-next {
  opacity: 1;
}

#ninja-slider-prev {
  left: 0;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
#ninja-slider-next {
  right: 0;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* arrows */
#ninja-slider-prev::before,
#ninja-slider-next::before {
  position: absolute;
  top: 17px;
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-left: 2px solid white;
  border-top: 2px solid white;
}

#ninja-slider-prev::before {
  -ms-transform: rotate(-45deg); /*IE 9*/
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  backface-visibility: hidden;
  right: 4px;
}

#ninja-slider-next::before {
  -ms-transform: rotate(135deg); /*IE 9*/
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  backface-visibility: hidden;
  left: 4px;
}

/*pagination num within the arrow buttons*/
#ninja-slider-prev div,
#ninja-slider-next div {
  display: none;
}

/*------ pager(nav bullets) ------*/      
/* The pager id should be: slider id + "-pager" */
/* #ninja-slider-pager { display:none;}*/
#ninja-slider-pager
{
    padding-top:30px; /* set the distance away from the slider */
    margin:0 auto; /* center align */
    text-align:center;
    display:table;
    font-size:0;
    z-index: 2;
    bottom: 10px;
}
         
#ninja-slider-pager a 
{
    display:inline-block;
    width: 10px;
    height: 10px;
    background-color: #CCC;
    font-size:0; /* Non-zero will show the index num */
    margin:2px 6px;
    cursor:pointer;
    border-radius:10px;
    box-shadow:inset 0 1px 3px #666666;
    opacity: 0.6;
}

#ninja-slider-pager a:hover 
{
    opacity:1;
}
#ninja-slider-pager a.active 
{
    background-color:#7cc488;
    box-shadow:inset 0 1px 3px -1px #33ad48,0 1px 1px rgba(0,0,0,.5);
}
#ninja-slider-pager, #ninja-slider-prev, #ninja-slider-next, #ninja-slider-pause-play
{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/*Responsive settings*/
@media only screen and (max-width: 800px) {
  #ninja-slider-prev,
  #ninja-slider-next,
  #ninja-slider-pager {
    display: none;
  }
  #ninja-slider .fs-icon {
    display: none;
  }
}
