/**
 * Smart Popup (Newsletter Popup)
 *
 * @author    Rolige <www.rolige.com>
 * @copyright Since 2011 Rolige - All Rights Reserved
 * @license   Proprietary and confidential
 */

/* Tags */
.rgsp_dismiss .checkbox.left,
.rgsp_dismiss .custom-checkbox.left {
  text-align: left !important;
}

.rgsp_dismiss .checkbox.right,
.rgsp_dismiss .custom-checkbox.right {
  text-align: right !important;
}

/* Newsletter Subscription: alerts */
.rgsp_alert.alert {
  position: relative;
  font-size: .95rem;
  padding: .50rem .75rem;
  border: 0;
  border-radius: 0;
}

.rgsp_alert.alert.alert-danger {
  color: #7f231c;
  background-color: #fdd9d7;
}

.rgsp_alert.alert.alert-success {
  color: #285b2a;
  background-color: #dbefdc;
}

/* Newsletter Subscription: invalid fields */
.rgContent input[type='text'].isInvalid,
.rgContent input[type='email'].isInvalid {
  border: 1px solid #f4476b !important;
}

.rgContent label span.isInvalid,
.rgContent .checkbox label.isInvalid,
.rgContent .custom-checkbox label.isInvalid {
  color: #f4476b !important;
}

/* Coundown */
.rgSpCountdown li {
  display: inline-block;
  padding: 5px;
  margin: 0 10px 0 0;
  font-size: 0.9rem;
}

.rgSpCountdown li p {
  text-align: center;
}

.rgSpCountdown li p span {
  font-weight: 900;
  font-size: 1.2rem;
}

.rgSpCountdown .line-effect {
  margin: 0;
  padding: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.rgSpCountdown .line-effect:after {
  content: "";
  position: absolute;
  bottom: -5px;
  height: 3px;
  margin: 5px 0 0;
  background-color: #d34eb4;
  position: absolute;
}

.rgSpCountdown .line-effect.has-changed:after {
  -webkit-animation: ease-line 0.5s;
  animation: ease-line 0.5s;
}

@-webkit-keyframes ease-line {
  0% {
    left: 0;
    width: 0;
  }
  30% {
    width: 100%;
  }
  100% {
    right: 0;
    width: 0;
  }
}
@keyframes ease-line {
  0% {
    left: 0;
    width: 0;
  }
  30% {
    width: 100%;
  }
  100% {
    right: 0;
    width: 0;
  }
}
