body,
html {
  height: 100%;
  /* font-family: 'Old Standard TT',
				serif; */
  font-family: "PT Serif", serif;
}

#title-services {
  list-style-type: none;
}

.border-tb {
  border-top: 2px solid #7e4300;
  border-bottom: 2px solid #7e4300;
}

.border-brown {
  border-color: #b38a5b !important;
}

.title-block {
  background-color: #886945;
  color: #f8e8d3;
  border-bottom: 2px solid #b38a5b;
}

.textboard {
  background: rgba(255, 255, 255, 0.5);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 231, 200, 0.85) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.titleboard {
  padding-top: 3rem;
  padding-bottom: 3rem;
  /* background: linear-gradient(to right, rgba(211, 166, 107, 0.85) 0%, rgba(255, 231, 200, 0.85) 50%, rgba(255, 255, 255, 0) 100%); */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 231, 200, 0.85) 25%,
    rgba(255, 231, 200, 0.85) 75%,
    rgba(255, 255, 255, 0) 100%
  );
}

@media (max-width: 768px) {
  .titleboard {
    padding-top: 1rem;
    padding-bottom: 3rem;
    background: rgba(255, 231, 200, 0.7);
    /* background: linear-gradient(to right, rgba(211, 166, 107, 0.75) 0%, rgba(211, 166, 107, 0.75) 50%, rgba(255, 255, 255, 0) 100%); */
  }
}

.fadedboard {
  background-color: rgba(255, 255, 255, 0.9);
}

.bg-brown {
  background-color: #b38a5b;
}

a.infolink {
  color: #7e4300;
  border-style: none none dotted none;
  border-color: #7e4300;
  text-decoration: none;
}

a.infolink:hover {
  border-style: none none solid none;
}

a.disclaimer {
  color: #b38a5b;
  border-style: none none dotted none;
  border-color: #b38a5b;
  text-decoration: none;
}

a.disclaimer:hover {
  border-style: none none solid none;
}

.text-brown {
  color: #b38a5b;
}

.text-dbrown {
  color: #7e4300;
}

.btn-brown {
  background-color: #b15e00;
  border: 1px solid #532c00;
  border-radius: 10px;
  color: white;
}

.btn-brownbrown:focus,
.btn-brown:hover {
  background-color: #b38a5b;
  color: white;
}

.mya,
.mya:visited {
  color: #532c00;
  font-weight: 500;
}

.mya:hover {
  color: #b38a5b;
  text-decoration: none;
}

.lead {
  font-weight: 400;
}

/* CSS specific to iOS devices */
@supports (-webkit-touch-callout: none) {
  .bg-image {
    background-attachment: scroll !important;
  }

  /* header.masthead {
        background-size: contain;
    } */
}

/* Turn off parallax scrolling for all tablets and phones */
@media (max-width: 992px) {
  header.masthead,
  .family,
  .happy,
  .teamwork,
  .teamwork2,
  .trust {
    background-attachment: scroll;
  }
}

.bg-image {
  /* padding-top: 10rem; */
  /* padding-bottom: calc(10rem - 56px); */
  background-position: center 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  /* Parallax Scrolling Effect */
  /* Set a specific height */
  /* height: 1082px; */
  background-attachment: fixed;
  background-repeat: no-repeat;
  /* Full height */
  /* height: auto; */
}

header.masthead {
  background-position: 0 0px;
  background-image: url("../images/paperwork.jpeg");
  /* background-size: contain; */

  /* background-size: contain; */
  /* background-position: center center; */
  /* padding-top: 5rem; */
  /* padding-bottom: 10rem; */
  /* height: 100%; */
}

.family {
  padding-top: 5rem;
  background-image: url("../images/family.jpeg");
  /* background-position: 0 0px; */
  padding-bottom: 5rem;
  /* height: auto; */
  /* max-height: 550px; */
  /* height: 100%; */
  /* min-height: 100%;
    min-height: 100vh; */
}

.happy {
  padding-top: 5rem;
  background-image: url("../images/happy.jpeg");
  /* background-position: 0 0px; */
  padding-bottom: 5rem;
  /* height: auto; */
  /* min-height: 100%; */
  /* Fallback for browsers do NOT support vh unit */
  /* min-height: 100vh; */
}

.teamwork {
  padding-top: 5rem;
  background-image: url("../images/teamwork.jpeg");
  /* background-position: 0 0px; */
  padding-bottom: 5rem;
}

.teamwork2 {
  padding-top: 5rem;
  background-image: url("../images/teamwork2.jpeg");
  /* background-position: 0 0px; */
  padding-bottom: 5rem;
  /* height: auto; */
  border-bottom: 2px solid #532c00;
}

.trust {
  padding-top: 5rem;
  background-image: url("../images/trust.jpeg");
  padding-bottom: 5rem;
}

strong {
  color: #7e4300 !important;
}

.nav-tabs {
  border-bottom: 1px solid #532c00;
}

.nav-tabs,
.nav-link {
  transition: all 0s !important;
}

.nav-tabs :hover {
  border-bottom: none;
  background-color: #f8e8d3 !important;
  border-color: #532c00 #7e4300 #b38a5b #532c00 !important;
}

.nav-tabs .nav-link,
.nav-tabs .nav-link :hover {
  border-bottom: none;
}

.nav-tabs .nav-link.active {
  border-color: #532c00 #7e4300 #b38a5b;
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
}

