/* 
  Termination Formular/Confirmation CSS Tweaks
*/
form {
  margin-top: 20px !important;
}
div[data-type="redirect"] strong {
  font-family: WebdeSansMedium;
  font-weight: 400;
}
body[data-product] .grid > .container {
  padding-bottom: 0px !important;
}
body[data-product] .teaser {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}
body[data-product] .teaser .visual {
  display: flex;
  justify-content: end;
}
@media screen and (max-width: 659.9px) {
  body[data-product] .teaser .visual {
    justify-content: center;
  }
}
body[data-product] .teaser .visual img {
  width: 125px !important;
  height: 125px !important;
}
body[data-product] .grid > div[data-cc="text"]:nth-child(8) {
  padding-top: 20px;
}
body[data-product] .grid > div[data-cc="text"]:nth-child(6),
body[data-product] .grid > div[data-cc="text"]:nth-child(7),
body[data-product] .grid > div[data-cc="text"]:nth-child(9),
body[data-product] .grid > div[data-cc="text"]:nth-child(10) {
  padding-top: 0px;
}
body[data-product] .grid > div[data-cc="text"]:nth-child(5) p:last-child,
body[data-product] .grid > div[data-cc="text"]:nth-child(8) p:last-child,
body[data-product] .grid > div[data-cc="text"]:nth-child(6) p,
body[data-product] .grid > div[data-cc="text"]:nth-child(7) p,
body[data-product] .grid > div[data-cc="text"]:nth-child(9) p {
  margin-bottom: 0px;
}
input[type="radio"]:disabled,
input[type="checkbox"]:disabled {
  display: none;
}
select[name="terminationReason"][data-termination-type="EXTRAORDINARY"] option[data-termination-type="IN_DUE_TIME"] {
  display: none;
}
select[name="terminationReason"][data-termination-type="IN_DUE_TIME"] option[data-termination-type="EXTRAORDINARY"] {
  display: none;
}
@media print {
  /* Hiding the "hier" link in the print view */
  body[data-product] .grid > div[data-cc="text"]:nth-child(5) p:first-child {
    display: none;
  }
  body[data-product] .teaser .visual {
    display: block;
  }
}
/* hiding all message in non-js case */
body:not(.js) .grid > div[data-cc="message"] {
  display: none;
}
/* Show at least "Store" and "No js" message in non-js case */
body:not(.js) .grid > div[data-cc="message"]:nth-child(2),
body:not(.js) .grid > div[data-cc="message"]:nth-child(9) {
  display: inherit;
}
