.event-detail-wrapper.template-standard-1 { border: 2px solid var(--cel_primary_color); }
.template-standard-1 .event-date-info { transition: transform .2s, -webkit-transform .2s; border-style: solid; border-width: 2px;  border-color: var(--cel_primary_color); box-shadow: 0 1px 1px rgba(0,0,0,.05); border-radius: 4px; margin-bottom: 20px; padding: 10px; }
.template-standard-1 .event-date-info:hover {  transform: scale(1.03);  box-shadow: 1px 3px 13px 0px rgba(0, 0, 0, 0.48); }
.event-detail-wrapper.template-standard-1 .cel-date-list .cel-date-box { padding: 15px; border: 1px solid #ddd; background-color: #eaf2f8; border-radius: 4px; display: flex; flex-direction: column; height: 100%;}
.template-standard-1 .event-filter-section { box-shadow: none; padding: 10px 10px 0; height: 100%; }
.template-standard-1 .event-info-wrapper .cel-date-sec-box .cel-date-sec-heading { font-weight: normal; margin-bottom: 2px; }
.cel-event-shortcode-box.template-standard-1 .event-detail-wrapper, 
.event-listing-page.template-standard-1 .event-detail-wrapper { border: 0px solid transparent; padding: 0; }
.template-standard-1 .date-top-box .cel-event-description { margin-top: 15px; margin-bottom: 20px; word-break: break-word; }
.template-standard-1 .cel-date-middle-content { border-top: 1px solid var(--cel_primary_color); margin-left: -10px; margin-right: -10px; padding: 10px 10px 0; }
.template-standard-1 .actions-bottom { border-top: 1px solid var(--cel_primary_color); margin-left: -10px; margin-right: -10px; padding: 10px 10px 0; }
.template-standard-1 .cel-date-list .actions-bottom {  border-top: none;  margin-left: 0; margin-right: 0; padding: 0; }
.template-standard-1 .event-filter-section.open-filter { box-shadow: 1px 3px 13px 0px rgba(0, 0, 0, 0.48); padding: 10px 10px 15px 10px; margin-bottom: 20px; }
.template-standard-1 .event-filter-section.open-filter .filter-box-heading.bg-color-primary { box-shadow: none; }
.template-standard-1 .event-filter-section .filter-form-wrapper { display: none; }
.template-standard-1 .event-filter-section.open-filter .filter-form-wrapper { display: block; animation: appointments 2s linear forwards; }
.template-standard-1 .event-filter-section .filter-box-heading { font-family: inherit; }
.template-standard-1 .filter-box-heading.bg-color-primary { background-color: var(--cel_btn_bg_color); border: 1px solid var(--cel_btn_bg_color); color: var(--cel_btn_color); font-weight: bold; margin-top: -10px; margin-left: -10px; margin-right: -10px; margin-bottom: 12px; padding: 10px; display: flex; justify-content: space-between; align-items: center; box-shadow: 1px 3px 13px 0px rgba(0, 0, 0, 0.48); column-gap: 10px; cursor: pointer; }
.template-standard-1 .filter-box-heading .opener-icon { background-image: url('images/search-plus.png'); background-size: cover; background-repeat: no-repeat; background-position: center; display: block; width: 20px; height: 20px; }
.template-standard-1 .open-filter .filter-box-heading .opener-icon { background-image: url('images/search-minus.png'); background-size: cover; background-repeat: no-repeat; background-position: center; display: block; width: 20px; height: 20px; }
.template-standard-1 .event-filter-section form { margin-bottom: 0; }
.template-standard-1 .event-filter-section .actions { display: flex; align-items: center; column-gap: 10px; }
.template-standard-1 .form-groups .form-group { display: block; }
.template-standard-1 .form-groups .form-group .label { width: 100%; color: #555; display: inline-block; margin-bottom: 5px; line-height: 1.5 } 
.template-standard-1 .form-groups .select, 
.template-standard-1 .form-groups .form-group input { line-height: 1.5; border: 1px solid #ccc; background: transparent; box-shadow: inset 0 1px 1px rgba(0,0,0,.075); width: 100%; color: #555; font-size: inherit; font-family: inherit; }
/*.template-standard-1 .event-filter-section #select-event_category { min-height: 200px; }*/
.template-standard-1 .action .primary.btn-primary,
.template-standard-1 .action .btn.btn-secondary { padding: 5px 8px; }
.template-standard-1 .event-list-template .btn { min-width: 180px; text-align: center; }
.event-date-info .cel-date-title { padding: 10px 30px 10px 0px; margin: 0px; }
.template-standard-1 .sub-title { margin-top: 0; margin-bottom: 12px; }
.template-standard-1.event-detail-wrapper .cel-date-list { row-gap: 20px; }
.template-standard-1 .trainer-list { display: flex; flex-direction: column; gap: 5px; }
.template-standard-1 .cel-series-location .cel-date-info {  margin-bottom: 10px; }
.template-standard-1 .cel-series-location .cel-date-info:last-child {  margin-bottom: 0px; }
/* CMD-847: tiles per row */
.template-standard-1 .cel-standard-tiles-row { row-gap: 20px; }
.template-standard-1 .cel-standard-tile { display: flex; }
.template-standard-1 .cel-standard-tile > .event-date-info { width: 100%; margin-bottom: 0; display: flex; flex-direction: column; position: relative; }
.template-standard-1 .cel-standard-tile .cel-date-middle-content { flex-grow: 1; }
@media screen and (min-width: 1400px) {
    .template-standard-1 .cel-standard-tiles-row.cel-tiles-many > * { flex: 0 0 auto; width: calc(100% / var(--cel-tiles-row, 6)); }
}
/* CMD-847: headline + icon per data */
.template-standard-1 .cel-date-middle-content .cel-date-sec-box { margin-bottom: 10px; }
.template-standard-1 .cel-date-middle-content .cel-date-sec-heading { font-weight: 600; }
.template-standard-1 .location-icon-text { display: flex; align-items: flex-start; column-gap: 5px; }
.template-standard-1 .cel-date-time,
.template-standard-1 .cel-date-main-trn { column-gap: 5px; }
.template-standard-1 .cel-cheapest-toggle { display: inline-flex; align-items: center; column-gap: 5px; }
/* CMD-847: traffic light like in the celanio frontend */
.template-standard-1 .cel-traffic-light { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; column-gap: 4px; padding: 5px 7px; background-color: #f5f5f5; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.15); cursor: default; }
.template-standard-1 .cel-traffic-light .cel-tl-dot { display: block; width: 12px; height: 12px; border-radius: 50%; background-color: #dddddd; }
.template-standard-1 .cel-traffic-light.is-green .cel-tl-green { background-color: #4cd137; }
.template-standard-1 .cel-traffic-light.is-yellow .cel-tl-yellow { background-color: #ffa500; }
.template-standard-1 .cel-traffic-light.is-red .cel-tl-red { background-color: #ff0000; }
.template-standard-1 .cel-traffic-light ~ .date-top-box .cel-date-title { padding-right: 70px; }
/* CMD-847: "Details" and "Booking" side by side */
.template-standard-1 .event-date-info .actions-bottom.cel-actions-inline { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 10px 0; margin-top: auto; text-align: right; }
.template-standard-1 .actions-bottom.cel-actions-inline .action { margin: 0; padding: 0; }
/* Details left, Booking right: let the buttons shrink (no 180px min-width) so both fit even with 5-6 tiles per row. */
.template-standard-1 .event-list-template .actions-bottom.cel-actions-inline .btn { min-width: 0; }
@media screen and (max-width: 1199px) {
    .template-standard-1 .form-groups .form-group .label { width: 30%; padding-right: 5px; word-break: break-word; }
    .template-standard-1 .form-groups .select, 
    .template-standard-1 .form-groups .form-group input { width: 70%; }
    .template-standard-1 .event-filter-section #select-event_category { overflow-x: scroll; }
}
@media screen and (max-width: 991px) { 
    .event-detail-wrapper.template-standard-1 .cel-date-list .cel-date-box { width: 100%; }
    .template-standard-1 .form-groups .form-group { display: flex; }
}
@media screen and (max-width: 767px) {
    .template-standard-1 .actions-bottom.cel-actions-inline .action,
    .template-standard-1 .actions-bottom.cel-actions-inline .btn { width: 100%; }
    .template-standard-1 .form-groups .form-group { flex-wrap: wrap; }
    .template-standard-1 .form-groups .select, .template-standard-1 .form-groups .form-group input { width: 100%; }
    .template-standard-1 .form-groups .form-group .label { width: 100%; }
   .template-standard-1 .cel-date-middle-content .action { margin-top: 25px; }
   .event-detail-wrapper.template-standard-1 .cel-date-list .cel-date-box { padding: 15px 10px; }
   .template-standard-1 .cel-series-location .cel-date-info {  margin-bottom: 5px; }
}
@media screen and (max-width: 425px) {
    .template-standard-1 .filter-box-heading.bg-color-primary > span:first-child { width: 93%; }
    .template-standard-1 .filter-box-heading .opener-icon { width: 7%; }
    .template-standard-1 .date-price-toggle-wrapper .cel-date-info { column-gap: 10px; }
    /*.template-standard-1 .event-filter-section #select-event_category { min-height: 160px; }*/
}