/*--------------- Registration Popup styles --------------*/
.forgot-password-popup,
.fb-popup {
    display: none;
}

.registration-header,
.forgot-password-header {
    height: 70px;
    background-color: #797979;
    color: #FFF;
    /*margin: -10px -18px 10px -15px;*/
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    text-align: center;
    line-height: 70px;
    font-size: 27px;
    text-transform: uppercase;
    font-weight: bold;
}

.registration-header.has-subtitle {
    line-height: 30px;
    padding-top: 10px;
}

.registration-header.video-watch {
    display: none;
}

.registration-header-subtitle {
    text-transform: initial;
    font-size: 12px;
    color: #AAA;
}

.registration {
    margin-top: 20px;
    width: 1000px;
    margin: 40px auto;
}

.registration .title {
    margin: 0 0 20px 0;
    font: 700 29px/31px 'Open Sans Condensed', Arial, Helvetica, sans-serif;
}

.registration .form .form-row {
    margin-bottom: 0;
    min-height: 80px;
}

.registration .form.grey .form-row .value {
    display: block;
}

.registration .form.grey .form-row .label {
    margin: 0;
}

.registration .form.grey .form-row .label .optional {
    font-weight: normal;
    font-size: 12px;
}

.registration .form.grey .form-row .value .control input,
.forgot-password-content .form.grey .form-row .value .control .actual-email {
    height: 30px;
    padding-left: 10px;
    min-width: inherit;
    width: 400px;
}

.registration .form .form-row.country-age {
    min-height: 60px;
    margin-top: 10px;
}

.registration .form .form-row.terms-and-conditions {
    min-height: 60px;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #AAA;
}

.registration .form .form-row.terms-and-conditions .label-checkbox {
    font-weight: bold;
}

.registration .form .form-row.terms-and-conditions .error-message {
    max-width: inherit;
}

.registration .form .form-row.actions,
.forgot-password-popup .form .form-row.actions {
    min-height: 50px;
    width: 250px;
    margin: 0 auto;
}

.registration .form .control-second {
    margin-left: 30px;
    display: inline-block;
    float: right;
}

.registration .form .control-second.label-second {
    margin-top: -23px;
}

.registration-form-content {
    margin: 0 40px;
}

.registration-form-content .global-errors {
    margin-bottom: 10px;
}

.form .form-row .error-message {
    text-align: right;
    margin-top: 5px;
    line-height: 16px;
    max-width: 210px;
}

.form .form-row .error-message.captcha-error {
    text-align: left;
    font-size: 14px;
}

.form .form-row .error-message .icon {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 10px;
    background-color: #F00;
    position: relative;
    top: 2px;
    left: -5px;
}

.form .form-row .error-message .icon:before {
    content: '\a0\D7\a0';
    color: #fff;
    font-weight: bold;
    position: relative;
    top: -2px;
}

.registration-form-content .select-area {
    width: 210px !important;
    margin: 0;
}

.drop-register-country-select .drop-list,
.drop-register-year-select .drop-list {
    height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

/*--------------- Recover password popup styles --------------*/
.forgot-password-content {
    width: 500px;
    text-align: center;
}

.forgot-password-content .forgot-password-info {
    font-size: 16px;
}

.forgot-password-content .form.grey .form-row .value .control .actual-email {
    width: 250px;
    height: 40px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.forgot-password-content .reset-password-button {
    width: 250px;
    box-sizing: border-box;
    margin: 0;
}

.forgot-password-content .global-errors {
    margin: -20px 0 20px 0;
}

.forgot-password-content .success-message {
    margin: 50px;
}

/*--------------- Styles for Social registration popup--------------*/
.social-registration {
    max-width: 300px;
}

.social-registration .social-registration-info {
    font: 400 16px Helvetica, Arial, sans-serif;
    margin-bottom: 20px;
    text-align: center;
}

.social-registration .registration-form-content {
    margin: 0;
}

.social-registration .form.grey .form-row .value .control input {
    width: 100%;
    box-sizing: border-box;
    height: 36px;
}

.social-registration .form .form-row.actions .button {
    margin-left: 25px;
}

.social-registration .form [class*='field-'] {
    display: none;
}

.social-registration .form .form-row .error-message {
    max-width: inherit;
}

.social-registration .form .form-row {
    min-height: 90px;
}

.social-registration .form .form-row label.label-checkbox {
    display: inline;
}

.social-registration .connect-with-existed {
    font-size: 14px;
    display: none;
    text-align: center;
    margin: 0 0 10px 0;
}

.social-registration #socialConnectForm {
    display: none;
}

.social-registration #socialConnectForm .social-registration-info {
    text-align: left;
    font-size: 14px;
}

.social-reg-block {
    margin: 0 40px;
}

.social-reg-block .social-reg-title {
    float: left;
    margin: 15px 0 0 0px;
    text-transform: uppercase;
    font: 600 20px Helvetica, Arial, sans-serif;
}

