/*basic reset*/
* {
  margin: 0;
  padding: 0;
}

html {
  /*Image only BG fallback*/
  background: #e9e9e9;
}

body {
  direction: rtl;
}

.steps .form-group .radio_box {
  position: relative;
  display: inline-flex;
  color: #333;
}

.steps .form-group .radio_box input {
  width: 24px;
  height: 24px;
  line-height: 24px;
  opacity: 0;
  margin-left: 8px;
  position: relative;
  z-index: 2;
}

.steps .form-group .radio_box span {
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 50%;
  border: 1px solid #ddd;
  position: absolute;
  display: inline-block !important;

}

.steps .form-group .radio_box span:before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  background-color: #09B1E8;
  opacity: 0;
}

.steps .form-group .radio_box input:checked~span {
  border-color: #09B1E8;
}

.terms_wrapper {
  display: flex
}

.terms_wrapper label {
  margin: 0
}

.steps .form-group .radio_box input:checked~span:before {
  opacity: 1;
}

.steps .form-group .radio_box.check span {
  border-radius: .25rem;
}

.steps .form-group .radio_box.check span:before {
  content: none;
}

.steps .form-group .radio_box.check span:after {
  content: '\f00c';
  font-family: 'font awesome 5 free';
  font-weight: 900;
  position: absolute;
  color: #09B1E8;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  opacity: 0;
}

.steps .form-group .radio_box.check input:checked~span:after {
  opacity: 1;
}

/*form styles*/
.steps {
  position: relative;
}

.steps .d-none {
  display: none;
}

.steps .form-group {
  margin-bottom: 24px;
}

.steps .form-control,
.steps .dropdown-toggle {
  height: 48px;
}

.steps .ml-4 {
  margin-left: 24px;
}

.ml-2 {
  margin-left: 8px;
}

.steps .mb-0 {
  margin-bottom: 0;
}

.steps label {
  display: block;
  margin-bottom: 10px;
  color: #777;
}

.steps .dropdown-item {
  display: block;
  width: 100%;
  padding: 4px 24px;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.steps .dropdown-toggle {
  width: 100%;
  text-align: right;
  border: 1px solid #ccc;
}

.steps h2 {
  margin-bottom: 2rem;
}

.steps .dropdown-menu {
  text-align: right;
  right: 0;
  width: 100%;
  flex-flow: wrap;
}

.open>.dropdown-menu {
  display: flex;
}

.steps .dropdown-item {
  flex: 0 0 50%;
}

.steps .custom_file_input {
  position: relative;
  z-index: 2;
}

.steps .custom_file_input input {
  width: 55px;
  position: absolute;
  height: 38px;
  opacity: 0;
  z-index: 2;
}

.steps .dropdown-toggle::after {
  float: left;
  margin-top: .75rem;
}

.steps select.form-control {
  background-color: #f3f3f3;
}

.steps fieldset {
  background: white;
  border: 0 none;
  border-radius: 3px;
  padding: 20px 30px;
  border-top: 9px solid #09B1E8;
  box-sizing: border-box;
  /*stacking fieldsets above each other*/
  width: 100%;
  position: relative;
}

/*Hide all except first fieldset*/
.steps fieldset:not(:first-of-type) {
  display: none;
}

/*inputs*/


.steps input:focus,
.steps textarea:focus {
  color: #333333;
  border: 1px solid #09B1E8;
}

.error1 {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
  position: absolute;
  left: 0;
  margin-top: -62px;
  padding: 0 10px;
  height: 39px;
  display: block;
  color: #c78028;
  background: #ffe6c7;
  border: 0;
  font-size: .875rem;
  line-height: 39px;
  white-space: nowrap;

}

.error1:before {
  width: 0;
  height: 0;
  right: -8px;
  top: 14px;
  content: '';
  position: absolute;
  border-top: 6px solid transparent;
  border-left: 8px solid #ffe6c7;
  border-bottom: 6px solid transparent;
}

.error-log {
  margin: 5px 0 5px 8px;
  font-size: 19px;
  position: relative;
  bottom: -2px;
}

.question-log {
  margin: 5px 1px 5px 0;
  font-size: 15px;
  position: relative;
  bottom: -2px;
}

/*buttons*/
.steps .action-button,
.action-button {
  width: 100px !important;
  background: #09B1E8;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px auto;
  -webkit-transition: all 0.3s linear 0s;
  -moz-transition: all 0.3s linear 0s;
  -ms-transition: all 0.3s linear 0s;
  -o-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
  display: block;
}

.steps .next,
.steps .submit {
  float: left;
}

.steps .previous {
  float: right;
}

.steps .action-button:hover,
.steps .action-button:focus,
.action-button:hover,
.action-button:focus {
  background: #277976;
}

.steps .explanation {
  display: block;
  clear: both;
  width: 540px;
  background: #f2f2f2;
  position: relative;
  margin-left: -30px;
  padding: 22px 0px;
  margin-bottom: -10px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  top: 10px;
  text-align: center;
  color: #333333;
  font-size: 12px;
  font-weight: 200;
  cursor: pointer;
}


/*headings*/
.fs-title {
  text-transform: uppercase;
  margin: 0 0 5px;
  line-height: 1;
  color: #09B1E8;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.fs-subtitle {
  font-weight: normal;
  font-size: 13px;
  color: #837E7E;
  margin-bottom: 20px;
  text-align: center;
}

/*progressbar*/
#progressbar {
  margin: 1.5rem 0;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
  width: 100%;

}

