/* general elements */
#body {
  overflow-x: hidden;
  font-size: 0.8rem;
  background-color: #f9f9f9;
}

/* #body .container {
  padding-right: 0;
} */

#body .row {
  margin-left: 0;
  margin-right: 0;
}

#body a {
  color: #000;
}

#body a:hover {
  text-decoration: none;
}


#body .btn-outline-primary {
  color: #74b0cc;
  border-color: #74b0cc;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 8px 15px;
  font-size: 0.8rem;
}

#body .btn-outline-primary:hover {
  background-color: #74b0cc;
  color: white;
}

#body .btn-primary {
  color: white;
  border-color: #74b0cc;
  background-color: #74b0cc;
  border-radius: 10px;
  padding: 8px 15px;
  font-size: 0.8rem;
}

#body .btn-primary:hover {
  color: #74b0cc;
  background-color: #f9f9f9;
}

#body h1,
#body h2 {
  font-size: 3rem;
}
#body h3,
#body h4 {
  font-size: 1.2rem;
}

#body .custom-img {
  width: 100vw;
}
@media screen and (max-width: 1200px) {
  #body h1,
  #body h2 {
    font-size: 2.5rem;
  }
  #body h3,
  #body h4 {
    font-size: 1rem;
  }
}

@media screen and (max-width: 991px) {
  #body {
    font-size: 0.7rem;
  }
  #body h1,
  #body h2 {
    font-size: 1.5rem;
  }
  #body h3,
  #body h4 {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 575px) {
  #body {
    font-size: 0.8rem;
  }
  #body h1,
  #body h2 {
    font-size: 2.5rem;
  }
  #body h3,
  #body h4 {
    font-size: 1rem;
  }
}

/* navbar style */
/* #body header .navbar .nav-item {
  padding-left: 4px;
  padding-right: 4px;
} */

#body header .navbar .nav-link {
  color: #707070;
}
#body header .navbar .nav-link:hover {
  color: #74b0cc;
}

#body header .navbar .nav-link {
  color: #707070;
}

@media screen and (max-width: 991px) {
  #body header .navbar .navbar-brand {
    width: 35%;
  }
}

@media screen and (max-width: 575px) {
  #body header .navbar .navbar-brand {
    width: 50%;
  }
}

/* best solution section */
.bestsolution {
  position: relative;
}

.bestsolution .content {
  position: absolute;
  top: 10%;
  background-color: #74b0cc;
  padding: 2.6rem;
  color: white;
  border-radius: 5px;
  box-shadow: 10px -10px #a1c7dc;
}

.bestsolution .cards {
  position: relative;
  top: -50%;
  display: flex;
  justify-content: space-between;
}

.bestsolution .card {
  background-color: #74b0cc;
  color: white;
  padding: 20px 20px 0;
  border-radius: 10px;
  width: 23%;
}

.bestsolution .card .col-4 {
  padding-right: 0;
  padding-left: 0;
}

.bestsolution .card .number {
  position: relative;
}

.bestsolution .card .number p {
  display: inline-block;
  font-size: 40px;
  text-align: center;
  border: 2px solid white;
  border-radius: 100%;
  width: 65px;
}

@media screen and (max-width: 1200px) {
  .bestsolution .content {
    padding: 1.8rem;
  }

  .bestsolution .card .number p {
    font-size: 35px;
    width: 55px;
  }
  .bestsolution .card .col-8 p {
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 991px) {
  .bestsolution .content {
    padding: 1rem;
    top: 5%;
  }
  .bestsolution .cards {
    margin-top: 20px;
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    align-items: center;
    justify-items: center;
    /* position: static;
    display: block;
    margin: auto; */
  }
  .bestsolution .card {
    width: 100%;
    /* display: inline-block;
    margin: 20px;
    width: 40%;
    padding: 1rem; */
  }
}

@media screen and (max-width: 575px) {
  .bestsolution img {
    display: none;
  }
  #body .bestsolution .content {
    position: static;
    width: 100% !important;
    box-shadow: none !important;
  }

  .bestsolution .cards {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .bestsolution .card {
    width: 75%;
  }
}

/* pearl definition section */

.pearldefinition {
  position: relative;
  margin-top: 25px;
  margin-bottom: 30px;
}

.pearldefinition .content {
  position: absolute;
  top: 35%;
}

.pearldefinition .btn-outline-primary {
  background-color: white;
  margin-top: 30px;
}

@media screen and (max-width: 1200px) {
  .pearldefinition .content {
    position: absolute;
    top: 35%;
  }
  .pearldefinition .btn-outline-primary {
    margin-top: 0;
  }
}

@media screen and (max-width: 575px) {
  .pearldefinition img {
    display: none;
  }

  .pearldefinition .content {
    position: static;
  }
}

/* pearl penefits section */

.benefits {
  margin-top: 60px;
  margin-bottom: 60px;
}

.benefits h2 {
  margin-bottom: 45px;
}

.benefits .cards {
  display: flex;
  justify-content: space-between;
}

.benefits .card {
  width: 18%;
  background-color: #e1ecf2;
  position: relative;
  padding: 35px 30px 10px;
  border-radius: 10px;
}

.benefits .card picture {
  background-color: #74b0cc;
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translatex(-50%);
}

.benefits .card img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35px;
}

