.home-slider-block {
  /* margin-left: 59px; */
  overflow: hidden;
  min-width: 100%;
}

.home-slider .swiper-slide {
  height: 604px;
  position: relative;
  background-size: cover;
  background-position: 100%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.swiper-about-pagination {
  position: absolute;
  z-index: 2;
}

.hs-body {
  margin-top: 107px;
  margin-left: 52px;
  height: 496px;
}

.hs-body .video-button-2 {
  bottom: 53px;
  position: absolute;
  right: 20%;
  padding: 0.5em;
  border-radius: 70px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  cursor: pointer;
  background-color: rgba(10, 7, 19, .68);
}

.hs-body .video-button-2 img {
  border-radius: 50%;
}

.hs-body .video-button-2 h5 {
  max-width: 185px;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
}

.slider-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hs-body h2 {
  position: relative;
  z-index: 1;
  line-height: 0.8;
  font-weight: 800;
  font-size: 100px;
  color: none;
  text-transform: uppercase;
  /*-webkit-text-stroke: 2px black;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: black;*/
}

.hs-body h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 37px;
  line-height: 1;
  font-weight: 800;
  font-size: 60px;
  text-transform: uppercase;
  color: #000;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.home-slider-block .common-link {
  margin-right: 30px;
}

.home-slider-block .swiper-pagination {
  margin-top: 20px;
  margin-bottom: 37px;
  position: static;
  display: inline-block;
  text-align: left;
}

.home-slider-block .swiper-pagination-bullet {
  margin-right: 8px;
  width: 22px;
  height: 11px;
  border-radius: 4px;
  background: #dbdbdb;
  transition: width 0.5s;
  border: 1px solid #000;
}

.home-slider-block .swiper-pagination-bullet-active {
  width: 36px;
  background: #739fc7;
}

.home-slider-arrows {
  position: relative;
}

.home-slider-arrows span {
  position: relative;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0em 20px;
  cursor: pointer;
  text-shadow: 0 0 5px rgba(255, 255, 255, 1);
}

.home-slider-arrows span:hover {
  /* color: red; */
  text-decoration: underline;
}

