* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 0.9rem;
}

body{
  padding-top: 0px;
  font-family: "Open Sans", sans-serif;
}

.lti-outer{
    width: 100%;
    padding: 1rem;
    margin: 0 auto;
}
.lti-oc-top-section{
    overflow: hidden;
}
.lti-oc-title{
}

.lti-oc-search-bar{
    float: right;
}

.lti-oc-recent{
    margin-top: 10px;
    list-style: none;
    text-align: center;
}

.lti-oc-recent a {
  display: inline-block;
}

.lti-oc-recent span {
  width: 100%;
  display: block;
}

.lti-oc-recent li > span:last-child {
  text-align: center;
}

.lti-oc-recent .button {
  padding: 0 0.5rem;
}

.lti-oc-recent span:first-child ~ span {
  padding: 0 0.5rem;
}

span a {
  position: relative;
  display: inline-block;
}

.lti-oc-all li > span:first-child a {
  height: 3.5rem;
  margin: 0.25rem 0;
}

select {
  height: 2rem;
}

.lti-oc-previous{
       overflow: hidden;
       margin-top: 2rem;
}

.lti-oc-previous h2[data-total]:not([data-total=""]):after {
  content: "(" attr(data-total) ")";
  display: inline-block;
  margin: 0 0.25rem;
}

.lti-oc-recent li{
   margin: 0 3rem;
   display: inline-block;
   width: calc(100%/3 - 6rem);
   text-align: left;
   padding-bottom: 0.5rem;
   text-align: center;
   box-shadow: 0 2px 6px rgba(0,0,0,0.2);
   position: relative;
}

.lti-oc-recent li > span:first-child {
  width: calc(100% - 2rem);
  margin: 1rem;
  position: relative;
}

li > span:first-child a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 3px rgba(0,0,0,0.4);
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.lti-oc-all li > span:first-child a {
  height: 4.5rem;
  width: 6rem;
  border: none;
  box-shadow: none;
  left: calc(50% - 3rem);
  top: 0;
}

