.employment {
  padding: 30px 0;
  font-family: inherit;
  direction: rtl;
  text-align: right;
}

.main-title {
  border: none !important;
}

.employment .container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.employment .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.employment .col-12,
.employment .col-lg-4,
.employment .col-lg-6,
.employment .col-lg-12,
.employment .col-md-6,
.employment .col-md-3 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

.employment .offset-lg-4 {
  margin-right: 0;
}

@media (min-width: 768px) {
  .employment .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .employment .offset-md-3 {
    margin-right: 25%; 
  }
}

@media (min-width: 992px) {
  .employment .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .employment .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .employment .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .employment .offset-lg-4 {
    margin-right: 33.333333%; 
  }
}

.employment .contact-form {
  margin: 30px 0 0 0;
}

.employment .form-group {
  margin-bottom: 15px;
  text-align: right;
  padding-bottom: 5px;
}

.employment .form-control {
  display: block;
  width: 100%;
  height: 50px;
  padding: 10px;
  font-size: 13px; 
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0; 
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}

.employment .form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
}

.employment select.form-control {
  margin-inline-end: 10px;
  width: calc(100% - 10px);
}

.employment .main-title {
  text-align: center;
  margin-bottom: 20px;
}

.employment .main-title h1 {
  font-size: 25.6px;
  color: #000;
  border-bottom: 7px solid #e9e9e9;
  padding-bottom: 10px;
  display: inline-block;
  font-weight: 500;
}

.employment .form-radio-row {
  padding: 5px 0;
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}

.employment .mar-status-label {
  line-height: 25px;
  font-size: 14px;
  min-width: 150px;
  text-align: right;
  padding: 0 10px;
  font-weight: bold;
  color: #000;
}

.employment .mar-status-label span {
  color: #f00;
}

.employment .mar-status {
  line-height: 25px;
  font-size: 13px;
  margin: 0 10px 0 10px;
  display: flex;
  align-items: center;
}

.employment .custom-control-input {
  margin-left: 5px; 
}

.employment .custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin-bottom: 0;
}

.employment .custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin: 0;
  opacity: 0;
  cursor: pointer;
  border-radius: 0;
}

.employment .custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(2.25rem + 2px);
  padding: 0.55rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0;
  text-align: right; 
  overflow: hidden;
  white-space: nowrap;
}

.employment .custom-file-label::after {
  position: absolute;
  top: 0;
  left: 0; 
  right: auto;
  bottom: 0;
  z-index: 3;
  display: block;
  height: 100%;
  padding: 0.55rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  content: attr(data-browse);
  background-color: #e9ecef;
  border-right: 1px solid #ced4da;
  border-left: none;
  border-radius: 0;
}

.employment .selected-filename {
  margin-top: 5px;
  font-size: 13px;
  color: #333;
  text-align: left;
  direction: ltr;
}

.employment .submit-form {
  background: #ff4787 !important;
  color: #fff !important;
  padding: 8px 40px;
  border: 0 !important;
  outline: 0;
  margin: 20px 0;
  border-radius: 15px !important; 
  font-size: 16px !important;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.employment .submit-form:hover {
  background: #ed608a !important;
  color: #fff !important;
}

.employment .realperson-challenge {
  text-align: center;
  margin-bottom: 10px;
  direction: ltr;
}

.employment .realperson-text {
  font-family: "Courier New", monospace;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 5px;
}

.employment .realperson-regen {
  font-size: 14px;
  cursor: pointer;
  color: #000;
  margin-top: 5px;
}

.employment input.is-realperson {
  text-align: center;
  letter-spacing: 2px;
}

.employment .requiredFieldValidateStyle,
.employment .error-text {
  color: red;
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

.employment .alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.employment .alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.employment .alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.employment.ltr {
  direction: ltr;
  text-align: left;
}

.employment.ltr .form-group,
.employment.ltr .mar-status-label,
.employment.ltr .custom-file-label {
  text-align: left;
}

@media (min-width: 768px) {
  .employment.ltr .offset-md-3 {
    margin-right: 0;
    margin-left: 25%;
  }
}

@media (min-width: 992px) {
  .employment.ltr .offset-lg-4 {
    margin-right: 0;
    margin-left: 33.333333%;
  }
}

.employment.ltr .custom-control-input {
  margin-left: 0;
  margin-right: 5px;
}

.employment.ltr .custom-file-label::after {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid #ced4da;
}

.employment.ltr .selected-filename {
  text-align: left;
}
