.e-text-justify {
  text-align: justify;
}

.e-figure {
  position: relative;
}

.e-figure-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.e-figure-body {
  display: flex;
  height: 100%;
  flex-flow: column nowrap;
  justify-content: end;
  align-items: start;
}

.e-figure-caption {
  display: inline-block;
  background-color: var(--bs-body-bg);
  padding: .25rem .5rem;
  border-radius: var(--bs-border-radius);
  opacity: .9;
}

.e-figure-hover .e-figure-image {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .5s;
}

.e-figure-hover:hover .e-figure-image {
  width: 110%;
  height: 110%;
}

.e-hero {
  height: 25rem;
}

.e-hero-body {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.e-hero-title,
.e-hero-subtitle {
  padding: .5rem 1rem;
}

.e-hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.e-hero-subtitle {
  /*font-size: 1.2rem;*/
  font-weight: 500;
  margin: 0;
}

@media (min-width: 992px) {
  .e-hero-title {
    font-size: 3rem;
  }
  
  .e-hero-subtitle {
    /*font-size: 1.5rem;*/
  }
}

.img1 {
  object-position: 70% 50%;
}

@media (min-width: 768px) {
  .img1 {
    object-position: 50% 25%;
  }
}

.e-card {
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  height: 10rem;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  font-size: .6rem;
}

@media (min-width: 768px) {
  .e-card {
    font-size: initial;
  height: 18rem;
  }
}

.e-card-body {
  padding: .5rem;
}

.e-card-title {
  font-size: 1.2em;
  font-weight: 700;
  margin: 0 0 .5rem 0;
}

.e-card-subtitle {
  font-size: 1em;
  font-weight: 500;
  margin: 0;
}

.e-bottom-bar {
  color: white;
  background-color: var(--bs-primary);
  padding: .25rem 0 .5rem;
  position: sticky;
  bottom: 0;
}

.e-nav {
  margin: 0;
  padding: 0 .5rem;
  display: flex;
  overflow-x: auto;
}

.e-nav-item {
  text-align: center;
  padding: .25rem .5rem;
  list-style-type: none;
  flex: 1;
}

.e-nav-link {
  color: inherit;
  /* text-decoration: none; */
  white-space: nowrap;
}

.e-line {
  color: white;
  margin: 0;
  padding: 0;
  border-width: 1px 0 0;
  border-style: solid;
  opacity: .25;
}

.e-contact-number {
  font-size: .75rem;
  text-align: center;
  margin: 0;
  padding: .25rem 0;
}

.e-contact-number-link {
  font-size: 1.25rem;
  font-weight: bold;
  color: inherit;
}

.e-floating-button {
  font-size: 1.75em;
  text-align: center;
  line-height: 2em;
  color: white;
  background-color: var(--bs-primary);
  width: 2em;
  height: 2em;
  border-radius: 50%;
  position: fixed;
  bottom: 50%;
  right: 1rem;
  transform: translate(0, 50%);
}

@media screen and (max-width: 991px) {
  .e-desktop {
    display: none;
  }
}

@media screen and (min-width: 992px) {
  .e-mobile {
    display: none;
  }

  .text-md-left {
    text-align: left!important;
  }
}
