/* Universal styling */

body {
  /* padding: 0px; */
  margin: 0;
  min-width: 320px;
  /* height: 100vh; */
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

/* Header Bar */

.contactBar {
  color: white;
  background-color: #0115b0;
  overflow: hidden;
  font-weight: bold;
  padding: 20px;
  display: flex;
  /* flex: 10 1 50%; */
  /* padding-bottom: 20px; */
  /* justify-content: center;
  align-items: center; */
  /* align-content: space-around; */
}

/* Nav Bar */

.logo {
  /* float: left;
  position: relative; */
  top: 1vh;
  padding-left: 5%;
  padding-right: 5%;
  /* max-width: 15%; */ 
  flex: 1 0;
}

.buttons {
  /* float: right; */
  /* background-color: black; */
  /* position: relative; */
  /* top: 4vh; */
  /* padding-left: 5%; */
  /* padding-right: 5%; */
  /* max-width: 15%; */
  /* margin-right: auto; */
  /* margin-right: 10%; */
  /* margin-top: 4%; */
  /* min-height: 50px; */
  /* flex: 0 1 2; */
  /* justify-self: flex-end; */
  /* align-self: auto; */
  margin-right: 5%;
  overflow: hidden;
}

.buttons a {
  padding: 10px;
  background-color: white;
  /* border: 4px solid black; */
  border-top: 4px solid black;
  text-decoration: none;
  float: left;
  text-align: center;
  color: black;

  /* border-color: black; */
}

.buttons a.active {
  color: white;
  background-color: red;
  /* background-color: #cf0016; */
  /* margin: 2em auto; */
  /* border-radius: 30%/50%; */
  /* width: 50%; */
  /* height: 5em; */
}



.footerBar {
  margin: 10px;
  clear: left;
  min-height: auto;
  margin: 5px;
  /* min-width: 10px; */
}

footer {
  display: flex;
}

.aboutFooter {
  flex: 0 0 50%;
  background-color: white;
  color: white;
  border-top: 3px solid white;
  height: 0px;
  overflow: hidden;
  /* background-color: azure;  */
  /* azure; cadetblue, lightblue; https://colors.artyclick.com/color-names-dictionary/color-names/light-blue-grey-color */
  /* border-top: 3px solid black; */
  /* color:white */
}

.aboutFooter:hover {
  /* background-color: white;
  color: white;
  border-top: 3px solid white;
  height: 10px;
  overflow: hidden; */
  background-color: azure;
  border-top: 3px solid black;
  color: black;
  height: 1%;
  overflow: hidden;
}

.aboutFooter:hover a {
  background-color: white;
  color: white;
}

.aboutFooter:hover img {
  background-color: white;
  color: white;
  opacity: 0;
}

.capsule {
  padding-left: 5%;
  padding-right: 5%;
  max-width: 15%;
}

.capsule-right {
  padding-left: 5%;
  padding-right: 5%;
  max-width: 25%;
  margin-left: auto;
}

.legalFooter {
  /* background-color: #b09c01; */
  /* color: white; */
  flex: 0 0 50%;
  justify-content: center;
}

.small-title {
  font-weight: bold;
}

/* .socialMedia {
  background-color: #cf0016;
  padding: 1%;
} */

.socialMedia img {
  max-height: 24px;
  max-width: 24px;
}

/* Universal ==> Navbar */

.navBar {
  padding: 10px;
  padding-top: 25px;
  /* padding-bottom: 15px; */
  margin-top: 1%;
  overflow: clip;
  /* margin-bottom: 1%; */
  display: flex;
  flex-direction: row;
  /* flex: 0 0 25%; */
  align-items: center;
  /* border-color: black; */
  overflow: hidden;
  /* background-color: #B09C01; */
}




.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropButton {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

.buttons a:hover,
.dropdown:hover .dropButton {
  background-color: red;
}

.dropContent {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropContent a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropContent a:hover {
  background-color: #ddd;
}

.buttons a:active,
a:hover {
  /* background-color: #0115b0; */
  color: white;
}

/* "Home" styling */

.logoBar {
  /* border: 5px solid; */
  margin: auto;
  margin-top: 3%;
  margin-bottom: 3%;
  width: 80%;
  padding: 10px;
  /* overflow: scroll; */
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

.logoBar img {
  max-height: 50px;
  /* clear: left; */
}

/* "About" styling */

main {
  display: flex;
  /* overflow: hidden; */
  /* height: 500px; */
  /* overflow: auto; */
  /* margin-left: 5%; */
}

.child,
.sibling {
  flex: 0 0 20%;
  overflow: hidden;
}

.child {
  /* background-color: aquamarine; */
  flex: 0 0 65%;
  /* overflow: auto; */
  /* max-width: 40%; */
  /* padding-left: 10%; */
  /* margin-left: 10%; */
  margin-left: 5%;
  margin-bottom: 1%;
  margin-right: 5%;
}

.sibling {
  /* background-color: rosybrown; */
  /* display: flex; */
  flex: 0 0 15%;
  /* height: 1000px; */
  /* margin-left: auto; */
  /* padding-left: 10%; */
  /* margin-right: 5%; */
  /* margin-left: 10%; */
  /* padding-right: 15%; */
  padding-left: 2%;
  /* border-left: 3px solid black; */
  overflow: hidden;
  /* position: sticky; */
  /* top: 0; */
  /* align-self: flex-start; */
  /* height: auto; */
  padding-top: 1%;
  /* position: sticky; */
  /* top: 0; */
  /* z-index: 10; */
  /* position: -webkit -sticky; */
  /* position: sticky; */
  /* top: 0; */
  /* align-self: flex-start; */
  max-height: 100vh; 
  /* border-bottom: 2px solid black; */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.searchBar {
  /* background-color: #0115b0; */
  /* color: white; */
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* "Products" styling */

.productEntry {
  margin: 10px;
  /* min-height: 150px; */
  background-color: antiquewhite;
  float: left;
}

/* .productSubEntry {
} */

.placeholderImage {
  background-color: wheat;
  height: 5%;
  width: 5%;
  padding: 50px;
  float: left;
  margin: 10px;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px black;
}

.placeholderImage img {
  /* max-height: 50%; */
  max-width: 200%;
  float: left;
}

.placeholderImage p {
  text-align: center;
  font-size: large;
  /* position: relative;
  left: -100%;
  top: -100%; */
}

/* "Services" styling */

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  /* background-color: darkblue; */
  /* margin-top: 10%; */
  padding: 5px;
}

.grid-item {
  background-color: white;
  padding: 5px;
  font-size: 30px;
  text-align: center;
  width: auto;
  padding-top: 15px;
}

.grid-item p {
  font-size: medium;
  text-align: left;
  padding-left: 2%;
  padding-right: 2%;
}

.grid-product {
  background-color: white;
  padding: 5px;
  font-size: 30px;
  text-align: center;
  width: auto;
  padding-top: 15px;
}

.grid-product img {
  max-height: 100px;
  border: solid 2px black;
}

.grid-body {
  padding-top: 0%;
  padding-bottom: 5%;
  /* border-bottom: solid 5px black; */
  margin-bottom: 5%;
  padding-left: 5%;
}

.grid-text {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5px;
  font-size: medium;
  /* text-align: center; */
  width: 35%;
  padding-top: 15px;
}

/* Product flex boxes */

.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: normal;
  align-items: normal;
  align-content: normal;
}

.flex-items:nth-child(1) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: 25%;
  align-self: flex-start;
  order: 0;
}

.flex-items:nth-child(2) {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.product-grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  float: right;
  /* background-color: darkblue; */
  /* margin-top: 10%; */
  padding: 5px;
}

/* .product-grid-item {
  background-color: white;
  padding: 5px;
  font-size: 30px;
  text-align: center;
  width: auto;
  padding-top: 15px;
}

.product-grid-item p {
  font-size: medium;
  text-align: left;
  padding-left: 2%;
  padding-right: 2%
} */

/* .product-grid-product {
  background-color: white;
  padding: 5px;
  font-size: 30px;
  text-align: center;
  width: auto;
  padding-top: 15px;
} */

/* .product-grid-product img {
max-height: 100px;
border: solid 2px black;
} */

.product-grid-title {
  padding: 15px;
  font-size: medium;
  text-align: left;
  /* width: 35%; */
  padding-top: 15px;
  padding-bottom: 0px;
  background-color: transparent;
  min-width: 85%;
  margin-right: 15px;
  font-size: large;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  font-weight: bold;
}

.product-grid-text {
  padding: 15px;
  font-size: medium;
  text-align: left;
  /* width: 35%; */
  /* padding-top: 15px; */
  margin-bottom: 15px;
  margin-right: 15px;
  background-color:transparent;
  min-width: 85%;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.product-quick-facts {
  float: right;
}

.pill-button a {
  background-color: #ddd;
  border: none;
  color: black;
  padding: 10px 20px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  text-wrap: balance;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 16px;
  max-width: 40%;
  margin-right: 3.5%;
  /* max-width: auto;   */
  vertical-align: top;
  border: solid 2px black;
  overflow: hidden;
}

.pill-button a:hover {
  background-color: #cf0016;
  color: white;
}


/* Services page image overlays */

.image-container {
  position: relative;
  display: inline-block;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-text {
  /* position: absolute; */
  top: 50%; 
  left: 25%; 
  transform: translate(-50%, -50%); 
  /* background-color: #000000;  */
  /* color: #fff;  */
  padding: 10px 20px; 
  font-size: 20px; 
  /* text-align: center; */
  border-radius: 50%;
}

.height-100vh {
  height: 100vh;
  display: flex;           /* establish flex container */
  flex-direction: column;  /* stack flex items vertically */
  position: relative;      /* establish nearest positioned ancenstor for absolute positioning */
}

.text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
}

.center-aligned {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  position: relative;
  text-align: center;
  color: white;
  float: left;
  margin: 0% 5% 5% 0%;
  /* background-color: #040720; */
  /* height: 14%; */
  /* float: left; */
  /* margin-bottom: 5%;  */
  /* min-width: 25%; */
  /* max-width: 30%; */
  width: 25%;
  height: 25%;
  /* width: 100px; */
  /* height: 100%; */
  /* height: 100px; */
}

.container img {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  /* width: 250px;
  height: 250px; */
  transition: .5s ease;
  backface-visibility: hidden;
  /* height: 1200%; */
  border-radius: 25%;
  overflow:hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  /* position: relative; */
  top: 100%;
  /* left: 50%; */
  /* transform: translate(-50%); */
  /* -ms-transform: translate(-50%); */
  text-align: center;
  min-width: 100%;
  -webkit-box-align:center;
  -webkit-box-pack:center;
  display:-webkit-box;
}

.container:hover img {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.centered {
  position: absolute;
  /* top: 50%; */
  /* left: 50%; */
  transform: translate(-50%, -50%);
  background-color: #040720;
  padding: 2%;
  /* margin: 2%;  */
  /* border-radius: 20%;  */
}

.services-hover {
  background-color: black;
  color: white;
  font-size: 16px;
  padding: 15%;
  width: 50%;
}

.cast {
  max-width: 150px; 
  max-height: 150px;
}