@charset "UTF-8";

/* Webfont: Lato-Regular */@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSans.eot'); /* IE9 Compat Modes */
    src: url('../fonts/IRANSans.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/IRANSans.woff2') format('woff2'), /* Modern Browsers */
         url('../fonts/IRANSans.woff') format('woff'), /* Modern Browsers */
         url('../fonts/IRANSans.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
/* Webfont: Lato-Regular */@font-face {
    font-family: 'IRANSansEn';
    src: url('../fonts/IRANSansEn.eot'); /* IE9 Compat Modes */
    src: url('../fonts/IRANSansEn.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/IRANSansEn.woff2') format('woff2'), /* Modern Browsers */
         url('../fonts/IRANSansEn.woff') format('woff'), /* Modern Browsers */
         url('../fonts/IRANSansEn.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/*basic reset*/
* {margin: 0; padding: 0;}

html {
  background-color: #0047ab;
  height:100%;
}

body {
  max-width: 1500px;
  font-family: IRANSans;
  margin: 10% auto 0px auto;
}

.background-container {
    background-image: url('/assets/img/result3_bg.jpg');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
}

#header_alert {
  display: none;
  position: fixed;
  top: 15px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  width: fit-content;
  background-color: aliceblue;
  padding: 5px 10px;
  border-radius: 10px;
  z-index: 999;
}

#notComplete, #submitGood, #dbError {
  display:none;
}
#results {
  margin: 0 auto;
  text-align:center;
  width:600px;
  margin-top:50px;
  color:#222;
}

/*form styles*/
#msform {
  width: 95%;
  max-width: 600px;
  margin: 8% auto;
  text-align: center;
  position: relative;
}
#msform fieldset {
  background: #f2f2f2;
  border: 0 none;
  border-radius: 20px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  padding: 35px;
  
  box-sizing: border-box;
  width: 94%;
  margin: 5% 3% 0 3%;
  
  /*stacking fieldsets above each other*/
  position: absolute;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}
/*inputs*/
#msform input, #msform textarea, #msform select {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 12px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: IRANSans;
  color: #222;
  font-size: 16px;
}

.select2-selection {
  padding: 15px!important;
  border: 1px solid #ccc!important;
  border-radius: 12px!important;
  margin-bottom: 10px;
  width: 100%;
  height: auto!important;
  box-sizing: border-box;
  font-family: IRANSans;
  color: #222;
  font-size: 16px;
}
.select2-dropdown {
  margin-top: -9px;
}
.select2-selection__rendered {
  padding: unset!important;
  color: #222!important;
  font-size: 16px!important;
  text-align: right;
}
.select2-selection__arrow {
  height: 80%!important;
}
.select2-search--dropdown .select2-search__field {
  padding: 10px!important;
  border: 1px solid #ccc;
  border-radius: 12px!important;
  width: 100%;
  box-sizing: border-box;
  font-family: IRANSans;
  color: #222;
  font-size: 16px;
}
.select2-search--inline .select2-search__field {
    padding: unset!important;
    margin: 0.25rem 0 0 0!important;
    border: unset!important;
    border-radius: unset!important;
    width: unset!important;
}
.select2-selection__choice {
  margin: 0.25rem 0 0 0.25rem!important;
  padding: 0.2rem 0.4rem!important;
  border-radius: 10px!important;
  background-color: #f1f1f1!important;
}
.select2-selection__choice__remove {
  margin-left: 0.3rem!important;
  color: #ff8686!important;
}
.select2-results__group {
  border-top: 2px dotted lightgray;
}
/*buttons*/
#msform .action-button {
  width: 48%;
  background: #0047ab;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 30px 1px 5px 1px;
}
#msform .action-button:disabled {
  opacity: 0.5;
}
#msform .previous {
  background: #cccccc;
  color: #4e4e4e;
}
#msform .submit {
  background: #44cf00;
}
#msform .action-button:hover, #msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #DA4453;
}
/*headings*/
.fs-title {
  font-size: 20px;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 30px;
  text-align: right;
}
.fs-subtitle {
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}
/*progressbar*/
.progressbar {
  overflow: hidden;
  counter-reset: step;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid #cdcdcd;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}
.progressbar li {
  list-style-type: none;
  color: #222;
  text-transform: uppercase;
  font-size: 11px;
  float: left;
  position: relative;
  margin: 5px 3px;
}
.progressbar li {
  width: 25px;
  line-height: 25px;
  display: block;
  border: 1px solid #ababab;
  font-size: 15px;
  color: #ababab;
  border-radius: 50%;
}

.progressbar .dots {
  color: #ababab;
  font-size: 19px;
}

.progressbar .arrow {
    color: #ababab;
    font-size: 12px;
    margin: 10px 5px 0px 5px;
}

.progressbar .active{
  background: #0047ab;
  color: white;
  font-weight: bold;
  border-color: #0034a4;
}

.invalid {
  border-color: red!important;
}

.error-message {
  color: red;
  font-size: 12px;
}

.success-message {
  color: green;
  font-size: 14px;
}

.required:after {
  content: '*';
  margin-right: 5px;
  color: red;
  font-size: 15px;
}

.optional:after {
  content: '(اختیاری)';
  margin-right: 5px;
  color: gray;
  font-size: 13px;
}

@media (min-width: 950px) {
  .col-6 {
    width: 50%;
    float: left;
  }
}

@media (max-width: 949px) {
  #msform {
    min-height: 400px;
  }
}

.select2-container {
  width: 100%!important;
}

.rtl-placeholder::placeholder {
    direction: rtl;
    text-align: right;
}