.home-slider-left::before {
  content: "";
  display: block;
  height: 20px;
  width: 8px;
  position: absolute;
  left: -15px;
  bottom: 5px;
  background-image: url(../../external.html?link=https://dandrelectronics.com/images/icons/icon-right-arrow.png);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.home-slider-right::after {
  content: "";
  display: block;
  height: 20px;
  width: 8px;
  position: absolute;
  right: -15px;
  bottom: 5px;
  background-image: url(../../external.html?link=https://dandrelectronics.com/images/icons/icon-right-arrow.png);
}

.similar-products-carousel-wrapper {
  position: relative;
  max-width: 1525px;
  margin: 0 auto;
  padding: 0 100px;
}

.thumbs .swiper-slide a {
  width: calc(100% - 30px);
  margin: 15px;
}

.carousel-arrows div {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  background-color: #003049;
  background-image: url("../../external.html?link=https://dandrelectronics.com/images/icons/icon-carousel-arrow.png");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  cursor: pointer;
  outline: 0;
  border-radius: 50%;
  box-shadow: 0px 3px 5px 0px rgba(36, 57, 115, 0.54);
  transition: box-shadow 0.5s, background 0.5s;
}

.carousel-prev {
  left: 0;
  transform: translateY(-50%);
}

.carousel-next {
  right: 0;
  transform: translateY(-50%) scale(-1, 1);
}

.carousel-arrows div:hover {
  background-color: #005786;
  box-shadow: 0px 3px 15px 0px rgba(36, 57, 115, 0.54);
}

.picture_img {
  border-radius: 25px;
  background-color: rgb(96, 225, 243);
  box-shadow: 0px 1px 16px 0px rgba(51, 101, 138, 0.47);
  position: absolute;
  left: 331px;
  top: 4252px;
  width: 707px;
  height: 398px;
  z-index: 80;
}

.testimonials-wrapper {
  position: relative;
  max-width: 1250px;
  margin: 0 auto 63px;
  padding: 0 220px;
}

.testimonials-wrapper .swiper-wrapper {
  overflow: hidden;
}

.testimonials-wrapper .swiper-slide {
  background: #fff;
}

.test-prev {
  position: absolute;
  z-index: 1;
  top: 50%;
  margin-top: -35px;
  left: 0;
  width: 70px;
  height: 70px;
  cursor: pointer;
  opacity: 1;
  background: url('../../external.html?link=https://dandrelectronics.com/images/icons/test-arrows.png');
  transition: opacity .5s;
}

.test-next {
  position: absolute;
  z-index: 1;
  top: 50%;
  margin-top: -35px;
  right: 0;
  width: 70px;
  height: 70px;
  cursor: pointer;
  opacity: 1;
  background: url('../../external.html?link=https://dandrelectronics.com/images/icons/test-arrows.png') 70px 0;
  transition: opacity .5s;
}

.test-prev:hover,
.test-next:hover {
  opacity: .8;
}

.tc-pic {
  top: 16px;
  left: 16px;
  position: absolute;
  width: 56%;
  min-height: 400px;
  background-size: cover;
  background-position: 50% 50%;
  border-radius: 25px;
  box-shadow: 0px 1px 16px 0px rgba(51, 101, 138, 0.47);
}

.tc-pic[data-fancybox] {
  cursor: pointer;
}

.test-text-block {
  margin: 76px 16px 16px;
  float: right;
  padding: 40px 30px 40px 215px;
  box-sizing: border-box;
  width: 56%;
  min-height: 427px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0px 1px 16px 0px rgba(51, 101, 138, 0.47);
}

.test-text-block h3 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 24px;
  color: #4061ab;
  text-transform: uppercase;
}

.test-text-block p {
  font-size: 18px;
  margin-bottom: 30px;
}

.test-pagination {
  margin-top: 42px;
  text-align: center;
}

.testimonials-wrapper .swiper-pagination-bullet,
.company-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  margin: 0 5px;
  border: 2px solid #4061ab;
  box-sizing: border-box;
  background: transparent;
}

.testimonials-wrapper .swiper-pagination-bullet-active::after,
.company-pagination .swiper-pagination-bullet-active::after {
  content: '';
  display: block;
  margin-top: 1px;
  margin-left: 1px;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #4061ab;
}

.company-pagination {
  margin-top: 20px;
  text-align: center;
}

.test-more {
  margin-top: 52px;
  text-align: center;
}

.pps-r:not(:first-child) .related-carousel-wrapper {
  max-width: 720px;
}

.related-carousel-wrapper {
  overflow: hidden;
}

.rel-prev {
  margin-top: 35px;
  margin-right: 20px;
  display: inline-block;
  width: 70px;
  height: 70px;
  cursor: pointer;
  opacity: 1;
  background: url('../../external.html?link=https://dandrelectronics.com/images/icons/test-arrows.png');
  transition: opacity .5s;
}

.rel-next {
  margin-top: 35px;
  display: inline-block;
  width: 70px;
  height: 70px;
  cursor: pointer;
  opacity: 1;
  background: url('../../external.html?link=https://dandrelectronics.com/images/icons/test-arrows.png') 70px 0;
  transition: opacity .5s;
}

.rel-prev:hover,
.rel-next:hover {
  opacity: .8;
}

.company-slider {
  overflow: visible;
}

.company-slider .swiper-wrapper {
  border-radius: 55px;
  overflow: hidden;
  box-shadow: 0px 0px 25.65px 1.35px rgba(74, 120, 203, 0.45);
}

.company-slider img {
  border-radius: 50px;
  width: 100%;
  display: block;
}

.company-slide > div {
  text-align: center;
}

.related-carousel .swiper-slide {
  width: 344px;
}

.related-carousel a {
  position: relative;
  text-align: center;
  padding: 0 20px;
  width: 330px;
  min-height: 380px;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  margin: 12px;
  box-shadow: 0.209px 2.993px 11.83px 1.17px rgba(18, 78, 162, 0.25);
  transition: box-shadow 0.5s;
}

.swiper-slide iframe {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
}

