h1 {
  color: darkslategray;
  opacity: 0.8;
}

h2 {
  color: #12311e;
  opacity: 0.8;
}

a {
  color: #12311e;
  opacity: 0.8;
  
}

a:link:hover {
  color: #12311e;
  opacity: 1;
}

hr {
  height: 5px;
  border: none;
  background-color: limegreen;
}

pre {
  color: #12311e;
  opacity: 0.8;
}

body {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  max-height: 100vh;
  margin: auto;

  background: linear-gradient(to right bottom, lightblue, lightseagreen);
  scroll-behavior: smooth;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
}

main {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  max-height: 100vh;
  margin: auto;
  background: linear-gradient(to right bottom, lightblue, lightseagreen);
  display: flex;

  align-items: center;
  justify-content: center;
  overflow-y: hidden;
}

.Mainpane {
  min-height: 90%;
  max-height: 90%;
  width: 60%;
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  position: absolute;
  left: 5%;
  text-align: center;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

/*----------------------------Old Navigation Pane - not used-----------------------------------*/

.Navipane {
  background-color: white;
  min-height: 90vh;
  width: 7%;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  position: absolute;
  left: 5%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
}

/*--------------------Right Pane-------------------------*/

.Rpane {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  min-height: 90%;
  width: 27%;
  position: absolute;
  right: 5%;
  align-content: center;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

/*----------------------Login Pane-----------------------*/

.loginpane {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

#imagegrid {
  border: black 1px;
  border-style: solid;
}

.patientwizardbox {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

/* ---------------------------Store------------------------------ */

.storecontainer {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  min-height: 90vh;
  max-height: 90vh;
  width: 60%;

  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  position: absolute;
  left: 5%;
  text-align: center;
  z-index: 1;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

.storetitlecontainer {
  display: flex;
  width: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.productcontainer {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.5s;
  margin: 20px;
  width: 250px;
  height: 250px;
  word-wrap: normal;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

.productcontainer p {
  margin-top: -5px;
}

.productcontainer:hover {
  transform: translateY(-5px);
}

.addtocartbtn {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: darkslategrey;
  background-color: limegreen;
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.7), rgba(50, 205, 50, 0.3));
  border-radius: 10px;
  border: none;
  font-family: "Poppins";
  cursor: pointer;
}

.addtocartbtn:hover {
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.9), rgba(50, 205, 50, 0.6));
}

.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
}

.productsplitview {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9));

  flex-basis: 40%;
  min-width: 30%;
  padding: 10px;
  justify-content: center;
  margin: 20px;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

/* -------------------Cart---------------------- */

.cartcontainer {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  min-height: 90vh;
  max-height: 90vh;
  width: 60%;

  position: absolute;
  left: 5%;
  margin: 80px auto;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

.carttable {
  width: 100%;
  border-collapse: collapse;
}

.smallcarttable {
  font-size: 20px;
  transition: background-color 2s;
}

#smallcarttablecell {
  transition: background-color 2s ease;
}

.limegreen-bg {
  background-color: limegreen;
  transition: background-color 3s;
}

.carttable th {
  text-align: left;
  padding: 5px;
  color: white;
  background: limegreen;
  font-size: 20px;
}

.carttable th:last-child {
  text-align: right;
}

.carttable td:last-child {
  text-align: right;
}

.totalprice {
  display: flex;
  justify-content: flex-end;
}

.totaltable {
  border-top: 3px solid limegreen;
  width: 100%;
  max-width: 350px;
}

.totaltable td:last-child {
  text-align: right;
}

.totaltable th:last-child {
  text-align: right;
}

.cartlabel {
  background: none;
  border: none;
}

.newpatbox {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  padding: 20px;
  position: absolute;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition-duration: 0.25s;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

.existingpatbox {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

.treatmentphasebox {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

.calibrationbox {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

/* --------------------------Testimonial bubbles----------------------------- */
.bubble {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  padding-left: 10px;
  padding-right: 10px;
  width: 300px;
  height: 450px;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.5s;
}

.bubble:hover {
  transform: translateY(-5px);
}

.workspace {
  top: 2.5%;
  left: 2.5%;
  width: 95%;
  height: 95%;
  border: 1px solid black;
  position: absolute;
}

#Settings {
  position: relative;
  top: 5%;
  left: 5%;
  padding: 10px;
  border-radius: 50%;
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.9), rgba(50, 205, 50, 0.6));
  border: none;
}

#Settings:hover {
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.6), rgba(50, 205, 50, 0.2));
}

#getstartedbutton {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: darkslategrey;
  background-color: limegreen;
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.7), rgba(50, 205, 50, 0.3));
  border-radius: 10px;
  border: none;
  font-family: "Poppins";
  cursor: pointer;
}

#getstartedbutton:hover {
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.9), rgba(50, 205, 50, 0.6));
}

