*{
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body{
  letter-spacing: 0.3px;
}

#page {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

.custom-logo-link {
  height: 95px;
  width: auto;
  max-width: 200px;
}

.custom-logo-link img {
  height: 100%;
  width: 100%;
}

li.nav-item {
  margin: 0 18px 0 18px;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
}

#main-menu li#menu-item-30 {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
  border-radius: 0.25rem;
}

@media only screen and (max-width: 1200px) and (min-width: 992px) {
  li.nav-item {
    margin-left: 12px;
    margin-right: 0px;
  }
  #main-menu li#menu-item-30 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }
}

@media only screen and (max-width: 992px) {
  #main-menu li#menu-item-30 {
    width: 200px;
    margin: 0 auto;
  }
}

#main-menu li#menu-item-30 a {
  color: white;
}

#main-menu li#menu-item-30:hover {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
}

main {
  padding-top: 112px;
}

/* hero-carousel  */
.mm-homepage-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgb(116 116 116 / 40%)),
    url("../images/cover2.jpg") center center;
  color: white;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
}
.mm-homepage-hero-title {
  line-height: 2rem;
  font-weight: 600;
  margin:32px 0;
}
.mm-homepage-hero-subtitle{
  max-width: 720px;
  line-height: 2.5rem;
  margin-bottom: 0;
  font-weight: 300;
  font-size: 1.25rem;
}

@media only screen and (max-width: 768px) {
  .mm-homepage-hero-title {
    line-height: 2.5rem !important;
  }
}
@media only screen and (max-width: 576px) {
  .mm-homepage-hero-title,
  .page-title {
    font-size: 1.875rem;
  }

  .mm-homepage-hero-subtitle {
    font-size: 18px !important;
  }
}

@media only screen and (max-width: 320px) {
  .mm-homepage-hero-title {
    line-height: 2rem !important;
  }
  .mm-homepage-hero-subtitle {
    line-height: 1.5rem !important;
    margin: 10px 0 !important;
  }
}
.mm-homepage-herobutton {
  background-color: #cb9040;
  padding: 12px 60px;
  border-color: #cb9040;
}
.mm-homepage-herobutton:hover {
  background-color: #b37117;
  color: white;
  border-color: #b37117;
}

.mm-homepage-hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  margin: 18px 0;
  line-height: 2rem;
}

section#hanging-text {
  /* margin-top: 0px; */
  /* margin-bottom: 40px; */
  /* margin:3rem 0; */
  margin-bottom:-3rem !important;
}

.hanging-text-wrapper {
  margin: 0px auto;
  /* background-color: #006699; */
  padding: 2.25rem;
  text-align: center;
  color: #000000;
}

.hanging-text-subtitle {
  line-height: 26px;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 0;
  letter-spacing: 0.3px;
}
.our-service-homepage-image {
  /* margin-bottom: 30px; */
  /* max-height: 132px; */
  height: 90px;
  width: 90px;
  margin:0 auto 30px;
}

section#our-services p.justified-paragraph {
  font-size: 16px;
  line-height: 26px;
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .our-service-homepage-image {
    margin-bottom: 8px !important;
  }
}

#our-services .single-service-text-detail {
  line-height: 26px;
  text-align: left;
  opacity: 0.7;
}

#home-page #our-services .single-service-text-detail{
  margin-left:1rem;
}

.single-service-item:nth-of-type(even) {
  background: #f2f2f2;
}

main section#hero-carousel {
  position: relative;
}

main section#hero-carousel .carousel-overlay {
  position: absolute;
  bottom: 4rem;
  right: 0;
  background: black;
  color: white;
  padding: 1.2rem;
  opacity: 0.8;
  min-width: 50%;
}

main section#hero-carousel .carousel-slide > div {
  height: 500px;
  width: 100%;
}

@media only screen and (max-width: 576px) {
  main section#hero-carousel .carousel-slide > div {
    height: 40vh;
    width: 100%;
  }
}

