:root {
  --live-ticker-client-width: calc(-300px * 2)  !important;
  --live-ticker-speed: 50s;
}

.block-views-blocklive-ticker-block-1 {
  background: var(--live-ticker-bg);
  padding: 2px !important;
  margin: 0px;
  padding-inline: 10px !important;
  border: 2px solid #fff;
  position: relative;
}

.view-live-ticker .views-row a svg.ext{
  margin-bottom: 10px
}

.view-live-ticker {
  height: 28px;
  overflow: hidden;
  position: relative;
}

.view-live-ticker .view-content {
  position: absolute;
  width: max-content;
  height: 100%;
  margin: 0;
  line-height: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  -moz-animation: scroll-left var(--live-ticker-speed) linear infinite;
  -webkit-animation: scroll-left var(--live-ticker-speed) linear infinite;
  animation: scroll-left var(--live-ticker-speed) linear infinite;
}

.view-live-ticker .view-content:hover {
  -moz-animation-play-state: paused;
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

.view-live-ticker .view-content .views-row {
  display: inline-block;
  width: max-content;
  margin-right: 30px;
}

.view-live-ticker .views-row a {
  font-weight: 500;
  font-size: 9px;
  line-height: 19px;
  color: #fff;
  text-decoration: none;
  font-family: punchtape;
}

@-moz-keyframes scroll-left {
  0% {
    -moz-transform: translateX(0%);
  }
  100% {
    -moz-transform: translateX(var(--live-ticker-client-width));
  }
}

@-webkit-keyframes scroll-left {
  0% {
    -webkit-transform: translateX(0%);
  }
  100% {
    -webkit-transform: translateX(var(--live-ticker-client-width));
  }
}

@keyframes scroll-left {
  0% {
    -moz-transform: translateX(0%);
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
  100% {
    -moz-transform: translateX(var(--live-ticker-client-width));
    -webkit-transform: translateX(var(--live-ticker-client-width));
    transform: translateX(var(--live-ticker-client-width));
  }
}


/* @media only screen and (min-width: 992px) {
   .block-views-blocklive-ticker-block-1:after {
    content: "";
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="22" viewBox="0 0 14 22" fill="none"><path d="M13 1L2 11L13 21" stroke="white" stroke-width="2"/></svg>');
    background-repeat: no-repeat;
    padding-left: 15px;
    background-size: 8px;
    background-position: center;
    margin-right: 5px;
    position: absolute;
    width: 20px;
    height: 100%;
    position: absolute;
    background-color: var(--live-ticker-bg);
    border-radius: 0px 6px 6px 0px;
    left:calc(100% - 20px);
    top:0;
    transform: rotate(180deg);
  }
  .block-views-blocklive-ticker-block-1:before {
    content: "";
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="22" viewBox="0 0 14 22" fill="none"><path d="M13 1L2 11L13 21" stroke="white" stroke-width="2"/></svg>');
    background-repeat: no-repeat;
    padding-left: 20px;
    background-size: 8px;
    background-position: center;
    margin-right: 5px;
    width: 20px;
    height: 100%;
    position: absolute;
    background-color: var(--live-ticker-bg);
    top: 0;
    border-radius: 0px 6px 6px 0px;
    left: 0;
  }  
  

} */

@media only screen and (max-width: 992px) {
  .block-views-blocklive-ticker-block-1 {
    border-radius: 0;
    background: #007d84;
    border: none;
  }
  p.back-button{
    display: none;
  }

}
/* BackButton */
p.back-button {
  margin: 0;
  background: transparent;
  width: fit-content;
  position: absolute;
  z-index: 99;
  top: 100%;
  margin-top: 2%;
  left: 0;
}

p.back-button button {
  background: transparent;
  border: navajowhite;
}

p.back-button  img {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

@media only screen and (min-width: 992px) {
  :root {
    --live-ticker-speed: 30s !important;
  }
}