.lti-oc-recent li > span:first-child a:before {
  position: absolute;
  content: '';
  border-left: 2rem solid white;
  border-top: 1.25rem solid transparent;
  border-bottom: 1.25rem solid transparent;
  width: 0;
  height: 0;
  top: 50%;
  left: calc(50% + 0.25rem);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.lti-oc-recent li > span:first-child a:after  {
  content: '';
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: background 0.3s;
  z-index: 1;
}

.lti-oc-recent li > span:first-child a:hover:after  {
  background: black;
}

.lti-oc-recent li > span:first-child:before {
  display: block;
  content: '';
  padding-top: 75%;
}

.lti-oc-recent li > span:nth-of-type(2) {
  padding: 1rem 0;
  font-size: 1.3rem;
}

.lti-oc-recent li > span:nth-of-type(2) ~ span {
  line-height: 2.5rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
}

.lti-oc-recent li > span:nth-of-type(2) ~ span:nth-of-type(3) {
  border-bottom: 1px solid #eee;
}

   .lti-oc-recent img {
     width: 100%;
   }

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

   .lti-oc-all .list{
       width: 100%;
       background-color: white;
       border: 1px solid #ddd;
       border-top: none;
       border-bottom: none;
       min-height: 8rem;
       max-height: 25rem;
       overflow-y: auto;
       position: relative;
       list-style: none;
   }
   .lti-oc-all .list:empty:before {
      text-align: center;
      font-style: italic;
      content: 'Awaiting content...';
      position: absolute;
      width: 100%;
      top: 50%;
      line-height: 3rem;
      margin-top: -1.5rem;
      color: #999;
      font-weight: 300;
    }
    h2[data-total="0"] ~ .lti-oc-all .list:empty:before {
      content: 'No recordings published yet';
    }
    .filter {
      padding: 0.5rem 0;
      margin: 0 0 0.5rem 0;
    }
    .lti-oc-all li:not(.heading) {
      height: 5rem;
    }
    .lti-oc-all li:nth-of-type(2n) {
      background: #fafafa;
    }
    .lti-oc-all li span {
      display: inline-block;
      vertical-align: top;
      padding: 0 0.5rem;
      overflow-x: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .lti-oc-all .list li > span {
      height: 5rem;
    }
    .lti-oc-all li > span:last-of-type {
      border-right: none;
    }
    .lti-oc-all li > span:nth-of-type(1),
    .lti-oc-all li > span:nth-of-type(3),
    .lti-oc-all li > span:nth-of-type(4)
/*    .lti-oc-all li > span:nth-of-type(5)*/
    {
      width: 18%;
    }
    .lti-oc-all li > span:nth-child(2) {
      width: 40%;
    }
    .lti-oc-all li span img {
      max-width: 100%;
      height: 4rem;
    }
    .lti-oc-all li > span:nth-of-type(1) {
      position: relative;
      text-align: center;
      cursor: pointer;
      overflow: hidden;
    }
    .lti-oc-all li:not(.heading) > span:nth-of-type(1):before {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      background: rgba(0,0,0,0.4);
      content: '';
      transform: translate(-50%, -50%);
      transition: opacity 0.3s, transform 0.3s;
      opacity: 0;
      -webkit-pointer-events: none;
      pointer-events: none;
    }
    .lti-oc-all li:not(.heading) > span:nth-of-type(1):after {
      position: absolute;
      top: 50%;
      left: calc(50% + 0.125rem);
      width: 0;
      height: 0;
      border-top: 0.75rem solid transparent;
      border-bottom: 0.75rem solid transparent;
      border-left: 1rem solid rgba(255,255,255,0.9);
      content: '';
      transform: translate(-50%, -50%);
      transition: opacity 0.3s, transform 0.3s;
      opacity: 0;
      -webkit-pointer-events: none;
      pointer-events: none;
    }
    .lti-oc-all li > span:nth-of-type(1):hover:before,
    .lti-oc-all li > span:nth-of-type(1):hover:after {
      opacity: 1;
      transform: translate(-50%, -50%);
      transition: opacity 0.3s;
    }
    .lti-oc-all li span.hideOnMobile {
      width: auto;
      display: inline-block;
      vertical-align: top;
      line-height: 2rem;
      padding: 0 0.5rem;
    }
   .preview{
       position: relative;
       display: block;
  }

  .preview_overlay{
      position: absolute;
      left: 44px;
      top: 20px;
  }

  .preview_overlay img{
      width: 64px;
      opacity: 0;
      filter:alpha(opacity=0); /* IE transparency */
  }

  .preview:hover .preview_overlay img{
      opacity: 0.5;
      filter:alpha(opacity=35); /* IE transparency */
  }

  .preview_image{
      display: block;
      overflow: hidden;
      position: relative;
  }

  .hovereffect{
      background-color: #FFF;
   }

.lti-oc-all span[data-sort]:after {
  display: inline-block;
  border-top: 0.5rem solid #ccc;
  border-left: 0.375rem solid transparent;
  border-right: 0.375rem solid transparent;
  width: 0;
  height: 0.125rem;
  content: '';
  margin: 0 0.5rem;
  transition: transform 0.5s;
  opacity: 0;
}

.lti-oc-all span.sorting[data-sort]:after {
  opacity: 1;
}

.lti-oc-all span[data-sort="asc"]:after {
  transform: rotate(180deg) translateY(0.125rem);
}



a{font-weight: bold;}
.noPseudo {
  font-style: italic;
  font-size: 1.1rem;
}
.noPseudo:before,
.noPseudo:after {
  display: none !important;
}

#searchField{background-color: white}
#searchSubmit{background-color: grey}

.duration{
   text-decoration: none;
   position: absolute;
   bottom: 5px;
   right: 5px;
   color: #FFF;
   background-color: #000;
   border-radius: 3px;
   padding: 2px;
   font-size: 12px;
}

.preview:hover{
   text-decoration: none;
}

.heading {
  height: 3rem;
  line-height: 3rem;
  padding: 0 0.5rem;
  background: #f9f9f9;
  margin: 0;
  font-weight: 300;
  border: 1px solid #ddd;
}

.heading span:first-child {
  margin-left: -0.5rem;
}

.heading span {
  cursor: pointer;
  opacity: 1;
  transition: visibility 0s 0.5s, opacity 0.5s 0.5s;
}

.lti-oc-all {
  position: relative;
}

button[name=filter] {
  top: 0;
  left: 0;
}

button[name=clearFilters] {
  float: right;
}

button[name=clearFilters].display {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.5s, top 0.5s;
}

.lti-oc-all li.heading span:nth-of-type(4) {
  width: calc(20% - 0.625rem);
}

.modal {
  display: block;
  background: rgba(0,0,0,0.3);
  visibility: hidden;
}

.modal.in {
  visibility: visible;
}

input {
  border: 1px solid #ccc;
  padding: 0 0.5rem;
  transition: box-shadow 0.3s, border-color 0.3s;
  height: 2rem;
  border-radius: 0.25rem;
  width: 17.5rem;
  max-width: 100%;
}

#manageNotificationModal input {
  width: auto;
  margin: 0 0.5rem 0 0;
  vertical-align: top;
  line-height: 2rem;
  float: left;
}

#manageNotificationModal label {
  vertical-align: top;
  line-height: 2rem;
  float: left;
  font-weight: normal;
}

