/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .mr-photos-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.mr-photos-container div {
    width: 100px;
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

div.mr-container-main {
    padding: 50px 0;
}

div.mr-container-alt {
    padding: 50px 0;
    background: #f7f7f7;
}

.mr-container {
    max-width: 1140px;
    margin: 0 auto !important;
}

.mr-headline {
    text-align: center;
    font-size: 1.5rem !important;
    margin-top: 30px;
}

.filter-text {
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.enmr-main-event-container {
    margin-left: 45px;
    margin-right: 15px;
}

.enmr-description-mobile {
  display: none;
}

.mr-container h1 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px !important;
    font-size: 50px;
}

.mr-photos-container > div {
    position: relative;
}

.mr-photos-container div:hover a {
    display: block;
}

.mr-photos-container div a {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.6);
    display: none;
}

@media screen and (max-width: 600px) {
  .mr-photos-container {
    display: none;
  }

  .mr-headline {
    text-align: center;
    font-size: 1.5rem !important;
    margin-top: 30px;
  }

  .enmr-description-mobile {
    width: 100vw;
    height: auto;
    position: fixed;
    background-color: #000;
    color: #fff;
    bottom: 50px;
    left: 0;
    padding: 10px;
    z-index: 999999;
    font-size: 13px;
    text-align: center;
  }
}

/* ==========================================================================
 * Filter
 * ========================================================================== */

.mr-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.mr-filter-container .mr-filter {
    line-height: 20px;
    display: inline-flex;
    margin: 7px;
    color: #111111;
}

.mr-filter-container .mr-filter .mr-color {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}


/* ==========================================================================
 * Time frame
 * ========================================================================== */

.mr-timeframe {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    margin-left: auto !important;
}

.mr-timeframe .time {
    border-left: 2px solid;
    display: flex;
    align-items: flex-end;
    line-height: 1;
    padding-top: 10px;
    font-weight: bold;
    font-size: 12px;
    position: relative;
    height: 20px;
}

.mr-timeframe .time span {
  position: absolute;
  margin-left: 2px;
}

.mr-timeframe .time-sm {
    border-left: 1px solid;
    display: flex;
    margin-top: 8px;
}

.mr-timeframe .time-sm:last-child {
    width: 0 !important;
}

.mr-timeframe {
    margin-bottom: 20px;
}

.time-sm {
    opacity: 0;
}

.mr-static-container {
  margin-bottom: 25px !important;
}

.mr-static-container.fixed {
  position: fixed;
  top: 0;
  z-index: 100000;
  background: #f7f7f7;
  padding-bottom: 10px;
  right: 0;
  left: 0;
  text-align: center;
}

.logged-in .mr-static-container.fixed {
  top: 32px;
}

.mr-static-container-inner {
  display: inline-block;
}

@media screen and (max-width: 993px) {
    .mr-timeframe {
        justify-content: space-between !important;
    }

    .mr-timeframe .time {
        border-width: 1px;
        position: relative;
    }

    .mr-timeframe .time span {
        position: absolute;
        top: -20px;
        margin-left: -15px;
        font-size: 11px;
        font-weight: normal;
    }

    .mr-timeframe .time .hidden-mobile {
      display: none;
   }
}

/* ==========================================================================
 * Person time frame
 * ========================================================================== */

.person-timeframe {
    background-color: #fff;
    height: 38px;
    display: flex;
    align-items: center;
    border: 1px solid #d9dbe2;
    margin-bottom: 10px;
    position: relative;
}

.person-timeframe .name {
    margin-left: 10px;
    font-weight: 500;
    position: absolute;
    font-weight: bold;
    color: #000;
    z-index: 5;
    pointer-events: none;
}

.person-timeframe .time-span {
    height: 100%;
    box-sizing: border-box;
    position: absolute;
    transition: display 0.3s;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.person-timeframe .time-span:hover,
.person-timeframe .time-span.active {
    border: 2px solid #000;
}

.person-timeframe .time-span:last-child:not(first-child) {
    width: 0 !important;
}

.person-timeframe .time-span:hover span {
    display: block;
}

.enmr-info:hover .enmr-info-tooltip {
  display: flex;
}

.person-timeframe .time-span span,
.enmr-info-tooltip {
    position: absolute;
    bottom: 30px;
    margin-bottom: 40px;
    background-color: #000;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    padding: 10px;
    min-width: 200px;
    max-width: 200px;
    display: none;
    z-index: 99999;
    border-radius: 3px;
}

.enmr-info-tooltip {
    width: 300px;
    max-width: 300px;
    align-items: center;
}

.enmr-info-tooltip .enmr-info-photo {
  max-width: 80px;
  margin-right: 10px;
}

.person-timeframe .time-span span:after,
.enmr-info-tooltip:after {
  content: url('bubble-arrow.png');
  width: 10px;
  height: 10px;
  position: absolute;
  bottom: 0;
  left: 5px;
  margin-bottom: -3px;
}

.enmr-info {
    width: 20px;
    height: 20px;
    background-color: #000;
    border-radius: 50%;
    position: absolute;
    margin-left: -30px;
    margin-top: 9px;
}

.enmr-info strong {
    text-align: center;
    width: 100%;
    display: block;
    color: #fff;
    line-height: 22px;
    font-size: 13px;
    pointer-events: none;
}

.mr-filter.inactive .mr-color {
    background: transparent !important;
}

.mr-filter input {
  display: none;
}

.time-span.inactive {
    display: none;
}

.enmr-time-wrap {
    display: flex;
    height: 100%;
    margin-left: auto;
    position: relative;
    width: 100%;
}

/* .site-header,
.footer-widget,
.site-footer {
  dissplay: none !important;
} */

@media screen and (max-width: 993px) {
  .person-timeframe .time-span:hover span {
      display: none !important;
  }
}

@media screen and (min-width: 768px) {
  .enmr-name,
  .mobile-filter-text {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .person-timeframe .name {
    display: none;
  }

  .enmr-main-event-container {
  	margin-left: 10px;
  	margin-right: 10px;
  }

  .enmr-info {
  	position: relative;
  	margin-left: 0;
  	margin-top: 0;
  	margin-bottom: 9px;
  	display: inline-block;
  	margin-right: 7px;
  }

  .enmr-name {
  	display: inline-block;
  	font-weight: bold;
  	margin-bottom: 9px;
  }

  .mr-filter-container .mr-filter {
    width: 45%;
  }

  .mr-filter-container {
    display: none;
    padding-top: 20px;
  }

  .filter-text {
    display: none;
  }

  .mobile-filter-text {
    display: flex;
    font-size: 20px;
    font-weight: bold;
    padding: 0 10px;
    justify-content: space-between;
  }

  .mobile-filter-text a {
      color: #000;
      transform: rotate(90deg);
      font-size: 30px;
  }

  .mobile-filter-text a:before {
      content: '\27A4';
  }

  .mr-timeframe .time {
    height: 10px;
  }

  .mr-timeframe .time span {
    transform: rotate(-30deg);
  }

  .mobile-filter-text span {
    pointer-events: none;
  }

  div.mr-container-alt {
    margin-bottom: 150px;
  }


}