/* ORDER FORM DIALOG WINDOW */
#es-overlay.es-show {
  visibility: visible;
}

#es-overlay {
  background: rgba(0, 0, 0, .5);
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  z-index: 10;
}

.es-show {
  visibility: visible;
}


/* */
.order-button-block {
  margin: auto;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.order-button-block > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.15px;
  padding-bottom: 35px;
}

.order-button-block > p > span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.25px;
  padding-left: 5px;
  text-transform: uppercase;
}

.es-show {
  visibility: visible;
}

.order-form.es-modal {
  float: none;
  min-height: inherit;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

.order-form.order-form-bg {
  padding: 20px;
  border: none;
  border-radius: 3px;
}

.order-form.es-modal.es-show {
  z-index: 11;
}

.order-form.es-modal.es-show #current_sof_container {
  opacity: 1;
  top: 50%;
  visibility: visible;
  transition: all 0.5s;
}

.order-form.es-modal #current_sof_container {
  margin: -210px 0 0 -235px;
  opacity: 0;
  padding: 0;
  position: fixed;
  top: 65%;
  left: 50%;
  visibility: hidden;
  width: 470px;
  z-index: 11;
  box-sizing: border-box;
}

.order-form.es-modal #current_sof_container h2 {
  background: #09badc;
  border-radius: 2px 2px 0 0;
  color: #fff;
  font-size: 1.286em;
  font-weight: 400;
  padding: 10px 30px;
  text-align: left;
  margin: 0;
  line-height: 1.6;
}

.order-form.es-modal .innercontainer-form {
  background: #fff;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 18px 16px -16px #000;
  padding: 20px 30px 30px;
  box-sizing: border-box;
}

.ui-modal-close:before,
.es-close.es-close-icon:before {
  display: none;
}

.es-close,
.ui-modal-close {
  border-radius: 3px;
  color: #fff;
  float: right;
  font-size: 1.1em;
  font-weight: bold;
  height: 30px;
  line-height: 30px;
  position: absolute;
  top: 6px;
  right: 10px;
  text-align: center;
  width: 30px;
  overflow: hidden;
}

.es-close:hover,
.ui-modal-close:hover {
  background-color: rgba(255, 255, 255, .5);
  border-radius: 3px;
  cursor: pointer;
  background-position: -78px -224px;
}

#dialog-whats-next {
  display: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  position: fixed;
  top: 65%;
  left: 50%;
  width: 100%;
  max-width: 470px;
  z-index: -1;
  transition: all 0.5s;
  box-sizing: border-box;
}

#dialog-whats-next.es-effect-slide {
  opacity: 1;
  top: 50%;
  z-index: 11;
  transition: all 0.5s;
}

#dialog-whats-next .es-header {
  background-color: #191919;
  border-radius: 2px 2px 0 0;
  color: #fff;
  font-size: 1.429em;
  font-weight: 400;
  padding: 10px 30px;
  text-align: left;
}

#dialog-whats-next button {
  float: right;
  font-weight: 700;
  font-size: 18px;
  background-color: #9e0000;
  color: #fff;
  border: 0;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;
}

#dialog-whats-next button:hover, #dialog-whats-next button:focus {
  background-color: red;
}

#dialog-whats-next .es-inner-content {
  border-radius: 0 0 3px 3px;
  padding: 20px 30px 10px;
}

#dialog-whats-next .es-inner-content ul {
  list-style: none;
  padding: 0 0 0 15px;
}

#dialog-whats-next .es-inner-content li {
  border-left: 1px solid #cecece;
  line-height: 140%;
  list-style-type: none;
  margin: 0;
  padding: 0 0 10px 15px;
  position: relative;
}

#dialog-whats-next .es-inner-content li:before {
  background: #fff;
  border: 1px solid #d30b3a;
  border-radius: 5px;
  content: "";
  height: 9px;
  margin-top: 5px;
  position: absolute;
  left: -5px;
  width: 9px;
}

#dialog-whats-next .es-inner-content li:last-child {
  padding-bottom: 0;
}

#dialog-whats-next .es-inner-content li span {
  color: #979797;
}

#dialog-whats-next .linetop {
  padding: 10px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#dialog-whats-next .es-link {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.es-inner-content,
.ui-modal-body {
  background: #fff;
  border-radius: 0 0 2px 2px;
  padding: 1px 30px 30px;
  position: relative;
  top: -1px;
}

/* Zebra_DatePicker */
.Zebra_DatePicker_Icon {
  background-color: #fafafa;
  margin-left: -42px;
  position: relative;
  top: 0 !important;
  left: 0 !important;
}

