/* v1.1 */
:root {
  --e-blue: #26bcf7;
  --e-blue-light: #4ec8f9;
  --e-blue-dark: #09acec;
}

body {
  font-family: "Times New Roman", Times, serif;
  background-color: #f2f2f2;
}

a {
  color: var(--e-blue);
}

a:hover {
  color: var(--e-blue-light);
}

a:focus {
  color: var(--e-blue-dark);
}

.navbar {
  background-color: #b0b0b0;
}

.navbar-nav li {
  min-width: 100px;
  text-align: center;
}

.navbar-brand {
  font-weight: bold;
}

.navbar .dropdown-menu {
  background-color: #000;
  color: #fff;
}

.navbar .dropdown-menu a {
  color: #fff;
}

#home-contacts {
  position: fixed;
  top: 175px;
  left: 40px;
  z-index: 99999;
}

.home-contact-icon {
  height: 32px;
  width: 32px;
  border-radius: 100%;
  background-color: black;
  color: white;
  border: 0;
  outline: 0;
  margin: 5px auto;
}

#hero-section {
  background-color: #e0e0e0;
  padding: 40px;
}

#hero-section.probono {
  background-image: url(/static/placeholder.jpg);
}

.hero-left {
  padding: 0px;
}

.hero-left table {
  width: 100%;
  text-align: center;
  border-collapse: separate;
  border-spacing: 3px;
}

.button2 {
  margin-bottom: 8px;
}

.nine-button {
  cursor: pointer;
  width: 33%;
  transition: 0.3s;
  padding: 3px;
  border-radius: 3px;
  /* text-transform: uppercase; */
}

.nine-button div {
  height: 100%;
  align-items: center;
  align-content: center;
  text-align: center;
}

.nine-button a {
  color: inherit;
  text-decoration: none;
}

.nine-button.white {
  background-color: #fff;
}

.nine-button.white:hover {
  background-color: #f3f4f5;
}

.nine-button.grey {
  background-color: #adb5bd;
}

.nine-button.grey:hover {
  background-color: #ced4da;
}

.nine-button.black {
  background-color: #000;
  color: white;
}

.nine-button.black:hover {
  background-color: #212529;
}

#hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.homepage-title-text {
  font-size: 3.5rem;
  font-weight: bold;
}

.stats {
  font-size: 1.2rem;
}

.testimonial {
  font-style: italic;
}

.testimonial-slider {
  position: relative;
}

.testimonial-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.testimonial-slider .prev {
  left: -30px;
}

.testimonial-slider .next {
  right: -30px;
}

#testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  width: 7px;
  height: 7px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #adb5bd;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #000;
  /* Blue color for active dot */
}

.empty {
  height: 25px;
}

.empty-50 {
  height: 50px;
}

.empty-100 {
  height: 100px;
}

hr {
  margin-top: 50px;
  margin-bottom: 50px;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.about-us-p {
  padding: auto;
}

.service-outer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
  justify-items: center;
  align-items: center;
  padding-left: 100px;
  padding-right: 100px;
}

.service-inner-div {
  width: 150px;
  height: 200px;
  padding: 10px;
  /* font-weight: bold; */
  /* display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px; */
}

.service-inner-div img {
  height: 100px;
  width: 100px;
  border-radius: 100%;
  margin-bottom: 5px;
  margin-top: 10px;
}

.make-an-appointment {
  /* border: 1px solid; */
}

.make-an-appointment input {
  border: 0px;
  outline: 0px;
  border-bottom: 1px solid #adb5bd;
  margin-bottom: 30px;
  width: 100%;
  padding: 10px;
  padding-top: 0px;
}

.make-an-appointment input:focus {
  border-bottom: 2px solid #343a40;
  margin-bottom: 29px;
}

.make-an-appointment textarea {
  border: 1px solid #adb5bd;
  outline: 0;
  margin-bottom: 30px;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  height: 150px;
}

.make-an-appointment textarea:focus {
  border: 2px solid #343a40;
  margin-bottom: 30px;
}

.send-button {
  padding: 10px;
  width: 128px;
  font-size: 1.15rem;
}

