body {
  font-size: 16px;
  font-weight: 300;
}

#siteWrapper {
  background-color: #F2F2F2;
}
.siteHeader {
  padding: 30px;
}
.ciForm {
  background-color: #fff;
  border: 0;
}
.ciForm button {
  font-size: 16px;
  font-family: 'bmwBold';
}
.formHead {
  background-color: #1C69D4;
  color: #fff;
  font-size: 14px;
  padding: 3px 10px;
}
.requiredIndicator {
  display: none;
}



a,
a:active,
a:focus,
select:focus,
input[type=submit]:focus,
input[type=text]:focus,
input[type=number]:focus,
input[type=email]:focus,
.checkbox input[type=checkbox]:focus ~ .field:before,
.infoBubble:focus, .infoBubble .close:focus, .buttonGroup .button:focus span, .button:focus, .radioGroup input[type=radio]:focus + label:before {
  outline: none;
  box-shadow: none;
}
.gform_wrapper {
    display: none;
}
.step2,
.step2a,
.step3,
.stepPos,
.stepAdd,
.stepOff,
.fehler {
    display: none;
}

.langSwitch a {
  font-family: 'bmwBold';
  color: #8E8E8E;
  text-decoration: none;
  margin-left: 28px;
}
body.de a.lang-de,
body.fr a.lang-fr,
body.it a.lang-it {
  color: #000;
}

.gform_confirmation_wrapper {
    font-size: 18px;
    font-family: 'bmwLight';
    font-weight: 100;
    line-height: 1.2rem;
    margin: 50px 0px 15px 0px;
    padding: 0px 0px 0px 0px;
}
.gform_confirmation_message a {
    font-size: 14px;
}
.langSwitch {
  float: right;
}
label span.legend {
    font-size: 18px;
    font-family: 'bmwLight';
    font-weight: 100;
    padding: 0;
    line-height: 2rem;
}
select {
  background-color: rgb(255, 255, 255);
}
.btn-off,
.btn-offPdf,
.btn-txt {
  width: 300px;
  float: right;
  font-family: 'bmwBold';
}
.btn-txt {
  margin-right: 30px;
}
.btn-off,
.btn-txt {
  display: none;
}
.stepPos,
.stepWunsch,
.hinweise,
.formContent {
    display: none;
}
.formContent {
  position: relative;
}
.btn-return,
.btn-cancel {
  margin-top: 15px;
}
/*.wunsch {
  float: left;
}*/
input.wunschradio {
    appearance: radio;
    -webkit-appearance: radio;
    display: none;
    float: right;
}
input[type="checkbox"] {
    appearance: checkbox;
    -webkit-appearance: checkbox;
    margin: 0;
}
label.overwrite {
    clear: both;
    margin-left: 42.5%;
    margin-bottom: 0;
    padding-top: 10px;
    padding-left: 35px;
    color: #8E8E8E;
    font-size: 14px;
    font-family: 'bmwBold';
}
label .title {
  padding-right: 15px;
}
.percent {
  float: left;
  padding: 10px 0;
}
form.wunsch .percent {
  margin-right: 10px;
}
form.wunsch label.wunsch .title {
  color: #1C69D4;
}
form.wunsch label.wunsch input {
  border-bottom: 2px solid #1C69D4;
}
.clear {
  clear: both;
}
.result-title {
  font-family: 'bmwLight';
  font-size: 20px;
}
.result-label {
  margin: 0;
}
.ciForm fieldset.result-set {
  border-bottom: 1px solid #e5e5e5;
}

.percent a {
    color: #000;
    text-decoration: none;
    font-weight: 300;
}
.percent a.active,
.actions a.active {
    font-weight: 700;
    text-decoration: underline;
    opacity: 1;
}
.stepRemove {
  position: absolute;
  bottom: 0;
  left: 0;
}

.btn-remove {
  font-size: 14px;
  color: #898989;
}

