/*
Theme Name: Nursing Caring
Theme URI:  https://cybernetikz.com
Author: cybernetikx
Author URI: https://cybernetikz.com
Description: Website
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: cybernetikz
*/
.navbar-nav li.current_page_item a,
.navbar-nav li.current-menu-parent>a {
  color: #CE9F43;
  text-decoration: none;
  border-bottom: 3px solid #CE9F43;
}

a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
  color: #CE9F43;
  text-decoration: none;
}

.harmony-care {
  padding: 40px 0px 100px;
}

.testimonials {
  padding: 0px 0px;
}

.search-form-wrap {
  display: none;
  position: absolute;
  top: 53px;
  right: 0;
  background: #fff;
  padding: 10px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-form-wrap.active {
  display: block;
}

/* The Overlay (background) */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999;
  right: 0;
  top: 0;
  background-color: #2D4337F2;
  background-color: rgba(45, 67, 55, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  max-width: 700px;
  margin: auto;
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

.search-submit {
  color: #fff;
  fill: #fff;
  cursor: pointer;
  font-size: 40px;
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  text-shadow: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  transition: color .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out, opacity .3s ease-in-out, box-shadow .3s ease-in-out;
}

.elementor-widget-cmsmasters-search__form-icon i.fa {
  font-size: 40px;
}

.overlay-content form {
  font-size: 40px;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.overlay-content .form-control:focus {
  outline: none;
  border: 0;
  color: #fff;
  box-shadow: none;
}

.overlay-content .form-control {
  border: 0px;
  background: transparent;
  font-size: 40px;
}

@media (max-width: 767px) {

  .navbar-nav li.current_page_item a,
  .navbar-nav li.current-menu-parent>a {
    color: #CE9F43;
    text-decoration: none;
    border-bottom: 0px solid #CE9F43;
  }

  .caretup {
    transform: rotate(180deg);
  }

  .navbar-nav li:hover>ul.dropdown-menu {
    display: none;
  }

  .navbar-nav li:hover>ul.dropdown-menu.show {
    display: block;
  }
  .video-resident iframe{
    width: 100%;
  }
}
.community-list li img {
  max-width: 280px;
}
.wpcf7-list-item {
  margin: 0;
}
a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}
.enquiry-form {
  padding: 10px 4% 4%;
  display: block;
}
.wpcf7-not-valid-tip {
    font-size: 14px !important;
}
.enquiry-form .form-group p, 
.wpcf7-form p
{
  margin-bottom: 0px !important;
}
/* Hidden background layout covering the screen */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Centered popup window contents box */
.modal-content {
  background-color: #edeff9;
  margin: 2% auto;
  padding: 20px;
  width: 50%;
  border-radius: 5px;
  position: relative;
}

/* Close action icon indicator */
.close-x {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 30px;
}

/* Visibility toggle assignment state */
.modal-overlay.active {
  display: block;
}

.carousel-inner-testimonials {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonials-right .left {
  width: 28%;
  float: left;
  position: relative;
}

.testimonials-right .left img {
  width: auto;
  height: auto;
  border-radius: 10px;
}

.testimonials-right .right {
  width: 65%;
  float: right;
  position: relative;
}

.testimonials-right .right h3 {
  font-family: "Lora", serif;
  font-size: 30px;
  font-weight: 400;
  color: #233828;
  line-height: 35px;
  margin-bottom: 5px;
}

.testimonials-right .right h3 span {
  float: right;
}

.testimonials-right .right h4 {
  font-size: 15px;
  line-height: 25px;
  font-weight: 400;
  color: #233828;
  margin-bottom: 20px;
}

.testimonials-right .right p {
  font-size: 17px;
  line-height: 28px;
  font-weight: 400;
  color: #625A53;
  margin-bottom: 0px;
}

.testimonials-right .right .fa {
  font-size: 18px;
  font-weight: 400;
  color: #ce9f43;
  line-height: 20px;
  margin-left: 5px;
}

.testimonials-right .slide-left-arrow,
.testimonials-right .slide-right-arrow
 {
  width: 40px;
  float: left;
  position: absolute;
  top: 0;
  line-height: 0px;
  z-index: 1000;
  cursor: pointer;
}

.testimonials-right .slide-left-arrow {
  left: -40px;  
}
.testimonials-right .slide-right-arrow {
  right: -40px;
}
.testimonials-right .slide-left-arrow .fa,
.testimonials-right .slide-right-arrow .fa
{
  font-size: 20px;
  line-height: 40px;
  color: #233e5a;
  text-align: center;
  width: 40px;
  background: #edddb3;
  height: 40px;
  border-radius: 50%;
}

.testimonials-right .slide-left-arrow .fa:hover,
.testimonials-right .slide-right-arrow .fa:hover {
  color: #FFF;
  background: #ce9f43;
}
.testimonials-right ol.carousel-indicators {
    padding: 0px;
    margin: 0px;
    bottom: -15px;
    z-index: 1000;
}
.testimonials-right ol.carousel-indicators li {
    padding: 0px;
    margin: 0px;
    list-style: none;
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #f4f6ff;
    border: 1px solid #facb6e;
    border-radius: 50%;
    margin: 0 3px;
    opacity: 1;
}
.testimonials-right ol.carousel-indicators li.active {
    width: 8px;
    height: 8px;
    background: #facb6e;
    border: 1px solid #facb6e;
}

@media (max-width: 650px) {
    .testimonials-right .left {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .testimonials-right .right {
        width: 100%;
    }
    .testimonials-right .slide-left-arrow {
      left: 0px;  
    }
    .testimonials-right .slide-right-arrow {
      right: 0px;
    }
}
#scroll-top-btn {
  position: fixed;  
  bottom: 32px;
  right: 32px;
  opacity: 0;
  pointer-events: none;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 10%;
  background: #facb6e; 
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(12px);
}
#scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.about-testimonials li {
    min-height: 290px;
}
.pagination {
  text-align: center; 
  margin: 20px auto;
}
.pagination .page-numbers {
  padding: 0px 5px;
}