.parent {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, minmax(100px, auto));
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.auto-abo-checkout-grid h1, .auto-abo-checkout-grid h2, .auto-abo-checkout-grid h3, .auto-abo-checkout-grid h4 {
  letter-spacing: 0px !important;
}

.div1 {
  grid-area: 1 / 1 / 3 / 5;
}
.div2 {
  grid-area: 3 / 1 / 5 / 5;
}
.div3 {
  grid-area: 5 / 1 / 6 / 3;
}
.div4 {
  grid-area: 5 / 3 / 6 / 5;
}
.div5 {
  grid-area: 1 / 5 / 3 / 6;
}
.div6 {
  grid-area: 5 / 5 / 6 / 6;
}
.div7 {
  grid-area: 1 / 1 / 3 / 3;
}
.div8 {
  grid-area: 1 / 3 / 3 / 5;
}
.div9 {
  grid-area: 3 / 5 / 5 / 6;
}

.ausstattung {
  margin: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.ausstattung:hover {
  background-color: #f5f5f5;
}

.del-btn-red {
  background-color: #c23c33;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
}

.row-abo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.card {
  max-width: 300px;
  margin: 0 5px;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.card-img-top {
  max-width: 100%;
  height: auto;
}

.card-body {
  position: relative;
  padding: 10px;
}

.card-status {
  position: absolute;
  top: -30px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 5px;
}

.card-status.draft {
  background-color: #d95959;
  color: rgb(255, 255, 255);
}

.card-status.publish {
  background-color: #306ea5;
  color: white;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0px;
}

.card-text {
  font-size: 14px;
  margin: 5px 0 0 0;
}

.card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 10px;
}

.card-actions .btn {
  margin: 0 5px;
}

.card-actions .btn-danger {
  color: rgb(191, 44, 44);
}

/* Auto Abo Details page */

.auto-abo-container {
  margin: 75px auto;
  max-width: 1200px;
  padding: 0px 50px;
}

.filter-button {
  background-color: #efefef;
  color: black;
  padding: 10px 15px;
  text-transform: uppercase;
  font-weight: 900;
  border: none;
  outline: none;
}

.filter-button:hover {
  cursor: pointer;
}

.gray {
  background-color: #f8f8f8;
  padding: 50px 0;
}

.gray .auto-abo-container {
  margin: 0 auto;
  max-width: 1200px;
}

.auto-abo-main-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 50px;
  grid-row-gap: 0px;
}

.auto-abo-image {
  grid-area: 1 / 1 / 2 / 3;
  position: relative;
}

.auto-abo-image img {
  width: 100%;
}

.imageslider img {
  border: 1px solid #f8f8f8
}

.imageslider .activePrev {
  border: 2px solid #82ba26;
}

.auto-abo-content {
  grid-area: 1 / 3 / 2 / 5;
  min-height: 500px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

.auto-abo-fahrzeugdaten p {
  font-size: 16px;
  line-height: 24px;
  color: #000;
}

.icon-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.icon-text {
  display: flex;
  align-items: center;
  margin-right: 32px;
}

.icon-text img {
  margin-right: 10px;
}

.auto-abo-laufzeit-container {
  margin: 50px 0;
}

.auto-abo-laufzeit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

button.auto-abo-laufzeit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  padding: 10px 35px;
  border-radius: 2px;
  position: relative;
  margin-right: 10px;
  font-size: 14px;
}

.auto-abo-laufzeit:hover {
  cursor: pointer;
}

.auto-abo-laufzeit.active {
  border-color: #82ba26;
  border-width: 2px;
}

.auto-abo-laufzeit.active::after {
  content: "";
  background: url("/wp-content/plugins/customCheckout/assets/img/circle_check.svg")
    no-repeat;
  position: absolute;
  top: -15px;
  right: 2px;
  width: 35px;
  height: 35px;
}

.icon-text span {
  font-size: 14px;
  line-height: normal;
}

.auto-abo-preis-container {
  margin-top: 35px;
}

.auto-abo-preis-row {
  display: flex;
  align-items: baseline;
}

.auto-abo-preis-row p {
  padding: 0px;
}

