/*$borderColor: #000;*/
/*@mixin AnimatedBorderBackground($targetBackgroundColor)
{
    .DashBorderButton-StaticBorderLayer
    {
        animation: AnimateStaticBorderColor linear 3s infinite;
    }


    .DashBorderButton-LayerInside
    {
        background: $targetBackgroundColor;
        transition: 2s;
        color: #EEEEEE;
    }
}

*/
.DashBorderButton-Master-Wrapper {
  width: 300px;
  height: 40px;
  position: relative;
  border-radius: 10px;
  box-shadow: 4px 4px 5px #aaaaaa;
  /* experiment: make the border color match the background color in the default state
     of the button; i'm not sure if this will ultimately look good or not - i might 
     abandon this.
  */
  /* the padding only applies to the content and progress layers; otherwise, 
     these end up rendering over top of the animated border.
  */
}
.DashBorderButton-Master-Wrapper .DashBorderButton-StaticBorderLayer {
  background: #65557A;
}
.DashBorderButton-Master-Wrapper .DashBorderButton-Master-Wrapper .DashBorderButton-ContentLayer,
.DashBorderButton-Master-Wrapper .DashBorderButton-Master-Wrapper .DashBorderButton-ProgressLayer {
  padding: 5px;
}
.DashBorderButton-Master-Wrapper .DashBorderButton-ContentLayer .DashBorderButton-LayerInside {
  border-radius: 10px;
  background: #65557A;
  color: #EEEEEE;
}
.DashBorderButton-Master-Wrapper .DashBorderButton-ProgressLayer {
  opacity: 0.3;
}
.DashBorderButton-Master-Wrapper .DashborderButton-ProgressBar {
  visibility: hidden;
  width: 0;
  height: 100%;
  background: #65557A;
  border-radius: 10px;
  /*background: #4BB543;*/
}

.DashBorderButton-Master-Wrapper:hover {
  opacity: 0.75;
  cursor: pointer;
}

.DashBorderButton-Master-Wrapper.IsCurrentlyPressedDown {
  top: 10px;
  left: 10px;
  box-shadow: 0px 0px 2.5px #C5C5C5;
  transition: 0.2s;
}

.DashBorderButton-Master-Wrapper.Validating {
  /*#EEEEEE*/
  /*    .DashBorderButton-StaticBorderLayer
  {
      animation: AnimateStaticBorderColor linear 3s infinite;
  }*/
}
.DashBorderButton-Master-Wrapper.Validating .DashBorderButton-StaticBorderLayer {
  background: #857d91;
  transition: 2s;
}
.DashBorderButton-Master-Wrapper.Validating .DashBorderButton-LayerInside {
  background: #857d91;
  transition: 2s;
  color: #EEEEEE;
}
.DashBorderButton-Master-Wrapper.Validating .ButtonStateIcon {
  animation: PulsingShadow 3s linear infinite;
}

.DashBorderButton-Master-Wrapper.Asserting {
  /*#EEEEEE*/
  /*    .DashBorderButton-StaticBorderLayer
      {
          animation: ProgressBarBorder linear 10s;
      }*/
}
.DashBorderButton-Master-Wrapper.Asserting .DashBorderButton-StaticBorderLayer {
  background: #857d91;
  transition: 2s;
}
.DashBorderButton-Master-Wrapper.Asserting .DashBorderButton-LayerInside {
  background: #857d91;
  transition: 2s;
  color: #EEEEEE;
}
.DashBorderButton-Master-Wrapper.Asserting .DashborderButton-ProgressBar {
  background: #1d1726;
  visibility: visible;
}

.DashBorderButton-Master-Wrapper.Asserting.Animating .DashBorderButton-StaticBorderLayer {
  background: #4BB543;
  transition: 2s;
}

