/* IMAGE COLUMN 
/////////////////////// */
.adv-grid-audio .image-curve .image {
  position: relative;
  max-width: calc(100% - 3em);
  width: auto;
  display: inline-block;
  margin-top: 3em;
}

.adv-grid-audio .col-1 .image .span-icon {
  position: absolute;
  width: 5.5em;
  height: 5.5em;
  background-color: white;
  right: 0.5em;
  border-radius: 100%;
  top: 0.5em;
  box-shadow: 0px 0px 0px 0.4em rgb(241 89 42 / 24%),
    0px 0px 0px 0.75em rgb(241 89 42 / 30%);
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  right: -5%;
  top: -6%;
  z-index: 2;
}

.adv-grid-audio .image-curve .img-tag {
  display: inline-block;
  position: relative;
}

.adv-grid-audio .image-curve .img-tag img {
  display: block;
  border-radius: 2.5em 0 2.5em 0;
  box-shadow: var(--shadow);
}

.adv-grid-audio .col-1 .img-tag img {
  position: relative;
  z-index: 1;
  width:100%;
}

.adv-grid-audio .image-curve .img-tag:before {
  content: "";
  position: absolute;
  background-image: url(/wp-content/uploads/2020/08/plus-patterns_square.svg);
  left: auto;
  right: -1.4em;
  top: 5em;
  width: 7em;
  height: 7em;
}

.adv-grid-audio .reverse-order .image-curve .img-tag:before {
  left: -1.4em;
  right: auto;
}

/* reverse order  */
@media (min-width: 950px) {
  .adv-grid-audio .reverse-order .image .span-icon {
    right: auto;
    left: -5%;
  }

  .adv-grid-audio .reverse-order .col-1 {
    text-align: right;
  }

  .adv-grid-audio .reverse-order .image-curve .image {
    margin-left: auto;
  }

  .adv-grid-audio .reverse-order .image-curve .img-tag img {
    border-radius: 0 2.5em 0 2.5em;
  }
}

@media (max-width: 980px) {
  .adv-grid-audio .col-1 .image .span-icon {
    width: 4em;
    height: 4em;
  }
}
@media (max-width: 951px) {
  .adv-grid-audio .cols {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    max-width: none;
    min-width: initial !important;
  }

  .adv-grid-audio .col-1 .image .span-icon {
    width: 4.3em;
    height: 4.3em;
  }

  .adv-grid-audio .image-curve .image {
    max-width: calc(500px - 3em);
  }

  .adv-grid-audio .col-1:not(.image-curve) .image {
    max-width: calc(500px);
  }

  .adv-grid-audio .col-1 .img-tag {
    margin-bottom: 1em;
  }

  .adv-grid-audio .reverse-order .image-curve .img-tag:before {
    left: auto;
    right: -1.4em;
  }
}

@media (max-width: 533px) {
  .adv-grid-audio .image-curve .image {
    max-width: calc(100% - 2em);
  }
}

/* GRID ITEMS 
////////////////////// */
.adv-grid-audio .grid-group > div {
  border: solid 1px var(--sBlue);
  box-shadow: var(--shadow);
  padding: 0.75em 0.5em;
  border-radius: 0.5em;
  margin: 0.5em 1em 0.5em 0;
  font-size: 0.9em;
  max-width: calc(50% - 1em);
  min-width: calc(50% - 1em);
  width:100%;
  background-color: var(--white);
}

.adv-grid-audio .grid-group .item-col-1 {
  max-width: 2.5em;
  margin-right: 0.65em;
  width: 100%;
}

.adv-grid-audio .grid-group .item-col-2 h3 {
  font-size: 1.1em;
  margin-bottom: 0;
}

@media (max-width: 533px) {
  .adv-grid-audio .grid-group > div {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    max-width: none;
    min-width: initial !important;
    margin-left: 0;
    margin-right: 0;
  }
}

/* VOICEOVERS GRID
//////////////////// */
.player-items-wrap {
  border: solid 1px var(--border);
  border-radius: 0.4em;
  margin-top: 0.5em;
}

.player-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.2em;
  margin: 0.5em;
}

.player-item button {
  width: 100%;
  text-align: left;
  position: absolute;
  z-index: 1;
  opacity: 0;
  border: 0;
  font-size: 1em;
  padding: 0.3em;
  cursor: pointer;
  top: 0;
  height: 100%;
  left: 0;
  z-index: 3;
}

.player-item .progress {
  position: absolute;
  left: 0;
  width: 100% !important;
  max-width: none;
  top: 0;
  height: 100%;
  border-radius: 0;
  background: var(--sBlue);
}

.player-item .progress-bar{
  background: rgb(254 243 240 / 42%);
  position: absolute;
  height: 100%;
  z-index: 1;
  top: 0;
  left: 0;
} 

.player-item .player-title {
  position: relative;
  z-index: 2;
  color: var(--darkBlue);
  left: 0;
  font-size: 0.9em;
  display: block;
  width: 100%;
  padding: 0.5em 0.5em 0.5em 2.5em;
}

/* play icon  */
.player-item .player-title:before {
  content: "\f04b";
  font-family: fontAwesome;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75em;
  height: 1.75em;
  z-index: 1;
  left: 0.7em;
  font-size: 0.9em;
  text-align: center;
}

.player-item.playing .player-title:before{
 content: "\f04c";
}

@media (min-width: 480px) {
  .player-items-wrap{
    display:-webkit-box;display:-ms-flexbox;display:flex;
    -ms-flex-wrap:wrap;flex-wrap:wrap;
  }
  
  .player-item{
    -webkit-box-flex: calc(50% - 1em);-ms-flex: calc(50% - 1em) 0;flex: calc(50% - 1em) 0;
  }
}