#manageNotificationModal a {
  color: inherit;
}

input:focus {
  border-color: #8cf;
  box-shadow: 0 0 5px #8cf;
}

.button {
  -moz-appearance: button;
  appearance: button;

  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  line-height: 2rem;
  text-align: center;
  cursor: pointer;
  border-radius: 0.25rem;
  font-weight: 400;
  background: linear-gradient(180deg, white 0%, #eeeeee 100%);
}

.button:hover {
  text-decoration: none;
}

.lti-oc-recent .button {
  margin-top: 0.5rem;
}

li span span {
  min-height: 19px;
}

@media screen and (max-width: 800px) {
  .noPseudo {
    display: inline-block;
    width: 66%;
    line-height: 4rem;
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
  }
  .lti-oc-recent li {
    width: calc(50% - 1rem);
    margin: 0 0.5rem 1rem;
  }
  .lti-oc-all .list{
    max-height: 100000em;
  }
  .lti-oc-all li:not(.heading) {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    padding: 0.5rem;
    height: auto;
  }
  .lti-oc-all li:nth-of-type(2n) {
    background: transparent;
  }

  .lti-oc-all li:not(.heading):nth-of-type(4n+3),
  .lti-oc-all li:not(.heading):nth-of-type(4n) {
    background: #fafafa;
  }
  .lti-oc-all li:not(.heading) span {
    width: 100% !important;
    text-align: center;
    height: auto;
    min-height: 5rem;
    line-height: 1.5rem;
    margin: 0.5rem 0;
  }
  .lti-oc-all li > span:first-child a {
    height: 100%;
    width: 100%;
    left: 0;
  }
  .lti-oc-all li span img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
  }
  .lti-oc-all li.heading span {
    opacity: 0;
    visibility: visible;
    transition: visbility 0s 0.5s, opacity 0.5s;
  }
  li.filter {
    width: 100%;
    height: 0;
    min-height: 0;
    padding: 0 0.5rem;
    float: left;
  }
  .lti-oc-all li.filter.active {
    height: 3rem;
    padding: 0.5rem;
  }
  button[name=filter] {
    opacity: 1;
    visibility: visible;
    transition: visibility 0s, opacity 0.5s 0.5s;
  }
  .lti-oc-all li span.hideOnMobile {
    display: none;
  }
  .button {
    width: 100%;
    margin-top: 0.5rem;
  }
  .button[name=clearFilters] {
    width: auto;
    margin-top: 0.5rem;
  }
  input {
    max-width: calc(100%/3 - 0.5rem);
  }
}

