/*!
 * Template Name : navigation-thumbnail-ver-2
 */

/**********************************/
/* Navigation Thumbnails Version 2
/* Main Settings
/**********************************/

/* Background color of the carousel */
.navi-thumb-ver-2.sz-slider {
  background: rgba(0,0,0,.5);
}

/* Background Images Position */
.navi-thumb-ver-2.sz-slider[data-type=slider]:not([data-background=image]) > .carousel-inner > .carousel-item {
  background-position: center;
}

/**********************************/
/* Navigation Thumbnails Version 2
/* Layer Settings
/**********************************/

/* 1 - Images overlay */
.navi-thumb-ver-2-layer {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  position: absolute;
  background: rgba(0,0,0,.3);
}
/* 2 - Images cover - left */
.navi-thumb-ver-2-layer::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 18%;
  content: "";
  position: absolute;
  margin: auto auto auto 0;
  background: rgb(0 0 0 / 0.5);
    border-right: 9px solid red;
}
/* 3 - Images cover - right */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right::before {
  margin: auto 0 auto auto;
}
/* 4 - Images cover - center */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center::before {
  margin: auto;
}
/* 5 - Inner wrapper of the left layer */
.navi-thumb-ver-2-layer > div {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  padding: 3px;
  height: 363px;
  display: block;
  max-width: 70%;
  text-align: left;
  position: absolute;
  margin: auto auto auto 19%;
}
/* 6 - Inner wrapper of the right layer */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div {
  text-align: right;
  margin: auto 19% auto auto;
}
/* 7 - Inner wrapper of the center layer */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div {
  margin: auto;
  height: 330px;
  text-align: center;
}
/* 8 - Children */
.navi-thumb-ver-2-layer > div > span {
  display: block;
}
/* 9 - 1st child - left - ( get your dream car ) */
.navi-thumb-ver-2-layer > div > span:nth-child(1) {
  color: #fcbb2c;
  margin: auto;
  font-size: 24px;
  font-weight: 600;
  position: relative;
  padding: 0 0 0 34px;
  text-transform: uppercase;
 
}
/* 10 - 1st child - right - ( get your dream car ) */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > span:nth-child(1) {
  padding: 0 34px 0 0;
}
/* 11 - 1st child - left - ( __ ) */
.navi-thumb-ver-2-layer > div > span:nth-child(1)::after {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  height: 3px;
  width: 25px;
  background: #fcbb2c;
  position: absolute;
  margin: auto auto auto 0;
}
/* 12 - 1st child - right - ( __ ) */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > span:nth-child(1)::after {
  right: 0;
  left: auto;
  margin: auto 0 auto auto;
}
/* 13 - 1st child - center - ( __ ) */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > span:nth-child(1)::after {
  left: 0;
  right: 0;
  margin: 0 auto;
}
/* 14 - 2nd child - ( lexus m8 2020 ) */
.navi-thumb-ver-2-layer > div > span:nth-child(2) {
  color: #fff;
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
  font-family: 'Poppins', sans-serif;
  /* background: #00000063;
  display: inline;*/
  text-shadow: 2px 1px 18px #000000;
  padding: 10px;
}
/* 15 - 3rd child - ( 199 ) */
.navi-thumb-ver-2-layer > div > span:nth-child(3) {
  color: #fff;
  font-size: 23px;
  font-weight: 300;
  /*text-transform: capitalize;*/
  font-family: 'Poppins', sans-serif;
 /* background: #00000063;
  display: inline;*/
  text-shadow: 2px 1px 18px #000000;
  padding:0px 10px 10px 10px;
}
/* 16 - 3rd child - ( $ ) */
.navi-thumb-ver-2-layer > div > span:nth-child(3) > span:nth-child(1) {
  top: -24px;
  color: #fff;
  right: 0 px;
  font-size: 27px;
  font-weight: 300;
  position: relative;
}
/* 17 - 3rd child - ( /monthly ) */
.navi-thumb-ver-2-layer > div > span:nth-child(3) > span:nth-child(2) {
  top: -5px;
  left: -15px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* 18 - 1st Button - left - ( test drive today ) */
.navi-thumb-ver-2-layer > div > a {
  color: #fff;
  width: 170px;
  height: 43px;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 33px;
  line-height: 41px;
  text-align: center;
  position: relative;
  text-decoration: none;
  border: 1px solid #fff;
  background: transparent;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  transition: background .3s ease;
  -webkit-transition: background .3s ease;
}
/* 19 - 1st Button - right - ( test drive today ) */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > a {
  margin-left: auto;
}
/* 20 - 1st Button - center - ( test drive today ) */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > a {
  margin-left: auto;
  margin-right: auto;
}
/* 21 - 2nd Button - left - ( purchase today ) */
.navi-thumb-ver-2-layer > div > a:nth-child(5) {
  top: -76px;
  left: 170px;
  color: #000;
  background: #fff;
  position: relative;
}
/* 22 - 2nd Button - right - ( purchase today ) */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > a:nth-child(5) {
  left: -170px;
}
/* 23 - 2nd Button - center - ( purchase today ) */
.navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > a:nth-child(5) {
  left: 0;
  top: -33px;
}

/******************/
/* Responsiveness */
/******************/

/*----- When the screen size gets = 576px and < 768px -----*/
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Inner wrapper of the left layer */
  .navi-thumb-ver-2-layer > div {
  width: 60%;
    height: 340px;
    min-width: 450px;
    max-width: 530px;
    margin: auto auto auto 22%;
  }
  /* Inner wrapper of the right layer */
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div {
    margin: auto 12% auto auto;
  }
  /* Inner wrapper of the center layer */
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div {
    height: 260px;
  }
  /* 2nd child - ( lexus m8 2020 ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(2) {
    font-size: 40px;
  }
  /* 3rd child - ( 199 ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(3) {
    font-size: 23px;display:none;
  }
  /* 1st Button - left - ( test drive today ) */
  .navi-thumb-ver-2-layer > div > a {
    margin-top: 10px;
  }
  /* 2nd Button - left - ( purchase today ) */
  .navi-thumb-ver-2-layer > div > a:nth-child(5) {
    top: -53px;
  }
  /* 2nd Button - center - ( purchase today ) */
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > a:nth-child(5) {
    top: -10px;
  }
}

