/* Visit http://www.menucool.com/responsive-slider for instructions */

#ninja-slider {
    width: 85%;
    padding: 0px;
    overflow: hidden;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
}

#ninja-slider .slider-inner:hover .fs-icon
{
  cursor: crosshair;
}

#ninja-slider.fullscreen .slider-inner:hover .fs-icon
{
  cursor: pointer;
}

.fixedbody
{
  height: 84vh;
  display: flex !important;
  align-items: center;
}


#ninja-slider.fullscreen {
    background: #ccc;
}

#ninja-slider div.fs-icon {
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    z-index:2;
    opacity:0;
    -webkit-transition:opacity 0.8s;
    transition:opacity 0.8s;
}

#ninja-slider.fullscreen div.fs-icon {
    top: 20px;
    left: auto;
    right: 20px;
    width: 32px;
    height: 32px;
    z-index: 2;
    color: white;
    text-align: center;
    font: bold 11px/26px arial;
    border: 0;
    border-radius: 0;
    opacity: 0;
    -webkit-transition: opacity 0.8s;
    transition: opacity 0.8s;
}

#ninja-slider .slider-inner:hover div.fs-icon,
#ninja-slider.fullscreen div.fs-icon {
    opacity: 1;
}

#ninja-slider div.fs-icon::before {    
    content:"";
    display:block;
}

#ninja-slider.fullscreen div.fs-icon::before {
    background: url(../images/close_icon.png) no-repeat center center;
    content: "";
    width: 34px;
    height: 34px;
}
.inr_sldr{
  overflow: hidden;
  padding: 0 50px;
}
#ninja-slider .slider-inner {
    margin:0 auto;/*center-aligned */
    font-size:0px;
    position:relative;
    box-sizing:border-box;
}

#ninja-slider.fullscreen .slider-inner {
    width:100%;
    max-width: 100%;
}

#ninja-slider ul {
      /* width: 100%; */
    /* overflow: hidden; */
    height: 340px !important;
    position: relative;
    list-style: none;
    padding: 0;
    box-sizing: border-box;
    touch-action: pan-y;
    overflow: hidden !important;
    padding-top: 0 !important;
}



#ninja-slider.fullscreen ul
{
  height: 700px !important;
}

#ninja-slider li {
    
    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-size: cover;
    cursor: default;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top center;
}


/* ---------If there are videos ------- */ 
#ninja-slider .video, .video-playbutton-layer 
{
    top:0; left:0; border:0;
    width: 100%;height: 100%;
    text-align: center;
    background: black;
    position: absolute;    
}

/* And if you have added the HTML: <div class="video-playbutton-layer"></div> */
.video-playbutton-layer {
    background: transparent url(../images/video.png) no-repeat center center;
}

/* And if you have YouTube or Vimeo */
#ninja-slider div.stopVideoIcon 
{
    position:absolute;
    width:30px;height:30px;
    top:0;right:0px;
    margin:0 0 6px 6px;
    background:rgba(0,0,0,0.7);
    border-bottom-left-radius:4px;
    cursor:pointer;
}
#ninja-slider div.stopVideoIcon::before {
    content:"+";
    color:white;
    font:bold 30px/30px arial;
    -webkit-transform:rotate(45deg);
    transform: rotate(45deg);
    display:block;
}


/* ---------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;
    /* backface-visibility: hidden; */
    /* color: white; */
    /* overflow: hidden; */
    /* white-space: nowrap; */
    -webkit-user-select: none;
    user-select: none;
    border-radius: 2px;
    z-index: 10;
    opacity: 1;
    /* font-family: sans-serif; */
    font-size: 13px;
    cursor: pointer;
    -webkit-transition: all 0.7s;
    transition: all 0.7s;
}
#ninja-slider-prev:hover, #ninja-slider-next:hover {
    opacity:1;
}

#ninja-slider-prev {
    left: -32px;
}

#ninja-slider-next {
    right: -32px;
}

#ninja-slider.fullscreen .inr_sldr {
  width: 100% !important;
  max-width: 900px !important;
}

#ninja-slider.fullscreen #ninja-slider-prev {
    opacity:1; 
}
#ninja-slider.fullscreen #ninja-slider-next {
    opacity:1; 
}

/*pagination within the prev/next buttons*/
#ninja-slider-prev div {opacity:0;margin-left:30px;transition:opacity 0.7s;}
#ninja-slider-next div {opacity:0;margin-right:30px;transition:opacity 0.7s;}
#ninja-slider.fullscreen #ninja-slider-prev:hover div {opacity:1;}
#ninja-slider.fullscreen #ninja-slider-next:hover div {opacity:1;}
/* arrows */
#ninja-slider-prev::before, #ninja-slider-next::before {
       position: absolute;
    top: 17px;
    content: "";
    display: inline-block;
    width: 32px;
    height: 17px;
}

#ninja-slider-prev::before
{
  background:url('../images/left_arrow.png') no-repeat center center;
}

#ninja-slider-next::before
{
  background:url('../images/right_arrow.png') no-repeat center center;
}


/*------ pager(nav bullets) ------*/      
/* The pager id should be: slider id + "-pager" */

#ninja-slider-pager { display:none;}
   

#ninja-slider-pager, #ninja-slider-prev, #ninja-slider-next, #ninja-slider-pause-play
{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}



/*  thumbnail slider css */

/* http://www.menucool.com/jquery-slider */