#progressbar li {
  list-style-type: none;
  color: rgb(51, 51, 51);
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  display: block;
  font-weight: 500;
  font-size: 1.25rem;
  color: #999;
}

#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  display: inline-block;
  color: #333;
  background: #ddd;
  border-radius: 3px;
  margin-left: .5rem;
}

/*progressbar connectors*/
#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  right: -50%;
  top: 9px;
  z-index: -1;
  /*put it behind the numbers*/
}

#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,
#progressbar li.active:after {
  background: #09B1E8;
  color: white;
}

#progressbar li.active {
  color: #09B1E8;
}

/* my modal */

.modal p {
  font-size: 15px;
  font-weight: 100;
  font-family: sans-serif;
  color: #3C3B3B;
  line-height: 21px;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 50%;
  max-width: 630px;
  min-width: 320px;
  height: auto;
  z-index: 2000;
  visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.modal.modal-show {
  visibility: visible;
}

.lt-ie9 .modal {
  top: 0;
  margin-left: -315px;
}

.modal-content {
  background: #ffffff;
  position: relative;
  margin: 0 auto;
  padding: 40px;
  border-radius: 3px;
}

.modal-overlay {
  background: #000000;
  position: fixed;
  visibility: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -moz-transition-property: visibility, opacity;
  -o-transition-property: visibility, opacity;
  -webkit-transition-property: visibility, opacity;
  transition-property: visibility, opacity;
  -moz-transition-delay: 0.5s, 0.1s;
  -o-transition-delay: 0.5s, 0.1s;
  -webkit-transition-delay: 0.5s, 0.1s;
  transition-delay: 0.5s, 0.1s;
  -moz-transition-duration: 0, 0.5s;
  -o-transition-duration: 0, 0.5s;
  -webkit-transition-duration: 0, 0.5s;
  transition-duration: 0, 0.5s;
}

.modal-show .modal-overlay {
  visibility: visible;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
  opacity: 0.6;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

/*slide*/
.modal[data-modal-effect|=slide] .modal-content {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -moz-transition: all 0.5s 0;
  -o-transition: all 0.5s 0;
  -webkit-transition: all 0.5s 0;
  transition: all 0.5s 0;
}

.modal[data-modal-effect|=slide].modal-show .modal-content {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  -moz-transition: all 0.5s 0.1s;
  -o-transition: all 0.5s 0.1s;
  -webkit-transition: all 0.5s;
  -webkit-transition-delay: 0.1s;
  transition: all 0.5s 0.1s;
}

.modal[data-modal-effect=slide-top] .modal-content {
  -moz-transform: translateY(-300%);
  -ms-transform: translateY(-300%);
  -webkit-transform: translateY(-300%);
  transform: translateY(-300%);
}

.modal[data-modal-effect=slide-top].modal-show .modal-content {
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}


/* RESPONSIVE */

/* moves error logs in tablet/smaller screens */

@media (max-width:1000px) {


  /*brings errors in */
  .error1 {
    left: 345px;
    margin-top: -58px;
  }




}


@media (max-width:675px) {
  /*mobile phone: uncollapse all fields: remove progress bar*/

  .steps {
    width: 100%;
    margin: 50px auto;
    position: relative;
  }

  #progressbar {
    display: none;
  }

  /*move error logs */
  .error1 {
    position: relative;
    left: 0 !important;
    margin-top: 24px;
    top: -11px;
  }

  .error1:before {
    width: 0;
    height: 0;
    left: 14px;
    top: -14px;
    content: '';
    position: absolute;
    border-left: 6px solid transparent;
    border-bottom: 8px solid #ffe6c7;
    border-right: 6px solid transparent;
  }

  /*show hidden fieldsets */
  .steps fieldset:not(:first-of-type) {
    display: block;
  }

  .steps fieldset {
    position: relative;
    width: 100%;
    margin: 0 auto;
    margin-top: 45px;
  }

  .steps .next,
  .steps .previous {
    display: none;
  }

  .steps .explanation {
    display: none;
  }

  .steps .submit {
    float: right;
    margin: 28px auto 10px;
    width: 100% !important;
  }

}



/* Info */
.info {
  width: 300px;
  margin: 35px auto;
  text-align: center;
  font-family: 'roboto', sans-serif;
}

.info h1 {
  margin: 0;
  padding: 0;
  font-size: 28px;
  font-weight: 400;
  color: #333333;
  padding-bottom: 5px;

}

.info span {
  color: #666666;
  font-size: 13px;
  margin-top: 20px;
}

.info span a {
  color: #666666;
  text-decoration: none;
}

.info span .fa {
  color: rgb(226, 168, 16);
  font-size: 19px;
  position: relative;
  left: -2px;
}

.info span .spoilers {
  color: #999999;
  margin-top: 5px;
  font-size: 10px;
}