﻿/* Completion layer for the restored Nidan Child Care site. */
body {
  font-family: "Open Sans", Arial, sans-serif;
  color: #555;
}

a {
  color: #3cc1b4;
}

#top-header {
  background: #3cc1b4;
}

#main-header {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

#logo {
  max-height: 78px;
}

#top-menu li a,
.nidan-nav a {
  color: #3d3d3d;
  font-weight: 600;
}

#top-menu li a:hover,
.nidan-nav a:hover {
  color: #3cc1b4;
}

.et_pb_more_button,
.et_pb_button,
.small-button,
.nidan-button {
  background: #3cc1b4;
  border: 0;
  border-radius: 3px;
  color: #fff !important;
  display: inline-block;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
}

.et_pb_more_button:hover,
.et_pb_button:hover,
.small-button:hover,
.nidan-button:hover {
  background: #319f94;
  color: #fff !important;
}

.nidan-page {
  background: #fff;
}

.nidan-topbar {
  background: #3cc1b4;
  color: #fff;
  font-size: 13px;
  line-height: 1.7;
}

.nidan-topbar .container,
.nidan-header .container,
.nidan-section .container,
.nidan-footer .container {
  margin: 0 auto;
  max-width: 1081px;
  padding-left: 24px;
  padding-right: 24px;
}

.nidan-topbar .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 7px;
  padding-top: 7px;
}

.nidan-topbar a {
  color: #fff;
}

.nidan-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nidan-header .container {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 88px;
}

.nidan-logo img {
  display: block;
  max-height: 76px;
  width: auto;
}

.nidan-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.nidan-nav a {
  font-size: 15px;
  text-decoration: none;
}

.nidan-hero {
  background-color: #f8fbfb;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid #e5eeee;
  position: relative;
}

.nidan-hero:before {
  background: rgba(255, 255, 255, 0.78);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.nidan-hero .container {
  min-height: 290px;
  padding-bottom: 58px;
  padding-top: 58px;
  position: relative;
}

.nidan-hero h1 {
  color: #333;
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.nidan-hero p {
  color: #555;
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
}

.nidan-section {
  padding: 48px 0;
}

.nidan-section.alt {
  background: #f7fbfb;
}

.nidan-section h2 {
  color: #333;
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 18px;
}

.nidan-section h3 {
  color: #333;
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.nidan-section p,
.nidan-section li {
  font-size: 15px;
  line-height: 1.8;
}

.nidan-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nidan-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nidan-card {
  background: #fff;
  border: 1px solid #e6eeee;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

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

.nidan-card-body {
  padding: 22px;
}

.nidan-feature-list {
  margin: 0;
  padding-left: 20px;
}

.nidan-doctor {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: 210px 1fr;
}

.nidan-doctor img {
  border: 1px solid #e4eeee;
  border-radius: 4px;
  display: block;
  width: 100%;
}

.nidan-contact-box {
  background: #fff;
  border-left: 4px solid #3cc1b4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 22px;
}

.nidan-footer {
  background: #222;
  color: #bbb;
  padding: 34px 0 18px;
}

.nidan-footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.nidan-footer a {
  color: #ddd;
}

.nidan-footer-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.nidan-copyright {
  border-top: 1px solid #333;
  font-size: 13px;
  margin-top: 24px;
  padding-top: 16px;
}

.restored-note,
.ecwd_widget,
#recent-comments-4 {
  display: none;
}

.et_pb_team_member_image img,
.et_pb_post img {
  object-fit: cover;
}

.et_pb_post {
  border-bottom: 1px solid #eee;
  margin-bottom: 28px;
  padding-bottom: 24px;
}

.et_pb_post img {
  border-radius: 3px;
}

@media (max-width: 980px) {
  .nidan-grid,
  .nidan-grid.two,
  .nidan-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nidan-header .container,
  .nidan-topbar .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .nidan-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nidan-grid,
  .nidan-grid.two,
  .nidan-footer-grid,
  .nidan-doctor {
    grid-template-columns: 1fr;
  }

  .nidan-hero h1 {
    font-size: 27px;
  }

  .nidan-section {
    padding: 34px 0;
  }
}

