/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://example.com/hello-elementor-child
 Description:  Child theme for Hello Elementor
 Author:       Your Name
 Author URI:   https://example.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* You can add custom CSS below */

body {
  /*background-image: url('https://sdpediatrixnicu.com/wp-content/uploads/2025/10/Home-page-scaled.jpg');*/
  background-size: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
  font-family: "Inter", sans-serif !important;
}

.card-box {
  padding: 16px;
  box-shadow: rgba(0, 23, 141, 0.07) 0px 4px 10px;
  border-radius: 6px;
  color: initial;
  border: 1px solid #eceffe;
}

.card-title {
  margin: 0;
}

.card-box p {
  padding: 0;
  margin: 0;
}

.card-box p.card-box-content {
  padding: 10px 0;
}

.card.cm-card {
  box-shadow: rgba(204, 204, 204, 0.2) 0px 0px 15px;
  border: none;
}

.cm-post-title {
  font-size: 16px;
}

.cm-post-description {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0px;
}

.cm-card-date {
  margin: 0px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  font-family: Inter, sans-serif;
  border-radius: 48px;
  background-color: rgb(244, 248, 255);
  border: 1px solid rgb(234, 242, 255);
  padding: 3.2px 9.6px;
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  flex-shrink: 0;
}

p.cm-post-description.margin-0 {
  margin-bottom: 0px !important;
}

ul#menu-main-menu {
  margin-top: 20px;
}

/* hospital guideline filter.*/

.cm-filter {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.cm-filter select.form-select,
.cm-filter .form-control {
  height: 42px;
  width: auto;
}

.cm-filter-search input[type=text] {
  border: 1px solid #dee2e6
}

.cm-filter-search .btn {
  background-color: #4461f2;
  color: #fff;
  border: 1px solid #4461f2;
}

.cm-filter-search .btn:hover {
  background-color: #fff;
  color: #4461f2;
}

.cm-card a {
  height: 100%
}

.cm-card a .card-body {
  height: 100%
}

.cm-card a .card-body .cm-post-description {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.cm-filter-search {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  justify-content: end;
}

.cm-filter-search .btn:focus {
  background-color: #4461f2;
  color: #fff
}

.cm-filtergap {
  justify-content: flex-end;
}

@media screen and (max-width: 992px) {
  .cm-filter-search {
    margin-top: 16px !important;
  }

  .cm-filter select.form-select,
  .cm-filter .form-control {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .cm-filter {
    flex-wrap: wrap !important;
  }
}

/* doctors-physicians */
.cm-search-doctor {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.cm-dr-body {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.85);
  padding: 16px;
  border-radius: 12px;
}

.card-body .card-title {
  color: #4461F2 !important;
  margin-bottom: 4px !important;
}

.card-body .cm-dr-description {
  font-size: 12px;
  margin-bottom: 4px !important;
}

.cm-dr-description:last-child {
  font-size: 16px;
}

@media (max-width: 991px) {
  .card-img {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .card-img {
    height: 400px;
  }

  .card-body {
    padding: 12px;
  }

  .card img {
    width: 100%
  }
}

@media screen and (max-width: 350px) {
  .cm-mb {
    flex-direction: column;
    text-align: left;
    gap: 8px;
    justify-content: left !important;
  }
}

/* pagination */
.pagination li a {
  font-size: 16px;
  color: #AAABB0;
  font-weight: normal;
  border: none
}

.pagination .active>.page-link,
.page-link.active {
  background: #fff;
  color: #252525;
  font-weight: 700;
  border: none
}

.pagination .page-link:focus {
  background: #fff;
  box-shadow: none;
  color: #252525;
}

.pagination li a.next,
.pagination li a.prev {
  color: #252525;
  font-weight: 700;
  font-size: 2rem;
}

ul.pagination {
  align-items: center
}

/* Titlebar --- START */

li.breadcrumb-item.cm-breadcrumb-item a,
li.breadcrumb-item.cm-breadcrumb-item {
  font-size: 14px;
  font-weight: 400;
  color: #4461F2;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #4461F2 !important;
}

.cm-title-shortcode {
  color: #4461F2;
}

.elementor-kit-11 h3,
ol.breadcrumb.cm-breadcrumb {
  margin: 0px;
}

.cm-guide-card {
  background: #f4f8ff;
  border: 1px solid #cfe0ff;
  border-radius: 16px;
  padding: 15px;
}

.cm-guide-card p {
  margin: 0
}

/* Titlebar --- END */
.cm-social .elementor-social-icons-wrapper span a {
  font-size: var(--icon-size, 25px);
  height: calc(var(--icon-size, 25px) + 2 * var(--icon-padding, .5em));
  line-height: var(--icon-size, 25px);
  width: calc(var(--icon-size, 25px) + 2 * var(--icon-padding, .5em));
  padding: 7px;
}

/* Header --- START */
#cm-site-header {
  position: relative;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
}

#cm-site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  /* optional - ensure visibility */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Header --- END */

.e-grid.cm-gh-auto {
	grid-template-rows: auto;
}

.cm-week-event .eael-infobox.icon-on-top, .cm-week-event .eael-infobox.icon-on-bottom {
	height: 100%;
	justify-content: center;
}
/* Footer --- START */
ul.elementor-icon-list-items{
	list-style: none !important;
    padding: 0px !important;
}
/* Footer --- END */