/* fix */

.radio-block label {
    cursor: pointer;
}

.login-popup .popup {
    display: block;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

body .jq-checkbox {
    background: url('../images/checkbox.png') no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

input.input_ok, .new_auth_login_field input.input_ok, .fItem.new_auth_login_field div input.input_ok,
.contactform#F_OC input.input_ok, .contactform#flogin input.input_ok, .contactform#F_CALLBACK input.input_ok,
.contactform#F_CONTACT input.input_ok, #fprofile .fItem div input.txt.input_ok, input.input_ok.coupon-input,
.discount-cont input.input_ok, .fpop input.text.input_ok, .fItem div input.txt.input_ok, #fforgot input.txt.input_ok,
#fsubs input.input_ok, .contactform_fact input.input_ok, .fItemSel .jq-selectbox.input_ok, #farrival input.input_ok {
    background: #F0F0F0 url("../images/input_ok.png") no-repeat 95% center
}

/* new styles start here */

p.popup__text {
    font-size: 13px;
    color: rgba(0,0,0,.5);
}

.radio-block_wide {
    display: flex;
    justify-content: space-between;
}

#loginform {
    width: 361px;
	max-width: 100%;
}

#loginform .radio-block_wide input, .register.form-e .jq-radio input {
    width: 100%;
}

#loginform a:link {
    color: #173B86;
    text-decoration: none;
}

#loginform .password-field input {
    margin-bottom: 7px !important;
    width: 100% !important;
    box-sizing: border-box;
    height: 47px;
}

#loginform input[type="text"] {
    margin-bottom: 20px;
    width: 100% !important;
    height: 47px;
    box-sizing: border-box;
    padding-right: 40px;
    max-height: 100%;
}

.login-soc {
    margin: 35px 0 40px;
    text-align: center;
}

.login-soc p {
    margin-bottom: 9px;
}

.login-soc__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.login-soc__links a {
    display: inline-block;
    margin: 0 8px;
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,.03);
}

.password-field {
    position: relative;
}

.error-mes {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    color: #CD1010;
    font-size: 12px;
    margin-top: 2px;
}

.password-field_error input {
    border: 1px solid #cf2937 !important;
    background: #F0F0F0 url("../images/input_alert.png") no-repeat 95% center;
    padding-right: 80px !important;
}

#loginform button.password-field__showhide {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 0;
    border: none;
    background: url('../img/e-close.png') no-repeat center;
}
#loginform .input_alert + button.password-field__showhide {
    right: 44px;
}
#loginform .password-field input[type="text"] + button.password-field__showhide {
    top: 12px;
    background: url('../img/e-open.png') no-repeat center;
}

#loginform .password-field_error button.password-field__showhide, .input_ok+button.password-field__showhide {
    right: 44px !important;
}

#loginform .password-field_error button.password-field__showhide, .input_alert+button.password-field__showhide {
    right: 44px !important;
}

#loginform .contactform button[type="submit"] {
    margin-top: 28px;
}

#loginform * {
    font-family: helveticaneue;
}

/* new */

[data-tabcontent] {
    display: none;
}
.ph-input {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 47px;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.contactform .ph-input input,
.ph-input input {
    background: #F0F0F0;
    height: 100%;
    flex: 1 1 auto;
    border: none;
    border-left: 1px solid white;
    box-sizing: border-box;
    font-size: 16px;
    color: rgba(85, 85, 85, 1);
    padding: 0;
    padding-left: 20px;
    margin: 0;
    width: auto !important;
}

.ph-input input:hover,
.ph-input input:focus {
    border-left: 1px solid white !important;
}

.ph-input__country {
    background: #F0F0F0;
    cursor: pointer;
}

.ph-input__country::before {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    content: '';
    background: url('../img/arrow.svg') no-repeat;
    width: 8px;
    height: 6px;
    pointer-events: none;
}

.ph-input__country-list {
    position: absolute;
    z-index: 99;
    left: 0;
    width: 100%;
    background: white;
    margin: 0;
    padding: 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    transition: none;
    transform: scaleY(0);
    transform-origin: top;
    /* opacity: 0; */
    visibility: hidden;
    pointer-events: none;
    top: 100%;
}

.ph-input_showlist .ph-input__country-list {
    opacity: 1;
    visibility: visible;
    pointer-events: initial;
    transform: none;
    transition: all .3s, transform .2s;
}

.ph-input__country .country {
    display: flex;
    align-items: center;
    height: 47px;
    margin: 0;
    border-bottom: 1px solid #F0F0F0;
    transition: all .1s;
    max-height: 100%;
}

.ph-input__country .country:hover {
    background: #F0F0F0;
}

.ph-input__country .country__flag {
    width: 103px;
    height: 100%;
    padding: 0 10px 0 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.ph-input__country .country__flag img {
    margin-right: 6px;
    image-rendering: pixelated;
}

.ph-input__country .country_current {
    border: none;
}

.ph-input__country .country_current .country__title {
    display: none;
}

.ph-input_error {
    border: 1px solid #cf2937;
}

.ph-input_error .error-mes, .input_alert+.error-mes {
    display: block;
}
fieldset>div, [data-tabcontent]>div {
    position: relative;
}
fieldset>div:not(.ph-input)>.error-mes, [data-tabcontent]>div:not(.ph-input)>.error-mes {
    top: calc(100% - 20px);
}
.form-error {
    display: none;
    position: absolute;
    font-size: 12px;
    margin-top: 8px;
    color: #cf2937;
    width: 301px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
}

.form-error.active {
    display: block;
    white-space: nowrap;
}

.ph-input_ok {
    border: 1px solid #71b919;
}

.ph-input_ok input {
    background: #F0F0F0 url("../images/input_ok.png") no-repeat 95% center !important;
}

.ph-input_error input {
    background: #F0F0F0 url("../images/input_alert.png") no-repeat 95% center !important;
}

body .jq-radio.checked .jq-radio__div {
    position: absolute;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 6px;
    height: 6px;
}

#loginform .radio-block_wide > div {
    width: 33%;
}

body .jq-radio {
    width: 14px;
    height: 14px;
}

#loginform .radio-block_wide input, .register.form-e .jq-radio input {
    margin: 0;
}

#loginform input[type="text"].slim-input {
    width: calc(100% - 120px) !important;
}

.mes_err_phone{
    bottom: -8px !important;
    font-size : 12px !important;
}

.ph-input_error_phone{
    margin-bottom: 28px !important;
}
