/* home ================================================== */
.home .wrapper {
  padding-bottom: 0;
}

.home .slider a {
  color: #ffffff !important;
}

/*
slider home
*/
@media (max-width: 575.98px) {
  .home .slider {
    padding-top: 62px;
  }

  .slider-button {
    position: absolute;
    position: absolute;
    top: 15%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .home .slider {
    padding-top: 65px;
  }

  .slider-button {
    position: absolute;
    top: 25%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .home .slider {
    padding-top: 66px;
  }

  .slider-button {
    position: absolute;
    top: 32%;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .home .slider {
    padding-top: 66px;
  }

  .slider-button {
    position: absolute;
    top: 37%;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .home .slider {
    padding-top: 88px;
  }

  .slider-button {
    position: absolute;
    top: 39%;
  }
}

@media (min-width: 1400px) {
  .home .slider {
    padding-top: 88px;
  }

  .slider-button {
    position: absolute;
    top: 40%;
  }
}

/*
home section
*/
@media (max-width: 1199.98px) {
  .home-section1 {
    padding-top: 0;
  }

  .how-section1 h2 {
    color: #0a3d89;
    font-size: 1.4rem !important;
    padding-bottom: 5px;
  }

  .how-section1 h3 {
    color: #0a3d89;
    font-size: 1.1rem !important;
    font-weight: 600;
  }

  .how-section1 .subheading {
    color: #0a3d89;
    font-size: 2rem;
  }

  .how-section1 p {
    color: #222222;
  }

  .home-section2 {
    padding-top: 0px;
  }

  .how-img {
    display: none;
  }

  .how-img img {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .home-section1 {
    padding-top: 0;
  }

  .home-section2 {
    padding-top: 0;
  }

  .how-section1 h2 {
    color: #0a3d89;
    font-size: 1.6rem !important;
    padding-bottom: 10px;
  }

  .how-section1 h3 {
    color: #0a3d89;
    font-size: 1.1rem !important;
    font-weight: 600;
  }

  .how-img {
    text-align: center;
  }

  .how-img img {
    width: 100%;
  }
}

/* home-news */
.home-news {
  padding-top: 50px;
  padding-bottom: 50px;
}

.home-news h2 {
  color: #101010;
  display: flex;
  flex-direction: row;
  font-size: 1.2rem;
  font-weight: 500;
}

.home-news h2:before,
h2:after {
  content: "";
  flex: 1 1;
  border-bottom: 3px double #a3a3a3;
  margin: auto;
  padding-top: 3px;
}

.home-news h2:before {
  margin-right: 10px;
}

.home-news h2:after {
  margin-left: 10px;
}

/* best-sellers */
.best-sellers .card a {
  text-decoration: none;
  color: #303030;
}

.best-sellers .card-title {
  color: #2b2b2b;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.best-sellers .card-text {
  color: #101010;
  font-size: 1.1rem;
}

/* best-sellers-img */
.best-sellers-img {
  position: relative;
  width: 100%;
}

.image-bs {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.best-sellers-img .middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.best-sellers-img:hover .image-bs {
  opacity: 0.5;
}

.best-sellers-img:hover .middle {
  opacity: 1;
}

.text-bs {
  background-color: #ffffff;
  border-radius: 25px;
  border: 1px solid #9b9b9b;
  color: #292929;
  font-size: 1rem;
  padding: 5px 25px;
}

/* homecontainer */
@media (max-width: 767.98px) {
  .homecontainer a {
    text-decoration: none;
    color: #0a3d89;
  }

  .homecontainer h2 {
    margin: 15px 0 20px 0;
    text-transform: none;
    font-size: 1.4rem;
    font-family: "Alegreya Sans", Verdana, Arial, sans-serif;
  }

  .homecontainer img {
    max-width: 300px;
  }
}

@media (min-width: 768px) {
  .homecontainer a {
    text-decoration: none;
    color: #0a3d89;
  }

  .homecontainer h2 {
    margin: 15px 0 20px 0;
    text-transform: none;
    font-size: 1.8rem;
    font-family: "Alegreya Sans", Verdana, Arial, sans-serif;
  }

  .homecontainer img {
    max-width: auto;
  }
}
