

#p {
  width: auto;
  height: auto;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#p::before {
  content: '';
  position: absolute;
  width: auto;
  height: auto;
  z-index: 1;
  background-color: #eee;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

#p::after {
  content: "";
  width: 400px;
  height: 400px;
  position: absolute;
  border-radius: 50px;
  background: conic-gradient(
    #3a7cec 0%12.5%,
    #2ca24c 12.5%25%,
    #f1b500 25%37.5%,
    #e33e2b 37.5%50%,
    #3a7cec 50%62.5%,
    #2ca24c 62.5%75%,
    #f1b500 75%87.5%,
    #e33e2b 87.5%100%
  );
  animation: border-animation 5s linear infinite;
  -webkit-animation: border-animation 5s linear infinite;
}

@keyframes border-animation {
  to {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}



.upsale-button {
	position: relative;
	z-index: 0;
	height: 40px;
	overflow: hidden;
	border: none !important;
	padding: 0 !important;
	background: #5D5DFF !important;
	color: #656565;
	background: white;
	border-radius: 8px;
	width: 150px;
	text-align: center;
	 font-size: 14px;
	font-weight: 400;
	box-shadow: 0 4px 50px 0 rgb(0 0 0 / 7%);
	transition: .2s all linear;
	text-decoration: initial;
}

.upsale-button span{
	position: relative;
	z-index: 1;
	height: calc( 100% - 4px );
	width: calc( 100% - 4px );
	top: 2px;
	left: 2px;
	align-items: center;
	display: flex;
	justify-content: center;
	border-radius: 8px;
	color: white;
	background: #5D5DFF;
}

.upsale-button:after{
	content: "";
	position: absolute;
	z-index: -2;
	left: -50%;
	top: -50%;
	width: 200%;
	height: 200%;
	background-color: transparent;
	background-repeat: no-repeat;
	background-size: 50% 50%, 50% 50%;
	background-position: 0 0, 100% 0, 100% 100%, 0 100%;
	background-image: linear-gradient(90deg, rgba(255,255,255,0)    0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
	-webkit-animation: rotate 2s linear infinite;
	animation: rotate 2s linear infinite;
}


@-webkit-keyframes rotate {
	100% {
		transform: rotate(360deg);
	 }
}

@keyframes rotate {
	100% {
	transform: rotate(360deg);
	}
}




 .elisc_tm_sidebar .menu ul li {
  text-decoration: none;
  position: relative;
 color:  #e60000;
  flex-grow: 1;
  cursor: pointer;
}
 .elisc_tm_sidebar .menu ul li a:before {
 	color:  #e60000;
  content: "";
  position: absolute;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  top: calc(2px/-1);
  left: calc(2px/-1);
  background: linear-gradient(to right, red 0%, red 100%);
  background-size: 100% 2px, 2px 200%, 2px 200%, 0% 2px, 0% 2px;
  background-position: 50% 100%, 0% 0%, 100% 0%, 100% 0%, 0% 0%;
  background-repeat: no-repeat, no-repeat;
  transition: transform 0.3s ease-in-out, background-position 0.3s ease-in-out, background-size 0.3s ease-in-out;
  transform: scaleX(0) rotate(0deg);
  transition-delay: 0.6s, 0.3s, 0s;
}
 .elisc_tm_sidebar .menu ul li a:hover:before {
 	color:  #e60000;
  background-size: 200% 2px, 2px 400%, 2px 400%, 55% 2px, 55% 2px;
  background-position: 50% 100%, 0% 100%, 100% 100%, 100% 0%, 0% 0%;
  transform: scaleX(1) rotate(0deg);
  transition-delay: 0s, 0.3s, 0.6s;
}
 