/* Sass file for NAC form on onlineforms
 * Created April 2014 by richey.ryan@iqcontent.com
 * No expected expiry */
label {
  font-weight: 700;
  padding-top: 0.8em;
}
@media (min-width: 768px) {
  label {
    display: block;
    text-align: right;
  }
}
@media (max-width: 767px) {
  label {
    display: block;
    padding-bottom: 0.2em;
    padding-top: 0;
  }
}
label.alt {
  font-weight: normal;
}

input, textarea, select {
  border-radius: 6px;
  width: 100%;
}

@media (min-width: 768px) {
  input.btn {
    width: auto;
  }
}

.radio input[type="radio"] {
  float: left;
  width: auto;
}
.radio input[type="radio"] .checked {
  background-color: transparent;
  color: #863972;
}

.radio input[type="radio"] {
  float: left;
  width: auto;
}

label.checked {
  background-color: transparent;
  color: #863972;
}

.checkbox label {
  background: none;
  position: relative;
  text-align: left;
}
@media (min-width: 768px) {
  .checkbox label {
    text-align: left;
  }
}
.checkbox label:before {
  background: url("../../images/core/icon/checkbox.png") 0 2px no-repeat;
  content: "";
  height: 25px;
  left: 0;
  position: absolute;
  top: 0;
  width: 23px;
}
.checkbox label.checked:before {
  background: url("../../images/core/icon/checkbox.png") 0 -24px no-repeat;
  content: "";
  height: 25px;
  left: 0;
  position: absolute;
  top: 0;
  width: 23px;
}
.no-cssgradients .checkbox label {
  background: url("../../images/core/icon/checkbox.png") 0 2px no-repeat;
}
.no-cssgradients .checkbox label:before {
  background: none;
}
.no-cssgradients .checkbox label.checked {
  background: url("../../images/core/icon/checkbox.png") 0 -24px no-repeat;
}
.no-cssgradients .checkbox label.checked:before {
  background: none;
}

.radio label {
  padding: 4px 0 3px 30px;
  position: relative;
  text-align: left;
  background: url("../../images/core/icon/radio-button.png") 0 2px no-repeat;
}
.radio label:before {
  background: url("../../images/core/icon/radio-button.png") 0 0 no-repeat;
  content: "";
  height: 19px;
  left: 0;
  position: absolute;
  top: 2px;
  width: 19px;
}
.radio label.checked:before {
  background: url("../../images/core/icon/radio-button.png") 0 -32px no-repeat;
  content: "";
  height: 19px;
  left: 0;
  position: absolute;
  top: 2px;
  width: 19px;
}
.no-cssgradients .radio label:before {
  background: none;
}
.radio label.checked {
  background: url("../../images/core/icon/radio-button.png") 0 -30px no-repeat;
}
.radio label.checked:before {
  background: none;
}

.checkbox.m-check {
  margin: 5px 0;
}

.error-msg, .error-message {
  display: none;
}

.field-error .error-msg, .field-error .error-message {
  clear: both;
  color: #ee2200;
  display: block;
  padding-top: 0.3em;
}
.field-error input,
.field-error select,
.field-error textarea {
  border: 2px solid #ee2200;
}
.field-error.pre-reg input {
  border: 1px solid #999999;
}
.field-error.pre-reg input.form-error {
  border: 2px solid #ee2200;
}

.form-row {
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  small {
    clear: both;
    display: block;
  }
}
@media (max-width: 767px) {
  .required small {
    clear: none;
    display: inline;
  }
}

label ul.list-inline {
  text-align: left;
}
label ul.list-inline li {
  text-align: left;
  display: block;
  float: left;
  font-weight: normal;
  width: 25%;
}
@media (max-width: 767px) {
  label ul.list-inline li {
    width: 50%;
  }
}

.ltiOS6 input.access {
  left: 16px;
  margin-top: 6px;
  z-index: 1000;
}
.ltiOS6 .radio label:before {
  background: none;
}
.ltiOS6 .radio label.checked:before {
  background: none;
}
.ltiOS6 .checkbox label:before {
  background: none;
}
.ltiOS6 .checkbox label.checked:before {
  background: none;
}

.field.field-inline {
  display: block;
  float: left;
}
.field.field-divider {
  padding: 1em 0.875em 0;
}
.field.fw-25, .field.field-quarter {
  width: 25%;
}
.field.fw-30 {
  width: 30%;
}
.field.fw-33, .field.field-third {
  width: 33%;
}
.field.fw-35 {
  width: 35%;
}
.field.fw-40 {
  width: 40%;
}
.field.fw-45 {
  width: 45%;
}
.field.fw-50, .field.field-half {
  width: 50%;
}
.field.multiple input {
  margin-bottom: 0.75em;
}
.field.multiple input:last-of-type {
  margin-bottom: 0;
}
.field.multiple input:first-of-type {
  margin-bottom: 0.75em;
}

