body {
  font: 16px Arial;
  padding-bottom: 110px;
}

#content-admin {
  margin: 0px 50px
}

.note-editable {
	text-align: center;
}

.jumbotron {
	padding: 1rem 1rem !important;
}

div.sticky {
    z-index: 100;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: maroon;
	margin: 0px 0px;
    padding: 20px 0px;
}

#salmetekst {
	min-height: 50vh;
	overflow-y: scroll;
	overflow-x: hidden;
	border: 1px solid;
 }
 
 .autocomplete.jumbotron {
	 margin-bottom: 5px;
 }
 
.k-header {
    background: url("solsikke-lang.jpg") no-repeat center center;
	background-color: lightblue;
    background-size: cover;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  /*display: inline-block;*/
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.ui-autocomplete {
    max-height: 250px;
    overflow-y: scroll;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
    padding-right: 20px;
  }

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9; 
}

.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

div.field_wrapper>div:nth-of-type(even) {
  background: lightblue;
}

#oversigt .btn {
  margin-bottom: 20px;
}

.dtable {
  font-size: 1.5em;
}
/*Spinning wheel*/
.loader {
  margin: 50px 50px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid blue;
  border-right: 16px solid green;
  border-bottom: 16px solid red;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* style for gallery */

/* Gallery Styles */
.gallery-item {
  position: relative;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f8f9fa;
  height: 350px;
}

.gallery-item:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70%;
  width: 100%;
  background-color: #e9ecef;
}

.gallery-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.filename {
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
  color: #333;
  font-weight: 500;
}

.buttons {
  display: flex;
  justify-content: flex-start;
  padding: 10px;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.buttons button {
  margin-right: 10px;
}

/* Cropper modal styles */
.cropper-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.cropper-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
}

/* Opsætning af drag'n'drop box */
.note {
  width: 500px;
  margin: 50px auto;
  font-size: 1.1em;
  color: #333;
  text-align: justify;
}
#drop-area {
  border: 2px dashed #ccc;
  border-radius: 20px;
  width: 480px;
  /*margin: 50px auto;*/
  padding: 20px;
}
#drop-area.highlight {
  border-color: purple;
}
.my-form {
  margin-bottom: 10px;
}
#gallery {
  margin-top: 10px;
}
#gallery img {
  width: 150px;
  margin-bottom: 10px;
  margin-right: 10px;
  vertical-align: middle;
}
.button {
  display: inline-block;
  padding: 10px;
  background: #ccc;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.button:hover {
  background: #ddd;
}
#fileElem {
  display: none;
}

.username {
	list-style-type:none;
}
.username a {
	color: white;
}