/* registration form */
.tac {
  text-align: center;
}
.reg-form * {
  box-sizing: border-box;
}
.reg-form {
  position: relative;
}
@media only screen and (min-width: 320px) and (max-width: 667px) {
  .reg-form {
    width: auto;
    border-radius: 0;
    padding: 0 20px 40px;
    margin: 0 -20px;
  }
}
body .reg-form_title {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 25px;
}
.row {
  margin-bottom: 8px;
  position: relative;
}
.row--agreement {
  color:black;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 20px;
  margin-bottom: 20px;
}
.row--agreement a {
  color: #D71110;
}
.row_alert {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: #ff4c5c;
  letter-spacing: .02em;
  display: none;
}
.row_note {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .02em;
}
.row_note--incorrect, .row_note--empty, .row_note--format {
  color: #ee4646;
  display: none;
}
.row_input {
  height: 50px;
  font: 400 17px Roboto, sans-serif;
  background-color: white;
  border-right: 1px solid #eaeaea;
  border-radius: 5px;
  padding: 0 15px;
}
.row_input--wide {
  width: 100%;
}
body .birth-day {
  min-height: 50px;
  font-size: 0;
  margin: 0 -5px 0 0;
}
.birth-day_item {
  width: 33.33%;
  padding-right: 5px;
  vertical-align: top;
  display: inline-block;
}
.reg-form_select {
  position: absolute;
  opacity: 0;
}
.reg-form .sod_select {
  line-height: normal;
  border-color: #eaeaea;
  padding-top: 14px;
}
.reg-form .number-block .sod_select {
  padding-top: 19px;
}
.d-select {
  width: 100%;
  height: 50px;
  word-spacing: normal;
  padding: 12px 25px 12px 15px;
}
.birth-day .sod_option:first-child {
  display: none;
}
.number-block {
  position: relative;
}
.number-block .sod_label {
  font-size: 0;
}
.region-select {
  width: 70px;
  height: 50px;
  border-radius: 3px 0 0 3px;
  /* border-width: 0 1px 0 0; */
  padding: 16px 25px 14px 15px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: -1;
}
.region-select .sod_list_wrapper {
  width: 300px;
}
.sod_list_wrapper {
  box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
}
.row_input--number {
  width: 100%;
  color: transparent;
  padding-left: 80px;
  -webkit-transition: color .2s ease;
  transition: color .2s ease;
}
.number-block--visible .region-select {
  opacity: 1;
  z-index: auto;
  transition: opacity .2s ease;
}
.number-block--visible .row_input--number {
  color: #292929;
}

.row--incorrect .row_note--label, .row--format .row_note--label, .row--empty .row_note--label {
  display: none;
}
.row--empty .row_note--empty, .row--incorrect .row_note--incorrect, .row--format .row_note--format {
  display: inline;
}