.DashBorderButton-ProgressLayer .DashBorderButton-LayerInside {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.DashBorderButton-Master-Wrapper.TransitionBegin .DashBorderButton-IconArea {
  opacity: 0;
  transition: 0.1s;
}
.DashBorderButton-Master-Wrapper.TransitionBegin .DashborderButton-ProgressBar {
  width: 0;
}

.DashBorderButton-Master-Wrapper.TransitionInProgress .DashBorderButton-IconArea {
  opacity: 1;
  transition: 2s;
}
.DashBorderButton-Master-Wrapper.TransitionInProgress .DashborderButton-ProgressBar {
  width: 100%;
  transition: 2s;
}

.DashBorderButton-Master-Wrapper.TransitionEnd .DashBorderButton-IconArea {
  opacity: 1;
}
.DashBorderButton-Master-Wrapper.TransitionEnd .DashborderButton-ProgressBar {
  width: 100%;
}

.DashBorderButton-Master-Wrapper.Saving .DashBorderButton-StaticBorderLayer {
  background: #CCCCCC;
  transition: 2s;
}
.DashBorderButton-Master-Wrapper.Saving .DashBorderButton-LayerInside {
  background: #CCCCCC;
  transition: 2s;
  color: #333333;
}
.DashBorderButton-Master-Wrapper.Saving .ButtonStateIcon {
  animation: PulsingShadow 3s linear infinite;
}

.DashBorderButton-Master-Wrapper.OnSuccess {
  /*    .DashborderButton-ProgressBar
  {
      background: #5D726A;
      visibility: visible;
  }*/
}
.DashBorderButton-Master-Wrapper.OnSuccess .DashBorderButton-StaticBorderLayer {
  background: #439458;
  transition: 2s;
}
.DashBorderButton-Master-Wrapper.OnSuccess .DashBorderButton-LayerInside {
  background: #439458;
  transition: 2s;
  color: #EEEEEE;
}

.DashBorderButton-Master-Wrapper.OnFailure {
  /*    .DashborderButton-ProgressBar
  {
      background: #FF0000;
      visibility: visible;
  }*/
}
.DashBorderButton-Master-Wrapper.OnFailure .DashBorderButton-StaticBorderLayer {
  background: #FF0000;
  transition: 2s;
}
.DashBorderButton-Master-Wrapper.OnFailure .DashBorderButton-LayerInside {
  background: #FF0000;
  transition: 2s;
  color: #EEEEEE;
}

.DashBorderButton-LayerWrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5px;
  border: 2.5px solid transparent;
  border-radius: 10px;
}

.DashBorderButton-LayerInside {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  font-weight: bold;
}

.DashBorderButton-IconArea {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  width: 40px;
  text-align: center;
  line-height: 26px;
  text-shadow: 2px 2px 5px #000000;
}

.DashBorderButton-Text {
  position: absolute;
  margin-left: 40px;
  padding-left: 10px;
  top: 0;
  left: 0;
  right: 0;
  right: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  line-height: 26px;
  text-shadow: 2px 2px 5px #000000;
}

/*.DashBorderButton-Master-Wrapper.Validating .DashBorderButton-ProgressLayer .DashBorderButton-LayerInside {
    width: 0;
    height: 100%;
    background: #000000;*/
/*margin: 5px;*/
/*box-sizing: content-box;
}


.DashBorderButton-Master-Wrapper.Validating .DashBorderButton-ProgressLayer .DashBorderButton-LayerInside {
    width: 100%;
    transition: 2s;
}*/
@keyframes bg-spin {
  to {
    --border-angle: 1turn;
  }
}
.box:hover {
  animation-play-state: paused;
}

@property --border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn;
}
@keyframes spin {
  100% {
    transform: rotateZ(360deg);
  }
}
.ButtonDescription {
  margin: 2px 0px;
}

.ButtonSeperator {
  width: 300px;
  height: 1px;
  background: #CCCCCC;
  margin: 20px 0px;
}

@keyframes AnimateStaticBorderColor {
  0% {
    background: #EEEEEE;
  }
  0% {
    background: #AAAAAA;
  }
  100% {
    background: #EEEEEE;
  }
}
@keyframes ProgressBar {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
@keyframes ProgressBarBorder {
  0% {
    background: linear-gradient(90deg, #EEEEEE, #857d91);
  }
  100% {
    background: linear-gradient(90deg, #857d91, #857d91);
  }
}
@keyframes PulsingShadow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 109, 74, 0.7), 0 0 0 0 rgba(255, 109, 74, 0.7);
    font-size: 16px;
  }
  40% {
    box-shadow: 0 0 0 5px rgba(255, 109, 74, 0), 0 0 0 0 rgba(255, 109, 74, 0.7);
    font-size: 18px;
  }
  80% {
    box-shadow: 0 0 0 10px rgba(255, 109, 74, 0), 0 0 0 5px rgba(255, 109, 74, 0);
    font-size: 20px;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 109, 74, 0), 0 0 0 10px rgba(255, 109, 74, 0);
    font-size: 14px;
  }
}
/*.DashBorderButton-StaticBorderLayer
    {
        --border-size: 2.5px;
        --border-angle: 0turn;*/
/*    width: 60vmin;
height: 50vmin;*/
/*background-image: conic-gradient(from var(--border-angle), $borderColor, $borderColor 50%, $borderColor), conic-gradient(from var(--border-angle), transparent 20%, $borderColor, $borderColor);
        background-size: calc(100% - var(--border-size) * 2) calc(100% - var(--border-size) * 2), cover;
        background-position: center center;
        background-repeat: no-repeat;
        animation: bg-spin 3s linear infinite;*/
/*animation-play-state: paused;*/
/*}*/

/*# sourceMappingURL=DashedBorderIcon-RectangleButton-Layered2.Compiled.css.map */
