:root {
  --clr-black: rgb(0, 0, 0);
  --clr-blue: rgb(8, 6, 112);
  --clr-bluefade: rgb(78,124,172);
  --clr-bluedark: rgb(13, 0, 53);
  --clr-burgundy: rgb(77, 0, 19);
  --clr-grey: rgb(184, 193, 176);
  --clr-greyrgb: 184, 193, 176;
  --clr-orange: hsl(36, 100%, 50%);
  --clr-pink: rgb(223, 205, 213);
  --clr-white: rgb(255, 255, 255);
  --clr-yellow: rgb(255, 215, 8);
  --ff-main: 'Lato', Arial, sans-serif;
  --ff-second: 'Didact Gothic', Arial, sans-serif;
  --ff-cursive: 'Birthstone', cursive, serif;
  --max-ch: 75ch;
  --slider-num: 7;
  --slider-total-div: calc(var(--slider-num) * 2);
  --slider-height: 100px;
  --slider-width: 150px;
  --slider-total-width: 960px;
}
.darkmode {
  --clr-darkbg: rgb(13, 13, 13);
}
/* Andy Bell reset: https://piccalil.li/blog/a-modern-css-reset/ */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}
/* --- */
body {
  background-color: var(--clr-white);
  margin: 0 5px;
  border: 0;
  font-family: var(--ff-main);
  font-size: 16px;
  line-height: 1.5;
}
.skip-nav-link {
  position: absolute;
  left: 0.5rem;
  color: var(--clr-white);
  background: var(--clr-burgundy);
  padding: .3rem 1.3rem .3rem 1.3rem;
  border-radius: 0 0 0.24rem 0.25rem;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 325ms ease-in;
}
.skip-nav-link:focus {
  transform: translateY(0%);
}
/* 
header {
  position: sticky;
  top: 5px;
}
 */
.menu { /* menu ul */
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  font-family: var(--ff-main);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(var(--clr-greyrgb), 0.4);
  color: var(--clr-burgundy);
  line-height: 1.5;
  list-style: none;
  margin-top: 7px;
  padding: .3rem .1rem .3rem .1rem;
  z-index: 99999;
}
.menu a { /* menu a */
  padding: .3rem 1.3rem .3rem 1.3rem;
  text-decoration: none;
}
.menu a:link,
.menu a:visited {
  color: var(--clr-bluedark);
  text-decoration: none;
}
.menu a:focus,
.menu a:hover { /* hover top nav items */
  background: var(--clr-burgundy);
  color: var(--clr-white);
}
/*
  Rest menu smaller screens.
*/
@media only screen and (max-width: 550px) {
  .menu { /* menu ul */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-top: 7px;
  }
}
/*
  Cookie Banner display
*/
.cookie-banner {
  position: fixed;
  display: inline-block;
  z-index: 1000;
  bottom: -120px;
  left: 5vw;
  right: 5vw;
  width: 90vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  color: var(--clr-white);
  background: var(--clr-burgundy);
  border-radius: 15px;
  box-shadow: 2px 3px 2px 1px rgba(0, 0, 0, 0.2);
}
.cookie-banner a {
  padding-left: 3px;
  color: var(--clr-orange);
}
.close-cookie {
  font-size: 2.1rem;
  color: var(--clr-white);
  background-color: transparent;
  border: none;
  cursor: pointer;
}
/*
  Main display
*/
section {
  position: relative;
  display: block;
  margin: 0.5rem auto;
}
#toTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 999;
  font-size: 1.3rem;
  padding: 0 0.8rem 0 0.8rem ;
  background-color: var(--clr-white);
  color: var(--clr-grey);
  cursor: pointer;
  border: 3px solid var(--clr-grey);
  border-radius: 50%;
  aspect-ratio: 1;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.3);
  transition: right 300ms linear;
}
#toTop:hover {
  background-color: var(--clr-grey);
  color: var(--clr-white);
}
.no-margin {
  position: relative;
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 0;
}
.center {
  margin: 0 auto;
}
.center-v {
  position: absolute;
  top: 50%;
  transform: translate(0, -55%);
}
.main-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 65vh;
  width: 85vw;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--clr-grey);
  border-radius: 20px;
  overflow: hidden;