@media (max-width: 1730px) {
  .testimonials-wrapper {
    padding: 0 110px;
  }
}

@media (max-width: 1500px) {
  .testimonials-wrapper {
    padding: 0 65px;
    margin: 0 auto 43px;
  }
}

@media (max-width: 1450px) {
  .related-carousel .swiper-slide {
    width: 294px;
  }

  .related-carousel a {
    width: 280px;
  }

  .home-slider .swiper-slide {
    height: 516px;
  }

  .hs-body {
    margin-top: 50px;
    height: 466px;
  }

  .hs-body h2 {
    font-size: 100px;
  }
}

@media (max-width: 1310px) {
  .hs-body .video-button-2 {
    right: 20px;
  }
}

@media (max-width: 1255px) {
  .related-carousel .swiper-slide {
    width: 344px;
  }

  .related-carousel a {
    width: 330px;
  }
}

@media (max-width: 1225px) {
  .testimonials-wrapper {
    padding: 0;
  }

  .test-arrows {
    display: none;
  }
}

@media (max-width: 1150px) {
  .hs-body h1 {
    margin-bottom: 30px;
    font-size: 38px;
  }

  .hs-body h2 {
    margin-bottom: 22px;
    font-size: 45px;
  }

  .home-slider .swiper-slide {
    border-radius: 0;
  }

  .home-slider .swiper-slide {
    height: 435px;
  }

  .hs-body {
    height: 385px;
  }
}

@media (max-width: 1075px) {
  .test-text-block {
    padding-left: 175px;
  }
}

@media (max-width: 975px) {
  .related-carousel-wrapper {
    max-width: none;
  }

  .related-carousel .swiper-slide {
    width: auto;
  }

  .related-carousel a {
    width: auto;
  }

  .related-carousel-arrows {
    text-align: center;
  }

  .rel-prev {
    margin-top: 0;
  }

  .rel-next {
    margin-top: 0;
  }
}

@media (max-width: 895px) {
  .test-text-block {
    float: none;
    width: auto;
    padding: 30px;
    min-height: 0;
    margin-top: 0;
  }

  .tc-pic {
    position: relative;
    width: auto;
    top: 0;
    left: 0;
    margin: 16px;
  }

  .test-pagination {
    margin-top: 20px;
  }

  .test-more {
    margin-top: 20px;
  }
}

@media (max-width: 880px) {
  .similar-products-carousel-wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 730px) {
  .home-slider-block .common-link {
    max-width: 146px;
    display: block;
    margin-bottom: 20px;
  }

  .secondary-button {
    margin: 0 0 20px;
    padding-bottom: 0.1em;
  }

  .secondary-button::after {
    bottom: 11px;
  }
}

@media (max-width: 700px) {
  .hs-body {
    margin: 20px 20px 0;
    height: 405px;
  }

  .slider-image {
    position: absolute;
    right: -20px;
  }

  .home-slider-block .swiper-pagination {
    margin-bottom: 10px;
  }

  .home-slider .swiper-slide {
    height: auto;
  }

  .home-slider-block .common-link {
    margin-bottom: 20px;
  }

  .hs-body .video-button-2 {
    right: auto;
    left: 0;
    bottom: 20px;
    padding: 0;
  }

  .hs-body .video-button-2 img {
    margin-top: 2px;
    margin-left: 12px;
    width: 30px;
    height: 30px;
    margin-bottom: 2px;
  }

  .hs-body .video-button-2 h5 {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .home-slider-arrows {
    display: none;
  }

  .hs-body .video-button-2 {
    bottom: 35px;
  }
}

@media (max-width: 975px) {
  .related-carousel a {
    width: calc(100% - 24px);
  }
}

@media (max-width: 450px) {
  .similar-products-carousel-wrapper {
    padding: 0;
    margin: 0 -15px;
  }

  .carousel-arrows {
    display: none;
  }

  .thumbs .swiper-slide a {
    margin: 15px;
  }
}

@media (max-width: 360px) {
  .hs-body .video-button-2 h5 {
    font-size: 16px;
  }

  .vd-btn-text {
    padding: 7px 5px;
  }


}