/*important for layout to work */
@media (min-width: 1400px) {
  /* this makes the child within wrapper take up half the screen at this screen size */
  .child {
    flex-basis: 46%;
  }
}
a:hover {
  text-decoration: none;
}

h1 {
  color: rgba(0, 0, 0, 1);
  line-height: 1;
  letter-spacing: -0.07em;
  font-size: 40px;
  text-align: left;
  font-family: "Baskervville", serif;
  font-weight: 200;
  font-style: normal;
}

h2 {
  color: rgba(0, 0, 0, 1);
  line-height: 1.5;
  letter-spacing: -0.04em;
  font-size: 22px;
  text-align: left;
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-style: normal;
}

p {
  color: rgba(0, 0, 0, 1);
  text-transform: none;
  line-height: 1.8;
  letter-spacing: 0em;
  font-size: 18px;
  text-align: left;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

sup.QFH-trademark {
  font-size: 0.6em;
  font-family: arial, sans-serif;
}

video {
  object-fit: inherit;
}
.wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 30px;
  padding-top: 1rem;
  background: #f6f6fa;
  background: radial-gradient(
    circle,
    rgba(246, 246, 250, 0.22) 0%,
    rgba(227, 204, 247, 1) 33%,
    rgba(194, 208, 239, 1) 78%
  );
}
/*these elements have a transparent image as a background, so that the parent eement's background shows through, but the text content, ege text, imgs remain at full opacity */
/*this enables a full-screen background-image eg wrapper */
.wrapper1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 30px;
  background-image: url("1pxtransparent.png");
}

.child {
  color: black;
  margin: 10px;
  display: flex;
  flex-direction: column;
  /* max-width: 299px; */
  justify-content: space-around;
  background-image: url("1pxtransparent.png");
}

.header {
  background-color: rgba(251, 249, 249, 1);
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
}

.header-booking {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.footer {
  background-color: #20203f;
  display: flex;
  justify-content: space-around;
}
/*navbar styles - popper js and bootstrap js are required for this to work */
/*removes blue border from hamburger icon when clicked */

/* the breakpoint for the navbar collapse to hamburger is applied via the navbar-expand-md class on the nav element itself */

/* removed padding from navbar so that I have more control about how the navbar and booking button align together */
.navbar {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
}
/* applies the comfortaa font and sizing */
.nav-link {
  color: rgba(0, 0, 0, 1);
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 0.1em;
  font-size: 14px;
  text-align: left;
  font-family: "Comfortaa";
  font-weight: 600;
  font-style: normal;
}
.booking-button {
  height: 40px;
  border-radius: 13px;
  background-color: #7a34d9;
  border-color: #7a34d9;
}

/* screenshow css */
* {
  box-sizing: border-box;
}

#slideshow {
  min-height: 266px;
  padding-top: 30px;
  background-color: #c4eaed;
  width: 100vw;
}
.slideshow-container {
  /* max-width: 1000px; */
  position: relative;
  margin: auto;
}
/* Hide the images by default */
.mySlides {
  display: none;
  /* height: 200px; */
}
.nextPreviousButtons {
  display: flex;
  justify-content: center;
  /* margin-top: 2rem; */
  margin-bottom: 2rem;
}
.slideText {
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* QFHseal classes - the seal has to be resized and relocated as the screen size decreases */

.QFHsealFooter {
  width: 100px;
  height: 100px;
}
.QFHsealHeaderContact {
  width: 500px;
  height: 500px;
}
.QFHsealTestimonials {
  position: static;
  width: 250px;
  height: 250px;
}
.QFHsealBooking {
  width: 100px;
  height: 100px;
}
.positionEmblem {
  display: flex;
  justify-content: center;
  position: relative
    "
}  
.QFHsealHeader {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: 250px;
}
.positionEmblem {
display: flex; justify-content: center; position: static";
}

/* testimonial page css */
.testimonialPanel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #c4eaed;
  border-radius: 40px;
  box-shadow: #7a34d9 2p 2px 5px;
  padding: 20px;
  margin: 20px;
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-family: "Comfortaa", cursive;
  color: #20203f;
  align-items: center;
}

/* incorporating menu and QFH seal sensibly on header and on contact page */
@media (max-width: 761px) {
  .navbar {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    flex-direction: column;
  }
  .QFHsealHeader {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .footer {
    background-color: #20203f;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
  }
  .copyrightStrip {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    font-size: 10px;
  }
  .QFHsealFooter {
    width: 150px;
    height: 150px;
  }
}
@media (max-width: 469px) {
  /*change the QFHSealHeader from position absolute, so that it returns to displaying in its normal place in the flow of the page and does not obliterate the video*/
  .QFHsealHeader {
    position: static;
    width: 150px;
    height: 150px;
  }
  .header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
  }
  .QFHsealHeaderContact {
    width: 250px;
    height: 250px;
  }
}

.copyrightStrip {
  background-color: #e5cc74;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem;
}
.copyrightStrip p {
  font-size: 12px;
  color: #20203f;
  padding-right: 1rem;
  padding-left: 1rem;
}

/* slideshowAbout */

/* Slideshow container */
.slideshow-container1 {
  max-width: 1000px;
  position: relative;
  margin: auto;
  /* background-color:green; */
}

/* Hide the images by default */
.mySlides1 {
  display: none;
}

/* Next & previous buttons */
.prev1,
.next1 {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next1 {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev1:hover,
.next1:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text1 {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext1 {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
/* The dots/bullets/indicators */
.dot1 {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active1,
.dot1:hover {
  background-color: #717171;
}
.dot2 {
  cursor: pointer;

  margin: 0 2px;
  background-color: white;
  transition: background-color 0.6s ease;
}
.active2,
.dot2:hover {
  background-color: #c4eaed;
}

/* Fading animation */
.fade1 {
  animation-name: fade1;
  animation-duration: 1.5s;
}

@keyframes fade1 {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/* END OF slideshowAbout */

/* booking page css */
.childCalendar {
  padding: 1rem;
  border-radius: 10%;
  text-align: center;
  width: 20%;
  box-shadow: #717171;
  display: flex;
  flex-direction: column;
  align-content: space-around;
  align-items: center;
  justify-content: space-between;
}
.childCalendar p {
  font-family: "instrument sans", Arial, Helvetica, sans-serif;
}
@media (max-width: 991px) {
  .childCalendar {
    padding: 1rem;
    border-radius: 10%;
    text-align: center;
    box-shadow: #717171;
    width: 45%;
    display: flex;
    flex-direction: column;
    align-content: space-around;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 596px) {
  .childCalendar {
    width: 100%;
    border-radius: 2px;
  }
}
.calendarOptionsWrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-evenly;
  gap: 10px;
  gap: 10px 20px; /* row-gap column gap */
  row-gap: 10px;
  column-gap: 20px;
  margin-bottom: 2rem;
}
.calendarMessage {
  height: auto;
  /* background-color: white; */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px 3px 0px 0px;
  padding: 0.5rem;
}
/* END OF booking page css */