h2 {
  margin: 0.5rem 0 0 0;
}
.ciForm fieldset.step2 {
  padding-top: 0;
}
.ciForm fieldset.step2.actions {
  padding-top: 20px;
  padding-left: calc(42.5% + 5px);
}
.ciForm fieldset.step2.actions button {
  margin-left: 0;
  width: 100%;
}
.ciForm fieldset.result-set {
  padding-left: calc(42.5% + 5px);
}
.actions a {
  opacity: 0.46;
  font-size: 14px;
  color: #000000;
  font-family: 'bmwBold';
  padding-right: 10px;
}
.actions .parameter {
  padding-top: 25px;
}
.wunsch-label,
.model-label {
  padding-bottom: 5px;
}
input.wunsch,
.stepPos input,
.stepOff input {
  max-height: 40px;
  border: 2px solid #c7c7c7;
  padding: 0 10px;
  width: 100%;
  margin-bottom: 15px;
  font-family: 'bmwBold';
  font-size: 23px;
}
.stepOff input {
  width: 300px;
  margin-top: 15px;
}
.stepOff {
  clear: both;
  width: 300px;
}
@media (min-width: 768px) {
  .stepOff {
    float: right;
  }
}

/* Varianten */
form.ciForm {
  display: inline-block;
  width: 515px;
  vertical-align: top;
  border: 0;
}
form.ciForm:not(.active) {
  text-align: center;
  position: relative;
}
form.ciForm:not(.active) .formHead {
  display: none;
}
form.ciForm:not(.first) {
  margin-left: 45px;
}
form.ciForm:not(.active) a {
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  color: #898989;
  top: 50%;
  position: absolute;
  width: 100%;
  left: 0;
}
.ciForm fieldset {
  padding: 20px 30px;
  margin-top: 0;
}
.ciForm .validationMessage {
  /*width: 60%;
  top: 35px;*/
  left: 99%;
}
.siteContent,
.siteHeader,
.siteFooter .container {
    max-width: 1645px;
}
.siteContent,
.siteHeader,
.siteFooter .container {
    margin: 0 auto;
}
.siteFooter {
  height: auto !important;
  overflow: auto;
  padding: 30px;
}
.ciForm fieldset.stepAdd {
  height: 735px;
  background-color: #E2E2E2;
  border: 1px solid #979797;
}
.ciForm fieldset.dealer {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 521px) {
  .ciForm .ciSelect:after {
    top: 40px;
  }
}

@media (min-width: 521px) {
    label, .label, .radioGroup {
        margin: 25px 0;
    }
}
div.conf {
    display: none;
}
#siteWrapper {
    padding: 46.5px 46.5px 45px 46.5px;
}
#siteWrapper.de .conf.de,
#siteWrapper.fr .conf.fr,
#siteWrapper.it .conf.it {
    display: block;
}
/*h2#result {
    width: 25%;
    display: inline-block;
    margin-top: 0;
}*/
h2.result {
  font-family: 'bmwBold';
}
input.over-zins,
input.over-rest {
  display: none;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
input.over-zins:checked+label::after,
input.over-rest:checked+label::after {
  /*border: solid 0.1em #1c69d4;
  padding: 0.2em;
  padding-bottom: 0.15em;*/
  border: solid 0.12em #1c69d4;
  padding: 0.25em;
  background-clip: content-box; /* support: IE9+ */
  background-color: #1c69d4;
  height: 14.5px;
  width: 14.5px;
}
label.overwrite::after {
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 10px;
  height: 21px;
  width: 21px;
  cursor: pointer;
  border: solid 0.12em #979797;
}
.checkmark {
  display: inline;
}
input.wunschradio+.checkmark::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 0;
  height: 21px;
  width: 21px;
  cursor: pointer;
  border: solid 0.12em #979797;
}
input.wunschradio:checked+.checkmark::after {
  border: solid 0.12em #1c69d4;
  padding: 0.2em;
  padding-bottom: 0.2em;
  background-clip: content-box; /* support: IE9+ */
  background-color: #1c69d4;
  height: 14px;
  width: 14.5px;
}
.switch-legend {
  display: inline-block;
  max-width: 75%;
}
.recalc {
  width: 57.5%;
  float: right;
  margin-top: 10px;
  display: none;
}
.recalc .neu {
  color: #60C314;
}
p.formText {
    /*width: 25%;
    margin-left: 25%;*/
}
p.infotext {
    margin-bottom: 2rem;
}

@media (max-width: 521px) {
  label .title {
    padding-right: 0;
  }
}

