/* Directory Entry */
.nwp_directory_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-evenly;
}
.directory_entry_outer {
  max-width: 286px;
  padding: 10px;
  box-shadow: 2px 2px 15px;
}
.directory_thumbnail {
  width: 100%;
  max-width: 266px;
  height: auto;
  max-height: 177px;
  position: relative;
}
.directory_thumbnail .overlay {
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.399);
  z-index: 2;
  opacity: 0;
  border-radius: 5px;
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -ms-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}

.directory_thumbnail img {
  border-radius: 5px;
}

.directory_thumbnail_caption{
  color: #fff;
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translate(-50%);
  width: 100%;
  text-align: center;
}
.directory_thumbnail:hover .overlay {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.directory_thumbnail_caption .directory_excerpt{
  font-size: smaller;
  color: rgba(255, 255, 255, 0.719);
}
.directory_content {
  min-height: 177px;
  min-width: 250px;
}
.directory_entry_title {
  margin: 0;
  border-bottom: 1px solid gray;
}
span.js-rmp-vote-count {
  font-size: 12px;
  font-weight: 600;
}
.rmp-icon--ratings {
  font-size: inherit;
}
span.js-rmp-avg-rating {
  background-color: green;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
}
span.js-rmp-vote-count::after {
  content: ' Votes';
}
.directory_entry_social_links{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 18px;
  margin: 5px 0;
}
.directory_entry_social_links a:hover {
  opacity: .6;
}
.directory_entry_footer {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 20px;
  border-top: 1px solid rgba(128, 128, 128, 0.597);
  border-bottom: 1px solid rgba(128, 128, 128, 0.597);
  justify-content: space-evenly;
}
.imgButton.readMore:after{
  content: '';
  background:url('../img/read-more.webp');
  width: 75px; /* width of the image */;
  height: 30px;/* height of the image */;
  display: inline-block;
  background-position-x: center;
  background-position-y: center;
  background-size: contain;
  background-repeat: no-repeat; 
}
.imgButton.review:after{
  content: '';
  background:url('../img/give-comment.png');
  width: 75px; /* width of the image */;
  height: 30px;/* height of the image */;
  display: inline-block;
  background-position-x: center;
  background-position-y: center;
  background-size: contain;
  background-repeat: no-repeat;  
}
.imgButton.reviews:after{
  content: '';
  background:url('../img/reviews.png');
  width: 75px; /* width of the image */;
  height: 30px;/* height of the image */;
  display: inline-block;
  background-position-x: center;
  background-position-y: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* end Directory Entry */
ol.comment-list {
  list-style: none;
}
h2.heading {
  border-left: 3px solid;
  border-color: #286090;
  padding: 5px 10px;
  background-color: #656565;
  color: #fff;
}
.nwp-container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}
.nwp-flex-col {
  display: flex;
  gap: 20px;
}

.nwp-flex-col .flex-item.sidebar{
  border: 1px solid rgba(128,128,128,.46);
  box-shadow: 2px 2px 50px #888888;
  padding: 10px;
  width: 33.33%;
}
.nwp-flex-col .flex-item.main{
  border: none;
  box-shadow: none;
  width: 66.66%;
}


.nwp-list {
    text-align: left;
}

#nwp_gallery .mySlides {display: none;}

#nwp_gallery img {
    vertical-align: middle;
    max-height: 250px;
}

/* Slideshow container */
#nwp_gallery .slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
#nwp_gallery .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
#nwp_gallery .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background-color: #0000001f;
  border-radius: 5pz;
}

#nwp_gallery .nwp-arrow {
  position: absolute;
  top: 45%;
  padding: 7px 15px;
  background: #0000001f;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
#nwp_gallery .nwp-arrow.prev {
  left: 10px;
}
#nwp_gallery .nwp-arrow.next {
  right: 10px;
}

/* The dots/bullets/indicators */
#nwp_gallery .dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor: pointer;
}

