.ui-dialog[aria-describedby="auth"],
.ui-dialog[aria-describedby="forget"] { border: 0 !important;}
#auth, #forget { border-radius: 10px; }
#auth .modal-header,
#forget .modal-header { background: #E0E0E0; padding: 0; position: relative; z-index: 400; }
#auth .modal-header h3 { overflow: visible; height: 0; position: relative;}
#forget .modal-header h3 { overflow: visible; height: 0; position: relative;}
#authLabel a {
    border-radius: 4px 4px 0 0; width: 45%;
    text-align: center; color: #858585; font-size: 17px; font-weight: bold; line-height: 50px; text-transform: uppercase; text-decoration: none;
    display: inline-block;
}
#auth .modal-header .close,
#forget .modal-header .close { top: 5px; right: 5px; font-size: 18px; width: 18px; height: 18px; line-height: 18px;}
#authLabel a:hover { background: #EBEBEB; }
#authLabel a.active { background: #F6F7F7; color: #2db34b; }
#auth .modal-body { padding: 23px; max-height: initial; }
#auth input { width: 100%; margin: 0 0 10px; height: 45px; padding: 0 15px; }
#auth .reg [name="password"] { padding-right: 45px;}
#auth .reg .form_group {position: relative; margin-bottom: 10px;}
#auth .reg .form_group .toggle_view {position: absolute; top: 0; right: 0; width: 45px; height: 45px; text-align: center; line-height: 43px;
    cursor: pointer; color: #9e9e9e; font-size: 20px;}
#auth .reg .form_group .toggle_view .icon-eye { display: inline-block;}
#auth .reg .form_group .toggle_view .icon-eye_cross { display: none;}
#auth .reg .form_group .pass_gen { color: #1c4163; font-size: 13px; margin-bottom: 10px;}
#auth .forget {display: block; text-decoration: none; color: #4f6070; font-size: 13px; float: right; margin-bottom: 15px;}
#auth .btn,
#forget .btn { line-height: 43px; padding: 0; font-size: 14px; background: #fff; border: 1px solid #2db34b; border-radius: 5px; color: #2db34b;
    display: block; width: 100%; margin: 0 auto 15px; font-weight: 400; clear: both;}
#auth .btn[rel="reg"]{ margin-bottom: 0; margin-top: 15px;}
#auth .btn.go_reg{ margin-top: 15px;}
#forget .btn { margin-bottom: 0;}
#auth .line { position: relative; text-align: center; margin-bottom: 15px;}
#auth .line .or { position: absolute; line-height: 7px; padding: 0 20px; background: #fff; color: #abb5be; left: 50%;
    margin-left: -32px; top: -3px; font-size: 12px;}
#auth .line hr { margin: 0 0 6px;}
#auth .line .txt { line-height: 16px; font-size: 12px; color: #abb5be;}
#auth .header { margin: 0 0 15px 0; font-weight: 500; text-align: center; font-size: 14px; text-transform: uppercase; color: #525252; }
#auth .button_social { width: 105px; height: 28px; font-size: 13px; font-weight: 500; background: transparent; padding: 0; color: #8d8d8d;
    opacity: 1;}
#auth .button_social.button_fb:hover { color: #4054b2; opacity: 1;}
#auth .button_social.button_vk:hover { color: #4e76a1; opacity: 1;}
#auth .button_social span { font-size: 13px; color: #a7a7a7; display: inline-block; width: 25px; height: 25px; border: 1px solid #a7a7a7;
    text-align: center; line-height: 25px; vertical-align: middle; border-radius: 3px; margin: 0 8px 0 0;}
#auth .go_reg { }
#auth label.checkbox { line-height: 17px; font-size: 13px; color: #4f6070; font-family: Roboto, sans-serif; margin-bottom: 15px;}
#auth label.checkbox a {color: #4f6070;}
#auth .checkbox .icons { width: 20px; height: 20px; line-height: 20px; top: 8px;}
#auth .checkbox.checked:not(.disabled) .icons { background: #fff;}
#auth .terms { text-align: center; color: #4f6070; display: block; font-size: 13px; font-family: Roboto, sans-serif;
    margin-bottom: 15px; text-decoration: underline;}
/**/
#auth .to_login { background: #f9f9f9; text-align: center; line-height: 50px; font-size: 12px; color: #384858; border-top: 1px solid #e8e9e9;
    margin: 0 -20px -20px;}
#auth .to_login a {color: #3d9731; vertical-align: baseline;}
/**/
#auth .who_choose { margin-bottom: 15px;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
#auth .who_choose a{ display: block; line-height: 40px; padding: 0 8px; font-size: 14px; text-decoration: none; border: 1px solid #29b34a;
color: #29b34a; border-radius: 5px;}
#auth .who_choose a:hover,
#auth .who_choose a.selected{ background: #29b34a; color: #fff;}
#auth .who_choose a i{ font-size: 22px; color: #6d6c6c; margin-right: 5px;}
#auth .who_choose a:hover i,
#auth .who_choose a.selected i{color: #fff;}
/**/
#forget { }
#forget .modal-body { padding: 23px; }
#forget .modal-body .ttl {text-align: center; font-size: 14px; color: #525252; text-transform: uppercase; margin-bottom: 15px;}
#forget input { width: 100%; margin-bottom: 10px; height: 45px; padding: 0 10px; }
.auth_content { border-radius: 3px; border: 1px solid #DBDBDB; background: #F2F2F2; padding: 30px 20px; position: relative; }
.auth_content .header { margin: 0 0 15px 0; color: #525252; font-size: 14px; text-transform: uppercase; }
.auth_content .lp { float: left; }
.auth_content .rp { float: right; }
.auth_content .rp a { display: block;}
.auth_content .or { width: 24px; position: absolute; top: 70px; bottom: 30px; left: 53.5%; }
.auth_content .or .line { width: 1px; background: #E2E2E2; position: absolute; top: 0; bottom: 0; left: 50%; }
.auth_content .or .text { background: #F2F2F2; padding: 5px 0; margin-top: -32px; font-size: 14px; font-weight: 700; position: absolute; top: 50%; }
.auth_content input { width: 100%; margin: 0 0 10px 0; }
.auth_content .buttons { text-align: right;}
.auth_content a.forget { margin: 0 0 0 3px; color: #575758; font-size: 12px; text-decoration: underline; }
.auth_content a.forget:hover { text-decoration: none; }
.auth_content [class*=btn] { width: 130px; height: 40px; padding: 5px; margin: 0 0 0 35px; font-weight: normal; line-height: 30px; }
.auth_content .button_social { margin: 0 0 10px 0; }
