#rl-subscription-area{
    width: 100%;
}
.rl-subscription, .rl-subscription *{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family:'Roboto', sans-serif;
    color: #8d8d8d;
    overflow: visible;
}

.rl-subscription:lang(en),
.rl-subscription:lang(en) *,
.rl-subscription:lang(en) .policy-checkbox label{
    font-family:'Roboto', sans-serif;
}

.rl-subscription:lang(zh-tw),
.rl-subscription:lang(zh-tw) *,
.rl-subscription:lang(zh-tw) .policy-checkbox label{
    font-family: Microsoft JhengHei;
}

.rl-subscription:lang(ja),
.rl-subscription:lang(ja) *,
.rl-subscription:lang(ja) .policy-checkbox label{
    font-family: 'Noto Sans Japanese', 'Open Sans', 'Roboto', Arial, sans-serif;
}

.rl-rel {
    position: relative;
}

.rl-subscription .policy-checkbox {
    padding-left: 32px;
}

.rl-subscription .policy-checkbox input {
    display: none;
}

.rl-subscription .policy-checkbox label {
    color: #8d8d8d;
    /* padding: 0 0 0 32px; */
    margin: 0;
    line-height: 1.2;
    cursor: pointer;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.rl-subscription .policy-checkbox .label-text:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: #d6dadc 1px solid;
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    border-radius: 0;
    margin-top: 3px;
}

.rl-subscription .policy-checkbox input[type=checkbox]:checked+.label-text:after {
    content: "";
    display: block;
    width: 6px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: 5px;
    top: 5px;
    border-radius: 1px;
}

.rl-subscription .policy-checkbox.error .label-text:before,
.rl-subscription .subscribe-email.error {
    border: #f44336 1px solid;
}

.rl-subscription .policy-checkbox.error input[type=checkbox]:checked+.label-text:before {
    border: #36a6e9 1px solid;
}

.rl-subscription .subscribe-email {
    width: 100%;
    display: block;
    line-height: 20px;
    padding: 12px 20px;
    border: #d6dadc 1px solid;
    font-size: 1em;
    color: #5a5a5b;
    font-weight: 300;
    outline-width: 0;
    outline: none;
    resize: none;
    border-radius: 0;
    margin-bottom: 10px;
    font-size: 14px;
}

.rl-subscription .label-text{
    font-size: 14px;
}

.rl-subscription .btn-submit-subscribe {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0;
    /* background-color: #000; */
    background-color: #878787;
    color: #fff;
    line-height: 20px;
    display: block;
    float: left;
    overflow: hidden;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    margin: 0;
    border: 0;
    outline: 0;
    border-image-width: 0;
    text-decoration: none;
}

.rl-subscription .btn-submit-subscribe:hover{
    background-color: #aaaaaa;
}

.rl-subscription .rl-title-wrapper{
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    text-transform: uppercase;
}

.rl-subscription .rl-subtitle-wrapper{
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1;
}

.rl-subscription .rl-subdesc-wrapper{
    margin-bottom: 15px;
}

.rl-subscription .rl-hidden{
    display: none;
}

.rl-subscription .rl-text-link,
.rl-subscription .rl-text-link:active,
.rl-subscription .rl-text-link:focus,
.rl-subscription .rl-text-link:active:focus
{
    color: #8d8d8d;
    text-decoration: none;
}

.rl-subscription .rl-text-link:hover{
    text-decoration: underline;
}

.rl-subscription ._msg_input{
    position: absolute;
    top: calc(56px);
    left: 0;
    width: auto;
    min-width: 100px;
    max-width: 100%;
    z-index: 100;
    background-color: #fff;
    border-radius: 3px;
    border: #9d9e9e 1px solid;
    padding: 6px 10px;
    font-size: 15px;
    opacity: 0;
    visibility: hidden;
    -webkit-box-shadow: 1px 5px 16px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 5px 16px -4px rgba(0,0,0,0.75);
    box-shadow: 1px 5px 16px -4px rgba(0,0,0,0.75);
}

.rl-subscription ._msg_input.input-error-msg{
    opacity: 1;
    visibility: visible;
}

.rl-subscription ._msg_input:before{
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 8px solid #9d9e9e;
    left: 15px;
    margin-top: 5px;
    top: -14px;
    position: absolute;
    z-index: 90
}

.rl-subscription ._msg_input:after{
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 8px solid #fff;
    left: 15px;
    margin-top: 5px;
    top: -13px;
    position: absolute;
    z-index: 101;
}

