.trackmaps-plugin .trm-title-badge {
    font-size: 60px;
    letter-spacing: 0px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 9px;
    font-family: var(--font2);
    display: inline-block;
    line-height: 1em;
}
.trackmaps-plugin .trm-view-toggle button.trm-toggle-btn{
    border: 3px solid #bcbcbc!important;
}
.trackmaps-plugin .trm-view-toggle button.trm-toggle-btn.active {
    border-color: #000!important;
}
.trackmaps-plugin .trm-toggle-btn {
    min-width: auto;
    height: 66px;
    padding: 5px 14px;
    gap: 15px;
    background: #ffffff !important;
    border: 3px solid #bcbcbc !important;
}
button.trm-toggle-btn.trm-toggle-gallery svg {
    background: url('/templates/bbfdesign/themes/bbfdesign/img/galerieansicht_inaktiv.svg') no-repeat center center;
    color: transparent;
    width: 71px;
    height: 30px;
}
button.trm-toggle-btn.trm-toggle-gallery.active svg {
    background: url('/templates/bbfdesign/themes/bbfdesign/img/galerieansicht.svg') no-repeat center center;
}
button.trm-toggle-btn.trm-toggle-map svg{
    background: url('/templates/bbfdesign/themes/bbfdesign/img/kartenansicht_inaktiv.svg') no-repeat center center;
    color: transparent;
    width: 69px;
    height: 46px;   
}
button.trm-toggle-btn.trm-toggle-map.active svg{
    background: url('/templates/bbfdesign/themes/bbfdesign/img/kartenansicht.svg') no-repeat center center;
}
.trackmaps-plugin .trm-toggle-btn span {
    text-align: left;
    white-space: normal;
    font-size: 23px;
    font-family: var(--font2);
    text-transform: uppercase;
    display: block;
    max-width: 101px;
    line-height: .85em;
    color: #bcbcbc;
}
.trackmaps-plugin .trm-toggle-btn.active span {
    color: #000;
}
.trackmaps-plugin .trm-gallery-poi-section {
    margin: 0px 0 0px;
    padding: 0 0px;
}
.trm-gallery-grid {
    gap: 30px;
    padding: 0px 0;
}
.trm-gallery-filters {
    width: 350px;
    min-width: 350px;
    padding: 0px 0;
    top: 0;
    max-height: max-content;
}
.trm-gallery-filters h3,.trackmaps-plugin .trm-gallery-poi-heading {
    font-family: var(--font2, 'Arial Black', sans-serif);
    font-size: 30px;
    font-weight: 700;
}
.trackmaps-plugin .trm-header {
    margin-bottom: 40px;
}
.trackmaps-plugin .trm-filter-swatch[style*="#"] {
    width: 12px;
    height: 12px;

}
.trm-gallery-view {
    gap: 50px;
}
.trackmaps-plugin .trm-filter-group em {
    display: inline-block!important;
    font-size: 17px!important;
    font-weight: 600!important;
}
.trackmaps-plugin .trm-filter-cb {
    width: 20px;
    height: 20px;
}
.trackmaps-plugin .trm-filter-cb {
    border: 1px solid #b1b1b1;
}
.trackmaps-plugin .trm-filter-cb:checked {
    background: var(--color);
    color: #000;
    border-color: var(--color);
}
.trackmaps-plugin .trm-filter-cb:checked::after {
	left: 6px;
    top: 2px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
}
.trackmaps-plugin .trm-route-card.trm-card--no-gpx, .trackmaps-plugin .trm-gallery-card.trm-card--no-gpx {
    opacity: 1;
}
.trm-gallery-card {
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
    border-radius: 0;
}
.trm-gallery-card-overlay {
    bottom: 0;
    left: 0;
    right: 0;
    padding:10px;
    background: rgba(0,0,0,.3);
    color: #fff;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trm-gallery-card-overlay span.trm-gallery-card-name {
    font-family: var(--font2);
    text-shadow: 0 0 0 transparent;
    font-size: 34px;
    text-align: center;
    text-transform: uppercase;
    line-height: .9em;
    display: block;
}
.trm-gallery-card-desc p {
    color: #000000;
    font-size: 17px;
    font-family: var(--font);
}
span.trm-gallery-card-desc-sep {
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    height: 8px;
    background: transparent;
    display: block;
}
.trm-gallery-card-desc {
    border-top: 1px solid #000;
    padding-top: 15px;
}
.trm-gallery-card-body button.trm-gallery-card-btn {
    border: none;
    padding: 4px 12px 1px;
    text-align: right;
    width: auto;
    margin-left: auto;
    font-size: 17px;
    font-weight: 600;
    background: var(--color);
}	
.trm-card-title-wrap {
    display: block;
}
span.trm-gallery-card-title {
    display: inline-block;
    background: #714fa0;
    color: #fff;
    width: auto;
    font-size: 19px;
    padding: 3px 5px;
    line-height: .91em;
}
.trm-gallery-card-body {
    padding: 0;
}
button.trm-gallery-info-btn:after {
    content: "\f05a";
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    font-size: 34px;
}
.trm-gallery-card:hover {
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.15);
}
.trm-gallery-info-btn svg {
    display: none;
}
.trm-gallery-info-btn {
    width: 41px;
    border: 0px solid #000;
}
.trm-gallery-card-title-row {
    align-items: flex-start;
}
.trm-gallery-info-btn:hover {
    background: transparent;
    outline: none!important;
    border: none;
}
.trackmaps-plugin .trm-sidebar {
    padding: 15px;
    border-radius: 0;
    background: #fff;
    width: 390px;
}
.trackmaps-plugin .trm-filter-header {
    background: #fffc00;
    border-radius: 0;
    color: #000;
    font-size: 20px;
}
.trackmaps-plugin .trm-route-card.trm-card-landscape .trm-card-body {
    min-width: auto;
    flex: 1;
    border: none;
    padding-left: 0;
    justify-content: flex-start;
}
.trackmaps-plugin .trm-route-card.trm-card-landscape .trm-card-thumb {
    width: 100%;
    height: auto;
}
.trackmaps-plugin .trm-route-card.trm-card-landscape .trm-cart-thumb-wrap {
    width: 45%;
    flex: 0 0 45%;
}
.trackmaps-plugin .trm-route-card.trm-card-landscape .trm-card-thumb {
    width: 100%;
    height: auto;
    border-radius: 0;
}
.trackmaps-plugin .trm-route-card.trm-card-landscape .trm-card-thumb img {
    border-radius: 0;
}
.trackmaps-plugin .trm-detail-panel {
    background: #fff;
    border-radius: 0;
}
.trackmaps-plugin .trm-card-thumb-overlay {
    width: 100%;
    height: 100%;
    top: 0;
    text-align: center;
    padding: 0;
    text-shadow: 0 0 transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .4);
}
h3.trm-card-title.trm-card-title--overlay {
    font-family: var(--font2);
    font-size: 20px!important;
    text-shadow: 0 0 0 transparent!important;
    line-height: 1em!important;
}
.trackmaps-plugin .trm-card-landscape--v2 .trm-badge-no-gpx--in-thumb {
    top: 0;
    right: auto;
}
span.trm-card-status.trm-card-status--overlay.trm-status-closed:after {
    content: "\f00d";
    font-family: 'Font Awesome 5 Free';
    color: #fff;
    font-weight: 700;
}
.trackmaps-plugin .trm-card-status.trm-card-status--overlay  svg {
    display: none;
}
.trackmaps-plugin .trm-card-status.trm-card-status--overlay {
    width: 21px;
    height: 21px;
    border-radius: 0;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #e41b20;
}
.trm-cart-thumb-wrap .trm-card-thumb.trm-card-thumb-empty {
    background: #000!important;
    height: 100%!important;
    width: 100%!important;
    display: block;
}