@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Outfit:wght@100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

/* .entry-header,
header,
footer {
  display: none;
} */

.entry-header {
  display: none;
}

/* :root {
  --mpbt-widget-text-color: #473b68;
  --mpbt-primary: #9DC3CF;
  --mpbt-bg: #253039;
  --mpbt-white: #FFFFFF;
  --mpbt-black: #000000;
} */

.mpbt-shortcode-main-class h1,
.mpbt-shortcode-main-class h2,
.mpbt-shortcode-main-class h3,
.mpbt-shortcode-main-class h4,
.mpbt-shortcode-main-class h5,
.mpbt-shortcode-main-class h6,
.mpbt-shortcode-main-class p,
.mpbt-shortcode-main-class a,
.mpbt-shortcode-main-class span,
.mpbt-shortcode-main-class label {
  font-family: "Outfit", sans-serif;
  font-style: normal;
  color: var(--mpbt-black);
}

.mpbt-shortcode-main-class a.mpbt-shortcode-btn {
  color: var(--mpbt-white);
  width: 100%;
}

.mpbt-shortcode-main-class .d-done {
  display: none;
}

.mpbt-shortcode-main-class article {
  margin: 0;
  padding: 0 !important;
}
.address-block {
  margin-bottom: 10px;
}
.mpbt-shortcode-main-class address {
  margin-bottom: 11px;
}
.mpbt-shortcode-main-class aside.page-sidebar h2[class*="icon-"] {
  margin: 40px 0px 7px;
}
.mpbt-shortcode-main-class ul {
  list-style: none;
  display: flex;
  margin-left: 0;
  margin-top: 10px;
  padding: 0;
  margin-bottom: 30px;
}
.mpbt-shortcode-main-class form.wpcf7-form label, .mpbt-shortcode-main-class form.wpcf7-form label {
  width: 100%;
}

