@media (min-width: 768px) {

  .thumb-items-border-2:nth-child(2n) {
    border-right: none;
  }
  .thumb-items-border-2:last-child {
    border-bottom: none;
    border-right: none;
  }
  .thumb-items-border-2:last-child:before,
  .thumb-items-border-2:last-child:after {
    display: none;
  }

  .thumb-items-border-3-grey:nth-last-child(1),
  .thumb-items-border-3-grey:nth-last-child(2),
  .thumb-items-border-3-grey:nth-last-child(3) {
    border-bottom: none;
  }
  .thumb-items-border-3-grey:nth-last-child(1):before,
  .thumb-items-border-3-grey:nth-last-child(2):before,
  .thumb-items-border-3-grey:nth-last-child(3):before,
  .thumb-items-border-3-grey:nth-last-child(1):after,
  .thumb-items-border-3-grey:nth-last-child(2):after,
  .thumb-items-border-3-grey:nth-last-child(3):after {
    display: none;
  }
  .thumb-items-border-3-grey:nth-child(3n) {
    border-right: none;
  }

  .thumb-items-border-3:nth-last-child(1),
  .thumb-items-border-3:nth-last-child(2),
  .thumb-items-border-3:nth-last-child(3) {
    border-bottom: none;
  }

  .thumb-items-border-3:nth-last-child(1):before,
  .thumb-items-border-3:nth-last-child(2):before,
  .thumb-items-border-3:nth-last-child(3):before,
  .thumb-items-border-3:nth-last-child(1):after,
  .thumb-items-border-3:nth-last-child(2):after,
  .thumb-items-border-3:nth-last-child(3):after {
    display: none;
  }

  .thumb-items-border-3:nth-child(3n) {
    border-right: none;
  }
}

@media (max-width: 767px) and (min-width: 576px) {
  .thumb-items-border-3-grey:nth-child(2n) {
    border-right: none;
  }

  .thumb-items-border-3:nth-child(2n) {
    border-right: none;
  }
  .thumb-items-border-2:nth-child(n) {
    border-right: none;
  }
}

@media (max-width: 575px) {
  .thumb-items-border-3-grey:nth-child(n) {
    border-right: none;
  }

  .thumb-items-border-3:nth-child(n) {
    border-right: none;
  }
  .thumb-items-border-2:nth-child(n) {
    border-right: none;
  }
}

@media (max-width: 991px) {
  #slides img {
    min-height: 400px;
    object-fit: cover;
  }
  .slick-custom-arrow {
    bottom: 0;
    top: auto;
  }
  
  /*
    .owl-carousel .owl-item img {
        height: 50px;
        width: 50px !important;
        margin-right: 1rem !important;
    }
*/
  .socialmedia,
  .copyright {
    text-align: center;
  }
  .banner {
    min-height: 100vh;
  }
  .banner img {
    min-height: 100vh;
    width: auto;
    height: 100%;
  }
  .overlay-content-top,
  .overlay-content-bottom {
    left: 15px;
    right: 15px;
  }
  .thumb-items-border {
    border-bottom: 1px solid #00ADEE;
    border-right: none;
    margin: 0 2.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .thumb-items-border:last-child {
    border-bottom: none;
  }
  .product-items {
    margin-bottom: 1.5rem;
  }
  .se-pre-con p {
    padding: 0 30px;
    margin-top: 30px;
  }
  .se-pre-con .min-height-vh {
    min-height: auto;
    padding-top: 50%;
    text-align: center;
  }
  .plf-container .nav-tabs .nav-item .nav-link {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
  .plf-container .form-control {
    margin-bottom: 0.75rem;
  }
}

/*--- Responsive Superslides ---*/

@media (max-width: 1200px) {
  /*=== Reuseable CSS ===*/
  .hidemobile {
    display: none;
  }
  .navbar {
    padding-top: 18.5px;
    padding-bottom: 18.5px;
  }
  .main-menu.navbar-light .navbar-nav .nav-link {
    margin: 0;
  }
  .collapse.show {
    overflow-y: auto;
    max-height: calc(100vh - 120px);
    padding-bottom: 1.5rem;
    margin-top: 1rem;
  }
  .navbar-right .nav-item {
    display: inline-block;
  }
  .navbar-right .nav-item .nav-link {
    display: inline-block;
  }
  .navbar-nav .megamenu-li a.nav-link:after {
    content: "\f105";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: none;
    float: right;
  }
  

  /*=== Owl Carousel ===*/
  .owl-next {
    right: 15px;
  }
  .owl-prev {
    left: 15px;
  }

  /*=== Navigation ===*/
  .spacing {
    width: 200px;
  }
  .navbar-light .navbar-toggler {
    top: 43.5px;
    border: none;
    font-size: 25px;
  }
  .top-menu .navbar-nav .nav-link {
    padding: 0.5rem 0.5rem;
  }
  .top-menu .select-wrapper:before {
    right: 0.5rem;
  }
  .selection .custom-select {
    padding: 0.375rem 0.5rem;
    padding-right: 1.5rem;
  }

  /*=== Home Offer Detail ===*/
  #home-offers-detail .desc-with-icon span {
    display: block;
    width: 100%;
    padding: 10px 1rem !important;
  }

  /*=== Modal Popup ===*/
  #newsletter .close {
    right: 5px;
    top: -40px;
  }
  .modal-title {
    font-size: 1.5rem;
  }
  #backtop {
    bottom: 55px;
  }
}
