.navbar {
  top: 54;
  z-index: 3;
  position: absolute; /* <-- Look here */
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.navbar-dark .navbar-nav .active > .nav-link {
  color: #ffffff;
}

.navbar-active-page {
  color: #74bd47 !important;
  -webkit-box-shadow: inset 0px 3px 0px #74bd47;
  box-shadow: inset 0px 3px 0px #74bd47;
}

@media screen and (max-width: 992px) {
  .navbar {
    position: relative; /* <-- Look here */
    -webkit-box-shadow: 0 2px 4px -2px grey;
    box-shadow: 0 2px 4px -2px grey;
  }

  .nav-link {
    color: #000 !important;
  }

  .navbar {
    text-align: center;
  }

  .show {
    padding-top: 10px;
  }
}

/*############################################*/

.carousel-item > div {
  background-size: cover;
  background-position: center center;
}

.carousel-overlay {
  position: absolute;
  /* Bootstrap 5 gives fading slides z-index: 1. Keep content above them. */
  z-index: 2;
  bottom: 0px;
  right: 0;
  left: 0;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 100vh;
}

header,
.jumbotron,
.dark-overlay,
.carousel-item > div {
  height: 100vh;
}

.jumbotron {
  padding: 0px;
  margin: 0px;
  width: 100%;
  text-shadow: #272727b3 3px 3px 3px;
}

#website-title {
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
  font-size: 70px;
}

.dark-overlay {
  background-color: rgba(0, 0, 0, 0.35);
}

.jumbotron > .container {
  color: #fff;
  padding-bottom: 40vh;
}

.jumbotron .btn {
  padding: 10px 35px;
  margin-top: 10px;
  border-radius: 0.5rem;
  font-size: 20px;
  text-shadow: none;
  font-family: "Exo", sans-serif;
  color: white;
  letter-spacing: 1.3px;
  background-color: #74bd48;
  border: none;
}

.jumbotron h2 {
  font-size: 18px;
}

@media screen and (max-width: 992px) {
  .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 91vh;
  }

  header,
  .jumbotron,
  .dark-overlay,
  .carousel-item > div {
    height: 91vh;
  }

  #website-title {
    font-size: 60px;
  }

  .jumbotron > .container {
    padding-bottom: 32vh;
  }
}

@media screen and (max-width: 769px) {
  .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 89vh;
  }

  header,
  .jumbotron,
  .dark-overlay,
  .carousel-item > div {
    height: 89vh;
  }

  #website-title {
    font-size: 50px;
  }
}

@media screen and (max-width: 450px) {
  .jumbotron > .container {
    padding-bottom: 28vh;
  }

  #website-title {
    font-size: 11vw;
  }
}

@media screen and (max-width: 320px) {
  .jumbotron > .container {
    padding-bottom: 28vh;
  }
}

/*############################################*/

section {
  min-height: 100px;
}

.residence-display {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  max-width: 100%;
  height: 560px;
  margin-bottom: 2vh;
}

.section-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  padding: 50px 0px 7px 0px;
  margin-top: 0;
}

section .section-subtitle {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #59636e;
}

#residences h3 {
  font-size: 50px;
  padding: 13px 0 15px 0;
  text-decoration: none;
  color: black;
  font-weight: 600;
}

#residences p {
  font-size: 19px;
  color: #3f3f3f;
}

#residences i {
  color: #646262;
}

#residences a {
  color: #222222;
}

#residences a:hover {
  text-decoration: none;
  color: #222222;
}

.res-description {
  padding-bottom: 25px;
}

#residences .btn {
  padding: 8px 24px;
  font-size: 1.05rem;
  margin-top: 0;
}

#residences img {
  height: 310px;
  width: 100%;
  border-bottom: 7px solid #74bd48;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
}

#residences .col-md-6 {
  background-color: #fcfcfc;
  padding: 0;
  margin-top: 2vh;
  border-radius: 15px;
}

#residences .row {
  padding-bottom: 6vh;
  margin: auto;
}

.focus-content {
  color: white !important;
}

.btn-secondary {
  font-size: 17px;
  margin: 0 0 25px 0;
  padding: 7px 30px 7px 30px;
  color: white !important;
  background-color: #337ab7;
  border-radius: 5px;
}

.btn-secondary-holder {
  min-height: 48px;
}

.box-shadow {
  transition: box-shadow 0.25s ease-in-out;
  -webkit-transition: box-shadow 0.25s ease-in-out;
  -moz-transition: box-shadow 0.25s ease-in-out;
  -o-transition: box-shadow 0.25s ease-in-out;
}

