/*

 Theme Name:   GeneratePress Child

 Theme URI:    https://generatepress.com

 Description:  Default GeneratePress child theme

 Author:       Tom Usborne

 Author URI:   https://tomusborne.com

 Template:     generatepress

 Version:      0.1

*/

@font-face {
  font-family: "Neue Haas Grotesk Text Pro";
  src: url("fonts/neue/Neue Haas Grotesk Text Pro.ttf") format("truetype");
}

@font-face {
  font-family: "Neue Haas Grotesk Text Pro";
  src: url("fonts/neue/Neue Haas Grotesk Text Pro Medium.ttf") format("truetype");
  font-weight: 500; /* Medium weight is typically 500 */
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Neue Haas Grotesk Text Pro";
}

p,
body,
a,span {
  font-family: "Neue Haas Grotesk Text Pro";
}

.entry-title {
  display: none;
}

.wp-block-post-title {
  display: none;
}

.comment-respond {
  display: none;
}

h1{
  font-size: 64px;
  font-weight: 500 !important;
}

h2{
  font-size: 42px;
  font-weight: 500 !important;
}

h3{
  font-size: 34px;
  font-weight: 500 !important;

}

h4{
  font-size: 24px;
  font-weight: 500 !important;

}


p{
  font-size: 16px;
}

@media(max-width:768px){
  h1{
    font-size: 40px;
  }

  h2{
    font-size: 38px;
  }

  h3{
    font-size: 30px;
  }

  p{
    font-size: 16px;
  }

}

/* -------------------------------Home Page style--------------------------- */
.post-styling img {
  width: 100%;
}

.post-styling a {
  text-decoration: none;
  color: #000000;
}

@media (max-width: 1024px) {
  .elements-wrap {
    display: flex;
    flex-wrap: wrap;
    column-gap: 80px;
    row-gap: 40px;
    justify-content: space-around;
  }
}

@media (max-width: 552px) {
  .elements-wrap {
    column-gap: 20px !important;
  }
}

