nav ul li a#faculty {
  background-image: url('/++theme++unibw.theme/generated/media/logos/casc.png');
}

.site-logo img {
  max-height: 21px;
}

/* #15804 Hide unstyled edit-zone on search results  */
.template-search #edit-zone {
  display: none;
}

body.template-search.plone-toolbar-left-expanded {
  padding-left: 0;
}
/* #15804  */

iframe.athene {
    height: 24em;
}

.grid-item .item-header {
  line-height: 20px;
}

.linkfilter .search-results a {
  display: block;
}

#slider_pause {
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute;
  right: 35px;
  bottom: 35px;
  border-radius: 35px;
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,.1);
  cursor: pointer;
  z-index:21;
}

#slider_pause .tp-title-wrap:hover {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 1;
}

#slider_pause::before {
  font-family: FontAwesome;
  color: #fff;
  display: block;
  line-height: 70px;
  text-align: center;
  z-index: 2;
  position: relative;
}

/* easyform general */
form.easyformForm .label {
    color: #000;
}
form.easyformForm label {
    max-width: 95%;
    vertical-align: top;
}
form.easyformForm .formHelp {
    display: block;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 0;
}
form.easyformForm label span.required::after {
    color: #c4183c;
    content: "•";
    font-size: 200%;
    line-height: 0;
    position: relative;
    top: 7px;
    margin-left: -4px;
}
form.easyformForm input[type="color"], input[type="date"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="range"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"], textarea, select {
    width: 100%;
}
form.easyformForm div.field label.legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-family: thesans,sans-serif;
    font-size: 21px;
    font-weight: normal;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}
form.easyformForm .formControls {
    border-top: 1px solid #cccccc;
    background: #fcfcfd;
    padding: 12px;
    box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, 0.05);
}
/* easyform radio buttons */
form.easyformForm .field span.option {
    display: block;
}
.row div.field {
    margin-bottom: 0.75em;
}
.row div.field label {
    font-weight: 600;
    margin-bottom: 0;
}
.row #formEpilogue {
    margin-top: 0.75em;
}

nav.pagination .label {
  color: #002e5b;
  font-size: 100%;
  font-weight: normal;
}

nav.pagination .arrow:after {content: "»";}

#page-hero:hover .controls {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.controls__button {
  background: none;
  border: 0;
  line-height: 1;
  color: white;
  text-align: center;
  outline: 0;
  padding: 0;
  cursor: pointer;
  max-width: 50px;
  height: 30px !important;
}
.controls__slider {
  width: 10px;
  height: 30px;
}
.controls {
  color: white;
  display: flex;
  position: absolute;
  bottom: 0;
  height: 30px;
  width: 100%;
  flex-wrap: wrap;
  background: black;
  transform: translateY(0);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}
.controls > * {
  flex: 1;
}
#progress {
  display: flex;
  flex: 10;
  position: relative;
  top: 13px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
#progress__filled {
  width: 0%;
  background: #ED6600;
  transition: width 1s linear;
}

input[type=range] {
  -webkit-appearance: none;
  background: transparent;
  width: 100%;
  margin: 0 5px;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: rgba(255,255,255,0.8);
  border-radius: 4px;
}
input[type=range]::-webkit-slider-thumb {
  height: 0.9rem;
  width: 0.9rem;
  border-radius: 50px;
  background: #00ff40;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -3.5px;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: rgba(255,255,255,0.8);
  border-radius: 4px;
}
input[type=range]::-moz-range-thumb {
  height: 0.9rem;
  width: 0.9rem;
  border-radius: 50px;
  background: #00ff40;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -3.5px;
}

/* peertube video module */
iframe.peertube { aspect-ratio: 16/9; }

#videoContainer video {
  position: absolute;
  bottom: 50%;
 transform: translate(-50%, 50%);
}

#peertube-hero {
  width: 100vw;
  height: 56.25vw;
  transform: translateX(-50%) translateY(-50%);
  position: absolute;
  top: 50%;
}

#home-video.v-align-middle video {
  position: absolute;
  bottom: 50%;
  transform: translate(-50%, 50%);
}
#home-video.v-align-top video {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}
#home-video video[poster] {
  object-fit: cover;
}
.bg-video .video .mbYTP_wrapper {
  z-index: -1;
}
#home-video.v-align-top iframe#peertube-hero {
  object-fit: cover;
  top: 0 !important;
  transform: translateY(0);
  left: 0;
}