.box-shadow:hover {
  cursor: pointer;
}

#residences,
#services {
  background-color: #fff;
}

#residences .content-tab {
  margin-top: 35px;
  color: #656e78;

  border: 0px solid #76bc40;
  border-top-width: 0px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.vendanova,
.guarapari {
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 768px) {
  #residences .vendanova {
    transform: translateX(-15px);
  }

  #residences .guarapari {
    transform: translateX(15px);
  }

  #residences .col-md-6 {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
  }

  #residences .col-md-6 + .col-md-6 {
    margin-left: 30px;
  }

  #residences .guarapari:hover {
    transform: translateX(15px) scale(1.025);
  }

  #residences .vendanova:hover {
    transform: translateX(-15px) scale(1.025);
  }
}

@media screen and (max-width: 992px) {
  #residences h3 {
    font-size: 40px;
  }
}

@media screen and (max-width: 768px) {
  #residences .row {
    padding-bottom: 3vh;
  }

  .section-title {
    font-size: 2.5rem;
  }

  #residences p {
    font-size: 18px;
    margin: 0.6rem;
  }

  #residences h3 {
    padding-bottom: 0;
    font-size: 35px;
  }

  .res-description {
    padding-bottom: 12px;
  }

  section .section-subtitle {
    font-size: 16px;
  }
  
}

@media screen and (max-width: 769px) {
  .vendanova,
  .guarapari {
    border-left: none !important;
    border-right: none !important;
    margin-bottom: 15px;
    margin-top: 15px;
  }
  section .btn-success {
    margin: 12px !important;
  }
}

@media screen and (max-width: 420px) {
  .section-title {
    font-size: 2rem;
  }

  #residences h3 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 18px;
  }

  .residence-display {
    height: 450px;
  }

  #residences img {
    height: 220px;
  }

  #residences p {
    text-align: left;
    margin-left: 30px;
  }
}
/*##################################*/

.hidden-on-pc {
  visibility: hidden;
  display: none;
  clear: both;
}

/* Bootstrap 5 sizes direct row children to 100%; these links also have margins. */
.btn-row {
  justify-content: center;
}

.btn-row > .btn {
  width: auto;
}

#residences hr,
#about hr,
#services hr,
#contact hr,
#constructions hr {
  max-width: 60px;
  min-width: 30px;
  height: 3px;
  border-bottom: 3px solid #74bd48;
  border-top: 0px;
  margin-top: 10px;
  margin-bottom: 25px;
}

#about,
#contact {
  padding-bottom: 5vh;
  background-color: #529e46;
  color: #fff !important;
}

#about p {
  color: #fff !important;
}

#about hr,
#contact hr {
  border-bottom: 3px solid #fff;
}

#about {
  padding-top: 10px;
  font-size: 22px;
}

#about .row,
#residences .row {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

section .btn {
  padding: 8px 24px;
  margin-top: 25px;
  border-radius: 0.5rem;
  font-size: 22px;
  text-shadow: none;
  font-family: "Exo", sans-serif;
  color: white !important;
  letter-spacing: 1.3px;
  background-color: #444;
  border: none;
}

.btn {
  transition: all 0.3s;
}

#residences .btn {
  background-color: #527ccc;
}

#services .btn,
#constructions .btn {
  background-color: transparent;
  border: 2px solid #529e46;
  color: #529e46 !important;
  font-weight: 700;
}

#services .btn:hover,
#constructions .btn:hover {
  background-color: #529e46;
  border: 2px solid #529e46;
  color: #fff !important;
  font-weight: 700;
}

.btn-row {
  margin: 0;
}

.btn-success:focus {
  outline: none !important;
}

.btn-success:hover {
  box-shadow: 0px 0px 15px rgba(217, 217, 217, 0.5);
}

@media screen and (min-width: 768px) {
  .btn-success:hover {
    transform: translateY(-5px);
  }
}

@media screen and (max-width: 420px) {
  section .btn,
  .jumbotron .btn {
    padding: 8px 26px;
    font-size: 17px;
  }
}

/*##################################*/
#services,
#constructions {
  padding-bottom: 8vh;
}

#services .col-sm-4 {
  padding: 0vh 0 5vh 0;
  border-radius: 25px;
}

.service-icon {
  height: auto;
  font-size: 100px;
  margin-top: 50px;
  color: #78bd50;
}

#services h3 {
  padding-top: 35px;
  color: black;
  font-size: 30px;
  font-weight: 500;
}

