
/* LIST RED */
ul.is-style-red-list {
    list-style: none;
    padding-left: 0;
}

ul.is-style-red-list li {
    position: relative;
    padding-left: 27px;
    margin-bottom: 5px; 
}

ul.is-style-red-list li:before {
    content: ""; 
    position: absolute;
    left: 0;
    top: 6px;
    width: 11px; 
    height: 11px; 
    background-color: #E20D19;
}

ol.is-style-red-list {
    counter-reset: item;
}


ol.is-style-red-list {
    list-style: none; /* remove default numbering */
    padding-left: 0;
}

ol.is-style-red-list li {
    position: relative;
    padding-left: 20px; 
    margin-bottom: 5px; 
}

ol.is-style-red-list li:before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #E20D19;
}

/* LIST RED */
ul.is-style-white-list {
    list-style: none;
    padding-left: 0;
}

ul.is-style-white-list li {
    position: relative;
    padding-left: 27px;
    margin-bottom: 5px; 
}

ul.is-style-white-list li:before {
    content: ""; 
    position: absolute;
    left: 0;
    top: 6px;
    width: 11px; 
    height: 11px; 
    background-color: white;
}

ol.is-style-white-list {
    counter-reset: item;
}


ol.is-style-white-list {
    list-style: none; 
    padding-left: 0;
}

ol.is-style-white-list li {
    position: relative;
    padding-left: 20px; 
    margin-bottom: 5px; 
}

ol.is-style-white-list li:before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: white;
}

/* CIRCLE LISTS */

/* LIST RED CIRCLE */
ul.is-style-red-circle {
    list-style: none;
    padding-left: 0;
}

ul.is-style-red-circle li {
    position: relative;
    padding-left: 21px;
    margin-bottom: 5px;
}

ul.is-style-red-circle li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    background-color: #E20D19;
    border-radius: 50%;
}


/* HEADLINE LINK+PFEIL */
.is-style-headline-link {
    position: relative;
}

.is-style-headline-link a:hover {
    font-weight: 500;
}

.is-style-headline-link:after {
    position: relative;
    width: 25px;
    height: 15px; 
    display: inline-block;
    content: "";
    background-image: url('../aebo/assets/arrow-right.svg');
    background-size: contain; 
    background-repeat: no-repeat;     
    margin-left: 10px;
    bottom: 0px;
}

.is-style-headline-link a {
    text-decoration: none;
}

/* BUTTON PFEIL*/
.is-style-button-arrow-right a,
.is-root-container .is-style-button-arrow-right div {
    position: relative;
}

.is-style-button-arrow-right a:after,
.is-root-container .is-style-button-arrow-right div:after {
    position: relative;
    width: 25px;
    height: 15px; 
    display: inline-block;
    content: "";
    background-image: url('../aebo/assets/arrow-right.svg');
    background-size: contain; 
    background-repeat: no-repeat;     
    margin-left: 10px;
    bottom: -1px;
}

/* BUTTON TELEFON*/
.is-style-button-phone a,
.is-root-container .is-style-button-phone div {
    position: relative;
}

