/**
 * Reg page style
 *
 * @bottom bg
 * @form
 * @info
 * @valid
 */

/*@bottom bg*/

#bottomBg{
    display: none;
}

/*@form*/

.formBlock{
    position: relative;
    width: 520px;
    min-height: 30px;
    line-height: 30px;
    margin: 0 auto 5px;
}
.leftPart{
    float: left;
    height: 30px;
    width: 140px;
    margin-right: 20px;
    line-height: 28px;
    text-align: right;
}
.rightPart{
    float: right;
    height: 30px;
    width: 285px;
    margin-right: 70px;
    line-height: 28px;
    text-align: left;
}
.patch{
    text-align: left;
}
.patch img, .patch input{
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
input[type="checkbox"]{
    float: left;
    margin: 7px 0 0 125px;
}
label[for="id_captcha"]{
    width: 100%;
    text-align: left;
}
#id_captcha_1{
    background: url(/static/img/img_input.png) no-repeat 0 0;
}
.butWrap{
    text-align: center;
}
.butWrap .grey_btn{
    display: inline-block;
    background: url(/static/img/buttons.png) no-repeat 0 -111px;
}
.butWrap .grey_btn:hover{
    background: url(/static/img/buttons.png) no-repeat -76px -111px;
}

/*@info*/

[for="id_chk_agree_terms"] + .infoIcon,
[for="id_chk_send_news"] + .infoIcon,
[for="id_chk_send_insights"] + .infoIcon,
.patch + .infoIcon{
    display: none;
}

.infoIcon{
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 22px;
    height: 22px;
    margin: 4px 0 0 10px;
    background: url(/static/img/info.png) no-repeat 0 0;
    z-index: 20;
}
.infoIcon:hover .hintBoxWrap{
    display: block;
}
.hintBoxWrap{
    display: none;
    position: absolute;
    top: -6px;
    left: 36px;
    width: 245px;
}
.hintBox{
    position: relative;
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #f00;
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
}
.hintArrow{
    position: absolute;
    top: 14px;
    left: -10px;
    width: 10px;
    height: 6px;
    background: url(/static/img/hint_arrow.png) no-repeat 0 0;
}

/*@valid*/

.validBox{
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 22px;
    height: 22px;
    margin: 4px 0 0 10px;
    z-index: 10;
}
.valid .validBox{
    background: url(/static/img/check.png) no-repeat right center;
}
.invalid .validBox{
    background: url(/static/img/cencel.png) no-repeat right center;
}

[data-valid="weak"].valid .validBox{
    width: 60px;
    background: url(/static/img/pass.png) no-repeat 0 0;
}
[data-valid="medium"].valid .validBox{
    width: 60px;
    background: url(/static/img/pass.png) no-repeat 0 -22px;
}
[data-valid="strong"].valid .validBox{
    width: 60px;
    background: url(/static/img/pass.png) no-repeat 0 -44px;
}