.notice {
  line-height: 1.5;
  text-align: center;
  background-color: white;
  padding-left: 5%;
  padding-right: 5%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  pointer-events: auto;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
}
.notice--visible {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.notice_content {
  text-align: center;
}
.notice_title {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 17px;
  display: inline-block;
}
.notice_text {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
@keyframes progress {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}
.progress-bar {
  font-size: 0;
  margin-top: 0;
}
.notice_text + .progress-bar {
  margin-top: 30px;
}
.progress-bar li {
  height: 9px;
  width: 9px;
  background-color: #6db4de;
  border-radius: 100%;
  margin-left: 2px;
  margin-right: 2px;
  vertical-align: middle;
  display: inline-block;
  -webkit-animation: progress 1.5s ease-in-out 0s normal both infinite running;
  animation: progress 1.5s ease-in-out 0s normal both infinite running;
}
.progress-bar li:nth-child(1) {
  animation-delay: -.6s;
}
.progress-bar li:nth-child(2) {
  animation-delay: -.4s;
}
.progress-bar li:nth-child(3) {
  animation-delay: -.2s;
}
.reg-btn {
  font-size: 19px;
  font-weight: 500;
  color: white;
  background-color: #D71110;
  text-align: center;
  border-radius: 5px;
  padding: 14px 30px 15px;
  transition: background-color .3s ease;
  vertical-align: top;
  display: inline-block;
}
.reg-btn:hover, .reg-btn:active {
  color: white;
  background-color: #db4b4d;
}
/* registration form end */

/* registration form two */
.reg-form--two {
  --indent: 20px;
  --color-theme: #5c42ab;
  background: white url('/online-journal/wp-content/themes/astrojournal3/images/reg-form-bg.png') right calc(50% - 74px) top -30px no-repeat;
  background-size: 180px auto;
  padding-top: 30px;
}
.reg-form--two:before {
  content: '';
  position: absolute;
  border-top: 1px solid #eaeaea;
  top: 0;
}
.reg-form--two:not(.is-sticky):before {
  left: 0;
  right: 0;
}
.reg-form--two.is-sticky:before {
  left: var(--indent);
  right: var(--indent);
}
.reg-form--two a:hover, .reg-form--two a:focus {
  color: #232323;
  outline: none;
}
.reg-form--aside {
  padding-top: 20px;
  transform: translate3d(0, 0, 0);
  will-change: position;
}
@media (min-width: 940px) {
  .reg-form--aside {
    max-width: 329px;
  }
  .reg-form--aside:not(.is-active) {
    margin-top: 7px;
  }
}
.reg-form--aside .region-select .sod_list_wrapper {
  width: 329px;
}
.reg-form--aside .notice {
  padding-left: 0;
  padding-right: 0;
}
.reg-form--aside .notice_title {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--color-theme);
}
.reg-form--aside .progress-bar li {
  background-color: #fbdfe0;
}
@media (max-width: 940px) {
  .reg-form--sticky {

  }
}
@media (min-width: 940px) {
  .reg-form--aside.is-sticky {
    border-radius: 0 0 16px 16px;
    padding-left: var(--indent);
    padding-right: var(--indent);
    padding-bottom: 50px;
    margin-left: calc(var(--indent) * -1);
    margin-right: calc(var(--indent) * -1);
    position: fixed;
    top: 70px;
    z-index: 10;
  }
}
.reg-form--two .reg-form_title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.reg-form--two .row_input, .reg-form--two .sod_select {
  font-size: 17px;
  background-color: #f7f5fc;
  border-color: #e2ddf0;
}
.reg-form--two .row_input:focus {
  outline: none;
  border-color: #c3b8e0;
}
.reg-form--two .sod_select:focus {
  outline: none;
  border-color: #c3b8e0;
  z-index: 3;
}
.reg-form--two .birth-day {
  margin-right: 0;
}
.reg-form--two .birth-day_item {
  width: 40%;
  padding-right: 0;
}
.reg-form--two .birth-day_item:first-child, .reg-form--two .birth-day_item:last-child {
  width: 30%;
}
.reg-form--two .birth-day_item:nth-child(1) .sod_select {
  border-radius: 5px 0 0 5px;
}
.reg-form--two .birth-day_item:nth-child(2) .sod_select {
  border-radius: 0;
  border-right: 0;
  border-left: 0;
}
.reg-form--two .birth-day_item:nth-child(3) .sod_select {
  border-radius: 0 5px 5px 0;
}
.reg-form--two .sod_select .sod_option.active {
  background-color: #f7f5fc;
}
.reg-form--two .sod_select:not(.changed) .sod_label {
  color: #858097;
}
.reg-form--two .row--agreement {
  margin-top: 14px;
  margin-bottom: 12px;
}
.reg-form--two .reg-btn {
  background-color: var(--color-theme);
  border-radius: 8px;
}
.reg-form--two .reg-btn:hover, .reg-form--two .reg-btn:active, .reg-form--two .reg-btn:focus {
  background-color: #503993;
  outline: none;
}
/* registration form two end */




/* registration form one */
.reg-form--one {
  max-width: 800px;
  font-size: 0;
  background-color: #fdeadc;
  padding: 40px 30px 60px;
  margin: 50px 0;
}
@media only screen and (max-width: 600px) {
  .reg-form--one {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -10px;
    margin-right: -10px;
  }
}
.reg-form--one form { margin-right: -15px; }
@media only screen and (max-width: 600px) {
  .reg-form--one form { margin-right: 0; }
}
.reg-form--one .row {
  width: 50%;
  padding-right: 15px;
  vertical-align: top;
  display: inline-block;
}
@media only screen and (max-width: 600px) {
  .reg-form--one .row {
    width: 100%;
    padding-right: 0;
  }
}
.reg-form--one .row--full {
  width: 100%;
}
@media only screen and (max-width: 768px) {
  .row {
    width: 100%;
    padding-right: 0;
    margin-right: 0;
  }
}
.reg-form--one .d-select, .reg-form--one .row_input {
  border-color: #f3dbca;
}
.reg-form--one .tac {
  width: 50%;
  padding-right: 15px;
  display: inline-block;
}
.reg-form--one .reg-btn {
  width: 100%;
}
.reg-form--one .row--agreement {
  margin-top: 10px;
}
@media only screen and (max-width: 600px) {
  .reg-form--one .tac {
    width: 100%;
    padding-right: 0;
  }
  .reg-form--one .reg-btn {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}
.reg-form--one .notice {
  background-color: #fdeadc;
}

.reg-form--aside { opacity: 1; } /* for autooptimize plugin */
/* registration form one end */






