/*#region general*/
body{
    background-color: antiquewhite;
    background-color: whitesmoke;
    font-family: sans-serif;
    line-height: 1.5;
    margin: 2%;
    }

.titel{
    text-align: center;
    font-weight: 800;
    font-size: xx-large;
    position: relative;
    margin-bottom: 50px;
    margin-top: 20px;
    }
  
.noDecorations{
  text-decoration: none;
  color: black;

.flexBreak{
  width: 100%;
  height: 0;
}
}

/*#endregion*/

/*#region index*/
.thinBody{
  min-width: fit-content;
  margin: 5%;
  margin-top: 2%;
  margin-bottom: 2%;
}

@media screen and (min-width: 1800px){
  .thinBody{
  margin: 20%;
  margin-top: 2%;
  margin-bottom: 2%;
  }
}

.featured_Container{
  border: 0.5px solid lightgray;
  border-radius: 15px;
  padding: 10px;
  margin: 2% auto;
  max-height: 800px;
  background-color: white;
  display: flex;
  align-items: center;
  position: relative;
}

.featured_Container img{
  max-height: 800px;
  margin-right: 10px;
  border: 1px solid lightgray;
  margin: auto 10px auto auto;
}

.featuredText {
  margin: auto auto auto 10px;
}

#featured_leftArrow {
  margin-left: 2px;
  position: absolute;
  color: #2e2e2e;
  padding: 10px;
  font-size: xx-large;
  background-color: lightgrey;
  opacity: 50%;
  border-radius: 5px;
}

#featured_rightArrow {
  margin-right: 2px;
  right: 0;
  position: absolute;
  color: #2e2e2e;
  padding: 10px;
  font-size: xx-large;
  background-color: lightgrey;
  opacity: 50%;
  border-radius: 5px;
}

.bold{
  font-weight: bold;
}

/* Used for cycling the images with indes.js */
.counter {
  display: none;
}

/*#endregion*/

/*#region plakatsuche top of page*/

.sitemap{
  margin-bottom: 10px;
}

#keineErgebnisse{
  color: black;
  font-weight: bold;
  font-size: large;
  margin: 10px;
  } 

#display{
  padding: 0;
}

.container{
    position: relative;
    display: inline-block;
    margin: 10px;
}

.image{
    height: 500px;
    border: 5px solid black;
    display: block;
}

.overlay{
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: .5s ease;
}

.overlayText{
    position: absolute;
    bottom: 0;
    margin: 2%; 
    opacity: 0;
    transition: .5s ease;
    color: white;
    -webkit-text-stroke: 0.3px black;
}

.container:hover .overlay{opacity: 1;}
.container:hover .overlayText{opacity: 1;}
/*#endregion*/

/*#region plakatsuche modal */
/* Modal from W3-schools */

/* The Modal (background) */
#modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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 */
}

/* The Modal (background) */
#editSaveModal {
    display:block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 10%;
    height: 10%;
    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/Box */
#modalContent {
  background-color: #fefefe;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  max-width: 80%; /* Could be more or less, depending on screen size */
}

#modalContainer {
    display: flex;
}

#modalIMG{
  border: 3px solid black;
  object-fit: contain;
  max-height: 100%;
  max-width: 100%;
}

#imgLink{
  margin-right: 20px;
  max-height: 1000px;
  max-width: 60%;
  object-fit: contain;
}

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

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

.editField {
    display: inline;
    padding: 3px 7px;
    margin: 6px;
    width: 100%;
}

/* Popup for confirming the save -- copied from w3schools */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

/* The actual popup (appears on top) */
.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 135%;
    left: 50%;
    margin-left: -80px;
  }
  
  /* Popup arrow */
  .popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  /* Toggle this class when clicking on the popup container (hide and show the popup) */
  .popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
  }
  
  /* Add animation (fade in the popup) */
  @-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  
  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
  }
/*#endregion*/