.auto-abo-preis {
  color: #000000;
  line-height: normal;
}

.preis {
  padding: 0px;
}

.auto-abo-mwst-hinweis {
  font-size: 12px;
  margin-top: 10px;
  color: #aaaaaa;
}

.auto-abo-preis .preis {
  font-size: 60px;
  font-weight: 800;
  margin: 0 5px;
}

.auto-abo-button {
  font-size: 20px;
  line-height: normal;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background-color: #82ba26;
  padding: 15px 25px;
  outline: none;
  border: none;
}

.auto-abo-button-secondary {
  font-size: 20px;
  line-height: normal;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  color: #82ba26;
  background-color: #ffffff;
  padding: 15px 25px;
  outline: none;
  border: none;
}

.auto-abo-button:disabled {
  background-color: #aaaaaa;
  cursor: not-allowed;
}

.alert-success {
  background-color: #82ba26;
  color: #ffffff;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.auto-abo-button:hover, .auto-abo-button-secondary:hover {
  cursor: pointer;
}

.auto-abo-ausstattung-element {
  width: 30%;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #000000;
  margin: 7px 0;
  line-height: normal;
}

.auto-abo-ausstattung-element img {
  margin-right: 10px;
}

.auto-abo-ausstattung {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.bild-hinweis {
  font-size: 10px;
  color: #aaaaaa;
  position: absolute;
  bottom: 0px;
  left: 0px;
  line-height: normal;
}

.auto-abo-bild-collage {
  width: 100%;
  position: relative;
  background-color: #f8f8f8;
}

.auto-abo-bild-caption {
  color: #aaaaaa;
  font-size: 10px;
  text-align: center;
  display: block;
  line-height: normal;
}

.auto-abo-bild-collage-overlay {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  left: 50%;
  right: 50%;
  transform: translate(-50%, 0%);
}

.auto-abo-bild-collage-overlay h2 {
  background-color: #000000;
  padding: 10px 15px;
  color: #ffffff;
  max-width: max-content;
}

.auto-abo-bild-collage-overlay p {
  background-color: #000000;
  padding: 10px 15px !important;
  color: #ffffff;
  max-width: max-content;
}

.auto-abo-bild-collage img {
  width: 100%;
  height: auto;
}

.contact-banner {
  background-color: #82ba26;
  color: #ffffff;
  padding: 50px 0 40px;
}

.contact-banner h2, .contact-banner h3, .contact-banner a {
  color: #ffffff;
}

.contact-banner a {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 900;
  line-height: 33px;
}

.contact-banner a img {
  margin-right: 10px;
}

.contact-banner .col-50 {
  width: 49%;
  display: flex;
  flex-direction: column;
  min-width: 320px;
}

@media (max-width: 975px) {
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important; 
    grid-column-gap: 0px;
    grid-row-gap: 15px;
  }

  .auto-abo-container {
    padding: 0 20px;
  }

  .auto-abo-main-content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr auto;
    grid-column-gap: 0px;
    grid-row-gap: 50px;
  }

  button.auto-abo-laufzeit {
    padding: 12px 10px;
    justify-content: space-between;
    margin-right: 0px;
  }

  .auto-abo-image {
    grid-area: 1 / 1 / 2 / 5;
  }

  .auto-abo-content {
    grid-area: 2 / 1 / 3 / 5;
    min-height: unset;
  }

  .auto-abo-ausstattung-element {
    width: 100%;
  }

  .auto-abo-ausstattung {
    justify-content: center;
  }

  .bild-hinweis {
    position: unset;
    display: block;
    margin-top: 10px;
    line-height: 15px;
  }

  .icon-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .month {
    font-size: 14px;
    line-height: 25px;
  }

  .price {
    line-height: 15px;
  }

  .auto-abo-preis-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .auto-abo-preis {
    height: 80px;
    line-height: normal;
  }

  .auto-abo-bild-collage {
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
  }
  
  .auto-abo-bild-caption {
    position: unset;
    color: #aaaaaa;
    font-size: 10px;
    padding: 0px 20px;
    text-shadow: none;
    line-height: normal;
  }

  .auto-abo-bild-collage-overlay {
    position: unset;
    transform: unset;
  }
}

