/* Common */
.recaptcha{
    color: #000;
    width: 100%;
    height: 74px;
    display: flex;
    margin: 10px 0;
    padding: 0 15px;
    max-width: 300px;
    min-width: 220px;
    border-radius: 3px;
    position: relative;
    background: #f9f9f9;
    align-items: center;
    box-sizing: border-box;
    transition: .3s linear;
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, .2);
}
.rc-check{
    width: 28px;
    height: 28px;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    box-sizing: border-box;
    transition: .3s linear;
    border: 2px solid #c1c1c1;
}
.rc-check:before,
.rc-check:after{
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    position: absolute;
}
.rc-check:before{
    background: url(check.svg) no-repeat center;
    background-size: 16px;
}
.rc-check:after{
    right: 0;
    border-radius: 4px;
    background: #f9f9f9;
    transition: .3s linear;
}
.rc-check:hover {
    border: 2px solid #9f9c9c;
    cursor: pointer;
}
.rc-text{
    top: 2px;
    max-width: 110px;
    line-height: 1.5;
    position: relative;
    transition: .3s linear;
}
.rc-logo{
    background: url(logo.png) no-repeat center;
    background-size: contain;
    position: absolute;
    height: 32px;
    width: 32px;
    right: 20px;
    top: 14px;
}
.rc-logo:after{
    content: 'reCAPTCHA';
    top: 100%;
    left: -13px;
    color: #9b9b9b;
    font-size: 10px;
    margin-top: 5px;
    position: absolute;
    font-family: helvetica;
}

/* Active */
.recaptcha.actv{
    box-shadow: 0px 0px 2px 1px #009e55;
}
.recaptcha.actv .rc-check{
    border-color: rgba(0,158,85,0.6);
}
.recaptcha.actv .rc-check:after{
    width: 0;
}
.recaptcha.actv .rc-text{
    color: #378e66;
}

/* Error */
.recaptcha.error{
    box-shadow: 0px 0px 2px 1px #ff0000;
}
.recaptcha.error .rc-check{
    border: 2px solid rgba(255, 0, 0, .5);
}
.recaptcha.error .rc-text{
    color: #f64d4d;
}