.Zebra_DatePicker_Icon_Inside {
  border: 0;
  height: 39px;
  overflow: hidden;
  text-indent: -999px;
  width: 40px;
  background-repeat: no-repeat;
  background-image: url(https://my.helpwriter.com/resources/img/date-icon.png);
  background-position: center;
}

.Zebra_DatePicker.dp_hidden {
  opacity: 0;
  top: 0;
  visibility: hidden;
}

.Zebra_DatePicker {
  background: #f3f3f3;
  border: 1px solid #e5e4e4;
  border-radius: 3px;
  margin-left: -120px;
  padding: 10px;
  position: absolute;
  width: 300px;
  z-index: 15;
}

.dp_header,
.dp_daypicker {
  width: 100% !important;
}

/* Datepicker header */
.dp_caption {
  font-weight: 600;
  height: 24px;
  padding: 4px 0;
  text-align: center;
  border: 1px solid #e5e4e4;
}

.dp_previous,
.dp_next {
  height: 28px;
  overflow: hidden;
  position: relative;
  text-indent: -999px;
  width: 30px;
  border: 1px solid #e5e4e4;
}

.dp_previous:hover,
.dp_next:hover,
.dp_caption:hover {
  background-color: #09badc !important;
  border-color: #09badc !important;
  color: #fff;
  cursor: pointer;
}

.dp_previous:before,
.dp_next:before {
  content: "";
  display: block;
  height: 16px;
  margin: auto;
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9px;
  z-index: 10;
  left: 0;
  right: 0;
}

.dp_previous:before {
  background-position: 0 -232px;
}

.dp_previous:hover:before {
  background-position: -11px -232px;
}

.dp_next:before {
  background-position: -28px -232px;
}

.dp_next:hover:before {
  background-position: -39px -232px;
}

.dp_blocked {
  opacity: 0.6;
}

.dp_blocked:hover {
  background-color: #ecf0f1 !important;
}

/* [Daypicker, Monthpicker, Yearpicker] */
.dp_daypicker,
.dp_monthpicker,
.dp_yearpicker {
  border-collapse: collapse;
  margin-top: 10px;
}

.dp_daypicker th,
.dp_daypicker td,
.dp_monthpicker td,
.dp_yearpicker td {
  background: #fff;
  border: none;
  padding: 4px 0;
  text-align: center;
  width: 39px;
}

.dp_daypicker th {
  background: #ecf0f1;
}

.dp_daypicker .dp_disabled,
.dp_daypicker .dp_not_in_month,
.dp_monthpicker .dp_disabled,
.dp_yearpicker .dp_disabled {
  background: #ecf0f1;
  color: #c0c0c0;
}

.dp_daypicker td:hover,
.dp_monthpicker td:hover,
.dp_yearpicker td:hover {
  background: #09badc;
  color: #fff;
  cursor: pointer;
}

.dp_daypicker td.dp_current {
  box-shadow: inset 0 0 0 2px #159b87;
  cursor: pointer;
}

.dp_daypicker td.dp_selected {
  background: #1f4153;
  color: #fff;
  cursor: pointer;
}

.Zebra_DatePicker .dp_disabled:hover,
.Zebra_DatePicker .dp_not_in_month:hover {
  background: #eee;
  color: #c0c0c0;
}

/* Datepicker footer */
.dp_footer {
  margin: 10px 0 0;
  width: 100%;
}

.dp_footer th,
.dp_footer tr,
.dp_footer td,
.dp_header th {
  border: none;
}

.dp_today,
.dp_footer td.dp_today {
  border-radius: 3px;
  font-weight: bold;
  padding: 6px 0;
  text-align: center;
  border: 1px solid #dedede;
}

.dp_today:hover,
.dp_footer td.dp_today:hover {
  background: #27d4ba;
  border-color: transparent;
  color: #fff;
  cursor: pointer;
}

/* agreement checkboxes */
#dl_esof_policy,
#dl_esof_marketing {
  display: block;
  width: 100%;
}

@media only screen and (max-width: 650px) {
  #dialog-whats-next.es-effect-slide {
    top: 20px;
    overflow-y: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    left: 0;
    right: 0;
    bottom: 0;
    width: 90%;
    margin: 0 auto;
  }

  #dialog-whats-next .linetop {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    text-align: center;
  }

  #dialog-whats-next .linetop > * {
    float: none !important;
    display: inline-block;
    margin: 10px auto;
    text-align: center;
  }

  #dl_esof_email,
  #dl_esof_paper_type,
  #dl_esof_pages_qty,
  #dl_esof_deadline_date {
    flex-basis: 100%;
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 15px;
  }

  #pages_qty_hint {
    width: auto;
    position: static;
    padding-left: 20px;
  }

  .order-form dt {
    max-width: 80px;
    width: 100%;
  }

  .Zebra_DatePicker_Icon_Wrapper {
    width: 100%;
  }

  #glue_esof_deadline_date_at {
    display: block;
  }

  .esof-select-wrap.esof-deadline-time {
    width: auto;
    position: static;
  }
}