/*----- When the screen size gets = 273px and < 576px -----*/
@media (min-width: 273px) and (max-width: 575.98px) {
  /* Inner wrapper of the left, right and center layer */
  .navi-thumb-ver-2-layer > div,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div ,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div {
    width: 60%;
    height: 280px;
    min-width: 273px;
    max-width: 576px;
    margin: auto;
    text-align: center;
  }
  /* 1st child - left, right and center - ( __ ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(1)::after,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > span:nth-child(1)::after,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > span:nth-child(1)::after {
    left: 0;
    right: 0;
    height: 2px;
    margin: 0 auto;
  }
  /* 1st child - left, right and center - ( get your dream car ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(1),
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > span:nth-child(1),
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > span:nth-child(1) {
    padding: 0;
    font-size: 14px;
  }
  /* 2nd child - ( lexus m8 2020 ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(2) {
    font-size: 24px;
  }
  /* 3rd child - ( 199 ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(3) {
    font-size: 15px;display:none;
  }
  /* 3rd child - ( $ ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(3) > span:nth-child(1) {
    top: -18px;
    right: -10px;
    font-size: 20px;
  }
  /* 3rd child - ( /monthly ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(3) > span:nth-child(2) {
    top: -5px;
    left: -10px;
    font-size: 14px;
  }
  /* 1st Button - left, right and center - ( test drive today ) */
  .navi-thumb-ver-2-layer > div > a,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > a,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > a {
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
  }
  /* 2nd Button - left, right and center - ( purchase today ) */
  .navi-thumb-ver-2-layer > div > a:nth-child(5),
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > a:nth-child(5),
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > a:nth-child(5){
    left: 0;
    top: -5px;
  }
}