@media (max-width: 412px) {
  .elements-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.values-heading {
  white-space: nowrap;
}

@media (max-width: 416px) {
  .set-img-width figure {
    width: 50px;
  }

  .co-values {
    column-gap: 15px !important;
  }
}

@media (max-width: 1024px) {
  .set-img-width-2 figure {
    width: 30px;
  }

  .values-heading {
    width: 80% !important;
  }

  .values-description {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .set-img-width-2 figure {
    width: 25px;
  }
}

.full-width-img {
  width: 100%;
  max-height: 550px;
}

.trimmed-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Number of lines to show */
  -webkit-box-orient: vertical;
  max-height: 2.8em; /* Adjust based on your font size */
}

/* ------------------------------------------------- Header menu --------------------------- */
.primary-menu-alignment {
  display: flex !important;
  justify-content: space-between !important;
  gap: 20px;
  white-space: nowrap;
}

.primary-menu-alignment a {
  text-decoration: none;
  font-size: 14px;
  color: #4A545D;
  font-weight: 500;
}

.primary-menu-alignment ul {
  position: relative;
  margin: 0;
  list-style: none;
}

.primary-menu-alignment .submenu {
  display: none;
  position: absolute;
  top: 210%;
  background-color: #fff;
  width: 234px;
}

.primary-menu-alignment li:hover > .submenu {
  display: block;
}

.primary-menu-alignment .blank-element {
  display: relative;
}
.primary-menu-alignment .blank-element::after {
  content: "";
  height: 40px;
  width: 100%;
  position: absolute;
  top: 20px;
  /* left: 60px; */
  right: 0px;
}

.primary-menu-alignment .submenu li {
  padding: 18px 25px;
  border-bottom: 1px solid #abb8c3;
  background: #f0f0f0;
}

.primary-menu-alignment li:hover {
  text-decoration: underline;
  text-decoration-color: green;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.login-text {
  white-space: nowrap;
}

.login-text a{
  text-decoration:none;
  color:#009688;
  font-weight:500;
}
/* ---------------------------------------------------Mobile Menu-------------------------------- */
.fullscreen-menu-container {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100vw;
  height: 88vh;
  background: white;
  /* color: white; */
  z-index: 5;
  overflow-y: scroll;
}

.fullscreen-menu-container.active {
  display: block;
}

.menu-close {
  display: none;
  position: absolute;
  top: 4px;
  right: 0;
  font-size: 30px;
  cursor: pointer;
  color: black;
  height: 50px;
  width: 50px;
}

.menu-close img {
  height: 30%;
  width: 30%;
}

.burger-menu {
  position: absolute;
  top: 4px;
  right: 0;
  font-size: 30px;
  cursor: pointer;
  /* color: #333; */
  background: none;
  border: none;
  height: 50px;
  width: 50px;
}

.burger-menu.hidden {
  display: none;
}

.fullscreen-menu-container ul {
  list-style: none;
  margin: 0;
}

.fullscreen-menu-container a {
  text-decoration: none;
}

.fullscreen-menu-container a {
  text-decoration: none;
}

.fullscreen-menu-container > ul > li {
  border-bottom: 1px solid #e6e9eb;
  padding: 20px 25px;
}

.fullscreen-menu-container > ul > li:first-child {
  border-top: 1px solid #e6e9eb;
}

.fullscreen-menu-container .submenus li {
  padding: 20px 25px;
  border-top: 1px solid #e6e9eb;
}

.fullscreen-menu-container .submenus li:first-child {
  margin-top: 20px;
}

.fullscreen-menu-container .submenus li:last-child {
  padding-bottom: 0;
}

.submenus li {
  padding-left: 0;
}

.menu-arrow {
  position: relative;
  display: inline-block;
}

.menu-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: 10px;
  height: 7px;
  background-image: url(https://demo.isarva.in/CWT-SML-wp/wp-content/uploads/2025/01/menu-arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* .menu-arrow-3::before {
  left: 131px;
} */

.fullscreen-menu-container .submenus {
  display: none;
}

.submenus.active {
  display: block;
}

.fullscreen-menu-container a {
  color: black;
}

.login-in{
  padding: 20px 25px;
}

.login-in img{
  margin-right:10px;
}

/* --------------------------------------------------- Footer menu ------------------------------ */
.footer-menu-style li {
  list-style: none;
  /* list-style-image: url("https://demo.isarva.in/CWT-SML-wp/wp-content/uploads/2025/01/green-arrow.png"); */
  line-height: 2;
}

.footer-menu-style ul {
  margin-left: 0px;
}

.footer-menu-style a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
}

.footer-logo-container {
  height: fit-content;
}

.footer-menu-style a:hover{
  text-decoration:underline;
  text-underline-offset:5px;
}

.green-text{
  color:#00c7b1;
}
/* ---------------------------------------------------- Services Page -------------------------------- */

.se-tab-img-width figure {
  width: 100%;
}

.se-tab-img-width img {
  width: 100%;
}

@media (max-width: 1024px) {
  .tab-button-style {
    justify-content: unset !important;
    max-width: 100%;
    white-space: nowrap;
    overflow-x: auto;
  }
}

/* ------------------------------------------------ Facilities Style ---------------------------- */
.bullet-style li {
  list-style: none;
  list-style-image: url("https://demo.isarva.in/CWT-SML-wp/wp-content/uploads/2025/01/svgexport-15-6-1.png");
  line-height: 2;
}

.bullet-style {
  margin-left: 22px;
}

.facilities-tab .gb-button-text {
  width: 100%;
  text-align: start;
}

/* ----------------------------------------Contact Form------------------------------------------------------- */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  font-family: "Arial", sans-serif;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 13px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #f9f9f9;
  font-size: 16px;
  box-sizing: border-box;
}

/* Reduce textarea height */
.form-container textarea {
  height: 120px; /* Adjust as needed */
  resize: vertical; /* Optional: allows manual resize */
}