@media only screen and (max-width: 480px) {
  #dd_esof_esof_pages_qty #contentspin {
    margin: 0;
    margin-right: 15px;
  }

  #contentspin,
  #dd_esof_esof_pages_qty,
  #dl_esof_deadline_date,
  #dl_esof_pages_qty {
    flex-flow: row wrap;
  }

  #current_sof_container #newOrderFrom {
    padding: 0 20px;
    display: block;
  }

  .order-form dd {
    width: 100%;
    margin: 0;
  }

  .order-form dt {
    width: 100%;
    margin-bottom: 10px;
  }

  .Zebra_DatePicker {
    margin-left: 0;
    left: 50% !important;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
  }
}


/* AUTHORIZATION */
#id_esauth_auth_container,
.fr-form-wrap {
  margin: -210px 0 0 -160px;
  opacity: 0;
  position: fixed;
  top: 65%;
  left: 50%;
  width: 320px;
  z-index: 11;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

#es-overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  z-index: 10;
}

#es-overlay.es-show {
  visibility: visible;
}

#id_esauth_auth_container.es-show,
.fr-form-wrap.es-show {
  opacity: 1;
  top: 50%;
}

#id_esauth_auth_container .es-content {
  position: relative;
}

/* Authorization Header */

#id_esauth_auth_container .es-header,
.ui-modal-header {
  background: #09badc;
  border-radius: 3px 3px 0 0;
  color: #fff;
  font-size: 1.429em;
  padding: 10px 30px;
}

/* Authorization Content */

.es-inner-content,
.ui-modal-body {
  background: #fff;
  border-radius: 0 0 2px 2px;
  padding: 1px 30px 30px;
  position: relative;
  top: -1px;
}

#id_esauth_auth_container .es-inner-content {
  padding-top: 20px;
}

.es-row {
  margin: 10px 0;
}

.es-row label.error {
  color: #cd3024;
  font-size: 1em;
  padding-right: 20px;
  width: 100%;
}

.es-row input.error {
  border-color: #cd3024;
}

/* [Registration, Forgot Password] links */

.linetop {
  overflow: hidden;
}

.register {
  text-align: left;
}

.forgot {
  text-align: right;
}

.es-inner-content .forgot {
  float: right;
}

#id_esauth_login_button {
  width: 100%;
  font-weight: 700;
  font-size: 18px;
  background-color: #9e0000;
  color: #fff;
  border: 0;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;

&:hover,
&:focus {
   background-color: darken(#9e0000, 10%);
 }
}

/*  Reset Password */

.form_view.biginputs input[type="text"] {
  border: 2px solid $input-border;
  border-radius: 3px;
  height: 40px;
  outline: none;
  padding: 0 10px;
  width: 100%;
  line-height: 100%;
  box-sizing: border-box;
  background: none;

&:hover,
&:focus,
&:active {
   border-color: #159b87;
   box-shadow: none;
   outline: none;
 }
}

#current_auth_remind_container {
h4 {
  text-align: center;
  margin: 10px 0 20px;
  font-size: 1.5em;
}

form {
  max-width: 600px;
  display: block;
  margin: 0 auto;
}

input[type="submit"] {
  font-weight: 700;
  font-size: 18px;
  background-color: #9e0000;
  color: #fff;
  border: 0;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;

&:hover,
&:focus {
   background-color: darken(#9e0000, 10%);
 }
}

dt {
  width: 30%;
}

label {
  display: block;
  margin: 10px 5px;
  text-align: right;

&.error {
   color: #cd3024;
   font-size: 12px;
   margin: 0;
 }
}

dl {
  margin: 20px 0;
}

dd {
  width: 65%;
  text-align: center;
}

dt,
dd {
  display: inline-block;
  margin: 0;
  vertical-align: top;
}
}

/* captcha */

#id_captcha_image {
  background-color: #fff;
  padding: 4px;
}

#current_auth_remind_container dl:nth-child(3) div > div:first-child {
  display: inline-block;
  margin-top: 6px;
  vertical-align: middle;
  width: 50%;
}

#current_auth_remind_container dl:nth-child(3) div > div:last-child {
  display: inline-block;
  vertical-align: baseline;
  width: 50%;
  margin-left: -4px;
}

.captcha-code-box tr {
  display: inline-block;
}

.captcha-code-box td {
  border: none;
  padding: 5px 0 0 5px;
}