/*----- When the screen size gets <= 272px -----*/
@media (max-width: 272.98px) {
  /* Inner wrapper of the left, right and center layer */
  .navi-thumb-ver-2-layer > div,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div ,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div {
    width: 99%;
    margin: auto;
    height: 156px;
    text-align: center;
  }
  /* 1st child - left, right and center - ( __ ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(1)::after,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > span:nth-child(1)::after,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > span:nth-child(1)::after {
    left: 0;
    right: 0;
    height: 1px;
    margin: 0 auto;
  }
  /* 1st child - left, right and center - ( get your dream car ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(1),
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > span:nth-child(1),
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > span:nth-child(1) {
    padding: 0;
    font-size: 10px;
  }
  /* 2nd child - ( lexus m8 2020 ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(2) {
    font-size: 18px;
  }
  /* 3rd child - ( 199 ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(3) {
    font-size: 28px;
  }
  /* 3rd child - ( $ ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(3) > span:nth-child(1) {
    top: -10px;
    right: -5px;
    font-size: 16px;
  }
  /* 3rd child - ( /monthly ) */
  .navi-thumb-ver-2-layer > div > span:nth-child(3) > span:nth-child(2) {
    top: 0;
    left: -5px;
    font-size: 10px;
  }
  /* 1st Button - left, right and center - ( test drive today ) */
  .navi-thumb-ver-2-layer > div > a,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > a,
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > a {
    width: 140px;
    height: 35px;
    margin-top: 0;
    font-size: 10px;
    margin-left: auto;
    line-height: 34px;
    margin-right: auto;
  }
  /* 2nd Button - left, right and center - ( purchase today ) */
  .navi-thumb-ver-2-layer > div > a:nth-child(5),
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-right > div > a:nth-child(5),
  .navi-thumb-ver-2-layer.navi-thumb-ver-2-layer-center > div > a:nth-child(5) {
    top: 0;
    left: 0;
  }
}

/************************************/
/* Navigation Thumbnails Version 2
/* Left And Right Buttons
/* +
/* Navigation Thumbnails
/************************************/

/* 1 - Wrapper */
.navi-thumb-ver-2-btn .carousel-control-btn {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
  color: #000;
  width: 50px;
  height: 110px;
  display: block;
  background: #fff;
  line-height: 110px;
  text-decoration: none;
  position:absolute;
  text-align:center
}
/* 2 - Prev Button */
.navi-thumb-ver-2-btn .carousel-control-prev.carousel-control-btn {
      margin: auto 15px 15px 15px;
}
/* 3 - Next Button */
.navi-thumb-ver-2-btn .carousel-control-next.carousel-control-btn {
  margin: auto 15px 15px auto;
}
/* 4 - Prev & Next Thumbnails */
.navi-thumb-ver-2-btn .carousel-control-prev-image,
.navi-thumb-ver-2-btn .carousel-control-next-image {
  top: auto;
  left: auto;
  right: 64px;
  bottom: 15px;
  width: 143px;
  height: 110px;
  display: block;
  overflow: hidden;
  position: absolute;
  background-size: cover;
  border: 1px solid rgba(255,255,255,0.8);
  background-repeat: no-repeat;
  animation-duration: .2s;
  -webkit-animation-duration: .2s;
  -webkit-animation-name: fdIn;
  animation-name: fdIn;
}
/* 5 - Prev Thumbnails */
.navi-thumb-ver-2-btn .carousel-control-prev-image {
  top: 15px;
  left: 64px;
  bottom: auto;
}

/******************/
/* Responsiveness */
/******************/

/*----- When the screen size gets = 992px and < 1200px -----*/
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Wrapper */
  .navi-thumb-ver-2-btn .carousel-control-btn {
    width: 46px;
    height: 100px;
    line-height: 100px;
  }
  /* Prev Button */
  .navi-thumb-ver-2-btn .carousel-control-prev.carousel-control-btn {
    margin: auto auto 5px 5px;
  }
  /* Next Button */
  .navi-thumb-ver-2-btn .carousel-control-next.carousel-control-btn {
    margin: auto 5px 5px auto;
  }
  /* Prev & Next Thumbnails */
  .navi-thumb-ver-2-btn .carousel-control-prev-image,
  .navi-thumb-ver-2-btn .carousel-control-next-image {
    right: 50px;
    bottom: 5px;
    width: 130px;
    height: 100px;
  }
  /* Prev Thumbnail */
  .navi-thumb-ver-2-btn .carousel-control-prev-image {
    top: 5px;
    left: 50px;
    bottom: auto;
  }
}