main section#hero-carousel .carousel-slide img {
  height: 100%;
  object-fit: fill;
}

section#main-highlights {
  max-width: 730px;
  margin: 0 auto 40px;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  border: 2px solid #dadada;
}

@media only screen and (max-width: 767px) {
  section#main-highlights {
    margin: 0 1rem 40px;
  }

  section#why-us .whyus-text {
    padding-left: 0 !important;
  }
}

section#main-highlights > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

section#main-highlights > div > img {
  height: 50px;
}

section#main-highlights .main-highlights-text {
  font-size: 24px;
  font-weight: 500;
}

section#why-us .gray-background,
.gray-background,
.generic-gray-background {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-color: #f2f2f2;
}

.nameplate {
  position: absolute;
  bottom: 0;
  text-align: center;
  left: 0;
  right: 0;
  color: white;
  background: rgb(0 0 0 / 33%);
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.6s linear;
}

.whyus-image-overlay {
  position: absolute;
  inset: 0;
  text-align: center;
  color: white;
  background: rgb(0 0 0 / 33%);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.6s linear;
}

.icons-on-hover-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icons-on-hover-container a {
  font-size: 32px;
  color: white;
}

.icons-on-hover-container a:not(:first-child) {
  margin-left: 40px;
}

section#board-of-directors .members:hover .whyus-image-overlay {
  visibility: visible;
  opacity: 1;
}

section#board-of-directors .members:hover .nameplate {
  visibility: hidden;
  opacity: 0;
}

@media only screen and (max-width: 768px) {
  /* section#why-us .row > div {
      padding-right: 0;
    } */
}

section#why-us .image-description-container img {
  height: 400px;
  width: 80%;
  object-fit: cover;
}

@media screen and (max-width: 992px) {
  section#why-us .image-description-container img {
    height: 300px;
    width: auto;
    padding:10px;
  }
}

section#why-us .whyus-text * {
  line-height: 26px;
  font-weight: 400;
  word-spacing: 2px;
  font-size: 18px;
}

section#why-us .whyus-text {
  padding-left: 2.5rem;
  padding-right: 0;
}

p.justified-paragraph {
  font-size: 16px;
  line-height: 26px;
}

section#notices-and-news .news-notices-date {
  color: #939393;
}

section#notices-and-news .single-notice {
  background-color: #f8f9fa;
  transition: 0.5s;
}

section#notices-and-news .single-notice:hover {
  background-color: lightgray;
  color: #4c34df;
  cursor: pointer;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  section#notices-and-news .news {
    padding-left: 0 !important;
  }
}

@media only screen and (max-width: 576px) {
  section#why-us .whyus-text {
    padding-left: 0 !important;
  }

  section#notices-and-news .notices {
    padding-right: 0 !important;
  }

  section#awards .awards-root {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}

section#awards .gray-background {
  background-color: #f2f2f2;
}

section#awards .awards-testimonial-image {
  height: 150px;
  width: 180px;
  margin-right: 24px;
}

.awards-testimonial-text {
  margin-left: 24px;
  height: 120px;
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .awards-testimonial-text {
    height: 180px;
  }
}

@media screen and (max-width: 567px) {
  .awards-testimonial-text {
    height: auto;
  }
}

@media only screen and (max-width: 991px) {
  section#awards .awards-testimonial-image {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 768px) {
  .awards-testimonial-image {
    height: 180px !important;
  }
}

section#awards .awards-testimonial-image img {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
}

section#awards .person-who-praised {
  color: #474747;
}

/* bootstrap override */
.carousel-indicators [data-target="#carouselExampleIndicators"] {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background-color: white;
}

.carousel-indicators [data-target="#awards-carousel"] {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid #a3a3a3;
  margin: 0 3px;
}

.card {
  background: inherit;
  border: none;
}

.card-text {
  line-height: 1.7;
  text-align: left;
}

@media only screen and (max-width: 768px) {
  .card-body {
    padding: 12px 0 !important;
  }
}