.mpbt-shortcode-main-class .postlist__card__image {
  flex: 0 0 100%;
  padding-top: 56.25%;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  margin-bottom: auto;
}
.mpbt-shortcode-main-class .postlist__card__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.1;
}
.mpbt-shortcode-main-class .postlist__card__author {
  font-style: italic;
  font-size: 10px;
  line-height: 1.1;
}
.mpbt-shortcode-main-class .postlist__card__description {
  font-size: 14px;
  line-height: 1.1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mpbt-shortcode-main-class .postlist__card__text {
  flex: 1;
  padding: 20px;
}

.mpbt-shortcode-main-class .wpcf7-submit,
.mpbt-shortcode-main-class .postlist__card__text span.btn {
  display: block;
  margin-top: 10px;
  width: 100%;
  padding: 15px 20px;
  line-height: 1.5rem;
  font-size: 1rem;
  text-align: -webkit-center;
  border: solid 2px var(--mpbt-primary) !important;
  color: var(--mpbt-black) !important;
  background: transparent !important;
}

.mpbt-shortcode-main-class aside.page-sidebar h2[class*="icon-"] {
  margin: 40px 0px 7px;
  border-bottom: 1px solid var(--mpbt-primary);
}

.mpbt-shortcode-main-class .wpcf7-submit:hover::after,
.mpbt-shortcode-main-class .postlist__card__text span.btn:hover::after{
  width: 25px;
  content: '';
  background: url(https5://assets.jemmedspa.com/Images/Sites/J/JemMedspa/MasterPage/512233.svg) center center / contain no-repeat;
  height: 14px;
  transition: margin-left 0.3s;
  display: inline-block;
  color: var(--mpbt-black);
  background: transparent;
}
.mpbt-shortcode-main-class .collection_description {
  padding: 30px 0;
}

.mpbt-shortcode-main-class .form form {
  padding: 15px;
}

.mpbt-shortcode-main-class .form .panel-heading,
.mpbt-shortcode-main-class .page-sidebar figcaption {
  color: var(--mpbt-white);
  background: var(--mpbt-bg);
  margin: 0;
  padding: 8px 15px 7px;
  text-transform: uppercase;
}
.page-sidebar figcaption a{
  color: var(--mpbt-white);
}
.mpbt-shortcode-main-class .page-sidebar figcaption {
  margin-top: -7px;
  margin-bottom: 16px;
}
.mpbt-shortcode-main-class form.wpcf7-form textarea {
  height: 130px;
}
.mpbt-shortcode-main-class form.wpcf7-form p label select,
.mpbt-shortcode-main-class form.wpcf7-form p label input,
.mpbt-shortcode-main-class form.wpcf7-form p label textarea{
  margin-top: 10px ;
}

.mpbt-shortcode-main-class form.wpcf7-form .wpcf7-not-valid-tip {
  color:red;
    margin-top:5px;
    margin-bottom:10px;
}



.mpbt-shortcode-main-class form.wpcf7-form p span:first-child,
.mpbt-shortcode-main-class form.wpcf7-form p br {
  display:none;
}

.mpbt-shortcode-main-class .form {
  border: 1px solid var(--mpbt-primary);
  margin: 15px 0 0;
}

.mpbt-shortcode-main-class form.wpcf7-form p {
  margin: 0;
}


.mpbt-shortcode-main-class .page-sidebar {
  padding-top: 25px;
}

.mpbt-shortcode-main-class ul.breadcrumb a {
  color: var(--mpbt-black);
}
.mpbt-shortcode-main-class ul.post-header.breadcrumb li:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.mpbt-shortcode-main-class ul.breadcrumb > li + li:before {
  color: var(--mpbt-widget-text-color);
  content: '>\00a0';
}

.mpbt-shortcode-main-class .nav-links {
  text-align: -webkit-center;
  margin: 20px 0;
}

.mpbt-shortcode-main-class .post-space {
  padding-top: 25px;
}

.mpbt-shortcode-main-class .postlist__card {
  /* display: flex;
  flex-wrap: wrap; */
  align-items: center;
  border: solid 2px #eee;
  border-radius: 5px;
  overflow: hidden;
  min-height: 250px;
}

.section-banner,
.section-choose,
.section-character,
.section-form {
  margin: 0 !important;
  max-width: 100% !important;
}


.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

[class*='col-'] {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 15px;
}

.mpbt-shortcode-main-class .photos-list ,
.postlist.postlist--standard.postlist__card-container {
  max-width: 1200px;
  margin: 10px auto;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: auto;
  grid-gap: 10px;
  list-style: none;
}

.mpbt-shortcode-main-class .tags {
  border-top: solid 1px #edefec;
  padding: 20px 0;
  margin-top: 20px;
}



.mpbt-shortcode-main-class .tags span,.mpbt-shortcode-main-class  .tags a {
  padding: 5px 10px;
  color: var(--mpbt-white);
  text-decoration: none;
  border-radius: 3px;
  background: var(--mpbt-bg);
  text-align: center;
  font-weight: 500;
  min-width: 100px;
  display: inline-block;
  margin: 2px 0;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  margin-right: 5px;
}

/* Photo blog start */
.mpbt-shortcode-main-class .total-font-post {
  font-size: clamp(1.5rem,1.75vw,1.75rem);
}

.mpbt-shortcode-main-class .total-font-post {
  padding: 40px 20px 0 0;
}

.mpbt-shortcode-main-class .photos-list .post-inner a,
.mpbt-shortcode-photo .page-sidebar .get-in-touch-content a,
.mpbt-shortcode-btn,
.mpbt-shortcode-main-class button {
  color: var(--mpbt-white);
  background: var(--mpbt-black);
  border: none;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 10px;
  min-width: 200px;
  padding: 10px 20px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: all .3s;
  white-space: nowrap;
  margin-top: 30px;
}

a.mpbt-shortcode-btn {
  margin-top: 20px;
}

.mpbt-shortcode-main-class .post-meta-content b {
  color: var(--mpbt-primary);
  font-size: 17px;
  text-transform: capitalize;
  font-weight: 300;
  margin-left: 7px;
}

.mpbt-shortcode-main-class .post-inner {
  padding: 20px;
  border-radius: 16px;
  background: var(--mpbt-white);
  margin-bottom: 6px;
}

.mpbt-shortcode-main-class .image-before-after {
  display: flex;
  margin-top: 9px;
}

.mpbt-shortcode-main-class .image-before-after img {
  width: 50%;
}

.mpbt-shortcode-main-class .image-before-after img:nth-child(1) {padding-right: 5px;}
.mpbt-shortcode-main-class .image-before-after img:nth-child(2) { padding-left: 5px; }

.mpbt-shortcode-main-class .post-inner {
  padding: 20px;
  border-radius: 16px;
  background: var(--mpbt-white);
  margin-bottom: 6px;
}

.mpbt-shortcode-main-class .photos-list .post-inner a:hover,
.mpbt-shortcode-photo .page-sidebar .get-in-touch-content a:hover,
.mpbt-shortcode-btn:hover,
.mpbt-shortcode-main-class button:hover {
  background: var(--mpbt-primary);
}
.mpbt-shortcode-main-class .post-meta-content span label {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.mpbt-shortcode-main-class .post-meta-content {
  padding-top: 20px;
} 

.mpbt-shortcode-main-class .post-meta-content span {
  font-size: 16px;
  display: block;
}

/* Photo blog end */

  /* Photo archive start */
  .archive-photos .left-side-content .side-bar .term-list p {
    margin-bottom: 0;
  }
  .archive-photos .left-side-content .side-bar .term-list {
      margin-top: 10px;
  }
  .archive-photos .left-side-content .side-bar h4.taxonomy-name-plural {
      margin: 20px 0 10px 0;
  }
  .archive-photos .left-side-content .side-bar {
    margin-top: 40px;
  }
  .mpbt-shortcode-main-class .photos-list {
    margin: unset;
  }


  /* Photo archive end */

  /* Photo single start */

  .right-side-content.col-md-3.col-lg-3.page-sidebar .profile p {
    margin: 0;
  }

  .right-side-content.col-md-3.col-lg-3.page-sidebar .profile {
      margin-top: 10px;
  }

  .mpbt-shortcode-photo .profile-content span {
    display: block;
  }
  .mpbt-shortcode-photo .profile-content {
    margin-bottom: 15px;

  }
  .mpbt-shortcode-photo .patient-details ul {
    flex-direction: column;
  }
  .mpbt-shortcode-photo .page-sidebar h3 {
      text-transform: uppercase;
  }
  .mpbt-shortcode-photo .page-sidebar .get-in-touch-content a {
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 10px;
  }
  main.mpbt-shortcode-main-class.mpbt-shortcode-photo .image-before-after div, main.mpbt-shortcode-main-class.mpbt-shortcode-photo .image-before-after div img {
    width: 100%;
  }
  .mpbt-shortcode-photo address {
    margin-bottom: 0;
  }
  .mpbt-shortcode-photo figure#map-0 {
    margin-top: 10px;
  }
  main.mpbt-shortcode-main-class.mpbt-shortcode-photo .image-before-after div > p {
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    text-align: center;
    color: var(--mpbt-white);
    background: var(--mpbt-black);
    margin-right: 5px;
  }
  /* .post-type-archive-photos .ast-container {
    max-width: 100%;
} */

  .left-side-content.col-md-9.col-lg-9 .patient-details {
    display: flex;
    margin: 10px 0;
  }

  .left-side-content.col-md-9.col-lg-9 .patient-details > div {
    width: 33.33%;
  }

  .left-side-content.col-md-9.col-lg-9 .patient-details h3 {
    font-size: 18px;
  }

  /* Photo single end */

.mpbt-shortcode-main-class .photos-list .post-inner,
.mpbt-shortcode-main-class .postlist.postlist--standard .postlist__card {
  grid-column: auto / span 24;
}

.mpbt-shortcode-main-class .back-to-page img {
  width: 9px;
  transform: scale(-1);
  margin-right: 4px;
}

.mpbt-shortcode-main-class .back-to-page {
  margin-bottom: 10px;
}

.photos-gallery-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  /* animation: slideInFromTop 0.5s ease-out;  */

}
/* 
@keyframes slideInFromTop {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  } */

.photos-gallery-popup span.close-popup {
  max-width: 90%;
  max-height: 90%;
  width: 100%;
  text-align: end;
  top: 28px;
  right: 3px;
  position: relative;
}

.photos-gallery-popup ::-webkit-scrollbar {
  display: none;
}

.photos-gallery-wrap {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
}

.gallery-image {
  display: block;
  max-width: 100%;
}

.photos-gallery-wrap img.gallery-image {
  width: 33%;
  display: inline-block;
}

.close-gallery-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
}

