/*Pull sw-icons for editor*/
@font-face {
	font-family: "sw-icons-wp-editor";
	src:url("https://media.sweetwater.com/include/fonts/sw-icons.eot");
	src:url("https://media.sweetwater.com/include/fonts/sw-icons.eot?sw-icons#iefix") format("embedded-opentype"),
		url("https://media.sweetwater.com/include/fonts/sw-icons.svg#sw-icons") format("svg"),
		url("https://media.sweetwater.com/include/fonts/sw-icons.woff") format("woff"),
		url("https://media.sweetwater.com/include/fonts/sw-icons.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

.wp-block-sweet-player-player i[data-icon]:before {
  content: attr(data-icon);
  font-family: "sw-icons-wp-editor";
  font-style: normal;
  display: inline-block;
  vertical-align: middle;
}

.wp-block-sweet-player-player i[data-icon] {
  display: inline-block;
  vertical-align: middle;
  font-weight: 400;
  zoom: 1;
}

.wp-block-sweet-player-player .waveform-play, .wp-block-sweet-player-player .playlist-item-container a{
  line-height: 1;
}

.sweet-player-editor .editor-block-icon {
  margin-right: 5px;
}

.sweet-player-custom-frame .playlist-settings, .sweet-player-custom-frame .attachment .describe {
  display: none !important;
}

.sweet-player-block {
  margin: 0 0 1em 0;
}

.sweet-player-block figcaption {
  text-align: left;
}

.sweet-player-block .waveform-title{
  margin-bottom: 0;
  line-height: 1;
  min-height: 32px;
}

.sweet-player-block .waveform-title strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: inline-block;
}

.is_content .col1 {
  min-width: 0;
}

.sweet-player-block .waveform-title a{
  font-size: 14px;
}

.sweet-player-block .waveform-counter, .sweet-player-block .waveform-duration{
  width: 40px;
}

.sweet-player-block .waveform-duration {
  text-align: right;
}

.sweet-player-block .waveform{
  min-height: 50px;
  width: 100%;
  margin: 0 10px;
}

.sweet-player-block .waveform-flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sweet-player-block .waveform *{
  overflow: hidden !important;
}

.sweet-player-block .playlist {
  text-align: left;
  border-top: 1px solid #e5e4e3;
}

.sweet-player-block .playlist-item-container {
  display: flex;
  border-bottom: 1px solid #e5e4e3;
  height: 30px;
}

.sweet-player-block .playlist-item {
  color: #444;
  border: none;
  cursor: pointer;
  padding: 5px;
  background: transparent;
  display: block;
  width: 100%;
  text-align: left;
  flex: 1;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}

.sweet-player-block .playlist-item-download, .sweet-player-block .playlist-item-info {
  display: inline-block;
  font-size: 22px;
  padding: 0 5px;
  color: #ccc !important;
}

.sweet-player-block .playlist-item.selected {
  font-weight: bold;
}

.sweet-player-block .playlist-item:hover,
.sweet-player-block .playlist-item:focus,
.sweet-player-block .playlist-item-download:hover,
.sweet-player-block .playlist-item-download:focus,
.sweet-player-block .playlist-item-info:hover,
.sweet-player-block .playlist-item-info:focus {
  background: #e5e4e385;
}

.sweet-player-block .playlist-item-download:hover,
.sweet-player-block .playlist-item-download:focus,
.sweet-player-block .playlist-item-info:hover,
.sweet-player-block .playlist-item-info:focus {
  color: #ff8636 !important;
}

.sweet-player-block .waveform-play {
  background: #ff8636;
  border-radius: 6px;
  border: none;
  text-align: center;
  cursor: pointer;
  transition: all .05s;
  padding: 6px 14px;
}

.sweet-player-block .waveform-play i {
  font-size: 12px;
  display: flex;
}

.sweet-player-block .waveform-play:hover, .sweet-player-block .waveform-play:focus {
  background: #e27830;
}

.sweet-player-block .controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: .5em 0
}