/* Checkout */

.auto-abo-checkout-header {
  background-color: #82ba26;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.auto-abo-checkout-header-content {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  margin: 0 auto;
  color: #ffffff;
}

.auto-abo-checkout-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  max-width: 1200px;
  padding: 0 50px;
  margin: 100px auto;
}

.auto-abo-form {
  grid-area: 1 / 1 / 2 / 5;
}
.auto-abo-overview {
  grid-area: 1 / 6 / 2 / 8;
  position: relative;
}

.checkout-card {
  border: 1px solid #bbbbbb;
  border-radius: 5px;
  padding: 15px;
}

.checkout-card:last-child {
  margin-bottom: 0;
}

.checkout-card-image img {
  width: 100%;
}

.auto-abo-overview .checkout-card {
  position: sticky;
  top: 20px;
}

h3.checkout-card-title {
  font-size: 18px !important;
  text-transform: unset !important;
  font-weight: 500;
  padding-bottom: 0px !important;
}

hr.checkout-card-divider {
  border: 1px solid #bbbbbb;
  margin: 10px 0;
}

.checkout-card-subtitle {
  font-size: 14px;
  color: #000000;
  line-height: normal;
}

.checkout-card-content {
  display: flex;
  justify-content: space-between;
  line-height: normal;
}

.checkout-card-content span, .checkout-card-content p, .checkout-card-content div {
  line-height: normal;
}

.checkout-card-content-col {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
}

.checkout-card-content p,
.checkout-card-content-col p {
  font-size: 14px;
  color: #000000;
}

.checkout-card-monthly-rate-value {
  font-weight: 900;
  color: #000000;
  font-size: 35px;
  line-height: 30px;
}

.checkout-card-subtitle-value {
  font-size: 14px;
  line-height: 18px;
  color: #aaaaaa !important;
}

.multiple {
  margin-bottom: 15px;
}

.mwst-hinweis {
  font-size: 12px;
  color: #aaaaaa;
}

.checkout-card-value {
  font-size: 14px;
  color: #000000;
}

h2.auto-abo-heading {
  font-weight: 900;
  padding-bottom: 0px;
}

.form-control:focus {
  border-color: #82ba26;
  box-shadow: 0 0 0 0.25rem #82ba2640;
}

.form-check-input:checked {
  background-color: #82ba26 !important;
  border-color: #82ba26 !important;
}

.actioncontainer {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: absolute;
  bottom: 0px;
}

/* Step 2 */
.currentMonth,
.nextMonth {
  font-size: 14px;
  color: #aaaaaa;
  border-radius: 5px;
  max-width: 285px;
  border: 1px solid #aaaaaa;
}

.monthTitle {
  font-size: 14px;
  color: #000000;
  padding: 10px 10px;
  display: inline-flex;
}

.calendar-items {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.calendar-item {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
}

.calendar-item.disabled {
  cursor: not-allowed;
  background-color: #efefef;
}

.day-number.weekend.disabled,
.day-number.disabled {
  color: #aaaaaa;
}

.day-number {
  font-size: 14px;
  color: #000000;
  font-weight: bold;
}

.day-number.selected {
  background-color: #82ba26;
  color: #ffffff;
}

.day-number.selected:hover {
  background-color: #82ba26;
  color: #ffffff;
}

.day-name {
  font-size: 10px;
  line-height: 10px;
  text-transform: uppercase;
}

.calendar-item:not(.disabled):hover {
  cursor: pointer;
  background-color: #82ba2640;
}

.calendar-item.selected {
  cursor: pointer;
  background-color: #82ba26;
}

.calendar-item.selected:hover {
  cursor: pointer;
  background-color: #82ba26;
}

.calendar-item.selected .day-number,
.calendar-item.selected .day-name {
  color: #ffffff;
}

.auto-abo-send-notice {
  font-size: 12px;
  color: #aaaaaa;
  margin-top: 10px;
  line-height: normal;
}

.acc-button {
  border: none;
  outline: none;
  background-color: #ffffff;
}

#FAF {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*Topbar*/

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0px 50px;
  margin: 100px auto 0;
}

