/* CSS */

body {

  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.7) 0 100%), url("/static/images/bg2.7202ea54acbf.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; */

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/************************************************/
/* START: base_generic.html and index.html */
/************************************************/
.my-navbar {
  background-color: #333;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  vertical-align: middle;
  height: 3 rem;
  z-index: 1050;
}

.my-logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.my-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0px 0px 0px 16px;
  margin: 10px 0px 0px 8px;
  z-index: 1000;
}

.my-menu li a {
  color: white;
  text-decoration: none;
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.my-menu li a:hover {
  background-color: #575757;
  border-radius: 5px;
}

.my-menubtn {
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 0px;
  border-style: none;
}

.my-menubtn:hover {
  background-color: #575757;
  border-radius: 5px;
}

/* Hamburger icon */
.my-hamburger {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Responsive styles */
@media (max-width: 900px) {
  .my-menu {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #333;
    display: none;
    margin: 0px 0px 0px 8px;
    z-index: 1000;
  }

  .my-menu li {
    text-align: right;
    /* border-top: 1px solid #444; */
    z-index: 1001
  }

  #menu-toggle:checked+.my-hamburger {
    color: red;
  }

  #menu-toggle:checked+.my-hamburger+.my-menu {
    display: flex;

  }

  .my-hamburger {
    display: block;
  }
}

.my-property-image {
  position: relative;
  margin: 1rem;
}

.my-property-image img {
  max-width: 100%;
  /* display: block; */
  max-height: 100%;

  object-fit: contain;
}

/*------------------------------------------------*/
/* END: base_generic.html and index.html */
/************************************************/

.my-text-area {
  /* width: 60dvw; */
  width: 80%;
  /* height: auto; */
  height: 25px;
  font-size: 0.6rem;
}

.grand-daddy {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  width: 95dvw;
  height: 90lvh;
  margin: auto;
}

.daddy {
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
}

/* new job plus icon related */
.container-txt-icon {
  display: flex;
  align-items: stretch;
  /* margin-top: 1rem; */
  width: auto;
}
.container-txt-icon-txt {
  width: 5rem;
  height: 3rem;
  background-color: rgba(204, 222, 197,0.4);
}
.container-txt-icon-txt p {
  color: #566573;
  font-size: 1rem;
  margin-top:0.6rem;
  text-align: center;
}
.container-txt-icon-icon {
  width: 3rem;
  height: 3rem;
}
/* plus icon */

.checkbox-icon {
  background-color: rgba(20, 215, 88, 0.5);
  width: 3rem;
  height: 3rem;
  border-style: groove;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.checkbox-icon:has(input:checked) {
  border-style: inset;
  border-width: 3px;
}

.iconview {
  display: block;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  /* to make the + cover the entire div, so that entire div is clickable */
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

/* Hide checkbox */

/* [id^="toggle-icon-"] {
  display: none;
} */

#newjob-display-toggle {
  display: none;
}

#viewjob-display-toggle {
  display: none;
}

#archive-display-toggle {
  display: none;
}

#result-quality-good-toggle {
  display: none;

}
#result-quality-bad-toggle {
  display: none;
}

/****** ARCHIVE JOB ICON *****/
.job-archive-icon {
  background-color: rgba(255,255,255,0.8);
  width: 2rem;
  height: 2rem;
  position: absolute;
  right:10px;
  top:0px;
  z-index: 98;
}

.job-archive-icon label {
  margin-left: 5px;
  font-size: min(max(1.5rem,6dvw),2rem);
}

.job-archive-icon label:hover {
  cursor: pointer;
}

.job-archive-icon input {
  margin-right: 5px;
}

.job-archive-icon:has(input:checked) {
  background-color: rgba(235, 13, 13, 0.8);
  border-style: inset;
  border-width: 3px;
}