.benefits .card h3 {
  text-align: center;
}

.benefits .card p {
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
}

@media screen and (max-width: 1200px) {
  .benefits .card p {
    font-size: 10px;
    margin-top: 5px;
  }
}

@media screen and (max-width: 991px) {
  .benefits .card p {
    font-size: 10px;
    margin-top: 3px;
  }
  .benefits .card {
    padding: 35px 15px 10px;
  }

  .benefits .card picture {
    width: 45px;
    height: 45px;
  }
  .benefits .card picture img {
    width: 35px;
  }
}

@media screen and (max-width: 768px) {
  .benefits .cards {
    flex-direction: column;
  }
  .benefits .card {
    width: 100%;
    margin-top: 40px;
  }

  .benefits .card picture {
    top: -20%;
    /* left: 42%; */
  }
}

@media screen and (max-width: 575px) {
  .benefits h2 {
    margin-bottom: 20px;
  }
}

/* best solution video */
.video {
  padding-left: 5%;
  padding-right: 5%;
}
.video iframe {
  border: none;
  width: 100%;
  height: 350px;
  border-radius: 5px;
}

.video .content {
  padding-left: 30px;
}

@media screen and (max-width: 991px) {
  .video iframe {
    height: 300px;
  }
}

/* feel the difference */
.feelthedifference {
  position: relative;
  margin-top: 5rem;
}

.feelthedifference .content {
  position: absolute;
  color: white;
  top: 10%;
  left: 12%;
}

.feelthedifference .content p {
  margin-top: 40px;
}

.feelthedifference .btn-outline-primary {
  background-color: white;
  margin-top: 20px;
}

@media screen and (max-width: 1200px) {
  .feelthedifference .content p {
    margin-top: 10px;
  }
  .feelthedifference .btn-outline-primary {
    background-color: white;
    margin-top: 5px;
  }
}

@media screen and (max-width: 575px) {
  .feelthedifference img {
    display: none;
  }

  .feelthedifference .content {
    position: static;
    color: #000;
  }
}
/* cards section */
#body .cardssection {
  margin-top: 5rem;
  overflow-x: auto;
	height: 210px;
}

.cardssection .card {
  border-radius: 0.5rem;
  padding: 0.6rem;
  word-wrap: unset;
  height: 100% !important; 
}
.cardssection .card:hover {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
	transform: translateY(-10px);
}

.cardssection .user-icon {
  width: 3.5rem;
}