/*----- When the screen size gets = 768px and < 992px -----*/
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Wrapper */
  .navi-thumb-ver-2-btn .carousel-control-btn {
    width: 32px;
    height: 70px;
    line-height: 70px;
  }
  /* Prev Button */
  .navi-thumb-ver-2-btn .carousel-control-prev.carousel-control-btn {
    margin: auto auto 5px 5px;
  }
  /* Next Button */
  .navi-thumb-ver-2-btn .carousel-control-next.carousel-control-btn {
    margin: auto 5px 5px auto;
  }
  /* Prev & Next Thumbnails */
  .navi-thumb-ver-2-btn .carousel-control-prev-image,
  .navi-thumb-ver-2-btn .carousel-control-next-image {
    right: 36px;
    bottom: 5px;
    width: 90px;
    height: 70px;
  }
  /* Prev Thumbnail */
  .navi-thumb-ver-2-btn .carousel-control-prev-image {
    top: 5px;
    left: 36px;
    bottom: auto;
  }
}

/*----- When the screen size gets = 576px and < 768px -----*/
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Wrapper */
  .navi-thumb-ver-2-btn .carousel-control-btn {
    width: 32px;
    height: 70px;
    line-height: 70px;
  }
  /* Prev Button */
  .navi-thumb-ver-2-btn .carousel-control-prev.carousel-control-btn {
    margin: auto auto 5px 5px;
  }
  /* Next Button */
  .navi-thumb-ver-2-btn .carousel-control-next.carousel-control-btn {
    margin: auto 5px 5px auto;
  }
  /* Prev & Next Thumbnails */
  .navi-thumb-ver-2-btn .carousel-control-prev-image,
  .navi-thumb-ver-2-btn .carousel-control-next-image {
    right: 36px;
    bottom: 5px;
    width: 90px;
    height: 70px;
  }
  /* Prev Thumbnail */
  .navi-thumb-ver-2-btn .carousel-control-prev-image {
    top: 5px;
    left: 36px;
    bottom: auto;
  }
}

/*----- When the screen size gets = 273px and < 576px -----*/
@media (min-width: 273px) and (max-width: 575.98px) {
  /* Wrapper */
  .navi-thumb-ver-2-btn .carousel-control-btn {
    width: 32px;
    height: 70px;
    line-height: 70px;
  }
  /* Prev Button */
  .navi-thumb-ver-2-btn .carousel-control-prev.carousel-control-btn {
    margin: auto auto 5px 5px;
	display: none;
}
  
  /* Next Button */
  .navi-thumb-ver-2-btn .carousel-control-next.carousel-control-btn {
    margin: auto 5px 5px auto;
	display: none;
}
  }
  /* Prev & Next Thumbnails */
  .navi-thumb-ver-2-btn .carousel-control-prev-image,
  .navi-thumb-ver-2-btn .carousel-control-next-image {
    display: none;
  }


/*----- When the screen size gets <= 272px -----*/
@media (max-width: 272.98px) {
  /* Wrapper */
  .navi-thumb-ver-2-btn .carousel-control-btn {
    width: 32px;
    height: 70px;
    line-height: 70px;
  }
  /* Prev Button */
  .navi-thumb-ver-2-btn .carousel-control-prev.carousel-control-btn {
    margin: auto auto 5px 5px;
  }
  /* Next Button */
  .navi-thumb-ver-2-btn .carousel-control-next.carousel-control-btn {
    margin: auto 5px 5px auto;
  }
  /* Prev & Next Thumbnails */
  .navi-thumb-ver-2-btn .carousel-control-prev-image,
  .navi-thumb-ver-2-btn .carousel-control-next-image {
    display: none;
  }
}