@media (min-width:375px) and (max-width:500px) {
h1{
    font-size: 42px;
    font-weight: bold;
}
.row.d-flex.mobile_link {

    display: none !important;
}
.banner-content {
    padding: 10px;
    text-align: center;
}
.banner-content .mt-3{
  text-align: justify;
}

.offcanvas-body a {
  margin-left: 29px;
  color: #fff;
  font-size: 35px;
  font-weight: 800;
  margin-top: -30px;
}
.offcanvas-header {
  display: block;
  align-items: center;
  justify-content: space-between;
  padding:20px;
}
.about-home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hr-lines:before{
    content:" ";
    height: 2px;
    width:0%;
    background:#161D6F;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
  }
  
  .hr-lines:after{
    content:" ";
    height: 2px;
    width:0%;
    background:#161D6F;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
  }
  .polaroid {
    margin-top: 20px;
  }
  .priority-section {
    box-shadow: 4px 4px 10px #C3CADA, -4px -4px 10px #ffffff;
    background-image: url(../assets/homepage/priority.png);
    border-radius: 16px;
    padding: 10px;
}
.service-content{
  padding-left: 50px;
  padding-right: 50px;
}
.priority{
    align-items: center;
    text-align: center;
}
.about-banner h1 {
  font-size: 45px;
}
.about-home-content{
  margin-top: 20px;
}
.about-home-content p{
  text-align: justify;
}
.dentelService-section p{
  text-align: justify;
}

.footer-section .col-md-2{
  width: 50%;
}
.mission-section .about-banner-content {
  padding: 27px;
}
.what-we-do-section .about-banner-content {
  padding: 27px;
}
.general-services p{
  text-align: justify;
}

.cos-services {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;
  text-align: center;
}
.cos-services p{
  text-align: justify;
}
.surgical-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column-reverse;
}
.sur-service {
  padding: 30px;
  display: flex;
  justify-content: revert;
  flex-direction: column;

  align-items: center;
  text-align: center;
}
.sur-service p{
  text-align:justify;
}
.about-banner-content{
  padding: 20px;
  align-items: center;
  text-align: center;
}
.about-banner-content p{
  text-align:justify;
}
.cos-service-boxes{
  padding-left: 50px;
  padding-right: 50px;
}
.doctors-boxes{
  padding-left: 50px;
  padding-right: 50px;
}
.benefits-boxes{
  padding-left: 30px;
  padding-right: 30px;
}
.nav-contact{
  text-align: end;
  display:none;
}
.bottomright {
  position: absolute;
  bottom: 0px;
  right: 7px;
  font-size: 18px;
}
.booknow {
 
  text-decoration: none;
  width: 100%;
  display: none;
  border: 2px solid #161D6F;
  padding: 10px 0px 10px 0px;
 
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
  color: #161D6F;
  transition: all 0.3s ease;
}
.row-change{
  display: flex;
  flex-direction:column-reverse;
}
.dentelService-section{
  padding: 20px;
}
.section-dentist {
  padding: 20px 20px 20px 20px;
}
.section-location {
 padding: 30px;
}
.polaroid .col-sm-6{
  width: 50%;
}
.booking-section{
  margin-top: 10px;
}
.about-section p {
  font-size: 16px;
}
.what-we-do-section .row{
  display: flex;
  flex-direction: column-reverse;
}
#slider-container #slider .slide {
  height: 90%;
  margin: auto -20px;
  display: grid;
  place-items: center;
}
#slider-container {
  /* height: 300px; */
  /* width: 85vw; */
  max-width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0px;
}
.insurance-banner .banner {
  padding: 19px;
  text-align: justify;
}
.insurance-section .partners .col-md-12 img{
width: 50%;
}
.care{ padding:5px; }
.care h1{font-size: 30px}
}




/*big screen*/

@media (max-height: 24in), (max-height: 23in), (max-height: 22in) {
  .main-banner {
    height: 60vh;
  }
}

@media (max-height: 20in), (max-height: 19in), (max-height: 15in), (max-height: 13in) {
  .main-banner {
    height: 90vh;
  }
}