/****** JOB DELETE ICON *****/
/* earlier button style */
.div-job-delete-btn {
  padding-left: 0rem;
  font-size: min(max(0.5rem,3dvw),0.8rem);
  position: absolute;
  top: 0px;
  left: 10px;
  z-index: 99;
}
.div-job-delete-btn button {
  --bs-btn-font-size: .75rem;
}
/* .div-job-delete-btn button:hover {
  background-color: rgba(235, 13, 13, 0.8);
  border-style: solid;
} */


.box-with-shadow-round-corners {
  border-radius: 10px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background-color: rgba(203, 233, 203, 0.5);
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
}

.div-image-search {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  width: 50%;
  height: 50%;
}
/* cover image related */
.cover-image {
  /* display: flex;
  align-items: start;
  justify-content: left;
  flex-direction: column; */

  border-radius: 10px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background-color: rgba(203, 233, 203, 0.5);
  /* margin: 1rem; */

}

.cover-image-upload {
  display: inline-flex;
  /* margin: 1rem 0.5rem 0rem 1rem; */
  padding: 0.5rem;
  justify-content: space-between;

}
/* to have gaps between two inputs */
.cover-image-upload input + input {
  margin-left: 1rem;
}

.div-img-search {
  padding: 0.5rem;
}

.div-img-search img {
  max-width: 100%;
  height: auto;
}

.div-canvas {
  padding: 0.5rem;
}

.div-canvas canvas {
  max-width: 100%;
  height: auto;

}

.div-switch-slider {
  padding-left: 1rem;
  padding-bottom: 0.5rem;
  font-size: 0.8rem;
  color: blue;

}

.div-img-manpulation-controls {
  padding-left: 0.5rem;
  padding-bottom: 1rem;
  display: inline-flex;
  font-size: 0.8rem;
}
.div-img-manpulation-controls div + div {
  margin-left: 0.25rem;
}

.div-login {
  display: flex;
  flex-direction: column;
  justify-items: center;
}
.div-login-inputs {
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  width:100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-content: stretch;
}

/* Basic grid container styling */
.grid-container {
  display: grid;
  /* width: 95dvw; */
  width: 90%;
  height: 100%;
  gap: 10px;
  padding: 10px;
  /* Creates a flexible grid using auto-fit:
     Each column will be at least 200px, but expand equally up to fill available space */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* background-color: #f0f0f0; */
  /* opacity: 0.1; */
}

/* Styling for individual grid items */
.grid-item {
  /* background-color: #4CAF50; */
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  border-radius: 8px;
}

/* Media queries to adjust layout for specific breakpoints */
@media (max-width: 768px) {
  .grid-container {
    /* For medium screens, ensure there are at most two columns */
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-container {
    /* For small screens, collapse to a single column */
    grid-template-columns: 1fr;
  }
}

.grid-col-10pct {
  grid-column: span 1;
}

.grid-col-90pct {
  grid-column: span 9;
}

.btn-inputs {
  padding: 0.3em;
  margin-top: 0.3em;
  margin-left: 0.3em;
  margin-bottom: 2px;
  border-radius: 0.3em;
  border: none;
  background-color: #e8daef;
  text-indent: 0.01em;
  text-align: center;
  display: inline-flex;
  width: auto;
  color: #566573;
  font-size: 0.7rem;
}


.btn-dis {
  color: white;
}
.btn-dis:disabled {
  background-color: lightgrey;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  /* color: #555; */
  color: rgba(57, 44, 44, 0.95);
  font-size: 1.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: #4CAF50;
  outline: none;
}

.login-btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  background-color: #4CAF50;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-btn:hover {
  background-color: #45a049;
}

.form-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #2f2d2d;
}

.form-footer a {
  color: #4CAF50;
  text-decoration: none;
  font-size: 1.5rem;
}

.div-visitor-unauthenticated {
  top: 20lvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  justify-items: center;

  border-radius: 16px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;

  background-color: rgba(203, 233, 203, 0.5);
  margin-top: 2rem;
  position: relative;
}
.div-visitor-unauthenticated p + p {
  margin: 1rem;
  padding: 1rem;
}
.div-visitor-unauthenticated div + div {
  margin: 1rem;
  padding: 1rem;
}