.cardssection .icons {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.cardssection .icons .col-4 {
  padding: 0;
}

.cardssection .desc p {
	margin-bottom: 0;
}

@media screen and (max-width: 1200px) {
  .cardssection .icons .icon {
    width: 1rem;
  }
  .cardssection .icons span {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 991px) {
  .cardssection .user-icon {
    width: 2.5rem;
  }
  .cardssection .icons .icon {
    width: 0.6rem;
  }

  .cardssection .icons span {
    font-size: 0.5rem;
  }
}

@media screen and (max-width: 575px) {
  .cardssection .icons .icon {
    margin-top: 0.5rem;
    width: 1rem;
  }
}

/* solution for your smile 2 seciton */
.solutionsmile {
  margin-top: 5rem;
  background-color: #74b0cc;
  box-shadow: 10px -10px #a1c7dc;
  padding: 20px 60px 20px;
  color: white;
  border-radius: 5px;
}

.solutionsmile .btn-outline-primary {
  background-color: white;
  margin-top: 30px;
}

@media screen and (max-width: 1200px) {
  .solutionsmile {
    margin-top: 2.5rem;
    padding: 20px 40px 20px;
  }
  .solutionsmile .btn-outline-primary {
    margin-top: 10px;
  }
}

@media screen and (max-width: 575px) {
  .solutionsmile {
    box-shadow: none;
  }
}

/* frequently added questions */

.askedquestions {
  margin-top: 5rem;
  font-size: 1rem;
}

.askedquestions h2 {
  margin-bottom: 2rem;
}

.askedquestions .card {
  border-top: none;
  border-right: none;
  border-left: none;
  background-color: #f9f9f9;
}
.askedquestions .card-header {
  background-color: #f9f9f9;
}

.askedquestions .card-header {
  color: #74b0cc;
}
.askedquestions .card-header .title {
  color: #74b0cc;
}

.card-header.collapsed,
.card-header.collapsed .title {
  color: #000;
}

.askedquestions .card-body {
  border-top: none;
}
.card-header .accicon {
  float: right;
  font-size: 20px;
  width: 1.2em;
}
.card-header {
  cursor: pointer;
  border-bottom: none;
}
.card {
  border: 1px solid #ddd;
}
.card-body {
  border-top: 1px solid #ddd;
}
.card-header:not(.collapsed) .rotate-icon {
  transform: rotate(180deg);
}

/* contact us seciton */

.contactus {
  margin-top: 5rem;
  background-color: #e1ecf2;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#body .contactus .btn-primary {
  padding: 0.5rem 3rem;
}

@media screen and (max-width: 575px) {
  .contactus {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* footer */

footer {
  background-color: #e1ecf2;
  padding: 2rem;
}

footer ul {
  list-style: none;
  color: #707070;
}

footer li:first-child {
  padding: 0.8rem 0;
}
footer li:first-child h4 {
  margin-top: 0.5rem;
}
footer li a {
  color: #707070;
}

#body footer li:first-child a {
  color: #74b0cc;
}

@media screen and (max-width: 575px) {
  #body footer img {
    width: 50%;
  }
}
/* not sure section */
.notsure {
  background-color: #74b0cc;
  color: white;
}

.notsure .btn-outline-primary {
  background-color: white;
  float: right;
}

/* teeth section */
.teeth {
  position: relative;
}
.teeth .heading1 {
  position: absolute;
  top: 46%;
  left: 12.5%;
}
.teeth .heading2 {
  position: absolute;
  top: 92%;
  left: 12.5%;
}
.teeth .heading3 {
  position: absolute;
  top: 46%;
  left: 46%;
}
.teeth .heading4 {
  position: absolute;
  top: 92%;
  left: 46%;
}
.teeth .heading5 {
  position: absolute;
  top: 46%;
  left: 78%;
}
.teeth .heading6 {
  position: absolute;
  top: 92%;
  left: 78%;
}

/* directing section */
.direct .number {
  font-size: 30px;
  color: white;
  background-color: #74b0cc;
  text-align: center;
  border-radius: 100%;
  height: fit-content;
  width: 50px;
}

/* failed and success message */
.failed h2 {
  color: #ff0d0c;
}

.success h2 {
  color: #33b52f;
}

.failed h3,
.success h3 {
  color: #707070;
}

#body .failed a,
#body .success a {
  color: #74b0cc;
  text-decoration: underline;
}

/* custom scrollbar */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #d6dee1;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
}


.page-container .articles-card:hover {
	transform: translateY(-10px);
}

/* 
========================================
Photo Gallery
========================================
*/
.galleries-slider {
    height: 250px;
    margin: 15px 25px;
}


.photo-gallery-box {
    height: 250px;
    position: relative;
    display: block;
}

.photo-gallery-box a {
    display: flex;
    height: 250px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.photo-gallery-box .content {
    display: flex;
    position: relative;
    opacity: 0.5;
    width: 90%;
    height: 90%;
}

.photo-gallery-box .img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.photo-gallery-box img {
    height: 100%;
    min-width: 100%;
}

.photo-gallery-box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(51, 51, 51, 0.65);
    height: 100%;
    width: 100%;
}

.photo-gallery-box .overlay h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px !important;
    color: #FFFFFF;
    padding: 10px;
    display: inline;
    margin: 0;
    text-align: center;
}

.photo-gallery-box.slick-center .content {
    opacity: 1;
    width: 100%;
    height: 100%; 
    transition: all ease 0.5s;
}

.image-box .overlay {
    color: #FFFFFF !important;
    background: #33333312;
    font-size: 48px;
}

.treatable-cases h4 {
	color: #aaa;
}
.treatable-cases .treatable-box .image-box {
	overflow: hidden;
}
.treatable-cases .treatable-box:hover img {
	transform: scale(1.2);	
}
.treatable-cases .treatable-box:hover h4 {
	color: #000;
}

.page-container .articles-card:hover,
.treatable-cases .treatable-box:hover img,
.treatable-cases .treatable-box:hover h4 {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
