:root {
  --lightgray: #efefef;
  --blue: steelblue;
  --white: #fff;
  --black: rgba(0, 0, 0, 0.8);
  --bounceEasing: cubic-bezier(0.51, 0.92, 0.24, 1.15);
}

* {
  padding: 0;
  margin: 0;
}

button {
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  font-size: inherit;
}

/*R-Madal Styles*/
.r-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--black);
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transition: all 0.35s ease-in;
  z-index: 100;
}

.r-modal-dialog {
  position: relative;
  max-width: 800px;
  max-height: 80vh;
  border-radius: 5px;
  background: var(--white);
  overflow: auto;
  cursor: default;
  padding: 3%;
  box-sizing: border-box;
}

.r-modal-dialog>* {
  padding: 1rem;
}

.r-modal-header {
  text-align: center;
  font-weight: 600;
  font-size: 2em;
}

.r-modal-header .r-modal-close {
  position: absolute;
  right: 0px;
  top: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

.r-modal p+p {
  margin-top: 1rem;
}

.r-modal.is-visible {
  visibility: visible;
  opacity: 1;
}

.r-modal-content {
  text-align: center;
}

.r-modal-content p {
  font-size: .85rem;
  line-height: 1.46666667;
  font-weight: 300;
  margin: 0em auto 2em;
}
.r-modal-closeBtn {
  cursor: pointer;
}
a#r-modal-close {
  cursor: pointer;
  margin-right: 30px;
}
a#r-modal-cta {
  color: #fff;
  background-color: #ff5a00;
  padding: 7px 20px;
  text-decoration: none;
}
.boss-global a#r-modal-cta {
  background-color: #0064ff;
}
a#r-modal-cta:hover {
    background-color: #ff5a00;
    transition: .3s;
}
.boss-global a#r-modal-cta:hover {
  background-color: #3584fe;
}

#r-countdown {
  position: relative;
  margin: 50px auto 50px;
  height: 80px;
  width: 80px;
  text-align: center;
}
#r-countdown-number {
  color:#ff5a00;
  display: inline-block;
  line-height: 80px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.boss-global #r-countdown-number {
  color: #0064ff;
}

.r-modal-content svg {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  transform: rotateY(-180deg) rotateZ(-90deg);
}
.r-modal-content svg circle {
  stroke-dasharray: 251px;
  stroke-dashoffset: 0px;
  stroke-linecap: round;
  stroke-width: 3px;
  stroke: #ff5a00;
  fill: none;
  animation: r-countdown 10s linear infinite forwards;
}

.boss-global .r-modal-content svg circle {
  stroke: #0064ff;
}

@keyframes r-countdown {
  from {
    stroke-dashoffset: 0px;
  }
  to {
    stroke-dashoffset: 251px;
  }
}

@media screen and (max-width: 550px) {
  .r-modal-header .r-modal-close {
    opacity: 0;
    display: none;
  }
  .r-modal-header {
    font-size: 1.4em;
  }
  a#r-modal-close {
    display: inline-block;
    margin: 0 12px 12px;
  }
  a#r-modal-cta {
    display: inline-block;
    margin: 0 12px 12px;
  }
}