/** Iris custom CSS **/

#iris-message-viewer {
  /*background: rgb(0, 171, 222);*/
  background: #1eaedb;
  position: fixed;
  z-index: 9000;
  bottom: 10px;
  left: 10px;
  font-family: freight-sans-pro, "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
  border-radius: 5px;

  width: 250px;
  padding: 0;
  transition: left 1s;
}

#iris-message-viewer.hidden {
  display: inherit;
  left: -300px;
}

#iris-message-viewer #iris-tab {
  background: rgb(214, 81, 41);
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  color: #fff;
  position: absolute;
  right: 50px;
  width: 200px;
}

#iris-message-viewer #iris-tab a {
  color: #fff;
  display: block;
  font-weight: bold;
  padding: 5px 0;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

#iris-message-viewer .iris-wrapper {
  background: #1eaedb;
  border-radius: 5px;
  color: #fff;
  float: left;
  padding: 0px 10px 10px;
  position: relative;
  width: 100%;
  z-index: 10;
}

#iris-message-viewer .iris-close-btn {
  background: rgba(12, 65, 95, .3) url('../common/images/olark-close-icon.svg') no-repeat center center;
  background-size: 45%;
  border-radius: 20px;
  float: right;
  padding: 0;
  position: absolute;
  top: 6px;
  right: -15px;
  height: 18px;
  width: 18px;
  z-index: 11;
}

#iris-message-viewer .iris-wrapper ul#iris-message-list {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

#iris-message-viewer .iris-wrapper ul#iris-message-list li {
  font-size: 15px;
  font-weight: 100;
  line-height: 18px;
  letter-spacing: 1px;
}

#iris-message-viewer .iris-wrapper ul#iris-message-list li a {
  color: #fff;
  font-weight: 600;
  vertical-align: bottom;
}

#iris-message-viewer .iris-wrapper ul#iris-message-list li.no-messages {
  color: rgb(255, 255, 255);
  margin: 0 auto;
  text-align: center;
}

#iris-message-viewer .iris-wrapper ul#iris-message-list div.no-messages li.no-messages {
  display: none;
}

#iris-message-viewer .iris-wrapper ul#iris-message-list .iris-message {
  display: none;
}

#iris-message-viewer .iris-wrapper ul#iris-message-list .iris-message.active {
  display: inherit;
}

#iris-message-viewer .iris-wrapper ul#iris-message-list .title {
  background: rgba(4, 44, 67, .2);
  border-radius: 5px 5px 0 0;
  color: rgb(255, 255, 255);
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;

  margin: 0px 0 5px -10px;
  padding: 6px 10px;
  width: 250px;
}

#iris-message-viewer .iris-wrapper ul#iris-message-list strong {
  vertical-align: bottom;
}

.iris-message img {
  float: left;
  margin-right: 10px;
}

.iris-message p {
  float: left;
}

.iris-message a.iris-video-button {
  background: #fff;
  display: inline-block;
  height: 140px;
  margin-top: 5px;
}

.iris-message a.iris-video-button img {
  height: 100%;
  float: none;
  margin-right: 0;
}

.iris-message a.iris-video-button:after {
  background: url('play.png') no-repeat 50% 30%;
  background-size: 25%;
  content: " ";
  height: 100%;
  float: left;
  margin-top: -50%;
  position: relative;
  width: 100%;
}

.iris-silence-popup {
  background: rgb(166, 213, 242);
  border-radius: 5px;
  color: white;
  float: left;
  font-size: 13px;
  opacity: 0;
  padding: 5px 10px;
  position: absolute;
  text-align: center;
  top: 10px;
  left: 39px;
  z-index: 9;

  transition: opacity .5s, top .5s;
}

.iris-silence-popup.visible {
  opacity: 1;
  top: -33px;
}

.iris-silence-popup span {
  display: block;
  line-height: 20px;
  position: relative;
  z-index: 2;
}

.iris-silence-popup .progress {
  background: rgb(128, 128, 128);
  border-radius: 5px;
  width: 0%;
  z-index: 1;
  position: absolute;
  right: 0;
  height: 100%;
  top: 0;
  opacity: .5;
}

#iris-message-viewer.iris-alert {
  background: rgb(214, 81, 41); /* older browser support */
  background: repeating-linear-gradient(
    -55deg,
    hsl(14, 68%, 50%),
    hsl(14, 68%, 50%) 10px,
    hsl(14, 68%, 55%) 10px,
    hsl(14, 68%, 55%) 20px
  );
}

#iris-message-viewer.iris-alert .iris-wrapper {
  background: rgb(214, 81, 41); /* older browser support */
  background: repeating-linear-gradient(
    -55deg,
    hsl(14, 68%, 50%),
    hsl(14, 68%, 50%) 10px,
    hsl(14, 68%, 55%) 10px,
    hsl(14, 68%, 55%) 20px
  );
}