.sweet-player-block .controls > span {
  flex: 1 0 0;
}

.sweet-player-block .controls .waveform-prod-link a .dashicons, .sweet-player-block .playlist-item a .dashicons{
  vertical-align: middle;
  margin-right: 2px;
}

.sweet-player-block .volume-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sweet-player-block .volume-container i {
  margin-left: 5px;
  font-size: 18px;
  display: flex;
}

.sweet-player-block input[type=range] {
  height: 25px;
  -webkit-appearance: none;
  max-width: 125px;
}

.sweet-player-block input[type=range]:focus {
  outline: none;
}

.sweet-player-block input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  box-shadow: none;
  background: #e5e4e3;
  border-radius: 5px;
  border: none;
}

.sweet-player-block input[type=range]::-webkit-slider-thumb {
  box-shadow: none;
  border: 1px solid #ff8636;
  height: 12px;
  width: 12px;
  border-radius: 25px;
  background: #ff8636;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -4px;
}

.sweet-player-block input[type=range]:focus::-webkit-slider-runnable-track {
  background: #ff8636;
}

.sweet-player-block input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  box-shadow: none;
  background: #e5e4e3;
  border-radius: 5px;
  border: none;
}

.sweet-player-block input[type=range]::-moz-range-thumb {
  box-shadow: none;
  border: 1px solid #ff8636;
  height: 10px;
  width: 10px;
  border-radius: 25px;
  background: #ff8636;
  cursor: pointer;
}

.sweet-player-block input[type=range]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

.sweet-player-block input[type=range]::-ms-fill-lower {
  background: #e5e4e3;
  border: 0px solid #000000;
  border-radius: 2px;
  box-shadow: 0px 0px 0px #000000;
}

.sweet-player-block input[type=range]::-ms-fill-upper {
  background: #e5e4e3;
  border: 0px solid #000000;
  border-radius: 2px;
  box-shadow: 0px 0px 0px #000000;
}

.sweet-player-block input[type=range]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #ff8636;
  height: 14px;
  width: 14px;
  border-radius: 25px;
  background: #ff8636;
  cursor: pointer;
}

.sweet-player-block input[type=range]:focus::-ms-fill-lower {
  background: #ff8636;
}

.sweet-player-block input[type=range]:focus::-ms-fill-upper {
  background: #ff8636;
}

/*THEME COLORS*/
.sweet-player-block-inner.sp-sweetcare .waveform-play {
  background: #0054a8;
  color: #FFF;
}

.sweet-player-block-inner.sp-sweetcare input[type=range]::-webkit-slider-thumb,
.sweet-player-block-inner.sp-sweetcare input[type=range]:focus::-webkit-slider-runnable-track {
  background: #0054a8;
  border-color: #0054a8;
}

.sweet-player-block-inner.sp-sweetcare input[type=range]::-moz-range-thumb {
  background: #0054a8;
  border-color:#0054a8;
}

.sweet-player-block-inner.sp-sweetcare input[type=range]::-ms-thumb,
.sweet-player-block-inner.sp-sweetcare input[type=range]:focus::-ms-fill-lower,
.sweet-player-block-inner.sp-sweetcare input[type=range]:focus::-ms-fill-upper {
  background: #0054a8;
  border-color:#0054a8;
}

.sweet-player-block-inner.sp-sweetcare .playlist-item-download:hover,
.sweet-player-block-inner.sp-sweetcare .playlist-item-download:focus,
.sweet-player-block-inner.sp-sweetcare .playlist-item-info:hover,
.sweet-player-block-inner.sp-sweetcare .playlist-item-info:focus {
  color: #0054a8 !important;
}

/*IE11 STYLES*/

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  .sweet-player-block .waveform-flex {
    display: block;
  }

  .sweet-player-block .waveform-flex .waveform-counter::after {
    content: "/";
    display: inline-block;
    margin: 0 5px;
  }

  .sweet-player-block .waveform-flex .waveform {
    display: none;
  }
}