#mainNav {
  /* border-bottom: 1px solid rgba(33, 37, 41, 0.1); */
  /* background-color: #0e141f;
    border-bottom: 1px solid #29303d; */
  /* border-color: transparent; */
  background-color: #b38a5b !important;
  /* font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; */
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  border-bottom: 1px solid #29303d;
  box-shadow: 0px 10px 25px #000000a1;
  z-index: 9999 !important;
}

#mainNav .navbar-toggler:hover {
  background-color: #b15e00;
}

#mainNav .navbar-toggler:focus {
  outline-color: transparent;
}

.nav-link {
  border-bottom: 4px solid transparent;
  transition: all 0.2s;
  color: black !important;
}

.nav-link :hover {
  color: #b15e00;
}

.nav-item :hover {
  border-bottom: 4px solid #532c00;
  transition: all 0.5s;
}

.nav-link.active {
  border-bottom: 4px solid #532c00;
  transition: all 0.5s;
}

.zoomdiv img {
  max-width: 100%;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.zoomdiv:hover img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.card {
  transition: all 0.5s;
  min-width: 18rem;
  /* max-width: 20rem; */
}

.footerbox {
  max-width: 20em;
}

.footer-middle {
  border-left: 1px solid #532c0034;
  border-right: 1px solid #532c0034;
}

hr {
  border-top: 2px solid #532c0034;
}

.copyright {
  border-top: 2px solid #532c00;
  background-color: #7e4300;
  color: #b38a5b;
}

.topline {
  border-top: 2px solid #532c00;
}

.contactbar {
  border-bottom: 1px solid #532c00;
}

.happytext {
  width: 70%;
}

/* Tablets/phones 768px and less */
@media (max-width: 992px) {
  .hidesmall {
    display: none;
  }

  .display-5 {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
  }

  .titlelead {
    font-size: 1.25rem !important;
  }
}

.processbody {
  background-color: #b38a5b;
}

.fixedsize {
  width: 250px;
  height: 250px;
}

.mugshot {
  border: 2px solid #7e4300;
  max-width: 160px;
  width: 100%;
  float: left;
  margin: 0 1rem 1rem 0;
  border-radius: 0.25rem;
}

@media (max-width: 768px) {
  .mugshot {
    float: none;
    display: block;
    margin: 0 auto 1rem;
    max-width: 220px;
  }
}

.titlelead {
  font-size: 1.5rem;
}

.contacticon {
  width: 1.5rem;
}

.table {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.table-header {
  background-color: #d1aa74;
  padding: 1rem;
  border: 1px solid #9a5d0b;
  color: black;
  font-weight: bold;
  font-size: 1.25rem;
}

.column,
.maincolumn {
  font-size: 1.15rem;
  background-color: #dbc89d;
  color: black;
  border: 1px solid #9a5d0b;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.maincolumn {
  color: black;
  background-color: #f3deae;
  justify-content: start;
}

/* // Extra small devices (portrait phones, less than 576px) */
/* // No media query for `xs` since this is the default in Bootstrap */

/* // Small devices (landscape phones, 576px and less) */
@media (max-width: 450px) {
  .navbar-brand {
    font-size: 1rem !important;
  }

  .lead {
    font-size: 1rem;
  }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* // Large devices (desktops, 992px and up) */
/* @media (min-width: 992px) { */
/* header.masthead { */
/* background-size: contain; */
/* } */
/* } */

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Ensure wrapping flexbox cards do not stretch to the tallest item in a row.
   Make cards use their intrinsic height instead. Scoped to .textboard to avoid
   changing Bootstrap utilities globally. */
.textboard .d-flex.flex-wrap {
  align-items: flex-start;
}

.textboard .d-flex.flex-wrap .card {
  align-self: flex-start;
}

/* Masonry-like multi-column layout for testimonial/customer cards.
   Use column-width so columns auto-fit to available space and avoid gaps
   where a fixed column-count would leave dead space on the right. */
.cards-masonry {
  /* Masonry JS will size the grid when fitWidth is true; allow that width
     and center the grid inside its parent to avoid a right-side gap. */
  position: relative;
  width: auto; /* allow Masonry to set the width */
  margin: 0 auto; /* center the grid */
  padding: 0.5rem 0;
}

.cards-masonry .masonry-card {
  /* slightly wider cards and smaller margins to reduce horizontal gaps */
  width: 22rem;
  margin: 0.25rem; /* reduce external margin to tighten spacing */
  display: block;
}

/* Ensure card internal layout/stretching stays natural */
.cards-masonry .masonry-card .card-body {
  display: block;
}

/* Make masonry cards responsive on narrow viewports. The services section
   contains a large card with an inline `width: 40rem;` which can overflow
   small screens; force masonry items to be fluid under a mobile breakpoint. */
@media (max-width: 576px) {
  .cards-masonry .masonry-card {
    width: 100% !important; /* allow card to fill viewport */
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    /* Masonry measures element height using offsetHeight (padding included,
     margins excluded). Use padding-bottom so Masonry accounts for the gap. */
    box-sizing: border-box;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  /* On tablets allow smaller masonry cards so Masonry can create an extra column */
  .cards-masonry .masonry-card {
    width: 16rem; /* smaller than default 22rem to allow more columns */
    max-width: 100%;
    margin: 0.25rem;
    box-sizing: border-box;
  }
}
