.custom-model-viewer {
  width: 100%;
  height: 100%;
  background-color: #f1f2f4;
  border-radius: 12px;
}

h3 {
  color: #5b5b5b;
  font-weight: 600 !important;
  font-size: 1.35rem;
  line-height: 1.5em;
  font-family: Arial, Helvetica, sans-serif;
}
.box{
  width: 100%;
  height: 100%;
}
.banner {
  background-image: url(./images/banner.jpg);
  background-size: cover;
  background-position: center;
  height: 180px;
  /* border: 1px solid red; */
}
.mycard {
  position: relative;
  /* Ensure the ::before pseudo-element is positioned relative to the .mycard container */
  height: 12rem;
  width: 50%;
  padding: 5rem;
  background-image: url(https://teltonika-networks.com/cdn/extras/19703/rutm50-f-380x254.webp);
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
}

.mycard::before {
  content: "";
  /* Required for the pseudo-element */
  position: absolute;
  /* Position the pseudo-element */
  top: 0;
  left: 0;
  width: 100%;
  /* Cover the entire .mycard container */
  height: 100%;
  /* background: rgba(0, 0, 0, 0.8);  */
  border-radius: 10px;
}

.mycard2{
  position: relative;
  /* Ensure the ::before pseudo-element is positioned relative to the .mycard container */
  height: 12rem;
  width: 50%;
  padding: 5rem;
  background-image: url(https://teltonika-networks.com/cdn/extras/19705/rutm50-k-380x254.webp);
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
}

.mycard2::before {
  content: "";
  /* Required for the pseudo-element */
  position: absolute;
  /* Position the pseudo-element */
  top: 0;
  left: 0;
  width: 100%;
  /* Cover the entire .mycard container */
  height: 100%;
  /* background: rgba(0, 0, 0, 0.8);  */
  border-radius: 10px;
}

.clickableImage {
  position: relative;
}

.more {
  left: 30%;
  top: 40%;
  /* background: green; */
  z-index: 100;
  position: absolute;
  color: #fff !important;
  font-weight: 500;
  cursor: pointer;
  /* box-shadow: ; */
  /* border: 1px solid red; */
}
.sub_box_vedio {
  position: relative;
  border-radius: 20px !important;
  overflow: hidden;
}

.play_icon {
  position: absolute;
  top: 42%;
  right: 0;
  left: 45%;
  color: rgb(182, 181, 181);
}

.slider-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 99;
  border: 1px solid red;
}

.slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.carousel-item img {
  max-width: 20%;
  max-height: 20%;
  padding: 10px;
}

.close-slider {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.close-slider:hover {
  color: red;
}

.carousel-item.active img {
  filter: brightness(100%);

}

.carousel-item img {
  filter: brightness(50%);
}

.carousel-item img:hover {
  filter: brightness(100%);
}

/* new main */
body {
  margin: 0;
  padding: 0;
}

.items {
  transform: translate(-50%, -50%);
  user-select: none;
  border: 30px rgb(55, 0, 255) !important;
  opacity: 100%;
}

.items .item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px !important;
  height: 400px !important;
  overflow: hidden;
  transition: all 300ms ease-in-out;
  z-index: -1;
  opacity: 0;
  /* padding: 30px; */
  /* background-color: #fff; */
  border-radius: 8px;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item.active {
  opacity: 1;
  z-index: 99;
  box-shadow: 0px 0px 105px -35px rgba(0, 0, 0, 0.75);


}

.item.prev {
  z-index: 2;
  opacity: 1;
  background: #000000;
  transform: translate(-160%, -50%);
}

.item.prev img {
  opacity: 0.4;
}

.item.next {
  z-index: 2;
  opacity: 1;
  transform: translate(60%, -50%);
  background: #000000 !important;
}

.item.next img {
  opacity: 0.4;
}

.items .button-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30rem;
  padding: 0px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: 300px;
  z-index: 100; */
  color: #fff !important;
}

.button-container .button {
  color: #fff !important;
  font-size: 32px;
  cursor: pointer;
  position: relative;
  opacity: 0.75;
  transition: all 300ms ease-in-out;
}

.button-container .button:hover {
  opacity: 1;
}

.button-container .button:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  /* background-color: rgba(0, 0, 0, 1); */
  border-radius: 50%;
  z-index: -99;
}

.button-container .button:nth-child(1) {
  float: left;
}

.button-container .button:nth-child(2) {
  float: right;
}

