#summaryGrid tfoot tr th {
  cursor: pointer;
  text-decoration: underline;
  color: blue;
}

#header,#main {
  padding: 25px;
}

#photoPreview {
  padding: 10px;
  border: solid 1px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 400px;
  max-height: 600px;
  background: #fbf8f8;
}

#photoPreview img {
  width: 100%;
  max-height: 400px;

}


#claimControlsHolder  progress {
  width: 90%;
  height: 30px;
}

#spinHolder  progress {
  width: 90%;
  height: 30px;
}


#spinHolder > div {
  padding: 10px;
  border: solid 1px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 600px;
  background: #fbf8f8;
}

#spinHolder > div.warning {
  background: cornsilk;
}

.faded {
  opacity: 0.6;
}

.faded:hover {
  opacity: 1;
}

#claimControlsHolder > div {
  padding: 10px;
  border: solid 1px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 600px;
  background: #fbf8f8;
}

#claimControlsHolder > div.warning {
  background: cornsilk;
}

#claimControlsHolder > div:hover {
  opacity: 1;
}

p.warning {
  border-radius: 2px;
  padding: 5px;
  background: cornsilk;
  border: solid 1px #eeeeee
}

#claimControlsHolder {
  display: none
}

.pendingUploads,.readyToPublish {
  display: none;
}

button {
  cursor: pointer;
}

body {
  font-family: sans-serif;
  background: #eeeeee;
}

#main {
    margin:10px;
}
a {
  color: #369;
}

input:disabled,select:disabled {
  color:black !important;
}
input.bigCheckbox {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin:10px;
}
.faded{
  opacity: 0.5;
}
#log {
  display: none;
}
/* #logout {
     line-height: 12px;
     width: 50px;
     font-size: 8pt;
     font-family: tahoma;
     margin-top: 10px;
     margin-right: 20px;
     position:absolute;
     top:0;
     right:0;
     padding: 10px !important;
 } */

 .foot {
  margin-top: 40px;
 }
#notes {
  margin: 10px;
  font-size: 1.1em;
  color: #333;
  text-align: justify;
}
.note {
  padding: 10px;
  font-size: 1.1em;
  color: #333;
  text-align: justify;
}

#page-dropzone {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.1);
  display: none; /* Show when dragging */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none; /* So it doesn't block interaction */
}
#page-dropzone.active {
  display: flex;
  pointer-events: all;
  background: rgba(0,0,0,0.25);
}



.safari.btn-warning {
  border: 1px dashed #ccc;
  border-radius: 20px;
  min-height: 50px;
  margin: 10px auto;
  padding: 10px;

  /* Add these lines for centering */
  display: flex;
  align-items: center;    /* vertical centering */
  justify-content: center; /* horizontal centering */
  text-align: center;      /* center text if it wraps */
}

#dropzone1 {
  border: 2px dashed #ccc;
  border-radius: 20px;
  min-height: 100px;
  margin: 50px auto;
  padding: 20px;

  /* Add these lines for centering */
  display: flex;
  align-items: center;    /* vertical centering */
  justify-content: center; /* horizontal centering */
  text-align: center;      /* center text if it wraps */
}

#dropzone1:hover {
  background-color: #f0f0f0;
  cursor: pointer;
}


#albumName,#claimCodeDescription,#username,#password,.bigInput {
  font-size: large;
  padding: 20px;
}

.selected {
  opacity: 0.6 !important;
}

.drop-area {

  /* background-image: url(/assets/target.png); */
  background-position: center;
  background-repeat: no-repeat;
  background-color: white;
  border: 2px dashed #ccc;
  border-radius: 20px;

  min-height: 200px;
  margin: 50px auto;
  padding: 20px;
}
.drop-area.highlight {
  border-color: purple;
}

p {
  margin-top: 0;
}
.my-form {
  margin-bottom: 10px;
}

h4,small {
    pointer-events: none;
}

