﻿.advm {
  width: 616px;
  background-color: white;
  float:left;
  margin-right: 20px;
}

.advm.advm-right {
    float: right;
    margin-left: 20px;
}

.advm .advm-current-wrapper {
  min-height: 520px;
  box-sizing: border-box;
  background-color: #f9f9f9;
  border: solid 1px #bfbfbf;
}

.advm .advm-current-wrapper .advm-btn {
  float: left;
  width: 20px;
  height: 24px;
  margin-top: 198px;
  margin-left: 14px;
  margin-right: 14px;
  cursor: pointer;
}

.advm .advm-current-wrapper .advm-btn:hover {
  opacity: 0.8;
}

.advm .advm-current-wrapper .advm-btn.btn-left {
  background-image: url(/_images/adv_media_left.png);
  opacity: 0;
}

.advm .advm-current-wrapper .advm-btn.btn-right {
  background-image: url(/_images/adv_media_right.png);
}

.advm .advm-current-wrapper .advm-current {
  float: left;
  width: 512px;
  height: 384px;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item {
  position: absolute;
  display: none;
  opacity: 0;
  width: 512px;
  height: 384px;
  text-align: center;
  background-color: #bfbfbf;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item:first-child {
  display: block;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item img,
.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-video .plyr {
  max-width: 100%;
  max-height: 100%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item img {
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-back-img {
  width: 100%;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-img-overlay {
  width: 100%;
  height: 100%;
  background-color: #BFBFBF;
  opacity: .8;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container {
  border: solid 1px #b3b3b3;
  border: solid 1px #a8a8a8;
  position: relative;
  top: -50%;
  transform: translateY(-50%);
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl {
  background-color: white;
  border-spacing: 0;
  border-collapse: collapse;
  height: 105px;
  width: 100%;
  margin-bottom: 0;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td {
  padding: 0;
  border: 0;
  vertical-align: middle;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:first-child {
  width: 140px;
  height: 105px;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:first-child img {
  display: block;
  height: 100%;
  width: 140px;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(2) {
  padding: 0 10px;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) {
  text-align: left;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div {
  max-height: 115px;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div .advm-audio-title {
  font-size: 14px;
  font-weight: bold;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div .advm-audio-interviewee {
  margin-top: 5px;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container .plyr {
  height: 30px;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container .plyr .plyr__controls {
  padding-top: 0;
  padding-bottom: 0;
}

.advm .advm-current-wrapper .advm-current .advm-current-media-item .btn_zoom {
  position: absolute;
  bottom: 0;
  right: 0;
  cursor: pointer;
}

.advm .advm-current-wrapper .advm-text-wrapper {
  clear: both;
  text-align: left;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text {
  display: none;
  padding: 15px 15px 10px 15px;
  /*min-height: 100px;*/
  min-height: 120px;
  position: relative;
  opacity: 0;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text:first-child {
  display: block;
  opacity: 1;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text .advm-text-title-wrapper {
    clear: both;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text .advm-text-title-wrapper .advm-text-title {
  float: left;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  font-style: italic;
  color: #C5351C;
  margin-bottom: 10px;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text .advm-text-title-wrapper a {
    float: right;
    font-size: 12px;
}

/*.advm .advm-current-wrapper .advm-text-wrapper .advm-text .advm-text-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  font-style: italic;
  color: #C5351C;
  margin-bottom: 10px;
}
*/
.advm .advm-current-wrapper .advm-text-wrapper .advm-text .advm-text-description {
  font-size: 12px;
  margin-bottom: 10px;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text table.advm-small-text {
  border-spacing: 0;
  border-collapse: collapse;
  width: 584px;
  margin-bottom: 0;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text table.advm-small-text td {
  padding: 0;
  border: 0;
  vertical-align: middle;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text table.advm-small-text td .more {
    color: #C5351C;
    display: inline-block;
    float: right;
    text-transform: uppercase;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text table.advm-small-text td:first-child {
  font-size: 10px;
  padding-bottom: 2px;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text table.advm-small-text td:first-child div {
  margin-bottom: 4px;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text table.advm-small-text td:first-child div:last-child {
  margin-bottom: 0;
}

.advm .advm-current-wrapper .advm-text-wrapper .advm-text table.advm-small-text td:nth-child(2) {
  text-align: right;
  vertical-align: bottom;
  width: 85px;
}

.advm .advm-thumbs {
  overflow-x: hidden;
  overflow-y: hidden;
  cursor: pointer;
}

.advm .advm-thumbs .advm-thumb-scroll {
  position: relative;
  margin-top: 15px;
}

.advm .advm-thumbs .advm-thumb-scroll .advm-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  float: left;
  margin-left: 8px;
  background-color: #bfbfbf;
}

.advm .advm-thumbs .advm-thumb-scroll .advm-thumb:first-child {
  margin-left: 0;
}

.advm .advm-thumbs .advm-thumb-scroll .advm-thumb:first-child .advm-highlight {
  opacity: 1;
}

.advm .advm-thumbs .advm-thumb-scroll .advm-thumb img {
  position: absolute;
  max-width: 96px;
  max-height: 96px;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.advm .advm-thumbs .advm-thumb-scroll .advm-thumb .replace {
  box-sizing: border-box;
  position: absolute;
  width: 96px;
  height: 96px;
  background-size: 34px;
  background-position: center center;
  border: solid 1px rgba(197, 53, 27, 0);
}

.advm .advm-thumbs .advm-thumb-scroll .advm-thumb .advm-highlight {
  box-sizing: border-box;
  position: absolute;
  width: 96px;
  height: 96px;
  border: solid 1px #c5351b;
  opacity: 0;
}

.advm .advm-reset {
  margin-top: 10px;
  padding-bottom: 15px;
  text-align: right;
}

.advm .advm-reset a {
  font-size: 13px;
}

@media (max-width: 500px) {
  .advm {
    width: auto;
    min-height: auto;
/*    padding-left: 15px;
    padding-right: 15px; */
    margin-right: 0;
    float: none;
  }

    .advm.advm-right {
        margin-left: 0;
        float: none;
    }

  .advm .advm-current-wrapper {
    width: auto;
    min-height: auto;
    background-color: #fff;
  }

  .advm .advm-current-wrapper .advm-btn {
    display: none;
  }

  .advm .advm-current-wrapper .advm-current {
    width: 100%;
    height: auto;
    float: none;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item {
    position: relative;
    float: none;
    display: none;
    width: 100%;
    height: auto;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item:first-child {
    display: block;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item img,
  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-video .plyr {
    top: auto;
    transform: none;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item img {
    float: left;
    left: 50%;
    transform: translateX(-50%);
    max-height: calc(100vh * 0.5);
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio {
    background-position: top left;
    height: calc((100vw * 3/4) - 35px);
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-img-overlay {
    width: 100%;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container {
    border-left: none;
    border-right: none;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:first-child {
    width: 160px;
    height: 120px;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:first-child img {
    width: 160px;
    height: 100%;
    display: block;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(2) {
    display: none;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) {
    padding-left: 10px;
    padding-right: 10px;
  }

  .advm .advm-current-wrapper .advm-text-wrapper .advm-text .advm-text-title {
    font-size: 17px;
  }

  .advm .advm-current-wrapper .advm-text-wrapper .advm-text table.advm-small-text {
    width: 100%;
  }

  .advm .advm-current-wrapper .advm-text-wrapper .advm-text table.advm-small-text td:last-child {
    display: none;
  }

  .advm .advm-thumbs {
    width: 100%;
  }

  .advm .advm-thumbs .advm-thumb-scroll {
    width: 100% !important;
    left: 0 !important;
  }

  .advm .advm-thumbs .advm-thumb-scroll .advm-thumb {
    width: calc(33.3333333333% - 6px);
    height: calc(100vw/3 - 6px - 15px);
    margin-left: 0;
    margin-bottom: 9px;
  }

  .advm .advm-thumbs .advm-thumb-scroll .advm-thumb:nth-child(2) {
    margin-left: 9px;
    margin-right: 9px;
  }

  .advm .advm-thumbs .advm-thumb-scroll .advm-thumb:nth-child(3n+2) {
    margin-left: 9px;
    margin-right: 9px;
  }

  .advm .advm-thumbs .advm-thumb-scroll .advm-thumb img {
    max-width: 100%;
    max-height: 100%;
  }

  .advm .advm-thumbs .advm-thumb-scroll .advm-thumb .replace {
    width: 100%;
    height: 100%;
  }

  .advm .advm-thumbs .advm-thumb-scroll .advm-thumb .replace.icon_video {
    background-image: url("../_images/icon_video.png");
  }

  .advm .advm-thumbs .advm-thumb-scroll .advm-thumb .replace.icon_audio {
    background-image: url("../_images/icon_audio.png");
  }

  .advm .advm-thumbs .advm-thumb-scroll .advm-thumb .advm-highlight {
    width: 100%;
    height: 100%;
  }

  .advm .advm-reset {
    margin-top: 5px;
  }
}

@media (max-width: 460px) {
  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl {
    height: 100px;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:first-child {
    width: 133px;
    height: 100px;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:first-child img {
    width: 133px;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div {
    max-height: 95px;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div .advm-audio-title {
    font-size: 13px;
    line-height: 16px;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div .advm-audio-interviewee {
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 430px) {
  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div {
    max-height: 95px;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div .advm-audio-title {
    font-size: 12px;
    line-height: 14px;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div .advm-audio-interviewee {
    font-size: 11px;
    line-height: 14px;
  }
}

@media (max-width: 380px) {
  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div .advm-audio-title {
    font-size: 11px;
    line-height: 13px;
  }

  .advm .advm-current-wrapper .advm-current .advm-current-media-item.advm-audio .advm-audio-container table.advm-audio-tbl td:nth-child(3) > div .advm-audio-interviewee {
    font-size: 10px;
    line-height: 13px;
  }
}
.plyr {
  --plyr-control-icon-size: 14px;
  --plyr-range-fill-background: rgba(255,255,255,.8);
  --plyr-color-main: transparent;
  --plyr-font-size-small: 11px;
  --plyr-font-family: Helvetica, Arial;
  -webkit-font-smoothing: none;
}

.plyr .plyr__time--current {
  font-variant-numeric: normal;
}