#home-page .service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding:30px;
}
/* .card-body {
  padding: 12px 0 0 48px;
} */

.row {
  margin-top: 0 !important;
}

.row > * {
  margin-top: 0 !important;
}

.view-more-button{
  background-color: #006699;
  margin-top:auto;
  color:#ffffff;
  padding:10px 0;
  border-radius: 20px;
}

.view-more-button:hover{
  color:#ffffff;
}

#loan-programs .view-more-button{
  background-color: #006699;
  margin-top:auto;
  color:#ffffff;
  padding:10px 60px;
  border-radius: 20px;
}

#loan-programs .view-more-button:hover{
  color:#ffffff;
}

#loan-programs .card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  padding-bottom:30px;
}
#loan-programs .view-more-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* *************************************************************** */
footer {
  margin-top: auto;
}

#awards .carousel-indicators .active {
  opacity: 0.5;
  background: repeating-linear-gradient(45deg, black, transparent 100px);
}

footer .footer-overlay {
  color: white;
  /* background-color: #006699; */
  background-color: #f4f4f4;
  padding: 2rem 0;
}

footer .footer-blue-overlay {
  color: white;
  background-color: #006699;
  padding: 1rem 0;
}

footer hr.footer-divider {
  color: #d4b465;
  height: 4px;
  border-radius: 4px;
  opacity: 1;
  width: 25%;
  /* margin: 1rem auto; */
}
footer img.nmls-logo {
  width:20px;
  margin-right:0.5rem;
  color:#ffffff;
}
@media screen and (max-width: 990px) {
  footer hr.footer-divider {
    margin: 1rem auto;
  }

  footer .footer-overlay .immediate-root-of-footer-childrens-main-div {
    text-align: center;
  }
}

footer .about-text {
  /* font-weight: 600; */
  line-height: 2;
  margin-bottom: 0;
  font-size: 16px;
  text-align: center;
  color:#000000;
  opacity: 0.9;
}

footer .footer-copyright-text {
  font-size: 14px;
  padding-bottom: 0;
}

footer .social-links img,
.get-in-touch .social-links img {
  height: 28px;
  width: 28px;
}

footer .social-links a,
.get-in-touch .social-links a {
  margin-right: 1rem;
}

footer .social-links a:last-child,
.get-in-touch .social-links a:last-child {
  margin-right: 0;
}

footer .about-text a {
  color:#000000;
  opacity: 0.8;
}
footer .footer-privacy {
  color:#000000;
  opacity: 0.8;
}
/******************* CONTACTS PAGE CSS  ****************/
.contact-icons-text > p {
  font-size: 1rem;
  font-weight: 400;
}
.contact-icons-text > h5 {
  margin-bottom: 10px;
}
.contact-main-image-with-overlay {
  position: relative;
}

.contact-hero-image {
  height: 500px;
}

@media screen and (max-width: 767px) {
  .contact-hero-image {
    height: 350px;
  }
}

.contact-hero-image > img {
  width: 100%;
  height: 100%;
}

.contact-hero-image-overlay {
  position: absolute;
  top: 0;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
}

.contact-hero-image-overlay-text {
  display: grid;
  place-items: center;
  height: 100%;
}

.contact-form .form-control {
  background-color: rgb(242 242 242 / 50%);
}

.contact-icons-root {
  background-color: rgb(242 242 242 / 50%);
}

@media screen and (max-width: 990px) {
  .small-contact-icons {
    justify-content: center !important;
    flex-direction: column;
    align-items: center;
  }

  .small-contact-icons > div {
    flex-direction: column;
    align-items: center;
  }

  .small-contact-icons > div:not(:first-child) {
    padding-top: 12px;
  }

  .small-contact-icons > div > img {
    height: 48px !important;
    width: 48px;
    margin-bottom: 1rem;
  }

  .small-contact-icons .contact-icons-text {
    text-align: center;
    margin-left: 0px !important;
  }
}