/*---------------------------- Thumbnails ----------------------------*/
#thumbnail-slider {
    display: inline-block;
    padding: 0px 0;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    width: 15%;
    vertical-align: middle;
    z-index: 9;
}

#thumbnail-slider div.inner {
      max-height: 308px;
  box-sizing:border-box;
    position:relative;
    margin:0;
  overflow: hidden;
}
 
#thumbnail-slider div.inner ul {    
    /*the followings should not be changed */
    position:relative;
    left:0; top:0;
    list-style:none;
    font-size:0;
    padding:0;
    margin:0;
    float:left!important;
    width:auto!important;
    height:auto!important;
}

#thumbnail-slider ul li {
    opacity:1;
    display:block;
    border:1px solid #000;
    margin:5px 0; /* Spacing between thumbs*/
    transition:all 0.5s;
    text-align:center;
    padding:0;
    position:relative;
    list-style:none;
    box-sizing:content-box;
    backface-visibility:hidden;
}

#thumbnail-slider ul li.active:before {
   position: absolute;
    height: 1px;
    width: 100%;
    content: "";
    bottom: 0px;
    left: 0px;
    background: #f00;
    z-index: 9;
}
#thumbnail-slider li:hover:before {
 position: absolute;
    height: 1px;
    width: 100%;
    content: "";
    bottom: 0px;
    left: 0px;
    background: #000;
    z-index: 9;
}

#thumbnail-slider .thumb {
    width:100%;
    height: 100%;
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center center;
    display:block;
    position:absolute;
    font-size:0;
}

/* --------- navigation controls ------- */   
/* The nav id should be: slider id + ("-prev", "-next", and "-pause-play") */  

#thumbnail-slider-pause-play {display:none;} /*.pause*/



#thumbnail-slider-next {
    bottom: 0;
}
#thumbnail-slider-prev, #thumbnail-slider-next {
    position: absolute;
    background-color: #000;
    width: 25px;
    height: 24px;
    line-height: 15px;
    text-align: center;
    margin: 0;
    color: white;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.6s;
    background-color: #000;
    backface-visibility: hidden;
    left: 50%;
    transform: translate(-50%);
}

#thumbnail-slider-prev {
    top: -30px;
}

#thumbnail-slider-next {
    bottom: -30px;
}
#thumbnail-slider-next.disabled, #thumbnail-slider-prev.disabled {
    opacity: 0.3;
    cursor:default;
}


/* arrows */
#thumbnail-slider-prev::before, #thumbnail-slider-next::before {
    position:absolute;
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left:-5px;
    border-left: 2px solid white;
    border-top: 2px solid white;
}

#thumbnail-slider-prev::before {
    top:9px;
    -ms-transform:rotate(-45deg);/*IE9*/
    -webkit-transform:rotate(45deg);
    transform: rotate(45deg);
}

#thumbnail-slider-next::before {
    bottom:9px;
    -ms-transform:rotate(135deg);/*IE9*/
    -webkit-transform:rotate(-135deg);
    transform: rotate(-135deg);
}

.slider_container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  max-width: 100%;
  align-items: center;
}

  #ninja-slider-prev::before
  {
    left: 0px;
  }
  #ninja-slider-next::before
  {
    right: 0px;
  }

#ninja-slider.fullscreen .slider-inner #ninja-slider-pager
{
  display: block;
  margin: 25px auto;
}

#ninja-slider.fullscreen .slider-inner #ninja-slider-pager a {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #000;
    text-align: center;
    margin: 0 5px 10px;
    cursor: pointer;
  transition: all 0.5s ease-in;
  position: relative;
}

#ninja-slider.fullscreen .slider-inner #ninja-slider-pager a:hover:before {
    height: 4px;
    position: absolute;
    width: 100%;
    left: 0;
    background: #000;
    content: "";
    top: -3px;
  z-index: 9;
  transition: all 0.5s ease-in;
}



#ninja-slider.fullscreen .slider-inner #ninja-slider-pager a.active:before {
    height: 2px;
    position: absolute;
    width: 100%;
    left: 0;
    background: #000;
    content: "";
    top: -2px;
    z-index: 9;
    transition: all 0.5s ease-in;
}
#ninja-slider-next>div, #ninja-slider-prev>div
{
  display: none;
}


@media only screen and (max-width: 991px) {
#ninja-slider {
    width: 85%;
}

  #ninja-slider.fullscreen .slider-inner {
    max-width: 90%;
    overflow: hidden;
   
}
}

@media only screen and (max-width: 767px) {
  #ninja-slider.fullscreen ul {
    height: 330px !important;
}


  #ninja-slider.fullscreen .inr_sldr {
    width: 98% !important;
    max-width: 500px !important;
    padding: 0 0 0 72px;
}
  #ninja-slider.fullscreen
  {
    overflow: hidden !important;
  }
#ninja-slider.fullscreen #ninja-slider-prev {
    left: -2px;
}
  #ninja-slider.fullscreen #ninja-slider-next {
    right: -2px;
}
}
@media only screen and (max-width: 639px) {

#ninja-slider {
    width: 83%;
}
  #thumbnail-slider
  {
    width: 55px;
  }
  #thumbnail-slider ul li
  {
    width: 52px !important;
    height: 52px !important;
  }
  #thumbnail-slider div.inner {
    max-height: 237px;
}
.inr_sldr {
  padding: 0 35px;
}
}