.div-index-user-card {
  top: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
  border-radius: 16px;

}

.clickable-div {
  cursor: pointer;
  display: block;

}

.div-zstacked-parent {
  position: relative;
}
.div-zstacked-inner-div {
  position: absolute; /* Child divs are positioned relative to their parent */
  /* width: 100px; /* Example width */
  /* height: 50px; /* Example height */
  background-color: black; /* Optional: For visibility */
  /* color: white; /* Optional: For visibility */
  text-align: center; /* Optional: For centering text */
  padding-top: 10px; /* Optional: For spacing */
}

.div-zstacked-inner-div-1 {
  top: 0px; /* 20px Position the div from the top of the parent */
  left: 0px; /* Position the div from the left of the parent */
  z-index: 1; /* Ensures this div is initially under the other div */
  width: 100%;
}

.div-zstacked-inner-div-2 {
  top: 0px; /* Position the div from the top of the parent */
  left: 0px; /* Position the div from the left of the parent */
  z-index: 2; /* This div will be on top of inner-div-1 */
  /* background-color: red; Optional: For visibility */
  height: 100%;
}



/****************************************/
/* The Modal (background) */
/****************************************/
.div-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.div-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.btn-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.btn-close:hover,
.btn-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/****************************************/
/* Waiting graphic: spin */
/****************************************/
.floating-div {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
  width: 50dvw;
  height: auto;
  background-color: rgba(165, 105, 189, 0.75);;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  font-family: 'Times New Roman';

}

.floating-div p {
  margin: 1em;
  padding: 1em;
  color: white;
}

.spinning {
  animation: spin 10s linear infinite;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/****************/
/****************/
/****************/

.center-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  top: 10rem;
}

.property-card {
  width: 30rem;
  height: 15rem;
  border-radius: 16px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: 'Arial', sans-serif;
  background-color: rgba(203, 233, 203, 0.5);
  margin: 1rem;
  display: flex;
  justify-items: center;
  flex-direction: column;
  align-items: center;

}

/*
  usage::
  <div class="card">
    <img src="images/home/home-image.png" />
    <div class="card-body">
      <strong>This is a title</strong>
      <p>This is a paragraph.</p>
      <a href="https://www.example.com/" class="before:absolute before:inset-0">Continue Reading</a>
    </div>
  </div>

  */
/* .property-card a::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
  } */



.runstatusbadge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #d35400;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}




.login-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.login-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}


@media (max-width: 480px) {
  .login-container {
    margin: 0 1rem;
  }
}

/************************
*** SCROLL GALLERY ****
************************/

.my-pre {
  margin: 0px;
  padding: 0px;
  white-space: pre-wrap;
}

.button-icon {
  background-color: rgba(20, 215, 88, 0.8);
  width: 8rem;
  height: 2rem;
  border-color: rgba(20, 215, 88, 0);
  border-style: groove;
  border-radius: 5px;
  /* display: flex;
  justify-content: center;
  align-items: stretch; */
  color: white;
}
.button-icon:hover {
  outline: 5px solid;
  border-style: inset;
  border-color: greenyellow;
}





#btnBack, #btnNext {
  width: 3rem;
  cursor: pointer;
  margin: 1rem;
}

.shadow-box-flex {
  border-radius: 10px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background-color: rgba(203, 233, 203, 0.5);

  width: 90%;
  height: 90%;
  /* max-height: 80lvh; */

  display: flex;
  /* flex-direction: column; */
  align-items: start;
  justify-content: start;
  align-content: normal;

  border-style: solid;
  border-width: 2px;
}


.my-cardbox-job-status {
  border-radius: 10px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background-color: rgba(203, 233, 203, 0.5);

  width: 540px;
  height: auto;
}

.my-cardbox-container-controls {
  width: 608px;
  height: auto;
  position: sticky;
  top: 3.5rem;
}