.social-reg-block .social-icon {
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.social-reg-block .social-icon:hover  {
    transition: all 0.3s ease;
    transform: rotate(20deg);
}

.social-reg-block .social-reg-separator {
    margin: 30px 0 20px 0;
    text-align: center;
    border-top: 1px solid #CCC;
}

.social-reg-block .social-reg-separator .social-reg-separator-title {
    margin: 0 auto;
    margin-top: -10px;
    text-align: center;
    text-transform: uppercase;
    width: 37%;
    background-color: #FFF;
    font: 600 20px Helvetica, Arial, sans-serif;
    position: relative;
    /*left: 32%;*/
}

.arrow-right {
    width: 0;
    height: 0;
    display: inline-block;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid;
}

/*--------------- Styles Google Captcha--------------*/
.recaptchatable #recaptcha_privacy a,
.recaptchatable #recaptcha_privacy a:hover {
    color: #545454;
    text-decoration: underline;
    font: 400 14px 'Open Sans', Arial, Helvetica, sans-serif;
}

.recaptchatable #recaptcha_privacy a:hover {
    text-decoration: none;
}

.recaptchatable .recaptcha_input_area input {
    height: 35px;
    padding-left: 10px;
    min-width: inherit;
    font-size: 14px !important;
    border: 3px solid #aaa !important;
    border-radius: 3px !important;
    box-sizing: border-box;
}

@media only screen and (max-width:1023px) {


    .forgot-password-content .form-row {
        width: 100%;
    }
    .forgot-password-content {
        width: 100%;
    }

    .forgot-password-content .value {
        width: 100%;
    }

    .forgot-password-content .form.grey .form-row .value
    .control .actual-email {
        width: 100%;
    }

    .registration .form .form-row.actions, .forgot-password-popup .form .form-row.actions {
        width: 100%;
    }

    #sendPasswordBtn {
        width: 100%;
    }

    .social-reg-block {
        margin: 0 20px;
    }

    .social-reg-block .social-reg-title {
        float: left;
        margin: 0px 0 0 0px;
        text-transform: uppercase;
        font: 600 20px Helvetica, Arial, sans-serif;
    }

    .recaptchatable {
        width: 85%;
    }
    
    .registration {
        width: 100%;
    }


    .registration .form .form-row {
        width: 90%;
        margin: 0 auto;
        min-height: 80px;
    }


    .registration-form-content {
        margin: 0;
    }

    .registration .form.grey .form-row .value {
        position: relative;
        min-height: 140px;
    }

    .social-registration .form .form-row {
        min-height: 60px;
    }

    .social-registration .form.grey .form-row .value {
        min-height: inherit;
    }

    .registration .form .control-second {
        margin: 0;
        width: 100%;
        position: absolute;
        top: 65px;
        left: 0;
    }

    .registration .form .control-second.label-second {
        margin: 0;
    }

    .registration .form.grey .form-row .value .control input {
        width: 100%;
        height: 35px;
        box-sizing: border-box;
    }

    .registration .form.grey .form-row .value .control .select-area {
        width: 100% !important;
    }

    .registration .form .form-row .error-message {
        max-width: inherit;
    }

    .registration .form .form-row.terms-and-conditions {
        min-height: 80px;
    }

    .registration .form .form-row.terms-and-conditions .label-checkbox {
        display: inline;
    }

    .registration .form .form-row.actions #registerBtn {
        margin: 0 auto;
        display: block;
        width: 150px;
        float: none;
        height: 30px;
        line-height: 30px;
    }

    .social-reg-block .social-reg-separator .social-reg-separator-title {
        width: 65%;
        font-size: 18px;
        font-weight: 600;
    }

    .social-reg-block .social-reg-title {
        font-size: 18px;
    }


    .forgot-password-content {
        width: 350px;
    }

    .social-registration .form .form-row.actions .button {
        margin: 10px 0 20px 60px;
    }
}

@media only screen and (max-width:480px) {
    .registration-header, .forgot-password-header {
        font-size: 20px;
        height: 50px;
        line-height: 50px;
    }

    .forgot-password-content {
        width: 100%;
    }

    .recaptchatable {
        position: relative;
        height: 200px;
    }

    .recaptchatable .recaptcha_image_cell + td {
        position: absolute;
        top: 65px;
        left: 5px;
    }

    .recaptchatable .recaptcha_image_cell + td + td {
        position: absolute;
        top: 65px;
        left: 50px;
    }

    .recaptchatable #recaptcha_image {
        margin: 0 !important;
        width: 100% !important;
    }

    .recaptchatable #recaptcha_image img {
        width: 100% !important;
    }

    .recaptchatable .recaptcha_input_area {
        position: absolute;
        top: 15px;
        left: 0;
    }

    .recaptchatable .recaptcha_input_area input {
        width: 98% !important;
    }

    .recaptchatable #recaptcha_privacy {
        position: absolute;
        left: 10px;
        top: 170px;
    }

}