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;
}

.showhidearea {
	display: ;
}

#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 */

#billedoversigt li{
	list-style-type:none;
	margin-right:10px;
	margin-bottom:10px;
	flex-grow: 1;
}

#billedoversigt li:last-child {
  flex-grow: 10;
}

#billedoversigt ul {
  display: flex;
  flex-wrap: wrap;
}

#billedoversigt img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
}

/* 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;
}
.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;
}

/* Styling for gallery images */
        .gallery-img {
            width: 100%;
            height: 200px;
            height: 100%;
            object-fit: cover;
            cursor: pointer;
        }
        .modal-img {
            max-width: 100%;
            max-height: 70vh;
        }
        .cropper-container {
            max-width: 100%;
            max-height: 80vh;
            overflow: hidden; /* Prevent image from moving outside frame */
        }
        #cropperContainer {
          max-width: 100%;
          max-height: 100%;
          overflow: hidden;
      }
      .cropper-container {
          max-width: 100% !important;
          max-height: 100% !important;
      }
      .modal-body {
          position: relative;
          overflow: hidden; /* Prevent cropper from overflowing */
      }