/* Contact Form 7 submit button fix */
.form-container input[type="submit"] {
  width: 100%;
  background-color: #007a68;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container input[type="submit"]:hover {
  background-color: #006253;
}

.form-container > p:empty {
  display: none !important;
}


/* ----------------------------------------- Policies and procuderes page ------------------------------ */
.custom-post-container {
  display: none;
}

.custom-post-container.active {
  display: block;
}

.custom-post-container > ul {
  margin: 0;
  background-color: #0e3e49f2;
  padding: 20px 30px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.custom-post-container > ul > li {
  list-style: none;
  padding-bottom: 15px;
}

.custom-post-container a {
  text-decoration: none;
  font-size: 14px;
  color: white;
}

.custom-post-container a:hover{
  color: #00c7b1;
}

/* .custom-post-container .current-page-heading a {
  font-size: 16px;
  color: #00c7b1;
}

.custom-post-container .current-page-heading {
  margin-bottom: 15px;
} */

.custom-post-container .parent-item {
  color: white;
  font-size: 14px;
  padding-left: 8px;
}

.custom-post-container .parent-item li {
  list-style: none;
}

.custom-post-container .parent-item li {
  margin-bottom: 15px;
}

.custom-post-container .parent-item li:first-child {
  margin-top: 15px;
}

.menu-arrow-2 {
  position: relative;
  display: inline-block;
}

.menu-arrow-2::before {
  content: "";
  position: absolute;
  right: 0;
  top: -10px;
  width: 10px;
  height: 11px;
  background-image: url(https://demo.isarva.in/CWT-SML-wp/wp-content/uploads/2025/01/arrow-2.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.parent-item .child-item {
  display: none;
}

.parent-item .child-item.active {
  display: block;
}
/*------------------------------- menu stye of policy and procedure -------------------------------------*/
.policies-and-procedures-menu-list ul {
  margin: 0;
}

.policies-and-procedures-menu-list li {
  list-style: none;
  padding: 15px 30px;
  background-color: #1a4752;
  margin: 15px 0px;
  white-space: nowrap;
  border-radius: 5px;
}

.policies-and-procedures-menu-list a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.policies-and-procedures-menu-list a:hover {
  color: #00c7b1;
  transform: translateX(5px);
}

.policies-menus-has-submenus .policies-submenu {
  display: none;
}

.policies-menus-has-submenus .policies-submenu.active {
  display: block;
}

.banner-links a {
  text-decoration: none;
  color: white;
}

.banner-links a:hover {
  text-decoration: underline;
  color: #00c7b1;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* ----burger-menu-2-design-------- */

.burger-menu-2 {
  padding: 20px;
  background-color: #1a4752;
  margin-top: 10px;
  color: white;
  border-radius: 35px;
  left: 100px;
  /* bottom: 46%; */
}

/* .menu-close-2 {
  display: none;
} */
.menu-close-2 {
  padding: 20px;
  background-color: #1a4752;
  margin-top: 10px;
  color: white;
  border-radius: 35px;
  left: 100px;
  /* bottom: 46%; */
}

.policies-and-procedures-menu-container,
.policies-and-procedures-post-container {
  display: none;
}
.policies-and-procedures-menu-container.active {
  display: block;
  margin-top: 60px;
}

@media(max-width:1024px){
  .policies-and-procedures-menu-container.active {
  margin-top: 30px;
}
}

.policies-and-procedures-menu-container > ul {
  margin: 0;
}

.policies-and-procedures-post-container.active {
  display: block;
}

hr {
  margin-top: 70px;
  margin-bottom: 0px;
}

/* ---others */
.policies-and-procedures-menu-container ul li {
  /* display: inline-block; */
  margin-right: 5px;
  margin-top: 20px;
  list-style: none;
}

.policies-and-procedures-menu-container .submenus li {
  list-style: url("https://demo.isarva.in/CWT-SML-wp/wp-content/uploads/2025/01/two-arrows.png");
}

.policies-and-procedures-menu-container ul li a {
  text-decoration: none;
  color: white;
}

.policies-and-procedures-menu-container ul li a:hover {
  color: #00b19e;
}




.policies-and-procedures-menu-container .submenus {
  display: none;
}

.policies-and-procedures-menu-container .submenus.active {
  display: block !important;
}

/* Policies */
.policies-text {
  padding: 20px;
  background-color: #1a4752;
  margin-top: 10px;
  color: white;
  border-radius: 35px;
}

.policies-and-procedures-post-container > ul {
  margin: 0;
}

.policies-and-procedures-post-container ul li {
  /* display: inline-block; */
  margin-right: 5px;
  margin-top: 20px;
  list-style: none;
}

.policies-and-procedures-post-container ul:first-child {
  margin-top: 60px;
}

@media(max-width:1024px){
  .policies-and-procedures-post-container ul:first-child {
    margin-top: 30px;
  }
}

.policies-and-procedures-post-container ul li a {
  text-decoration: none;
  color: white;
}

.policies-and-procedures-post-container ul li a:hover{
  color: #00b19e;
}

.policies-and-procedures-post-container .child-item {
  /* margin: 0; */
}

.policies-and-procedures-post-container .parent-item,
.policies-and-procedures-menu-container .policies-menus-has-submenus-2 {
  position: relative;
}

.policies-and-procedures-post-container .parent-item::after,
.policies-and-procedures-menu-container .policies-menus-has-submenus-2::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 11px;
  width: 12px;
  height: 12px;
  background-image: url(https://demo.isarva.in/CWT-SML-wp/wp-content/uploads/2025/01/menu-arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.policies-and-procedures-menu-container .policies-menus-has-submenus-2::after{
  top:5px;
  filter: brightness(3.5);
}

.policies-and-procedures-post-container .parent-item::after {
  filter: invert(1);
}

/*----------------------------------------------------------------------------------------------------------------- */

.parent-item .child-item li {
  list-style-image: url(https://demo.isarva.in/CWT-SML-wp/wp-content/uploads/2025/01/two-arrows.png);
}

.privacy-page-button.remove-radius {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.privacy-page-button {
  cursor: pointer;
}

hr.wp-block-separator {
  height: 1px;
  width: 100%;
}

/* --------------------------------------------------------------- News and Media Page ----------------------------------------------------- */

.news-events-container {
  display: flex;
  flex-wrap: wrap;
}
.taxonomy-filters {
  flex: 0 0 30%;
  padding-right: 20px;
}
.news-posts-container {
  flex: 0 0 70%;
}
.taxonomy-filter-section {
  margin-bottom: 60px;
}
.radio-filters {
  margin-bottom: 15px;
}
.radio-item {
  margin-bottom: 25px;
}

.radio-item input{
 transform:scale(1.5);
}

.radio-item label{
 margin-left:5px;
}


.news-post {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.loading-spinner {
  text-align: center;
  padding: 20px;
}

.news-pagination {
  text-align: center;
  padding: 20px 0;
  clear: both;
}

.news-pagination .page-numbers {
  display: inline-block;
  padding: 5px 17px;
  margin: 0 5px;
  border: 1px solid #007a68;
  text-decoration: none;
  color:#007a68;
}

.news-pagination .page-numbers.current {
  background-color: #007a68;
  font-weight: bold;
  color: white;
}

@media (max-width: 768px) {
  .news-events-container {
      flex-direction: column;
  }
  .taxonomy-filters, .news-posts-container {
      flex: 0 0 100%;
  }
  .taxonomy-filters {
      padding-right: 0;
      margin-bottom: 20px;
  }

  .taxonomy-filter-section {
    margin-bottom: 30px;
  }
}

  .news-post {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
      }

      @media(max-width:1024px){
          .news-post{
      flex-direction:column;
          }

      }

  .post-thumbnail img {
      max-width: 384px;
      height: auto;
      display: block;
  }

  @media(max-width:768px){
      .post-thumbnail img{
          max-width:100%;
      }
  }
  .post-content {
      flex: 1;
      min-width: 200px;
  }

  .post-content h4{
      font-size:20px;
  }

  .post-content h4 a {
      text-decoration:none;
      color:#007a68; 
  }

  .post-content h4 a:hover{
      color:#007a68; 
      text-decoration:underline;
      text-underline-offset:5px;
  }

  .taxonomy-filter-section h3{
      font-weight:bold;
  }
/* ------------------------------ */
.mobile-filter-toggle {
  display: none;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  /* Hide filters by default on mobile */
  .taxonomy-filters {
      display: none;
  }
  
  /* Show the mobile toggle button */
  .mobile-filter-toggle {
      display: block;
      margin-bottom: 40px;
  }
  
  .mobile-filter-toggle button {
      padding: 10px 20px;
      background-color: #007a68;
      border: 1px solid #007a68;
      border-radius: 4px;
      cursor: pointer;
      font-weight: bold;
      width:100%;
  }
  
  /* When filters are active, style them nicely */
  .taxonomy-filters.active {
      display: block;
      margin-top: 15px;
      padding: 0 15px;   
      border-radius: 4px;
  }
}

.filter-close-btn {
  position: absolute;
  /* top: -32px; */
  right: 10px;
  background: #007a68;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 10px;
  font-weight: 500;
}

/* Make sure taxonomy-filters has relative positioning */
.taxonomy-filters.active {
  position: relative;
}

.read-more{
  color:#007a69;
}

/* ---------------------------News and Media detail page ----------------- */
.dynamic-content a{
 color:#007a69;
}

/* ----------------------------------------- Search Bar design --------------------------------------- */
.modal-search-container {
  width: 65%;
  border-radius: 70px;
}

.fancybox-close-small {
  display: none;
  right: 30px !important;
  top: -1px !important;
}

.modal-search-container input {
  width: 95%;
  border: none;
  background-color: #fff !important;
  outline: 0;
  font-size: 1.5em;
}

@media (max-width: 1024px) {
  .modal-search-container {
    width: 90%;
  }
  .modal-search-container input {
    width: 88%;
  }
}


.psc-search-results {
  font-family: Arial, sans-serif;
  margin-top: 20px;
}

.psc-search-item {
  text-decoration: none;
  display: block;
  padding: 15px 0;
}

.psc-search-title {
  font-size: 18px;
  margin-bottom: 5px;
  line-height: 1.2em;
  font-weight: bold;
  text-transform: none;
  color: #007a69;
  text-decoration: none;
}

.psc-search-item:hover .psc-search-title {
  text-decoration: underline;
}

.psc-search-excerpt {
  color: #000000;
}

.psc-search-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 15px 0;
}

/* Pagination Styling */
.psc-pagination {
  text-align: center;
  margin-top: 20px;
}

.psc-pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 5px;
  /* background: #f5f5f5; */
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  display: flex;
  text-decoration: none;
  list-style: none;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.psc-pagination a.page-numbers:hover {
  background: #007a69;
  color: #fff;
}

.psc-pagination .current {
  background: #007a69;
  color: #fff;
  font-weight: bold;
}

/* initial-diagnosis image strech */
.initial-diagnosis-container-wrapper figure {
  height: 100%;
}
.initial-diagnosis-container-wrapper img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.psc-search-excerpt {
  word-wrap: break-word;
  white-space: normal;
}

/* <script>
  document.addEventListener("DOMContentLoaded", function () {
    document.querySelectorAll('[gb-image-5cff9e7d]').forEach(el => el.removeAttribute('title'));
  });
</script> */
 

/* Remove underline from contact number and fax links */
.contact-info a {
    text-decoration: none !important;
}

/* Optional: Change link color on hover if needed */
.contact-info a:hover {
    text-decoration: none;
    color: inherit; /* or choose your preferred color */
}
.cwt-contact a{
	    text-decoration: none !important;
      color:inherit;
}

.cwt-contact a:hover{
  color:#1e73be;
}

/* --- */

.no-scroll {
  overflow: hidden;
}

.search-icon {
	display:none !important;
}

 