/*** General ***/
body {
  overflow-x: hidden;
}

ul {
  list-style-type: none;
  margin: 0px;
}

li::before {
  content: '●';
  display: inline-block;
  margin-right: 0.2em;
}

ol li::before {
  content: '';
  display: inline-block;
  margin-right: 0.0em;
}

ol {
  padding-inline-start: 20px;
}

mark {
  background-color: yellow;
  font-size: 18px;
}

.highlight {
  background-color: yellow;
}

h1 {
  font-size: 18px;
  margin-bottom: 0px;
}

h2 {
  font-size: inherit;
  margin: 0;
}

.container {
  margin-left: var(--space-md);
  padding-left: 0px;
  margin-right: var(--space-md);
  padding-right: 0px;
  max-width: calc(100% - var(--space-md) * 2) !important;
  overflow-x: hidden;
}

.no-search-result {
  margin-left: 10px;
  margin-top: 20px;
}


.col-3 {
  flex: 0 0 333px !important;
  max-width: 333px !important;
}

/*** Bootstrap changes ***/

/** MOBILE **/
@media only screen and (max-width: 600px) {

  .x.mandatory-scroll-snapping {
    scroll-snap-type: x mandatory;
  }

  .snapping-container > div {
    scroll-snap-align: center;
  }

  .x.snapping-container > div {
    width: 100%;
  }

  /*** M-Projects-View ***/
  .project-card .col-2 {
    padding-left: 15px !important;
  }

  .openall {
    margin-right: 8px !important;
  }

  /*** M-Filter ***/
  #remove-filter {
    margin-left: calc(-1 * var(--space-md) / 2);
  }

  .filter-row {
    margin-left: calc(-1 * var(--space-md)) !important ;
  }

  /*** M-Detail ***/

  .detail-part {
    margin-right: var(--space-md) !important;
  }

  .prot-image {
    width: 150px ;
    margin-bottom: 20px;
  }
}



/** DESKTOP **/

/*** HEADER ****/

.content-main {
  margin: 0 var(--space-md) 0;
  padding-bottom: var(--space-md);
  overflow-x: hidden;
}

/*** DISPLAY CHOOSE ***/

.display {
  padding: 0px;
}

#all-tags {
  display: none;
  padding-right:20px;
}

#all-partner {
  display: none;
  padding-right:20px;
}

#remove-filter{
  display: none;
}

.visually-hidden {
    position: absolute;
    left: -100vw;

    /* Note, you may want to position the checkbox over top the label and set the opacity to zero instead. It can be better for accessibilty on some touch devices for discoverability. */
}

.filter-container {
  margin-top: 0px;
  margin-bottom: 10px;
  margin-left: 10px;
  padding-left: 10px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.filter-line {
  margin-bottom: 30px;
}

.search {
  padding: 0;
  background-color: transparent;
  border-width: 0 0 0px;
  border-bottom: dotted 1px #000;
  outline: 0;
  /* width: 62px; */
}


::-webkit-input-placeholder { /* Edge */
  color: rgb(0, 0, 0);
  overflow: visible;
}

:-ms-input-placeholder { /* Internet Explorer */
  color: rgb(0, 0, 0);
}

::placeholder {
  color: rgb(0, 0, 0);
}


input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 1em;
  width: 1em;
  border-radius: 50em;
  background: url(/assets/img/clear-24px.svg);
  background-size: contain;
  opacity: 0;
  pointer-events: none;
}

input[type="search"]:focus::-webkit-search-cancel-button {
  opacity: .9;
  pointer-events: all;
}

input[type="search"].dark::-webkit-search-cancel-button {
  filter: invert(1);
}




/*** PROJECT VIEW ***/

.side-scroll {
  padding-top: 0px;
  padding-right: 0px;
  padding-left: 0px;
}

.side-scroll ::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 2px;
}
::-webkit-scrollbar-thumb {
  border-radius: 1px;
  background-color: rgba(0, 0, 0, 1);
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
}


/*** Project Cards ***/

.project-card {
  /* max-height: 750px; */
  /* min-height: 700px; */
  /* max-height: 75vh; */
  width: 250px;
  background-color: #D9D9D9;
  padding: 0px 12px 0px 0px;
  border-right: solid 1px #000;
  overflow-y: scroll;
  overflow-x: hidden;
}

.project-card p, ul {
  margin: 0 0 0 0;
  padding: 0;
}

.project-card .col-2 {
  padding-left: 5px;
}

.project-card .col-3 {
  flex: 0 0 333px !important;
  max-width: 333px !important;
}



.open-info {
  margin-bottom: 5px;
}

/** ENDE Abstände **/

.info-part a {
  text-decoration: none;
}

.open-info a[aria-expanded="true"] span::before,
.info-part a[aria-expanded="true"] span::before {
  content: "close";
}
.open-info a[aria-expanded="false"] span::before,
.info-part a[aria-expanded="false"] span::before {
  content: "open";
}

#cards {
  display: block;
}

.semester-bullet {
  margin-right: 0px;
}

.card-thumbnail {
  margin-bottom: var(--line-height);
}

