* {  
    box-sizing: border-box;
    border: 0;
    /* background-color: #D8F1EA; */
    /* color: white;  */
} 

body {
  font-family: Arial, Helvetica, sans-serif;
}


/* Style the header */
.header {
  background-color: #D8F1EA;
  /* padding: 5px; */
  text-align: left;
  font-size: 35px;
  color: white;
}

.header img {
  width: 300px;
}

/* Container for flexboxes */
.search {
  /* display: -webkit-flex;
  display: flex; */
  margin-top: 5px;
  padding: 0px 5px 0px 5px;
  width: 100%;
  background-color: #D8F1EA;
  border-radius: 5px;
}

/* Style the content */
.search-result {
  /* -webkit-flex: 3;
  -ms-flex: 3; */
  /* flex: 3; */
  /* background-color: #f1f1f1; */
  background-color: #E7EAEE;
  border-radius: 5px;
  margin-top: 5px;
  padding: 0px 5px 0px 5px;
  width: 100%;
}


.center {

  margin-top: 5px;
  padding: 0px 5px 0px 5px;
  
  width: 100%;
  background-color: #D8F1EA;
  border-radius: 5px;
}

 .centertext { 
  display:flex;
  justify-content: center;
  align-items: center;
  color: #5C7384;
  text-align: center;
 }

/* Style the footer */
.footer {
  border-radius: 5px;
  /* margin-top: 5px; */
  background-color: #5B3E90;
  padding: 14px 16px;
  text-align: center;
  color: white;
}




/* Style the navigation menu */
nav {
  /* -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1; */
  background-color: #5B3E90;
  /* background: #ccc; */
  /* padding: 5px; */
  border-radius: 5px;
  
}

/* Style the list inside the menu */
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* background-color: #333333; */
  border-radius: 5px;
}

nav ul li {
  float: left;
}

nav ul li a {
  display: block;
  color: white;
  /* text-align: center; */
  padding: 14px 16px;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: #A29FCE;
}



.image-action {
  /* padding-right: 5px; */
  margin-right: 5px;
  width: 30px;
}

.image-search {
  /* padding-right: 5px; */
  margin-left: 50px;
  /* padding-right: 50px; */
  width: 80px;
  text-align: center;
    /* margin: 0 auto; */
}


form {
  /* border-radius: 5px; */
  /* background-color: #f2f2f2; */
  padding: 20px;
}

  input[readonly] {
      background-color: #E7EAEE; /* Light grey background */
      border: 1px solid #ccc; /* Grey border */
      color: #777; /* Darker text color */
      cursor: default; /* Change cursor to default */
  }


/* label {display: block;} */

form label {
    display: inline-block; /* Allows width to be applied */
  width: 150px;          /*Sets a specific width */
  margin-right: 10px;    /* Adds space between label and input */
  /* Other optional styles for alignment */
  text-align: left;     /* Aligns text to the right within its width */
}

input[type=text], input[type=number], select{
  width: 150px;   
  vertical-align: middle;
  display: inline-block;
  padding: 12px;
  margin: 5px 0px 5px 0px;
  /* display: inline-block; */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit], button[type=submit] {
  width: 50%;
  background-color: #5B3E90;
  color: white;
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


button {
  width: 200px;
  background-color: #5B3E90;
  color: white;
  padding: 14px;
  margin: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover, button[type=submit]:hover {
  background-color: #6d44ad;
}

.center-position {

        margin: 0 auto; /* Centers horizontally by setting equal left and right margins */
        width: 50%; /* Example width */

}



table {
  border-collapse: collapse;
  width: 100%;
  padding: 20px;
  /* background-color: #f2f2f2; */
  /* border-radius: 5px; */
 


}

th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #DDD;
}

tr:hover {background-color: #A29FCE;}





/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
/* @media (max-width: 600px) {
  .section {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
} */














.toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #FFF;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #060;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.btn-toggle{
  border: 2px solid black;
  background-color: white;
  color: black;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
}

.btn-toggle-off  {
  border: 2px solid black;
  background-color: white;
  color: black;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
}

.btn-toggle-on:hover .btn-toggle-off:hover {
  background-color: #f0f0f0;
}

.btn-toggle-on {
  border: 2px solid red;
  background-color: red;
  color: white;
  box-shadow: 2px 2px 10px rgba(255, 0, 0, 0.5);
}

.btn-toggle-one {
  border: 2px solid black;
  background-color: rgb(41, 165, 72);
  color: black;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
}

.btn-toggle-two {
  border: 2px solid black;
  background-color: rgb(77, 169, 192);
  color: black;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
}
.btn-toggle-three {
  border: 2px solid black;
  background-color: rgb(250, 253, 58);
  color: black;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
}

div.flex-container {
  display: flex;
  flex-direction: row;
  background-color: #D8F1EA;
}

div.flex-container > div {
  margin: 10px;
}

/* Use media query and show the flex items vertically if screen width is less than 600px */
@media screen and (max-width:600px) {
  div.flex-container {
    flex-direction: column;
  }
}

.fieldlabel-header {

  border: 2px solid rgb(87, 86, 86);
  border-radius: 8px;
  color: black;
  padding: 5px 20px 10px 20px;
  /* margin-bottom: 10px; */
  font-size: 16px;
  min-width: 400px;
  max-width: 300px;
}

.fieldlabel-text {

  /* border: 2px solid rgb(87, 86, 86);
  border-radius: 8px;
  color: black; */
  padding: 5px 5px 5px 5px;
  /* margin-bottom: 10px;
  font-size: 16px; */
}

.fieldlabel-total {

  /* border: 2px solid rgb(87, 86, 86);
  border-radius: 8px;
  color: black; */
  background-color: #c0bebe;
  /* padding: 5px 5px 5px 5px; */
  /* margin-bottom: 10px;
  font-size: 16px; */
}

.fieldlabel-text-align-right{
  text-align: right;
}

.fieldlabel-text-align-center{
  text-align: center;
}

.fieldlabel-text-bold{
  font-weight: bold;
}