.small-contact-icons > div > img {
  height: 48px;
}

.map-container {
  overflow: hidden;
  position: relative;
  height: 450px;
}

.map-container iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.small-contact-icons a {
  color:#000000;
}

.contact-form .form-control {
  background-color: rgb(242 242 242 / 50%) !important;
}

/************* ABOUT US CSS  ********************/
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/cover_banner2.png") center center;
  color: white;
  min-height: 16vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
}

section#board-of-directors .members {
  position: relative;
  min-height: 340px;
  height: 100%;
  background: #f2f2f2;
  overflow: hidden;
  cursor: pointer;
}

.image-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 3rem;
}

/* @media screen and (max-width: 575px) {
  .image-grid-container {
    padding: 0 15px;
  }
} */

@media only screen and (max-width: 350px) {
  .image-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  }
}

@media only screen and (max-width: 420px) {
  .mobile-view-hide{
    display: none;
  }
}


section#board-of-directors .members > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#board-of-directors .members > img.is-using-default-image {
  height: auto !important;
}

hr.generic-full-horizontal-divider {
  /* margin: 2.5rem 0; */
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  height: 2px;
}

hr.genric-divider-under-text {
  color: #4c34df;
  height: 4px;
  border-radius: 4px;
  opacity: 1;
  width: 110px;
  margin: 0 auto 1rem;
}

.section-title {
  color: #4c4c4c;
  /* margin-bottom: 2rem; */
}

@media screen and (max-width: 991px) and (min-width: 767px) {
  .about-us-text p:nth-child(3) {
    margin-left: -35%;
  }
}

section#why-us .about-us-text * {
  line-height: 26px;
  font-weight: 400;
  font-size: 16px;
}

/* .about-us-title {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
} */

@media only screen and (max-width: 768px) {
  .about-us-title {
    padding: 1rem 0;
    /* margin: 1rem 0; */
  }
}

/**********news page css *********/

section#news .news-container:first-child {
  margin-top: 3rem;
}

.news-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/cover_banner2.png") center center;
  color: white;
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
}

.news-topic {
  word-break: break-all;
}

.news-author img {
  height: 100%;
  width: 100%;
  padding-bottom: 22px;
}

.news-box {
  border: 1px solid #c3c9c8;
}

@media screen and (max-width: 767px) {
  .news-box {
    border: none;
  }
  .news-detail {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  hr.news-divider {
    display: block !important;
  }
}
.news-detail {
  position: relative;
  padding-left: 24px;
  padding-right: 24px;
  background-color: rgb(242 242 242 / 50%);
}
.news-detail:hover {
  background-color: #f8f9fa;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transition: all 1s;
}

.news-detail:hover .news-topic {
  text-decoration: underline;
}

.default-link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: transparent;
}

.read-more {
  text-decoration: none;
  font-size: 12px;

  color: #4c34df;
}
hr.news-divider {
  display: none;
}
.page-link {
  border: none;
  color: #4c34df;
}

@media only screen and (max-width: 768px) {
  .news-author img {
    height: 100%;
    width: 100%;
  }
  /* .justified-paragraph {
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
    } */
}
@media only screen and (max-width: 320px) {
  .news-box {
    border: none;
  }
  .news-detail {
    padding-left: 0;
    padding-right: 0;
  }
}
/* 
  SERVICES PAGE CSS */
.service-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/cover_banner2.png") center center;
  color: white;
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
}

.service-card {
  border: 1px solid #f3f3f3;
  box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 20%),
    0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);
  padding: 12px 24px;
  transition: box-shadow 0.5s;
  border-radius: 8px;
}

.service-card:hover {
  box-shadow: 0px 5px 5px -3px rgb(0 0 0 / 20%),
    0px 8px 10px 1px rgb(0 0 0 / 14%), 0px 3px 14px 2px rgb(0 0 0 / 12%);
}