.topbar-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: normal;
}

.topbar-step.active, .topbar-step.done {  
  color: #82ba26;
}

.topbar-step .circle {
  width: 15px;
  height: 15px;
  margin-top: 15px;
  border-radius: 50%;
  background-color: #cccccc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.small-circle {
  width: 7px;
  height: 7px;
  background-color: #ffffff;
  border-radius: 50%;
}

.topbar-step .circle.done,
.topbar-step.active .circle,
.topbar-step.done .circle {
  background-color: #82ba26;
}

.topbar-line {
  width: 100%;
  margin: 40px 15px 0;
  height: 2px;
  background-color: #cccccc;
}

.topbar-line.active, .topbar-line.done {
  background-color: #82ba26;
}

/* abschluss */

.auto-abo-abschluss-image {
  grid-area: 1 / 1 / 2 / 5;
}

.auto-abo-abschluss-image img {
  width: 100%;
}

.auto-abo-info {
  grid-area: 1 / 5 / 2 / 8;
  position: relative;
}

.checkout-card-content.row {
  display: flex;
  justify-content: space-between;
  line-height: normal;
}

.checkout-card-content.col-6 {
  display: flex;
  flex-direction: column;
}

.md-row {
  display: flex;
  justify-content: space-between;
}

table.auto_abo_table {
  border: none !important;
  text-align: center !important;
  margin-top: 20px !important;
  margin-bottom: 100px !important;
  table-layout: auto !important;
}

table.auto_abo_table th {
  text-transform: uppercase !important;
  font-weight: 800 !important;
  color: #000000 !important;
  font-size: 16px !important;
}

.appendableBody tr td{
  font-size: 14px !important;
  line-height: normal !important;
  padding: 10px !important;
}

.auto_abo_head {
  text-align: left;
}

.highlight-table {
  background-color: #82ba26 !important;
  color: #ffffff !important;
}

table.auto_abo_table th.highlight-table{
  color: #ffffff !important;
}

table.auto_abo_table th {
  padding: 20px 0 20px 0 !important;
}

.schlagwort {
  text-transform: uppercase;
  font-weight: 800; 
  color: #000000;
  line-height: normal;
}

table.auto_abo_table tr:not(:first-child) {
  padding: 30px 0 !important;
  border-top: 1px solid #efefef !important;
}

td img {
  margin-top: 5px;
}

label {
  line-height: normal;
}

.form-check {
  line-height: normal;
}



@media (max-width: 1000px) {
  .auto-abo-checkout-grid {
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
  }

  .auto-abo-overview {
    margin-top: 50px;
  }

  .auto-abo-overview .checkout-card {
    position: unset;
  }

  .actioncontainer {
    position: unset;
    margin-top: 20px;
  }

  .auto-abo-checkout-header {
    margin-bottom: 20px;
  }

  .auto-abo-checkout-header-content {
    padding: 10px;
  }

  .auto-abo-checkout-header-content span {
    font-size: 12px;
  }

  table.auto_abo_table th {
    padding: 10px 15px !important;
    line-height: normal;
  }

  table.auto_abo_table tr td:first-child, table.auto_abo_table tr th:first-child {
    position: sticky;
    left: 0px;
    background-color: #ffffff;
  }

  .appendableBody tr td{
    font-size: 13px !important;
    line-height: normal !important;
    padding: 10px !important;
  }

  .topbar {
    margin: 30px 20px 0;
    padding: 0px;
    justify-content: unset;
    width: unset;
  }

  .topbar-step,
  .topbar-line {
    display: none;
  }

  .topbar-line.active {
    width: 100%;
  }

  .auto-abo-checkout-grid {
    margin-top: 40px;
  }

  .checkout-card-content-calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nextMonth {
    margin-top: 20px;
  }

  .md-row {
    display: flex;
    flex-direction: column;
  }
  
.table-overflow-container {
  overflow-x: scroll
}
}

@media (max-width: 700px) {
  .topbar {
    margin-top: 80px !important;
  }

  .auto-abo-checkout-grid, .auto-abo-send-notice {
    margin-bottom: 80px !important;
  }
}