.my-cardbox-container {
  width: 641px;
  /* height: auto; */
  height: 75lvh;
}

.gallery-wrapper {
  display: flex;
  /* align-items: center;
  justify-content: center; */
  /* margin: 10% auto; */
  height: auto;

}

.gallery {
  width: 80dvw;
  display: flex;
  overflow-x: scroll;
}

.gallery div {
  width: 100%;
  display: grid;
  grid-template-columns: auto;
  grid-gap: 20px;
  padding: 10px;
  flex: none;
}

.gallery div div {
  width: 100%;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.my-cardbox {
  border-radius: 10px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background-color: rgba(203, 233, 203, 0.5);

  width: 641px;
  height: auto;

  /*
  this restricts height
  but does not affect y-separation
  */
  max-height: 80lvh;
  overflow-y: auto;

  display: flex;
  flex-direction: column;

  align-items: start;
  align-content: start;

  justify-content: start;
  justify-items: start;

  row-gap: 0px;
  gap: 0px;
  column-gap: 0px;

  border-style: solid;
  border-width: 2px;
}
.my-element {
  width: 641px;
  background-color: lightblue;
}

@media all and (max-width: 675px) {
  .my-cardbox-job-status {
    border-radius: 10px;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background-color: rgba(203, 233, 203, 0.5);

    width: calc(80vw);
    height: auto;
  }
  .my-cardbox-container-controls {
    width: calc(90vw);
    height: auto;
    position: sticky;
    top: 3.5rem;
  }
  .my-cardbox-container {
    width: calc(95vw);
    /* height: auto; */
    height: 75lvh;
  }
  .my-cardbox {
    border-radius: 10px;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background-color: rgba(203, 233, 203, 0.5);

    width: calc(95vw);
    height: auto;
    /*
    this restricts height
    but does not affect y-separation
    */
    max-height: 80lvh;
    overflow-y: auto;

    display: flex;
    flex-direction: column;

    align-items: start;
    align-content: start;

    justify-content: start;
    justify-items: start;

    row-gap: 0px;
    gap: 0px;
    column-gap: 0px;

    border-style: solid;
    border-width: 2px;
  }

  .my-cardbox > * {
    flex: 0px;
  }
  .my-element {
    width: calc(95vw);
    background-color: green;
  }
}

.pretty-table {
  border-style: none;
  width: 100%;
}

.pretty-table thead {
  background-color: #a569bd;
  position: sticky;
  /* top: 5.7rem; */
  top: 6rem;
  z-index: 96;
  width: 100%;
}
.pretty-table tbody {
  width: 100%;
}
.pretty-table th {
  border: 0.5px solid black;
  padding: 4px;
  /* border-radius: 10px; */
  border-style: dotted;
  vertical-align: top;
  color: black;
  font-size: min(max(0.3rem,2dvw),0.7rem);
  height: 1rem;
}

.pretty-table th span {
  border: 0.5px solid black;
  padding: 4px;
  /* border-radius: 10px; */
  border-style: dotted;
  vertical-align: top;
  color: white;
}

.pretty-table td {
  border: 0.5px solid black;
  padding: 4px;
  /* border-radius: 10px; */
  border-style: dotted;
  vertical-align: top;
  font-size: 0.65rem;
  color: black;
}


.pretty-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.pretty-table tbody tr:nth-child(even) {
  background-color: #eee;
}

.pretty-table col_delete {
  width: 10%;
}

.pretty-table col_images {
  width: 90%;
}

.my-select-multiple {
  font-size: 0.65rem;
  width: 95%;
  height: 6rem;
  max-height: 10rem;
}

/* Default styles (desktop first) */
/* .my-element {
  width: 600px;
  background-color: lightblue;
} */

/* Media query for screens below 768px */
/* @media all and (max-width: 500px) {
  .my-element {
      width: calc(80vw);
      background-color: green;
  }
} */