.slide_section {
  /* display: none; */
  transition: opacity 0.5s ease;
  width: 100%;
  /* overflow: hidden; */
  /* height: 100vh; */
  position: absolute;
  /* top: 0;
  left: 0; */
  /* z-index: 200000 !important; */
  background: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.open {
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal_large {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content-large {
  margin: auto;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  max-width: 80%;
  max-height: 100%;
  height: 100%;
  /* background-color: white; */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  object-fit: contain;
  /* margin-top: 8%; */


}
.model_label{
  color: #5b5b5b;
  font-weight: 600 !important;
  font-size: 1.35rem;
  line-height: 1.5em;
  font-family: Arial, Helvetica, sans-serif;
  top: 2%;
  left: 5%;
}

.custom_button {
  background-color: rgb(0,0,0,0.9) !important;
  color: #fff !important;
  font-weight: 600;
  padding-bottom: 0.5rem !important;
  padding-top: 0.5rem !important;
  border: none;
  border-radius: 0.5rem;
}
.button_box {
  top: 90%;
  right: 40%;
}
.close_btn{
  background-color: #fff;
  /* padding: 0.5rem; */
  position: absolute;
  top: 0px;
  right: 10px;
  color: gray;
  /* font-size: 40px; */
  font-weight: bold;
  transition: 0.3s;

}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: gray;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;

}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.cross_icon{

  z-index: 100 !important;
  /* background: rgba(212, 15, 15, 0.7); */
  color: #fff !important;
  position: absolute;
  right: 1rem;
  top: 1rem;
  
}
.modal-body{
  padding: 0 !important;
}

@media (min-width: 600px) and (max-width: 845px) {

  .model_label{
    left: 10%;
  }

  .items .item {
    width: 150px;
    height: 150px;
  }

  .slide_section {
    /* height: 230vh !important;
    top: -250px;
    left: 0;
    z-index: 999; */
  }

  .desc {
    /* border: 1px solid blue; */
    width: 100%;
    padding-left: 20px;
  }

  .main {
    /* padding: 15px; */
  }

  .box {
    width: 100%;
    min-width: 0rem;
    border: none !important;
    height: 100%;
    min-height: 25rem;
    padding: 0rem 3.5rem;
  }

  .product {
    /* border: 1px solid green; */
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0rem 0.8rem !important;
    margin-top: 2rem;
  }

  .item.prev {
    display: none;
  }

  .item.prev img {
    opacity: 0.4;
  }

  .item.next {
    display: none;
  }

  .items .button-container {
    /* width: 420px; */
    padding: 0px 10px;
  }

  .slide_section {
    /* height: 135vh;
    top: -250px;
    left: 0;
    z-index: 999; */
  }

  .items .item {
    width: 350px;
    height: 350px;
  }

  
  .button_box {
    /* z-index: 10000; */
    right: 43%;
    top: 88%;

   
  
  }
  .container{
    padding: 0rem 2rem;
  }
}
@media (min-width: 300px) and (max-width: 600px) {
  .box {
    width: 100%;
    min-width: 0rem;
    border: none !important;
    height: 100%;
    min-height: 25rem;
    padding: 0rem 0.5rem;
  }

  .product {
    /* border: 1px solid green; */
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0rem 0.5rem !important;
    margin-top: 2rem;
  }
  .button_box {
    /* z-index: 10000; */
    right: 35%;
    top: 88%;

   
  
  }
  .items .button-container{
    justify-content: center;
    gap: 22rem !important;
    z-index: 100;
 
    width: 25rem;
  }
}

@media (min-width: 700px) {
  .container-xxl {
      max-width: 1230px;
      padding-left: .625rem;
      padding-right: .625rem;
      /* border: 1px solid red; */
  }
  .product{
    padding-right: 0rem !important;
  }
 
}

@media (min-width: 1000px) and (max-width: 1600px) {
  .container-xxl {
    max-width: 1500px;
      padding-left: 1.3rem;
      padding-right: 1.3rem;
      /* border: 1px solid green; */
  }
  .product{
    padding-right: 0rem !important;
  }
 
}
@media (min-width: 1600px) and (max-width: 2500px) {
  .container-xxl {
    max-width: 1300px;
      padding-left: 1.3rem;
      padding-right: 1.3rem;
      /* border: 1px solid green; */
  }
  .product{
    padding-right: 0rem !important;
  }
 
}


