* {
  margin: 0;
  padding: 0; }

.bg-nav {
  transition: 150ms ease;
  background: rgba(252, 230, 163, 0.7) !important; }

.bg-nav.scrolled {
  background: #fce6a3 !important; }

.navbar-bi {
  width: 100%;
  z-index: 999;
  letter-spacing: 1.2px;
  text-transform: uppercase; }

/* change the brand and text color */
.navbar-bi .navbar-brand,
.navbar-bi .navbar-text {
  color: #5a1008; }

/* change the link color */
.navbar-bi .navbar-nav .nav-link {
  color: #5a1008; }

/* change the color of active or hovered links */
.navbar-bi .nav-item.active .nav-link,
.navbar-bi .nav-item:hover .nav-link {
  color: #ffffff; }

@media (min-width: 992px) {
  .navbar-nav > li {
    padding-left: 2rem;
    padding-right: 0rem;
    font-size: 1rem; } }

.carousel-inner img {
  width: 100%;
  height: 100%; }

.nowrap {
  white-space: nowrap; }

@media (max-width: 48em) {
  table .btn {
    font-size: 0.75rem;
    font-size: 3.5vw; } }

.bg-site {
  background: #fce6a3; }

#main-logo-section {
  padding: 0.8rem; }

.pdng {
  padding: 0.8rem;
  font-weight: 500; }

.pdng-p {
  padding: 0rem 4rem 2rem 4rem;
  font-weight: 500; }

.p-text {
  padding: 0rem 4rem 0rem 4rem;
  font-weight: 500; }

.centered-content {
  display: flex;
  justify-content: center;
  margin: auto;
margin-top: 25px;}

.centered-content-qh {
  display: flex;
  justify-content: center;
  vertical-align: middle;
  text-align: center; }

.footer-row {
  font-size: 18px;
  line-height: 20px; }

hr.light {
  border-top: 1px solid #d5d5d5;
  width: 50%;
  margin-top: .8rem;
  margin-bottom: 1rem;
  margin-left: 25% !important;
  margin-right: 25% !important; }

hr.light-100 {
  border-top: 1px solid #d5d5d5;
  width: 100%;
  margin-top: .8rem;
  margin-bottom: 1rem; }

.carousel-item {
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  background-size: cover; }

@media only screen and (max-width: 767px) {
  .navbar-toggler {
    padding: 1px 5px; } }

#gallery .card {
  background: rgba(255, 137, 93, 0.3);
  color: #b51100;
  border-radius: 0;
  box-shadow: 5px 5px 15px #e74c3c;
  transition: all 0.3s ease-in;
  margin-bottom: 2rem; }

#gallery .card:hover {
  background: #e74c3c;
  color: #fff;
  border-radius: 5px;
  border: none;
  box-shadow: 5px 5px 10px #9E9E9E; }

#gallery .card h5, .display-qh {
  background: #e74c3c;
  font-weight: 500; }

#gallery .card h5, #stripe .hex h5, .display-qh {
  color: #fff;
  font-family: "Roboto Slab", serif;
  letter-spacing: 0.2rem; }

#gallery .card h5, #stripe .hex h5 {
  font-size: 1.3rem; }

.display-qh {
  font-size: 2rem; }

#gallery .card:hover h5 {
  background: #fff;
  color: #b51100; }

#stripe {
  background: #fce6a3; }

.grid {
  background: #fce6a3; }

#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  margin: 0 auto;
  overflow: hidden;
  font-family: sans-serif;
  list-style-type: none; }

.hex {
  position: relative;
  visibility: hidden;
  outline: 1px solid transparent;
  /* fix for jagged edges in FF on hover transition */
  transition: all 0.5s;
  backface-visibility: hidden;
  will-change: transform;
  transition: all 0.5s; }

.hex::after {
  content: '';
  display: block;
  padding-bottom: 86.602%;
  /* =  100 / tan(60) * 1.5 */ }

.hexIn {
  position: absolute;
  width: 96%;
  padding-bottom: 110.851%;
  /* =  width / sin(60) */
  margin: 2%;
  overflow: hidden;
  visibility: hidden;
  outline: 1px solid transparent;
  /* fix for jagged edges in FF on hover transition */
  -webkit-transform: rotate3d(0, 0, 1, -60deg) skewY(30deg);
  -ms-transform: rotate3d(0, 0, 1, -60deg) skewY(30deg);
  transform: rotate3d(0, 0, 1, -60deg) skewY(30deg);
  transition: all 0.5s; }

.hexIn * {
  position: absolute;
  visibility: visible;
  outline: 1px solid transparent;
  /* fix for jagged edges in FF on hover transition */ }