span.close-popup {
  cursor: pointer;
}

.d-sm-none {
  display: none;
}

.d-lg-none {
  display: block;
}

.photos-gallery-popup span.close-popup svg {
  width: 19px;
}

/* testimonials  */
.ti-footer {
  margin-top: 40px !important;
}
.filter-social-wrap ul {
  list-style: none;
  padding: 0;
}
.filter-social-wrap ul li.filter {
  background: var(--mpbt-widget-text-color);
  padding: 6px 15px;
  font-size: 17px;
  color: var(--mpbt-white);
  cursor: pointer;
  border-radius: 5px;
}
.outfit.mydental-photos-blog-testimonials-main .col-lg-2.col-sm-12,
.outfit.mydental-photos-blog-testimonials-main .col-lg-10.col-sm-12 {
  padding: 0;
}

.filter-social-wrap ul li.filter:hover {
  background: var(--mpbt-bg);
  color: var(--mpbt-primary);
}

figure.gmap-embed-container iframe {
  width: fit-content;
  height: auto;
}

@media(max-width: 768px){

  .d-sm-none {
    display: block;
  }

  .d-lg-none { 
    display: none;
  }

  .mpbt-shortcode-main-class .page-sidebar {
    padding-top: 0;
  }
  .d-sm-done {
      display:none;
  }

  .left-side-content.col-md-9.col-lg-9 .patient-details > div {
    width: 50%;
  }

  .mpbt-shortcode-main-class button.mobile-filter.d-done {
    display:block;
    min-width: 80px;
    margin-left: 15px;
  }
  
  .photos-gallery-wrap img.gallery-image {
    width: 49%;
  }
  .photos-gallery-popup {
    justify-content: flex-start;
    padding-top: 50px;
  }
  

  .photos-gallery-popup span.close-popup,
  .mpbt-shortcode-main-class .photos-filter-popup:not(.d-sm-done) span.close-popup {
    position: fixed;
    display: inline-block;
    top: 19px;
    text-align: end;
    right: 24px;
    font-size: 32px;
  }
  .photos-gallery-popup span.close-popup,
  .mpbt-shortcode-main-class .photos-filter-popup:not(.d-sm-done) span.close-popup svg{
    width: 25px;
  }

  .photos-gallery-popup span.close-popup {
    top: 48px;
  }
  
  .mpbt-shortcode-main-class .photos-filter-popup:not(.d-sm-done) *,
  .mpbt-shortcode-main-class .photos-filter-popup:not(.d-sm-done) span.close-popup svg,
  .mpbt-shortcode-main-class .photos-filter-popup:not(.d-sm-done) span.close-popup path {
    color: var(--mpbt-primary);
    fill: var(--mpbt-white);
  }

  .mpbt-shortcode-main-class .photos-filter-popup:not(.d-sm-done) {
    position: fixed;
    z-index: 999;
    top: 0;
    background: var(--mpbt-bg);
    width: 100%;
    height: 100%;
    color: var(--mpbt-white);
    left: 0;
    animation: slideInFromTop 0.5s ease-out; /* Animation added */
  }

  .mpbt-shortcode-main-class .photos-filter-popup:not(.d-sm-done) .side-bar {
    overflow: scroll;
  }

  @keyframes slideInFromTop {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

}



@media (min-width: 568px) {
  .mpbt-shortcode-main-class .photos-list .post-inner,
  .mpbt-shortcode-main-class .postlist.postlist--standard .postlist__card {
      grid-column: auto / span 12;
  }
}

@media (min-width: 991px) {
  .mpbt-shortcode-main-class .photos-list .post-inner,
  .mpbt-shortcode-main-class .postlist.postlist--standard .postlist__card {
      grid-column: auto / span 8;
  }
}

.single-blog .mpbt-shortcode-main-class .postlist__card {
  grid-column: auto / span 24 !important;
}


@media (min-width: 576px) {
  .col-sm-1 { width: 8.33333%; }
  .col-sm-2 { width: 16.66667%; }
  .col-sm-3 { width: 25%; }
  .col-sm-4 { width: 33.33333%; }
  .col-sm-5 { width: 41.66667%; }
  .col-sm-6 { width: 50%; }
  .col-sm-7 { width: 58.33333%; }
  .col-sm-8 { width: 66.66667%; }
  .col-sm-9 { width: 75%; }
  .col-sm-10 { width: 83.33333%; }
  .col-sm-11 { width: 91.66667%; }
  .col-sm-12 { width: 100%; }
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
      float: left;
  }
}

@media (min-width: 768px) {
  .col-md-1 { width: 8.33333%; }
  .col-md-2 { width: 16.66667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333%; }
  .col-md-5 { width: 41.66667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.33333%; }
  .col-md-8 { width: 66.66667%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.33333%; }
  .col-md-11 { width: 91.66667%; }
  .col-md-12 { width: 100%; }
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
      float: left;
  }
}

@media (min-width: 992px) {
  .col-lg-1 { width: 8.33333%; }
  .col-lg-2 { width: 16.66667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.33333%; }
  .col-lg-5 { width: 41.66667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.33333%; }
  .col-lg-8 { width: 66.66667%; }
  .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.33333%; }
  .col-lg-11 { width: 91.66667%; }
  .col-lg-12 { width: 100%; }
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
      float: left;
  }
}