/* SAP Marketing Cloud Form Runtime Styles (20.0.9) */

/* Base */
.sapCpRuntime {
  width: 100%;
  height: 100%;
}

.sapCpRuntime .sapCpBody {
  margin: 0;
  width: 100%;
  height: 100%;
}


/* Content Page */
.sapCpContentPage {
  box-sizing: border-box;
  width: 100%;
}

.sapCpContentPageLoading {
  opacity: 0;
  cursor: wait;
}


/* Layout */
.sapCpLayout {
  box-sizing: inherit;
  width: 100%;
  padding: 0px;
}


/* Widget */
.sapCpWidget {
  box-sizing: inherit;
  min-height: 30px;
  padding: 0px;
}

.sapCpContentPage .sapCpWidget.sapCpWidgetHidden {
  display: none;
}

.sapCpWidget~.sapCpWidget {
  margin-top: 8px;
}

.sapCpWidgetContentLeft {
  min-height: 1px;
  float: left;
  text-align: right;
}

.sapCpWidgetContentRight {
  min-height: 1px;
  text-align: left;
  vertical-align: top;
}

.sapCRLWidgetFixContent {
  clear: both;
}

.sapCpWidgetContentNoIndent {
  min-height: 1px;
}

.sapLandingPage .sapCpWidgetContentLeft .sapCpLabel {
  margin-top: 6px;
  margin-right: 10px;
  min-width: 70px;
}

.sapLandingPage .sapCpWidget:not(.sapCpCheckBoxElementWidget) .sapCpWidgetContentLeft .sapCpLabel {
  margin-top: 6px;
  margin-right: 10px;
  min-width: 70px;
}

.sapCpWidget:not(.sapCpCheckBoxElementWidget) .sapCpWidgetContentLeft .sapCpLabel {
  margin-top: 8px;
  margin-right: 10px;
}

.sapCpWidgetMandatoryMissing {
  background-color: lightcoral;
}

.sapCpWidgetInvalid {
  background-color: orange;
}


/* Button Widget */
.sapCpButtonWidget .sapCpButtonWidgetExtraText {
  display: block;
  padding-top: 5px;
}

.sapCpButtonWidget .sapCpMissingMandatoryFieldLabel {
  display: block;
  color: red;
}

.sapCpContentPage:not(.sapCpMissingMandatoryField) .sapCpButtonWidget .sapCpMissingMandatoryFieldLabel {
  display: none;
}

.sapCpButtonWidget .sapCpErrorMessageText {
  display: block;
  color: red;
}

.sapCpContentPage:not(.sapCpSubmitError) .sapCpButtonWidget .sapCpErrorMessageText {
  display: none;
}

.sapCpButtonWidget .sapCpSuccessMessageLabel {
  display: block;
  color: green;
}

.region-footer-left .sapCpButtonWidget .sapCpSuccessMessageLabel {
  display: block;
  color: white;
}

.sapCpContentPage:not(.sapCpSubmitCompleted) .sapCpButtonWidget .sapCpSuccessMessageLabel {
  display: none;
}

.sapCpContentPage:not(.sapCpSubmitCompleted) .sapCpButtonWidget .sapCpButtonWidgetDownloadLink {
  display: none;
}

.sapCpButtonWidget .sapCpButtonWidgetDownloadLink:not(.sapCpButtonWidgetDownloadLinkVisible) {
  display: none;
}

.sapCpButtonWidget.sapCpButtonWidgetLoading button {
  cursor: wait;
}