.footer {
  background: #212529;
  padding: 50px;
  margin: 0px;
  margin-top: 50px;
  color: white;
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer a:hover {
  color: white;
  text-decoration: none;
}

.footer .contact-icon {
  background: white;
  color: #212529;
  border-radius: 100%;
  height: 24px;
  width: 24px;
  margin-right: 10px;
  padding: 6px;
  font-size: 0.75rem;
}

.footer ul {
  list-style-type: none;
  padding-left: 0px;
}

.footer li {
  margin-bottom: 5px;
}

.admin-bar {
  color: white;
  background-color: #212529;
  padding: 5px 0px;
  position: sticky;
  top: 0px;
  z-index: 999;
}

.admin-bar .admin-options {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.admin-options p {
  margin: 0px;
}

.admin-options a {
  color: white;
}

/* blog related */
.blog-container {
  border-radius: 10px;
  background-color: white;
  padding: 50px;
  box-shadow: 0 0 10px #0000000f;
  margin-bottom: 10px;
}

.featured-image {
  width: calc(100% + 100px);
  position: relative;
  left: -50px;
  top: -50px;
  margin-bottom: -45px;
  padding-top: 40%;
  /* maintaining a 40% ratio */
}

.featured-image img {
  width: 100%;
  border-radius: 10px 10px 0px 0px;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .blog-container.blog-home {
    position: relative;
    top: 0px;
} */

.blog-home {
  position: relative;
  top: 0px;
}

.blog-container.blog-sidebar {
  margin-right: 0px;
  position: relative;
  top: -30px;
  right: -12px;
}

.blog-post-title-link {
  color: black;
  text-decoration: none;
}

.grey-text {
  color: grey;
}

.blog-container.sticky {
  width: 100%;
  position: sticky;
  top: 25px;
}

.latin-word-table {
  border: 1px solid var(--bs-gray-300);
  background-color: white;
  border-radius: 10px;
  /* width: 600px;
    max-width: 100%; */
  padding: 3px;
  border-collapse: collapse;
  text-align: left;
  margin-left: auto;
  margin-right: 0px;
  position: relative;
  top: -30px;
  right: -12px;
}

.latin-word-table td,
.latin-word-table th {
  border: 1px solid var(--bs-gray-300);
  text-align: center;
  padding: 10px;
  text-align: left;
}

/* gallery */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  grid-gap: 3px;
}

.grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.grid-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.75) 25%, rgba(0, 0, 0, 0.25) 50%);
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

.grid-item:hover .overlay {
  display: block;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#popup_iframe {
  position: fixed;
  top: 100%;
  left: 0px;
  height: 100%;
  width: 100%;
  background: var(--black-transparent-50);
  transition: 0.3s;
  padding: 72px;
}

#popup_iframe .container {
  color: white;
  padding: 36px 0px;
  height: 100%;
}

#close_p {
  font-size: 2.5rem;
  text-align: right;
  position: fixed;
  top: 5px;
  right: 5px;
  background-color: var(--black-transparent-50);
  border-radius: 100px;
  transition: 0.7s;
}

#close_p:hover {
  background-color: var(--white-transparent-50);
}

.close_button {
  padding: 0px 20px;
  border-radius: 100%;
  color: white;
  text-decoration: none;
}

.close_button:hover {
  color: #5c6547;
  text-decoration: none;
}

/* friends page */
.friend-card {
  /* background-color: #ebebeb; */
  border-radius: 5px;
  text-align: center;
  padding: 25px;
  margin: 20px;
}

.friend-photo-container {
  height: 150px;
  width: 150px;
  overflow: hidden;
  position: relative;
  margin-left: calc(25% - 10px);
}

.friend-photo-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  border-radius: 100%;
}

.friend-affil {
  color: #b0b0b0;
  margin-top: -5px;
  margin-bottom: -5px;
}

.client-photo-container {
  height: 48px;
  width: 48px;
  overflow: hidden;
  position: relative;
  margin-right: 5px;
}

.client_image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, 0);
  border-radius: 100%;
}

.client_affil {
  font-size: 12px;
  margin-top: -5px;
  margin-bottom: 5px;
}

.event-date {
  background: var(--e-blue-dark);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}

.placeholder {
  color: red; /* change to transparent in production if needed */
}

@media (max-width: 768px) {
  #home-contacts {
    left: 10px !important;
  }

  .about-us-p {
    padding-left: 40px;
    padding-right: 40px;
    text-align: justify;
  }

  .service-outer-container {
    gap: 10px;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }

  .service-inner-div {
    width: 100px;
    height: 150px;
    padding: 5px;
  }

  .service-inner-div img {
    height: 80px;
    width: 80px;
    margin-bottom: 5px;
    margin-top: 15px;
  }

  .footer li {
    margin-bottom: 25px;
    line-height: 12pt;
  }

  .friend-card {
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 25px;
  }

  .friend-photo-container {
    margin-left: calc(25% - 25px);
  }
}
