.rtl {
    direction: rtl;
}
.form-bg{ background: #f1f1f1;/*height: 100vh;*/
  display:flex;
  align-items:center; }
.form-horizontal{
    background: #fff;
    padding: 40px 0;
    border-radius: 12px 12px 0 0;
    border-top: 3px solid #f7941d;
    margin-bottom: 100px;
    /*height: 380px;*/
}
.form-horizontal .heading{
    font-size: 24px;
    font-weight: bold;
    color: #4f4f4f;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 25px;
}
.form-horizontal .form-group{
    margin: 0 50px 30px 50px;
    position: relative;
}
/*.form-horizontal .form-group:nth-last-child(2){ margin-bottom: 40px; }
.form-horizontal .form-group:last-child{ margin: 0; }*/
.form-horizontal .form-control{
    height: 45px;
    background: #f1f1f1;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 20px;
    font-size: 13px;
    font-weight: bold;
    color: #5c636c;
    position: relative;
    transition: all 0.3s ease 0s;
    border-radius: 5px;
    border-right: 1px solid #f7941d;
    text-align: right
}
.form-horizontal .form-control[type=password]{ padding: 0 20px 0 45px; }
/*.form-horizontal .form-control:focus{
    box-shadow: none;
    outline: 0 none;
}
.form-horizontal .form-control+span:before{
    content: "";
    width: 2px;
    height: 0;
    background: #f7941d;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.4s ease 0s;
}
.form-horizontal .form-control:focus+span:before{ height: 100%; }*/
.form-horizontal .show-hide{
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}
.form-horizontal .show-hide span{
    width: 12px;
    height: 12px;
    line-height: 12px;
    background: #f7941d;
    border-radius: 50%;
    float: right;
    cursor: pointer;
}
.form-horizontal .show-hide span:before{
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.form-horizontal .show-hide span.show:after{
    content: "";
    width: 2px;
    height: 35px;
    background: #777d85;
    position: absolute;
    top: -11px;
    left: 5px;
    opacity: 1;
    transform: rotate(30deg);
}
.form-horizontal .show-hide span:after{ opacity: 0; }
.form-horizontal .main-checkbox{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #f7941d;
    background: #f7941d;
    float: right;
    margin: 5px 0 0 0;
    position: relative;
}
.form-horizontal .main-checkbox label{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}
.form-horizontal .main-checkbox label:after{
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    margin: auto;
    position: absolute;
    top: -2px;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 1;
}
.form-horizontal .main-checkbox input[type=checkbox]{ visibility: hidden; }
.form-horizontal .main-checkbox input[type=checkbox]:checked + label:after{ opacity: 0; }
.form-horizontal .text{
    float: right;
    font-size: 13px;
    font-weight: bold;
    color: #5c636c;
    margin-right: 7px;
    line-height: 20px;
    padding-top: 5px;
    text-transform: uppercase;
}
.form-horizontal .btn{
    width: 100%;
    background: #f7941d;
    padding: 6px 20px;
   /* float: left;*/
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    border-radius: 5px;
    margin-top: 10px;
}
.form-horizontal .btn:focus{
    background: #f7941d;
    color: #fff;
    outline: none;
    box-shadow: none;
}
.form-horizontal .btn.facebook,
.form-horizontal .btn.facebook:focus{ background: #29416f; }
.form-horizontal .forgot-pass{
    width: auto;
    /*float: left;*/
    background: transparent;
    font-size: 13px;
    font-weight: bold;
    color: #5c636c;
    line-height: 20px;
    text-transform: uppercase;
    text-decoration: underline;
    padding: 5px 0 0 0;
    margin-top: 0;
    box-shadow: none;
    transition: all 0.3s ease 0s;
}
.form-horizontal .forgot-pass:hover,
.form-horizontal .forgot-pass:focus{
    background: transparent;
    text-decoration: none;
}
.captcha {
    padding-right: 20px
}
.captcha img {
    border-radius: 5px;
}
#reload {
    background-color: #58595b;
    border: 1px solid #58595b;
    height: 45px;
    width: 30px;
    border-radius: 5px;
    font-size: 20px;
    color: #fff;
}
.help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: -20px;
  color: #737373;
}
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
  color: #a94442;
}
@media only screen and (max-width: 479px){
    .form-horizontal .form-group{ margin: 0 20px 30px; }
    .form-horizontal .form-group:nth-last-child(2){
        text-align: center;
        margin-bottom: 30px;
    }
    .form-horizontal .main-checkbox,
    .form-horizontal .text{
        float: none;
        display: inline;
    }
    .form-horizontal .btn{ width: 100%; }
    .form-horizontal .forgot-pass{
        width: 100%;
        float: none;
        padding: 0;
        margin-top: 7px;
    }
}