@media screen and (max-width: 520px) {
  .lti-oc-recent li {
    width: calc(100% - 2rem);
    margin: 1rem;
  }
  .lti-oc-all li:not(.heading) {
    width: 100%;
  }
  .lti-oc-all li.filter {
    width: 100%;
    height: 0;
    min-height: 0;
    padding: 0 0.5rem;
    float: left;
  }
  .lti-oc-all li.heading span {
    opacity: 0;
    visibility: visible;
    transition: visbility 0s 0.5s, opacity 0.5s;
  }
  .lti-oc-all li.filter.active {
    height: 7.5rem;
    padding: 0.5rem;
  }
  input {
    max-width: 100%;
    display: inline-block;
    margin-right: 0;
    height: 3rem;
  }
  .filter input {
    width: calc(50% - 0.25rem);
  }
  .filter input:nth-of-type(3) {
    float: right;
  }
  .filter input:nth-of-type(1) {
    width: 100%;
    margin: 0.25rem 0;
  }
  button[name=filter] {
    opacity: 1;
    visibility: visible;
    transition: visibility 0s, opacity 0.5s 0.5s;
  }
  .lti-oc-all li span.hideOnMobile {
    display: none;
  }
  select, .button {
    height: 3rem;
    line-height: 3rem;
  }
  .button {
    width: 100%;
  }
}

#ui-datepicker-div {
  display: none;
}

@supports (display: flex) {
  .lti-oc-all .list li {
    display: flex;
  }
  .lti-oc-all .list li > span {
    display: flex;
    flex-direction: column;
  }
  .lti-oc-all .list li > span:last-child .button {
    margin-bottom: 0.25rem;
  }
  .lti-oc-all .list li > span span {
    justify-content: space-around;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  span a {
    display: inline-block;
    width: auto;
  }

  @media screen and (max-width: 800px) {
    .lti-oc-all .list {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      align-content: strech;
      flex-flow: wrap;
    }
    .lti-oc-all .list li {
      flex-direction: column;
      flex 1;
      width: 50%;
    }
    .list li > span:first-child {
      height: 10rem;
    }
  }
  @media screen and (max-width: 520px) {
    .lti-oc-all .list {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      flex-flow: wrap;
    }
    .lti-oc-all .list li {
      width: 100%;
    }
  }
}


.tinyTopMargin {
  margin-top: 0.5rem;
}

.ui-widget-header {
  background: #e9e9e9;
  border: 1px solid #ddd;
  color: #333;
  font-weight: bold;
}

#loader {
  height: 0;
  overflow: hidden;
  opacity: 1;
  transition: height 1s;
  width: 100%;
  border: 1px solid #ccc;
  border-top: none;
  text-align: center;
}

.loading #loader {
  height: 3rem;
}

#loader > div {
  height: 3rem;
  line-height: 3rem;
  width: auto;
  display: inline-block;
  margin: 0 auto;
  position: relative;
  padding-left: 2.75rem;
}

#loader > div > div {
  position: absolute;
  width: 2px;
  height: 0.375rem;
  top: 1.3125rem;
  left: calc(1.5rem - 1px);
  background: rgba(0,160,255, 0.3);
}

#loader span {
  font-style: italic;
  line-height: 3rem;
  font-size: 0.9rem;
  color: #333;
}
.btn.downloader {
    font-size: 0.8rem;
    background: white !important;
    color: rgb(0, 116, 194) !important;
  }
.btn.downloader:hover {
    background-color:rgb(0, 116, 194) !important;
    color:white !important;
  }

#downloadModal.fade{
    -webkit-transition: opacity .1s linear;
    -moz-transition: opacity .1s linear;
     -ms-transition: opacity .1s linear;
      -o-transition: opacity .1s linear;
         transition: opacity .1s linear;
}

.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{
    padding:2px;
    font-size: .8rem;
}
.upcoming {
    margin: 1.5rem 0 0 1rem;
    height: 3rem;
    position: relative;
    font-size: 1.1rem;
    border-radius: 0.25rem;
}

@keyframes pulse {
  0% {
    background: rgba(0,160,255,0.3);
  }
  30% {
    background: rgba(0,160,255,0.3);
  }
  50% {
    background: #09f;
    box-shadow: 0 0 1px #09f;
  }
  70% {
    background: rgba(0,160,255,0.3);
  }
  100% {
    background: rgba(0,160,255,0.3);
  }
}