#tracenowbutton {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: darkslategrey;
  background-color: limegreen;
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.7), rgba(50, 205, 50, 0.3));
  border-radius: 10px;
  border: none;
  font-family: "Poppins";
  cursor: pointer;
}

#tracenowbutton:hover {
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.9), rgba(50, 205, 50, 0.6));
}

/* ------------------------Current Patient Dropdown box----------------------- */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  border-radius: 20px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ---------------------------Order form patient details dropdowns------------------------------ */

.dropdown2 {
  position: relative;
  display: inline-block;
}

.dropdown2-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  border-radius: 20px;
}

.dropdown2:hover .dropdown2-content {
  display: block;
}

.productdetailsbtn {
  font-size: 20px;
  border: none;
  background: none;
  color: #12311e;
  opacity: 0.8;
  cursor: pointer;
}

.productdetailsbtn:hover {
  color: #12311e;
  opacity: 1;
  border: none;
  background: none;
}

.productdetailspane {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  min-height: 90vh;
  max-height: 90vh;
  width: 60%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  position: absolute;
  left: 5%;
  text-align: center;
  z-index: 3;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
}

.backbtn {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: darkslategrey;
  background-color: limegreen;
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.7), rgba(50, 205, 50, 0.3));
  border-radius: 10px;
  border: none;
  font-family: "Poppins";
  cursor: pointer;
}

.backbtn:hover {
  background: linear-gradient(to left top, rgba(50, 205, 50, 0.9), rgba(50, 205, 50, 0.6));
}

.listview {
  text-align: left;
}

/* *******************Checkout********************** */

.container {
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  min-height: 90vh;
  max-height: 90vh;
  width: 60%;
  position: absolute;
  left: 5%;
  margin: 80px auto;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.3);
  overflow: auto;
}