/* z-index: -1; */
}
#main-addr {
  position: relative;
  background: var(--clr-burgundy);
  color: var(--clr-white);
  font-family: var(--ff-second);
  font-style: oblique 20deg;
  height: 40%;
  width: 100%;
}
#main-addr p {
  text-align: center;
}
.main-small-text {
  font-size: 0.7rem;
  padding: 1rem;
}
.main-title {
  font-family: var(--ff-second);
  font-size: 1.6rem;
  font-style: italic;
  padding-bottom: 0.8rem;
}
.main-motherhood {
  max-width: 75ch;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.2;
  padding: 0.8rem 5px 0 5px;
}
#main-pic {
  position: relative;
  height: 60%;
  width: 100%;
  overflow: hidden;
}
@media only screen and (max-width: 420px) {
  #main-addr {
    height: 50%;
  }
  #main-pic {
    height: 50%;
  }
}
#main-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
}
#main-logo {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 125px; /* (4267, 2500) */
  height: 73px;
  z-index: 5;
  overflow: hidden;
}
#main-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
a[href^="tel:"] {
  color: var(--clr-orange);
  text-decoration: none;
}
.main-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 15%;
  left: 0;
  height: 8rem;
  width: 100%;
  background-color: var(--clr-orange);
  color: var(--clr-white);
  border: 3px solid var(--clr-white);
  border-radius: 0.5rem;
  transform: rotate(-15deg);
}
.txtWrapper {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 2px var(--clr-black);
}
/*
Client allows animation.
*/
@media (prefers-reduced-motion: no-preference) {
  #main-logo { /* logo position */
    -webkit-animation: dropinlogo 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: dropinlogo 1s; /* Firefox < 16 */
        -ms-animation: dropinlogo 1s; /* Internet Explorer */
         -o-animation: dropinlogo 1s; /* Opera < 12.1 */
            animation: dropinlogo 1s;
    }
    @keyframes dropinlogo {
        0% { right: -50px; }
        60%   { right: 18px; }
        80%   { right: 12px; }
        100%   { right: 15px; }
    }
    /* Firefox < 16 */
    @-moz-keyframes dropinlogo {
        0% { right: -50px; }
        60%   { right: 18px; }
        80%   { right: 12px; }
        100%   { right: 15px; }
    }
    /* Safari, Chrome and Opera > 12.1 */
    @-webkit-keyframes dropinlogo {
        0% { right: -50px; }
        60%   { right: 18px; }
        80%   { right: 12px; }
        100%   { right: 15px; }
    }
    /* Internet Explorer */
    @-ms-keyframes dropinlogo {
        0% { right: -50px; }
        60%   { right: 18px; }
        80%   { right: 12px; }
        100%   { right: 15px; }
    }
    /* Opera < 12.1 */
    @-o-keyframes dropinlogo {
        0% { right: -50px; }
        60%   { right: 18px; }
        80%   { right: 12px; }
        100%   { right: 15px; }
    }
} /* end motion */
.main-desc {
  margin: 0 auto;
  max-width: 75ch;
  z-index: -1;
}
.main-desc h4 {
  font-size: 1.3rem;
  font-weight: 600;
  padding-bottom: 0.4rem;
}
.main-desc p {
  font-size: 1rem;
  padding-bottom: 0.7rem;
}
.center-circle {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
}
.big-circle {
  position: relative;
  margin: 1rem .5rem;
  width: 110px;
  aspect-ratio: 1;
  background: var(--clr-grey);
  border-collapse: separate;
  border: 1px solid var(--clr-burgundy);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  transition: 0.7s;
  overflow: hidden;
}
.big-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.big-circle a::before {
  position: absolute;
  content: attr(data-attr);
  text-align: center;
  background: var(--clr-burgundy);
  color: var(--clr-white);
  top: 50%;
  transform: translate(0, -50%);
  width: 100%;
  z-index: 3;
}
.big-circle:hover {
  transform: scale(1.3);
  z-index: 2;
  box-shadow: 2px 2px 2px var(--clr-bluedark);
}
.sides {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* align-items: top; */
  margin: 0 auto;
}
.sides h4 {
  font-size: 1.3rem;
  padding-bottom: 0.4rem;
}
.sides p {
  font-size: 1rem;
  padding-bottom: 0.2rem;
}
.sides-left {
  position: relative;
}
.sides-right {
  position: relative;
}
.img-left-20 {
  display: inline-block;
  float: left;
  width: 20%;
  margin: 5px 10px 3px 3px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
}
.img-right-20 {
  float: right;
  width: 20%;
  aspect-ratio: 1;
  vertical-align: top;
  margin: 0px 0px 0px 10px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
}
.txtGreen {
  color: green;
}
.txtOrange {
  color: orange;
}
.txtRed {
  color: red;
}
.hc {
  display: inline-block;
  table-layout: auto;
  width: 100%;
  border: 0;
}
.hc td {
  padding-left: 15px;
}
.BoD {
  margin: 0 auto;
  table-layout: auto;
  border: 0;
}
.BoD td {
  padding-left: 15px;
}
.foot {
  margin-bottom: .5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  padding: .7rem .1rem;
  background: rgba(var(--clr-greyrgb), 0.4);
  color: var(--clr-burgundy);
}
/*
  Rest position different screens.
*/
@media only screen and (max-width: 350px) {
  .main-card {
    height: 70vh;
    width: 93vw;
  }
  #main-addr {
    height: 55%;
    width: 100%;
  }
  #main-pic {
    height: 45%;
    width: 100%;
    overflow: hidden;
  }
  #main-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
  }
}
@media only screen and (min-width: 700px) {
  .main-card {
    display: flex;
    flex-direction: row;
  }
  #main-addr {
    height: 100%;
    width: 40%;
  }
  #main-pic {
    height: 100%;
    width: 60%;
    overflow: hidden;
  }
  #main-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
  }
}
/*
  Rest position smaller screens.
*/
@media only screen and (max-width: 500px) {
  .center-circle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
  }
}
/*
  Slider
*/
@-webkit-keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc((-1 * var(--slider-width)) * var(--slider-num)));
  }
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc((-1 * var(--slider-width)) * var(--slider-num)));
  }
}
.slider {
/* 
  background: white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
 */
  height: var(--slider-height);
  margin: auto;
  margin-top: .5rem;
  overflow: hidden;
  position: relative;
  width: 100%; /* was 960px */
}
.slider::before, .slider::after { /* white faded area both ends */
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: var(--slider-height);
  position: absolute;
  width: 100px;
/* 
  outline: 1px solid red;
 */
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  -webkit-animation: scroll 30s linear infinite;
          animation: scroll 30s linear infinite;
  display: flex;
  width: calc(var(--slider-width) * var(--slider-total-div));
}
.slider .slide {
  height: var(--slider-height);
  width: var(--slider-width);
/* 
  outline: 1px solid green;
 */
}
.slider .slide img {
  object-fit: cover;
  object-position: top center;
}
@media only screen and (min-width: 700px) {
  .slider {
    width: 80ch; /* was 960px */
  }
}
/*
   message div css
*/
.errmsg {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  background: rgba(var(--clr-greyrgb), 0.4);
  color: var(--clr-burgundy);
  margin-top: 3px;
  padding: 3px 0px;
}
.blankmsg {
  font-size: 1rem;
  padding: 3px 0px;
}
.highlight {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  background-color: rgba(var(--clr-greyrgb), 0.4);
  color: var(--clr-burgundy);
  padding: 3px 0px;
}
/*
  Debug box display overlay
*/
.clr-box {
  display: inline-block;
  width: 40px;
  aspect-ratio: 1;
  border: 3px solid black;
  border-radius: 50%;
  box-shadow: 3px 3px 5px #000000;
  margin-left: 5px;
}
.clr-blue {
  background-color: var(--clr-blue);
}
.clr-bluefade {
  background-color: var(--clr-bluefade);
}
.clr-bluedark {
  background-color: var(--clr-bluedark);
}
.clr-burgundy {
  background-color: var(--clr-burgundy);
}
.clr-grey {
  background-color: var(--clr-grey);
}
.clr-greyb {
  background-color: var(--clr-greyb);
}
.clr-orange {
  background-color: var(--clr-orange);
}
.clr-pink {
  background-color: var(--clr-pink);
}
.clr-white {
  background-color: var(--clr-white);
}
.clr-yellow {
  background-color: var(--clr-yellow);
}
/*
 Tooltip styling
*/
*[data-tooltip] {
  position: relative;
}
*[data-tooltip]::after {
  content: attr(data-tooltip);

  position: absolute;
  top: -45px;
  right: -15px;
  width: 150px;

  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity .50s ease-in-out;
  -moz-transition: opacity .50s ease-in-out;
  -ms-transition: opacity .50s ease-in-out;
  -o-transition: opacity .50s ease-in-out;
  transition: opacity .50s ease-in-out;

  display: block;
  font-size: 1rem;
  line-height: 1.2;
  background: var(--clr-burgundy);
  color: var(--clr-white);
  padding: 2px 2px;
  text-align: center;
  border: 1px solid var(--clr-grey);
  border-radius: 10px;
  box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.4);
}
*[data-tooltip]:hover::after {
  opacity: 1;
}
/*
  Icon Row Link styling
*/
.icon-row {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 7px;
}
.icons {
  height: 4rem;
  padding: 0.5rem;
}
.icons:hover,
.icons:focus {
  border-radius: 10px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.3);
  outline: 1px solid var(--clr-burgundy);
}
/*
  Plain Link styling
*/
.plain-link {
  /* display: inline-block; */
  color: var(--clr-bluedark);
  text-decoration: none;
  cursor: pointer;
}
.plain-link:hover,
.plain-link:focus {
  text-decoration: underline;
}
.hoverOutline:hover {
  outline: 1px solid var(--clr-bluedark);
}
.address {
  color: var(--clr-white);
  text-decoration: none;
  cursor: pointer;
}
.address:hover,
.address:focus {
  text-decoration: underline;
}
.hoverOutline:hover {
  outline: 1px solid var(--clr-orange);
}
 /* 
   Style form inputs, select elements and textareas 
 */
input[type=text], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid var(--clr-grey);
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}
textarea{
  resize: none;
}
/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}
/* Style the submit button */
input[type=submit] {
  font-weight: 600;
  width: 100%;
  background-color: rgba(var(--clr-greyrgb), 0.4);
  color: var(--clr-burgundy);
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}
input:hover[type="submit"] {
  background: var(--clr-burgundy);
  color: var(--clr-white);
}