#nwp_gallery .active {
  background-color: #717171;
}

/* Fading animation */
#nwp_gallery .fade {
    opacity: 1;
    animation-name: fade;
    animation-duration: 1.5s;
}
.nwp-office-address {
  text-align: center;
}
.nwpButtonContainer {
  text-align: center;
}


@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Business Hour */
.storeOpenContainer{
  text-align: center;
  margin: 20px 0;
}
.red {
  color: red;
  font-weight: 600;
}
.green {
  color: green;
  font-weight: 600;
}
/* end Business Hour */



/* Social Links */
.nwpSocialLinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
  font-size: 17px;
  margin: 10px 0;
}
.social_icon {
  height: 30px;
  width: 30px;
  content: '';
  background-position: center;
  background-size: contain;
  display: block;
  margin: auto;
}
.facebook {
  background-image: url(../img/facebook.png);
}
.twitter {
  background-image: url(../img/twitter.png);
}
.whatsapp {
  background-image: url(../img/whatsapp.png);
}
.telephone {
  background-image: url(../img/telephone.png);
}
.instagram {
  background-image: url(../img/Instagram.png);
}
.mobile {
  background-image: url(../img/mobile.png);
}
.e-mail {
  background-image: url(../img/e-mail.png);
}
.website {
  background-image: url(../img/Website.png);
}
.nwpSocialLinks a{
  font-size: 70%;
}
/* End Social Links */
/* Payment Method */
.nwp-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: space-evenly;
}
.nwp-flex-item-2 {
  width: 45%;
  padding: 20px;
  border: 1px solid gray;
  border-radius: 5px;
  margin: 5px;
}
.paymentMethodText {
  text-align: center;
  font-weight: 800;
  margin: 5px 0 -15px;
}

/* end Payment Method */
/* Category List */
.nwp-tag-text {
  margin: 10px 0;
}
.nwpCatList {
  display: flex;
  gap: 5px;
  justify-content: space-around;
  flex-wrap: wrap;
}
.nwpCatList a {
  display: inline-block;
  padding: 5px 25px;
  color: #fff;
  border-radius: 20px;
}
.nwpCatList a:nth-child(3n+1) {
   background-color: #8a1111be;
}
.nwpCatList a:nth-child(3n+2) {
   background-color: #10c91dbe;
}
.nwpCatList a:nth-child(3n+0) {
   background-color: #286090;
}
.nwpCatList.cat a {
  background-color: #286090;
}

.nwpCatList a:hover {
  opacity: .8;
}

/* end Category List */

.single .entry-title {
  font-size: 20px;
  padding: 0 0 0px;
  margin: 0;
  letter-spacing: unset;
}
.owner_details {
  text-align: center;
}

.owner_photo {
  border-radius: 15px;
  box-shadow: 5px 5px 15px 0;
  color: #a5a5a5;
  max-width: 200px;
}
h3.owner_name {
  margin: 10px 0 0 ;
}

.specialization_details {
  text-align: justify;
}

.taxonomy_list li {
  position: relative;
  cursor: pointer;
}
.taxonomy_list .sub_list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 5px 10px 5px 27px;
  margin-left: -17px;
  box-shadow: 4px 4px 13px;
  
}
.taxonomy_list li:hover >ul.sub_list,
ul.sub_list:hover  {
  display: block;
  z-index: 2;
}
.imgButton.taxReadmore:after{
  content: '';
  background:url('../img/read-more.webp');
  width: 20px; /* width of the image */;
  height: 20px;/* height of the image */;
  display: inline-block;
  background-position-x: center;
  background-position-y: center;
  background-size: contain;
  background-repeat: no-repeat; 
  position: absolute;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 956px) {
  .nwp-flex-col {
    display: block;
  }
  .nwp-flex-col .flex-item.sidebar{
    width: 100%;
  }
  .nwp-flex-col .flex-item.main{
    width: 100%;
  }
}