.container form {
  padding: 20px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.container form .row2 {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.container form .row2 .col {
  flex: 1 1 150px;
  gap: 60px;
}

.container form .row2 .col .title {
  font-size: 20px;
  color: #333;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.container form .row2 .col .inputBox {
  display: flex;
  margin: 15px 0;
}

.container form .row2 .col .inputBox label {
  width: 150px;
}

.container form .row2 .col .inputBox span {
  margin-bottom: 10px;
  display: block;
}

.container form .row2 .col .inputBox input,
.container form .row2 .col .inputBox select {
  border: 1px solid #ccc;
  padding: 10px 15px;
  font-size: 15px;
  text-transform: none;
  flex: 1 1;
}

.container form .row2 .col .inputBox input:focus {
  border: 1px solid #000;
}

.container form .row2 .col .flex {
  display: flex;
  gap: 15px;
}

.container form .row2 .col .flex .inputBox {
  margin-top: 5px;
  display: inline-block;
  width: 50%;
}

.container form .row2 .col .flex .inputBox label {
  width: unset;
  display: block;
}

.container form .row2 .col .flex .inputBox input,
.container form .row2 .col .flex .inputBox select {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.container form .row2 .col .inputBox img {
  height: 34px;
  margin-top: 5px;
  filter: drop-shadow(0 0 1px #000);
}

.container form .submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 17px;
  background: #27ae60;
  color: #fff;
  margin-top: 5px;
  cursor: pointer;
}

.container form .submit-btn:hover {
  background: #2ecc71;
}

/* -------------------------Account---------------------------- */

.accounttracings {
  list-style-type: none;
}

.cancelbtn {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: darkslategrey;
  background-color: red;
  background: linear-gradient(to left top, rgba(255, 50, 50, 0.7), rgba(255, 50, 50, 0.3));
  border-radius: 10px;
  border: none;
  font-family: "Poppins";
  cursor: pointer;
}

.cancelbtn:hover {
  background: linear-gradient(to left top, rgba(255, 50, 50, 0.9), rgba(255, 50, 50, 0.6));
}

/* ----------------------Top Bar--------------------------- */

.topbar {
  position: absolute;
  top: 0;
  background-color: white;
  background: linear-gradient(to top left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loginright {
  float: right;
  margin-right: 10px;
}

nav {
  float: left;
  margin-left: 10px;
}

.logocontainer {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
}

/*
.loginright {
  float: right;
  margin-right: 10px;
}

nav{
  float: left;
  margin-left: 10px;
}

.topbar img{
align-self: center;
}
*/
/* --------------------------Footer------------------------- */

.bottombar {
  position: absolute;
  bottom: 0;
  background-color: white;
  background: linear-gradient(to top left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottombarright {
  float: right;
  margin-right: 10px;
}

.bottombarleft {
  float: left;
  margin-left: 10px;
}

/* ----------------- Old Footer
.footer {
  position: absolute;
  bottom: 0;
  
  width: 100%;
  display: flex;
  justify-content: center;
  
  background-color: white;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  
}
*/

/*----------------------------Dark Mode----------------------------------*/

/* Style the switch */
.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
  border-radius: 5px;
}

/* Hide the default checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Style the slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 5px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 5px;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Dark mode styles */
body.dark-mode {
  background-color: black;
  background: linear-gradient(to top left, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
  color: white;
}

body.dark-mode a {
  color: white;
}

body.dark-mode h1 {
  color: white;
}

body.dark-mode h2 {
  color: white;
}

body.dark-mode .Mainpane {
  background-color: black;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
}

body.dark-mode .Rpane {
  background-color: black;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
}

body.dark-mode .topbar {
  background-color: black;
  background: linear-gradient(to top left, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
}

body.dark-mode #getstartedbutton {
  color: white;
}
body.dark-mode .addtocartbtn {
  color: white;
}
body.dark-mode .cancelbtn {
  color: white;
}
body.dark-mode button {
  color: white;
}

body.dark-mode .greencontainer {
  background-color: black;
  background: linear-gradient(to bottom right, rgba(0, 50, 0, 0.9), rgba(0, 20, 0, 0.8));
}
body.dark-mode .salmoncontainer {
  background-color: black;
  background: linear-gradient(to bottom right, rgba(50, 0, 0, 0.9), rgba(20, 0, 0, 0.8));
}
body.dark-mode .bluecontainer {
  background-color: black;
  background: linear-gradient(to bottom right, rgba(0, 0, 50, 0.9), rgba(0, 0, 20, 0.8));
}
body.dark-mode .clearcontainer {
  background-color: black;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
}
body.dark-mode .bubble {
  background-color: black;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
}
body.dark-mode .bottombar {
  background-color: black;
  background: linear-gradient(to top left, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
}
body.dark-mode .storecontainer {
  background-color: black;
  background: linear-gradient(to top left, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
}
body.dark-mode .productcontainer {
  background-color: black;
  background: linear-gradient(to top left, rgba(90, 90, 90, 0.9), rgba(90, 90, 90, 0.7));
}
body.dark-mode .productsplitview {
  background-color: black;
  background: linear-gradient(to top left, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.8));
}
body.dark-mode .loginpane {
  background-color: black;
  background: linear-gradient(to top left, rgba(90, 90, 90, 0.9), rgba(90, 90, 90, 0.7));
}

/*-------------------------Carousel--------------------------*/

* {
  box-sizing: border-box;
}

/* carousel */
.carousel {
  position: relative;
}

.carousel_inner {
  width: 100%;
  overflow: hidden;
}

.carousel_inner::after {
  content: "";
  display: block;
  clear: both;
}

.carousel_item {
  position: relative;
  float: left;
  display: none;
  width: 100%;
  margin-right: -100%;
}

/* slide effect */
.carousel_item__active,
.carousel_item__pos_prev,
.carousel_item__pos_next {
  display: block;
}

.carousel_item__pos_prev {
  left: -100%;
}

.carousel_item__pos_next {
  left: 100%;
}

.carousel_item__prev {
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
}

.carousel_item__next {
  transform: translateX(-100%);
  transition: transform 1s ease-in-out;
}

/* fade effect */
.carousel__fade .carousel_item__pos_prev,
.carousel__fade .carousel_item__pos_next {
  left: 0;
  opacity: 0;
}

.carousel__fade .carousel_item__prev,
.carousel__fade .carousel_item__next {
  transform: none;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.carousel__fade .carousel_item__active.carousel_item__prev,
.carousel__fade .carousel_item__active.carousel_item__next {
  opacity: 0;
}

/* carousel */
.carousel_img {
  display: block;
  width: 100%;
}

.carousel_caption {
  position: absolute;
  top: 0;
  display: flex;

  justify-content: center;
  width: 100%;
  height: 100%;

  text-align: center;
  color: #fff;
  z-index: 1;
}

.carousel_title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.carousel_description {
  margin-top: 0.75rem;
  line-height: 150%;
}

.carousel_indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  z-index: 1;
}

.carousel_dot {
  display: block;
  padding: 0.25rem;
  background-color: rgba(255, 50, 50, 0.25);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.5s ease-in-out;
}

.carousel_dot__active {
  background-color: rgba(255, 0, 0, 0.8);
  cursor: default;
  pointer-events: none;
}

.carousel_control {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.carousel_button {
  display: block;
  padding-inline: 1rem;
  font-family: "Raleway", sans-serif;
  font-size: 1.375rem;
  background-color: transparent;
  color: rgba(255, 50, 50, 0.25);
  border: none;
  cursor: pointer;
  transition: color 0.25s;
  z-index: 1;
}

.carousel_button:hover {
  color: rgba(255, 50, 50, 0.75);
}

/*--------------------------Colored containers--------------------------------*/

.greencontainer {
  background-color: rgba(198, 255, 231, 0.75);
  padding: 10px;
}

.bluecontainer {
  background-color: rgba(174, 224, 255, 0.75);
  padding: 10px;
}

.salmoncontainer {
  background-color: rgba(214, 181, 168, 0.75);
  padding: 10px;
}

.clearcontainer {
  padding: 10px;
}