.hp-panel {
  background-color: #f2f2f2;
  border: 1px solid #e8e8e8;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -moz-box-shadow: inset 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: inset 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
  box-shadow: inset 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
  display: none;
  margin: 1em;
}
.hp-panel.no-left-right-margin {
  margin-left: 0;
  margin-right: 0;
}
.hp-panel .hp-content {
  padding: 1.5em;
}
.hp-panel .hp-close {
  background-color: #fff;
  -moz-border-radius-bottomleft: 6px;
  -webkit-border-bottom-left-radius: 6px;
  border-bottom-left-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -webkit-border-bottom-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-top: 1px solid #5e2750;
  -moz-box-shadow: inset 2px -2px 2px 0 rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: inset 2px -2px 2px 0 rgba(0, 0, 0, 0.5);
  box-shadow: inset 2px -2px 2px 0 rgba(0, 0, 0, 0.5);
  color: #5e2750;
  display: block;
  font-size: 16px;
  padding: 7px 0;
  text-align: center;
  text-decoration: none;
}
.hp-panel .hp-close i.i-arrow-up-lrg, .hp-panel .hp-close em.i-arrow-up-lrg {
  display: inline-block;
  height: 8px;
  width: 13px;
}
.hp-panel.form-panel {
  margin: 0.25em;
}
.hp-panel.flat-panel {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin: 0;
  margin-top: 2px;
}
.hp-panel.flat-panel .hp-close {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
@media (max-width: 767px) {
  .hp-panel .col p.utility {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .la-head {
    color: #333;
    font-family: VodafoneBold, arial, sans-serif;
  }
}
.la-head h3 {
  margin-bottom: 0.5em;
}
.la-head h3.no-margin {
  margin: 0;
}

.la-alt-content .i-plus-lrg, .mod-extras-two-col .i-plus-lrg {
  background: url("../../images/vf-irl/accodion-close-grey.png") no-repeat;
  background-size: 12px 12px;
  height: 12px;
  margin: -4px 0 0;
  position: absolute;
  right: 15px;
  top: 50%;
  width: 12px;
}
.la-alt-content .i-minus-lrg, .mod-extras-two-col .i-minus-lrg {
  background: url("../../images/vf-irl/accodion-open-grey.png") no-repeat;
  background-size: 12px 12px;
  height: 12px;
  margin: -4px 0 0;
  position: absolute;
  right: 15px;
  top: 50%;
  width: 12px;
}
.la-alt-content .la-active .la-head .i-plus-lrg,
.la-alt-content .la-head .i-minus-lrg, .mod-extras-two-col .la-active .la-head .i-plus-lrg,
.mod-extras-two-col .la-head .i-minus-lrg {
  display: block;
}
.la-alt-content .la-head .i-plus-lrg,
.la-alt-content .la-active .la-head .i-minus-lrg, .mod-extras-two-col .la-head .i-plus-lrg,
.mod-extras-two-col .la-active .la-head .i-minus-lrg {
  display: none;
}

.mod-extras-two-col .col {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .list-accordion .col {
    padding: 0 0 0 31px;
  }
}

.js .mod-accord .list-accordion-lrg {
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  border: 1px solid #868686;
  overflow: hidden;
}
.js .mod-accord .list-accordion-lrg .la-item:first-child .la-head {
  border-top: none;
  -moz-border-radius-topleft: 6px;
  -webkit-border-top-left-radius: 6px;
  border-top-left-radius: 6px;
  -moz-border-radius-topright: 6px;
  -webkit-border-top-right-radius: 6px;
  border-top-right-radius: 6px;
}
.js .mod-accord .list-accordion-lrg .la-item:last-child .la-head, .js .mod-accord .list-accordion-lrg .la-item:last-child .la-body {
  -moz-border-radius-bottomleft: 6px;
  -webkit-border-bottom-left-radius: 6px;
  border-bottom-left-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -webkit-border-bottom-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.js .mod-accord .list-accordion-lrg .la-item .la-body {
  display: none;
}
.js .mod-accord .list-accordion-lrg .la-item .la-body {
  padding: 1em;
}
.js .mod-accord .list-accordion-lrg .la-item.la-active .la-head {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y1ZjVmNSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f5f5f5), color-stop(100%, #ffffff));
  background-image: -moz-linear-gradient(#f5f5f5, #ffffff);
  background-image: -webkit-linear-gradient(#f5f5f5, #ffffff);
  background-image: linear-gradient(#f5f5f5, #ffffff);
}
.js .mod-accord .list-accordion-lrg .la-item.la-active .la-body {
  display: block;
}

.list-accordion.vertical-list .la-item {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .list-accordion.vertical-list .la-item .la-body {
    padding-left: 0;
  }
}

.list-accordion .tidbit.only-sml {
  color: #666;
}
.list-accordion .la-item.la-active .tidbit.only-sml {
  display: none;
}
.list-accordion.two-row .col:nth-child(3n+1) {
  clear: left;
}
@media (min-width: 768px) {
  .list-accordion.two-row .la-head, .list-accordion.two-row .la-body {
    padding: 0;
  }
}
@media (min-width: 768px) {
  .list-accordion .grid.no-icon .la-body {
    padding-left: 0;
  }
}
@media (min-width: 768px) {
  .list-accordion .grid .la-item {
    margin-bottom: 1.5em;
  }
}

.shop-for.mod.mod-accord .list-accordion .la-item {
  margin-bottom: 0.5em;
}

.mod-alert {
  background-color: #e7e7e7;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  margin-bottom: 2em;
  padding: 1em 1em 0.5em 1em;
}
.mod-alert.success {
  background-color: #F4F8F0;
  border: 1px solid #428600;
}
.mod-alert.info {
  background-color: #fefcec;
  border: 1px solid #f6b03f;
}
.mod-alert.failure {
  background-color: #fff2f2;
  border: 1px solid #bd1900;
}
.mod-alert.centered {
  text-align: center;
}
.mod-alert.w-80 {
  width: 80%;
  margin: 0 auto;
}
.mod-alert div {
  float: right;
  width: 20px;
}
.mod-alert .cancel-notice {
  float: right;
  width: 50px;
}
.mod-alert .cancel-notice h3 {
  margin-bottom: 0;
  padding: 0;
}
.mod-alert .cancel-notice p {
  line-height: 1.4em;
}
.mod-alert .cancel-notice .i-alert-icon {
  display: none;
}
.mod-alert.icon {
  background-image: url("../../images/vf-irl/mod-alert-sprite.png");
  background-position: -124px -80px;
  background-repeat: no-repeat;
  min-height: 3.929em;
}
.mod-alert.icon p {
  line-height: 1em;
  padding-left: 50px;
}
.mod-alert.icon .i-alert-icon {
  background: url("../../images/vf-irl/mod-alert-sprite.png") no-repeat scroll -151px -51px transparent;
  display: block;
  float: left;
  height: 25px;
  margin-left: 13px;
  margin-top: 5px;
  width: 27px;
}
.mod-alert.icon.success {
  background-position: -247px 12px;
}
.mod-alert.icon.info {
  background-position: -124px -80px;
}
.mod-alert.icon.failure {
  background-position: 21px -177px;
}
.mod-alert.icon.paperless-billing {
  background-position: -49px -128px;
}
.mod-alert.icon .icon ~ p {
  padding-left: 60px;
}
.mod-alert p {
  margin-bottom: 0.25em;
  margin-top: 1em;
}
.mod-alert p input[type=checkbox] {
  width: auto;
}
.mod-alert p label {
  display: inline-block;
}
.mod-alert p:first-child {
  margin-top: 0;
}

.inline-element div, .nac .inline-dob div, .nac .inline-radio div {
  width: 30%;
  margin-left: 5%;
  float: left;
}
.inline-element div:first-child, .nac .inline-dob div:first-child, .nac .inline-radio div:first-child {
  margin-left: 0;
}

.nac .inline-dob div:before {
  content: "/";
  position: absolute;
  margin: 8px 0 0 -2%;
}
@media (max-width: 767px) {
  .nac .inline-dob div:before {
    margin-left: -3%;
  }
}
.nac .inline-dob div:first-child:before {
  content: "";
}
@media (max-width: 767px) {
  .nac .inline-radio div {
    width: 100%;
    margin-left: 0;
  }
}
.nac .required {
  margin-left: 2px;
}
.nac .login {
  text-align: right;
}
.nac .model-input, .nac .help-text {
  margin-bottom: 15px;
}
.nac .field-error .model-input, .nac .field-error .imei-number {
  margin-bottom: 0;
}
.nac #other-reason-field {
  display: none;
}
.nac form.nac-form {
  padding-bottom: 4em;
}
.nac form.nac-form.form-error .mod-alert.failure {
  display: block;
}
.nac form.nac-form.form-error .mod-alert.success {
  display: none;
}
.nac form.nac-form.form-blackhole .mod-alert.blackhole {
  display: block;
}
.nac form.nac-form.form-success .mod-alert.success {
  display: block;
}
.nac form.nac-form.form-success .mod-alert.failure {
  display: none;
}
.nac form.nac-form .mod-alert.failure, .nac form.nac-form .mod-alert.success, .nac form.nac-form .mod-alert.blackhole {
  display: none;
}
.nac form.nac-form .mod-alert p {
  margin-top: 0;
  margin-bottom: 0.8em;
  line-height: 1.5;
}