@media (min-width: 521px) {
    p.formText {
        margin-left: 50%;
    }
}
@media (min-width: 981px) {
    p.infotext,
    p.hinweis {
        width: 50%;
    }
    p.formText {
        margin-left: 25%;
    }
}
p.hinweis {
    font-size: 12px;
}
.hinweise {
    margin-top: 50px;
}
.info {
    cursor: pointer;
    /*margin-top: 5px;*/
    margin-top: 0;
    margin-left: 0.75rem;
    top: 2px;
    position: relative;
}
.customer-label {
  margin-top: 15px;
}
.modal-footer .button {
  width: auto;
  margin: 0 auto;
}
@media (min-width: 981px) {
  .ciForm label input[type="text"].restwert {
    width: 40%;
    float: right;
  }
}
@media (min-width: 981px) {
  .ciForm .ciSelect:after {
      left: 100%;
      margin-left: -40px;
  }
}
@media (min-width: 521px) {
  .ciForm label input[type="text"].restwert {
    width: 30%;
  }
}
@media (max-width: 1740px) {
  form.ciForm {
    width: 30%;
  }
  #siteWrapper {
    padding: 30px;
  }
  .switch-legend {
    max-width: 84%;
  }
}
@media (max-width: 1280px) {
  form.ciForm {
    width: 46%;
  }
  form.ciForm.last {
    margin-left: 0;
    margin-top: 30px;
  }
}
@media (min-width: 981px) and (max-width: 1072px) {
  .ciForm label input[type="text"],
  .ciForm .ciSelect select {
    width: 42.5%;
  }
  .ciForm label .title {
    width: 57.5%;
  }
  .ciForm label input[type="text"].restwert {
    width: 25%;
  }
}
@media (min-width: 767px) and (max-width: 980px) {
  .ciForm label input[type="text"].restwert {
      width: 40%;
  }
}
@media (min-width: 1072px) and (max-width: 1280px) {
  .ciForm label input[type="text"].restwert {
      width: 40%;
  }
}
@media (min-width: 1280px) and (max-width: 1640px) {
  .ciForm label input[type="text"],
  .ciForm .ciSelect select {
    width: 42.5%;
  }
  .ciForm label .title {
    width: 57.5%;
  }
  .ciForm label input[type="text"].restwert {
    width: 25%;
  }
}
@media (min-width: 1280px) and (max-width: 1445px) {
  .ciForm label input[type="text"].restwert {
      width: 20%;
  }
}
@media (min-width: 1640px) {
  .ciForm label input[type="text"].restwert {
      width: 40%;
  }
}

@media (max-width: 767px) {
  #txtBtn {
    margin-bottom: 15px;
  }
}

@media (max-width: 981px) {
  form.ciForm {
    width: 100%;
  }
  form.ciForm:not(.first) {
    margin-left: 0;
    margin-top: 30px;
  }
  .ciForm .ciSelect:after {
    bottom: 2px;
    right: 10px;
  }
  #siteWrapper {
    padding: 0;
  }
  label.overwrite {
    margin-left: 0;
  }
  .ciForm fieldset.result-set {
    padding-left: 30px;
  }
  .ciForm fieldset.step2.actions {
    padding-left: 30px;
  }
  .btn-txt,
  .btn-off {
    float: left;
  }
  .btn-off {
    margin-bottom: 15px;
  }
  .ciForm fieldset.stepAdd {
    height: 16px;
  }
  form.ciForm:not(.active) a {
    top: auto;
  }
  .stepOff, .btn-off, .btn-offPdf, .btn-txt {
    width: 100%;
  }
}


/*@media (min-width: 521px) {
    .info {
        margin-left: 50%;
    }
}
@media (min-width: 981px) {
    .info {
        margin-top: 0.75rem;
        margin-left: 0.75rem;
    }
}*/
.legal {
    font-size: 12px;
    text-align: left;
}
.remodal-close {
    left: auto;
    right: 0;
}
.label-inline {
  display: inline;
  width: 100%;
  float: right;
  margin: 0;
}
.hidden {display: none;}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }

  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }

  .modal-body {
    padding-bottom: 30px;
  }

  .modal-footer {
    text-align: center;
  }

  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    top: -65px;
    right: -10px;
    position: relative;
  }

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

/*input:focus,
select:focus,
button:focus,
a:focus {
  border: 2px solid green !important;
}*/

.over-zins + label.overwrite {
  top: -1rem;
}