#gallery {
  overflow: hidden;
  margin-top: 10px;
}
#gallery img {
  width: 150px;
  margin-bottom: 10px;
  margin-right: 10px;
  vertical-align: middle;
}

#gallery div.preview-holder {
  float: left;
  display: block;

}

.preview-holder progress {
  margin-left: 10%;
  width: 80%;
}

.preview-holder.uploading img {
  opacity: 0.25;
}

.preview-holder.uploaded img {
  opacity: 1;
}

.date-title {
  border-bottom: solid 1px black;

}




#gallery div.date-holder {
  clear: both;
  width: 100%;

}

#progress-bar {
  width:100%;
}

.button {
  display: inline-block;
  font-size: large;
  padding: 10px;
  background: #ccc;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 5px;
}
.button:hover {
  background: #ddd;
}
.button.success {
  background: #5cb85c;
}
.button.danger {
  background: #dc3545!important;
}
.button.success:hover {
  background: lightgreen;
}
#fileElem {
  display: none;
}

#updateUserInfo {
  margin: 25px;
}

.hidden {
  display: none !important;
}

#gallery.hide-previews .preview-holder {
  display: none !important;
}

#log {

  padding-top: 30px;
  margin-left: 10px;
  max-height: 300px;
  overflow: auto;
  font-weight: lighter;
  font-size: smaller;
}

#cover-spin {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(255,255,255,0.9);
    z-index:9999;
}

#cover-spin .message {
  text-align: center;
  margin-top: 100px;
}

@-webkit-keyframes spin {
	from {-webkit-transform:rotate(0deg);}
	to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
	from {transform:rotate(0deg);}
	to {transform:rotate(360deg);}
}

#cover-spin::after {
    content:'';
    display:block;
    position:absolute;
    left:48%;top:40%;
    width:40px;height:40px;
    border-style:solid;
    border-color:black;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

#modal-spin-bar {
  width:100%;
  margin-top: 40px;
}

.modal-fader {

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 99998;
    background: rgba(0,0,0,0.8);
}

.modal-window {
    
    

    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 450px;
    min-width: 200px;
    max-width: 80%;
    min-height: 100px;

    font-family: sans-serif;
    top: 150px;

}

.modal-window .button {
  margin-top: 20px;
  margin-right: 10px;
}

.modal-window h1,
.modal-window h2,
.modal-window h3,
.modal-window h4,
.modal-window h5,
.modal-window h6 {
    margin: 0;
}

#notesTop {
  padding-left: 25px;
}

.changePassword {
  display: none
}

#errorHolder {
  background: white;
  max-height: 450px;
  overflow: auto;
  padding: 15px;
}

#errorItems {

}

#errorItems small {
  margin-left: 10px;
}

#errorItems p {
  margin-left: 10px;
}

#claimNote,#loginMessage {
  font-size: small;
  color: red;
  margin-left:10px;
}

#cover-spin-notes {
  margin-top: 10px;
  font-style: italic;
}

.error {
    font-size: 0.85em;
    color: red;
    font-style: italic;
}


.photo-select {
  text-align: center;
}

.photo-select .thumb {
  max-width: 256px;
  max-height: 256px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.photo-select .file-info {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  margin-top: 5px;
}

.photo-select .file-info input {
  margin-right: 10px;
}

.photo-select .bigCheckbox {
  margin-top: 0;
}

.image-container {
  position: relative;
  width: 256px; /* Set the desired width */
  height: 256px; /* Set the desired height */
  background-color: #f0f0f0; /* Placeholder color */
  overflow: hidden;
}
/* Hide shimmer effect when loaded */
.image-container.loaded {
  background: none; /* Remove shimmer background */
  animation: none; /* Stop animation */
}

.lazy-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out; /* Smooth fade-in effect */
}

.image-container.loaded .lazy-image {
  opacity: 1;
}

.image-container {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  from {
    background-position: -200% 0;
  }
  to {
    background-position: 200% 0;
  }
}