/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #5a5a5a;
  position: absolute; /* Body not filling entire width of page without this tag */
}

.safeguard-background {
    background-color: #fafafa !important;
}

.safeguard-green {
    color: #008630 !important;
}

.bg-safeguard-green {
    background-color: #008630 !important;
}

.safeguard-grey {
    color: #495057 !important;
}

.safeguard-white {
    color: #fbfbfb !important;
}

.bg-safeguard-grey {
    color: #495057 !important;
}

.btn-safeguard-outline {
  color: #008630;
  border-color: #008630;
}

.btn-safeguard-outline:hover {
  color: #fff;
  background-color: #008630;
  border-color: #008630;
}


.btn-safeguard-outline:focus, .btn-safeguard-outline.focus {
  outline: revert;
  box-shadow: revert;
}

.navbar-toggler {
  outline: revert !important;
}
.navbar-toggler-icon {
  outline: revert !important;
}

.btn-safeguard-outline.disabled, .btn-safeguard-outline:disabled {
  color: #008630;
  background-color: transparent;
}

.btn-safeguard {
  color: #fff;
  background-color: #008630;
  border-color: #008630;
}

.btn-safeguard:hover {
  color: #fff;
  background-color: #006a20;
  border-color: #006a20;
}


.btn-safeguard:focus, .btn-safeguard.focus {
  color: #fff;
  background-color: #006a20;
  border-color: #80bdff;

  outline: revert;
  box-shadow: revert;
}

.btn-safeguard.disabled, .btn-safeguard:disabled {
  color: #fff;
  background-color: #008630;
  border-color: #008630;
}

.safeguard-navlink {
    font-weight: 300 !important;
    color: #495057 !important;
    border: 2px solid #f8f9fa !important;
    padding: 0.25rem !important;
    margin-bottom: 0.25rem !important;
    margin-right: 0.25rem !important;
    border-radius: 0.25rem !important;
}

.safeguard-navlink:hover {
    color: #000000 !important;
    border: 2px solid #6c757d !important;
}

.safeguard-navlink:focus, .safeguard-navlink.focus {
    /*color: #405050 !important;*/
    color: #000000 !important;
}

.carousel-control-next:focus, .carousel-control-next-icon.focus,
.carousel-control-prev:focus, .carousel-control-prev-icon.focus {
  outline: revert !important;
  background-color: #008630 !important;
  border-radius: 0.25rem !important;
}

.carousel-control-next:hover, .carousel-control-prev:hover {
  outline: revert !important;
  background-color: #008630 !important;
  border-radius: 0.25rem !important;
}


#contact-target,
#quote-target {
  padding-top: 70px;
  margin-top: -70px;
}

#services-target,
#about-target,
#submit-success,
#submit-fail {
  padding-top: 90px;
  margin-top: -90px;

}

#testimonials-target {
  padding-top: 120px;
  margin-top: -120px;
}

#slideshow-toggle-container {
  margin-top: -40px;
  padding-bottom: 40px;
}

/* HEADER
-------------------------------------------------- */
nav {
  box-shadow: 0px 4px 5px 2px #0000000e;
}

/* WELCOME JUMBOTRON
-------------------------------------------------- */
#welcome {
  min-height: 30rem;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0;
}

#welcome > img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140%;
  height: 100%;
  object-fit: cover;
  object-position: bottom left;
}

.welcome-filter {
  position: absolute;
  z-index:1;
  background-color: #000000aa;
  width: 100%;
  height: 100%;
}

.welcome-text {
  z-index: 3;
  height: 100%;
  width: 100%;
  color: white;
}

/* SERVICES
-------------------------------------------------- */

/* QUOTE FORM
-------------------------------------------------- */
.contact-top-divider {
  margin-top: 0;
  /* margin-bottom: 3rem; */
}

form label {
  width: 100%;
}

::placeholder {
  opacity: 0.5 !important;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
  margin-top: 4rem;
}

/* ABOUT SECTION
-------------------------------------------------- */

#logo-card-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-card {
  height: 75%;
  border: 0;
}

.logo-card > img {
  height: 300px !important;
  object-fit: cover;

}

#spencer-closeup {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#spencer-card-body {
  padding-bottom: 0px;
}

#maia-closeup {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#maia-card-body {
  padding-top: 0px;
}

#about-small-hr {
  margin-bottom: 30px;
}

/* TESTIMONIALS
-------------------------------------------------- */

.quotation{
  /* font-size: 30px; */
  margin: 0 auto;
  quotes: "\201C""\201D""\2018""\2019";
  line-height: 1.4;
}

.quotation:before {
  content: open-quote;
  display: inline;
  line-height: 0;
  left: -10px;
  position: relative;
  top: 20px;
  color: #ccc;
  font-size: 3em;
}
.quotation::after {
  content: close-quote;
  display: inline;
  line-height: 0;
  left: 10px;
  position: relative;
  top: 35px;
  color: #ccc;
  font-size: 3em;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}

.marketing-card-image > img {
  height: 150px;
  object-fit: cover;
}

/* Featurettes
------------------------- */

.featurette-divider {
  margin: 4rem 0; /* Space out the Bootstrap <hr> more */
}

.featurette-top-divider {
  margin-top: 0;
  margin-bottom: 4rem;
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}

.featurette-image-container {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.featurette-image-container > img {
  height: 100%;
  object-fit: cover;
}

#odd-featurette-image-container {
  position: relative;
  overflow: hidden;
  height: 400px;
}

#odd-featurette-image-container > img {
  width: 100%;
  object-fit: cover;
}

/* STICKY QUOTE BUTTON
-------------------------------------------------- */
#sticky-quote-button {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 15px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
}

#gallery-quote-button {
  display: block; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 15px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
}

/* GALLERY
-------------------------------------------------- */

.gallery-image {
  box-shadow: 0px 2px 3px 3px #00000015;
}

.gallery-image:hover {
  cursor: pointer;
  box-shadow: 0px 2px 3px 3px #00000020;
}

/* built in bootstrap class controlling modal background opacity */
.modal-backdrop {
  opacity: 0.8 !important;
}

.modal-image {
  width: 90% !important;
  max-width: 90%;
}

#gallery-page-nav .row {
  justify-content: center;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  #logo-card-container {
    display: none;
  }

  #spencer-card-body {
    padding-bottom: 20px !important;
  }

  #maia-card-body {
    padding-top: 20px !important;
  }

  #about-small-hr {
    display: none;
  }

}

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 40px;
    font-weight: 400;
  }

  .featurette-image-container {
    height: 320px;
  }

  .section-heading {
    /*font-size: 50px;*/
    font-size: 3rem;
    font-weight: 500;
  }

  #odd-featurette-image-container {
    height: 300px;
  }

}

@media (min-width: 62em) {
  .featurette-image-container {
    height: 400px;
  }
}