.captcha_arrow {
  color: #ef5390;
  float: left;
  margin-top: 5px;
  margin-left: -30px;
}


#id_esauth_auth_container,
.fr-form-wrap {
  margin: -210px 0 0 -160px;
  opacity: 0;
  position: fixed;
  top: 65%;
  left: 50%;
  width: 320px;
  z-index: 11;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

#es-overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  z-index: 10;
}

#es-overlay.es-show {
  visibility: visible;
}

#id_esauth_auth_container.es-show,
.fr-form-wrap.es-show {
  opacity: 1;
  top: 50%;
}

#id_esauth_auth_container .es-content {
  position: relative;
}

/* Authorization Header */
#id_esauth_auth_container .es-header,
.ui-modal-header {
  background: #000;
  border-radius: 3px 3px 0 0;
  color: #fff;
  font-size: 1.429em;
  padding: 10px 30px;
}

/* Authorization Content */
.es-inner-content,
.ui-modal-body {
  background: #fff;
  border-radius: 0 0 2px 2px;
  padding: 1px 30px 30px;
  position: relative;
  top: -1px;
}

#id_esauth_auth_container .es-inner-content {
  padding-top: 20px;
}

.es-row {
  margin: 10px 0;
}

.es-row label.error {
  color: #cd3024;
  font-size: 1em;
  padding-right: 20px;
  width: 100%;
}

.es-row input.error {
  border-color: #cd3024;
}

/* [Registration, Forgot Password] links */
.linetop {
  overflow: hidden;
}

.register {
  text-align: left;
}

.forgot {
  text-align: right;
}

.es-inner-content .forgot {
  float: right;
}

#id_esauth_login_button {
  width: 100%;
  font-weight: 700;
  font-size: 18px;
  background-color: #9e0000;
  color: #fff;
  border: 0;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;
}
#id_esauth_login_button:hover,
#id_esauth_login_button:focus {
  background-color: #6b0000;
}

/*  Reset Password */
.form_view.biginputs input[type="text"] {
  border: 2px solid #ececec;
  border-radius: 3px;
  height: 40px;
  outline: none;
  padding: 0 10px;
  width: 100%;
  line-height: 100%;
  box-sizing: border-box;
  background: none;
}
.form_view.biginputs input[type="text"]:hover,
.form_view.biginputs input[type="text"]:focus,
.form_view.biginputs input[type="text"]:active {
  border-color: #159b87;
  box-shadow: none;
  outline: none;
}

#current_auth_remind_container h4 {
  text-align: center;
  margin: 10px 0 20px;
  font-size: 1.5em;
}
#current_auth_remind_container form {
  max-width: 600px;
  display: block;
  margin: 0 auto;
}
#current_auth_remind_container input[type="submit"] {
  font-weight: 700;
  font-size: 18px;
  background-color: #9e0000;
  color: #fff;
  border: 0;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;
}
#current_auth_remind_container input[type="submit"]:hover, #current_auth_remind_container input[type="submit"]:focus {
  background-color: #6b0000;
}
#current_auth_remind_container dt {
  width: 30%;
}
#current_auth_remind_container label {
  display: block;
  margin: 10px 5px;
  text-align: right;
}
#current_auth_remind_container label.error {
  color: #cd3024;
  font-size: 12px;
  margin: 0;
}
#current_auth_remind_container dl {
  margin: 20px 0;
}
#current_auth_remind_container dd {
  width: 65%;
  text-align: center;
}
#current_auth_remind_container dt,
#current_auth_remind_container dd {
  display: inline-block;
  margin: 0;
  vertical-align: top;
}

/* captcha */
#id_captcha_image {
  background-color: #fff;
  padding: 4px;
}

#current_auth_remind_container dl:nth-child(3) div > div:first-child {
  display: inline-block;
  margin-top: 6px;
  vertical-align: middle;
}

#current_auth_remind_container dl:nth-child(3) div > div:last-child {
  display: inline-block;
  vertical-align: baseline;
  width: 50%;
  margin-left: -4px;
}

.captcha-code-box tr {
  display: inline-block;
}

.captcha-code-box td {
  border: none;
  padding: 5px 0 0 5px;
}

.captcha_arrow {
  color: #ef5390;
  float: left;
  margin-top: 5px;
  margin-left: -30px;
}


#id_esauth_auth_container,
.fr-form-wrap {
  margin: -210px 0 0 -160px;
  opacity: 0;
  position: fixed;
  top: 65%;
  left: 50%;
  width: 320px;
  z-index: 11;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

#id_esauth_auth_container.es-show, .fr-form-wrap.es-show {
  opacity: 1;
  top: 50%;
}