::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.otp-modal-input {
  font-size: 0.9em;
  font-family: "vodafone_rgregular", Arial;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  padding: 25px 10px;
  border: 1px solid #333;
  height: 40px;
  width: 100%;
  outline: none;
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.wifi_message .input {
  position: relative;
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
}

.clear {
  color: #fff;
  background: transparent url(../img/clear.png) no-repeat center;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: 50%;
  transition: right 0.5s;
  transform: translateY(-50%);
  right: 10px;
  display: none;
}

.clear.show {
  display: block;
}

input.error {
  border-color: #e60000 !important;
}

.wifi_message {
  box-sizing: border-box;
  width: 100%;
  background-color: #333;
  padding: 40px 20px 30px;
  display: none;
  margin: auto;
  z-index: 9;
}

.wifi_message p {
  font-size: 16px;
  margin-bottom: 5px;
}

.wifi_message .btn {
  font-size: 16px;
  margin: 10px auto 0 auto;
  text-align: center;
  padding: 0 10px;
  cursor: pointer;
  height: 52px;
  line-height: 40px;
  border: none;
  width: 100%;
  box-sizing: border-box;
  max-width: 330px;
  display: block;
}

.wifi_message .btn {
  background: #e60000;
  color: #fff;
  margin-top: 0;
}

.wifi_message .btn.button_pin {
  background: #e60000;
  color: #fff;
}

.wifi_message .button_reset {
  background: #afafaf;
  color: #333;
}

.wifi_message .btn.button_3g {
  background: #e60000;
  color: #fff;
}

.wifi_message .btn.button_wifi {
  background: #afafaf;
  color: #333;
}

.wifi_message .btn:disabled {
  background: #ccc;
  cursor: default;
}

.otp-modal-input {
  width: 99%;
  margin: auto;
  line-height: 40px;
  font-size: 20px;
  -webkit-appearance: none;
  appearance: none;
}

.wifi_message .prompt_msisdn {
  display: none;
}

.wifi_message .prompt_pin {
  display: none;
}

.wifi_message .text_number {
  display: none;
  font-family: "vodafone_bold", Arial;
  display: inline-block;
}

.wifi_message .text_prompt_msisdn {
  color: #333;
  text-align: center;
}

.wifi_message .text_prompt_pin {
  color: #333;
  text-align: center;
  padding: 10px 20px;
  font-size: 18px;
}

.wifi_message .modal-otp-title {
  font-weight: bold;
  padding-bottom: 20px;
  font-size: 18px;
}

.wifi_message .modal-otp-subtitle {
  padding-bottom: 20px;
  max-width: 75%;
  font-size: 20px;
  margin: auto;
}

.wifi_message .text_g {
  /* font-size: 0.9em; */
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0;
}
.wifi_message .text_g p {
  font-size: 16px;
  padding-bottom: 10px;
  margin: 0 auto;
  max-width: 650px;
}

.wifi_message .closeBtn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
}

/* alert */

.alert {
  display: none;
  margin: 0px auto 10px auto;
}

.input-alert-wrapper {
  width: 65%;
  margin: auto;
}

.alert .inner-alert {
  display: flex;
  background: transparent;
  color: #333;
  border-radius: 6px;
  border: 1px solid #9c2ba1;
}

.alert .inner-alert > div {
  background: #9c2ba1;
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.alert .alert-text {
  width: 100%;
  padding: 10px 20px;
  font-weight: normal;
  cursor: initial;
}

/* alert arrow */
.alert .inner-alert::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 10px;
  border-width: 8px;
  border-style: solid;
  border-color: #484848 transparent transparent transparent;
}

/* keyframe animations */

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.input-wrapper {
  display: inline-flex;
  align-items: flex-start;
  margin: 10px auto;
  width: 100%;
}

.input-wrapper .input {
  width: 100%;
  position: relative;
}

.wifi_message .input-wrapper button {
  width: 60px;
  margin-left: 10px;
}

.wifi_message .input-wrapper button img {
  width: 25px;
}

.input-wrapper label {
  position: absolute;
  z-index: 1;
  background-color: #fff;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  /* padding: 0 2px; */
  padding: 3px 0;
  font-size: 18px;
  opacity: 1;
  transition: all 0.5s;
}

.input-wrapper label span {
  font-weight: normal;
  cursor: auto;
}

.input-wrapper .label-transition-appear {
  top: 0px;
  font-size: 13px;
  padding: 0 3px;
}

@media (max-width: 767px) {
  .input-alert-wrapper {
    width: 80%;
  }

  .wifi_message {
    margin: 0 55px;
  }

  .wifi_message .modal-otp-title {
    font-size: 16px;
  }

  .wifi_message .modal-otp-subtitle {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .wifi_message .btn,
  .wifi_message .text_g p,
  .wifi_message .text_prompt_msisdn,
  .wifi_message p {
    font-size: 14px;
  }
  .modalDialog > div {
    margin: 0 55px;
    padding: 40px 20px;
  }
  .wifi_message .modal-otp-subtitle {
    max-width: 100%;
  }
  .otp-modal-input {
    font-size: 16px;
  }
  .input-wrapper .input label {
    font-size: 14px;
  }

  .input-wrapper {
    width: 100%;
  }

  .input-wrapper .input .label-transition-appear {
    top: 0px;
    font-size: 11px;
    padding: 0 3px;
  }

  .input-alert-wrapper {
    width: 100%;
  }

  .alert .alert-text {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .modalDialog > div {
    margin: 0 20px;
  }
}

.otp-return {
  text-decoration: underline;
  margin-top: 10px;
  cursor: pointer;
  font-size: 18px;
}