.card-placeholder {
    background: #efefef;
    height: 200px;
    padding: 20px;
    font-size: 30px;
    color: #fff;
    font-weight: 900;
    margin-bottom: 0px;
    line-height: 80px;
    margin-bottom: var(--line-height);
}

.comma-list span:after {
    content: ",";
}
.comma-list span:last-child:after {
    content: "";
}

.description img {
  width: 50px;

}

.description p {
  /* margin-bottom: 1px !important; */
}

.protocol-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
}

.embed iframe {
  width: 300px !important;
  height: auto !important;
}

.file-download {
  word-break: break-all;
}

.description-text-card img {
  max-width: 200px !important;
}

.partner-list {

}

.card-video {
  height: auto;
  vertical-align: middle;
}

/*** Detail View ***/

.detail-placeholder {
    background: #efefef;
    height: 200px;
    padding: 20px;
    font-size: 30px;
    color: #fff;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 80px;
    margin-top: 30px;
}


.semester-code {
  margin-top: 10px;
}

.semester-bullet-prot-detail {
  margin-right: 5px;
}

.detail-img {
  margin: var(--line-height) 0 0 0;
}

.project-modal {
  background-color: #D9D9D9;
}

.back-to-cards {
  padding-top: 20px;
}

.detail-page h1 {
  text-transform: uppercase;
}

.detail-part {
  position: relative;
  margin-top: var(--line-height);
}

.detail-part-meta {
  position: relative;
}

.detail-part .row {
  margin-top: 5px;
}

.open-info-detail {
}

.disclaimer {
  margin-top: calc(var(--line-height) * 3);
}

.tag-detail {
    border: 1px solid #000;
    background-color: transparent;
    padding: 0px 4px 0px 4px;
    margin-right: 5px;
}

.prot-teaser {
  margin-bottom: var(--space-md);
}

.edit-detail {
  position: absolute;
  top: calc(var(--space-md) * 1);
  right: 51px;
}

.print-pdf {
  position: absolute;
  top: calc(var(--space-md) * 1);
  right: 91px;
}

.print-pdf-btn {
  margin: 0;
  background-color: transparent;
  outline: none !important;
  padding: 0;
  border-top: 0px;
  border-left: 0px;
  border-right: none;
  border-bottom: 1px dotted #000 !important;
}

.print-info {
  display: none;
}

.openall {
  float: right;
  margin-right: 0px;
}

.prot-image {
  width: 100%;
}


/*** Gallery ***/

.modal {
  display: none;
  position: fixed;
  z-index: 2674;
  padding-top: 0px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #d9d9d9;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #d9d9d9;
  margin: auto;
  padding: 0;
  width: 100%;
  /* max-width: 1200px; */
  z-index: 100;
  border: none;
  height: 100%;
}

.closing:hover,
.closing:focus {
  color: #000;;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlidesBasic,
.modal-pdf {
  display: none;
  background:#d9d9d9;
  height: 100%;
}

/* Next & previous buttons */
.prev{
    cursor: pointer;
    position: absolute;
    top: var(--space-md);
    right: 99px;
    color:#000;
    border-radius: 0 3px 3px 0;
    font-weight: 400;
    z-index: 200;
    user-select: none;
    -webkit-user-select: none;

}

.prev a,
.next a {
      border-bottom: dotted 1px rgb(0, 0, 0);
}

.next {
    cursor: pointer;
    position: absolute;
    z-index: 200;
    top: var(--space-md);
    right: 55px;
    color: #000;
    border-radius: 0 3px 3px 0;
    font-weight: 400;
    user-select: none;
    -webkit-user-select: none;
}


/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  color: rgb(0, 0, 0);
  border-bottom: dotted 1px rgb(0, 0, 0);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: #f2f2f2;
  padding: 2px 16px;
  color: rgb(0, 0, 0);
}

/* Filename Modal */

.filename-modal {
    position: absolute;
    padding: var(--space-md);
    z-index: 100000;
    color: #000;;
    border-radius: 0 3px 3px 0;
    font-weight: 400;
    user-select: none;
    -webkit-user-select: none;
    background: transparent;
    font-size: var(--font-md);
    line-height: var(--line-height-md);
}

img.demo {

}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.full-image-view {
  /* width: 80%;*/
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  border: none;
  outline: none;
}

.full-audio-view {
  margin-top: 20%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  outline: none;
}

.full-desc {
display: none;
}

.ex-desc {
display: block;
}

@media print {
  @page { margin: 10mm 10mm 10mm 15mm;  }

  body {
    margin: 0;
    font-size: 20pt;
  }

  .openme {
    display: none;
  }

  .back-button {
    display: none;
  }

  .print-info {
    display: block;
  }

  .print-pdf {
    display: none;
  }

  .prot-teaser {
    display: none;
  }

  .edit-detail {
    display: none;
  }

  .detail-page a {
    /* border-bottom: none !important; */
    text-decoration: none !important;
  }



  .tag-detail a {
    text-decoration: none;
}

}


@media only screen and (max-width: 988px) {

.prot-image {
  width: 150px ;
  }

}
