body {
  display: flex;
}

.file-input {
    display: inline-block;
    background-color: indigo;
    color: white;
    padding: 0.5rem;
    font-family: sans-serif;
    border-radius: 0.3rem;
    cursor: pointer;
    margin-top: 1rem;
  }

.tag {
  margin: 5px 6px;
  border-radius: 20px;
  user-select: none;
  cursor: pointer;
  padding: 3px 15px;
}

.list-group
{
  z-index: 100;
}

.li-tag {
  padding: 0px;
  display: flex;
  word-break: break-all;
}

.li-tag-selected {
  border: 3px solid black;
  background-color: red;
}

.side-header {
  width: 50px;
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
}

.side-header-el {
  height: 50px;
  width: 100%;
  margin-top: 15px;
  display: flex;
  font-size: 2em;
  user-select: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.side-main {
  padding-left: 60px;
  width: 100%;
  box-sizing: border-box;
  flex-grow: 1;
}

.form-object-edit {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  height: 100vh; 
  flex-wrap: wrap;
}


.object-image-container {
  margin: auto; 
  height: 500px; 
  width: 500px; 
  display: flex; 
  justify-content: center;
}

.object-file-load {
  width: 100%;
}

.file-info {
  padding: 48px;
}

.search-form {
  width: 100%; 
  display: flex;
}

.search-tag-input {
  max-width: 200px;
}

.search-form-button
{
  width: 200px;
}

.search-form-description
{
  min-width: 150px;
}

.search-results {
  margin: auto; 
  display: flex; 
  width: 90%; 
  justify-content: center; 
  padding: 5px; 
  flex-wrap: wrap;
}


.search-result-link {
  position: relative;
  height: 250px; 
  width: 250px;
  text-decoration: none;  
  margin-top: 5px; 
  margin-left: 5px; 
  display: flex; justify-content: center; align-items: center;
}

.search-result-image {
  position: relative; 
  max-height: 100%; 
  
  max-width: 100%; 
  object-fit: contain;
  display: none;
}


.black-bg
{
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 3;
}

.checkbox-show-menu {
  display: none;
  position: absolute;
}

.checkbox-show-menu-label {
  position: relative;
  margin-top: 15px;
  margin-left: 15px;
  font-size: 2em;
  user-select: none;
  display: none;
}


@media screen and (min-width: 768px) {
  .search-result-image {
    height: 100%; 
  }
}

@media screen and (max-width: 768px) {
  .object-image-container {
    height: 300px; 
    width: 90%; 
  }

  .object-file-load {
    width: 60%;
  }

  .file-info {
    padding: 20px;
  }

  .search-form {
    flex-direction: column;
  }

  .search-tag-input
  {
    width: 100%;
    max-width: none;
  }

  .search-form-button
  {
    margin-top: 5px;
    width: 100%;
  }

  .search-form-description
  {
    margin-top: 5px;
    width: 100%;
  }

  .side-main {
    padding-left: 0px;
  }

  .search-results {
    width: 100%; 
    padding: 1px; 
  }

  .side-header {
    left: -50px;
    z-index: 4;
  }
  
  .checkbox-show-menu-label {
    display: block;
  }

  .checkbox-show-menu:checked ~  .side-header {
    left: 0px;
  }

  .checkbox-show-menu:checked ~ .black-bg {
    display: block;
  }

  .search-result-image {
    max-height: 100%; 
    width: 100%;
    max-width: 100%; 
  }

  .search-result-link {
    width: 90%;
    height: 300px;
  }
}


.spinner-image {
  position: absolute;
}

/*
.circle {
  position: relative;
  top: 5px;
  left: 5px;
  text-align: center;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background-color: #ffffff;
}

.circle-border {
  opacity: 1;
  position: absolute;
  text-align: center;
  width: 110px;
  height: 110px;
  margin-left: 30%;
  border-radius: 100%;
  background-color: #E53B3B;
  background: linear-gradient(270deg, #445cd1 50%, transparent 50%), linear-gradient(0deg, #445cd1 50%, transparent 50%)
}
*/

.tasks-search-results {
  display: flex;
  width: 100%;
}

.task-result {
  margin: 15px;
  width: 100%;
  height: 2em;
  border: 2px solid black;
}