.subscriptions-wrapper{
  margin-bottom: 15px;
  width: 260px;

  cursor: pointer;
  &.active {
    position: relative;
    z-index: 100;
  }
}

.subscriptions-border {
  overflow: hidden;
  border-radius: 3px;
}

.subscriptions{
    padding: 0 2px;
    border: 3px solid transparent;
    border-image: repeating-linear-gradient(
      -45deg, #fff 9px, #fff 18px, @blue 18px,
      @blue 27px, #fff 27px, #fff 36px,
      @orange 36px, @orange 45px) 3 round;
    background: #fff;
    color: #333;

    .subs-row{
      margin-top: 10px;
      text-align: center;
    }

    .subs-header{
      margin: 20px 30px 15px 30px;
      font-size: 19px;
    }

    .subs-spoiler {
      margin: 0 12px 10px 12px;
      text-align: center;
      font-size: 14px;
    }

    input{
      padding: 4px;
      width: 100%;
      border: 1px solid #ccc;
      font-size: 16px;
    }

    .subs-input {
      padding: 4px 4px 4px 12px;
      border-radius: 2px;

      &:hover, &:focus {
        border: 1px solid @blue-light;
      }

      &::-webkit-input-placeholder {
        color: @text-gray;
        font-size: 15px;
      }

    }

    .input-wrapper{
      margin: 0 15px 10px 15px;
    }

    .button{
      margin: 0 0 20px;
      padding: 7px 38px;
      border-radius: 2px;
      box-shadow: 0 1px 0 0 @blue, inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
      text-align: center;
      font-size: 17px;
      cursor: pointer;
      transition: background-color .3s;

    }
}

.subscription_block-tooltip {
  position: absolute;
  top: -3000px;
  right: 0;
  left: -62px;
  margin: auto;
  padding: 15px 30px 20px;
  width: 380px;
  border-radius: 3px;
  background: @red;
  box-shadow: 1px 1px 3px rgba(0,0,0, .4);
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0,0,0, .2);
  opacity: 0;
  -webkit-font-smoothing: antialiased;

  &:after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    display: inline-block;
    margin: auto;
    width: 0;
    height: 0;
    border-top: 10px solid @red;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    content: "";
  }

  &.active {
    top: -120px;
    opacity: 1;
    transition: all 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
  }
}

.subscription_block-tooltip-title {
  margin-top: 0;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 17px;
}

.subscription_block-tooltip-close {
  float: right;
  margin-top: -9px;
  margin-right: -23px;
  width: 13px;
  height: 13px;
  background-image: url(../images/subscription-tooltip-close.png);
  cursor: pointer;
}

.subscription_block-tooltip-graph {
  float: left;
  width: 143px;
  height: 51px;
  background-image: url(../images/graph.png);
}

.subscription_block-tooltip-description {
  float: left;
  margin-left: 20px;
  width: 135px;
  font-size: 13px;
}

.subscription_block-blue-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 11;
  display: none;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: all ease-in-out .50s;

  &.active {
    display: block;
    background: rgba(0, 176, 221, 0.4);
  }
}

.no-scroll {
  overflow: hidden;
}