@media only screen and (min-width: 769px) {
  .service-item-image {
    min-height: 400px;
    object-fit: cover;
    visibility: visible;
  }
}
@media only screen and (max-width: 768px) {
  .service-item-image {
    visibility: hidden;
    height: 0px;
  }
}
.contact-form .form-control {
  background-color: #f2f2f2;
  padding: 5px 20px;
}
.form-horizontal {
  display: block;
  width: 50%;
  margin: 0 auto;
}
textarea {
  resize: none;
}

@media only screen and (max-width: 768px) {
  .form-horizontal {
    width: 100%;
  }
}

section#contact-us-form {
  padding: 0 1.5rem;
}

section#contact-us-form .service-form {
  max-width: 650px;
  margin: 0 auto;
}
section#contact-us-form .for-more{
  display: flex;
  justify-content: space-around;
}

section#contact-us-form p.justified-paragraph {
  font-size: 16px;
  line-height: 26px;
  opacity: 0.8;
}

/******************* GALLERY CSS  ******************/
.single-gallery-image {
  height: 240px;
  max-width: 360px;
}

.gallery-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.gallery-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 320px));
  gap: 3rem;
  place-content: center;
}

/************************ APPLY PAGE CSS  **********************/
.details-title {
  font-weight: 400;
  margin-bottom: 24px;
}

.light-color-text {
  color: #5e5e5e;
  font-size: 16px;
}
.darkly-light-button {
  background-color: #e2e2e2;
}

.container.policy-content > * {
  margin-left: 10px;
  margin-right: 10px;
}

.contact-vertical-divider {
  width: 80px;
  height: 2px;
  background: #dbc92e;
  transform: rotate(90deg);
  display: flex;
  align-self: center;
}

@media screen and (max-width: 991px) {
  .contact-vertical-divider {
    display: none;
  }
}

/* hero-carousel  */

main section#hero-carousel {
  position: relative;
}

main section#hero-carousel .carousel-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgb(0 0 0 / 64%);
  color: white;
  padding: 1.2rem;
  opacity: 0.8;
  width: 100%;
  text-align: center;
}

main section#hero-carousel .carousel-slide > div {
  height: 530px;
  width: 100%;
}

@media only screen and (max-width: 576px) {
  main section#hero-carousel .carousel-slide > div {
    height: 40vh;
    width: 100%;
  }
}

main section#hero-carousel .carousel-slide img {
  /* height: 100%;
  object-fit: cover; */
}

.carousel-button {
  background: rgb(120 109 109 / 39%);
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  opacity: 100%;
  cursor: pointer;
}

.carousel-button-left {
  left: 10px;
}

.carousel-button-right {
  right: 10px;
}


/* Accordion */

.page-residential .accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}
.page-residential .accordion span {
  font-size: 20px;
  font-weight: 500;
}
.page-residential .active, .accordion:hover {
  background-color: #ccc;
}

.page-residential .accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.page-residential .active:after {
  content: "\2212";
}

.page-residential .panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  margin-left: 1.5rem;
}

.page-commercial .panel h6{
  margin-left: 1rem;
}

.page-commercial .panel ul{
  margin-left:1.5rem;
}

.page-new-construction ul{
  margin-left: 1.5rem;
}

.card-body ul {
  padding-left: 1.25rem;
}

.loan-program ul{
  padding-left: 1.25rem;
}

/** Important CSS **/
.company-blue-bold {
  color:#006699;
  font-weight: 800;
  letter-spacing:.056rem;
  line-height: 2.5rem;
}
.company-blue-medium {
  color:#006699;
  font-weight: 600;
  letter-spacing:.056rem;
  line-height: 2rem;
}
.company-blue-light {
  color:#006699;
  font-weight: 400;
  letter-spacing:.056rem;
}
.company-white-medium {
  color:#ffffff;
  font-weight: 800;
  letter-spacing:.056rem;
  line-height: 2rem;
}
.company-green{
  color:#198754;
}
.opacity-70{
  opacity: 0.8;
}