.hexLink {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  overflow: hidden;
  -webkit-transform: skewY(-30deg) rotate3d(0, 0, 1, 60deg);
  -ms-transform: skewY(-30deg) rotate3d(0, 0, 1, 60deg);
  transform: skewY(-30deg) rotate3d(0, 0, 1, 60deg);
  -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(5px 5px 5px #222); }

/*** HEX CONTENT **********************************************************************/
.hex img {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto; }

.hex h5, .hex p {
  width: 100%;
  padding: 5%;
  box-sizing: border-box;
  font-weight: 300;
  opacity: 0; }

#demo1 {
  color: #F5CE95;
  text-transform: capitalize;
  text-align: center;
  top: 50%;
  font-size: 1.5em;
  z-index: 1; }

.hex h5:before, .hex h5:after {
  display: inline-block;
  margin: 0 0.5em;
  width: 0.25em;
  height: 0.03em;
  background: #ffffff;
  content: '';
  vertical-align: middle;
  transition: all 0.3s;
  text-align: center; }

#demo2 {
  top: 50%;
  text-align: center;
  text-transform: uppercase;
  color: #fff; }

.img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }

.img:before, .img:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  opacity: 0;
  transition: opacity 0.5s; }

.img:before {
  background: rgba(22, 103, 137, 0.3); }

.img:after {
  background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.1), transparent); }

/*** HOVER EFFECT  **********************************************************************/
.hexLink:hover h5, .hexLink:focus h5,
.hexLink:hover p, .hexLink:focus p {
  opacity: 1;
  transition: 0.8s; }

.hexIn:hover .img:before,
.hexIn:hover .img:after,
.hexIn:hover .hexLink {
  opacity: 1; }

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width: 901px) {
  /* <- 4-3  hexagons per row */
  #hexGrid {
    padding-bottom: 5.5%;
    font-size: 13px; }
  .hex {
    width: 25%;
    /* = 100 / 4 */ }
  .hex:nth-child(7n+5) {
    /* first hexagon of even rows */
    margin-left: 12.5%;
    /* = width of .hex / 2  to indent even rows */ } }

@media (max-width: 900px) and (min-width: 601px) {
  /* <- 3-2  hexagons per row */
  #hexGrid {
    padding-bottom: 7.4%;
    font-size: 14px; }
  .hex {
    width: 33.333%;
    /* = 100 / 3 */ }
  .hex:nth-child(5n+4) {
    /* first hexagon of even rows */
    margin-left: 16.666%;
    /* = width of .hex / 2  to indent even rows */ } }

@media (max-width: 600px) {
  /* <- 2-1  hexagons per row */
  #hexGrid {
    padding-bottom: 11.2%;
    font-size: 12px; }
  .hex {
    width: 50%;
    /* = 100 / 3 */ }
  .hex:nth-child(3n+3) {
    /* first hexagon of even rows */
    margin-left: 25%;
    /* = width of .hex / 2  to indent even rows */ } }

@media (max-width: 400px) {
  #hexGrid {
    font-size: 8px; } }

.diamond-grid {
  width: 70%;
  margin: 20px auto 0; }

.dg-item {
  width: 220px;
  height: 220px;
  background: #fff;
  transition: 0.5s;
  opacity: 0.5;
  transition: 0.5s; }

.carousel-caption {
  top: 0;
  bottom: auto; }

.jt {
  overflow: hidden;
  background-color: #fce6a3;
  display: flex;
  align-items: center; }

.ctnr, .ctnr-wz {
  position: relative;
  flex-grow: 1;
  margin: auto;
  max-width: 1200px;
  max-height: 1200px;
  display: grid;
  grid-gap: 2vmin;
  justify-items: center;
  align-items: center;
  -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(5px 5px 5px #222); }

.ctnr img, .ctnr-wz img {
  z-index: 1;
  grid-column: span 2;
  max-width: 100%;
  margin-bottom: -52%;
  -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: all .25s; }

.ctnr img:hover {
  z-index: 2;
  -webkit-transform: scale(1.25);
  transform: scale(1.25); }

.drop-shad {
  -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(5px 5px 5px #222); }

@media (min-width: 901px) {
  /* <- 3-2  hexagons per row */
  .ctnr {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(5, 1fr); }
  .ctnr img:nth-child(7n + 1) {
    grid-column: 2 / span 2; }
  .ctnr-wz {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr); }
  .ctnr-wz img:nth-child(3n + 1) {
    grid-column: 2 / span 2; } }

@media (max-width: 900px) and (min-width: 601px) {
  /* <- 3-2  hexagons per row */
  .ctnr {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr); }
  .ctnr-wz {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr); }
  .ctnr img:nth-child(5n + 1),
  .ctnr-wz img:nth-child(3n + 1) {
    grid-column: 2 / span 2; } }

@media (max-width: 600px) {
  /* <- 2-1  hexagons per row */
  .ctnr {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(9, 1fr); }
  .ctnr-wz {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr); }
  .ctnr img:nth-child(3n + 1), .ctnr-wz img:nth-child(3n + 1) {
    grid-column: 2 / span 2; } }

.font-bi {
  font-family: "Roboto Slab", serif;
  color: #b51100; }