#services div div p {
  padding: 12px 35px 0 35px;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .service-icon {
    font-size: 64px;
  }

  #services div div p {
    padding: 12px 22px 0 22px;
    font-size: 18px;
  }

  #services h3 {
    font-size: 26px;
  }
}
/*##################################*/
.construction {
  padding: 7px;
  text-transform: uppercase;
}

.construction a {
  text-decoration: none !important;
}

.construction-layer {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.5s ease-in-out;
  -webkit-transition: background-color 0.5s ease-in-out;
  -moz-transition: background-color 0.5s ease-in-out;
  -o-transition: background-color 0.5s ease-in-out;
  min-height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.construction-layer:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

.construction p,
.construction h3 {
  opacity: 0 !important;
  transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  text-align: center;
  color: #fff;
}

.construction:hover p,
.construction:hover h3 {
  opacity: 1 !important;
}

.construction h3 {
  font-size: 21px;
  font-family: "Exo", sans-serif;
}

.construction p {
  font-size: 17px;
  padding-left: 30px;
  padding-right: 30px;
}

#constructions .section-subtitle {
  margin-top: 35px;
  color: #656e78;

  border: 0px solid #76bc40;
  border-top-width: 11px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

@media screen and (max-width: 380px) {
  .construction-layer {
    padding: 0;
    min-height: 320px;
  }
}

@media screen and (max-width: 767px) {
  .construction-layer {
    background-color: rgba(0, 0, 0, 0.27);
  }

  .construction p,
  .construction h3 {
    opacity: 1 !important;
  }

  .construction:first-of-type {
    padding-top: 10px;
  }
}

/*##################################*/
#contact {
  padding-bottom: 7vh;
  padding-top: 20px;
}

#contact .row {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#contact p {
  font-size: 17px;
  text-align: left;
}

#contact h3 {
  font-size: 27px;
  padding-left: 0px;
}

#contact .section-title {
  padding-left: 0px;
}

#contact i {
  padding-right: 8px;
  color: #fff;
}

#mobile-icon {
  padding-left: 4px;
  padding-right: 10px;
}

@media screen and (max-width: 768px) {
  #contact p,
  #contact h3 {
    text-align: center;
  }

  .hidden-on-pc {
    visibility: visible;
    display: block;
    clear: none;
  }
}
/*############################################*/

.content .card {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  border: none;
}

.content h3 {
  font-weight: 400;
  color: #555;
  font-size: 26px;
  margin-top: 8px;

  padding: 0.75rem 2rem;
}

.custom-card:hover,
.custom-card h3:hover {
  color: #337ab7 !important;
}

.card-header[aria-expanded="true"] i,
.card-header[aria-expanded="true"] h3 {
  color: #337ab7 !important;
}

.custom-card {
  cursor: pointer;
  background-color: transparent;
  border: none;
  padding: 0;
}

.card-body {
  padding-left: 2em;
  padding-top: 0.25em;
}

.content i {
  margin: 0 0 0 20px;
  min-width: 30px;
  min-height: 30px;
  background: 0 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 22px;
}

.card-header[aria-expanded="true"] i {
  background: rgba(0, 102, 255, 0.05);
  border-radius: 99px;
  transform: rotate(180deg);
}

.content p {
  color: #141414;
  font-weight: 300;
  font-size: 17px;
}

.content-small h3 {
  font-weight: 400;
  color: #555;
  font-size: 21px;
  margin-top: 8px;

  padding: 0.5rem 2rem;
}

.content-small {
  /* padding-top: 40px;
	padding-bottom: 20px;
	background-color: #7788990f; */
  margin-bottom: 20px;
  margin-top: 10px;
  padding-top: 15px;
}

.content-small .card {
  margin-bottom: 20px;
  margin-right: 20px;
}

.content-small i {
  top: 10px;
}

@media screen and (max-width: 769px) {
  .content-small .card {
    margin-right: 0px;
  }
  .content-small .col-lg-12 {
    padding: 0;
  }

  .content h3 {
    font-size: 23px;
  }
  .content p {
    color: #141414;
    font-weight: 300;
    font-size: 15px;
  }
}

/*##################################*/
.ribbon {
  position: absolute;
  left: -5px;
  top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 120px;
  height: 120px;
  text-align: right;
}
.ribbon span {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 30px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 150px;
  display: block;
  background: #79a70a;
  background: linear-gradient(#f70505 0%, #d40000 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 29px;
  left: -31px;
}
.ribbon span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid #d40000;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #d40000;
}
.ribbon span::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #d40000;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #d40000;
}