@-webkit-keyframes shake {
    from,
    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  
    10%,
    50%,
    90% {
      -webkit-transform: translate3d(-2px, 0, 0);
      transform: translate3d(-2px, 0, 0);
    }
  
    30%,
    70%
    {
      -webkit-transform: translate3d(2px, 0, 0);
      transform: translate3d(2px, 0, 0);
    }
  }
  
  @keyframes shake {
    from,
    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  
    10%,
    50%,
    90% {
      -webkit-transform: translate3d(-2px, 0, 0);
      transform: translate3d(-2px, 0, 0);
    }
  
    30%,
    70%
    {
      -webkit-transform: translate3d(2px, 0, 0);
      transform: translate3d(2px, 0, 0);
    }
  }
  
  .shake {
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: shake;
    animation-name: shake;
  }

  ._productfooterarea .rl-subscription a.rl-text-link{
      text-decoration: underline !important;
  }

  ._productfooterarea .rl-subscription a.rl-text-link:hover{
    text-decoration: none !important;
}

.rl-subscription .rl-promotion-message{
    font-weight: 400;
    margin-bottom: 10px;
    font-size: 14px;
}

/* popup */
.rl-popup-subscription-container{
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    position: fixed;
    z-index: 99999999;
    background: rgba(0,0,0,0.65);
    top: 0;
    left: 0;
}

.rl-popup-subscription-area-wrapper{
    width: 100%;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99999999;
    max-width: 640px;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    padding: calc(0.625vw + 18px);
    background-image: url(./image/bg.jpg);
    background-color: #0B0C10;
}

.rl-subscription-popup .close {
    position: absolute;
    display: block;
    width: 15px;
    height: 15px;
    overflow: hidden;
    right: 3px;
    top: 3px;
    z-index: 100;
    /* background-color: rgba(255,255,255,0.4); */
    cursor: pointer;
    margin-top: -15px;
    margin-right: -10px;
    opacity: 0.5;
}

.rl-subscription-popup .close:hover {
    opacity: 0.8;
}

.rl-subscription-popup .close::before,
.rl-subscription-popup .close::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #ffffff;
}

.rl-subscription-popup .close::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.rl-subscription-popup .close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.rl-subscription-popup .popup-title {
    font-size: calc(0.25vw + 31.2px); /* 1920~320 36~32px */
    font-family: 'Oswald';
    color: #ffffff;
    font-weight: bold;
    padding-top: 40px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
}

.rl-subscription-popup .popup-subtitle {
    margin-top: 10px;
    color: #ffffff;
    font-size: calc(0.375vw + 14.8px); /* 1920~320 22~16px */
    text-align: center;
}

.rl-subscription-popup .popup-subtitle > span {
    color: #ffb400
}

.rl-subscription-popup .popup-img {
    margin: 30px 0px;
    width: 100%;
}

.rl-subscription-popup .popup-description {
    margin-bottom: calc(0.625vw + 18px); /* 1920~320 30~20px */
    font-size: calc(0.25vw + 11.2px); /* 1920~320 16~12px */
    color: #e2e2e2;
    text-align: center;
    line-height: 1.4;
}

.rl-subscription-popup .popup-email {
    margin-bottom: 10px;
    padding: 10px; 
    width: 100%;
    min-height: 50px;
    border-radius: 5px;
    font-size: calc(0.125vw + 13.6px); /* 1920~320 16~14px */
}

.rl-subscription-popup input.popup-email::placeholder,
.rl-subscription-popup input.popup-email::-webkit-input-placeholder {
    color: #d6d6d6; 
}

.rl-subscription-popup input.popup-email::-ms-input-placeholder {
    color: #d6d6d6; 
}

.rl-subscription-popup input.popup-email::-moz-placeholder {
    color: #d6d6d6; 
}

.rl-subscription-popup .popup-submit {
    width: 100%;
    border: 0px;
    border-radius: 5px;
    background-color: #2d88d6;
    white-space: normal;
    min-height: 50px;
    color: #ffffff;
    line-height: 1.2;
    font-size: calc(0.125vw + 13.6px); /* 1920~320 16~14px */
}

.rl-subscription-popup .popup-submit:hover {
    background-color: #4199e6;
}

.rl-subscription-popup .popup-policy-checkbox-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.rl-subscription-popup .popup-policy-checkbox-wrapper {
    display: flex;
    justify-content: center;
    margin-top: calc(0.9375vw + 17px); /* 1920~320 35~20px */
    margin-bottom: calc(0.3125vw + -1px); /* 1920~320 5~0px */
}

.rl-subscription-popup .policy-checkbox a {
    text-decoration: underline;
}

.rl-subscription-popup .policy-checkbox .label-text:before {
    width: 14px;
    height: 14px;
    background: transparent;
    left: 9px;
}

.rl-subscription-popup .policy-checkbox input[type=checkbox]:checked+.label-text:after {
    left: 14px;
    top: 4px;
    width: 5px;
    border-color: #ffffff;
}

@media screen and (max-width: 480px) {
    .rl-subscription-popup .popup-description br {
        display: none;
    }
}