.is-style-button-phone a:after,
.is-root-container .is-style-button-phone div:after {
    position: relative;
    width: 21px;
    height: 26px;
    display: inline-block;
    content: "";
    background-image: url('../aebo/assets/phone-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 15px;
    bottom: -7px;
}

/* BUTTON E-MAIL */
.is-style-button-message a,
.is-root-container .is-style-button-message div {
    position: relative;
}

.is-style-button-message a:after,
.is-root-container .is-style-button-message div:after {
    position: relative;
    width: 26px;
    height: 26px;
    display: inline-block;
    content: "";
    background-image: url('../aebo/assets/message-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10px;
    bottom: -4px;
}

/* READ MORE ARROW */
.is-style-read-more-arrow {
    line-height: 0;
    color: transparent;
}

.is-style-read-more-arrow:after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("../aebo/assets/arrow-right-circle-red.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    margin-left: 10px;
}

/* HEADLINE CIRCLE */
.is-style-headline-circle {
    position: relative;
    z-index: 0;
}

.is-style-headline-circle:before {
    content: '';
    display: block;
    background-color: white;
    width: 100%;
    height: 300px;
    position: absolute;
    z-index: -1;
    filter: blur(42px);
    border-radius: 100%;
    opacity: 0.7;
    left: -10%;
    top: -15%;
}

.is-style-main-navigation .wp-block-navigation-submenu__toggle svg {
     display: none; 
}

.is-style-main-navigation .wp-block-navigation-submenu__toggle:after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url("../aebo/assets/arrow-down.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
}

.is-style-main-navigation > li {
    padding: 5px 15px!important;
}

.is-style-main-navigation .has-child:hover {
    background-color: white;
}

.is-style-main-navigation .wp-block-navigation-submenu {
    border: none!important;
    margin-left: 1px;
    /* position: relative; */
    /* left: 1px; */
}

/*
.is-style-main-navigation .current-menu-item > a {
    border-bottom: 3px solid #E10E19;
    margin-bottom: 0;
}
*/

.is-style-main-navigation.wp-block-navigation > .current-menu-item > a {
    border-bottom: 3px solid #E10E19;
    margin-bottom: 0;
}

.is-style-main-navigation .wp-block-navigation-submenu .current-menu-item > a {
    color: #E10E19;
}

.is-style-main-navigation a {
    border-bottom: 3px solid transparent;
}

.is-style-main-navigation a:hover {
    border-bottom: 3px solid #E10E19;
    margin-bottom: 0;
}

.is-style-main-navigation .wp-block-navigation-submenu a:hover {
    border-bottom: 3px solid transparent;
}

.is-style-main-navigation ul.wp-block-navigation-submenu span {
    margin-bottom: 3px;
}

.is-style-main-navigation ul.wp-block-navigation-submenu span:hover {
    color: #E10E19;
}

.is-style-main-navigation li:first-of-type {
    padding-left: 0!important;
}


/* DETAILS RED */
.is-style-details-red {
  border: none;
  padding: 0;
  margin: 0;
}

.is-style-details-red summary {
  position: relative;
  cursor: pointer;
  padding: 0.75em 0.75em 0.75em 2em;
  font-weight: 600;
  list-style: none;
  outline: none;
    font-size: 16px;
}

.is-style-details-red summary::-webkit-details-marker {
  display: none;
}

.is-style-details-red summary::before {
    content: "";
    position: absolute;
    left: 0.5em;
    top: 24px;
    transform: translateY(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 12px solid #E20D19;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transition: transform 0.2s ease;
}

.is-style-details-red[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.is-style-details-red summary:hover {
  color: #E20D19;
}

.is-style-details-red p {
  margin: 0.5em 0 1em 2em;
  color: #333;
}

.is-style-details-red + .is-style-details-red {
  border-top: 2px solid #ddd;
  margin-top: 0.75em;
  padding-top: 0.75em;
}

/* DETAILS ALTERNATIVE */
details.is-style-details-alt  {
    border-bottom: 2px solid black;
    margin-top: 10px;
    margin-bottom: 10px;
}

details.is-style-details-alt:open {
    padding-bottom: 20px;
}

details.is-style-details-alt:last-of-type {
    border-bottom: unset;
}

.is-style-details-alt summary {
    font-size: 24px;
}


details.is-style-details-alt summary {
  list-style: none; 
  cursor: pointer;
  position: relative;
  padding-left: 1.5em; /* space for svg arrow */
}

details.is-style-details-alt summary::-webkit-details-marker {
  display: none;
}

details.is-style-details-alt summary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 25px;
    transform-origin: center center; /* default */
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('./assets/details-arrow.svg');
    transition: transform 0.2s ease;
}

details.is-style-details-alt[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
}


/* QUERY ALT */
.is-style-query-alt .wp-block-post-excerpt__more-link {
    background-color: #32373c;
    border-width: 0;
    color: #fff;
    font-family: var(--wp--preset--font-family--roboto);
    line-height: inherit;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
}

.is-style-query-alt .wp-block-post-excerpt__more-link:after {
    position: relative;
    width: 25px;
    height: 15px;
    display: inline-block;
    content: "";
    background-image: url('../aebo/assets/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10px;
    bottom: -1px;
}

.is-style-query-alt .wp-block-post:nth-of-type(even) {
    background-color: white;
}

.is-style-query-alt .wp-block-post:nth-of-type(even) .wp-block-columns {
    flex-direction: row-reverse!important;
}



/* VERTICAL LIST/TAGCLOUD */

/*
.tagcloud span {
    background-color: white;
    padding: 5px 12px;
}

.tagcloud span:hover {
    background-color: #cccccc;
    pointer-events: auto;
}

.tagcloud span a {
    text-decoration: none;
}

.tagcloud {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
*/

ul.wp-block-list.is-style-vertical-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding-left: 0;
}

ul.wp-block-list.is-style-vertical-list li {
    background-color: #F2F2F2;
    padding: 5px 14px;
}

.is-style-vertical-list.has-white-background-color,
.is-style-vertical-list.has-red-background-color {
    background-color: unset!important;
}

.is-style-vertical-list.has-white-background-color li {
    background-color: white!important;
}

.is-style-vertical-list.has-red-background-color li {
    background-color: var(--wp--preset--color--red)!important;
}

/* TABLE ALTERNATIVE */
.is-style-table-alt {
    margin-top: 0px;
    margin-bottom: 30px;
    max-width: 400px;
}

/* Table base styles */
.is-style-table-alt table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

/* Table cells */
.is-style-table-alt td,
.is-style-table-alt th {
    padding: 8px 12px;
}

/* Left column = day */
.is-style-table-alt td:first-child {
    text-align: left;
    font-weight: 400;
    color: var(--wp--preset--color--black);
}

/* Right column = time */
.is-style-table-alt td:last-child {
    text-align: right;
    color: var(--wp--preset--color--black);
}

/* Alternate background stripes */
.is-style-table-alt tr:nth-child(even) {
    background-color: #F2F2F2;
}

.is-style-table-alt tr:nth-child(odd) {
    background-color: #ffffff;
}

figure.is-style-stripes {
    border-bottom: none!important;
}

.is-style-stripes thead {
    color: #E20D19;
    font-weight: 700!important;
    border-bottom: none;
}

.is-style-table-alt table,
.is-style-table-alt th,
.is-style-table-alt td {
    border: none !important;
}

/* SCROLLBAR FIX */
.wp-block-table.is-style-stripes {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #E20D19 #f2f2f2;
}

.wp-block-table.is-style-stripes::-webkit-scrollbar {
    height: 8px;
}

.wp-block-table.is-style-stripes::-webkit-scrollbar-track {
    background: #f2f2f2;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.wp-block-table.is-style-stripes::-webkit-scrollbar-thumb {
    background-color: #E20D19;
    border-radius: 4px;
    border: 2px solid #f2f2f2;
}

.wp-block-table.is-style-stripes table {
    min-width: 100%;
}

@media (max-width: 550px) {
  .wp-block-table.is-style-stripes::before {
      content: "← →";
      display: block;
      font-size: 12px;
      font-weight: 700;
      color: #444;
      text-align: right;
      margin-bottom: 6px;
  }
}
/* SCRLLBAR FIX END */



/* ACCORDION ARROW */
.is-style-accordion-arrow button .wp-block-accordion-heading__toggle-icon {
    color: transparent;
    padding-right: 10px;
}

.is-style-accordion-arrow button .wp-block-accordion-heading__toggle-icon::before {
    content: "";
    position: relative;
    left: 7px;
    top: 40%;
    width: 20px;
    height: 25px;
    transform-origin: center center;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('./assets/details-arrow.svg');
    transition: transform 0.2s ease;
}

.is-style-accordion-arrow .wp-block-accordion-heading button span, .is-style-accordion-arrow .wp-block-accordion-heading button span:hover {
    text-decoration: none!important;
}

.is-style-accordion-arrow .wp-block-accordion-panel {
    margin-left: 38px;
    margin-bottom: 20px!important;
}

.is-style-accordion-arrow div  {
    border-bottom: 2px solid black;
    margin-top: 10px;
    margin-bottom: 10px;
}

.is-style-accordion-arrow div:last-of-type {
    border-bottom: unset;
}

.is-style-accordion-arrow .is-open button .wp-block-accordion-heading__toggle-icon::before {
  transform: translateY(-50%) rotate(45deg)!important;
}


/* REVERSE COLUMNS */

@media only screen and (max-width: 781px) {
    .is-style-reverse-columns {
        flex-direction: column-reverse;
    }
    
    .is-style-nogap-columns {
        gap: 0!important;
    }
}
