.section-audioguides {

  .ag-main {
    color: #000000;
    .title-row {
      @media (min-width: 768px) {
        margin-bottom: 40px;
      }
    }
    h1 {
      text-transform: uppercase;
      margin-bottom: 10px;
      @media (min-width: 768px) {
        font-size: 48px;
      }
    }
    h1 {
      text-transform: uppercase !important;
    }
    h4 {
      font-size: 16px;
      margin-bottom: 10px;
      @media (min-width: 768px) {
        font-size: 22px;
      }
    }

    .item-html {
      margin-bottom: 15px;
    }
    /*.item-html > * {
      width: 100%;
    }*/

    .item-link {
      width: 252px;
      background-color: #FFFFFF;
      height: 50px;
      justify-content: center;
      align-items: center;
      border-radius: 100px;
      padding: 0 20px 0 15px;
      img {
        margin-right: 10px;
      }
      font-weight: 300;
      font-size: 16px;
      margin-top: 0;
      @media (min-width: 768px) {
        margin-top: 15px;
      }
    }
  }

  @media (max-width: 767px) {
    max-width: 100%; /*max-width mobile*/
  }
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  @media (min-width: 768px) {
    padding: 0;
  }

  .pr-row {
    padding: 0;
  }

  #audio-buttons {
    margin-left: 15px;
  }

  .ag-play-button-mobile, .ag-play-button, #audio-play-button, #audio-pause-button, #audio-stop-button, #audio-next-button, #audio-prev-button {
    border: 0;
    background: transparent;
    cursor: pointer;
    outline: none;
    text-align: center;
  }

  #audio-next-button, #audio-prev-button {
    width: 24px;
    height: 24px;
  }

  .ag-play-button, #audio-play-button, #audio-pause-button, #audio-stop-button {
    width: 30px;
    height: 30px;
  }

  #audio-stop-button {
    @media (min-width: 768px) {
      margin-right: 5px;
    }
  }

  #audio-nav {
    margin-left: 15px;
  }

  #audio-track-number {
    vertical-align: bottom;
    color: #848484;
    font-size: 20px;
    font-weight: 700;
    line-height: 23px;
    margin-left: 5px;
    margin-right: 5px;
  }

  #audio-pause-button, #audio-stop-button, #audio-nav {
    display: none;
  }

  .ag-header {
    .subtitle, h2.subtitle {
      color: #000;
      font-size: 16px;
      @media (min-width: 768px) {
        font-size: 22px;
      }
    }

    #img {
      width: 100%;
      @media (min-width: 768px) {
        width: 300px;
      }
    }

    #ag-head {
      width: 100%;

      display: flex;
      flex-direction: column;

      flex: 1;

      padding: 20px;
      @media (min-width: 768px) {
        padding: 40px;
      }
    }
    #audio-cover {
      width: 100%;
      @media (min-width: 768px) {
        width: 300px;
      }
      transition: opacity .3s ease-in-out;
    }
    #ag-head-html {
      transition: opacity .4s ease-in-out;
      margin-bottom: 10px;
      /*@media (min-width: 768px) {
        padding: 0;
      }*/
    }
    #ag-head-html, #ag-head-html p, .ag-head-html, .item-html, .item-html p {
      color: #FFFFFF;
    }
    #ag-head-html h2, .ag-head-html h2, .item-html h2 {
      color: #FFFFFF !important;
      font-weight: 600;
      font-size: 18px;
      line-height: 27px;
      @media (min-width: 768px) {
        font-size: 22px !important;
        margin-bottom: 10px;
      }
    }

    #audio-player {

      align-self: flex-end; /*https://stackoverflow.com/a/25494116/644386*/
      width: 100%;

      background-color: #FFFFFF;
      border-radius: 30px;
      height: 50px;

      align-items: center;

      .audio-ctrl {
        width: 59px;
        align-items: center;
        @media (min-width: 768px) {
          width: 59px; /*24+15+20*/
        }
        .visible {
          display: none;
          @media (min-width: 768px) {
            display: inline-block;
          }
        }
        .hidden {
          display: none;
        }
      }
      .audio-ctrl-full {
        width: 86px;
        @media (min-width: 768px) {
          width: 192px !important;
        }
      }
      .ag-col2 {
        flex: 1;
        width: 181px;
        @media (min-width: 768px) {}
      }
      .ag-col3 {
        width: 65px;
        @media (min-width: 768px) {
          width: 65px;
        }
      }
    }

    #audio-timeline {
      vertical-align: text-bottom;
      width: 100%;
      -webkit-appearance: none;
      height: 16px;
      background-color: #A3D4FF;
      cursor: pointer;
      background-size: 0 100%;
      background-image: linear-gradient(#009FE3, #009FE3);
      background-repeat: no-repeat;

      &::-webkit-slider-thumb {
        -webkit-appearance: none;
        opacity: 0;
        width: 1em;
        height: 1em;
        border-radius: 50%;
        transition: all .1s;
        background-color: #009FE3;
      }

      &::-moz-range-thumb/*, &::-ms-thumb*/ {
        -webkit-appearance: none;
        opacity: 0;
        width: 1em;
        height: 1em;
        border-radius: 50%;
        transition: all .1s;
        background-color: #009FE3;
      }

      /*&::-webkit-slider-thumb:hover, &::-moz-range-thumb:hover {
        background-color: #009FE3;
      }

      &hover::-webkit-slider-thumb, &hover::-moz-range-thumb {
        opacity: 1;
      }

      &::-webkit-slider-runnable-track, &::-moz-range-track {
        -webkit-appearance: none;
        box-shadow: none;
        border: none;
        background: transparent;
      }*/
    }

    #audio-current-time {
      display: inline-block;
      margin-left: 15px;
      color: #848484;
      font-size: 14px;
      font-weight: 300;
      line-height: 16px;
    }
  }

  .ag-list {

    overflow: auto;

    max-height: 300px;
    @media (min-width: 768px) {
      max-height: 500px;
    }

    margin-bottom: 20px;

    /*&::-webkit-scrollbar-track {
      -webkit-box-shadow: inset 0 0 6px rgba(83, 83, 83, 0.07);
      background-color: #A3D4FF;
    }*/

    &::-webkit-scrollbar {
      width: 4px;
      background-color: #A3D4FF;
      @media (min-width: 768px) {
        width: 14px;
      }
    }
    &::-webkit-scrollbar-thumb {
      background-color: #009FE3;
    }

    .img-col {
      width: 80px;
    }

    .txt, .txt p {
      font-size: 14px;
      @media (min-width: 768px) {
        font-size: 18px;
      }
    }

    .txt-small, .txt-small p {
      font-size: 14px;
      @media (min-width: 768px) {
        font-size: 16px;
      }
    }

    .active {
      background-color: #F5F5F5;
      border-radius: 10px;
      .txt {
        color: #009FE3;
        @media (min-width: 768px) {
          color: #090c10;
        }
      }

    }
    .pr-row {
      padding: 10px;
    }
    .pr-row > * {
      flex: 0 0 auto;
    }

    .ag-col1 {
      display: none;
      @media (min-width: 768px) {
        display: block;
        width: 80px;
        height: 80px;
        margin-right: 10px;
      }
    }
    .ag-col1-mobile {
      background-size: contain;
      width: 50px;
      height: 50px;
      @media (min-width: 768px) {
        display: none;
      }
    }
    .ag-play-button-mobile {
      margin-top: 16px;
      margin-left: 17px;
    }

    .ag-col2 {
      text-align: center;
      font-weight: 700;
      width: 30px;
      @media (min-width: 768px) {
        width: 40px;
        margin-right: 10px;
      }
    }
    .ag-col3 {
      width: 175px;
      @media (min-width: 768px) {
        flex: 1;
      }
      .txt {
        font-weight: 500;
        line-height: 16px;
        @media (min-width: 768px) {
          line-height: 21px;
        }
      }
      .txt-small {
        font-weight: 400;
        line-height: 16px;
        @media (min-width: 768px) {
          line-height: 19px;
        }
      }
    }
    .ag-col4 {
      margin-left: 10px;
      @media (min-width: 768px) {
        margin-right: 10px;
        width: 40px;
      }
      p {
        font-weight: 400;
        /*@media (min-width: 768px) {
          font-weight: 400;
        }*/
      }
    }
    .ag-col5 {
      display: none;
      justify-content: center;
      align-items: center;
      @media (min-width: 768px) {
        display: inline;
        width: 50px;
      }

      .ag-pause-button {
        display: none;
        border: none;
        outline: none;
        width: 50px;
        height: 50px;
        border-radius: 100px;
        background: rgb(0, 159, 227);
      }
    }

  }
}