/* Label */
.sapCpLabel {
  position: relative;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sapCpLabelRequiredBefore {
  padding-left: 10px;
}

.sapCpLabel:not(.sapCpLabelRequiredBefore):after {
  content: "*";
  color: RoyalBlue;
  visibility: hidden;
}

.sapCpWidgetContentLeft .sapCpLabel:not(.sapCpLabelRequiredBefore):after {
  position: absolute;
}

.sapCpLabel:not(.sapCpLabelRequiredBefore).sapCpLabelRequired:after {
  visibility: visible;
}

.sapCpLabel.sapCpLabelRequiredBefore:before {
  /*content: "*";*/
  color: RoyalBlue;
  visibility: hidden;
  position: absolute;
  left: 1px;
  top: -2px;
}

.sapCpLabel.sapCpLabelRequiredBefore.sapCpLabelRequired:before {
  visibility: visible;
}

.sapCpCheckBox+.sapCpLabel {
  display: block;
}


/* Input */
/* .sapCpInput {
  font-size: inherit;
  font-family: inherit;
  padding: 4px 8px;
  text-overflow: ellipsis;
} */


/* CheckBox */
.sapCpCheckBox {
  vertical-align: top;
  min-width: 20px;
  float: left;
}

.sapCpCheckBox input {
  font-size: inherit;
  font-family: inherit;
}


/* DropDown */
.sapCpDropDown {
  font-size: inherit;
  font-family: inherit;
  padding: 4px 8px;
  min-width: 215px;
}

.sapCpDropDown>option {
  color: black;
}

.sapCpDropDownPlaceholder {
  color: gray;
}


/* Date Picker */
.sapCpDatePicker option {
  color: black;
}

.sapCpDatePicker .sapCpDropDown~.sapCpDropDown {
  margin-left: 10px;
}

.sapCpDatePicker .sapCpDatePickerDay {
  min-width: 50px;
  width: 23%;
  max-width: 100px;
}

.sapCpInputWidget .sapCpDatePickerMonth {
  min-width: 100px;
  width: 43%;
  max-width: 200px;
}

.sapCpInputWidget .sapCpDatePickerYear {
  min-width: 50px;
  width: 23%;
  max-width: 100px;
}


/* Button */
.sapCpButton {
  /* font-size: inherit;
  font-family: inherit;
  padding: 6px 10px;
  margin-bottom: .5rem;
  padding: .3rem 1rem;
  color: #172749;
  border: 1px solid #172749;
  border-radius: 1.2rem;
  background-color: #fff */
}

/*  For usage in landing Pages */
.sapCpContentPage {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: auto;
}

.sapCpContentPage *,
.sapCpContentPage *:before,
.sapCpContentPage *:after {
  box-sizing: inherit;
}

.sapLandingPage .sapCpWidget input[type=checkbox] {
  -webkit-appearance: checkbox;
  font-size: inherit;
  margin-top: 2px;
}

.sapCpWidget input[type=checkbox] {
  -webkit-appearance: checkbox;
  font-size: inherit;
  margin-top: 5px;
}

.sapCpCheckBox {
  line-height: 18px;
}

.sapCpInputWidget select {
  -webkit-appearance: menulist;
  background-image: none;
  height: 38px;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  width: auto;
}

/* .sapCpInputWidget .sapCpInput {
  font-family: inherit;
  font-size: inherit;
  width: auto;
  border: lightgrey solid 1px;
} */

.footer input.form-email,
.footer input.form-text {
  padding: 0.5rem;
}

.sapCpLabel {
  font-family: inherit;
  font-weight: 400;
  font-size: inherit;
  color: inherit;
  line-height: 22px;
}

.sapCpButton {
  /* font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  color: inherit;
  border-radius: 5px;
  border-style: solid;
  border-color: lightgrey;
  border-width: 1px;
  padding: 8px 20px;
  width: auto; */
}


/* Responsive layout */
@media screen and (min-width: 481px) {
  .sapCpLabel:not(.sapCpLabelRequiredBefore):after {
    right: 1px;
    top: -2px;
  }

  .sapCpLabel:not(.sapCpLabelRequiredBefore) {
    padding-right: 10px;
  }
}

@media screen and (max-width: 480px) {
  /* Widget */
  .sapCpWidgetContent {
    width: 100% !important;
    text-align: left;
  }

  /* Input */
  .sapCpWidgetContent .sapCpInput {
    width: 95%;
  }

  /* Text Area */
  .sapCpWidgetContent .sapCpTextArea {
    width: 98%;
  }

  /* DropDown */
  .sapCpWidgetContent .sapCpDropDown {
    width: 100%;
  }

  /* Date Picker */
  .sapCpWidgetContent .sapCpDatePicker .sapCpDatePickerDay {
    width: 23%;
  }

  .sapCpWidgetContent .sapCpDatePicker .sapCpDatePickerMonth {
    width: 43%;
  }

  .sapCpWidgetContent .sapCpDatePicker .sapCpDatePickerYear {
    width: 23%;
  }

  .sapCpWidgetContentRight {
    padding-left: 0% !important;
  }
}

.sapCpWidget {
  text-align: left;
}

/* .sapCpWidget input[type=text],
.sapCpWidget input[type=email],
.sapCpWidget input[type=tel],
.sapCpDropDown,
.sapCpTextArea {
  border-radius: 12px;
  border-color: #ccc;
  border-width: 1px;
} */

/* .sapCpWidget input[type=text]::placeholder,
.sapCpWidget input[type=email]::placeholder,
.sapCpWidget input[type=tel]::placeholder,
.sapCpDropDown::placeholder,
.sapCpTextArea::placeholder {
  font-size: 14px;
  color: #9B9B9B;
} */

.sapCpWidget input[type=checkbox] {
  display: inline-block;
  border-radius: 0px;
}

.sapCpCheckBox {
  margin-top: 0px;
}

.sapCpWidget input:not([type=checkbox]):not([type=radio]) {
  display: block;
  width: 100%;
}

.sapCpWidget label {
  color: #606c71;
  margin-bottom: 0;
  text-align: left;
  display: inline-block;
}

.footer .sapCpWidget label {
  color: rgb(245, 248, 255);
  margin-bottom: 0;
  text-align: left;
  display: inline-block;
}

.sapCpCheckBoxWidget label {
  vertical-align: baseline;
}

.sapCpWidget label.error {
  display: block;
  width: 100%;
  text-align: right;
  font-size: 1em;
  font-weight: normal;
  padding-right: 0;
}

div.sapCRLWidgetContent.sapCRLWidgetContentRight.sapCpWidgetContent.sapCpWidgetContentRight {
  padding-left: 0% !important;
  display: flex;
}

div.sapCRLWidgetContent.sapCRLWidgetContentLeft.sapCpWidgetContent.sapCpWidgetContentLeft {
  float: none;
  text-align: inherit;
}

.sapCpButtonWidget .sapCRLWidgetContent.sapCRLWidgetContentLeft.sapCpWidgetContent.sapCpWidgetContentLeft {
  min-width: 0% !important;
  width: 0% !important;
}

.sapCpButtonWidget .sapCRLWidgetContent.sapCRLWidgetContentRight.sapCpWidgetContent.sapCpWidgetContentRight,
.sapCpButtonWidget .sapCRLWidgetContentNoIndent {
  min-width: 100% !important;
  width: 100% !important;
}

.sapCpButtonWidget .sapCpWidgetContent,
.sapCpButtonWidget .sapCpWidgetContentNoIndent {
  /*text-align: left;*/
  margin-top: 20px;
}

.footer__left .sapCpButtonWidget .sapCpWidgetContent,
.footer__left .sapCpButtonWidget .sapCpWidgetContentNoIndent,
.footer__left .form-actions {
  text-align: left;
  margin-top: 0px;
}

.sapCpButton {
  /* border-radius: 5px;
  border-style: solid;
  border-color: #d8d8d8;
  color: #000;
  border-width: 1px;
  background: #F0F0F0;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 20px;
  padding-right: 20px;
  width: auto;
  margin-bottom: .5rem;
  padding: .3rem 1rem;
  color: #172749;
  border: 1px solid #F18B01;
  border-radius: 1.2rem;
  background-color: #fff */
}

.sapCpButton:hover {
  background: #F0F0F0;
}

.sapCpContentPage .sapCpWidget {
  /*display: flex;*/
  flex-flow: wrap;
  align-items: center;
  justify-content: flex-start;
}

.sapCpContentPage .sapCpWidget label {
  min-width: 1%;
  text-align: left;
  font-size: 14px;
}

.sapCpContentPage .sapCpWidget input[type=text] {
  flex: 1;
}

.footer .sapCpContentPage a:hover,
.footer .sapCpContentPage a:focus {
  color: #FFFFFF;
}
